Skip to content

armgit / peach

Public Imported from GitHub
0

Peach: Local-first video metadata scraper and media manager.

build(web): 合齐参考项目批次的源码后统一重建前端产物

longmeidaoaaa4af707d45
diff --git a/web/dist/peach-app.configuration-page-NsP5Crfe.js b/web/dist/peach-app.configuration-page-ubxQHJd0.js
similarity index 66%
rename from web/dist/peach-app.configuration-page-NsP5Crfe.js
rename to web/dist/peach-app.configuration-page-ubxQHJd0.js
index b2c9aa33a..9aa994664 100644
--- a/web/dist/peach-app.configuration-page-NsP5Crfe.js
+++ b/web/dist/peach-app.configuration-page-ubxQHJd0.js
@@ -1,11 +1,7 @@
(function() {
try {
var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "b136ef8a-5a47-4e68-8494-93c71c958a57", e._sentryDebugIdIdentifier = "sentry-dbid-b136ef8a-5a47-4e68-8494-93c71c958a57");
-========
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "0f526625-1990-4749-9c0e-5225c274fa5b", e._sentryDebugIdIdentifier = "sentry-dbid-0f526625-1990-4749-9c0e-5225c274fa5b");
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "80caf3f2-9a7b-4fda-9c35-03d51996f275", e._sentryDebugIdIdentifier = "sentry-dbid-80caf3f2-9a7b-4fda-9c35-03d51996f275");
} catch {}
})();
import { AnimatedItems as e, Cell as t, ChartBackground as n, ChartContainer as r, ChartLegend as i, ChartLegendContent as a, ChartTip as o, ChartTooltip as s, ChartTooltipContent as c, Curve as l, DATA_ITEM_GRAPHICAL_ITEM_ID_ATTRIBUTE_NAME as u, DATA_ITEM_INDEX_ATTRIBUTE_NAME as d, DefaultZIndexes as f, EvilBarChart as p, LabelList as m, LabelListFromLabelProp as h, Layer as g, LoadingIndicator as _, PolarChart as v, PolarLabelContextProvider as y, PolarLabelListContextProvider as b, RegisterGraphicalItemId as x, Sector as S, SetPolarGraphicalItem as C, SetPolarLegendPayload as w, SetTooltipEntrySettings as T, Shape as ee, TIP_SWATCH as te, Text as ne, ZIndexLayer as re, adaptEventsOfChild as ie, arrayTooltipSearcher as ae, createSelector as oe, defaultPolarChartProps as se, findAllByType as ce, get as le, getClassNameFromUnknown as ue, getColorsCount as de, getMaxRadius as fe, getPercentValue as pe, getTooltipNameProp as me, getValueByDataKey as he, interpolate as ge, isNumber as _e, matchAppend as ve, mathSign as ye, polarToCartesian as be, resolveDefaultProps as xe, selectActiveTooltipDataKey as Se, selectActiveTooltipGraphicalItemId as Ce, selectActiveTooltipIndex as we, selectChartDataAndAlwaysIgnoreIndexes as Te, selectChartOffsetInternal as Ee, selectUnfilteredPolarItems as De, svgPropertiesNoEvents as Oe, svgPropertiesNoEventsFromUnknown as ke, tone as Ae, useAnimationCallbacks as je, useAppSelector as Me, useMouseClickItemDispatch as Ne, useMouseEnterItemDispatch as Pe, useMouseLeaveItemDispatch as Fe, usePolarChartLayout as Ie } from "./peach-app.chart-tip-CRxYp6KT.js";
@@ -710,42 +706,42 @@ function Ar({ state: e, settle: t, receipt: n, username: r, setUsername: i }) {
});
}
// src/react/settings/ledger-backup-settings.tsx
-var xr = "/api/configuration/ledger-backups", Sr = 1500, Cr = (e) => (/* @__PURE__ */ new Date(e.modified_at * 1e3)).toLocaleString();
-function wr(e) {
+var jr = "/api/configuration/ledger-backups", Mr = 1500, Nr = (e) => (/* @__PURE__ */ new Date(e.modified_at * 1e3)).toLocaleString();
+function Pr(e) {
return [e.source === "manual" ? "手动" : `自动 · ${e.purpose}`, J(e.bytes)].join(" · ");
}
-function Tr({ job: e, label: t }) {
+function Fr({ job: e, label: t }) {
return /* @__PURE__ */ (0, Q.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-2",
children: [
- e.total ? /* @__PURE__ */ (0, Q.jsx)(Ot, {
+ e.total ? /* @__PURE__ */ (0, Q.jsx)(At, {
label: t,
value: e.done || 0,
max: e.total
- }) : /* @__PURE__ */ (0, Q.jsx)(ht, { label: t }),
+ }) : /* @__PURE__ */ (0, Q.jsx)(_t, { label: t }),
/* @__PURE__ */ (0, Q.jsx)(N, { children: e.stage || t }),
- /* @__PURE__ */ (0, Q.jsx)(Vt, {})
+ /* @__PURE__ */ (0, Q.jsx)(Ut, {})
]
});
}
-function Er({ receipt: e }) {
+function Ir({ receipt: e }) {
let [t, n] = (0, Z.useState)(null), [r, i] = (0, Z.useState)(""), a = Y(), o = t?.backup.status === "running", s = t?.restore.status === "running", c = o || s, l = (0, Z.useRef)({
backup: !1,
restore: !1
});
if ((0, Z.useEffect)(() => {
let e = new AbortController();
- return W(xr, e.signal).then(n, (t) => {
+ return W(jr, e.signal).then(n, (t) => {
e.signal.aborted || i(String(t?.message || t));
}), () => e.abort();
}, []), (0, Z.useEffect)(() => {
if (!c) return;
let e = new AbortController(), t = setTimeout(() => {
- W(xr, e.signal).then(n, () => {
+ W(jr, e.signal).then(n, () => {
e.signal.aborted || n((e) => e && { ...e });
});
- }, Sr);
+ }, Mr);
return () => {
e.abort(), clearTimeout(t);
};
@@ -758,15 +754,15 @@ function Er({ receipt: e }) {
id: "ledgerBackups",
guide: "ledger-backups",
title: "账本备份",
- children: /* @__PURE__ */ (0, Q.jsx)(V, { children: r ? /* @__PURE__ */ (0, Q.jsx)(k, { children: r }) : /* @__PURE__ */ (0, Q.jsx)(ht, { label: "正在读取备份列表" }) })
+ children: /* @__PURE__ */ (0, Q.jsx)(V, { children: r ? /* @__PURE__ */ (0, Q.jsx)(k, { children: r }) : /* @__PURE__ */ (0, Q.jsx)(_t, { label: "正在读取备份列表" }) })
});
- let u = () => void a.run("backup", (e) => G(`${xr}/backup`, {}, "POST", e), n), d = (e) => void Qt({
+ let u = () => void a.run("backup", (e) => G(`${jr}/backup`, {}, "POST", e), n), d = (e) => void nn({
title: "从备份恢复账本",
danger: !0,
- body: `将用 ${Cr(e)} 的备份(${wr(e)})替换当前账本,此后的资料、观看记录与复核结论回到备份时的状态。替换前先把当前账本另存为一份备份;恢复期间不能启动新任务。`,
+ body: `将用 ${Nr(e)} 的备份(${Pr(e)})替换当前账本,此后的资料、观看记录与复核结论回到备份时的状态。替换前先把当前账本另存为一份备份;恢复期间不能启动新任务。`,
confirmLabel: "替换当前账本",
onConfirm: async () => {
- l.current.restore = !0, n(await G(`${xr}/restore`, {
+ l.current.restore = !0, n(await G(`${jr}/restore`, {
id: e.id,
confirm: !0
}));
@@ -780,11 +776,11 @@ function Er({ receipt: e }) {
/* @__PURE__ */ (0, Q.jsxs)(V, { children: [
/* @__PURE__ */ (0, Q.jsx)(N, { children: "账本保存全部资料、观看记录与复核结论。手动备份与写入前的自动备份放在一起,保留最近 5 份和 24 小时内的备份。" }),
t.writer ? null : /* @__PURE__ */ (0, Q.jsxs)(N, { children: ["这台电脑不是账本写入端,只能在写入端恢复:", t.writer_reason] }),
- o ? /* @__PURE__ */ (0, Q.jsx)(Tr, {
+ o ? /* @__PURE__ */ (0, Q.jsx)(Fr, {
job: t.backup,
label: "备份进度"
}) : null,
- s ? /* @__PURE__ */ (0, Q.jsx)(Tr, {
+ s ? /* @__PURE__ */ (0, Q.jsx)(Fr, {
job: t.restore,
label: "恢复进度"
}) : null,
@@ -796,8 +792,8 @@ function Er({ receipt: e }) {
className: "border-t border-separator-border",
"data-ledger-backups": "",
children: /* @__PURE__ */ (0, Q.jsx)(I, { children: t.backups.map((e) => /* @__PURE__ */ (0, Q.jsx)(B, {
- label: Cr(e),
- description: wr(e),
+ label: Nr(e),
+ description: Pr(e),
children: /* @__PURE__ */ (0, Q.jsx)(E, {
variant: "secondary",
disabled: !t.writer || c,
@@ -819,11 +815,7 @@ function Er({ receipt: e }) {
});
}
// src/react/settings/library-sharing-settings.tsx
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function jr({ initial: e, receipt: t }) {
-========
-function Dr({ initial: e, receipt: t }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function Lr({ initial: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e), [i, a] = (0, Z.useState)(null), [o, s] = (0, Z.useState)(!1), [c, l] = (0, Z.useState)(!1), u = (0, Z.useMemo)(() => i ? JSON.stringify(i.data, null, 2) : "", [i]), d = Y(), f = (e) => void d.run("save", (t) => G("/api/configuration/library-sharing", {
enabled: e,
schema: n.schema,
@@ -953,11 +945,7 @@ function Dr({ initial: e, receipt: t }) {
] });
}
// src/react/settings/remote-reporting-settings.tsx
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Mr({ value: e, onChange: t, busy: n = !1 }) {
-========
-function Or({ value: e, onChange: t, busy: n = !1 }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function Rr({ value: e, onChange: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(I, { children: /* @__PURE__ */ (0, Q.jsx)(B, {
label: "发送版本统计与错误诊断(推荐)",
description: "上传版本、系统信息、故障类型、代码位置与发生次数。",
@@ -979,15 +967,9 @@ function Or({ value: e, onChange: t, busy: n = !1 }) {
})
})] });
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Nr({ initial: e, receipt: t }) {
+function zr({ initial: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e), i = Y();
- return /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(Mr, {
-========
-function kr({ initial: e, receipt: t }) {
- let [n, r] = (0, Z.useState)(e), i = Y();
- return /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(Or, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ return /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(Rr, {
value: n,
busy: i.busy === "save",
onChange: (e) => {
@@ -1004,27 +986,16 @@ function kr({ initial: e, receipt: t }) {
}) : null] });
}
// src/react/components/animated-number.tsx
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-var Pr = .6;
-function Fr({ value: e, format: t = (e) => Math.round(e).toLocaleString(), className: n }) {
+var Br = .6;
+function Vr({ value: e, format: t = (e) => Math.round(e).toLocaleString(), className: n }) {
let r = Hn(), [i, a] = (0, Z.useState)(e), o = (0, Z.useRef)(e);
-========
-var Ar = .6;
-function jr({ value: e, format: t = (e) => Math.round(e).toLocaleString(), className: n }) {
- let r = Fn(), [i, a] = (0, Z.useState)(e), o = (0, Z.useRef)(e);
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
return (0, Z.useEffect)(() => {
if (r || o.current === e) {
o.current = e, a(e);
return;
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
let t = Yt(o.current, e, {
- duration: Pr,
-========
- let t = Gt(o.current, e, {
- duration: Ar,
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ duration: Br,
ease: "easeOut",
onUpdate: (e) => {
o.current = e, a(e);
@@ -1037,11 +1008,7 @@ function jr({ value: e, format: t = (e) => Math.round(e).toLocaleString(), class
});
}
// node_modules/recharts/es6/state/selectors/pieSelectors.js
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Ir(e, t) {
-========
-function Mr(e, t) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function Hr(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -1051,52 +1018,30 @@ function Mr(e, t) {
}
return n;
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Lr(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Ir(Object(n), !0).forEach(function(t) {
- Rr(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ir(Object(n)).forEach(function(t) {
-========
-function Nr(e) {
+function Ur(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Mr(Object(n), !0).forEach(function(t) {
- Pr(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Mr(Object(n)).forEach(function(t) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ t % 2 ? Hr(Object(n), !0).forEach(function(t) {
+ Wr(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Hr(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Rr(e, t, n) {
- return (t = zr(t)) in e ? Object.defineProperty(e, t, {
-========
-function Pr(e, t, n) {
- return (t = Fr(t)) in e ? Object.defineProperty(e, t, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function Wr(e, t, n) {
+ return (t = Gr(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function zr(e) {
- var t = Br(e, "string");
+function Gr(e) {
+ var t = Kr(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Br(e, t) {
-========
-function Fr(e) {
- var t = Ir(e, "string");
- return typeof t == "symbol" ? t : t + "";
-}
-function Ir(e, t) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function Kr(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -1106,36 +1051,20 @@ function Ir(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-var Vr = oe([De, (e, t) => t], (e, t) => e.filter((e) => e.type === "pie").find((e) => e.id === t)), Hr = [], Ur = (e, t, n) => n?.length === 0 ? Hr : n, Wr = oe([
- Te,
- Vr,
- Ur
-========
-var Lr = oe([De, (e, t) => t], (e, t) => e.filter((e) => e.type === "pie").find((e) => e.id === t)), Rr = [], zr = (e, t, n) => n?.length === 0 ? Rr : n, Br = oe([
+var qr = oe([De, (e, t) => t], (e, t) => e.filter((e) => e.type === "pie").find((e) => e.id === t)), Jr = [], Yr = (e, t, n) => n?.length === 0 ? Jr : n, Xr = oe([
Te,
- Lr,
- zr
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ qr,
+ Yr
], (e, t, n) => {
var r = e.chartData;
if (t != null) {
var i = t?.data != null && t.data.length > 0 ? t.data : r;
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- if (i && i.length || n == null || (i = n.map((e) => Lr(Lr({}, t.presentationProps), e.props))), i != null) return i;
+ if (i && i.length || n == null || (i = n.map((e) => Ur(Ur({}, t.presentationProps), e.props))), i != null) return i;
}
-}), Gr = oe([
- Wr,
- Vr,
- Ur
-========
- if (i && i.length || n == null || (i = n.map((e) => Nr(Nr({}, t.presentationProps), e.props))), i != null) return i;
- }
-}), Vr = oe([
- Br,
- Lr,
- zr
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+}), Zr = oe([
+ Xr,
+ qr,
+ Yr
], (e, t, n) => {
if (e != null && t != null) return e.map((e, r) => {
var i, a = he(e, t.nameKey, t.name), o = n != null && (i = n[r]) != null && (i = i.props) != null && i.fill ? n[r].props.fill : typeof e == "object" && e && "fill" in e ? e.fill : t.fill;
@@ -1147,74 +1076,42 @@ var Lr = oe([De, (e, t) => t], (e, t) => e.filter((e) => e.type === "pie").find(
type: t.legendType
};
});
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-}), Kr = oe([
- Wr,
- Vr,
- Ur,
- Ee
-], (e, t, n, r) => {
- if (t != null && e != null) return _i({
-========
-}), Hr = oe([
- Br,
- Lr,
- zr,
+}), Qr = oe([
+ Xr,
+ qr,
+ Yr,
Ee
], (e, t, n, r) => {
- if (t != null && e != null) return pi({
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ if (t != null && e != null) return Ci({
offset: r,
pieSettings: t,
displayedData: e,
cells: n
});
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-}), qr = ["key"], Jr = [
- "onMouseEnter",
- "onClick",
- "onMouseLeave"
-], Yr = ["id"], Xr = ["id"];
-function Zr() {
- return Zr = Object.assign ? Object.assign.bind() : function(e) {
-========
-}), Ur = ["key"], Wr = [
+}), $r = ["key"], ei = [
"onMouseEnter",
"onClick",
"onMouseLeave"
-], Gr = ["id"], Kr = ["id"];
-function qr() {
- return qr = Object.assign ? Object.assign.bind() : function(e) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+], ti = ["id"], ni = ["id"];
+function ri() {
+ return ri = Object.assign ? Object.assign.bind() : function(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t];
for (var r in n) ({}).hasOwnProperty.call(n, r) && (e[r] = n[r]);
}
return e;
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- }, Zr.apply(null, arguments);
+ }, ri.apply(null, arguments);
}
-function Qr(e, t) {
+function ii(e, t) {
if (e == null) return {};
- var n, r, i = $r(e, t);
-========
- }, qr.apply(null, arguments);
-}
-function Jr(e, t) {
- if (e == null) return {};
- var n, r, i = Yr(e, t);
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ var n, r, i = ai(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;
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function $r(e, t) {
-========
-function Yr(e, t) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function ai(e, t) {
if (e == null) return {};
var n = {};
for (var r in e) if ({}.hasOwnProperty.call(e, r)) {
@@ -1223,11 +1120,7 @@ function Yr(e, t) {
}
return n;
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function ei(e, t) {
-========
-function Xr(e, t) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function oi(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -1240,46 +1133,27 @@ function Xr(e, t) {
function $(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- t % 2 ? ei(Object(n), !0).forEach(function(t) {
- ti(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ei(Object(n)).forEach(function(t) {
-========
- t % 2 ? Xr(Object(n), !0).forEach(function(t) {
- Zr(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Xr(Object(n)).forEach(function(t) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ t % 2 ? oi(Object(n), !0).forEach(function(t) {
+ si(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : oi(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function ti(e, t, n) {
- return (t = ni(t)) in e ? Object.defineProperty(e, t, {
-========
-function Zr(e, t, n) {
- return (t = Qr(t)) in e ? Object.defineProperty(e, t, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function si(e, t, n) {
+ return (t = ci(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function ni(e) {
- var t = ri(e, "string");
- return typeof t == "symbol" ? t : t + "";
-}
-function ri(e, t) {
-========
-function Qr(e) {
- var t = $r(e, "string");
+function ci(e) {
+ var t = li(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function $r(e, t) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function li(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -1289,21 +1163,12 @@ function $r(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-var ii = S;
-function ai(e) {
- var n = (0, Z.useMemo)(() => ce(e.children, t), [e.children]), r = Me((t) => Gr(t, e.id, n));
- return r == null ? null : /*#__PURE__*/ Z.createElement(w, { legendPayload: r });
-}
-function oi(e) {
-========
-var ei = S;
-function ti(e) {
- var n = (0, Z.useMemo)(() => ce(e.children, t), [e.children]), r = Me((t) => Vr(t, e.id, n));
+var ui = S;
+function di(e) {
+ var n = (0, Z.useMemo)(() => ce(e.children, t), [e.children]), r = Me((t) => Zr(t, e.id, n));
return r == null ? null : /*#__PURE__*/ Z.createElement(w, { legendPayload: r });
}
-function ni(e) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function fi(e) {
if (e != null && typeof e != "boolean" && typeof e != "function") {
if (/*#__PURE__*/ Z.isValidElement(e)) {
var t = e.props?.fill;
@@ -1313,13 +1178,8 @@ function ni(e) {
return typeof n == "string" ? n : void 0;
}
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-var si = /*#__PURE__*/ Z.memo((e) => {
- var t = e.dataKey, n = e.nameKey, r = e.sectors, i = e.stroke, a = e.strokeWidth, o = e.fill, s = e.name, c = e.hide, l = e.tooltipType, u = e.formatter, d = e.id, f = e.activeShape, p = oi(f), m = {
-========
-var ri = /*#__PURE__*/ Z.memo((e) => {
- var t = e.dataKey, n = e.nameKey, r = e.sectors, i = e.stroke, a = e.strokeWidth, o = e.fill, s = e.name, c = e.hide, l = e.tooltipType, u = e.formatter, d = e.id, f = e.activeShape, p = ni(f), m = {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+var pi = /*#__PURE__*/ Z.memo((e) => {
+ var t = e.dataKey, n = e.nameKey, r = e.sectors, i = e.stroke, a = e.strokeWidth, o = e.fill, s = e.name, c = e.hide, l = e.tooltipType, u = e.formatter, d = e.id, f = e.activeShape, p = fi(f), m = {
dataDefinedOnItem: r.map((e) => {
var t = e.tooltipPayload;
return p == null || t == null ? t : t.map((e) => $($({}, e), {}, {
@@ -1344,75 +1204,42 @@ var ri = /*#__PURE__*/ Z.memo((e) => {
}
};
return /*#__PURE__*/ Z.createElement(T, { tooltipEntrySettings: m });
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-}), ci = (e, t) => e > t ? "start" : e < t ? "end" : "middle", li = (e, t, n) => pe(typeof t == "function" ? t(e) : t, n, n * .8), ui = (e, t, n) => {
-========
-}), ii = (e, t) => e > t ? "start" : e < t ? "end" : "middle", ai = (e, t, n) => pe(typeof t == "function" ? t(e) : t, n, n * .8), oi = (e, t, n) => {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+}), mi = (e, t) => e > t ? "start" : e < t ? "end" : "middle", hi = (e, t, n) => pe(typeof t == "function" ? t(e) : t, n, n * .8), gi = (e, t, n) => {
var r = t.top, i = t.left, a = t.width, o = t.height, s = fe(a, o);
return {
cx: i + pe(e.cx, a, a / 2),
cy: r + pe(e.cy, o, o / 2),
innerRadius: pe(e.innerRadius, s, 0),
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- outerRadius: li(n, e.outerRadius, s),
+ outerRadius: hi(n, e.outerRadius, s),
maxRadius: e.maxRadius || Math.sqrt(a * a + o * o) / 2
};
-}, di = (e, t) => ye(t - e) * Math.min(Math.abs(t - e), 360), fi = (e, t) => {
-========
- outerRadius: ai(n, e.outerRadius, s),
- maxRadius: e.maxRadius || Math.sqrt(a * a + o * o) / 2
- };
-}, si = (e, t) => ye(t - e) * Math.min(Math.abs(t - e), 360), ci = (e, t) => {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+}, _i = (e, t) => ye(t - e) * Math.min(Math.abs(t - e), 360), vi = (e, t) => {
if (/*#__PURE__*/ Z.isValidElement(e)) return /*#__PURE__*/ Z.cloneElement(e, t);
if (typeof e == "function") return e(t);
var n = en("recharts-pie-label-line", typeof e == "boolean" ? "" : e.className);
t.key;
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- var r = Qr(t, qr);
- return /*#__PURE__*/ Z.createElement(l, Zr({}, r, {
+ var r = ii(t, $r);
+ return /*#__PURE__*/ Z.createElement(l, ri({}, r, {
type: "linear",
className: n
}));
-}, pi = (e, t, n) => {
+}, yi = (e, t, n) => {
if (/*#__PURE__*/ Z.isValidElement(e)) return /*#__PURE__*/ Z.cloneElement(e, t);
var r = n;
if (typeof e == "function" && (r = e(t), /*#__PURE__*/ Z.isValidElement(r))) return r;
var i = en("recharts-pie-label-text", ue(e));
- return /*#__PURE__*/ Z.createElement(ne, Zr({}, t, {
-========
- var r = Jr(t, Ur);
- return /*#__PURE__*/ Z.createElement(l, qr({}, r, {
- type: "linear",
- className: n
- }));
-}, li = (e, t, n) => {
- if (/*#__PURE__*/ Z.isValidElement(e)) return /*#__PURE__*/ Z.cloneElement(e, t);
- var r = n;
- if (typeof e == "function" && (r = e(t), /*#__PURE__*/ Z.isValidElement(r))) return r;
- var i = Xt("recharts-pie-label-text", ue(e));
- return /*#__PURE__*/ Z.createElement(ne, qr({}, t, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ return /*#__PURE__*/ Z.createElement(ne, ri({}, t, {
alignmentBaseline: "middle",
className: i
}), r);
};
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function mi(e) {
-========
-function ui(e) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function bi(e) {
var t = e.sectors, n = e.props, r = e.showLabels, i = n.label, a = n.labelLine, o = n.dataKey;
if (!r || !i || !t) return null;
var s = Oe(n), c = ke(i), l = ke(a), u = typeof i == "object" && "offsetRadius" in i && typeof i.offsetRadius == "number" && i.offsetRadius || 20, d = t.map((e, t) => {
var n = (e.startAngle + e.endAngle) / 2, r = be(e.cx, e.cy, e.outerRadius + u, n), d = $($($($({}, s), e), {}, { stroke: "none" }, c), {}, {
index: t,
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- textAnchor: ci(r.x, e.cx)
-========
- textAnchor: ii(r.x, e.cx)
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ textAnchor: mi(r.x, e.cx)
}, r), p = $($($($({}, s), e), {}, {
fill: "none",
stroke: e.fill
@@ -1424,35 +1251,20 @@ function ui(e) {
return /*#__PURE__*/ Z.createElement(re, {
zIndex: f.label,
key: `label-${e.startAngle}-${e.endAngle}-${e.midAngle}-${t}`
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- }, /*#__PURE__*/ Z.createElement(g, null, a && fi(a, p), pi(i, d, he(e, o))));
- });
- return /*#__PURE__*/ Z.createElement(g, { className: "recharts-pie-labels" }, d);
-}
-function hi(e) {
- var t = e.sectors, n = e.props, r = e.showLabels, i = n.label;
- return typeof i == "object" && i && "position" in i ? /*#__PURE__*/ Z.createElement(h, { label: i }) : /*#__PURE__*/ Z.createElement(mi, {
-========
- }, /*#__PURE__*/ Z.createElement(g, null, a && ci(a, p), li(i, d, he(e, o))));
+ }, /*#__PURE__*/ Z.createElement(g, null, a && vi(a, p), yi(i, d, he(e, o))));
});
return /*#__PURE__*/ Z.createElement(g, { className: "recharts-pie-labels" }, d);
}
-function di(e) {
+function xi(e) {
var t = e.sectors, n = e.props, r = e.showLabels, i = n.label;
- return typeof i == "object" && i && "position" in i ? /*#__PURE__*/ Z.createElement(h, { label: i }) : /*#__PURE__*/ Z.createElement(ui, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ return typeof i == "object" && i && "position" in i ? /*#__PURE__*/ Z.createElement(h, { label: i }) : /*#__PURE__*/ Z.createElement(bi, {
sectors: t,
props: n,
showLabels: r
});
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function gi(e) {
- var t = e.sectors, n = e.activeShape, r = e.inactiveShape, i = e.allOtherPieProps, a = e.shape, o = e.id, s = e.animationElapsedTime, c = e.isAnimating, l = e.isEntrance, f = Me(we), p = Me(Se), m = Me(Ce), h = i.onMouseEnter, _ = i.onClick, v = i.onMouseLeave, y = Qr(i, Jr), b = Pe(h, i.dataKey, o), x = Fe(v), S = Ne(_, i.dataKey, o);
-========
-function fi(e) {
- var t = e.sectors, n = e.activeShape, r = e.inactiveShape, i = e.allOtherPieProps, a = e.shape, o = e.id, s = e.animationElapsedTime, c = e.isAnimating, l = e.isEntrance, f = Me(we), p = Me(Se), m = Me(Ce), h = i.onMouseEnter, _ = i.onClick, v = i.onMouseLeave, y = Jr(i, Wr), b = Pe(h, i.dataKey, o), x = Fe(v), S = Ne(_, i.dataKey, o);
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function Si(e) {
+ var t = e.sectors, n = e.activeShape, r = e.inactiveShape, i = e.allOtherPieProps, a = e.shape, o = e.id, s = e.animationElapsedTime, c = e.isAnimating, l = e.isEntrance, f = Me(we), p = Me(Se), m = Me(Ce), h = i.onMouseEnter, _ = i.onClick, v = i.onMouseLeave, y = ii(i, ei), b = Pe(h, i.dataKey, o), x = Fe(v), S = Ne(_, i.dataKey, o);
return t == null || t.length === 0 ? null : /*#__PURE__*/ Z.createElement(Z.Fragment, null, t.map((e, h) => {
if (e?.startAngle === 0 && e?.endAngle === 0 && t.length !== 1) return null;
var _ = m == null || m === o, v = String(h) === f && (p == null || i.dataKey === p) && _, C = n && v ? n : f ? r : null, w = $($({}, e), {}, {
@@ -1466,11 +1278,7 @@ function fi(e) {
[d]: h,
[u]: o
});
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- return /*#__PURE__*/ Z.createElement(g, Zr({
-========
- return /*#__PURE__*/ Z.createElement(g, qr({
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ return /*#__PURE__*/ Z.createElement(g, ri({
key: `sector-${e?.startAngle}-${e?.endAngle}-${e.midAngle}-${h}`,
tabIndex: -1,
className: "recharts-pie-sector"
@@ -1480,22 +1288,13 @@ function fi(e) {
onClick: S(e, h)
}), /*#__PURE__*/ Z.createElement(ee, {
option: C ?? a,
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- DefaultShape: ii,
-========
- DefaultShape: ei,
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ DefaultShape: ui,
shapeProps: w
}));
}));
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function _i(e) {
- var t = e.pieSettings, n = e.displayedData, r = e.cells, i = e.offset, a = t.cornerRadius, o = t.startAngle, s = t.endAngle, c = t.dataKey, l = t.nameKey, u = t.tooltipType, d = Math.abs(t.minAngle), f = di(o, s), p = Math.abs(f), m = n.length <= 1 ? 0 : t.paddingAngle ?? 0, h = n.filter((e) => he(e, c, 0) !== 0).length, g = (p >= 360 ? h : h - 1) * m, _ = n.reduce((e, t) => {
-========
-function pi(e) {
- var t = e.pieSettings, n = e.displayedData, r = e.cells, i = e.offset, a = t.cornerRadius, o = t.startAngle, s = t.endAngle, c = t.dataKey, l = t.nameKey, u = t.tooltipType, d = Math.abs(t.minAngle), f = si(o, s), p = Math.abs(f), m = n.length <= 1 ? 0 : t.paddingAngle ?? 0, h = n.filter((e) => he(e, c, 0) !== 0).length, g = (p >= 360 ? h : h - 1) * m, _ = n.reduce((e, t) => {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function Ci(e) {
+ var t = e.pieSettings, n = e.displayedData, r = e.cells, i = e.offset, a = t.cornerRadius, o = t.startAngle, s = t.endAngle, c = t.dataKey, l = t.nameKey, u = t.tooltipType, d = Math.abs(t.minAngle), f = _i(o, s), p = Math.abs(f), m = n.length <= 1 ? 0 : t.paddingAngle ?? 0, h = n.filter((e) => he(e, c, 0) !== 0).length, g = (p >= 360 ? h : h - 1) * m, _ = n.reduce((e, t) => {
var n = he(t, c, 0);
return e + (_e(n) ? n : 0);
}, 0), v = d > 0 && _ > 0 && n.some((e) => {
@@ -1505,11 +1304,7 @@ function pi(e) {
if (_ > 0) {
var x;
b = n.map((e, n) => {
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- var s = he(e, c, 0), d = he(e, l, n), p = ui(t, i, e), h = (_e(s) ? s : 0) / _, g, b = $($({}, e), r && r[n] && r[n].props), S = b != null && "fill" in b && typeof b.fill == "string" ? b.fill : t.fill;
-========
- var s = he(e, c, 0), d = he(e, l, n), p = oi(t, i, e), h = (_e(s) ? s : 0) / _, g, b = $($({}, e), r && r[n] && r[n].props), S = b != null && "fill" in b && typeof b.fill == "string" ? b.fill : t.fill;
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ var s = he(e, c, 0), d = he(e, l, n), p = gi(t, i, e), h = (_e(s) ? s : 0) / _, g, b = $($({}, e), r && r[n] && r[n].props), S = b != null && "fill" in b && typeof b.fill == "string" ? b.fill : t.fill;
g = n ? x.endAngle + ye(f) * m * (s === 0 ? 0 : 1) : o;
var C = g + ye(f) * ((s === 0 ? 0 : v) + h * y), w = (g + C) / 2, T = (p.innerRadius + p.outerRadius) / 2, ee = [{
name: d,
@@ -1541,11 +1336,7 @@ function pi(e) {
}
return b;
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function vi(e) {
-========
-function mi(e) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function wi(e) {
var t = e.showLabels, n = e.sectors, r = e.children, i = (0, Z.useMemo)(() => !t || !n ? [] : n.map((e) => ({
value: e.value,
payload: e.payload,
@@ -1564,11 +1355,7 @@ function mi(e) {
})), [n, t]);
return /*#__PURE__*/ Z.createElement(b, { value: t ? i : void 0 }, r);
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-var yi = (e, t) => {
-========
-var hi = (e, t) => {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+var Ti = (e, t) => {
if (e == null) return [];
var n = [], r = e.find((e) => e.status !== "removed"), i = r ? r.next.startAngle : 0;
return e.forEach((e, r) => {
@@ -1590,19 +1377,11 @@ var hi = (e, t) => {
}
}), n;
};
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function bi(t) {
- var n = t.props, r = t.previousSectorsRef, i = t.id, a = n.sectors, o = n.activeShape, s = n.inactiveShape, c = n.animationInterpolateFn, l = je(n.onAnimationStart, n.onAnimationEnd), u = l.isAnimating, d = l.handleAnimationStart, f = l.handleAnimationEnd, p = Ie();
- if (p == null) return null;
- var m = a[0];
- return /*#__PURE__*/ Z.createElement(vi, {
-========
-function gi(t) {
+function Ei(t) {
var n = t.props, r = t.previousSectorsRef, i = t.id, a = n.sectors, o = n.activeShape, s = n.inactiveShape, c = n.animationInterpolateFn, l = je(n.onAnimationStart, n.onAnimationEnd), u = l.isAnimating, d = l.handleAnimationStart, f = l.handleAnimationEnd, p = Ie();
if (p == null) return null;
var m = a[0];
- return /*#__PURE__*/ Z.createElement(mi, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ return /*#__PURE__*/ Z.createElement(wi, {
showLabels: !u,
sectors: a
}, /*#__PURE__*/ Z.createElement(e, {
@@ -1619,11 +1398,7 @@ function gi(t) {
animationInterpolateFn: c,
animationMatchBy: n.animationMatchBy,
layout: p
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- }, (e, t, r) => /*#__PURE__*/ Z.createElement(g, null, /*#__PURE__*/ Z.createElement(gi, {
-========
- }, (e, t, r) => /*#__PURE__*/ Z.createElement(g, null, /*#__PURE__*/ Z.createElement(fi, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ }, (e, t, r) => /*#__PURE__*/ Z.createElement(g, null, /*#__PURE__*/ Z.createElement(Si, {
sectors: e,
activeShape: o,
inactiveShape: s,
@@ -1633,11 +1408,7 @@ function gi(t) {
animationElapsedTime: t,
isAnimating: u || t < 1,
isEntrance: r
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- }))), /*#__PURE__*/ Z.createElement(hi, {
-========
- }))), /*#__PURE__*/ Z.createElement(di, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ }))), /*#__PURE__*/ Z.createElement(xi, {
showLabels: !u,
sectors: a,
props: n
@@ -1651,19 +1422,11 @@ function gi(t) {
clockWise: !1
}, n.children));
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-var xi = {
+var Di = {
animationBegin: 400,
animationDuration: 1500,
animationEasing: "ease",
- animationInterpolateFn: yi,
-========
-var _i = {
- animationBegin: 400,
- animationDuration: 1500,
- animationEasing: "ease",
- animationInterpolateFn: hi,
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ animationInterpolateFn: Ti,
animationMatchBy: ve,
cx: "50%",
cy: "50%",
@@ -1681,30 +1444,17 @@ var _i = {
outerRadius: "80%",
paddingAngle: 0,
rootTabIndex: 0,
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- shape: ii,
-========
- shape: ei,
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ shape: ui,
startAngle: 0,
stroke: "#fff",
zIndex: f.area
};
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Si(e) {
- var n = e.id, r = Qr(e, Yr), i = e.hide, a = e.className, o = e.rootTabIndex, s = (0, Z.useMemo)(() => ce(e.children, t), [e.children]), c = Me((e) => Kr(e, n, s)), l = (0, Z.useRef)(null), u = en("recharts-pie", a);
- return i || c == null ? (l.current = null, /*#__PURE__*/ Z.createElement(g, {
- tabIndex: o,
- className: u
- })) : /*#__PURE__*/ Z.createElement(re, { zIndex: e.zIndex }, /*#__PURE__*/ Z.createElement(si, {
-========
-function vi(e) {
- var n = e.id, r = Jr(e, Gr), i = e.hide, a = e.className, o = e.rootTabIndex, s = (0, Z.useMemo)(() => ce(e.children, t), [e.children]), c = Me((e) => Hr(e, n, s)), l = (0, Z.useRef)(null), u = Xt("recharts-pie", a);
+function Oi(e) {
+ var n = e.id, r = ii(e, ti), i = e.hide, a = e.className, o = e.rootTabIndex, s = (0, Z.useMemo)(() => ce(e.children, t), [e.children]), c = Me((e) => Qr(e, n, s)), l = (0, Z.useRef)(null), u = en("recharts-pie", a);
return i || c == null ? (l.current = null, /*#__PURE__*/ Z.createElement(g, {
tabIndex: o,
className: u
- })) : /*#__PURE__*/ Z.createElement(re, { zIndex: e.zIndex }, /*#__PURE__*/ Z.createElement(ri, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ })) : /*#__PURE__*/ Z.createElement(re, { zIndex: e.zIndex }, /*#__PURE__*/ Z.createElement(pi, {
dataKey: e.dataKey,
nameKey: e.nameKey,
sectors: c,
@@ -1720,23 +1470,14 @@ function vi(e) {
}), /*#__PURE__*/ Z.createElement(g, {
tabIndex: o,
className: u
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- }, /*#__PURE__*/ Z.createElement(bi, {
-========
- }, /*#__PURE__*/ Z.createElement(gi, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ }, /*#__PURE__*/ Z.createElement(Ei, {
props: $($({}, r), {}, { sectors: c }),
previousSectorsRef: l,
id: n
})));
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Ci(e) {
- var t = xe(e, xi), n = t.id, r = Qr(t, Xr), i = Oe(r);
-========
-function yi(e) {
- var t = xe(e, _i), n = t.id, r = Jr(t, Kr), i = Oe(r);
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function ki(e) {
+ var t = xe(e, Di), n = t.id, r = ii(t, ni), i = Oe(r);
return /*#__PURE__*/ Z.createElement(x, {
id: n,
type: "pie"
@@ -1764,21 +1505,12 @@ function yi(e) {
cornerRadius: r.cornerRadius,
presentationProps: i,
maxRadius: t.maxRadius
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- }), /*#__PURE__*/ Z.createElement(ai, Zr({}, r, { id: e })), /*#__PURE__*/ Z.createElement(Si, Zr({}, r, { id: e }))));
+ }), /*#__PURE__*/ Z.createElement(di, ri({}, r, { id: e })), /*#__PURE__*/ Z.createElement(Oi, ri({}, r, { id: e }))));
}
-var wi = Ci;
-wi.displayName = "Pie";
+var Ai = ki;
+Ai.displayName = "Pie";
// node_modules/recharts/es6/chart/PieChart.js
-function Ti(e, t) {
-========
- }), /*#__PURE__*/ Z.createElement(ti, qr({}, r, { id: e })), /*#__PURE__*/ Z.createElement(vi, qr({}, r, { id: e }))));
-}
-var bi = yi;
-bi.displayName = "Pie";
-// node_modules/recharts/es6/chart/PieChart.js
-function xi(e, t) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function ji(e, t) {
var n = Object.keys(e);
if (Object.getOwnPropertySymbols) {
var r = Object.getOwnPropertySymbols(e);
@@ -1788,52 +1520,30 @@ function xi(e, t) {
}
return n;
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Ei(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? Ti(Object(n), !0).forEach(function(t) {
- Di(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ti(Object(n)).forEach(function(t) {
-========
-function Si(e) {
+function Mi(e) {
for (var t = 1; t < arguments.length; t++) {
var n = arguments[t] == null ? {} : arguments[t];
- t % 2 ? xi(Object(n), !0).forEach(function(t) {
- Ci(e, t, n[t]);
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : xi(Object(n)).forEach(function(t) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ t % 2 ? ji(Object(n), !0).forEach(function(t) {
+ Ni(e, t, n[t]);
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ji(Object(n)).forEach(function(t) {
Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
});
}
return e;
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Di(e, t, n) {
- return (t = Oi(t)) in e ? Object.defineProperty(e, t, {
-========
-function Ci(e, t, n) {
- return (t = wi(t)) in e ? Object.defineProperty(e, t, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function Ni(e, t, n) {
+ return (t = Pi(t)) in e ? Object.defineProperty(e, t, {
value: n,
enumerable: !0,
configurable: !0,
writable: !0
}) : e[t] = n, e;
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Oi(e) {
- var t = ki(e, "string");
- return typeof t == "symbol" ? t : t + "";
-}
-function ki(e, t) {
-========
-function wi(e) {
- var t = Ti(e, "string");
+function Pi(e) {
+ var t = Fi(e, "string");
return typeof t == "symbol" ? t : t + "";
}
-function Ti(e, t) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function Fi(e, t) {
if (typeof e != "object" || !e) return e;
var n = e[Symbol.toPrimitive];
if (n !== void 0) {
@@ -1843,50 +1553,27 @@ function Ti(e, t) {
}
return (t === "string" ? String : Number)(e);
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-var Ai = ["item"], ji = Ei(Ei({}, se), {}, {
+var Ii = ["item"], Li = Mi(Mi({}, se), {}, {
layout: "centric",
startAngle: 0,
endAngle: 360
-}), Mi = /*#__PURE__*/ (0, Z.forwardRef)((e, t) => {
- var n = xe(e, ji);
+}), Ri = /*#__PURE__*/ (0, Z.forwardRef)((e, t) => {
+ var n = xe(e, Li);
return /*#__PURE__*/ Z.createElement(v, {
chartName: "PieChart",
defaultTooltipEventType: "item",
- validateTooltipEventTypes: Ai,
-========
-var Ei = ["item"], Di = Si(Si({}, se), {}, {
- layout: "centric",
- startAngle: 0,
- endAngle: 360
-}), Oi = /*#__PURE__*/ (0, Z.forwardRef)((e, t) => {
- var n = xe(e, Di);
- return /*#__PURE__*/ Z.createElement(v, {
- chartName: "PieChart",
- defaultTooltipEventType: "item",
- validateTooltipEventTypes: Ei,
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ validateTooltipEventTypes: Ii,
tooltipPayloadSearcher: ae,
categoricalChartProps: n,
ref: t
});
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-}), Ni = 5, Pi = 2e3, Fi = 0, Ii = "80%", Li = 0, Ri = 0, zi = 0, Bi = 360, Vi = [], Hi = (0, Z.createContext)(null);
-function Ui() {
- let e = (0, Z.use)(Hi);
+}), zi = 5, Bi = 2e3, Vi = 0, Hi = "80%", Ui = 0, Wi = 0, Gi = 0, Ki = 360, qi = [], Ji = (0, Z.createContext)(null);
+function Yi() {
+ let e = (0, Z.use)(Ji);
if (!e) throw Error("Pie chart parts (<Pie />, <Tooltip />, …) must be used within <EvilPieChart />");
return e;
}
-function Wi({ config: e, data: t, dataKey: n, nameKey: i, children: a, className: o, chartProps: s, defaultSelectedSector: c = null, onSelectionChange: l, isLoading: u = !1 }) {
-========
-}), ki = 5, Ai = 2e3, ji = 0, Mi = "80%", Ni = 0, Pi = 0, Fi = 0, Ii = 360, Li = [], Ri = (0, Z.createContext)(null);
-function zi() {
- let e = (0, Z.use)(Ri);
- if (!e) throw Error("Pie chart parts (<Pie />, <Tooltip />, …) must be used within <EvilPieChart />");
- return e;
-}
-function Bi({ config: e, data: t, dataKey: n, nameKey: i, children: a, className: o, chartProps: s, defaultSelectedSector: c = null, onSelectionChange: l, isLoading: u = !1 }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function Xi({ config: e, data: t, dataKey: n, nameKey: i, children: a, className: o, chartProps: s, defaultSelectedSector: c = null, onSelectionChange: l, isLoading: u = !1 }) {
let [d, f] = (0, Z.useState)(c), p = (0, Z.useCallback)((e) => {
if (f(e), e === null) {
l?.(null);
@@ -1919,20 +1606,12 @@ function Bi({ config: e, data: t, dataKey: n, nameKey: i, children: a, className
d,
p
]);
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- return /* @__PURE__ */ (0, Q.jsx)(Hi, {
-========
- return /* @__PURE__ */ (0, Q.jsx)(Ri, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ return /* @__PURE__ */ (0, Q.jsx)(Ji, {
value: m,
children: /* @__PURE__ */ (0, Q.jsxs)(r, {
className: o,
config: e,
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- children: [/* @__PURE__ */ (0, Q.jsx)(_, { isLoading: u }), /* @__PURE__ */ (0, Q.jsx)(Mi, {
-========
- children: [/* @__PURE__ */ (0, Q.jsx)(_, { isLoading: u }), /* @__PURE__ */ (0, Q.jsx)(Oi, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ children: [/* @__PURE__ */ (0, Q.jsx)(_, { isLoading: u }), /* @__PURE__ */ (0, Q.jsx)(Ri, {
id: "evil-charts-pie-chart",
accessibilityLayer: !0,
...s,
@@ -1941,17 +1620,10 @@ function Bi({ config: e, data: t, dataKey: n, nameKey: i, children: a, className
})
});
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Gi({ variant: e = "gradient", innerRadius: t = Fi, outerRadius: n = Ii, cornerRadius: r = Li, paddingAngle: i = Ri, startAngle: a = zi, endAngle: o = Bi, isClickable: s = !1, glowingSectors: c = Vi, children: l, pieProps: u }) {
- let { config: d, data: f, dataKey: p, nameKey: m, isLoading: h, selectedSector: g, selectSector: _ } = Ui(), v = (0, Z.useId)().replace(/:/g, "");
- if (h) return /* @__PURE__ */ (0, Q.jsx)(wi, {
- data: $i,
-========
-function Vi({ variant: e = "gradient", innerRadius: t = ji, outerRadius: n = Mi, cornerRadius: r = Ni, paddingAngle: i = Pi, startAngle: a = Fi, endAngle: o = Ii, isClickable: s = !1, glowingSectors: c = Li, children: l, pieProps: u }) {
- let { config: d, data: f, dataKey: p, nameKey: m, isLoading: h, selectedSector: g, selectSector: _ } = zi(), v = (0, Z.useId)().replace(/:/g, "");
- if (h) return /* @__PURE__ */ (0, Q.jsx)(bi, {
- data: Yi,
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function Zi({ variant: e = "gradient", innerRadius: t = Vi, outerRadius: n = Hi, cornerRadius: r = Ui, paddingAngle: i = Wi, startAngle: a = Gi, endAngle: o = Ki, isClickable: s = !1, glowingSectors: c = qi, children: l, pieProps: u }) {
+ let { config: d, data: f, dataKey: p, nameKey: m, isLoading: h, selectedSector: g, selectSector: _ } = Yi(), v = (0, Z.useId)().replace(/:/g, "");
+ if (h) return /* @__PURE__ */ (0, Q.jsx)(Ai, {
+ data: aa,
dataKey: "value",
nameKey: "name",
innerRadius: t,
@@ -1962,23 +1634,13 @@ function Vi({ variant: e = "gradient", innerRadius: t = ji, outerRadius: n = Mi,
endAngle: o,
strokeWidth: 0,
isAnimationActive: !1,
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- shape: (e) => /* @__PURE__ */ (0, Q.jsx)(ea, { ...e })
+ shape: (e) => /* @__PURE__ */ (0, Q.jsx)(oa, { ...e })
});
- let y = Xi(l, p), b = f.map((e) => ({
+ let y = na(l, p), b = f.map((e) => ({
...e,
fill: `url(#${v}-colors-${e[m]})`
}));
- return /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(wi, {
-========
- shape: (e) => /* @__PURE__ */ (0, Q.jsx)(Xi, { ...e })
- });
- let y = Ki(l, p), b = f.map((e) => ({
- ...e,
- fill: `url(#${v}-colors-${e[m]})`
- }));
- return /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(bi, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ return /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(Ai, {
data: b,
dataKey: p,
nameKey: m,
@@ -2010,32 +1672,18 @@ function Vi({ variant: e = "gradient", innerRadius: t = ji, outerRadius: n = Mi,
},
...u,
children: y
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- }), /* @__PURE__ */ (0, Q.jsxs)("defs", { children: [/* @__PURE__ */ (0, Q.jsx)(Zi, {
- id: v,
- config: d,
- variant: e
- }), c.length > 0 && /* @__PURE__ */ (0, Q.jsx)(Qi, {
-========
- }), /* @__PURE__ */ (0, Q.jsxs)("defs", { children: [/* @__PURE__ */ (0, Q.jsx)(qi, {
+ }), /* @__PURE__ */ (0, Q.jsxs)("defs", { children: [/* @__PURE__ */ (0, Q.jsx)(ra, {
id: v,
config: d,
variant: e
- }), c.length > 0 && /* @__PURE__ */ (0, Q.jsx)(Ji, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ }), c.length > 0 && /* @__PURE__ */ (0, Q.jsx)(ia, {
id: v,
glowingSectors: c
})] })] });
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-var Ki = () => null;
-function qi({ variant: e, roundness: t, defaultIndex: n }) {
- let { isLoading: r, nameKey: i } = Ui();
-========
-var Hi = () => null;
-function Ui({ variant: e, roundness: t, defaultIndex: n }) {
- let { isLoading: r, nameKey: i } = zi();
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+var Qi = () => null;
+function $i({ variant: e, roundness: t, defaultIndex: n }) {
+ let { isLoading: r, nameKey: i } = Yi();
return r ? null : /* @__PURE__ */ (0, Q.jsx)(s, {
defaultIndex: n,
content: /* @__PURE__ */ (0, Q.jsx)(c, {
@@ -2046,13 +1694,8 @@ function Ui({ variant: e, roundness: t, defaultIndex: n }) {
})
});
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Ji({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
- let { nameKey: o, selectedSector: s, selectSector: c } = Ui();
-========
-function Wi({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
- let { nameKey: o, selectedSector: s, selectSector: c } = zi();
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function ea({ variant: e, align: t = "center", verticalAlign: n = "bottom", isClickable: r = !1 }) {
+ let { nameKey: o, selectedSector: s, selectSector: c } = Yi();
return /* @__PURE__ */ (0, Q.jsx)(i, {
verticalAlign: n,
align: t,
@@ -2065,23 +1708,13 @@ function Wi({ variant: e, align: t = "center", verticalAlign: n = "bottom", isCl
})
});
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Yi({ variant: e = "dots" }) {
+function ta({ variant: e = "dots" }) {
return /* @__PURE__ */ (0, Q.jsx)(n, { variant: e });
}
-var Xi = (e, t) => {
+var na = (e, t) => {
let n = null;
return Z.Children.forEach(e, (e) => {
- if (!(0, Z.isValidElement)(e) || e.type !== Ki) return;
-========
-function Gi({ variant: e = "dots" }) {
- return /* @__PURE__ */ (0, Q.jsx)(n, { variant: e });
-}
-var Ki = (e, t) => {
- let n = null;
- return Z.Children.forEach(e, (e) => {
- if (!(0, Z.isValidElement)(e) || e.type !== Hi) return;
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ if (!(0, Z.isValidElement)(e) || e.type !== Qi) return;
let { dataKey: r, labelListProps: i } = e.props;
n = /* @__PURE__ */ (0, Q.jsx)(m, {
dataKey: r ?? t,
@@ -2093,11 +1726,7 @@ var Ki = (e, t) => {
...i
});
}), n;
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-}, Zi = ({ id: e, config: t }) => /* @__PURE__ */ (0, Q.jsx)(Q.Fragment, { children: Object.entries(t).map(([t, n]) => {
-========
-}, qi = ({ id: e, config: t }) => /* @__PURE__ */ (0, Q.jsx)(Q.Fragment, { children: Object.entries(t).map(([t, n]) => {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+}, ra = ({ id: e, config: t }) => /* @__PURE__ */ (0, Q.jsx)(Q.Fragment, { children: Object.entries(t).map(([t, n]) => {
let r = de(n);
return /* @__PURE__ */ (0, Q.jsx)("linearGradient", {
id: `${e}-colors-${t}`,
@@ -2119,11 +1748,7 @@ var Ki = (e, t) => {
}, i);
})
}, `${e}-colors-${t}`);
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-}) }), Qi = ({ id: e, glowingSectors: t }) => /* @__PURE__ */ (0, Q.jsx)(Q.Fragment, { children: t.map((t) => /* @__PURE__ */ (0, Q.jsxs)("filter", {
-========
-}) }), Ji = ({ id: e, glowingSectors: t }) => /* @__PURE__ */ (0, Q.jsx)(Q.Fragment, { children: t.map((t) => /* @__PURE__ */ (0, Q.jsxs)("filter", {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+}) }), ia = ({ id: e, glowingSectors: t }) => /* @__PURE__ */ (0, Q.jsx)(Q.Fragment, { children: t.map((t) => /* @__PURE__ */ (0, Q.jsxs)("filter", {
id: `${e}-glow-${t}`,
x: "-100%",
y: "-100%",
@@ -2143,21 +1768,12 @@ var Ki = (e, t) => {
}),
/* @__PURE__ */ (0, Q.jsxs)("feMerge", { children: [/* @__PURE__ */ (0, Q.jsx)("feMergeNode", { in: "glow" }), /* @__PURE__ */ (0, Q.jsx)("feMergeNode", { in: "SourceGraphic" })] })
]
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-}, `${e}-glow-${t}`)) }), $i = Array.from({ length: Ni }, (e, t) => ({
+}, `${e}-glow-${t}`)) }), aa = Array.from({ length: zi }, (e, t) => ({
name: `loading${t}`,
- value: 100 / Ni
-})), ea = (e) => {
- let { index: t = 0, ...n } = e, r = t / Ni * (Pi / 1e3);
+ value: 100 / zi
+})), oa = (e) => {
+ let { index: t = 0, ...n } = e, r = t / zi * (Bi / 1e3);
return /* @__PURE__ */ (0, Q.jsx)(xn.g, {
-========
-}, `${e}-glow-${t}`)) }), Yi = Array.from({ length: ki }, (e, t) => ({
- name: `loading${t}`,
- value: 100 / ki
-})), Xi = (e) => {
- let { index: t = 0, ...n } = e, r = t / ki * (Ai / 1e3);
- return /* @__PURE__ */ (0, Q.jsx)(mn.g, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
initial: { opacity: .15 },
animate: { opacity: [
.15,
@@ -2165,11 +1781,7 @@ var Ki = (e, t) => {
.15
] },
transition: {
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- duration: Pi / 1e3,
-========
- duration: Ai / 1e3,
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ duration: Bi / 1e3,
delay: r,
repeat: Infinity,
ease: "easeInOut"
@@ -2180,15 +1792,9 @@ var Ki = (e, t) => {
})
});
};
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-Wi.Pie = Gi, Wi.Label = Ki, Wi.Tooltip = qi, Wi.Legend = Ji, Wi.Background = Yi;
-// src/react/settings/storage-charts.tsx
-var ta = {
-========
-Bi.Pie = Vi, Bi.Label = Hi, Bi.Tooltip = Ui, Bi.Legend = Wi, Bi.Background = Gi;
+Xi.Pie = Zi, Xi.Label = Qi, Xi.Tooltip = $i, Xi.Legend = ea, Xi.Background = ta;
// src/react/settings/storage-charts.tsx
-var Zi = {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+var sa = {
database: "var(--color-chart-1)",
backups: "var(--color-chart-2)",
playback: "var(--color-chart-3)",
@@ -2198,11 +1804,7 @@ var Zi = {
sources: "var(--color-chart-7)",
records: "var(--color-chart-8)",
tools: "var(--color-chart-9)"
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-}, na = "var(--color-text-tertiary)", ra = {
-========
-}, Qi = "var(--color-text-tertiary)", $i = {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+}, ca = "var(--color-text-tertiary)", la = {
database: "bg-chart-1",
backups: "bg-chart-2",
playback: "bg-chart-3",
@@ -2212,42 +1814,23 @@ var Zi = {
sources: "bg-chart-7",
records: "bg-chart-8",
tools: "bg-chart-9"
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-}, ia = (e) => J(e);
-function aa(e) {
- let t = e.filter((e) => ta[e.key] && e.bytes > 0).map((e) => ({
+}, ua = (e) => J(e);
+function da(e) {
+ let t = e.filter((e) => sa[e.key] && e.bytes > 0).map((e) => ({
key: e.key,
label: e.label,
bytes: e.bytes,
- color: ta[e.key]
- })), n = e.filter((e) => !ta[e.key]).reduce((e, t) => e + t.bytes, 0);
-========
-}, ea = (e) => J(e);
-function ta(e) {
- let t = e.filter((e) => Zi[e.key] && e.bytes > 0).map((e) => ({
- key: e.key,
- label: e.label,
- bytes: e.bytes,
- color: Zi[e.key]
- })), n = e.filter((e) => !Zi[e.key]).reduce((e, t) => e + t.bytes, 0);
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ color: sa[e.key]
+ })), n = e.filter((e) => !sa[e.key]).reduce((e, t) => e + t.bytes, 0);
return n > 0 ? [...t, {
key: "rest",
label: "其余",
bytes: n,
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- color: na
+ color: ca
}] : t;
}
-function oa({ storage: e }) {
- let t = e.usage, n = aa(t.categories), r = Object.fromEntries(n.map((e) => [e.key, {
-========
- color: Qi
- }] : t;
-}
-function na({ storage: e }) {
- let t = e.usage, n = ta(t.categories), r = Object.fromEntries(n.map((e) => [e.key, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function fa({ storage: e }) {
+ let t = e.usage, n = da(t.categories), r = Object.fromEntries(n.map((e) => [e.key, {
label: e.label,
colors: Ae(e.color)
}])), i = n.map((e) => ({
@@ -2259,23 +1842,14 @@ function na({ storage: e }) {
children: [/* @__PURE__ */ (0, Q.jsxs)("div", {
className: "relative mx-auto size-48 flex-none",
role: "img",
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- "aria-label": `数据目录共 ${ia(t.total_bytes)},各类占比`,
- children: [/* @__PURE__ */ (0, Q.jsxs)(Wi, {
-========
- "aria-label": `数据目录共 ${ea(t.total_bytes)},各类占比`,
- children: [/* @__PURE__ */ (0, Q.jsxs)(Bi, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ "aria-label": `数据目录共 ${ua(t.total_bytes)},各类占比`,
+ children: [/* @__PURE__ */ (0, Q.jsxs)(Xi, {
data: i,
dataKey: "value",
nameKey: "slice",
config: r,
className: "aspect-square size-48 flex-none",
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- children: [/* @__PURE__ */ (0, Q.jsx)(Wi.Pie, {
-========
- children: [/* @__PURE__ */ (0, Q.jsx)(Bi.Pie, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ children: [/* @__PURE__ */ (0, Q.jsx)(Xi.Pie, {
innerRadius: "68%",
outerRadius: "100%",
paddingAngle: 1,
@@ -2283,21 +1857,13 @@ function na({ storage: e }) {
}), /* @__PURE__ */ (0, Q.jsx)(o, {
nameKey: "slice",
hideLabel: !0,
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- format: ia
-========
- format: ea
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ format: ua
})]
}), /* @__PURE__ */ (0, Q.jsxs)("div", {
className: "pointer-events-none absolute inset-0 flex flex-col items-center justify-center",
children: [/* @__PURE__ */ (0, Q.jsx)("b", {
className: "text-title-2-medium tabular-nums text-text-primary",
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- children: ia(t.total_bytes)
-========
- children: ea(t.total_bytes)
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ children: ua(t.total_bytes)
}), /* @__PURE__ */ (0, Q.jsxs)("small", {
className: "text-caption-1-regular tabular-nums text-text-secondary",
children: [t.total_files.toLocaleString(), " 个文件"]
@@ -2313,36 +1879,20 @@ function na({ storage: e }) {
children: [
/* @__PURE__ */ (0, Q.jsx)("i", {
"aria-hidden": !0,
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- className: `${te} ${ra[e.key] || "bg-text-tertiary"}`
-========
- className: `${te} ${$i[e.key] || "bg-text-tertiary"}`
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ className: `${te} ${la[e.key] || "bg-text-tertiary"}`
}),
e.label,
/* @__PURE__ */ (0, Q.jsx)("span", {
className: "tabular-nums text-text-primary",
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- children: ia(e.bytes)
- })
- ]
- }, e.key))
- }), /* @__PURE__ */ (0, Q.jsx)(sa, { storage: e })]
- })]
- });
-}
-function sa({ storage: e }) {
-========
- children: ea(e.bytes)
+ children: ua(e.bytes)
})
]
}, e.key))
- }), /* @__PURE__ */ (0, Q.jsx)(ra, { storage: e })]
+ }), /* @__PURE__ */ (0, Q.jsx)(pa, { storage: e })]
})]
});
}
-function ra({ storage: e }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function pa({ storage: e }) {
if (e.total_bytes === null || e.free_bytes === null || !e.usage) return null;
let t = Math.min(e.usage.total_bytes, e.total_bytes), n = e.free_bytes, r = Math.max(0, e.total_bytes - n - t), i = {
peach: {
@@ -2351,11 +1901,7 @@ function ra({ storage: e }) {
},
others: {
label: "其他文件",
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- colors: Ae(na)
-========
- colors: Ae(Qi)
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ colors: Ae(ca)
},
free: {
label: "可用",
@@ -2368,11 +1914,7 @@ function ra({ storage: e }) {
className: "text-caption-1-regular text-text-secondary",
children: [
"所在磁盘共 ",
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- ia(e.total_bytes),
-========
- ea(e.total_bytes),
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ ua(e.total_bytes),
e.system_drive ? "(系统盘)" : "",
",Peach 占 ",
((t) => {
@@ -2380,11 +1922,7 @@ function ra({ storage: e }) {
return n < .1 ? "不到 0.1%" : `${n.toFixed(+(n < 10))}%`;
})(t),
", 可用 ",
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- ia(n)
-========
- ea(n)
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ ua(n)
]
}), /* @__PURE__ */ (0, Q.jsxs)(p, {
data: [{
@@ -2415,45 +1953,26 @@ function ra({ storage: e }) {
/* @__PURE__ */ (0, Q.jsx)(p.Bar, { dataKey: "free" }),
/* @__PURE__ */ (0, Q.jsx)(o, {
hideLabel: !0,
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- format: ia
-========
- format: ea
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ format: ua
})
]
})]
});
}
// src/react/settings/storage-settings.tsx
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-var ca = "/api/configuration/storage", la = 1500, ua = 864e5, da = (e) => e instanceof qe && e.body?.errors?.target || q(e);
-function fa(e) {
-========
-var ia = "/api/configuration/storage", aa = 1500, oa = 864e5, sa = (e) => e instanceof qe && e.body?.errors?.target || q(e);
-function ca(e) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+var ma = "/api/configuration/storage", ha = 1500, ga = 864e5, _a = (e) => e instanceof qe && e.body?.errors?.target || q(e);
+function va(e) {
if (e.free_bytes === null || e.total_bytes === null) return "未取得";
let t = `${J(e.free_bytes)} 可用,共 ${J(e.total_bytes)}`;
return e.system_drive ? `${t}(系统盘)` : t;
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-var pa = (e) => e.cleanable && e.reclaimable > 0;
-function ma({ job: e }) {
+var ya = (e) => e.cleanable && e.reclaimable > 0;
+function ba({ job: e }) {
let t = e.files || 0, n = e.expected_files || 0, r = /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [
"已统计 ",
- /* @__PURE__ */ (0, Q.jsx)(Fr, { value: t }),
+ /* @__PURE__ */ (0, Q.jsx)(Vr, { value: t }),
" 个文件 · ",
- /* @__PURE__ */ (0, Q.jsx)(Fr, {
-========
-var la = (e) => e.cleanable && e.reclaimable > 0;
-function ua({ job: e }) {
- let t = e.files || 0, n = e.expected_files || 0, r = /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [
- "已统计 ",
- /* @__PURE__ */ (0, Q.jsx)(jr, { value: t }),
- " 个文件 · ",
- /* @__PURE__ */ (0, Q.jsx)(jr, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ /* @__PURE__ */ (0, Q.jsx)(Vr, {
value: e.bytes || 0,
format: J
})
@@ -2473,13 +1992,8 @@ function ua({ job: e }) {
] })] }) : /* @__PURE__ */ (0, Q.jsx)(_t, { label: "正在统计占用空间" }), n ? null : /* @__PURE__ */ (0, Q.jsx)(N, { children: r })]
});
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function ha({ category: e, selected: t, disabled: n, onToggle: r }) {
- let i = pa(e), a = e.cleanable ? e.reclaimable > 0 ? `清理后${e.note}` : "没有可以清理的文件" : `不能清理:${e.note}`;
-========
-function da({ category: e, selected: t, disabled: n, onToggle: r }) {
- let i = la(e), a = e.cleanable ? e.reclaimable > 0 ? `清理后${e.note}` : "没有可以清理的文件" : `不能清理:${e.note}`;
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function xa({ category: e, selected: t, disabled: n, onToggle: r }) {
+ let i = ya(e), a = e.cleanable ? e.reclaimable > 0 ? `清理后${e.note}` : "没有可以清理的文件" : `不能清理:${e.note}`;
return /* @__PURE__ */ (0, Q.jsxs)("div", {
"data-category": e.key,
className: "flex min-h-13 w-full items-start gap-3 border-b border-separator-border py-2.5 pr-3 last:border-b-0",
@@ -2498,11 +2012,7 @@ function da({ category: e, selected: t, disabled: n, onToggle: r }) {
className: "flex items-center gap-2 text-body-regular text-text-primary",
children: [/* @__PURE__ */ (0, Q.jsx)("i", {
"aria-hidden": !0,
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- className: `size-2.5 shrink-0 rounded-xs ${ra[e.key] || "bg-text-tertiary"}`
-========
- className: `size-2.5 shrink-0 rounded-xs ${$i[e.key] || "bg-text-tertiary"}`
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ className: `size-2.5 shrink-0 rounded-xs ${la[e.key] || "bg-text-tertiary"}`
}), e.label]
}),
/* @__PURE__ */ (0, Q.jsx)("p", {
@@ -2517,11 +2027,7 @@ function da({ category: e, selected: t, disabled: n, onToggle: r }) {
}),
/* @__PURE__ */ (0, Q.jsxs)("div", {
className: "flex shrink-0 flex-col items-end gap-0.5 text-right",
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- children: [/* @__PURE__ */ (0, Q.jsx)(Fr, {
-========
- children: [/* @__PURE__ */ (0, Q.jsx)(jr, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ children: [/* @__PURE__ */ (0, Q.jsx)(Vr, {
value: e.bytes,
format: J,
className: "text-body-regular text-text-primary"
@@ -2533,37 +2039,22 @@ function da({ category: e, selected: t, disabled: n, onToggle: r }) {
]
});
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function ga({ initial: e, receipt: t }) {
-========
-function fa({ initial: e, receipt: t }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function Sa({ initial: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e), [i, a] = (0, Z.useState)(""), [o, s] = (0, Z.useState)(/* @__PURE__ */ new Set()), c = Y(), l = n.job.state !== "idle", u = (0, Z.useRef)(l);
(0, Z.useEffect)(() => {
if (!l) return;
let e = new AbortController(), t = setTimeout(() => {
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- W(ca, e.signal).then(r, () => {
+ W(ma, e.signal).then(r, () => {
e.signal.aborted || r((e) => ({ ...e }));
});
- }, la);
-========
- W(ia, e.signal).then(r, () => {
- e.signal.aborted || r((e) => ({ ...e }));
- });
- }, aa);
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ }, ha);
return () => {
e.abort(), clearTimeout(t);
};
}, [n]), (0, Z.useEffect)(() => {
l ? u.current = !0 : u.current && (u.current = !1, s(/* @__PURE__ */ new Set()), n.job.error || t(n.job.message || "已统计占用空间"));
}, [l]);
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- let d = () => void c.run("measure", (e) => G(`${ca}/measure`, {}, "POST", e), r), f = n.usage, p = f?.categories.filter(pa) ?? [], m = p.filter((e) => o.has(e.key)), h = (e, t) => {
-========
- let d = () => void c.run("measure", (e) => G(`${ia}/measure`, {}, "POST", e), r), f = n.usage, p = f?.categories.filter(la) ?? [], m = p.filter((e) => o.has(e.key)), h = (e, t) => {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ let d = () => void c.run("measure", (e) => G(`${ma}/measure`, {}, "POST", e), r), f = n.usage, p = f?.categories.filter(ya) ?? [], m = p.filter((e) => o.has(e.key)), h = (e, t) => {
if (!e.length) return;
let n = e.reduce((e, t) => e + t.reclaimable, 0);
nn({
@@ -2571,11 +2062,7 @@ function fa({ initial: e, receipt: t }) {
body: `将删除 ${J(n)}:${e.map((e) => `${e.label} ${J(e.reclaimable)}(清理后${e.note})`).join(";")}。`,
confirmLabel: `清理 ${J(n)}`,
danger: e.some((e) => e.key === "backups"),
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- onConfirm: async () => r(await G(`${ca}/clean`, { categories: e.map((e) => e.key) }))
-========
- onConfirm: async () => r(await G(`${ia}/clean`, { categories: e.map((e) => e.key) }))
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ onConfirm: async () => r(await G(`${ma}/clean`, { categories: e.map((e) => e.key) }))
});
}, g = () => void c.run("relocate", async (e) => {
let t = (await G(Ct, { initial: n.data_root }, "POST", e)).path;
@@ -2587,23 +2074,13 @@ function fa({ initial: e, receipt: t }) {
confirmLabel: "迁移数据目录",
onConfirm: async () => {
try {
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- a((await G(`${ca}/relocate`, { target: t })).message);
- } catch (e) {
- throw Error(da(e));
- }
- }
- });
- }, () => void 0), _ = n.relocation.last, v = _ && (_.state === "error" || (_.notes?.length ?? 0) > 0 || Date.now() - _.finished_at * 1e3 < ua), y = f?.categories.find((e) => e.key === n.job.category)?.label, b = i || (n.job.state === "cleaning" ? `正在清理${y || ""}…` : n.job.state === "measuring" ? "正在统计占用空间…" : m.length ? `已选 ${m.length} 类,可释放 ${J(m.reduce((e, t) => e + t.reclaimable, 0))}` : f ? `统计于 ${(/* @__PURE__ */ new Date(f.measured_at * 1e3)).toLocaleString()}` : ""), x = l || !!i, S = (e) => (t) => s((n) => {
-========
- a((await G(`${ia}/relocate`, { target: t })).message);
+ a((await G(`${ma}/relocate`, { target: t })).message);
} catch (e) {
- throw Error(sa(e));
+ throw Error(_a(e));
}
}
});
- }, () => void 0), _ = n.relocation.last, v = _ && (_.state === "error" || (_.notes?.length ?? 0) > 0 || Date.now() - _.finished_at * 1e3 < oa), y = f?.categories.find((e) => e.key === n.job.category)?.label, b = i || (n.job.state === "cleaning" ? `正在清理${y || ""}…` : n.job.state === "measuring" ? "正在统计占用空间…" : m.length ? `已选 ${m.length} 类,可释放 ${J(m.reduce((e, t) => e + t.reclaimable, 0))}` : f ? `统计于 ${(/* @__PURE__ */ new Date(f.measured_at * 1e3)).toLocaleString()}` : ""), x = l || !!i, S = (e) => (t) => s((n) => {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ }, () => void 0), _ = n.relocation.last, v = _ && (_.state === "error" || (_.notes?.length ?? 0) > 0 || Date.now() - _.finished_at * 1e3 < ga), y = f?.categories.find((e) => e.key === n.job.category)?.label, b = i || (n.job.state === "cleaning" ? `正在清理${y || ""}…` : n.job.state === "measuring" ? "正在统计占用空间…" : m.length ? `已选 ${m.length} 类,可释放 ${J(m.reduce((e, t) => e + t.reclaimable, 0))}` : f ? `统计于 ${(/* @__PURE__ */ new Date(f.measured_at * 1e3)).toLocaleString()}` : ""), x = l || !!i, S = (e) => (t) => s((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
});
@@ -2621,20 +2098,12 @@ function fa({ initial: e, receipt: t }) {
})
}), /* @__PURE__ */ (0, Q.jsx)(j, {
term: "所在磁盘",
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- children: fa(n)
-========
- children: ca(n)
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ children: va(n)
})] }),
/* @__PURE__ */ (0, Q.jsxs)(V, {
divided: !0,
children: [
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- n.job.state === "measuring" ? /* @__PURE__ */ (0, Q.jsx)(ma, { job: n.job }) : null,
-========
- n.job.state === "measuring" ? /* @__PURE__ */ (0, Q.jsx)(ua, { job: n.job }) : null,
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ n.job.state === "measuring" ? /* @__PURE__ */ (0, Q.jsx)(ba, { job: n.job }) : null,
f ? /* @__PURE__ */ (0, Q.jsxs)("div", {
"data-storage-result": "",
className: Qt({
@@ -2644,17 +2113,10 @@ function fa({ initial: e, receipt: t }) {
}),
children: [/* @__PURE__ */ (0, Q.jsx)("div", {
className: "border-b border-separator-border p-4",
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- children: /* @__PURE__ */ (0, Q.jsx)(oa, { storage: n })
+ children: /* @__PURE__ */ (0, Q.jsx)(fa, { storage: n })
}), /* @__PURE__ */ (0, Q.jsx)("div", {
className: "flex flex-col pl-4",
- children: f.categories.map((e) => /* @__PURE__ */ (0, Q.jsx)(ha, {
-========
- children: /* @__PURE__ */ (0, Q.jsx)(na, { storage: n })
- }), /* @__PURE__ */ (0, Q.jsx)("div", {
- className: "flex flex-col pl-4",
- children: f.categories.map((e) => /* @__PURE__ */ (0, Q.jsx)(da, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ children: f.categories.map((e) => /* @__PURE__ */ (0, Q.jsx)(xa, {
category: e,
selected: o.has(e.key),
disabled: x,
@@ -2713,81 +2175,48 @@ function fa({ initial: e, receipt: t }) {
});
}
// src/react/settings/maintenance-settings.tsx
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-var _a = [
-========
-var pa = [
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+var Ca = [
["6", "每 6 小时"],
["24", "每天"],
["168", "每周"]
];
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function va({ data: e, receipt: t, reopenTutorial: n, panel: r }) {
-========
-function ma({ data: e, receipt: t, reopenTutorial: n, panel: r }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function wa({ data: e, receipt: t, reopenTutorial: n, panel: r }) {
return /* @__PURE__ */ (0, Q.jsxs)("div", {
...ur(r),
children: [
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- e.storage ? /* @__PURE__ */ (0, Q.jsx)(ga, {
-========
- e.storage ? /* @__PURE__ */ (0, Q.jsx)(fa, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ e.storage ? /* @__PURE__ */ (0, Q.jsx)(Sa, {
initial: e.storage,
receipt: t
}) : null,
- e.storage ? /* @__PURE__ */ (0, Q.jsx)(Er, { receipt: t }) : null,
+ e.storage ? /* @__PURE__ */ (0, Q.jsx)(Ir, { receipt: t }) : null,
e.remote_reporting || e.library_sharing ? /* @__PURE__ */ (0, Q.jsxs)(L, {
id: "librarySharing",
guide: "reporting",
title: "数据上传",
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- children: [e.remote_reporting ? /* @__PURE__ */ (0, Q.jsx)(Nr, {
-========
- children: [e.remote_reporting ? /* @__PURE__ */ (0, Q.jsx)(kr, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ children: [e.remote_reporting ? /* @__PURE__ */ (0, Q.jsx)(zr, {
initial: e.remote_reporting,
receipt: t
}) : null, e.library_sharing ? /* @__PURE__ */ (0, Q.jsx)("div", {
className: "border-t border-separator-border",
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- children: /* @__PURE__ */ (0, Q.jsx)(jr, {
-========
- children: /* @__PURE__ */ (0, Q.jsx)(Dr, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ children: /* @__PURE__ */ (0, Q.jsx)(Lr, {
initial: e.library_sharing,
receipt: t
})
}) : null]
}) : null,
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- /* @__PURE__ */ (0, Q.jsx)(xa, { facts: e.facts }),
- /* @__PURE__ */ (0, Q.jsx)(ya, {
+ /* @__PURE__ */ (0, Q.jsx)(Da, { facts: e.facts }),
+ /* @__PURE__ */ (0, Q.jsx)(Ta, {
receipt: t,
reopenTutorial: n
}),
- e.uninstall ? /* @__PURE__ */ (0, Q.jsx)(Sa, {
-========
- /* @__PURE__ */ (0, Q.jsx)(_a, { facts: e.facts }),
- /* @__PURE__ */ (0, Q.jsx)(ha, {
- receipt: t,
- reopenTutorial: n
- }),
- e.uninstall ? /* @__PURE__ */ (0, Q.jsx)(va, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ e.uninstall ? /* @__PURE__ */ (0, Q.jsx)(Oa, {
uninstall: e.uninstall,
receipt: t
}) : null
]
});
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function ya({ reopenTutorial: e }) {
-========
-function ha({ reopenTutorial: e }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function Ta({ reopenTutorial: e }) {
return /* @__PURE__ */ (0, Q.jsx)("section", {
"aria-label": "新手教程",
className: "w-full",
@@ -2802,11 +2231,7 @@ function ha({ reopenTutorial: e }) {
}) }) })
});
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function ba({ initial: e, receipt: t }) {
-========
-function ga({ initial: e, receipt: t }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function Ea({ initial: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e.mode), [i, a] = (0, Z.useState)(e.interval_hours), o = Y(e.error), s = (r) => {
r.preventDefault(), e.available && o.run("save", (e) => G("/api/configuration/automatic-updates", {
mode: n,
@@ -2849,11 +2274,7 @@ function ga({ initial: e, receipt: t }) {
onSelectionChange: (e) => {
e !== null && a(Number(e));
},
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- children: _a.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(z, {
-========
- children: pa.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(z, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ children: Ca.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(z, {
id: e,
children: t
}, e))
@@ -2873,11 +2294,7 @@ function ga({ initial: e, receipt: t }) {
]
});
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function xa({ facts: e }) {
-========
-function _a({ facts: e }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function Da({ facts: e }) {
return /* @__PURE__ */ (0, Q.jsx)(L, {
guide: "facts",
title: "运行信息",
@@ -2890,13 +2307,8 @@ function _a({ facts: e }) {
}, e.term)) })
});
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Sa({ uninstall: e, receipt: t }) {
+function Oa({ uninstall: e, receipt: t }) {
let [n, r] = (0, Z.useState)(!1), [i, a] = (0, Z.useState)(""), o = () => void nn({
-========
-function va({ uninstall: e, receipt: t }) {
- let [n, r] = (0, Z.useState)(!1), [i, a] = (0, Z.useState)(""), o = () => void Qt({
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
title: "卸载 Peach",
danger: !0,
body: n ? "将退出 Peach,移除程序、开机自启、桌面图标、设置、本地数据库、观看记录、凭据和缓存。原始媒体文件保留。" : "将退出 Peach 并移除程序、开机自启和桌面图标。设置、本地数据库、观看记录与缓存保留。",
@@ -2952,40 +2364,23 @@ function va({ uninstall: e, receipt: t }) {
});
}
// src/react/settings/release-updates.tsx
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-var Ca = /* @__PURE__ */ new Set([
-========
-var ya = /* @__PURE__ */ new Set([
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+var ka = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
"preparing",
"restarting",
"installing"
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-]), wa = [
+]), Aa = [
65,
75,
90
-], Ta = 120, Ea = "https://github.com/peach-mitao/peach/releases";
-function Da({ initial: e, initialJob: t }) {
+], ja = 120, Ma = "https://github.com/peach-mitao/peach/releases";
+function Na({ initial: e, initialJob: t }) {
let [n, r] = (0, Z.useState)(e), [i, a] = (0, Z.useState)(t || {
state: "idle",
progress: 0
- }), [o, s] = (0, Z.useState)(""), c = Y(), l = (0, Z.useRef)(!1), u = (0, Z.useRef)(!0), d = Ca.has(i.state);
-========
-]), ba = [
- 65,
- 75,
- 90
-], xa = 120, Sa = "https://github.com/peach-mitao/peach/releases";
-function Ca({ initial: e, initialJob: t }) {
- let [n, r] = (0, Z.useState)(e), [i, a] = (0, Z.useState)(t || {
- state: "idle",
- progress: 0
- }), [o, s] = (0, Z.useState)(""), c = Y(), l = (0, Z.useRef)(!1), u = (0, Z.useRef)(!0), d = ya.has(i.state);
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ }), [o, s] = (0, Z.useState)(""), c = Y(), l = (0, Z.useRef)(!1), u = (0, Z.useRef)(!0), d = ka.has(i.state);
(0, Z.useEffect)(() => (u.current = !0, () => {
u.current = !1;
}), []);
@@ -3002,11 +2397,7 @@ function Ca({ initial: e, initialJob: t }) {
(0, Z.useEffect)(() => {
i.state !== "ready" || l.current || (l.current = !0, p());
}, [i.state]), (0, Z.useEffect)(() => {
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- let e = new AbortController(), t = Ca.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
-========
- let e = new AbortController(), t = ya.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ let e = new AbortController(), t = ka.has(i.state) ? 1e3 : 3e4, n, o = 0, c = async () => {
try {
let t = await W("/api/configuration/update-status", e.signal);
if (e.signal.aborted) return;
@@ -3019,15 +2410,9 @@ function Ca({ initial: e, initialJob: t }) {
let n = await W("/api/configuration/automatic-updates", e.signal);
!e.signal.aborted && n.result && r(n.result);
} catch {
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- o += 1, o >= Ta && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
- }
- !e.signal.aborted && o < Ta && (n = setTimeout(c, t));
-========
- o += 1, o >= xa && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
+ o += 1, o >= ja && !e.signal.aborted && s("尚未连接到 Peach,请检查托盘后刷新页面。");
}
- !e.signal.aborted && o < xa && (n = setTimeout(c, t));
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ !e.signal.aborted && o < ja && (n = setTimeout(c, t));
};
return n = setTimeout(c, t), () => {
e.abort(), clearTimeout(n);
@@ -3093,11 +2478,7 @@ function Ca({ initial: e, initialJob: t }) {
/* @__PURE__ */ (0, Q.jsx)(At, {
label: "更新准备进度",
value: i.progress,
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- stops: wa
-========
- stops: ba
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ stops: Aa
}),
/* @__PURE__ */ (0, Q.jsxs)(N, { children: ["下载 → 校验 → 解压 → 准备安装 · ", i.message] }),
/* @__PURE__ */ (0, Q.jsx)(N, { children: _ })
@@ -3118,11 +2499,7 @@ function Ca({ initial: e, initialJob: t }) {
children: "GitHub"
}),
/* @__PURE__ */ (0, Q.jsx)(A, {
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- href: n.release_url || Ea,
-========
- href: n.release_url || Sa,
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ href: n.release_url || Ma,
children: "查看发布页"
})
]
@@ -3156,11 +2533,7 @@ function Ca({ initial: e, initialJob: t }) {
});
}
// src/react/settings/upgrade-repairs.tsx
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-var Oa = {
-========
-var wa = {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+var Pa = {
pending: "等待修复",
running: "正在修复",
failed: "需要重试",
@@ -3168,13 +2541,8 @@ var wa = {
complete: "已完成",
unavailable: "当前部署未启用"
};
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function ka() {
+function Fa() {
let { snapshot: e } = zn(), [t, n] = (0, Z.useState)(null), r = Y();
-========
-function Ta() {
- let { snapshot: e } = Mn(), [t, n] = (0, Z.useState)(null), r = Y();
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
(0, Z.useEffect)(() => n(null), [e]);
let i = t ?? e?.repairs, a = i?.state || "pending", o = i?.items.reduce((e, t) => e + (t.pending || 0), 0) || 0, s = i?.items.reduce((e, t) => e + (t.failed || 0), 0) || 0, c = i?.items.reduce((e, t) => e + (t.review_count || 0), 0) || 0;
return /* @__PURE__ */ (0, Q.jsxs)(L, {
@@ -3184,11 +2552,7 @@ function Ta() {
tone: a === "failed" ? "error" : a === "running" ? "progress" : a === "review" ? "warning" : a === "complete" ? "success" : "neutral",
children: /* @__PURE__ */ (0, Q.jsx)("span", {
"data-copy-key": `upgradeRepairs.${a}.status`,
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- children: Oa[a] || "未取得"
-========
- children: wa[a] || "未取得"
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ children: Pa[a] || "未取得"
}, a)
}),
children: [
@@ -3196,27 +2560,15 @@ function Ta() {
/* @__PURE__ */ (0, Q.jsxs)(lt, { children: [
/* @__PURE__ */ (0, Q.jsx)(j, {
term: "待完成",
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- children: /* @__PURE__ */ (0, Q.jsxs)("span", { children: [/* @__PURE__ */ (0, Q.jsx)(Fr, { value: o }), " 项"] })
+ children: /* @__PURE__ */ (0, Q.jsxs)("span", { children: [/* @__PURE__ */ (0, Q.jsx)(Vr, { value: o }), " 项"] })
}),
/* @__PURE__ */ (0, Q.jsx)(j, {
term: "失败",
- children: /* @__PURE__ */ (0, Q.jsxs)("span", { children: [/* @__PURE__ */ (0, Q.jsx)(Fr, { value: s }), " 项"] })
+ children: /* @__PURE__ */ (0, Q.jsxs)("span", { children: [/* @__PURE__ */ (0, Q.jsx)(Vr, { value: s }), " 项"] })
}),
/* @__PURE__ */ (0, Q.jsx)(j, {
term: "待复核",
- children: /* @__PURE__ */ (0, Q.jsxs)("span", { children: [/* @__PURE__ */ (0, Q.jsx)(Fr, { value: c }), " 项"] })
-========
- children: /* @__PURE__ */ (0, Q.jsxs)("span", { children: [/* @__PURE__ */ (0, Q.jsx)(jr, { value: o }), " 项"] })
- }),
- /* @__PURE__ */ (0, Q.jsx)(j, {
- term: "失败",
- children: /* @__PURE__ */ (0, Q.jsxs)("span", { children: [/* @__PURE__ */ (0, Q.jsx)(jr, { value: s }), " 项"] })
- }),
- /* @__PURE__ */ (0, Q.jsx)(j, {
- term: "待复核",
- children: /* @__PURE__ */ (0, Q.jsxs)("span", { children: [/* @__PURE__ */ (0, Q.jsx)(jr, { value: c }), " 项"] })
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ children: /* @__PURE__ */ (0, Q.jsxs)("span", { children: [/* @__PURE__ */ (0, Q.jsx)(Vr, { value: c }), " 项"] })
})
] }),
i?.message || r.error ? /* @__PURE__ */ (0, Q.jsx)(V, { children: /* @__PURE__ */ (0, Q.jsx)(k, { children: r.error || i?.message }) }) : null,
@@ -3240,48 +2592,27 @@ function Ta() {
});
}
// src/react/settings/general-settings.tsx
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Aa({ data: e, receipt: t, panel: n }) {
-========
-function Ea({ data: e, receipt: t, panel: n }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function Ia({ data: e, receipt: t, panel: n }) {
return /* @__PURE__ */ (0, Q.jsxs)("div", {
...ur(n),
children: [
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- e.updates ? /* @__PURE__ */ (0, Q.jsx)(Da, {
- initial: e.updates,
- initialJob: e.update_job
- }) : null,
- /* @__PURE__ */ (0, Q.jsx)(ka, {}),
- e.automatic_updates ? /* @__PURE__ */ (0, Q.jsx)(ba, {
- initial: e.automatic_updates,
- receipt: t
- }) : null,
- e.startup ? /* @__PURE__ */ (0, Q.jsx)(ja, {
-========
- e.updates ? /* @__PURE__ */ (0, Q.jsx)(Ca, {
+ e.updates ? /* @__PURE__ */ (0, Q.jsx)(Na, {
initial: e.updates,
initialJob: e.update_job
}) : null,
- /* @__PURE__ */ (0, Q.jsx)(Ta, {}),
- e.automatic_updates ? /* @__PURE__ */ (0, Q.jsx)(ga, {
+ /* @__PURE__ */ (0, Q.jsx)(Fa, {}),
+ e.automatic_updates ? /* @__PURE__ */ (0, Q.jsx)(Ea, {
initial: e.automatic_updates,
receipt: t
}) : null,
- e.startup ? /* @__PURE__ */ (0, Q.jsx)(Da, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ e.startup ? /* @__PURE__ */ (0, Q.jsx)(La, {
startup: e.startup,
receipt: t
}) : null
]
});
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function ja({ startup: e, receipt: t }) {
-========
-function Da({ startup: e, receipt: t }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function La({ startup: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e.enabled), [i, a] = (0, Z.useState)(e.silent), [o, s] = (0, Z.useState)(e.desktop), c = Y(), l = e.available && !e.desktop_message;
return /* @__PURE__ */ (0, Q.jsxs)(L, {
guide: "startup",
@@ -3339,11 +2670,7 @@ function Da({ startup: e, receipt: t }) {
});
}
// src/react/restart-redirect.ts
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-var Ma = 8e3, Na = [
-========
-var Oa = 8e3, ka = [
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+var Ra = 8e3, za = [
{
name: "机械硬盘,或内存 8 GB 以内",
cache: "10–20 GiB",
@@ -3362,20 +2689,12 @@ var Oa = 8e3, ka = [
read: "256 / 128 KB",
task: "2 个起步"
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-], Pa = [
-========
-], Aa = [
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+], Ba = [
["cache", "缓存上限"],
["read", "读取长度(默认 / 最小)"],
["task", "同时处理视频"]
];
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Fa() {
-========
-function ja() {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function Va() {
return /* @__PURE__ */ (0, Q.jsx)("div", {
className: "@container flex flex-col gap-3",
children: /* @__PURE__ */ (0, Q.jsxs)(O, {
@@ -3390,22 +2709,14 @@ function ja() {
/* @__PURE__ */ (0, Q.jsx)("ul", {
"aria-label": "按缓存所在硬盘分档",
className: "flex flex-col gap-2",
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- children: Na.map((e) => /* @__PURE__ */ (0, Q.jsxs)("li", {
-========
- children: ka.map((e) => /* @__PURE__ */ (0, Q.jsxs)("li", {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ children: za.map((e) => /* @__PURE__ */ (0, Q.jsxs)("li", {
className: "flex flex-col gap-2 rounded-2lg border border-separator-border bg-background-primary-default p-3",
children: [/* @__PURE__ */ (0, Q.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e.name
}), /* @__PURE__ */ (0, Q.jsx)("dl", {
className: "inline-grid grid-cols-1 gap-2 @md:grid-cols-3",
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- children: Pa.map(([t, n]) => /* @__PURE__ */ (0, Q.jsxs)("div", {
-========
- children: Aa.map(([t, n]) => /* @__PURE__ */ (0, Q.jsxs)("div", {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ children: Ba.map(([t, n]) => /* @__PURE__ */ (0, Q.jsxs)("div", {
className: "flex flex-col",
children: [/* @__PURE__ */ (0, Q.jsx)("dt", {
className: "text-caption-1-regular text-text-secondary",
@@ -3435,25 +2746,15 @@ function ja() {
});
}
// src/react/settings/cloud-proxy-settings.tsx
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-var Ia = "/api/configuration/cloud-proxies", La = [
-========
-var Ma = "/api/configuration/cloud-proxies", Na = [
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+var Ha = "/api/configuration/cloud-proxies", Ua = [
["direct", "直连"],
["system", "跟随系统"],
["http", "HTTP 代理"],
["socks5", "SOCKS5 代理"]
];
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Ra({ receipt: e }) {
- let [t, n] = (0, Z.useState)(null), [r, i] = (0, Z.useState)(!0), a = (0, Z.useRef)(/* @__PURE__ */ new Set()), o = (0, Z.useRef)(/* @__PURE__ */ new Set()), [s, c] = (0, Z.useState)(!1), l = (0, Z.useRef)(() => void 0), u = Y(), d = () => {
- o.current.size || u.run("refresh", (e) => W(Ia, e), (e) => {
-========
-function Pa({ receipt: e }) {
+function Wa({ receipt: e }) {
let [t, n] = (0, Z.useState)(null), [r, i] = (0, Z.useState)(!0), a = (0, Z.useRef)(/* @__PURE__ */ new Set()), o = (0, Z.useRef)(/* @__PURE__ */ new Set()), [s, c] = (0, Z.useState)(!1), l = (0, Z.useRef)(() => void 0), u = Y(), d = () => {
- o.current.size || u.run("refresh", (e) => W(Ma, e), (e) => {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ o.current.size || u.run("refresh", (e) => W(Ha, e), (e) => {
a.current.clear(), n(e), i(!1);
}, (e) => {
i(!1), u.setError(e instanceof Error ? e.message : "无法读取网盘代理");
@@ -3507,11 +2808,7 @@ function Pa({ receipt: e }) {
children: [/* @__PURE__ */ (0, Q.jsx)(Vt, { mark: rr(e.location) }), e.name]
}) }), /* @__PURE__ */ (0, Q.jsx)(N, { children: "尚未匹配 CloudDrive 账号" })]
}, e.root)),
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- t?.accounts.map((t) => /* @__PURE__ */ (0, Q.jsx)(za, {
-========
- t?.accounts.map((t) => /* @__PURE__ */ (0, Q.jsx)(Fa, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ t?.accounts.map((t) => /* @__PURE__ */ (0, Q.jsx)(Ga, {
initial: t,
receipt: e,
onDirty: () => a.current.add(t.id),
@@ -3535,11 +2832,7 @@ function Pa({ receipt: e }) {
}) })]
});
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function za({ initial: e, receipt: t, onDirty: n, onSaved: r, onSaving: i }) {
-========
-function Fa({ initial: e, receipt: t, onDirty: n, onSaved: r, onSaving: i }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function Ga({ initial: e, receipt: t, onDirty: n, onSaved: r, onSaving: i }) {
let [a, o] = (0, Z.useState)(e), [s, c] = (0, Z.useState)([]), l = a.libraries?.map((e) => e.name).join("、") || a.name, u = Y(), d = (e, t) => {
o((n) => ({
...n,
@@ -3549,11 +2842,7 @@ function Fa({ initial: e, receipt: t, onDirty: n, onSaved: r, onSaving: i }) {
return /* @__PURE__ */ (0, Q.jsxs)("form", {
"aria-label": `${l} 代理`,
onSubmit: (e) => {
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- e.preventDefault(), i(!0), u.run("save", (e) => G(Ia, {
-========
- e.preventDefault(), i(!0), u.run("save", (e) => G(Ma, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ e.preventDefault(), i(!0), u.run("save", (e) => G(Ha, {
id: a.id,
revision: a.revision,
...s.includes("api") ? { api: a.api } : {},
@@ -3573,21 +2862,13 @@ function Fa({ initial: e, receipt: t, onDirty: n, onSaved: r, onSaving: i }) {
" · ",
a.path
] }),
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- /* @__PURE__ */ (0, Q.jsx)(Ba, {
-========
- /* @__PURE__ */ (0, Q.jsx)(Ia, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ /* @__PURE__ */ (0, Q.jsx)(Ka, {
label: "数据代理",
value: a.data,
disabled: !a.writable || !!u.busy,
onChange: (e) => d("data", e)
}),
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- /* @__PURE__ */ (0, Q.jsx)(Ba, {
-========
- /* @__PURE__ */ (0, Q.jsx)(Ia, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ /* @__PURE__ */ (0, Q.jsx)(Ka, {
label: "API 代理",
value: a.api,
disabled: !a.writable || !!u.busy,
@@ -3611,11 +2892,7 @@ function Fa({ initial: e, receipt: t, onDirty: n, onSaved: r, onSaving: i }) {
]
});
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Ba({ label: e, value: t, disabled: n, onChange: r }) {
-========
-function Ia({ label: e, value: t, disabled: n, onChange: r }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function Ka({ label: e, value: t, disabled: n, onChange: r }) {
let i = t.mode === "http" || t.mode === "socks5";
return /* @__PURE__ */ (0, Q.jsxs)("div", {
className: "flex min-w-0 flex-col gap-3",
@@ -3634,11 +2911,7 @@ function Ia({ label: e, value: t, disabled: n, onChange: r }) {
children: [t.mode === "unknown" ? /* @__PURE__ */ (0, Q.jsx)(z, {
id: "unknown",
children: "无法识别的代理类型"
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- }) : null, La.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(z, {
-========
- }) : null, Na.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(z, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ }) : null, Ua.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(z, {
id: e,
children: t
}, e))]
@@ -3706,11 +2979,7 @@ function Ia({ label: e, value: t, disabled: n, onChange: r }) {
});
}
// src/react/settings/library-icon-picker.tsx
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-var Va = [
-========
-var La = [
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+var qa = [
["", "自动识别"],
["hard-drive", "磁盘"],
["database", "资料库"],
@@ -3754,23 +3023,13 @@ var La = [
["star", "收藏"],
["tags", "主题"]
];
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Ha(e) {
+function Ja(e) {
let t = e === "local" ? "" : xt[e];
return t ? [t, "自动识别"] : ["hard-drive", "默认"];
}
-var Ua = "auto";
-function Wa({ value: e, label: t, kind: n = "local", onChange: r }) {
- let i = (0, Z.useRef)(null), [a, o] = (0, Z.useState)(!1), [s, c] = (0, Z.useState)(e), [l, u] = Ha(n);
-========
-function Ra(e) {
- let t = e === "local" ? "" : yt[e];
- return t ? [t, "自动识别"] : ["hard-drive", "默认"];
-}
-var za = "auto";
-function Ba({ value: e, label: t, kind: n = "local", onChange: r }) {
- let i = (0, Z.useRef)(null), [a, o] = (0, Z.useState)(!1), [s, c] = (0, Z.useState)(e), [l, u] = Ra(n);
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+var Ya = "auto";
+function Xa({ value: e, label: t, kind: n = "local", onChange: r }) {
+ let i = (0, Z.useRef)(null), [a, o] = (0, Z.useState)(!1), [s, c] = (0, Z.useState)(e), [l, u] = Ja(n);
return /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(E, {
ref: i,
variant: "secondary",
@@ -3784,11 +3043,7 @@ function Ba({ value: e, label: t, kind: n = "local", onChange: r }) {
children: /* @__PURE__ */ (0, Q.jsxs)("span", {
"data-icon-choice": !0,
className: "flex items-center gap-2",
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- children: [/* @__PURE__ */ (0, Q.jsx)(Vt, { mark: e || l }), ((e) => e && Va.find(([t]) => t === e)?.[1] || u)(e)]
-========
- children: [/* @__PURE__ */ (0, Q.jsx)(zt, { mark: e || l }), ((e) => e && La.find(([t]) => t === e)?.[1] || u)(e)]
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ children: [/* @__PURE__ */ (0, Q.jsx)(Vt, { mark: e || l }), ((e) => e && qa.find(([t]) => t === e)?.[1] || u)(e)]
})
}), /* @__PURE__ */ (0, Q.jsx)(ze, {
triggerRef: i,
@@ -3808,27 +3063,15 @@ function Ba({ value: e, label: t, kind: n = "local", onChange: r }) {
}),
/* @__PURE__ */ (0, Q.jsx)(We, {
"aria-label": "可选图标",
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- value: s || Ua,
- onChange: (e) => c(e === Ua ? "" : e),
+ value: s || Ya,
+ onChange: (e) => c(e === Ya ? "" : e),
className: "inline-grid grid-cols-7 gap-1",
- children: Va.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(Ge, {
- value: e || Ua,
+ children: qa.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(Ge, {
+ value: e || Ya,
"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, Q.jsx)(Vt, { mark: e || l })
- }, e || Ua))
-========
- value: s || za,
- onChange: (e) => c(e === za ? "" : e),
- className: "inline-grid grid-cols-7 gap-1",
- children: La.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(Ge, {
- value: e || za,
- "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, Q.jsx)(zt, { mark: e || l })
- }, e || za))
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ }, e || Ya))
}),
/* @__PURE__ */ (0, Q.jsxs)("div", {
className: "flex justify-end gap-2 border-t border-separator-border pt-2.5",
@@ -3849,31 +3092,19 @@ function Ba({ value: e, label: t, kind: n = "local", onChange: r }) {
})] });
}
// src/react/settings/library-policy-settings.tsx
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-var Ga = [
-========
-var Va = [
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+var Za = [
["probe", "读取视频信息"],
["metadata", "联网补资料"],
["cover", "联网补封面"],
["people", "联网补人物图片"],
["preview", "生成九宫格预览"]
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-], Ka = [
-========
-], Ha = [
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+], Qa = [
"probe",
"metadata",
"cover",
"people",
"preview"
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-], qa = [
-========
-], Ua = [
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+], $a = [
[
"auto",
"自动补全",
@@ -3890,11 +3121,7 @@ var Va = [
"逐项选择要做的步骤"
]
];
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Ja() {
-========
-function Wa() {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function eo() {
return /* @__PURE__ */ (0, Q.jsxs)("div", {
"data-policy-legend": "",
className: "flex flex-col gap-1",
@@ -3926,13 +3153,8 @@ function Wa() {
})]
});
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Ya({ name: e, value: t, onChange: n }) {
+function to({ name: e, value: t, onChange: n }) {
return /* @__PURE__ */ (0, Q.jsx)(Lt, {
-========
-function Ga({ name: e, value: t, onChange: n }) {
- return /* @__PURE__ */ (0, Q.jsx)(Ft, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
"data-guide-target": "library-policy",
className: "w-full",
"aria-label": `${e} 处理方式`,
@@ -3940,17 +3162,10 @@ function Ga({ name: e, value: t, onChange: n }) {
prefix: "处理方式",
renderValue: /* @__PURE__ */ (0, Q.jsx)("span", {
className: "truncate",
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- children: qa.find(([e]) => e === t)?.[1]
- }),
- onSelectionChange: (e) => n(String(e)),
- children: qa.map(([e, t, n]) => /* @__PURE__ */ (0, Q.jsx)(z, {
-========
- children: Ua.find(([e]) => e === t)?.[1]
+ children: $a.find(([e]) => e === t)?.[1]
}),
onSelectionChange: (e) => n(String(e)),
- children: Ua.map(([e, t, n]) => /* @__PURE__ */ (0, Q.jsx)(z, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ children: $a.map(([e, t, n]) => /* @__PURE__ */ (0, Q.jsx)(z, {
id: e,
textValue: t,
children: /* @__PURE__ */ (0, Q.jsxs)("span", {
@@ -3963,26 +3178,15 @@ function Ga({ name: e, value: t, onChange: n }) {
}, e))
});
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Xa({ name: e, value: t, onChange: n }) {
- return /* @__PURE__ */ (0, Q.jsx)(O, {
- defaultOpen: !0,
- summary: `${e} 的处理步骤(${t.length}/${Ga.length})`,
-========
-function Ka({ name: e, value: t, onChange: n }) {
+function no({ name: e, value: t, onChange: n }) {
return /* @__PURE__ */ (0, Q.jsx)(O, {
defaultOpen: !0,
- summary: `${e} 的处理步骤(${t.length}/${Va.length})`,
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ summary: `${e} 的处理步骤(${t.length}/${Za.length})`,
children: /* @__PURE__ */ (0, Q.jsx)("div", {
className: "flex flex-wrap gap-x-6 gap-y-2",
role: "group",
"aria-label": `${e} 处理步骤`,
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- children: Ga.map(([e, r]) => /* @__PURE__ */ (0, Q.jsx)(D, {
-========
- children: Va.map(([e, r]) => /* @__PURE__ */ (0, Q.jsx)(D, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ children: Za.map(([e, r]) => /* @__PURE__ */ (0, Q.jsx)(D, {
isSelected: t.includes(e),
onChange: (r) => n(r ? [...t, e] : t.filter((t) => t !== e)),
children: r
@@ -3990,11 +3194,7 @@ function Ka({ name: e, value: t, onChange: n }) {
})
});
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Za({ id: e, name: t, value: n, onChange: r }) {
-========
-function qa({ id: e, name: t, value: n, onChange: r }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function ro({ id: e, name: t, value: n, onChange: r }) {
let i = (0, Z.useRef)(null), [a, o] = (0, Z.useState)(!1), s = Ke.find(([e]) => e === n)?.[1] || "无颜色", c = (t) => {
r(t), wn(e, t), o(!1);
};
@@ -4077,13 +3277,8 @@ function qa({ id: e, name: t, value: n, onChange: r }) {
})] });
}
// src/react/settings/push-discovery-settings.tsx
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-var Qa = "/api/configuration/push-discovery", $a = "/api/configuration/push-discovery/secret";
-function eo({ initial: e, receipt: t }) {
-========
-var Ja = "/api/configuration/push-discovery", Ya = "/api/configuration/push-discovery/secret";
-function Xa({ initial: e, receipt: t }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+var io = "/api/configuration/push-discovery", ao = "/api/configuration/push-discovery/secret";
+function oo({ initial: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e), [i, a] = (0, Z.useState)(e.prefixes), [o, s] = (0, Z.useState)(""), c = Y(), l = n.media_roots, [u, d] = (0, Z.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 ? {
@@ -4097,15 +3292,9 @@ function Xa({ initial: e, receipt: t }) {
cloud: n.cloud,
prefixes: i
};
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- c.run("save", (e) => G(Qa, t, "POST", e), (e) => f(e, "已保存配置"), (e) => s(q(e)));
+ c.run("save", (e) => G(io, t, "POST", e), (e) => f(e, "已保存配置"), (e) => s(q(e)));
}, h = () => {
- c.run("secret", (e) => G($a, {}, "POST", e), (e) => f(e, "已更换共享密钥"), (e) => s(q(e)));
-========
- c.run("save", (e) => G(Ja, t, "POST", e), (e) => f(e, "已保存配置"), (e) => s(q(e)));
- }, h = () => {
- c.run("secret", (e) => G(Ya, {}, "POST", e), (e) => f(e, "已更换共享密钥"), (e) => s(q(e)));
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ c.run("secret", (e) => G(ao, {}, "POST", e), (e) => f(e, "已更换共享密钥"), (e) => s(q(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, Q.jsxs)(L, {
id: "pushDiscovery",
@@ -4268,11 +3457,7 @@ function Xa({ initial: e, receipt: t }) {
});
}
// src/react/settings/media-settings.tsx
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-async function to(e) {
-========
-async function Za(e) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+async function so(e) {
let t;
try {
t = await pn();
@@ -4287,22 +3472,14 @@ async function Za(e) {
});
return n;
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-var no = (e) => Qn.find(([t]) => t === e)?.[1] ?? e, ro = [...Qn, ["smb", "SMB 共享"]], io = (e) => e.library_icon || Ha(e.transport === "smb" ? "smb" : e.location)[0], ao = async (e) => (await G(Ct, { initial: e })).path, oo = (e) => ({
-========
-var Qa = (e) => Wn.find(([t]) => t === e)?.[1] ?? e, $a = [...Wn, ["smb", "SMB 共享"]], eo = (e) => e.library_icon || Ra(e.transport === "smb" ? "smb" : e.location)[0], to = async (e) => (await G(xt, { initial: e })).path, no = (e) => ({
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+var co = (e) => Qn.find(([t]) => t === e)?.[1] ?? e, lo = [...Qn, ["smb", "SMB 共享"]], uo = (e) => e.library_icon || Ja(e.transport === "smb" ? "smb" : e.location)[0], fo = async (e) => (await G(Ct, { initial: e })).path, po = (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
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-}), so = (e) => e.library_stages ? Ka.filter((t) => e.library_stages.split(",").includes(t)) : [], co = (e = "") => ({
-========
-}), ro = (e) => e.library_stages ? Ha.filter((t) => e.library_stages.split(",").includes(t)) : [], io = (e = "") => ({
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+}), mo = (e) => e.library_stages ? Qa.filter((t) => e.library_stages.split(",").includes(t)) : [], ho = (e = "") => ({
path: e,
transport: e.startsWith("smb://") ? "smb" : "filesystem",
location: "local",
@@ -4315,13 +3492,8 @@ var Qa = (e) => Wn.find(([t]) => t === e)?.[1] ?? e, $a = [...Wn, ["smb", "SMB
library_stages: "",
cost: "free"
});
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function lo(e) {
+function go(e) {
let t = e.media_sources?.filter((e) => Qn.some(([t]) => t === e.location));
-========
-function ao(e) {
- let t = e.media_sources?.filter((e) => Wn.some(([t]) => t === e.location));
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
return t?.length ? t.map((e) => ({
transport: e.transport === "smb" || e.path.startsWith("smb://") ? "smb" : "filesystem",
smb_username: e.smb_username,
@@ -4337,33 +3509,18 @@ function ao(e) {
library_policy: e.library_policy || "auto",
library_stages: e.library_stages || "",
root_id: e.root_id,
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
library_id: e.library_id || On(),
cost: e.cost ?? Rn(e.location)
- })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => co(e));
+ })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => ho(e));
}
-var uo = (e) => !(e instanceof qe) || e.status !== 400 ? null : e.body?.errors ?? null;
-function fo({ data: e, receipt: t, panel: n }) {
+var _o = (e) => !(e instanceof qe) || e.status !== 400 ? null : e.body?.errors ?? null;
+function vo({ data: e, receipt: t, panel: n }) {
let r = !!e.media_sources?.some((e) => nr(e.location));
return (0, Z.useEffect)(() => {
if (e.editable) {
let t = /* @__PURE__ */ new Map();
- for (let n of lo(e)) t.set(n.library_id, (t.get(n.library_id) ?? 0) + 1);
+ for (let n of go(e)) t.set(n.library_id, (t.get(n.library_id) ?? 0) + 1);
kn("media", {
-========
- library_id: e.library_id || xn(),
- cost: e.cost ?? jn(e.location)
- })) : (e.media_dirs.length ? e.media_dirs : [""]).map((e) => io(e));
-}
-var oo = (e) => !(e instanceof qe) || e.status !== 400 ? null : e.body?.errors ?? null;
-function so({ data: e, receipt: t, panel: n }) {
- let r = !!e.media_sources?.some((e) => Jn(e.location));
- return (0, Z.useEffect)(() => {
- if (e.editable) {
- let t = /* @__PURE__ */ new Map();
- for (let n of ao(e)) t.set(n.library_id, (t.get(n.library_id) ?? 0) + 1);
- Sn("media", {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
folders: [...t.values()],
cloud: r
});
@@ -4379,11 +3536,7 @@ function so({ data: e, receipt: t, panel: n }) {
}, [e, r]), /* @__PURE__ */ (0, Q.jsxs)("div", {
...ur(n),
children: [
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- e.editable ? /* @__PURE__ */ (0, Q.jsx)(po, {
-========
- e.editable ? /* @__PURE__ */ (0, Q.jsx)(co, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ e.editable ? /* @__PURE__ */ (0, Q.jsx)(yo, {
data: e,
receipt: t
}) : /* @__PURE__ */ (0, Q.jsx)(F, {
@@ -4391,34 +3544,20 @@ function so({ data: e, receipt: t, panel: n }) {
title: "只读",
children: e.notice
}),
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- e.editable ? null : /* @__PURE__ */ (0, Q.jsx)(ho, { data: e }),
- r ? /* @__PURE__ */ (0, Q.jsx)(Ra, { receipt: t }) : null,
- e.push_discovery ? /* @__PURE__ */ (0, Q.jsx)(eo, {
-========
- e.editable ? null : /* @__PURE__ */ (0, Q.jsx)(uo, { data: e }),
- r ? /* @__PURE__ */ (0, Q.jsx)(Pa, { receipt: t }) : null,
- e.push_discovery ? /* @__PURE__ */ (0, Q.jsx)(Xa, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ e.editable ? null : /* @__PURE__ */ (0, Q.jsx)(xo, { data: e }),
+ r ? /* @__PURE__ */ (0, Q.jsx)(Wa, { receipt: t }) : null,
+ e.push_discovery ? /* @__PURE__ */ (0, Q.jsx)(oo, {
initial: e.push_discovery,
receipt: t
}) : null
]
});
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function po({ data: e, receipt: t }) {
+function yo({ data: e, receipt: t }) {
let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = ir({
- initial: () => lo(e),
- blank: () => co(),
- pickFolder: ao,
-========
-function co({ data: e, receipt: t }) {
- let { rows: n, edit: r, add: i, remove: a, errors: o, setErrors: s, picking: c, pick: l, inputRef: u } = Xn({
- initial: () => ao(e),
- blank: () => io(),
- pickFolder: to,
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ initial: () => go(e),
+ blank: () => ho(),
+ pickFolder: fo,
describe: q
}), [d, f] = (0, Z.useState)(!1), [p, m] = (0, Z.useState)(!1), [h, g] = (0, Z.useState)(""), [_, v] = (0, Z.useState)({}), [y, b] = (0, Z.useState)(null), x = (0, Z.useRef)(e.revision), S = (0, Z.useRef)(!1), C = Y();
Bn();
@@ -4435,11 +3574,7 @@ function co({ data: e, receipt: t }) {
let ne = (e, t) => {
let i = n.find((e) => e.library_id === t);
if (i) {
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- r(e, oo(i));
-========
- r(e, no(i));
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ r(e, po(i));
return;
}
let a = On();
@@ -4454,11 +3589,7 @@ function co({ data: e, receipt: t }) {
};
(0, Z.useEffect)(() => {
if (!y) return;
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- let e = setTimeout(() => location.assign(y.url), Ma);
-========
- let e = setTimeout(() => location.assign(y.url), Oa);
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ let e = setTimeout(() => location.assign(y.url), Ra);
return () => clearTimeout(e);
}, [y]);
let re = (e) => {
@@ -4468,11 +3599,7 @@ function co({ data: e, receipt: t }) {
m(!0);
let n = e.currentTarget;
requestAnimationFrame(() => n.querySelector(`[data-media-read-policy="${t}"] button`)?.focus());
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- } else C.busy || S.current || (g(""), S.current = !0, to(d).then((e) => {
-========
- } else C.busy || S.current || (g(""), S.current = !0, Za(d).then((e) => {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ } else C.busy || S.current || (g(""), S.current = !0, so(d).then((e) => {
S.current = !1, e && ie();
}));
}, ie = () => {
@@ -4485,11 +3612,7 @@ function co({ data: e, receipt: t }) {
}, "POST", t), (e) => {
x.current = e.revision, s([]), t("已保存配置"), b(e);
}, (e) => {
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- let t = uo(e);
-========
- let t = oo(e);
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ let t = _o(e);
s(t?.media_dirs ?? []), (!t || t.port) && g(t?.port || q(e));
});
};
@@ -4516,11 +3639,7 @@ function co({ data: e, receipt: t }) {
title: "媒体库与目录",
onSubmit: re,
children: [/* @__PURE__ */ (0, Q.jsxs)(V, { children: [
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- /* @__PURE__ */ (0, Q.jsx)(Ja, {}),
-========
- /* @__PURE__ */ (0, Q.jsx)(Wa, {}),
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ /* @__PURE__ */ (0, Q.jsx)(eo, {}),
/* @__PURE__ */ (0, Q.jsx)("div", {
role: "group",
"aria-label": "媒体库与目录",
@@ -4543,11 +3662,7 @@ function co({ data: e, receipt: t }) {
/* @__PURE__ */ (0, Q.jsxs)("div", {
"data-library-head": "",
children: [
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- /* @__PURE__ */ (0, Q.jsx)(Wa, {
-========
- /* @__PURE__ */ (0, Q.jsx)(Ba, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ /* @__PURE__ */ (0, Q.jsx)(Xa, {
label: `${f} 图标`,
value: e.library_icon,
kind: e.transport === "smb" ? "smb" : e.location,
@@ -4561,45 +3676,26 @@ function co({ data: e, receipt: t }) {
value: e.library,
onChange: (e) => w(t, { library: e })
}),
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- /* @__PURE__ */ (0, Q.jsx)(Za, {
-========
- /* @__PURE__ */ (0, Q.jsx)(qa, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ /* @__PURE__ */ (0, Q.jsx)(ro, {
id: e.library_id,
name: e.library,
value: e.library_color,
onChange: (e) => w(t, { library_color: e })
}),
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- /* @__PURE__ */ (0, Q.jsx)(Ya, {
-========
- /* @__PURE__ */ (0, Q.jsx)(Ga, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ /* @__PURE__ */ (0, Q.jsx)(to, {
name: f,
value: d,
onChange: (n) => w(t, {
library_policy: n,
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- library_stages: n === "custom" ? e.library_stages || Ka.join(",") : ""
-========
- library_stages: n === "custom" ? e.library_stages || Ha.join(",") : ""
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ library_stages: n === "custom" ? e.library_stages || Qa.join(",") : ""
})
})
]
}),
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- d === "custom" ? /* @__PURE__ */ (0, Q.jsx)(Xa, {
- name: f,
- value: so(e),
- onChange: (e) => w(t, { library_stages: Ka.filter((t) => e.includes(t)).join(",") })
-========
- d === "custom" ? /* @__PURE__ */ (0, Q.jsx)(Ka, {
+ d === "custom" ? /* @__PURE__ */ (0, Q.jsx)(no, {
name: f,
- value: ro(e),
- onChange: (e) => w(t, { library_stages: Ha.filter((t) => e.includes(t)).join(",") })
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ value: mo(e),
+ onChange: (e) => w(t, { library_stages: Qa.filter((t) => e.includes(t)).join(",") })
}) : null,
/* @__PURE__ */ (0, Q.jsxs)("div", {
"data-library-folders": "",
@@ -4617,21 +3713,12 @@ function co({ data: e, receipt: t }) {
picking: c === i,
onPick: () => void l(i),
onRemove: n.length > 1 ? () => a(i) : void 0,
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- status: ae(t) ? /* @__PURE__ */ (0, Q.jsx)(mo, { online: ae(t)?.online }) : null,
+ status: ae(t) ? /* @__PURE__ */ (0, Q.jsx)(bo, { online: ae(t)?.online }) : null,
children: [/* @__PURE__ */ (0, Q.jsxs)(Xn, { children: [
/* @__PURE__ */ (0, Q.jsx)(tr, {
index: i,
value: t.transport === "smb" ? "smb" : t.location,
- options: ro,
-========
- status: ae(t) ? /* @__PURE__ */ (0, Q.jsx)(lo, { online: ae(t)?.online }) : null,
- children: [/* @__PURE__ */ (0, Q.jsxs)(Hn, { children: [
- /* @__PURE__ */ (0, Q.jsx)(qn, {
- index: i,
- value: t.transport === "smb" ? "smb" : t.location,
- options: $a,
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ options: lo,
onChange: (e) => {
let n = e === "smb";
r(i, {
@@ -4684,11 +3771,7 @@ function co({ data: e, receipt: t }) {
selectedKey: t.library_id,
renderValue: /* @__PURE__ */ (0, Q.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- children: [/* @__PURE__ */ (0, Q.jsx)(Vt, { mark: io(e) }), /* @__PURE__ */ (0, Q.jsx)("span", {
-========
- children: [/* @__PURE__ */ (0, Q.jsx)(zt, { mark: eo(e) }), /* @__PURE__ */ (0, Q.jsx)("span", {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ children: [/* @__PURE__ */ (0, Q.jsx)(Vt, { mark: uo(e) }), /* @__PURE__ */ (0, Q.jsx)("span", {
className: "truncate",
children: f
})]
@@ -4701,11 +3784,7 @@ function co({ data: e, receipt: t }) {
textValue: e.library || "未命名媒体库",
children: /* @__PURE__ */ (0, Q.jsxs)("span", {
className: "flex min-w-0 items-center gap-2",
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- children: [/* @__PURE__ */ (0, Q.jsx)(Vt, { mark: io(e) }), /* @__PURE__ */ (0, Q.jsx)("span", {
-========
- children: [/* @__PURE__ */ (0, Q.jsx)(zt, { mark: eo(e) }), /* @__PURE__ */ (0, Q.jsx)("span", {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ children: [/* @__PURE__ */ (0, Q.jsx)(Vt, { mark: uo(e) }), /* @__PURE__ */ (0, Q.jsx)("span", {
className: "truncate",
children: e.library || "未命名媒体库"
})]
@@ -4802,11 +3881,7 @@ function co({ data: e, receipt: t }) {
"aria-label": `给 ${f} 添加文件夹`,
onClick: () => {
i(), r(n.length, {
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- ...oo(e),
-========
- ...no(e),
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ ...po(e),
location: e.location,
cost: e.cost
});
@@ -4825,13 +3900,8 @@ function co({ data: e, receipt: t }) {
onClick: i,
children: "添加媒体库"
}),
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
/* @__PURE__ */ (0, Q.jsx)(N, { children: pt }),
- oe ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(er, {}), /* @__PURE__ */ (0, Q.jsx)(Fa, {})] }) : null,
-========
- /* @__PURE__ */ (0, Q.jsx)(N, { children: dt }),
- oe ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(Kn, {}), /* @__PURE__ */ (0, Q.jsx)(ja, {})] }) : null,
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ oe ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(er, {}), /* @__PURE__ */ (0, Q.jsx)(Va, {})] }) : null,
se.map((e) => /* @__PURE__ */ (0, Q.jsxs)(N, { children: [
"未检测到 ",
e.name,
@@ -4861,31 +3931,18 @@ function co({ data: e, receipt: t }) {
})]
});
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function mo({ online: e }) {
+function bo({ online: e }) {
return /* @__PURE__ */ (0, Q.jsx)(ar, { online: e });
}
-function ho({ data: e }) {
-========
-function lo({ online: e }) {
- return /* @__PURE__ */ (0, Q.jsx)(Zn, { online: e });
-}
-function uo({ data: e }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function xo({ data: e }) {
let t = e.media_sources, n = Y();
return t ? /* @__PURE__ */ (0, Q.jsxs)(L, {
guide: "mounts",
title: "挂载状态",
children: [
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
/* @__PURE__ */ (0, Q.jsx)(lt, { children: t.map((e, t) => /* @__PURE__ */ (0, Q.jsxs)(j, {
- term: /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(Vt, { mark: rr(e.location) }), no(e.location)] }),
- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, Q.jsx)(mo, { online: e.online })]
-========
- /* @__PURE__ */ (0, Q.jsx)(ct, { children: t.map((e, t) => /* @__PURE__ */ (0, Q.jsxs)(j, {
- term: /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(zt, { mark: Yn(e.location) }), Qa(e.location)] }),
- children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, Q.jsx)(lo, { online: e.online })]
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ term: /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(Vt, { mark: rr(e.location) }), co(e.location)] }),
+ children: [e.path || "未配置挂载点", /* @__PURE__ */ (0, Q.jsx)(bo, { online: e.online })]
}, t)) }),
n.error ? /* @__PURE__ */ (0, Q.jsx)(V, {
divided: !0,
@@ -4901,20 +3958,12 @@ function uo({ data: e }) {
}) : null;
}
// src/react/settings/service-preferences.tsx
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-var go = [
-========
-var fo = [
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+var So = [
["off", "关闭"],
["precise", "每 10 秒一张"],
["coarse", "每 30 秒一张"]
];
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function _o({ epoch: e = 0, disabled: t = !1 }) {
-========
-function po({ epoch: e = 0, disabled: t = !1 }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function Co({ epoch: e = 0, disabled: t = !1 }) {
let n = X({
queryKey: Ht,
queryFn: ({ signal: e }) => gn(e),
@@ -4937,11 +3986,7 @@ function po({ epoch: e = 0, disabled: t = !1 }) {
onSelectionChange: (e) => {
e !== null && r.mutate(String(e));
},
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- children: go.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(z, {
-========
- children: fo.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(z, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ children: So.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(z, {
id: e,
children: t
}, e))
@@ -4961,13 +4006,8 @@ function po({ epoch: e = 0, disabled: t = !1 }) {
}) : null
] });
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function vo({ receipt: e }) {
+function wo({ receipt: e }) {
let t = Xt();
-========
-function mo({ receipt: e }) {
- let t = Kt();
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
(0, Z.useSyncExternalStore)(t.subscribe, t.version);
let n = X({
queryKey: Nt,
@@ -4978,13 +4018,8 @@ function mo({ receipt: e }) {
guide: "follow-options",
title: "关注采集",
children: [/* @__PURE__ */ (0, Q.jsxs)(I, { children: [
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- /* @__PURE__ */ (0, Q.jsx)(yo, {}),
- /* @__PURE__ */ (0, Q.jsx)(bo, {}),
-========
- /* @__PURE__ */ (0, Q.jsx)(ho, {}),
- /* @__PURE__ */ (0, Q.jsx)(go, {}),
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ /* @__PURE__ */ (0, Q.jsx)(To, {}),
+ /* @__PURE__ */ (0, Q.jsx)(Eo, {}),
/* @__PURE__ */ (0, Q.jsx)(B, {
label: "首次采集范围",
description: "新关注的来源第一次回看多久以前的内容。",
@@ -5029,11 +4064,7 @@ function mo({ receipt: e }) {
}) : null]
});
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function yo() {
-========
-function ho() {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function To() {
let e = X({
queryKey: ct,
queryFn: ({ signal: e }) => fn(e),
@@ -5092,11 +4123,7 @@ function ho() {
role: "status",
children: t.isPending ? "正在保存…" : "正在检查来源更新…"
}) }) : null,
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- /* @__PURE__ */ (0, Q.jsx)(xo, {
-========
- /* @__PURE__ */ (0, Q.jsx)(_o, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ /* @__PURE__ */ (0, Q.jsx)(Do, {
kind: "follow",
status: n,
title: "上次自动检查失败"
@@ -5104,11 +4131,7 @@ function ho() {
u ? /* @__PURE__ */ (0, Q.jsx)(V, { children: /* @__PURE__ */ (0, Q.jsx)(k, { children: q(u) }) }) : null
] });
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function bo() {
-========
-function go() {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function Eo() {
let e = X({
queryKey: at,
queryFn: ({ signal: e }) => dn(e),
@@ -5137,24 +4160,15 @@ function go() {
role: "status",
children: "正在拉取订阅源…"
}) }) : null,
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- /* @__PURE__ */ (0, Q.jsx)(xo, {
-========
- /* @__PURE__ */ (0, Q.jsx)(_o, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ /* @__PURE__ */ (0, Q.jsx)(Do, {
kind: "feed",
status: t,
title: "上次自动拉取失败"
})
] });
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function xo({ kind: e, status: t, title: n }) {
+function Do({ kind: e, status: t, title: n }) {
let r = Un(e);
-========
-function _o({ kind: e, status: t, title: n }) {
- let r = In(e);
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
if (!t?.enabled || t.running || !t.last_error) return null;
let i = t.consecutive_failures ?? 0, a = bn(t.next_run_at), o = [i > 1 ? `已连续失败 ${i} 次` : "", a ? `下一轮 ${a}` : ""].filter(Boolean).join(","), s = [
t.last_error,
@@ -5176,11 +4190,7 @@ function _o({ kind: e, status: t, title: n }) {
}) });
}
// src/react/settings/media-processing-settings.tsx
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function So({ receipt: e }) {
-========
-function vo({ receipt: e }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function Oo({ receipt: e }) {
let t = X({
queryKey: yt,
queryFn: ({ signal: e }) => mn(e)
@@ -5201,11 +4211,7 @@ function vo({ receipt: e }) {
})
})
}) }),
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- /* @__PURE__ */ (0, Q.jsx)(_o, { disabled: !t.data || t.data.metadata_only || !!n.busy }),
-========
- /* @__PURE__ */ (0, Q.jsx)(po, { disabled: !t.data || t.data.metadata_only || !!n.busy }),
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ /* @__PURE__ */ (0, Q.jsx)(Co, { disabled: !t.data || t.data.metadata_only || !!n.busy }),
/* @__PURE__ */ (0, Q.jsx)(I, { children: /* @__PURE__ */ (0, Q.jsx)(B, {
label: "抽帧解码方式",
description: "用于生成封面、九宫格和时间轴。",
@@ -5244,11 +4250,7 @@ function vo({ receipt: e }) {
]
});
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Co({ receipt: e }) {
-========
-function yo({ receipt: e }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function ko({ receipt: e }) {
let t = X({
queryKey: yt,
queryFn: ({ signal: e }) => mn(e)
@@ -5296,11 +4298,7 @@ function yo({ receipt: e }) {
});
}
// src/react/boardui/components/base/textarea/textarea.tsx
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-var wo = Ln({
-========
-var bo = An({
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+var Ao = Ln({
field: "relative flex w-full flex-col rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent transition-[background-color,box-shadow,color] duration-[var(--input-transition-ms)] ease",
fieldSize: {
medium: "p-2",
@@ -5313,15 +4311,9 @@ var bo = An({
},
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"
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-}), To = 20;
-function Eo({ size: e, rows: t = 3, autoResize: n = !1, maxRows: r, resize: i = "vertical", fieldClassName: a, className: o, ref: s, groupRef: c, onInput: l, ...u }) {
+}), jo = 20;
+function Mo({ 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, Z.useContext)(Gt), f = e ?? d.size ?? "medium", p = (0, Z.useRef)(null), m = (e) => {
-========
-}), xo = 20;
-function So({ 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, Z.useContext)(Ut), f = e ?? d.size ?? "medium", p = (0, Z.useRef)(null), m = (e) => {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
p.current = e, typeof s == "function" ? s(e) : s && (s.current = e);
}, h = () => {
let e = p.current;
@@ -5330,22 +4322,14 @@ function So({ size: e, rows: t = 3, autoResize: n = !1, maxRows: r, resize: i =
e.style.height = "", e.style.maxHeight = "", e.style.overflowY = "";
return;
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- let i = parseFloat(window.getComputedStyle(e).lineHeight) || To, a = r ? r * i : Infinity;
-========
- let i = parseFloat(window.getComputedStyle(e).lineHeight) || xo, a = r ? r * i : Infinity;
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ let i = parseFloat(window.getComputedStyle(e).lineHeight) || jo, 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, Z.useLayoutEffect)(h), /* @__PURE__ */ (0, Q.jsx)(Re, {
ref: c,
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => on(wo.field, wo.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),
-========
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => tn(bo.field, bo.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),
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => on(Ao.field, Ao.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, Q.jsx)(Ve, {
ref: m,
rows: t,
@@ -5353,21 +4337,12 @@ function So({ size: e, rows: t = 3, autoResize: n = !1, maxRows: r, resize: i =
onInput: (e) => {
h(), l?.(e);
},
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- className: on(wo.textarea, wo.resize[n ? "none" : i], d.inputClassName, o)
- })
- });
-}
-Eo.displayName = "TextareaBase";
-function Do({ 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, ..._ }) {
-========
- className: tn(bo.textarea, bo.resize[n ? "none" : i], d.inputClassName, o)
+ className: on(Ao.textarea, Ao.resize[n ? "none" : i], d.inputClassName, o)
})
});
}
-So.displayName = "TextareaBase";
-function Co({ 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, ..._ }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+Mo.displayName = "TextareaBase";
+function No({ 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, Z.useState)(() => (h ?? "").length), b = m === void 0 ? v : m.length;
return /* @__PURE__ */ (0, Q.jsx)(Wt, {
..._,
@@ -5385,11 +4360,7 @@ function Co({ label: e, hint: t, tooltip: n, placeholder: r, rows: i, autoResize
tooltip: n,
children: e
}),
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- /* @__PURE__ */ (0, Q.jsx)(Eo, {
-========
- /* @__PURE__ */ (0, Q.jsx)(So, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ /* @__PURE__ */ (0, Q.jsx)(Mo, {
ref: d,
groupRef: f,
placeholder: r,
@@ -5401,38 +4372,22 @@ function Co({ label: e, hint: t, tooltip: n, placeholder: r, rows: i, autoResize
fieldClassName: u
}),
(t || l) && /* @__PURE__ */ (0, Q.jsxs)("div", {
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- className: wo.footer,
+ className: Ao.footer,
children: [t && /* @__PURE__ */ (0, Q.jsx)(dt, {
isInvalid: m,
children: t
}), l && /* @__PURE__ */ (0, Q.jsx)("span", {
- className: on(wo.count, m && "text-text-error-primary"),
-========
- className: bo.footer,
- children: [t && /* @__PURE__ */ (0, Q.jsx)(ut, {
- isInvalid: m,
- children: t
- }), l && /* @__PURE__ */ (0, Q.jsx)("span", {
- className: tn(bo.count, m && "text-text-error-primary"),
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ className: on(Ao.count, m && "text-text-error-primary"),
children: c ? `${b}/${c}` : b
})]
})
] })
});
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-Do.displayName = "Textarea";
+No.displayName = "Textarea";
// src/react/settings/code-pattern-settings.tsx
-var Oo = "^\\+{3}\\s*(?<code>FC2-PPV-\\d+)\n\\[(?<code>[A-Z]+-\\d+)\\]";
-function ko({ receipt: e }) {
-========
-Co.displayName = "Textarea";
-// src/react/settings/code-pattern-settings.tsx
-var wo = "^\\+{3}\\s*(?<code>FC2-PPV-\\d+)\n\\[(?<code>[A-Z]+-\\d+)\\]";
-function To({ receipt: e }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+var Po = "^\\+{3}\\s*(?<code>FC2-PPV-\\d+)\n\\[(?<code>[A-Z]+-\\d+)\\]";
+function Fo({ receipt: e }) {
let t = X({
queryKey: Nt,
queryFn: ({ signal: e }) => hn(e)
@@ -5447,11 +4402,7 @@ function To({ receipt: e }) {
Dn.setQueryData(Nt, t), r(null), e("已保存配置");
});
},
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- children: [/* @__PURE__ */ (0, Q.jsxs)(V, { children: [/* @__PURE__ */ (0, Q.jsx)(N, { children: "内置规则认不出番号时,按这里的规则从文件名里取。每行一条正则表达式,番号写在 (?<code>…) 里,没有命名组就取第一个括号。规则在下一次处理时对还没有番号的视频生效。" }), /* @__PURE__ */ (0, Q.jsx)(Do, {
-========
- children: [/* @__PURE__ */ (0, Q.jsxs)(V, { children: [/* @__PURE__ */ (0, Q.jsx)(N, { children: "内置规则认不出番号时,按这里的规则从文件名里取。每行一条正则表达式,番号写在 (?<code>…) 里,没有命名组就取第一个括号。规则在下一次处理时对还没有番号的视频生效。" }), /* @__PURE__ */ (0, Q.jsx)(Co, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ children: [/* @__PURE__ */ (0, Q.jsxs)(V, { children: [/* @__PURE__ */ (0, Q.jsx)(N, { children: "内置规则认不出番号时,按这里的规则从文件名里取。每行一条正则表达式,番号写在 (?<code>…) 里,没有命名组就取第一个括号。规则在下一次处理时对还没有番号的视频生效。" }), /* @__PURE__ */ (0, Q.jsx)(No, {
id: "codePatternSetting",
"aria-label": "番号识别规则",
rows: 3,
@@ -5459,11 +4410,7 @@ function To({ receipt: e }) {
maxRows: 12,
spellCheck: "false",
autoComplete: "off",
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- placeholder: Oo,
-========
- placeholder: wo,
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ placeholder: Po,
value: a,
isDisabled: !t.data,
isInvalid: !!o,
@@ -5477,11 +4424,7 @@ function To({ receipt: e }) {
});
}
// src/react/settings/password-pair.tsx
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Ao({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {
-========
-function Eo({ label: e, password: t, confirmation: n, onPassword: r, onConfirmation: i, disabled: a = !1, passwordError: o, passwordHint: s, confirmationError: c, confirmationInvalid: l = !1 }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function Io({ 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, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(P, {
id: "access-password",
type: "password",
@@ -5511,22 +4454,13 @@ function Eo({ label: e, password: t, confirmation: n, onPassword: r, onConfirmat
})] });
}
// src/react/settings/access-settings.tsx
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-var jo = {
-========
-var Do = {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+var Lo = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
};
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Mo({ initial: e, receipt: t, devices: n }) {
+function Ro({ initial: e, receipt: t, devices: n }) {
let [r, i] = (0, Z.useState)(e), [a, o] = (0, Z.useState)(""), [s, c] = (0, Z.useState)(""), [l, u] = (0, Z.useState)(""), [d, f] = (0, Z.useState)(!1), [p, m] = (0, Z.useState)({}), h = (0, Z.useRef)(null), g = Y(), _ = (e) => {
-========
-function Oo({ initial: e, receipt: t }) {
- let [n, r] = (0, Z.useState)(e), [i, a] = (0, Z.useState)(""), [o, s] = (0, Z.useState)(""), [c, l] = (0, Z.useState)(""), [u, d] = (0, Z.useState)(!1), [f, p] = (0, Z.useState)({}), m = (0, Z.useRef)(null), h = Y(), g = (e) => {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
e.preventDefault();
let n = {};
r.mode === "password" && !a && (n.current_password = "请输入当前访问密码"), d || ((s.length < 8 || s.length > 256) && (n.password = "访问密码需为 8–256 个字符"), s !== l && (n.confirmation = "两次输入的密码不一致")), m(n), Object.keys(n).length ? requestAnimationFrame(() => h.current?.querySelector("input[aria-invalid=\"true\"]")?.focus()) : g.run("save", (e) => G("/api/configuration/access", {
@@ -5542,13 +4476,8 @@ function Oo({ initial: e, receipt: t }) {
let t = e instanceof qe ? e.body : null, n = t?.errors || t?.detail?.errors;
n ? m(n) : g.setError(q(e));
});
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- }, v = jo[r.mode], y = r.mode !== "locked";
+ }, v = Lo[r.mode], y = r.mode !== "locked";
return /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsxs)(L, {
-========
- }, _ = Do[n.mode], v = n.mode !== "locked";
- return /* @__PURE__ */ (0, Q.jsxs)(L, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
guide: "access",
title: "访问密码",
onSubmit: _,
@@ -5579,8 +4508,7 @@ function Oo({ initial: e, receipt: t }) {
isInvalid: !!p.current_password,
hint: p.current_password
}) : null,
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- y && !d ? /* @__PURE__ */ (0, Q.jsx)(Ao, {
+ y && !d ? /* @__PURE__ */ (0, Q.jsx)(Io, {
label: r.mode === "password" ? "新访问密码" : "设置访问密码",
password: s,
confirmation: l,
@@ -5588,16 +4516,6 @@ function Oo({ initial: e, receipt: t }) {
onConfirmation: u,
passwordError: p.password,
confirmationError: p.confirmation,
-========
- v && !u ? /* @__PURE__ */ (0, Q.jsx)(Eo, {
- label: n.mode === "password" ? "新访问密码" : "设置访问密码",
- password: o,
- confirmation: c,
- onPassword: s,
- onConfirmation: l,
- passwordError: f.password,
- confirmationError: f.confirmation,
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
passwordHint: "至少 8 个字符。保存后其他设备需要重新登录。"
}) : null,
d ? /* @__PURE__ */ (0, Q.jsx)(F, {
@@ -5615,27 +4533,27 @@ function Oo({ initial: e, receipt: t }) {
}), n && (r.mode === "password" || r.mode === "legacy") ? n(r) : null] });
}
// src/react/settings/device-sessions.tsx
-var No = "/api/configuration/access/sessions", Po = (e) => e.device || "未识别的浏览器", Fo = {
+var zo = "/api/configuration/access/sessions", Bo = (e) => e.device || "未识别的浏览器", Vo = {
glyph: ft,
brand: "apple"
-}, Io = {
+}, Ho = {
glyph: yn,
brand: "android"
-}, Lo = {
+}, Uo = {
iPhone: {
- platform: Fo,
+ platform: Vo,
terminal: Jt
},
iPad: {
- platform: Fo,
+ platform: Vo,
terminal: it
},
Android: {
- platform: Io,
+ platform: Ho,
terminal: Jt
},
"Android 平板": {
- platform: Io,
+ platform: Ho,
terminal: it
},
ChromeOS: {
@@ -5650,73 +4568,73 @@ var No = "/api/configuration/access/sessions", Po = (e) => e.device || "未识
terminal: qn
},
macOS: {
- platform: Fo,
+ platform: Vo,
terminal: qn
},
Linux: { terminal: qn }
-}, Ro = "inline size-4 -mt-0.5 mr-1 align-middle";
-function zo({ platform: e }) {
+}, Wo = "inline size-4 -mt-0.5 mr-1 align-middle";
+function Go({ platform: e }) {
if ("browser" in e) return /* @__PURE__ */ (0, Q.jsx)(sr, {
name: e.browser,
- className: Ro
+ className: Wo
});
let { glyph: t, brand: n } = e;
return /* @__PURE__ */ (0, Q.jsx)(t, {
"aria-hidden": !0,
"data-platform-mark": n,
- className: Ro
+ className: Wo
});
}
-function Bo({ row: e }) {
- if (!e.device) return Po(e);
- let t = e.device.split(" · "), n = Lo[t.at(-1) ?? ""] ? t.pop() : "", r = t.join(" · "), i = n ? Lo[n].platform : void 0;
+function Ko({ row: e }) {
+ if (!e.device) return Bo(e);
+ let t = e.device.split(" · "), n = Uo[t.at(-1) ?? ""] ? t.pop() : "", r = t.join(" · "), i = n ? Uo[n].platform : void 0;
return /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [
r ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [cr(r) ? /* @__PURE__ */ (0, Q.jsx)(sr, {
name: r,
- className: Ro
+ className: Wo
}) : null, r] }) : null,
r && n ? " · " : null,
- n ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [i ? /* @__PURE__ */ (0, Q.jsx)(zo, { platform: i }) : null, n] }) : null
+ n ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [i ? /* @__PURE__ */ (0, Q.jsx)(Go, { platform: i }) : null, n] }) : null
] });
}
-function Vo({ row: e }) {
- let t = Lo[e.device.split(" · ").at(-1) ?? ""]?.terminal ?? sn;
+function qo({ row: e }) {
+ let t = Uo[e.device.split(" · ").at(-1) ?? ""]?.terminal ?? sn;
return /* @__PURE__ */ (0, Q.jsx)(t, {
"aria-hidden": !0,
className: "size-5 shrink-0 text-foreground-icon-secondary"
});
}
-function Ho({ row: e, children: t }) {
+function Jo({ row: e, children: t }) {
return /* @__PURE__ */ (0, Q.jsxs)("div", {
className: "flex min-h-13 w-full items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-2.5 last:border-b-0",
children: [/* @__PURE__ */ (0, Q.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
- children: [/* @__PURE__ */ (0, Q.jsx)(Vo, { row: e }), /* @__PURE__ */ (0, Q.jsxs)("div", {
+ children: [/* @__PURE__ */ (0, Q.jsx)(qo, { row: e }), /* @__PURE__ */ (0, Q.jsxs)("div", {
className: "flex min-w-0 flex-col",
children: [/* @__PURE__ */ (0, Q.jsx)("p", {
className: "text-body-regular text-text-primary",
- children: /* @__PURE__ */ (0, Q.jsx)(Bo, { row: e })
+ children: /* @__PURE__ */ (0, Q.jsx)(Ko, { row: e })
}), /* @__PURE__ */ (0, Q.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: Go(e)
+ children: Zo(e)
})]
})]
}), t]
});
}
-function Uo(e, t = Date.now() / 1e3) {
+function Yo(e, t = Date.now() / 1e3) {
let n = Math.max(0, t - e);
return n < 60 ? "刚刚" : n < 3600 ? `${Math.floor(n / 60)} 分钟前` : n < 86400 ? `${Math.floor(n / 3600)} 小时前` : n < 2592e3 ? `${Math.floor(n / 86400)} 天前` : (/* @__PURE__ */ new Date(e * 1e3)).toLocaleDateString("zh-CN");
}
-function Wo(e) {
+function Xo(e) {
return e.network === "loopback" ? "运行 Peach 的电脑" : e.network ? e.remote ? `公网入口 · ${e.network}` : e.network : "";
}
-var Go = (e) => [`最近活动 ${Uo(e.last_seen)}`, Wo(e)].filter(Boolean).join(" · ");
-function Ko({ revision: e, receipt: t }) {
+var Zo = (e) => [`最近活动 ${Yo(e.last_seen)}`, Xo(e)].filter(Boolean).join(" · ");
+function Qo({ revision: e, receipt: t }) {
let n = X({
queryKey: ["access-sessions", e],
refetchOnMount: "always",
- queryFn: ({ signal: e }) => W(No, e)
+ queryFn: ({ signal: e }) => W(zo, e)
});
return n.error ? /* @__PURE__ */ (0, Q.jsx)(L, {
title: "已登录的设备",
@@ -5724,12 +4642,12 @@ function Ko({ revision: e, receipt: t }) {
}) : n.isFetching || !n.data ? /* @__PURE__ */ (0, Q.jsx)(Ft, {
label: "正在读取已登录的设备",
html: cn
- }) : /* @__PURE__ */ (0, Q.jsx)(qo, {
+ }) : /* @__PURE__ */ (0, Q.jsx)($o, {
initial: n.data,
receipt: t
});
}
-function qo({ initial: e, receipt: t }) {
+function $o({ initial: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e);
(0, Z.useEffect)(() => r(e), [e]);
let i = n.sessions.filter((e) => !e.current);
@@ -5741,10 +4659,10 @@ function qo({ initial: e, receipt: t }) {
}, [n, i.length]);
let a = (e) => void nn({
title: "撤销这台设备的登录",
- body: `${Po(e)}(${Go(e)})下次打开 Peach 需要重新输入访问密码。`,
+ body: `${Bo(e)}(${Zo(e)})下次打开 Peach 需要重新输入访问密码。`,
confirmLabel: "撤销登录",
onConfirm: async () => {
- r(await G(`${No}/revoke`, {
+ r(await G(`${zo}/revoke`, {
revision: n.revision,
id: e.id
})), t("已撤销登录");
@@ -5753,7 +4671,7 @@ function qo({ initial: e, receipt: t }) {
return /* @__PURE__ */ (0, Q.jsxs)(L, {
title: "已登录的设备",
children: [
- n.sessions.length ? /* @__PURE__ */ (0, Q.jsx)(I, { children: n.sessions.map((e) => /* @__PURE__ */ (0, Q.jsx)(Ho, {
+ n.sessions.length ? /* @__PURE__ */ (0, Q.jsx)(I, { children: n.sessions.map((e) => /* @__PURE__ */ (0, Q.jsx)(Jo, {
row: e,
children: e.current ? /* @__PURE__ */ (0, Q.jsx)(et, {
color: "blue",
@@ -5762,7 +4680,7 @@ function qo({ initial: e, receipt: t }) {
}) : n.manageable ? /* @__PURE__ */ (0, Q.jsx)(E, {
size: "small",
variant: "secondary",
- "aria-label": `撤销 ${Po(e)} 的登录`,
+ "aria-label": `撤销 ${Bo(e)} 的登录`,
onClick: () => a(e),
children: "撤销"
}) : null
@@ -5780,7 +4698,7 @@ function qo({ initial: e, receipt: t }) {
body: `除本机以外的 ${i.length} 台设备下次打开 Peach 需要重新输入访问密码。`,
confirmLabel: "撤销登录",
onConfirm: async () => {
- let e = await G(`${No}/revoke`, {
+ let e = await G(`${zo}/revoke`, {
revision: n.revision,
scope: "others"
});
@@ -5794,11 +4712,7 @@ function qo({ initial: e, receipt: t }) {
});
}
// src/react/components/configuration-fields.tsx
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Jo({ id: e, label: t, value: n, onChange: r, options: i, isDisabled: a, isInvalid: o, children: s }) {
-========
-function ko({ id: e, label: t, value: n, onChange: r, options: i, isDisabled: a, isInvalid: o, children: s }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function es({ id: e, label: t, value: n, onChange: r, options: i, isDisabled: a, isInvalid: o, children: s }) {
let c = `${e}-label`;
return /* @__PURE__ */ (0, Q.jsxs)("div", {
className: "flex flex-col gap-1.5",
@@ -5827,11 +4741,7 @@ function ko({ id: e, label: t, value: n, onChange: r, options: i, isDisabled: a,
]
});
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Yo({ prefix: e, suffix: t, ...n }) {
-========
-function Ao({ prefix: e, suffix: t, ...n }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function ts({ prefix: e, suffix: t, ...n }) {
let r = () => /* @__PURE__ */ (0, Q.jsx)("span", {
className: "shrink-0 pr-1 text-body-regular text-text-secondary",
children: t
@@ -5846,30 +4756,18 @@ function Ao({ prefix: e, suffix: t, ...n }) {
});
}
// src/react/settings/port-settings.tsx
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-var Xo = [{
-========
-var jo = [{
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+var ns = [{
value: "0.0.0.0",
label: "同一局域网的设备"
}, {
value: "127.0.0.1",
label: "只有这台电脑"
}];
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Zo({ data: e, receipt: t }) {
+function rs({ data: e, receipt: t }) {
let n = e.network, r = n ? n.editable : e.editable && e.port_editable !== !1, [i, a] = (0, Z.useState)(n?.host ?? "127.0.0.1"), [o, s] = (0, Z.useState)(n?.mdns_name ?? "peach"), [c, l] = (0, Z.useState)(String(e.port)), [u, d] = (0, Z.useState)({}), [f, p] = (0, Z.useState)(null), m = Y();
return (0, Z.useEffect)(() => {
if (!f) return;
- let e = setTimeout(() => location.assign(f.url), Ma);
-========
-function Mo({ data: e, receipt: t }) {
- let n = e.network, r = n ? n.editable : e.editable && e.port_editable !== !1, [i, a] = (0, Z.useState)(n?.host ?? "127.0.0.1"), [o, s] = (0, Z.useState)(n?.mdns_name ?? "peach"), [c, l] = (0, Z.useState)(String(e.port)), [u, d] = (0, Z.useState)({}), [f, p] = (0, Z.useState)(null), m = Y();
- return (0, Z.useEffect)(() => {
- if (!f) return;
- let e = setTimeout(() => location.assign(f.url), Oa);
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ let e = setTimeout(() => location.assign(f.url), Ra);
return () => clearTimeout(e);
}, [f]), f ? /* @__PURE__ */ (0, Q.jsx)(L, {
guide: "port",
@@ -5905,57 +4803,33 @@ function Mo({ data: e, receipt: t }) {
});
} : void 0,
children: [/* @__PURE__ */ (0, Q.jsxs)(V, { children: [
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- n ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(Qo, {
-========
- n ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(No, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ n ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(is, {
label: "本机地址",
value: n.local_url,
receipt: t
}), n.lan_url || n.ip_url ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- /* @__PURE__ */ (0, Q.jsx)(Qo, {
-========
- /* @__PURE__ */ (0, Q.jsx)(No, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ /* @__PURE__ */ (0, Q.jsx)(is, {
label: "手机连接地址",
value: n.lan_url || n.ip_url,
receipt: t
}),
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- n.lan_url && n.ip_url ? /* @__PURE__ */ (0, Q.jsx)(Qo, {
-========
- n.lan_url && n.ip_url ? /* @__PURE__ */ (0, Q.jsx)(No, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ n.lan_url && n.ip_url ? /* @__PURE__ */ (0, Q.jsx)(is, {
label: "备用 IP 地址",
value: n.ip_url,
receipt: t
}) : null,
/* @__PURE__ */ (0, Q.jsxs)(N, { children: ["手机与电脑连接同一 Wi-Fi。", n.ip_url && n.lan_url ? "名称地址打不开时,可尝试备用 IP 地址。" : ""] })
] }) : /* @__PURE__ */ (0, Q.jsx)(N, { children: n.scope === "local" ? "当前只允许这台电脑访问,手机无法连接。" : "局域网连接地址未取得,请检查电脑的网络连接和服务启动配置。" })] }) : null,
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- r ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [n?.editable ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(Jo, {
-========
- r ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [n?.editable ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(ko, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ r ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [n?.editable ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(es, {
id: "configHost",
label: "谁可以访问",
value: i,
onChange: a,
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- options: Xo,
+ options: ns,
isDisabled: !!m.busy,
isInvalid: !!u.host,
children: u.host ? /* @__PURE__ */ (0, Q.jsx)(k, { children: u.host }) : null
- }), i === "0.0.0.0" ? /* @__PURE__ */ (0, Q.jsx)(Yo, {
-========
- options: jo,
- isDisabled: !!m.busy,
- isInvalid: !!u.host,
- children: u.host ? /* @__PURE__ */ (0, Q.jsx)(k, { children: u.host }) : null
- }), i === "0.0.0.0" ? /* @__PURE__ */ (0, Q.jsx)(Ao, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ }), i === "0.0.0.0" ? /* @__PURE__ */ (0, Q.jsx)(ts, {
id: "configMdnsName",
label: "局域网访问地址",
value: o,
@@ -5969,11 +4843,7 @@ function Mo({ data: e, receipt: t }) {
validationBehavior: "aria",
isInvalid: !!u.mdns_name,
hint: u.mdns_name || void 0
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- }) : null] }) : null, /* @__PURE__ */ (0, Q.jsx)(Yo, {
-========
- }) : null] }) : null, /* @__PURE__ */ (0, Q.jsx)(Ao, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ }) : null] }) : null, /* @__PURE__ */ (0, Q.jsx)(ts, {
id: "configPort",
label: "端口",
prefix: "localhost:",
@@ -6001,11 +4871,7 @@ function Mo({ data: e, receipt: t }) {
}) : null]
});
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Qo({ label: e, value: t, receipt: n }) {
-========
-function No({ label: e, value: t, receipt: n }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function is({ label: e, value: t, receipt: n }) {
let r = Y();
return /* @__PURE__ */ (0, Q.jsxs)("div", {
className: "flex min-w-0 flex-col gap-2",
@@ -6030,20 +4896,12 @@ function No({ label: e, value: t, receipt: n }) {
});
}
// src/react/settings/peach-proxy-fields.tsx
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-var $o = [
-========
-var Po = [
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+var as = [
["environment", "跟随环境"],
["direct", "直连"],
["proxy", "自定义"]
];
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function es({ mode: e, onChange: t, labelledBy: n }) {
-========
-function Fo({ mode: e, onChange: t, labelledBy: n }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function os({ mode: e, onChange: t, labelledBy: n }) {
return /* @__PURE__ */ (0, Q.jsx)(R, {
"aria-label": n ? void 0 : "连接方式",
"aria-labelledby": n,
@@ -6051,21 +4909,13 @@ function Fo({ mode: e, onChange: t, labelledBy: n }) {
onSelectionChange: (e) => {
e !== null && t(String(e));
},
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- children: $o.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(z, {
-========
- children: Po.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(z, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ children: as.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(z, {
id: e,
children: t
}, e))
});
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function ts({ id: e, value: t, onChange: n, saved: r = !1, error: i }) {
-========
-function Io({ id: e, value: t, onChange: n, saved: r = !1, error: i }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function ss({ id: e, value: t, onChange: n, saved: r = !1, error: i }) {
return /* @__PURE__ */ (0, Q.jsx)(P, {
id: e,
type: "password",
@@ -6081,19 +4931,11 @@ function Io({ id: e, value: t, onChange: n, saved: r = !1, error: i }) {
});
}
// src/react/settings/tunnel-settings.tsx
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-var ns = 2e3, rs = [["quick", "临时链接"], ["named", "命名隧道"]], is = {
- quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",
- named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"
-};
-function as({ revision: e, initial: t, receipt: n }) {
-========
-var Lo = 2e3, Ro = [["quick", "临时链接"], ["named", "命名隧道"]], zo = {
+var cs = 2e3, ls = [["quick", "临时链接"], ["named", "命名隧道"]], us = {
quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",
named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"
};
-function Bo({ revision: e, initial: t, receipt: n }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function ds({ revision: e, initial: t, receipt: n }) {
let [r, i] = (0, Z.useState)(t), [a, o] = (0, Z.useState)(e), [s, c] = (0, Z.useState)(t.mode), [l, u] = (0, Z.useState)(t.hostname), [d, f] = (0, Z.useState)(""), [p, m] = (0, Z.useState)({}), h = Y(), g = r.state === "starting" || r.state === "running", _ = r.named_available && s === "named";
(0, Z.useEffect)(() => {
if (r.state !== "starting") return;
@@ -6101,11 +4943,7 @@ function Bo({ revision: e, initial: t, receipt: n }) {
ln(e.signal).then((t) => {
!e.signal.aborted && t.tunnel && (Dn.setQueryData(Ze, t), i(t.tunnel), o(t.revision));
}).catch(() => void 0);
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- }, ns);
-========
- }, Lo);
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ }, cs);
return () => {
e.abort(), window.clearInterval(t);
};
@@ -6141,23 +4979,14 @@ function Bo({ revision: e, initial: t, receipt: n }) {
value: s,
isDisabled: g,
onChange: (e) => c(e),
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
className: Mt,
- children: rs.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(Ge, {
-========
- className: At,
- children: Ro.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(Ge, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ children: ls.map(([e, t]) => /* @__PURE__ */ (0, Q.jsx)(Ge, {
value: e,
className: jt,
children: t
}, e))
}) : null,
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- /* @__PURE__ */ (0, Q.jsx)(N, { children: is[_ ? "named" : "quick"] }),
-========
- /* @__PURE__ */ (0, Q.jsx)(N, { children: zo[_ ? "named" : "quick"] }),
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ /* @__PURE__ */ (0, Q.jsx)(N, { children: us[_ ? "named" : "quick"] }),
_ ? /* @__PURE__ */ (0, Q.jsxs)(Q.Fragment, { children: [/* @__PURE__ */ (0, Q.jsx)(P, {
id: "tunnel-hostname",
label: "公开主机名",
@@ -6217,60 +5046,36 @@ function Bo({ revision: e, initial: t, receipt: n }) {
});
}
// src/react/settings/network-settings.tsx
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function os({ data: e, receipt: t, panel: n, issues: r }) {
-========
-function Vo({ data: e, receipt: t, panel: n, issues: r }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function fs({ data: e, receipt: t, panel: n, issues: r }) {
return /* @__PURE__ */ (0, Q.jsxs)("div", {
...ur(n),
children: [
r,
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- e.network || e.editable && e.port_editable !== !1 && !e.section_errors?.media_sources ? /* @__PURE__ */ (0, Q.jsx)(Zo, {
+ e.network || e.editable && e.port_editable !== !1 && !e.section_errors?.media_sources ? /* @__PURE__ */ (0, Q.jsx)(rs, {
data: e,
receipt: t
}) : null,
- e.access ? /* @__PURE__ */ (0, Q.jsx)(Mo, {
-========
- e.network || e.editable && e.port_editable !== !1 && !e.section_errors?.media_sources ? /* @__PURE__ */ (0, Q.jsx)(Mo, {
- data: e,
- receipt: t
- }) : null,
- e.access ? /* @__PURE__ */ (0, Q.jsx)(Oo, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ e.access ? /* @__PURE__ */ (0, Q.jsx)(Ro, {
initial: e.access,
receipt: t,
- devices: (e) => /* @__PURE__ */ (0, Q.jsx)(Ko, {
+ devices: (e) => /* @__PURE__ */ (0, Q.jsx)(Qo, {
revision: e.revision,
receipt: t
})
}) : null,
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- e.tunnel ? /* @__PURE__ */ (0, Q.jsx)(as, {
-========
- e.tunnel ? /* @__PURE__ */ (0, Q.jsx)(Bo, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ e.tunnel ? /* @__PURE__ */ (0, Q.jsx)(ds, {
revision: e.revision,
initial: e.tunnel,
receipt: t
}) : null,
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- e.peach_proxy ? /* @__PURE__ */ (0, Q.jsx)(ss, {
-========
- e.peach_proxy ? /* @__PURE__ */ (0, Q.jsx)(Ho, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ e.peach_proxy ? /* @__PURE__ */ (0, Q.jsx)(ps, {
initial: e.peach_proxy,
receipt: t
}) : null
]
});
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function ss({ initial: e, receipt: t }) {
-========
-function Ho({ initial: e, receipt: t }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function ps({ initial: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e), [i, a] = (0, Z.useState)(e.mode), [o, s] = (0, Z.useState)(""), c = Y();
return /* @__PURE__ */ (0, Q.jsxs)(L, {
id: "peachProxy",
@@ -6288,11 +5093,7 @@ function Ho({ initial: e, receipt: t }) {
/* @__PURE__ */ (0, Q.jsx)(I, { children: /* @__PURE__ */ (0, Q.jsx)(B, {
label: "连接方式",
description: "Peach 访问外网和采集来源时使用。",
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- children: /* @__PURE__ */ (0, Q.jsx)(es, {
-========
- children: /* @__PURE__ */ (0, Q.jsx)(Fo, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ children: /* @__PURE__ */ (0, Q.jsx)(os, {
mode: i,
onChange: a
})
@@ -6300,11 +5101,7 @@ function Ho({ initial: e, receipt: t }) {
i === "proxy" || n.needs_selection || c.error ? /* @__PURE__ */ (0, Q.jsxs)(V, {
divided: !0,
children: [
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- i === "proxy" ? /* @__PURE__ */ (0, Q.jsx)(ts, {
-========
- i === "proxy" ? /* @__PURE__ */ (0, Q.jsx)(Io, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ i === "proxy" ? /* @__PURE__ */ (0, Q.jsx)(ss, {
id: "peachProxyAddress",
value: o,
onChange: s,
@@ -6327,21 +5124,12 @@ function Ho({ initial: e, receipt: t }) {
});
}
// src/react/follow-manage/credentials.tsx
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-var cs = "将清除这个来源在本机和共享副本中的登录凭据。", ls = "其他系统用户可以读取此凭据文件。请在运行 Peach 的 Mac 或 Linux 电脑上,将文件权限设为仅当前用户可读写(0600)。";
-function us(e, t) {
+var ms = "将清除这个来源在本机和共享副本中的登录凭据。", hs = "其他系统用户可以读取此凭据文件。请在运行 Peach 的 Mac 或 Linux 电脑上,将文件权限设为仅当前用户可读写(0600)。";
+function gs(e, t) {
return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";
}
-function ds({ row: e }) {
+function _s({ row: e }) {
if (rn(e)) return /* @__PURE__ */ (0, Q.jsx)(et, {
-========
-var Uo = "将清除这个来源在本机和共享副本中的登录凭据。", Wo = "其他系统用户可以读取此凭据文件。请在运行 Peach 的 Mac 或 Linux 电脑上,将文件权限设为仅当前用户可读写(0600)。";
-function Go(e, t) {
- return (e.shared_fields || []).includes(t) ? "来自共享,留空表示不改" : e.fields.includes(t) ? "已保存,留空表示不改" : "未填写";
-}
-function Ko({ row: e }) {
- if ($t(e)) return /* @__PURE__ */ (0, Q.jsx)(et, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
variant: "caption",
color: "lime",
children: "已配置"
@@ -6353,15 +5141,9 @@ function Ko({ row: e }) {
children: $e[e.requirement] || ""
});
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function fs({ row: e, readOnly: t, toast: n }) {
+function vs({ row: e, readOnly: t, toast: n }) {
let [r, i] = (0, Z.useState)({}), [a, o] = (0, Z.useState)(""), s = rn(e), c = Vn({
mutationFn: (t) => Nn(e.provider, t),
-========
-function qo({ row: e, readOnly: t, toast: n }) {
- let [r, i] = (0, Z.useState)({}), [a, o] = (0, Z.useState)(""), s = $t(e), c = Pn({
- mutationFn: (t) => En(e.provider, t),
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
onSuccess: (e, t) => {
e.note ? o(e.note) : (o(""), i({}), Dn.invalidateQueries({
queryKey: ot,
@@ -6386,11 +5168,7 @@ function qo({ row: e, readOnly: t, toast: n }) {
children: (e.needs || []).map((n) => /* @__PURE__ */ (0, Q.jsx)(P, {
type: "password",
label: n,
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- placeholder: us(e, n),
-========
- placeholder: Go(e, n),
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ placeholder: gs(e, n),
autoComplete: "off",
spellCheck: "false",
isDisabled: t,
@@ -6410,11 +5188,7 @@ function qo({ row: e, readOnly: t, toast: n }) {
...K(c.isPending),
onClick: () => void nn({
title: "清除来源凭据",
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- body: cs,
-========
- body: Uo,
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ body: ms,
confirmLabel: "清除来源凭据",
danger: !0,
onConfirm: () => c.mutateAsync({})
@@ -6441,11 +5215,7 @@ function qo({ row: e, readOnly: t, toast: n }) {
]
});
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function ps({ row: e, readOnly: t, toast: n }) {
-========
-function Jo({ row: e, readOnly: t, toast: n }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function ys({ row: e, readOnly: t, toast: n }) {
let r = /* @__PURE__ */ (0, Q.jsxs)("span", {
className: "flex min-w-0 flex-wrap items-center gap-2",
children: [
@@ -6457,11 +5227,7 @@ function Jo({ row: e, readOnly: t, toast: n }) {
className: "min-w-0 text-body-medium wrap-anywhere text-text-primary",
children: e.provider_label
}),
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- /* @__PURE__ */ (0, Q.jsx)(ds, { row: e }),
-========
- /* @__PURE__ */ (0, Q.jsx)(Ko, { row: e }),
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ /* @__PURE__ */ (0, Q.jsx)(_s, { row: e }),
e.missing.map((e) => /* @__PURE__ */ (0, Q.jsx)(et, {
variant: "caption",
color: "rose",
@@ -6477,15 +5243,9 @@ function Jo({ row: e, readOnly: t, toast: n }) {
children: [
r,
/* @__PURE__ */ (0, Q.jsx)(O, {
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
summary: rn(e) ? "修改凭据" : "填写凭据",
defaultOpen: e.requirement === "required" && !rn(e),
- children: /* @__PURE__ */ (0, Q.jsx)(fs, {
-========
- summary: $t(e) ? "修改凭据" : "填写凭据",
- defaultOpen: e.requirement === "required" && !$t(e),
- children: /* @__PURE__ */ (0, Q.jsx)(qo, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ children: /* @__PURE__ */ (0, Q.jsx)(vs, {
row: e,
readOnly: t,
toast: n
@@ -6494,22 +5254,13 @@ function Jo({ row: e, readOnly: t, toast: n }) {
e.world_readable ? /* @__PURE__ */ (0, Q.jsx)(F, {
tone: "error",
title: "凭据文件权限过宽",
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- children: ls
-========
- children: Wo
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ children: hs
}) : null
]
});
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function ms({ data: e, readOnly: t, toast: n, embedded: r = !1 }) {
+function bs({ data: e, readOnly: t, toast: n, embedded: r = !1 }) {
let i = e.providers || [], a = i.filter((e) => e.requirement === "required" && !rn(e));
-========
-function Yo({ data: e, readOnly: t, toast: n, embedded: r = !1 }) {
- let i = e.providers || [], a = i.filter((e) => e.requirement === "required" && !$t(e));
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
if ((0, Z.useEffect)(() => {
kn("credentials", { done: i.filter(rn).map((e) => e.provider) });
}, [e]), !i.length) return /* @__PURE__ */ (0, Q.jsx)(rt, {
@@ -6546,11 +5297,7 @@ function Yo({ data: e, readOnly: t, toast: n, embedded: r = !1 }) {
padding: "none",
className: "flex flex-col overflow-hidden"
}),
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- children: e.rows.map((e) => /* @__PURE__ */ (0, Q.jsx)(ps, {
-========
- children: e.rows.map((e) => /* @__PURE__ */ (0, Q.jsx)(Jo, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ children: e.rows.map((e) => /* @__PURE__ */ (0, Q.jsx)(ys, {
row: e,
readOnly: t,
toast: n
@@ -6580,11 +5327,7 @@ function Yo({ data: e, readOnly: t, toast: n, embedded: r = !1 }) {
});
}
// src/react/settings/entry-links-settings.tsx
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function hs({ initial: e, receipt: t }) {
-========
-function Xo({ initial: e, receipt: t }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function xs({ initial: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e.sites), i = Y(), a = (e, t) => r((n) => n.map((n) => n.key === e ? {
...n,
host: t
@@ -6624,54 +5367,31 @@ function Xo({ initial: e, receipt: t }) {
});
}
// src/react/settings/indexer-settings.tsx
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-var gs = "/api/configuration/indexers";
-function _s({ receipt: e }) {
+var Ss = "/api/configuration/indexers";
+function Cs({ receipt: e }) {
let t = X({
queryKey: ["indexers"],
- queryFn: ({ signal: e }) => W(gs, e),
-========
-var Zo = "/api/configuration/indexers";
-function Qo({ receipt: e }) {
- let t = X({
- queryKey: ["indexers"],
- queryFn: ({ signal: e }) => W(Zo, e),
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ queryFn: ({ signal: e }) => W(Ss, e),
refetchOnMount: "always"
});
return t.error ? /* @__PURE__ */ (0, Q.jsx)(k, { children: q(t.error) }) : t.isFetching ? /* @__PURE__ */ (0, Q.jsx)(Ft, {
label: "正在读取资源搜索设置",
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
html: _n
- }) : t.data ? /* @__PURE__ */ (0, Q.jsx)(bs, {
-========
- html: dn
- }) : t.data ? /* @__PURE__ */ (0, Q.jsx)(ts, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ }) : t.data ? /* @__PURE__ */ (0, Q.jsx)(Es, {
initial: t.data,
receipt: e
}) : null;
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function vs(e) {
-========
-function $o(e) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function ws(e) {
try {
return new globalThis.URL(e).host;
} catch {
return e;
}
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function ys({ row: e, index: t }) {
+function Ts({ row: e, index: t }) {
let n = [
- e.url ? vs(e.url) : "未填地址",
-========
-function es({ row: e, index: t }) {
- let n = [
- e.url ? $o(e.url) : "未填地址",
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ e.url ? ws(e.url) : "未填地址",
e.enabled ? "已启用" : "已停用",
e.api_key_set && !e.clear_api_key ? "已保存 API key" : e.api_key ? "API key 待保存" : "没有 API key"
];
@@ -6686,11 +5406,7 @@ function es({ row: e, index: t }) {
})]
});
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function bs({ initial: e, receipt: t }) {
-========
-function ts({ initial: e, receipt: t }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function Es({ initial: e, receipt: t }) {
let [n, r] = (0, Z.useState)(e.indexers), i = Y();
(0, Z.useEffect)(() => {
kn("indexers", { open: e.indexers.map((e) => !e.url) });
@@ -6703,11 +5419,7 @@ function ts({ initial: e, receipt: t }) {
guide: "indexers",
title: "资源搜索",
onSubmit: (e) => {
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- e.preventDefault(), i.run("save", (e) => G(gs, { indexers: n }, "POST", e), (e) => {
-========
- e.preventDefault(), i.run("save", (e) => G(Zo, { indexers: n }, "POST", e), (e) => {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ e.preventDefault(), i.run("save", (e) => G(Ss, { indexers: n }, "POST", e), (e) => {
r(e.indexers), t("已保存索引器");
});
},
@@ -6727,11 +5439,7 @@ function ts({ initial: e, receipt: t }) {
className: "min-w-0 border-t border-separator-border pt-2",
children: /* @__PURE__ */ (0, Q.jsx)(O, {
defaultOpen: !e.url,
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- summary: /* @__PURE__ */ (0, Q.jsx)(ys, {
-========
- summary: /* @__PURE__ */ (0, Q.jsx)(es, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ summary: /* @__PURE__ */ (0, Q.jsx)(Ts, {
row: e,
index: t
}),
@@ -6816,11 +5524,7 @@ function ts({ initial: e, receipt: t }) {
});
}
// src/react/settings/source-settings.tsx
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function xs({ data: e, receipt: t, panel: n, issues: r }) {
-========
-function ns({ data: e, receipt: t, panel: n, issues: r }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function Ds({ data: e, receipt: t, panel: n, issues: r }) {
let i = X({
queryKey: ot,
queryFn: ({ signal: e }) => un(e),
@@ -6839,11 +5543,7 @@ function ns({ data: e, receipt: t, panel: n, issues: r }) {
children: "采集来源与登录状态"
})
}),
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- i.data ? /* @__PURE__ */ (0, Q.jsx)(ms, {
-========
- i.data ? /* @__PURE__ */ (0, Q.jsx)(Yo, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ i.data ? /* @__PURE__ */ (0, Q.jsx)(bs, {
data: i.data,
readOnly: !!e.ledger_read_only,
toast: t,
@@ -6856,15 +5556,9 @@ function ns({ data: e, receipt: t, panel: n, issues: r }) {
label: "正在读取来源凭据",
html: an
}),
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- /* @__PURE__ */ (0, Q.jsx)(vo, { receipt: t }),
- /* @__PURE__ */ (0, Q.jsx)(_s, { receipt: t }),
- e.entry_links ? /* @__PURE__ */ (0, Q.jsx)(hs, {
-========
- /* @__PURE__ */ (0, Q.jsx)(mo, { receipt: t }),
- /* @__PURE__ */ (0, Q.jsx)(Qo, { receipt: t }),
- e.entry_links ? /* @__PURE__ */ (0, Q.jsx)(Xo, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ /* @__PURE__ */ (0, Q.jsx)(wo, { receipt: t }),
+ /* @__PURE__ */ (0, Q.jsx)(Cs, { receipt: t }),
+ e.entry_links ? /* @__PURE__ */ (0, Q.jsx)(xs, {
initial: e.entry_links,
receipt: t
}) : null
@@ -6872,11 +5566,7 @@ function ns({ data: e, receipt: t, panel: n, issues: r }) {
});
}
// src/react/settings/configuration-shape.ts
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Ss(e) {
-========
-function rs(e) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function Os(e) {
let t = e.downloads;
if (!t) return null;
let n = t.media_sources ?? [];
@@ -6889,11 +5579,7 @@ function rs(e) {
browserLogin: t.pikpak_browser.available
};
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Cs(e) {
-========
-function is(e) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function ks(e) {
let t = e.tunnel;
return {
port: !!(e.editable && e.port_editable !== !1),
@@ -6907,11 +5593,7 @@ function is(e) {
tunnelNote: !!(t && (!t.available || t.state === "starting" || t.state === "running" && t.url))
};
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function ws(e) {
-========
-function as(e) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function As(e) {
let t = e.updates, n = e.update_job?.state ?? "idle", r = !t || t.state === "unchecked" && !t.checked_at && n === "idle", i = +!!t?.package_kind + (r ? 0 : +!!t?.checked_at + (t?.state === "unchecked" ? 0 : 1) + (n === "idle" ? 0 : 1)), a = e.automatic_updates, o = e.storage;
return {
releaseFacts: t?.package_kind ? 5 : 4,
@@ -6932,20 +5614,12 @@ function as(e) {
};
}
// src/react/settings/configuration-page.tsx
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Ts({ receipt: e, reopenTutorial: t, section: n = "", diagnostics: r }) {
-========
-function os({ receipt: e, reopenTutorial: t, section: n = "", diagnostics: r }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function js({ receipt: e, reopenTutorial: t, section: n = "", diagnostics: r }) {
let i = X({
queryKey: Ze,
queryFn: ({ signal: e }) => ln(e)
}), a = i.data;
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- return a ? /* @__PURE__ */ (0, Q.jsx)(Os, {
-========
- return a ? /* @__PURE__ */ (0, Q.jsx)(ls, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ return a ? /* @__PURE__ */ (0, Q.jsx)(Ps, {
data: a,
receipt: e,
reopenTutorial: t,
@@ -6964,11 +5638,7 @@ function os({ receipt: e, reopenTutorial: t, section: n = "", diagnostics: r })
})
});
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-function Es({ data: e, sections: t, reload: n, refreshing: r }) {
-========
-function ss({ data: e, sections: t, reload: n, refreshing: r }) {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+function Ms({ data: e, sections: t, reload: n, refreshing: r }) {
return /* @__PURE__ */ (0, Q.jsx)(Q.Fragment, { children: t.map((t) => {
let i = e.section_errors?.[t];
return i ? /* @__PURE__ */ (0, Q.jsx)(F, {
@@ -6985,25 +5655,14 @@ function ss({ data: e, sections: t, reload: n, refreshing: r }) {
}, t) : null;
}) });
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-var Ds = 0;
-function Os({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i, reload: a, refreshing: o }) {
- let [s] = (0, Z.useState)(() => `board-tabs-${++Ds}`), [c, l] = (0, Z.useState)(r), u = (0, Z.useRef)(null), d = (0, Z.useRef)(c);
+var Ns = 0;
+function Ps({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i, reload: a, refreshing: o }) {
+ let [s] = (0, Z.useState)(() => `board-tabs-${++Ns}`), [c, l] = (0, Z.useState)(r), u = (0, Z.useRef)(null), d = (0, Z.useRef)(c);
(0, Z.useEffect)(() => {
l(r);
}, [r]), (0, Z.useEffect)(() => {
- let t = Ss(e);
- t && kn("downloads", t), kn("network", Cs(e)), kn("maintenance", ws(e));
-========
-var cs = 0;
-function ls({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i, reload: a, refreshing: o }) {
- let [s] = (0, Z.useState)(() => `board-tabs-${++cs}`), [c, l] = (0, Z.useState)(r), u = (0, Z.useRef)(null), d = (0, Z.useRef)(c);
- (0, Z.useEffect)(() => {
- l(r);
- }, [r]), (0, Z.useEffect)(() => {
- let t = rs(e);
- t && Sn("downloads", t), Sn("network", is(e)), Sn("maintenance", as(e));
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ let t = Os(e);
+ t && kn("downloads", t), kn("network", ks(e)), kn("maintenance", As(e));
}, [e]), (0, Z.useLayoutEffect)(() => {
if (d.current === c) return;
d.current = c;
@@ -7027,11 +5686,7 @@ function ls({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i
let h = (0, Z.useRef)([]), g = {
data: e,
receipt: t
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- }, _ = (t) => /* @__PURE__ */ (0, Q.jsx)(Es, {
-========
- }, _ = (t) => /* @__PURE__ */ (0, Q.jsx)(ss, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ }, _ = (t) => /* @__PURE__ */ (0, Q.jsx)(Ms, {
data: e,
sections: t,
reload: a,
@@ -7053,25 +5708,15 @@ function ls({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i
"library_count",
"mount_dependencies"
]),
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- !e.section_errors?.media_sources && !e.section_errors?.library_count ? /* @__PURE__ */ (0, Q.jsx)(fo, { ...g }) : null,
- /* @__PURE__ */ (0, Q.jsx)(ko, { receipt: t }),
- /* @__PURE__ */ (0, Q.jsx)(So, { receipt: t })
-========
- !e.section_errors?.media_sources && !e.section_errors?.library_count ? /* @__PURE__ */ (0, Q.jsx)(so, { ...g }) : null,
- /* @__PURE__ */ (0, Q.jsx)(To, { receipt: t }),
- /* @__PURE__ */ (0, Q.jsx)(vo, { receipt: t })
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ !e.section_errors?.media_sources && !e.section_errors?.library_count ? /* @__PURE__ */ (0, Q.jsx)(vo, { ...g }) : null,
+ /* @__PURE__ */ (0, Q.jsx)(Fo, { receipt: t }),
+ /* @__PURE__ */ (0, Q.jsx)(Oo, { receipt: t })
]
})
},
{
title: "来源与订阅",
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- body: (e) => /* @__PURE__ */ (0, Q.jsx)(xs, {
-========
- body: (e) => /* @__PURE__ */ (0, Q.jsx)(ns, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ body: (e) => /* @__PURE__ */ (0, Q.jsx)(Ds, {
...g,
panel: e,
issues: _(["entry_links"])
@@ -7088,11 +5733,7 @@ function ls({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i
}] : [],
...y ? [{
title: "网络与访问",
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- body: (e) => /* @__PURE__ */ (0, Q.jsx)(os, {
-========
- body: (e) => /* @__PURE__ */ (0, Q.jsx)(Vo, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ body: (e) => /* @__PURE__ */ (0, Q.jsx)(fs, {
...g,
panel: e,
issues: _(v)
@@ -7114,15 +5755,9 @@ function ls({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i
"automatic_updates",
"facts"
]),
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
- /* @__PURE__ */ (0, Q.jsx)(Aa, { ...g }),
- /* @__PURE__ */ (0, Q.jsx)(Co, { receipt: t }),
- /* @__PURE__ */ (0, Q.jsx)(va, {
-========
- /* @__PURE__ */ (0, Q.jsx)(Ea, { ...g }),
- /* @__PURE__ */ (0, Q.jsx)(yo, { receipt: t }),
- /* @__PURE__ */ (0, Q.jsx)(ma, {
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+ /* @__PURE__ */ (0, Q.jsx)(Ia, { ...g }),
+ /* @__PURE__ */ (0, Q.jsx)(ko, { receipt: t }),
+ /* @__PURE__ */ (0, Q.jsx)(wa, {
...g,
reopenTutorial: n
})
@@ -7183,12 +5818,6 @@ function ls({ data: e, receipt: t, reopenTutorial: n, section: r, diagnostics: i
})] }, e))]
});
}
-<<<<<<<< HEAD:web/dist/peach-app.configuration-page-NsP5Crfe.js
-export { Ts as ConfigurationPage };
-
-//# debugId=b136ef8a-5a47-4e68-8494-93c71c958a57
-========
-export { os as ConfigurationPage };
+export { js as ConfigurationPage };
-//# debugId=0f526625-1990-4749-9c0e-5225c274fa5b
->>>>>>>> refs/heads/agent/claude/ledger-backup-restore:web/dist/peach-app.configuration-page-DHqbHUP4.js
+//# debugId=80caf3f2-9a7b-4fda-9c35-03d51996f275
\ No newline at end of file
diff --git a/web/dist/peach-app.css b/web/dist/peach-app.css
index 05d11656b..dd393e8e7 100644
--- a/web/dist/peach-app.css
+++ b/web/dist/peach-app.css
@@ -1,3 +1,3 @@
/*! tailwindcss v4.3.4 | MIT License | https://tailwindcss.com */
-@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){:root,:host{--edge-pull:0px}*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:""}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-700:oklch(52.7% .154 150.069);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-200:oklch(89.9% .061 343.231);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-2xl:42rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-normal:0em;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--shadow-xs:var(--elevation-xs);--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-headline-semibold:1rem;--text-headline-semibold--line-height:1.375rem;--text-headline-semibold--letter-spacing:0;--text-headline-semibold--font-weight:600;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{background-color:var(--hover);position:relative;overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.-inset-y-px{inset-block:-1px}.inset-y-0{inset-block:0}.start-0{inset-inline-start:calc(var(--spacing) * 0)}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-1\/2{top:50%}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.-bottom-px{bottom:-1px}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-1\/2{left:50%}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-2{z-index:2}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-span-full{grid-column:1/-1}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.-mx-3{margin-inline:calc(var(--spacing) * -3)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-5{margin-inline:calc(var(--spacing) * 5)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.ms-1\.5{margin-inline-start:calc(var(--spacing) * 1.5)}.ms-auto{margin-inline-start:auto}.me-0\.5{margin-inline-end:calc(var(--spacing) * .5)}.me-0\.75{margin-inline-end:calc(var(--spacing) * .75)}.me-auto{margin-inline-end:auto}.-mt-0\.5{margin-top:calc(var(--spacing) * -.5)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-auto{margin-top:auto}.-mr-3{margin-right:calc(var(--spacing) * -3)}.-mr-5{margin-right:calc(var(--spacing) * -5)}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-0{margin-bottom:0}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-2{margin-left:calc(var(--spacing) * -2)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.\!hidden{display:none!important}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-\(--icon-inline\){width:var(--icon-inline);height:var(--icon-inline)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-48{width:calc(var(--spacing) * 48);height:calc(var(--spacing) * 48)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.async-text-skeleton{height:.65em}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-40{height:calc(var(--spacing) * 40)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-72{height:calc(var(--spacing) * 72)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-48{max-height:calc(var(--spacing) * 48)}.max-h-80{max-height:calc(var(--spacing) * 80)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-8{min-height:calc(var(--spacing) * 8)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-13{min-height:calc(var(--spacing) * 13)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-28{min-height:calc(var(--spacing) * 28)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--icon-inline\){width:var(--icon-inline)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-1\/2{width:50%}.w-1\/3{width:33.3333%}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-3\/4{width:75%}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-8{width:calc(var(--spacing) * 8)}.w-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-16{width:calc(var(--spacing) * 16)}.w-20{width:calc(var(--spacing) * 20)}.w-21{width:calc(var(--spacing) * 21)}.w-24{width:calc(var(--spacing) * 24)}.w-26{width:calc(var(--spacing) * 26)}.w-28{width:calc(var(--spacing) * 28)}.w-32{width:calc(var(--spacing) * 32)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-40{width:calc(var(--spacing) * 40)}.w-44{width:calc(var(--spacing) * 44)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-80{width:calc(var(--spacing) * 80)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.max-w-1\/2{max-width:50%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-8{min-width:calc(var(--spacing) * 8)}.min-w-24{min-width:calc(var(--spacing) * 24)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.flex-1{flex:1}.flex-auto{flex:auto}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-0{flex-basis:0}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-56{flex-basis:calc(var(--spacing) * 56)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.-scale-x-100{--tw-scale-x:calc(100% * -1);scale:var(--tw-scale-x) var(--tw-scale-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, )}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.resize-none{resize:none}.resize-y{resize:vertical}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.scroll-mt-24{scroll-margin-top:calc(var(--spacing) * 24)}.\[scrollbar-width\:none\]{scrollbar-width:none}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0{gap:0}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-1{column-gap:var(--spacing)}.gap-x-1\.5{column-gap:calc(var(--spacing) * 1.5)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-5{column-gap:calc(var(--spacing) * 5)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-1\.5{row-gap:calc(var(--spacing) * 1.5)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-end{align-self:flex-end}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-\(--control-radius\){border-radius:var(--control-radius)}.rounded-\(--tag-radius\){border-radius:var(--tag-radius)}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-none{border-radius:0}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[0\.875px\]{border-style:var(--tw-border-style);border-width:.875px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--border-10\){border-color:var(--border-10)}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default\/20{border-color:var(--color-border-error-default)}@supports (color:color-mix(in lab, red, red)){.border-border-error-default\/20{border-color:color-mix(in oklab, var(--color-border-error-default) 20%, transparent)}}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-\(--surface\){background-color:var(--surface)}.bg-avatar-neutral-background{background-color:var(--color-avatar-neutral-background)}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-quaternary-default{background-color:var(--color-background-quaternary-default)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-blue-300{background-color:var(--color-blue-300)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7,.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8,.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-chart-9{background-color:var(--color-chart-9)}.bg-control-indicator-background{background-color:var(--color-control-indicator-background)}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-green-500{background-color:var(--color-green-500)}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-lime-200{background-color:var(--color-lime-200)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-pill-tab-blue-hover-background{background-color:var(--color-pill-tab-blue-hover-background)}.bg-pill-tab-blue-selected-background{background-color:var(--color-pill-tab-blue-selected-background)}.bg-pink-200{background-color:var(--color-pink-200)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-blue-text{background-color:var(--color-status-blue-text)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-cyan-text{background-color:var(--color-status-cyan-text)}.bg-status-dot-green-halo{background-color:var(--color-status-dot-green-halo)}.bg-status-dot-indigo-halo{background-color:var(--color-status-dot-indigo-halo)}.bg-status-dot-yellow-halo{background-color:var(--color-status-dot-yellow-halo)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-purple-text{background-color:var(--color-status-purple-text)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background{fill:var(--color-background-primary-default)}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-primary\/10{fill:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.fill-text-primary\/10{fill:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.ps-4{padding-inline-start:calc(var(--spacing) * 4)}.pe-2{padding-inline-end:calc(var(--spacing) * 2)}.pe-5{padding-inline-end:calc(var(--spacing) * 5)}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1{padding-right:var(--spacing)}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pr-6{padding-right:calc(var(--spacing) * 6)}.pr-10{padding-right:calc(var(--spacing) * 10)}.pb-1{padding-bottom:var(--spacing)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-2\.5{padding-bottom:calc(var(--spacing) * 2.5)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-start{text-align:start}.align-baseline{vertical-align:baseline}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-headline-semibold{font-size:var(--text-headline-semibold);line-height:var(--tw-leading,var(--text-headline-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-semibold--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.text-\[10px\]{font-size:10px}.text-\[18px\]{font-size:18px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-\[15px\]{--tw-leading:15px;line-height:15px}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.text-pretty{text-wrap:pretty}.break-words{overflow-wrap:break-word}.wrap-anywhere{overflow-wrap:anywhere}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-line{white-space:pre-line}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-\(--muted\){color:var(--muted)}.text-accent-500{color:var(--color-accent-500)}.text-accent-600{color:var(--color-accent-600)}.text-background,.text-background-primary-default{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-blue-900{color:var(--color-blue-900)}.text-border{color:var(--color-separator-border)}.text-border-focus-ring{color:var(--color-border-focus-ring)}.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-green-700{color:var(--color-green-700)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-lime-700{color:var(--color-lime-700)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-pink-500{color:var(--color-pink-500)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-placeholder{color:var(--color-text-placeholder)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, )}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, )}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-20{opacity:.2}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0px_0px_0px_0\.875px_var\(--color-accent-500\)\,inset_0px_1\.75px_0px_0px_rgba\(255\,255\,255\,0\.25\)\]{--tw-shadow:inset 0px 0px 0px .875px var(--tw-shadow-color,var(--color-accent-500)), inset 0px 1.75px 0px 0px var(--tw-shadow-color,#ffffff40);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0px_0px_0px_1px_var\(--color-accent-500\)\,inset_0px_2px_0px_0px_rgba\(255\,255\,255\,0\.25\)\]{--tw-shadow:inset 0px 0px 0px 1px var(--tw-shadow-color,var(--color-accent-500)), inset 0px 2px 0px 0px var(--tw-shadow-color,#ffffff40);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline,.outline-1{outline-style:var(--tw-outline-style);outline-width:1px}.-outline-offset-1{outline-offset:calc(1px * -1)}.outline-border-error-default{outline-color:var(--color-border-error-default)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.filter{filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );backdrop-filter:var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, )}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );backdrop-filter:var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, )}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,color\,box-shadow\]{transition-property:background-color,color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[scale\,opacity\]{transition-property:scale,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,height\,font-size\]{transition-property:width,height,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){:is(:where(.group):hover .group-hover\:bg-foreground){background-color:var(--color-text-primary)}:is(:where(.group):hover .group-hover\:opacity-100){opacity:1}}:is(:where(.group\/tree-view)[data-show-guides=false] .group-data-\[show-guides\=false\]\/tree-view\:hidden){display:none}:is(:where(.group\/tree-view)[data-size=sm] .group-data-\[size\=sm\]\/tree-view\:min-h-8){min-height:calc(var(--spacing) * 8)}:is(:where(.group\/tree-view)[data-size=sm] .group-data-\[size\=sm\]\/tree-view\:text-body-2-regular){font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-0:first-child{padding-top:0}.last\:rounded-b-lg:last-child{border-bottom-right-radius:var(--radius-lg);border-bottom-left-radius:var(--radius-lg)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-0:last-child{padding-bottom:0}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-background-tertiary-default:hover{background-color:var(--color-background-tertiary-default)}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:cursor-wait:disabled{cursor:wait}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-outside\:-right-3\.5[data-outside]{right:calc(var(--spacing) * -3.5)}.data-outside\:-bottom-3\.5[data-outside]{bottom:calc(var(--spacing) * -3.5)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[empty\]\:px-4[data-empty]{padding-inline:calc(var(--spacing) * 4)}.data-\[empty\]\:py-8[data-empty]{padding-block:calc(var(--spacing) * 8)}.data-\[empty\]\:text-center[data-empty]{text-align:center}.data-\[empty\]\:text-body-regular[data-empty]{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.data-\[empty\]\:text-text-tertiary[data-empty]{color:var(--color-text-tertiary)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.data-\[focus-visible\]\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-\[focus-visible\]\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media (prefers-reduced-motion:reduce){.motion-reduce\:transition-none{transition-property:none}}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-cleanup-tight\:hidden{display:none}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-full{flex-basis:100%}.max-cleanup-tight\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-board-narrow\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:mr-auto{margin-right:auto}.max-sm\:hidden{display:none}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-48{height:calc(var(--spacing) * 48)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:w-24{width:calc(var(--spacing) * 24)}.max-sm\:w-full{width:100%}.max-sm\:min-w-0{min-width:0}.max-sm\:basis-0{flex-basis:0}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:flex-col{flex-direction:column}.max-sm\:justify-end{justify-content:flex-end}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:gap-3{gap:calc(var(--spacing) * 3)}.max-sm\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-2{padding-inline:calc(var(--spacing) * 2)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}.max-sm\:text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.max-sm\:text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row{flex-direction:row}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:order-last{order:9999}.sm\:col-span-2{grid-column:span 2/span 2}.sm\:mt-auto{margin-top:auto}.sm\:hidden{display:none}.sm\:w-24{width:calc(var(--spacing) * 24)}.sm\:w-28{width:calc(var(--spacing) * 28)}.sm\:w-32{width:calc(var(--spacing) * 32)}.sm\:w-auto{width:auto}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-between{justify-content:space-between}.sm\:gap-2{gap:calc(var(--spacing) * 2)}.sm\:gap-4{gap:calc(var(--spacing) * 4)}.sm\:self-auto{align-self:auto}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:w-32{width:calc(var(--spacing) * 32)}.\@lg\:w-48{width:calc(var(--spacing) * 48)}.\@lg\:w-60{width:calc(var(--spacing) * 60)}.\@lg\:w-auto{width:auto}.\@lg\:flex-1{flex:1}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.dark\:text-green-400:where(.dark,.dark *){color:var(--color-green-400)}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar{display:none}.\[\&\>\.ui-settings-facts\]\:-mr-3>.ui-settings-facts{margin-right:calc(var(--spacing) * -3)}.\[\&\>span\]\:min-w-0>span{min-width:0}.\[\&\>span\]\:shrink>span{flex-shrink:1}.\[\&\>span\:last-child\]\:min-w-0>span:last-child{min-width:0}.\[\&\>span\:last-child\]\:wrap-anywhere>span:last-child{overflow-wrap:anywhere}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px;display:grid}.peach-react [data-media-grid]>[data-media-card],body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:16px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible;container:media-card/inline-size}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-surface:color-mix(in oklab, var(--library-color) 9%, transparent)}}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-hover:color-mix(in oklab, var(--library-color) 15%, transparent)}}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){background:var(--library-surface);box-shadow:0 0 0 8px var(--library-surface)}[data-theme=dark] .peach-react [data-media-card][data-library]{--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){[data-theme=dark] .peach-react [data-media-card][data-library]{--library-surface:color-mix(in oklab, var(--library-color) 13%, transparent)}}[data-theme=dark] .peach-react [data-media-card][data-library]{--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){[data-theme=dark] .peach-react [data-media-card][data-library]{--library-hover:color-mix(in oklab, var(--library-color) 20%, transparent)}}@media (prefers-color-scheme:dark){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-surface:color-mix(in oklab, var(--library-color) 13%, transparent)}}:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-hover:color-mix(in oklab, var(--library-color) 20%, transparent)}}}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--library-hover);box-shadow:0 0 0 8px var(--library-hover)}.peach-react [data-media-status]{z-index:3;pointer-events:none;gap:6px;display:flex;position:absolute;bottom:12px;left:10px}.peach-react [data-media-status]>span{-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000006b;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.peach-react [data-media-status] svg{fill:currentColor;stroke:currentColor;stroke-width:1.5px;width:15px;height:15px}.peach-react [data-media-status] [data-status=later]{color:var(--color-sky-500)}.peach-react [data-media-status] [data-status=flagged]{color:var(--color-rose-500)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default;-webkit-user-select:none;user-select:none}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{--pic-radius:0px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-byline:20px;--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px);--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags) + 23px);height:calc(var(--card-meta-block) + 22px);min-height:0;margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{align-content:start;min-height:2.7em}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-text]{gap:3px}body[data-surface=\/trash] .peach-react [data-media-text]>[data-media-tags]{margin-top:0}body[data-surface=\/trash] .peach-react button[data-media-title]{flex-direction:column;justify-content:flex-start;align-items:stretch;display:flex}.peach-react [data-media-title-text]{max-height:2.7em;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:calc(2lh + 2px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);--card-meta-block:calc(var(--fs-md) * 2.7 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-card]:not([data-follow-item]) [data-media-meta]{--card-meta-byline:20px;--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px);--card-meta-block:calc(var(--fs-md) * 2.7 + 12px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react [data-media-card]:not([data-follow-item],[data-variant=next]) [data-media-meta]{height:calc(var(--card-meta-block) + 16px)}body:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-follow-item],[data-variant=next]) [data-media-meta]{height:auto}.peach-react [data-media-card][data-variant=next]:not([data-follow-item]) [data-media-meta]{--card-meta-tags:calc(var(--fs-xs) * 2.9);height:var(--card-meta-block)}.peach-react :is([data-media-pic],[data-mix-cover]){--pic-radius:var(--surface-radius);clip-path:inset(0 round var(--pic-radius));-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);background:var(--color-background-quaternary-default);justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:var(--pic-radius);pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic],.peach-react [data-media-art]>.media-nopic{color:var(--ink-2);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-art]>.media-nopic{place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-pic][data-pic-portrait] :is(img[class~=poster]:not([class~=cover]),video){object-fit:cover;width:calc(100% + 2px);max-width:none;height:calc(100% + 2px);inset:-1px}.peach-react [data-media-pic]>img.ui-hvframes[hidden]{display:none}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) :is([data-media-badge],[data-media-duration],[data-follow-sources]){opacity:0;visibility:hidden;pointer-events:none}.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) [data-media-group]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}body[data-peach-copy-mode] .peach-react [data-media-card] [data-media-duration][data-copy-key]{z-index:10;opacity:1;visibility:visible;pointer-events:auto}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;transition:opacity .15s;position:absolute;top:9px;right:9px}.peach-react :is([data-select-mode] [data-media-group],[data-media-card][data-selected] [data-media-group]){right:44px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react :is([data-previewing],[data-media-card]:has(:focus-visible)) [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-preview],:is([data-media-later],[data-media-seek]) button):hover{background:#00000057}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:var(--control-h-compact);height:var(--control-h-compact);padding:0}.peach-react [data-media-later] svg{width:18px;height:18px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react :is(button,a)[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--media-avatar-visible:var(--media-avatar-count);--media-avatar-gaps:max(1, calc(var(--media-avatar-visible) - 1));z-index:1;width:calc(45px + 16px * (var(--media-avatar-visible) - 1));--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:min(109px,max(45px,30%));height:46px;margin:-4px -2px -2px;padding:0;display:block;position:relative}.peach-react [data-media-avatars]:is(:hover,:has(:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{top:6px;left:calc(5px + (100% - 45px) / var(--media-avatar-gaps) * var(--media-avatar-index));box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:left var(--lift-motion,var(--board-motion)), transform var(--lift-motion,var(--board-motion));margin:0;position:absolute}.peach-react [data-media-avatars]:is(:hover,:has(:focus-visible))>[data-media-avatar]{left:calc(5px + 30px * var(--media-avatar-index))}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]{--media-avatar-visible:min(2, var(--media-avatar-count))}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex;container:media-meta/inline-size}.peach-react [data-media-title]{width:100%;min-height:0;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;overflow-wrap:anywhere;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-card]:not([data-follow-item]) [data-media-title]{min-height:2.7em}.peach-react [data-media-title] [class~=ui-javidentity]{white-space:normal;display:inline}.peach-react [data-media-title] [class~=javedition]{margin-left:5px}.peach-react [data-media-byline]{white-space:nowrap;min-width:0;min-height:1.5em;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;line-height:1.5;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:nowrap;flex:none;align-items:center;gap:8px;display:flex;overflow:hidden}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-align:left;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;flex:0 auto;align-items:center;gap:4px;padding:0;display:inline-flex;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react [data-media-who]>span{text-overflow:ellipsis;overflow:hidden}.peach-react :is([data-media-release],[data-media-size]){white-space:nowrap;flex:none;align-items:center;gap:4px;display:inline-flex}.peach-react [data-media-facts]{flex-wrap:wrap;flex:none;align-items:center;gap:4px 8px;min-width:0;display:inline-flex}.peach-react [data-media-byline] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted);white-space:nowrap;flex:none}.peach-react [data-media-why]{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{flex:1 1 0}.peach-react [data-variant=next] :is([data-media-size],[data-media-release]),.peach-react [data-variant=next] [data-media-facts]{display:none}.peach-react [data-media-next-reason]{width:100%;min-width:0;min-height:2.9em;max-height:2.9em;color:var(--loupe);font-size:var(--fs-xs);text-align:left;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;flex:none;padding:0;line-height:1.45;display:-webkit-box;overflow:hidden}.peach-react [data-media-next-reason]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container media-meta not (width>=360px){.peach-react [data-media-card]:not([data-variant=next]) [data-media-byline]{flex-wrap:wrap;row-gap:2px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-facts]{flex-basis:100%}}@container media-meta not (width>=200px){.peach-react [data-media-card]:not([data-variant=next]) [data-media-who-more]{display:none}}@container media-meta not (width>=140px){.peach-react [data-media-who-more]{display:none}}@container media-meta not (width>=110px){.peach-react [data-media-size]{display:none}}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react span[data-media-tag]{cursor:default}.peach-react span[data-media-tag]:hover{background:var(--tag-fill);color:var(--ink-2)}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-grid]>:is([data-media-card],[data-mix-card]){padding-top:7px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;line-height:1.35em;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-why]{display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-text]>[data-media-tags]{margin-top:-4px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}@container media-meta not (width>=360px){body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-variant=next]) :is([data-media-who-more],[data-media-size]){display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-variant=next]) [data-media-facts]{flex-basis:auto}}@container media-meta not (width>=160px){body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-variant=next]) [data-media-facts]{display:none}}body[data-surface=\/trash] .peach-react [data-media-text]{height:var(--card-meta-block)}body[data-surface=\/trash] .peach-react [data-media-byline]{flex-wrap:nowrap;flex:none;height:20px;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-size]{white-space:nowrap;flex:none}body[data-surface=\/trash] .peach-react [data-media-tags]{height:calc(var(--card-meta-tags) - 3px);flex-wrap:nowrap;flex:none;overflow:hidden}.peach-react [data-media-disposal-reason]{height:20px;color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;flex:none;line-height:20px;overflow:hidden}.peach-react [data-pending-delete] [data-media-duration]{top:10px;bottom:auto}.peach-react [data-pending-delete] :is([data-media-preview],[data-media-later],[data-media-seek]){display:none}.peach-react [data-media-operation-error]{z-index:7;border-radius:var(--badge-radius);background:var(--ground);color:var(--drop);font-size:var(--fs-xs);overflow-wrap:anywhere;padding:8px;position:absolute;bottom:48px;left:10px;right:10px}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;min-height:var(--control-h-compact);border-radius:var(--control-radius);color:#fff;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{--hover:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-strip]{--hover:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{z-index:1;font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex;position:relative}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;transition:background .14s;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--hover)}.peach-react [data-shorts-enter] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;margin:-32px -16px -20px;padding:32px 16px 20px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px + 16px));padding-left:calc(var(--railW) + 32px + 16px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;height:auto;min-height:0}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-text]{flex-direction:column;height:auto;display:flex}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-title]{white-space:normal;-webkit-line-clamp:2;min-height:0;display:-webkit-box}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-byline]{height:auto;min-height:20px;line-height:20px}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-tags]:empty{display:none}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-detail-tags] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);box-sizing:border-box;height:var(--control-h-inline);align-items:center;max-width:100%;display:inline-flex;overflow:hidden}.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){border-color:color-mix(in srgb,var(--tag-color) 42%,var(--surface))}}.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){background:color-mix(in srgb,var(--tag-color) 10%,var(--surface))}}.peach-react [data-detail-tags] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:100%}.peach-react [data-detail-tags] [data-detail-tag] [data-tag]{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:3px 8px;overflow:hidden}.peach-react [data-detail-tags] [data-detail-tag] :is([data-remove-tag],[data-edit-tag]){width:calc(var(--control-h-inline) - 2px);color:var(--muted);flex:none;place-items:center;padding:0;display:grid}.peach-react [data-detail-tags] [data-detail-tag] [data-tag]:hover,.peach-react [data-detail-tags] [data-detail-tag] [data-edit-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-detail-tags] [data-detail-tag] svg,.peach-react [data-detail-tags] [data-tag-plus] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-detail-tags] [data-tag-plus]{width:var(--control-h-inline);height:var(--control-h-inline);border:1px dashed var(--line);color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-detail-tags] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-tag-picker]{z-index:120;border:1px solid var(--ink);flex-direction:column;width:min(480px,100vw - 32px);max-height:min(480px,70vh);margin:0;padding:0;display:flex;position:fixed;inset:auto;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-detail-tags] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 24px 70px -24px #000}.peach-react [data-detail-tags] [data-tag-picker][hidden]{display:none}.peach-react [data-detail-tags] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-detail-tags] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-detail-tags] [data-tag-search]{border-bottom:1px solid var(--ink);flex:none;align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-detail-tags] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-detail-tags] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-detail-tags] [data-tag-search] input::placeholder{color:revert}.peach-react [data-detail-tags] [data-tag-scroll-frame]{flex:auto;min-height:0;display:flex;position:relative}.peach-react [data-detail-tags] [data-tag-body]{overscroll-behavior:contain;flex:auto;min-width:0;min-height:0;max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-detail-tags] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-detail-tags] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-detail-tags] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-detail-tags] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-detail-tags] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-detail-tags] [data-pick] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;color:var(--tag-color,var(--muted));flex:none}@media (width<=760px){.peach-react [data-detail-tags] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}.peach-react [data-processing-maintenance]{--color-dropdown-item-hover-background:var(--color-background-secondary-hover)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:var(--control-h-compact);color:var(--glass-text);border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-junk-filters] a{white-space:nowrap;cursor:pointer;font-size:13px;font-weight:400;line-height:20px;text-decoration:none}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]){color:var(--glass-text)}.peach-react :is([data-junk-view-link],[data-junk-count-skeleton] [data-junk-kind-link])[aria-current=page]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-junk-filters] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-junk-filters] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-junk-divider]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters]{height:60px}.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-junk-actions]{container-type:inline-size}@container (width<=340px){.peach-react [data-junk-actions] button[data-junk-action]{gap:4px;padding-inline:6px}.peach-react [data-junk-actions] button>svg{display:none}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{width:max-content;max-width:100%;max-height:calc(var(--portrait-size) + 64px);align-self:stretch;align-items:center;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-portrait][data-native-clamp=true] img{object-fit:cover}.peach-react [data-entity-portrait=round] img{object-position:50% 25%}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-namepick-menu] svg{width:var(--icon-inline);height:var(--icon-inline)}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=classification]{white-space:nowrap;flex:none}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:var(--icon-inline);height:var(--icon-inline);color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;gap:4px;min-width:0;margin:0;display:grid}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-pop-name]{display:grid}.peach-react [data-hero-pop] small{color:var(--muted);font-size:var(--fs-xs);line-height:1.4}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);overflow-wrap:anywhere;margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{box-sizing:border-box;text-overflow:ellipsis;max-width:100%;padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px;overflow:hidden}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:where(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react :is([data-entity-filter-glass],[data-catalog-frame]){z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-catalog-frame],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;flex:0 0 var(--control-h-compact);width:var(--control-h-compact);height:var(--control-h-compact);color:var(--glass-text);border-radius:50%;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:var(--control-h-compact);color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;overflow:auto hidden}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{margin-left:auto;flex-wrap:nowrap;flex:none;align-items:center;gap:4px;width:max-content;margin-block:-14px;padding:14px 2px;display:flex;overflow:visible}.peach-react [data-entity-sort]{height:var(--control-h-compact);min-height:var(--control-h-compact);color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{width:var(--icon-inline);height:var(--icon-inline);flex:none;margin-left:5px}.peach-react [data-entity-sort] [data-icon-swap]{margin-left:5px}.peach-react [data-entity-sort] [data-icon-swap] svg{margin-left:0}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}.peach-react [data-photo-back]{height:var(--control-h-compact);border:1px solid var(--glass-low);border-radius:var(--control-radius);color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{gap:10px}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])[data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 24px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-catalog-tiers]{z-index:1;font:var(--board-body);letter-spacing:normal;padding:10px 0 8px;position:relative}.peach-react [data-catalog-tier]{scrollbar-width:none;align-items:center;gap:4px;margin-top:-3px;padding:0 16px 6px;display:flex;overflow-x:auto}.peach-react [data-catalog-tier]::-webkit-scrollbar{display:none}.peach-react [data-catalog-tier]:last-child{padding-bottom:4px}@media (width>=761px){.peach-react [data-catalog-tier]{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}}.peach-react :is([data-tier-performer],[data-tier-studio]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border-radius:12px;flex:none}.peach-react :is([data-tier-performer],[data-tier-studio]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-tier-performer],[data-tier-studio]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-tier-performer],[data-tier-studio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react :is([data-tier-performer],[data-tier-studio])[aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tier-studio] [data-count-badge]{color:var(--color-text-tertiary);font:var(--board-caption);font-variant-numeric:tabular-nums}.peach-react [data-tier-performer]{text-align:center;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-tier-studio]{text-align:left;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-tier-ring],[data-tier-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-tier-ring],[data-tier-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-tier-ring],[data-tier-mark]){color:var(--color-text-secondary)}.peach-react [data-tier-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font);display:block}.peach-react [data-tier-ring]>[data-tier-initial]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react :is([data-tier-ring],[data-tier-mark])>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-tier-name]{max-width:100%;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-tier-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font);justify-content:center;align-items:center;display:flex}.peach-react [data-catalog-scroll]{flex:1;align-items:center;gap:7px;min-width:0;display:flex;position:relative}.peach-react [data-catalog-views]{flex:none;align-items:center;gap:7px;display:flex}.peach-react [data-catalog-view]{z-index:1;height:var(--control-h-compact);color:var(--glass-text);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-catalog-view]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px;text-decoration:none}.peach-react [data-catalog-view]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react [data-catalog-view]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-catalog-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-catalog-tags]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-catalog-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-catalog-scroll]::-webkit-scrollbar{display:none}.peach-react [data-catalog-scroll]>[data-catalog-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-catalog-tag]{border-radius:var(--tag-radius);border-color:var(--field-ring-hover);color:var(--glass-text);gap:0}.peach-react [data-catalog-tag]:hover{color:var(--ink)}.peach-react [data-catalog-tag][aria-pressed=true]{border-style:solid;border-color:var(--glass-low);background:var(--picked)}.peach-react [data-catalog-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-catalog-tag] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-catalog-frame]>[data-filter-row=bottom]{color:var(--ink-2);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:12px;line-height:20px}.peach-react [data-catalog-readout]{white-space:nowrap;flex:none}.peach-react [data-catalog-summary]{flex:none;align-items:center;gap:12px;display:flex}.peach-react [data-catalog-frame][data-single-row]{flex-direction:row}.peach-react [data-catalog-frame][data-single-row]>[data-filter-row=top]{flex:1}.peach-react [data-catalog-frame][data-single-row]>[data-filter-row=bottom]{flex:none}.peach-react [data-catalog-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{width:72px;height:var(--control-h-compact);border-radius:var(--tag-radius);background:var(--hover);flex:none}.peach-react [data-loading] [data-catalog-placeholder]>span{position:relative;overflow:hidden}.peach-react [data-loading] [data-catalog-placeholder]>span:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.peach-react [data-loading] [data-catalog-placeholder]>span:after{animation:none}}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]){visibility:hidden;background:var(--hover);border-color:#0000;position:relative;overflow:hidden}.peach-react [data-refreshing] [data-tier-name]{border-radius:var(--control-radius);width:52px;margin:0 auto}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-refreshing] [data-tier-ring][class~=ui-imgdone]:after{opacity:1;filter:none;visibility:visible}@media (prefers-reduced-motion:reduce){.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{animation:none}}body[data-folder-browse] #main{grid-template-columns:224px minmax(0,1fr);align-items:start;column-gap:24px;display:grid}body[data-folder-browse] #main>:not(#catalogFoldersTree){grid-column:2;min-width:0}body[data-folder-browse] #catalogFoldersTree{top:var(--folder-sticky-top,calc(var(--topH) + 16px));grid-area:1/1/span 20;min-width:0;position:sticky}body[data-folder-browse] #catalogFoldersTree .catalog-folder-navigation{max-height:var(--folder-available-height,calc(100dvh - var(--folder-sticky-top,calc(var(--topH) + 16px)) - 16px))}body[data-folder-browse] #catalogFoldersTree .folder-tree-scroller{max-height:none}#catalogFolderHeader{margin-bottom:20px}.catalog-folder-heading{flex-direction:column;gap:12px;min-width:0;display:flex}.folder-scope-row{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.folder-children{flex-wrap:wrap;gap:4px;display:flex}.folder-children>button{max-width:100%}.entity-folder-workspace[data-folder-browse]{grid-template-columns:224px minmax(0,1fr);align-items:start;gap:24px;display:grid}.entity-folder-workspace>[data-folder-tree-host]{top:var(--folder-sticky-top);min-width:0;position:sticky}.entity-folder-workspace .catalog-folder-navigation{max-height:var(--folder-available-height)}[data-folder-header-host]{margin-bottom:20px}.folder-crumb-name{text-overflow:ellipsis;max-width:180px;display:block;overflow:hidden}.folder-tree-scroller{min-height:0;max-height:calc(100dvh - var(--topH) - 124px);overscroll-behavior:contain;scroll-padding-block:4px;overflow:auto}.folder-tree-frame>[data-overlay-track=y]{overflow:hidden;translate:-8px}.folder-tree-frame>[data-overlay-track=y] [data-overlay-thumb]{transition-property:width}.folder-drawer-trigger{display:none}.peach-react button[data-folder-mode-toggle]{width:var(--control-h-compact);height:var(--control-h-compact);border-radius:var(--control-radius);box-shadow:none;color:var(--glass-text);background:0 0;border:0;padding:0}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-folder-mode-toggle]{color:color-mix(in srgb,var(--glass-text) 60%,transparent)}}.peach-react button[data-folder-mode-toggle]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-folder-mode-toggle][aria-pressed=true]{background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow)}.peach-react button[data-folder-mode-toggle] svg{fill:currentColor;stroke:none;width:16px;height:16px}@media (width<=1100px){.entity-folder-workspace[data-folder-browse]{display:block}.entity-folder-workspace>[data-folder-tree-host]{display:none}body[data-folder-browse] #main{display:block}body[data-folder-browse] #catalogFoldersTree{display:none}.folder-drawer-trigger{display:inline-flex}.folder-crumb-name{max-width:120px}}@media (width<=480px){.folder-crumb-name{max-width:88px}.folder-scope-row{gap:8px}}.peach-react [data-search-root]{line-height:20px}.peach-react [data-search-group]+[data-search-group],.peach-react [data-search-group]+[data-search-results],.peach-react [data-search-results]+[data-search-group],.peach-react [data-search-col]+[data-search-col]{border-top:1px solid var(--line-soft);margin-top:7px;padding-top:7px}.peach-react [data-search-group]>h3{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.14em;justify-content:space-between;align-items:center;gap:8px;margin:6px 10px;font-weight:600;display:flex}.peach-react [data-search-group]>h3>a,.peach-react [data-search-head]>a{letter-spacing:normal;flex:none;font-weight:400}.peach-react [data-search-head]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-search-shuffle]{border-radius:var(--control-radius);width:20px;height:20px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-search-shuffle]:hover{color:var(--ink)}.peach-react [data-search-shuffle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:1px}.peach-react [data-search-shuffle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px}.peach-react [data-search-shuffle][aria-busy=true] svg{--strand-dash:100;--strand-cycle:1.2s}.peach-react [data-search-person]{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-search-person]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-search-empty]{color:var(--muted);font-size:var(--fs-sm);margin:0;padding:9px 10px}.peach-react [data-search-group]+[data-search-empty]{border-top:1px solid var(--line-soft);margin-top:7px}.peach-react [data-search-option]{border-radius:var(--control-radius);width:100%;height:38px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:0 10px;display:flex}.peach-react [data-search-option]:is(:hover,[data-active]){background:var(--hover)}.peach-react [data-search-option] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:var(--muted);fill:none;flex:none}.peach-react [data-search-option] [data-remove-history] svg{width:18px;height:18px}.peach-react [data-search-option=more]{justify-content:space-between;margin-top:7px}.peach-react [data-search-option] span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-remove-history]{color:var(--muted);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:7px}.peach-react [data-search-option] [data-search-matched]{min-width:0;color:var(--muted);font-size:var(--fs-xs);flex:0 8 auto}.peach-react [data-search-option] [data-search-n]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}.peach-react [data-search-col]{min-width:0;container:searchcol/inline-size}.peach-react [data-search-tabs]{border-bottom:1px solid var(--line-soft);scrollbar-width:none;overscroll-behavior-x:contain;gap:4px;margin-bottom:4px;padding:2px 2px 8px;display:flex;overflow-x:auto}.peach-react [data-search-tabs]::-webkit-scrollbar{display:none}.peach-react [data-search-tabs]>button{border-radius:var(--control-radius);height:30px;color:var(--color-text-secondary);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;padding:0 10px;display:inline-flex}.peach-react [data-search-tabs]>button:hover{color:var(--ink)}.peach-react [data-search-tabs]>button[aria-selected=true]{background:var(--picked);color:var(--ink)}.peach-react [data-search-face]{background:var(--hover);border-radius:50%;flex:none;width:28px;height:28px;position:relative;overflow:hidden}.peach-react [data-search-option=person] [data-search-face]{width:40px;height:40px}.peach-react [data-search-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-search-face]>span:first-child{color:var(--muted);font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-search-option]:is([data-search-option=person],[data-search-option=work]){height:auto;min-height:52px;padding-block:6px}.peach-react [data-search-meta]{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.peach-react [data-search-name]{align-items:baseline;gap:8px;min-width:0;display:flex}.peach-react [data-search-sub]{color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-search-by]{vertical-align:-4px;background:var(--hover);border-radius:50%;width:16px;height:16px;margin-right:6px;display:inline-block;position:relative}.peach-react [data-search-by] img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.peach-react [data-search-by]>span{justify-content:center;align-items:center;font-size:9px;display:flex;position:absolute;inset:0}.peach-react [data-search-placeholder]{pointer-events:none}.peach-react [data-search-placeholder] [data-search-pic]>span{aspect-ratio:var(--card-ratio);border-radius:var(--badge-radius);display:block}.peach-react [data-search-placeholder] :is([data-search-name],[data-search-sub],[data-search-face],[data-search-pic]>span){color:#0000;background:var(--hover);position:relative;overflow:hidden}.peach-react [data-search-placeholder] :is([data-search-name],[data-search-sub]){border-radius:var(--control-radius)}.peach-react [data-search-placeholder] [data-search-name]{width:64%}.peach-react [data-search-placeholder] [data-search-sub]{width:40%}.peach-react [data-search-placeholder] :is([data-search-name],[data-search-sub],[data-search-face],[data-search-pic]>span):after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-search-pic]{--card-ratio:.75;border-radius:var(--badge-radius);flex:none;display:block}.peach-react [data-search-pic]>span>span{letter-spacing:0;font-size:10px}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-recommendations] [data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-recommendations] [data-search-option=work]>[data-search-pic]{width:100%}.peach-react [data-search-recommendations] [data-search-col]>[data-search-group] [data-search-items]:has([data-search-option=work]){grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option=work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-search-option] [data-search-peeks]{flex:none;gap:6px;margin-left:auto;display:none;overflow:visible}.peach-react [data-open-work]{border-radius:var(--badge-radius);cursor:pointer;background:0 0;border:0;width:36px;padding:0}.peach-react [data-open-work] [data-search-pic]{width:100%}.peach-react [data-open-work]:hover [data-search-pic]{outline:1px solid var(--border-15);outline-offset:-1px}.peach-react [data-open-work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container searchcol (width>=420px){.peach-react [data-search-option] [data-search-peeks]{display:flex}}@container searchcol (width>=400px){.peach-react [data-search-group][data-kind=asset] [data-search-items]{grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option][data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-option=work]>[data-search-pic]{width:100%}}@container searchmenu (width>=720px){.peach-react [data-search-recommendations] [data-search-results][data-split]{grid-template-columns:minmax(0,.32fr) minmax(0,.68fr)}.peach-react [data-search-recommendations] [data-search-results][data-split]:before{left:calc(32% + 2.38px)}.peach-react [data-search-results][data-split]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:16px;display:grid;position:relative}.peach-react [data-search-results][data-split]:before{content:"";background:var(--line-soft);pointer-events:none;width:1px;position:absolute;top:0;bottom:0;left:calc(50% - .5px)}.peach-react [data-search-results][data-split]>[data-search-col]+[data-search-col]{border-top:0;margin-top:0;padding-top:0;position:sticky;top:0}}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:var(--icon-inline);height:var(--icon-inline)}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none;text-decoration:none}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>button[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-authors]>[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-follow-works]>button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{width:var(--control-h-compact);height:var(--control-h-compact);border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:var(--control-h-compact);height:var(--control-h-compact);color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px;display:grid}.peach-react [data-follow-list]:not([data-follow-wall])>[data-media-card]{align-self:stretch}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:none;min-height:0}.peach-react [data-follow-wall][data-layout=masonry]:has(>[data-media-card]){row-gap:0}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 6px);grid-template-rows:auto;grid-template-columns:38px minmax(0,1fr);align-content:start;align-items:start;gap:6px 10px;display:grid}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block)}@media (width<=760px){body .peach-react [data-follow-list] [data-follow-item] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;min-height:0}body[data-density]:not([data-surface=\/trash]) .peach-react [data-follow-list] [data-follow-item] [data-media-text]{flex-direction:column;height:auto;display:flex}body[data-density]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-title]{white-space:normal;-webkit-line-clamp:2;min-height:0;display:-webkit-box}body[data-density]:not([data-surface=\/trash]) .peach-react [data-follow-list] [data-follow-item] [data-media-byline]{height:auto;min-height:20px;line-height:20px}}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1;pointer-events:none}.peach-react [data-follow-visual] :is([data-media-check],[data-media-badge]){pointer-events:auto}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react .follow-site-initial{border-radius:var(--badge-radius);background:var(--overlay-5);width:18px;height:18px;color:var(--muted);font:600 11px/1 var(--board-font);place-items:center;display:inline-grid}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img{background:var(--sunk);object-fit:cover}.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-image] [data-mix-face] img{object-fit:cover}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{height:auto;position:static}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){container-type:inline-size}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{object-fit:cover;max-height:250cqi}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;transition:opacity .15s;display:flex}.peach-react [data-follow-collection] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{width:var(--control-h-compact);height:var(--control-h-compact);color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-corner]{place-items:start end;display:grid}.peach-react [data-follow-corner]>*{grid-area:1/1}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-collection]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-wall] [data-follow-item] [data-follow-actions]>:not([data-follow-save]){display:none}}.peach-react [data-follow-avatar]{cursor:default;place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react a[data-follow-avatar]{cursor:pointer}.peach-react a[data-follow-author]{text-decoration:none}.peach-react a:is([data-follow-avatar],[data-follow-author]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-byline] a[data-follow-author]:hover{text-decoration:underline}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-credit]{min-width:0;color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;border-left:1px solid var(--border-15);flex:0 auto;padding-left:8px;font-style:italic;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;flex:none;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-site-icon]{width:var(--icon-inline);height:var(--icon-inline);object-fit:contain;vertical-align:-2px;border-radius:0;margin-right:5px}.peach-react [data-follow-edition]{color:var(--ink-2);margin-right:6px}.peach-react [data-follow-edition=wip]{color:var(--meter)}.peach-react [data-follow-edition=has-wip]{color:var(--muted)}.peach-react [data-follow-edition=voiced]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-edition=voiced]{background:color-mix(in srgb, var(--keep) 16%, transparent)}}.peach-react [data-follow-edition=silent]{color:var(--muted);border-style:dashed}.peach-react [data-follow-sources]{z-index:2;gap:4px;max-width:calc(100% - 120px);display:flex;position:absolute;top:6px;left:6px}.peach-react [data-follow-sources] [data-media-badge]{flex:none;position:static}.peach-react [data-follow-sources]>[data-follow-badges]{flex:0 auto}.peach-react [data-follow-sources] [data-follow-seealso-label]{display:none}.peach-react [data-follow-seealso]{border:1px dashed var(--border-15);border-radius:var(--badge-radius);color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:4px;padding:2px 8px;display:inline-flex}.peach-react [data-follow-seealso] [data-follow-site-icon]{margin:0}.peach-react [data-follow-sources] [data-follow-seealso]{border-radius:var(--control-radius);background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);pointer-events:auto;border:0;padding:4px}.peach-react [data-follow-sources] [data-follow-site-icon]{width:20px;height:20px}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}@media (width<=760px){.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;grid-template-rows:none;min-height:0}body[data-density] .peach-react [data-follow-item] [data-follow-labels]{height:auto}.peach-react [data-follow-item] [data-follow-labels]:empty{display:none}}.peach-react [data-media-grid]>[data-jav-card]{align-self:stretch;gap:12px}.peach-react [data-jav-skeleton-actions]{height:36px}.peach-react [data-jav-skeleton-avatar]{border-radius:50%;width:38px;height:38px}.peach-react [data-jav-skeleton-cover]{border-radius:var(--surface-radius)}.peach-react [data-jav-skeleton-text]{height:20px}.peach-react [data-jav-skeleton-action]{border-radius:var(--control-radius);height:36px}.peach-react [data-jav-title]{margin:0;font-weight:400}.peach-react [data-jav-actions]{margin-top:auto}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-follow-detail-media]:has(>[data-carousel-below]){flex-direction:column}.peach-react [data-follow-detail] [data-follow-detail-media]:has(>[data-carousel-below]) [data-follow-detail-poster]{min-height:0;max-height:calc(76dvh - 116px)}.peach-react [data-follow-detail] [data-carousel-below]{flex:none}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;width:100%;max-height:100%;color:var(--muted);place-content:center;place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-queue] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-queue] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{width:30px;min-width:0;height:30px;margin:calc((var(--fs-lg) * 1.5 - 30px) / 2) 0;flex:none}.peach-react [data-follow-detail] [data-follow-origin] svg{flex:none;width:18px;height:18px}.peach-react [data-follow-detail] [data-follow-resources] a svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}.peach-react [data-follow-detail] [data-follow-detail-credit]{overflow-wrap:anywhere;color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-follow-detail] [data-follow-detail-credit]>span{display:block}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;overflow-wrap:anywhere;margin:0 0 16px}.peach-react [data-follow-detail] [data-follow-detail-summary][data-clamped]{-webkit-line-clamp:8;line-clamp:8;-webkit-box-orient:vertical;flex-shrink:0;display:-webkit-box;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]:has(+[data-follow-summary-toggle]){margin-bottom:4px}.peach-react [data-follow-detail] [data-follow-summary-toggle]{flex-shrink:0;align-self:flex-start;margin:0 0 16px -8px}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{min-width:0;height:34px}.peach-react [data-follow-detail] [data-follow-detail-want][aria-pressed=true] svg{fill:currentColor}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail-tags]{margin-top:16px}.peach-react [data-item-detail] [data-item-placeholder]{aspect-ratio:16/9;place-items:center;padding:16px;display:grid}.peach-react [data-item-gallery]{flex-direction:column;justify-content:center;align-items:center;display:flex}.peach-react [data-item-gallery]>[class~=video-js]{flex:none;order:0}.peach-react [data-item-gallery]>[data-carousel-below]{flex:none;order:1}.peach-react [data-item-media]>[data-player-toolbar]{z-index:8;pointer-events:none;flex-wrap:wrap;align-items:center;gap:7px;display:flex;position:absolute;top:11px;left:11px;right:59px}.peach-react [data-player-toolbar]>:is([data-player-stats-slot],[data-player-net-slot]){display:contents}.peach-react [data-player-toolbar] :is([data-player-stats-button],[data-player-net],[data-jav-preview-toggle]){flex:none;position:relative;top:auto;left:auto}.peach-react [data-player-toolbar] button{pointer-events:auto}.peach-react [data-item-gallery][data-item-picture] [data-player-toolbar]>:is([data-player-stats-slot],[data-player-net-slot]),.peach-react [data-item-gallery][data-item-picture]>:is([class~=video-js],video,[data-item-gate],#playerStatsBtn,#playerStats,#playerNet,[data-ambient-canvas]){display:none}.peach-react [data-catalog-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-item-gallery][data-item-picture]>[role=note]{margin:24px}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-mix-queue] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-mix-queue] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-mix-queue] [data-queue-edition]{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;max-width:50%;font-style:normal;overflow:hidden}.peach-react [data-mix-queue] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-mix-queue] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-mix-queue] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-mix-queue] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-mix-queue] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-mix-queue] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:top;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{width:var(--control-h-inline);height:var(--control-h-inline);border:1px solid var(--line);background:var(--surface);color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] [data-cover-crop-host]{display:contents}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{margin-left:-4px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer]{--id-cell:58px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;margin-inline-start:calc((var(--id-face,46px) - var(--id-cell,62px)) / 2);display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer] [data-id-row]{gap:10px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:center;gap:5px;padding:0;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][hidden]{display:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-name]{font-size:var(--fs-xs);text-align:center;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][data-entity-kind]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-cast-more]{align-self:center;margin:0}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;flex:none;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{width:var(--icon-inline);height:var(--icon-inline);fill:currentColor;color:#ff669d}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{--hover:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-related]{--hover:color-mix(in srgb, var(--ink) 8%, var(--detail-surface))}}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:10px 15px 8px}.peach-react [data-item-related]>h3{text-overflow:ellipsis;white-space:nowrap;line-height:20px;font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 6px;overflow:hidden}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;min-height:calc(var(--detail-card-height) + 24px);height:calc(var(--detail-card-height) + 24px);scrollbar-width:none;gap:16px;margin:-4px -16px 0;padding:12px 16px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-item-related] [data-related-state]{min-width:0;height:calc(var(--detail-card-height) + 20px)}.peach-react [data-jav-detail] [data-jav-art]{flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:260px;display:flex;position:relative}.peach-react [data-jav-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react img[data-source-picture][hidden]{display:none!important}.peach-react [data-jav-picture-wait]{place-items:center;width:100%;min-width:0;min-height:300px;padding:24px;display:grid}.peach-react [data-jav-picture-wait]>[data-empty-state]{max-width:32rem}.peach-react [data-jav-picture-wait] [class~=skeleton-sheen]{width:100%;min-height:260px}.peach-react [data-jav-info]{min-width:0}.peach-react [data-jav-info]>*{flex-shrink:0}.peach-react [data-jav-info] p{overflow-wrap:anywhere}.peach-react [data-jav-facts]{color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;gap:8px 16px;margin-bottom:18px;display:flex}.peach-react [data-jav-facts]:empty{display:none}.peach-react [data-jav-facts] span{overflow-wrap:anywhere}.peach-react [data-jav-detail] [data-jav-actions]{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px;display:flex}.peach-react [data-jav-video]{width:100%;position:relative}.peach-react [data-jav-video]>[class~=video-js]{aspect-ratio:16/9;width:100%;height:auto;max-height:calc(76vh - 112px)}.peach-react [data-jav-video]>[role=note]{margin:16px}.peach-react [data-jav-preview-toggle]{box-sizing:border-box;z-index:5;border-radius:var(--pill-radius);color:#fff;height:40px;font-size:var(--fs-xs);white-space:nowrap;cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:0 12px;line-height:1;display:inline-flex;position:absolute;top:11px;left:11px}.peach-react [data-jav-preview-toggle]:hover{background:#000000c7}.peach-react [data-jav-preview-toggle] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-art][data-jav-playing]{flex-direction:column}.peach-react [data-jav-reviews],.peach-react [data-jav-resources]{flex-direction:column;gap:12px;margin-bottom:18px;display:flex}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary{min-height:var(--control-h);width:100%;font-size:var(--fs-md);gap:8px;font-weight:600}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary .contents svg{stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-review]{border-top:1px solid var(--line-soft);font-size:var(--fs-sm);padding-top:12px}.peach-react [data-jav-review-meta]{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;display:flex}.peach-react [data-jav-review] time{color:var(--muted)}.peach-react [data-item-detail] [data-review-rating]{margin:0}.peach-react [data-review-rating] [data-rating-stars]{margin-left:0}.peach-react [data-review-rating] [data-rating-icon],.peach-react [data-review-rating] [data-rating-stars] [data-rate],.peach-react [data-review-rating] [data-rating-stars] [data-rate] svg{width:16px;height:16px}.peach-react [data-review-rating] [data-rating-value]{display:none}@media (width>=761px){.peach-react [data-jav-detail]>[data-stage-side]{min-height:0}.peach-react [data-jav-detail] [data-stage-side-content]{max-height:none}}@media (width>=1081px){.peach-react [data-jav-detail]{grid-template-rows:minmax(0,1fr)}}.peach-react [data-jav-info]{overflow-anchor:none}.peach-react [data-jav-review] p:last-child,.peach-react [data-jav-summary]{white-space:pre-wrap}.peach-react [data-jav-failure]{min-height:260px;padding:48px 24px;position:relative}@media (width<=640px){.peach-react [data-jav-detail] [data-jav-art]{min-height:220px}}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-missing]{aspect-ratio:4/3;border-radius:var(--surface-radius);color:#ffffff9e;width:min(480px,80vw);font-size:var(--fs-sm);background:#ffffff0f;place-items:center;display:grid}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (width<=400px){.peach-react [data-photo-zoom] input{display:none}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-person-ring][data-native-clamp=true] img{object-fit:cover}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}.peach-react .index-feed-mark>span{color:var(--feed-mark);background:var(--feed-mark)}@supports (color:color-mix(in lab, red, red)){.peach-react .index-feed-mark>span{background:color-mix(in srgb,var(--feed-mark) 16%,var(--ground))}}.video-js{box-sizing:border-box;color:#fff;background:#000;font-family:inherit;font-size:10px;line-height:1;display:block;position:relative}.video-js>video-player{display:contents}.video-js>video-player>media-container{width:100%;height:100%;display:block;position:absolute;inset:0}.video-js :is(hlsjs-video,dash-video){display:contents}.video-js .vjs-tech{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.video-js .vjs-control-bar{z-index:2;width:100%;height:3em;display:flex;position:absolute;bottom:0;left:0}.video-js .vjs-picture-in-picture-control[data-peach-pip-supported][hidden]{display:block!important}.video-js .vjs-picture-in-picture-control[aria-disabled=true]{color:#ffffff73;cursor:not-allowed}.video-js .vjs-control{box-sizing:border-box;width:4em;height:3em;color:inherit;flex:none;position:relative}.video-js .vjs-button{cursor:pointer;color:inherit;font:inherit;outline-offset:2px;touch-action:manipulation;-webkit-user-select:none;user-select:none;background:0 0;border:0;padding:0;display:block}.video-js .vjs-button:focus-visible,.video-js media-slider-thumb:focus-visible{outline:2px solid var(--tungsten)}.video-js .vjs-slider{cursor:pointer;touch-action:none;display:block;position:relative}.video-js media-slider-track{display:block;position:absolute;inset:0}.video-js .vjs-play-progress,.video-js .vjs-load-progress,.video-js .vjs-volume-level{height:100%;display:block;position:absolute;top:0;left:0}.video-js .vjs-play-progress,.video-js .vjs-volume-level{width:var(--media-slider-fill,0%);background:#fff}.video-js .vjs-load-progress{width:var(--media-slider-buffer,0%);background:#ffffff59}.video-js media-slider-thumb{left:var(--media-slider-fill,0%);z-index:2;background:#fff;border-radius:50%;width:12px;height:12px;display:block;position:absolute;top:50%;transform:translate(-50%,-50%)}.video-js .vjs-loading-spinner{display:none;position:absolute}.video-js.vjs-waiting:not(.vjs-paused) .vjs-loading-spinner{display:block}.video-js .vjs-error-display{pointer-events:none;display:none;position:absolute;inset:0}.video-js.vjs-error .vjs-error-display{justify-content:center;align-items:center;display:flex}.video-js.vjs-user-inactive.vjs-playing .vjs-control-bar{opacity:0;pointer-events:none}.video-js.vjs-fullscreen{width:100%!important;height:100%!important;max-height:none!important;position:fixed!important;inset:0!important}.video-js media-container:fullscreen{background:#000;width:100vw;height:100vh}.video-js .vjs-modal-dialog-content{position:absolute}.video-js media-slider-value{visibility:hidden;position:absolute}.video-js .vjs-volume-panel:hover media-slider-value,.video-js .vjs-volume-panel:focus-within media-slider-value{visibility:visible}video.video-js{vertical-align:top;font-family:Arial,Helvetica,sans-serif;font-size:10px;line-height:1}[data-stage-media]{isolation:isolate;background:#000;justify-content:center;align-items:center;display:flex;position:relative}[data-ambient-canvas]{z-index:0;filter:blur(46px)saturate(1.45);opacity:.42;pointer-events:none;width:calc(100% + 68px);height:calc(100% + 68px);position:absolute;inset:-34px;transform:scale(1.06);-webkit-mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%);mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%)}[data-stage]:not([data-ambient]) [data-ambient-canvas]{display:none}[data-stage-media]>video,[data-stage-media]>.video-js{z-index:1;position:relative}[data-stage-media] video{width:100%;max-height:76vh;display:block}[data-stage-media]>video[hidden]{display:none}[data-stage-media]>.video-js{aspect-ratio:16/9;background:#000;width:100%;height:auto;max-height:76vh}[data-stage-media] .video-js .vjs-tech{object-fit:contain;max-height:none}[data-stage-media] .video-js .vjs-big-play-button{display:none}[data-stage-media] .video-js:not(:has(.vjs-peach-bezel)) .vjs-control-bar{visibility:hidden}[data-stage-media] .video-js .vjs-loading-spinner{z-index:18;opacity:1;background:0 0;border:0;border-radius:0;width:64px;height:64px;margin:0;padding:0;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-loading-spinner:before,[data-stage-media] .video-js .vjs-loading-spinner:after{content:none}.vjs-peach-spinner-container{pointer-events:none;width:100%;height:100%;animation:1.56824s linear infinite peach-spinner-linspin;position:absolute;top:0;left:0}.vjs-peach-spinner-rotator{width:100%;height:100%;animation:5.332s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-easespin;position:absolute}.vjs-peach-spinner-left,.vjs-peach-spinner-right{position:absolute;inset:0;overflow:hidden}.vjs-peach-spinner-left{right:49%}.vjs-peach-spinner-right{left:49%}.vjs-peach-spinner-circle{box-sizing:border-box;border:6px solid #ddd;border-bottom-color:#0000;border-radius:50%;width:200%;height:100%;position:absolute}.vjs-peach-spinner-left .vjs-peach-spinner-circle{border-right-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-left-spin;left:0;right:-100%}.vjs-peach-spinner-right .vjs-peach-spinner-circle{border-left-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-right-spin;left:-100%;right:0}@keyframes peach-spinner-linspin{to{transform:rotate(1turn)}}@keyframes peach-spinner-easespin{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(3turn)}}@keyframes peach-spinner-left-spin{0%{transform:rotate(130deg)}50%{transform:rotate(-5deg)}to{transform:rotate(130deg)}}@keyframes peach-spinner-right-spin{0%{transform:rotate(-130deg)}50%{transform:rotate(5deg)}to{transform:rotate(-130deg)}}[data-stage-media] .video-js{font-family:inherit}[data-stage-media] .video-js .vjs-control-bar{box-sizing:border-box;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-radius:0;align-items:flex-end;width:auto;height:59px;padding:3px 0 0;display:flex;bottom:8px;left:12px;right:12px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control{width:40px;height:40px;box-shadow:none;background:#0009;border:0;border-radius:50%;flex:0 0 40px;align-self:flex-end;margin:0 0 8px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control .vjs-icon-placeholder:before,[data-stage-media] .video-js .vjs-peach-right-controls .vjs-icon-placeholder:before{filter:drop-shadow(0 0 1px #000c);place-items:center;width:100%;height:100%;line-height:normal;display:grid}[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:before,[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:after{display:none}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control[data-peach-explicit-icon]>.vjs-icon-placeholder{display:none!important}.vjs-peach-control-icon{z-index:2;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);pointer-events:none;width:24px;height:24px;transition:transform .1s cubic-bezier(.05,0,0,1);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(1)}[data-stage-media] .video-js [data-peach-explicit-icon]:active>.vjs-peach-control-icon{transform:translate(-50%,-50%)scale(.9)}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-control-icon{width:26px;height:26px}.vjs-peach-morph-icon path{transition:d .2s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon .vjs-peach-volume-arc-inner,.vjs-peach-morph-icon .vjs-peach-volume-arc-outer{transform-box:view-box;transform-origin:0 0;transition:transform .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-inner{transform:translate(18px,12px)scale(0)translate(-18px,-12px)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-outer,.vjs-peach-morph-icon[data-loud=false] .vjs-peach-volume-arc-outer{transform:translate(22px,12px)scale(0)translate(-22px,-12px)}.vjs-peach-morph-icon .vjs-peach-volume-speaker{opacity:1;transition:opacity linear}.vjs-peach-morph-icon .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon .vjs-peach-volume-x{opacity:0;transition:opacity linear}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker{opacity:0;transition:opacity 0s linear .25s}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-x{opacity:1;transition:opacity 0s linear .25s}.vjs-peach-hover{z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;width:100%;height:32px;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;top:4px;left:0}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-hover{border-radius:50%;width:auto;height:auto;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:hover>.vjs-peach-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:focus-visible>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:hover>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:focus-within>.vjs-peach-hover{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:active>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:active>.vjs-peach-hover{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control .vjs-icon-placeholder,[data-stage-media] .video-js .vjs-peach-right-controls button,.vjs-peach-settings>button,.vjs-peach-theater>button{z-index:1;position:relative}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel{box-sizing:border-box;z-index:3;border-radius:var(--pill-radius);width:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);isolation:isolate;background:#0009;border:0;flex:0 0 40px;grid-template-columns:40px 0;align-self:flex-end;align-items:center;column-gap:0;margin:0 0 8px 12px;padding:0;transition:width .2s cubic-bezier(.05,0,0,1),flex-basis .2s cubic-bezier(.05,0,0,1),padding-right .2s cubic-bezier(.05,0,0,1);display:grid;position:relative;overflow:visible;height:40px!important}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:after{content:"";z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:active:after{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active{background:#0009;flex-basis:111px;grid-template-columns:40px 52px;column-gap:3px;width:111px;padding-right:16px}[data-stage][data-theater] [data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel,.video-js.vjs-fullscreen .vjs-control-bar>.vjs-volume-panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control{box-sizing:border-box;z-index:1;background:0 0;border:0;flex:0 0 40px;align-self:center;min-width:40px;width:40px!important;height:40px!important;margin:0!important;padding:0!important;position:relative!important;top:0!important;left:0!important;transform:none!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control>.vjs-peach-control-icon{width:18px;height:18px}[data-stage-media] .video-js .vjs-volume-panel>.vjs-volume-control.vjs-volume-horizontal{box-sizing:border-box;z-index:1;opacity:0;visibility:hidden;pointer-events:none;flex:0 0 52px;align-self:center;min-width:52px;min-height:36px;transition:opacity .1s cubic-bezier(0,0,.2,1);overflow:visible;width:52px!important;height:40px!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;top:0!important;left:0!important}[data-stage-media] .video-js .vjs-volume-panel:hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel:focus-within>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-slider-active>.vjs-volume-control.vjs-volume-horizontal{opacity:1;visibility:visible;pointer-events:auto;transition-delay:80ms}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal{box-sizing:border-box;background:0 0;transform:none;width:52px!important;height:40px!important;margin:0!important;position:absolute!important;top:0!important;left:0!important;right:auto!important;overflow:visible!important}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal:before{content:"";background:#ffffff4d;height:2px;margin-top:-1px;position:absolute;top:50%;left:0;right:0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level{background:#fff;height:2px;margin-top:-1px;top:50%;bottom:auto}[data-stage-media] .video-js .vjs-volume-panel .vjs-mouse-display{background:0 0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level:before{background:#fff;border-radius:50%;width:12px;height:12px;margin:0;font-size:0;top:50%;right:-6px;transform:translateY(-50%)}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-tooltip{float:none;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;font-family:inherit;font-size:var(--fs-sm);text-shadow:0 0 2px #000;white-space:nowrap;background:#0009;padding:5px 9px;font-weight:500;line-height:15px;top:auto;bottom:calc(50% + 31px);left:50%;overflow:visible;transform:translate(-50%);z-index:5!important;right:auto!important}.vjs-peach-right-controls{box-sizing:border-box;border-radius:var(--pill-radius);height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;flex:none;align-self:flex-end;align-items:center;margin:0 0 8px auto;padding:0 4px;display:flex;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control{box-sizing:border-box;min-width:48px;box-shadow:none;color:#fff;background:0 0;border:0;border-radius:0;flex:0 0 48px;margin:0;padding:0;position:relative;width:48px!important;height:40px!important}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button{width:100%;height:100%;color:inherit;background:0 0;border:0;margin:0;padding:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus-visible,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus-visible{box-shadow:none;outline:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-stage-media] .video-js .vjs-progress-control{z-index:2;align-items:flex-end;width:auto;min-width:0;height:18px;display:flex;position:absolute;top:-12px;left:0;right:0}[data-stage-media] .video-js .vjs-progress-control .vjs-progress-holder{background:0 0;border-radius:0;width:100%;height:18px;margin:0}[data-stage-media] .video-js .vjs-progress-holder>media-slider-track{background:#28282899;height:6px;transition:transform .2s cubic-bezier(.05,0,0,1);top:auto;bottom:0;transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover media-slider-track,[data-stage-media] .video-js .vjs-progress-control:focus-within media-slider-track{transform:scaleY(1)}[data-stage-media] .video-js .vjs-load-progress{background:#fff6}[data-stage-media] .video-js .vjs-load-progress div{background:#fff3}[data-stage-media] .video-js .vjs-play-progress{background:var(--tungsten)}[data-stage-media] .video-js .vjs-progress-thumb{background:var(--tungsten);transition:transform .2s cubic-bezier(.05,0,0,1);top:auto;bottom:-3px;transform:translate(-50%)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-thumb,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-thumb{transform:translate(-50%)scale(1.67)}[data-stage-media] .video-js .vjs-mouse-display .vjs-time-tooltip,[data-stage-media] .video-js .vjs-play-progress .vjs-time-tooltip{display:none!important}.vjs-peach-seek-preview{z-index:4;pointer-events:none;color:#fff;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:calc(100% - 2px);transform:translate(-50%)}.vjs-peach-seek-preview[hidden]{display:none}.vjs-peach-seek-frame{aspect-ratio:16/9;border-radius:var(--floating-radius);background:#000;border:2px solid #fff;width:240px;display:block;position:relative;overflow:hidden;box-shadow:0 8px 24px #0009}.vjs-peach-seek-frame[hidden]{display:none}.vjs-peach-seek-preview img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.vjs-peach-seek-preview span{border-radius:var(--pill-radius);min-width:58px;font-size:var(--fs-sm);text-align:center;background:#000000ad;margin-top:8px;padding:6px 10px;font-weight:600;line-height:1;box-shadow:0 2px 8px #0006}[data-stage-media] .video-js .vjs-custom-control-spacer{flex:auto;display:block}[data-stage-media] .video-js .vjs-time-control{display:none!important}[data-stage-media] .video-js .vjs-peach-time{box-sizing:border-box;border-radius:var(--pill-radius);color:#fff;cursor:pointer;isolation:isolate;width:auto;height:40px;font-weight:400;font-size:var(--fs-md);font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 1px #000c;background:#0009;border:0;flex:none;align-self:flex-end;margin:0 0 8px 12px;padding:0 16px;font-family:inherit;line-height:40px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-time:after{content:"";z-index:0;border-radius:var(--pill-radius);background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-peach-time:hover:after,[data-stage-media] .video-js .vjs-peach-time:focus-visible:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-peach-time:active:after{background:#fff3}[data-stage-media] .video-js .vjs-peach-time:focus-visible{outline:0}.vjs-peach-time-text{z-index:1;position:relative}.vjs-peach-settings,.vjs-peach-theater,.vjs-peach-expand{flex:0 0 48px;min-width:48px;position:relative;width:48px!important}.vjs-peach-settings>button,.vjs-peach-theater>button,.vjs-peach-expand>button{width:100%;height:100%;color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.vjs-peach-expand>button>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings>button>svg,.vjs-peach-theater>button>svg,.vjs-peach-caption-options>svg{stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings [data-player-quality-badge]{z-index:2;border-radius:var(--badge-radius);background:var(--tungsten);min-width:17px;height:12px;color:var(--ground);font-size:var(--fs-xs);transform-origin:100% 0;place-items:center;padding:0 2px;font-weight:600;line-height:1;display:grid;position:absolute;top:1px;right:4px;transform:scale(.67)}.vjs-peach-settings [data-player-quality-badge][hidden]{display:none}.vjs-peach-settings-menu{box-sizing:border-box;z-index:2300;width:min(274px,100vw - 28px);max-height:min(420px,calc(var(--peach-player-h,480px) - 74px),calc(100vh - 130px));border-radius:var(--floating-radius);box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;text-shadow:0 0 1px #000c;font-weight:400;font-size:var(--fs-md);opacity:1;visibility:visible;background:#0009;border:0;padding:0;font-family:inherit;line-height:1.3;transition:opacity .1s cubic-bezier(0,0,.2,1);position:absolute;bottom:52px;right:-100px;overflow:auto}.vjs-peach-settings-menu[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s cubic-bezier(.4,0,1,1),visibility 0s .1s}.vjs-peach-settings-menu.vjs-peach-popup-animating{pointer-events:none;transition:height .25s cubic-bezier(.4,0,.2,1);overflow:hidden}.vjs-peach-panel{position:relative}.vjs-peach-popup-animating .vjs-peach-panel{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-panel-leaving{width:100%;position:absolute;top:0;left:0}.vjs-peach-panel-animate-back{opacity:0;transform:translate(-100%)}.vjs-peach-panel-animate-forward{opacity:0;transform:translate(100%)}.vjs-peach-settings-menu button{box-sizing:border-box;isolation:isolate;border-radius:var(--control-radius);color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:relative;overflow:hidden}.vjs-peach-settings-menu button:before{content:"";z-index:0;border-radius:inherit;pointer-events:none;background:0 0;transition:background .1s cubic-bezier(.05,0,0,1);position:absolute;inset:0}.vjs-peach-settings-menu button:hover:before,.vjs-peach-settings-menu button:focus-visible:before{background:#ffffff1a}.vjs-peach-settings-menu button:active:before{background:#fff3}.vjs-peach-settings-menu button:focus-visible{outline:0}.vjs-peach-settings-menu button>*{z-index:1;position:relative}.video-js .vjs-peach-menu-row{text-align:left;grid-template-columns:56px minmax(0,1fr) minmax(0,max-content) 32px;align-items:center;gap:0;display:grid;padding:0!important}.vjs-peach-menu-row>svg{fill:currentColor;stroke:none;justify-self:start;width:24px;height:24px;margin-left:8px}.vjs-peach-menu-row>span{font-size:var(--fs-md);line-height:18.2px}.vjs-peach-menu-row>b{font-size:var(--fs-md);color:#ffffffb3;white-space:nowrap;padding-left:8px;font-weight:400;line-height:18.2px}.vjs-peach-menu-row>svg:last-child{color:#ffffffb3;fill:currentColor;stroke:none;justify-self:center;width:18px;height:18px;margin:0}.vjs-peach-menu-row>svg.vjs-peach-menu-line-icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.vjs-peach-menu-row[data-player-ambient]{grid-template-columns:56px minmax(0,1fr) auto;padding-right:8px!important}.vjs-peach-switch{box-sizing:border-box;border-radius:var(--floating-radius);background:#0000004d;width:40px;height:24px;display:block;position:relative}.vjs-peach-switch:after{content:"";width:20px;height:20px;box-shadow:none;background:#ffffffb3;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1),background .2s cubic-bezier(.05,0,0,1);position:absolute;top:2px;left:2px}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch{background:#ffffff4d}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch:after{background:#fff;transform:translate(16px)}.vjs-peach-panel-header{box-sizing:border-box;color:#eee;white-space:nowrap;border-bottom:1px solid #fff3;align-items:center;gap:0;height:57px;padding:8px 0;display:flex}.vjs-peach-panel-header .vjs-peach-menu-back{color:#eee;flex:0 0 48px;place-items:center;width:48px;min-height:48px;display:grid;border:0!important;border-radius:50%!important;height:48px!important}.vjs-peach-settings-menu .vjs-peach-panel-header .vjs-peach-menu-back:before{inset:4px}.vjs-peach-panel-header .vjs-peach-menu-back svg{fill:currentColor;stroke:none;width:32px;height:32px;display:block}.vjs-peach-panel-header strong{font-size:var(--fs-md);color:#eee;font-weight:500;line-height:18.2px}.vjs-peach-panel-menu{padding:8px}.video-js .vjs-peach-menu-option{text-align:left;grid-template-columns:40px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 8px!important}.vjs-peach-option-check{place-items:center;width:40px;height:24px;display:grid}.vjs-peach-option-check svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px;display:block}.vjs-peach-option-label{min-width:0}.vjs-peach-speed-panel{box-sizing:border-box;flex-direction:column;padding:24px 16px 16px;display:flex}.vjs-peach-speed-display{font-size:var(--fs-lg);color:#fff;justify-content:center;margin-bottom:24px;font-weight:600;line-height:22px;display:flex}.vjs-peach-speed-slider{align-items:center;gap:16px;margin-bottom:24px;display:flex}.vjs-peach-speed-chips{align-items:flex-start;gap:8px;display:flex}.vjs-peach-speed-preset{flex-direction:column;flex:0 53px;align-items:center;min-width:0;display:flex}.vjs-peach-speed-preset-label{font-size:var(--fs-xs);color:#ffffffb3;margin-top:4px;font-weight:400;line-height:14px}.vjs-peach-settings-menu .vjs-peach-speed-button{border-radius:var(--pill-radius);color:#fff;text-align:center;cursor:pointer;background:#ffffff1a;border:0;justify-content:center;align-items:center;height:32px;min-height:32px;padding:0;font-weight:500;line-height:16px;transition:background .2s cubic-bezier(.05,0,0,1);display:flex}.vjs-peach-settings-menu .vjs-peach-speed-button:before{content:none}.vjs-peach-settings-menu .vjs-peach-speed-button:hover{background:#fff3}.vjs-peach-settings-menu .vjs-peach-speed-button:active{background:#ffffff4d}.vjs-peach-speed-slider .vjs-peach-speed-button{flex:none;width:32px}.vjs-peach-speed-slider .vjs-peach-speed-button>svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;width:24px;height:24px;display:block}.vjs-peach-speed-chips .vjs-peach-speed-button{width:100%;font-size:var(--fs-xs);gap:4px}.vjs-peach-speed-range{--peach-speed-percent:0%;appearance:none;cursor:pointer;background:0 0;flex:auto;width:100%;min-width:0;height:24px;margin:0}.vjs-peach-speed-range:focus-visible{outline:0}.vjs-peach-speed-range::-webkit-slider-runnable-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-webkit-slider-thumb{appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:-6px}.vjs-peach-speed-range::-moz-range-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:16px;height:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-panel{padding:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-display,.video-js.vjs-peach-xsmall .vjs-peach-speed-slider{margin-bottom:16px}.vjs-peach-bezel{z-index:19;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;opacity:0;pointer-events:none;background:#0009;border-radius:50%;place-items:center;width:78px;height:78px;margin:-39px 0 0 -39px;display:grid;position:absolute;top:50%;left:50%}.vjs-peach-bezel[hidden]{display:none}.vjs-peach-bezel-icon{place-items:center;width:54px;height:54px;display:grid}.vjs-peach-bezel-icon svg{fill:currentColor;stroke:none;width:100%;height:100%;display:block}.vjs-peach-bezel-run{animation:1s cubic-bezier(.05,0,0,1) forwards peach-bezel-fadeout}@keyframes peach-bezel-fadeout{0%{opacity:0}25%,75%{opacity:1;transform:scale(1.33)}to{opacity:0;transform:scale(1)}}.video-js.vjs-peach-xsmall .vjs-peach-bezel{width:64px;height:64px;margin:-32px 0 0 -32px}.video-js.vjs-peach-xsmall .vjs-peach-bezel-icon{width:48px;height:48px}.video-js.vjs-waiting .vjs-peach-bezel,.video-js.vjs-seeking .vjs-peach-bezel,.video-js.vjs-error .vjs-peach-bezel{display:none}.vjs-peach-tooltip{z-index:5;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;white-space:nowrap;font-size:var(--fs-sm);text-shadow:0 0 2px #000;pointer-events:none;background:#0009;align-items:center;padding:5px 9px;font-weight:500;line-height:15px;display:none;position:absolute;bottom:calc(100% + 12px);right:50%;transform:translate(50%)}.vjs-peach-tooltip,.vjs-volume-tooltip{--surface-radius:8px;--badge-radius:4px}.vjs-peach-tooltip kbd{border-radius:var(--badge-radius);color:#fff;min-width:11px;font:inherit;border:1px solid #ffffff4d;justify-content:center;align-items:center;margin-left:4px;padding:0 2px;display:flex}.vjs-peach-tooltip kbd[hidden]{display:none}[data-stage-media] .video-js .vjs-control-bar button:hover>.vjs-peach-tooltip,[data-stage-media] .video-js .vjs-control-bar button:focus-visible>.vjs-peach-tooltip{display:flex}.vjs-peach-theater>button[aria-pressed=true]{color:#fff}@media (width<=640px){[data-stage-media] .video-js .vjs-control-bar{height:59px;padding:3px 0 0;bottom:6px;left:8px;right:8px}[data-stage-media] .video-js .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-tiny .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-x-small .vjs-progress-control{height:18px;display:flex;top:-12px;left:0;right:0}[data-stage-media] .video-js.vjs-layout-small .vjs-current-time,[data-stage-media] .video-js.vjs-layout-small .vjs-duration,[data-stage-media] .video-js.vjs-layout-small .vjs-time-divider{display:flex}[data-stage-media] .video-js .vjs-time-control{font-size:var(--fs-xs)}.vjs-peach-seek-frame{width:160px}.vjs-peach-settings-menu{border-radius:var(--floating-radius);width:min(274px,100vw - 16px);right:-100px}}.vjs-peach-expand{display:none}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control{flex:0 0 36px;min-width:36px;width:36px!important}.video-js.vjs-peach-xsmall .vjs-peach-right-controls .vjs-peach-control-icon,.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-expand)>button>svg{width:18px;height:18px}.video-js.vjs-peach-xsmall .vjs-peach-expand>button>svg{width:32px;height:32px}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control>.vjs-peach-hover{border-radius:50%;width:32px;height:32px;left:2px}.video-js.vjs-peach-xsmall .vjs-peach-settings-menu{width:min(274px,100vw - 48px);max-height:calc(var(--peach-player-h,420px) - 74px);right:0}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu{padding:4px 8px}.video-js.vjs-peach-xsmall .vjs-peach-menu-option{min-height:44px}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu:has(>.vjs-peach-menu-option:nth-child(5)){grid-template-columns:1fr 1fr;display:grid}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:none}.video-js.vjs-peach-xsmall .vjs-peach-expand,.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:block}.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-time{display:none}.vjs-peach-expand>button>svg{transition:transform .3s cubic-bezier(.05,0,0,1);transform:rotate(180deg)}.video-js.vjs-peach-right-expanded .vjs-peach-expand>button>svg{transform:rotate(0)}[data-stage-media] .video-js.vjs-error .vjs-error-display{background:0 0}[data-stage-media] .video-js.vjs-error .vjs-error-display .vjs-modal-dialog-content{z-index:9;border-radius:var(--surface-radius);text-align:center;overflow-wrap:anywhere;background:#020408db;justify-content:center;align-items:center;width:max-content;max-width:min(560px,100% - 48px);height:auto;padding:14px 18px;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js){aspect-ratio:auto!important;z-index:10000!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;padding:0!important;position:fixed!important;inset:0!important}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js) .vjs-tech{object-fit:contain!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;position:absolute!important;inset:0!important}[data-player-stats-button]{z-index:8;color:#fff;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;left:11px;overflow:hidden}[data-player-stats-button][hidden]{display:none}[data-player-stats-button]:after,[data-stage-close]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-player-stats-button]:hover:after,[data-player-stats-button]:focus-visible:after,[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#ffffff1a}[data-player-stats-button]:active:after,[data-stage-close]:active:after{background:#fff3}[data-player-stats-button]:focus-visible,[data-stage-close]:focus-visible{outline:0}[data-player-stats-button][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-player-stats-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}[data-player-stats]{z-index:8;overscroll-behavior:contain;border-radius:var(--surface-radius);color:#eef3f8;-webkit-backdrop-filter:saturate(1.25)blur(14px);backdrop-filter:saturate(1.25)blur(14px);min-width:320px;max-width:min(520px,100% - 22px);max-height:calc(100% - 114px);font-size:var(--fs-xs);background:#020408c7;border:1px solid #ffffff2e;padding:10px 12px;font-family:inherit;line-height:1.5;position:absolute;top:58px;left:11px;overflow-y:auto;box-shadow:0 12px 28px #0008}[data-player-stats] dl{grid-template-columns:max-content minmax(0,1fr);gap:1px 12px;margin:0;display:grid}[data-player-stats] dt{text-align:right;font-weight:600}[data-player-stats] dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:166px minmax(0,1fr);align-items:center;gap:9px;display:grid;overflow:visible}[data-player-stats-metric]>span{text-overflow:ellipsis;overflow:hidden}[data-player-stats-plot]{background:#000;grid-template-columns:repeat(24,minmax(2px,1fr));align-items:end;gap:1px;height:20px;padding:2px;display:grid;overflow:hidden}[data-player-stats-plot] i{background:0 0;min-height:0;display:block}[data-player-stats-plot=speed] i[data-bar]{background:#55b5bd}[data-player-stats-plot=activity] i[data-bar]{background:#4ba8df}[data-player-stats-plot=buffer] i[data-bar]{background:#d8e98a}[data-player-stats-plot=buffer] i[data-bar=mid]{background:#efb55f}[data-player-stats-plot=buffer] i[data-bar=low]{background:#e16962}[data-player-stats][hidden]{display:none}@media (width<=600px){[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:96px minmax(0,1fr)}}[data-player-net]{box-sizing:border-box;z-index:8;white-space:nowrap;border-radius:var(--floating-radius);color:#fff;height:40px;min-height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:var(--fs-xs);background:#0009;border:0;align-items:center;gap:7px;padding:0 11px;font-family:inherit;line-height:1;display:flex;position:absolute;top:11px;left:58px}[data-player-net] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none}[data-player-net][hidden],[data-stage-media] video[hidden]{display:none}[data-stage-close]{z-index:9;color:#f0e9de;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;right:11px;overflow:hidden}[data-stage-close] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}#playerMenu[data-player-context-menu]{border-radius:var(--floating-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:none;color:#fff;text-shadow:0 0 1px #000c;background:#0009;border:0;gap:0;min-width:240px;max-width:calc(100vw - 16px);padding:8px}[data-player-context-menu][popover]{margin:0;inset:auto}#playerMenu>[data-player-menu]{box-sizing:border-box;border-radius:var(--control-radius);width:100%;min-height:48px;box-shadow:none;color:#fff;font:inherit;font-size:var(--fs-md);text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;grid-template-columns:56px minmax(0,1fr) 32px;align-items:center;gap:0;margin:0;padding:0;font-weight:400;line-height:18.2px;display:grid}#playerMenu>[data-player-menu]:hover,#playerMenu>[data-player-menu]:focus-visible{color:#fff;background:#ffffff1a;outline:0}#playerMenu>[data-player-menu]:active{background:#fff3}[data-player-menu]>svg{stroke:currentColor;fill:none;stroke-width:2px;justify-self:start;width:24px;height:24px;margin-left:8px}[data-player-menu]>svg[data-player-menu-fill]{fill:currentColor;stroke:none}[data-player-menu]>span{text-overflow:ellipsis;overflow:hidden}[data-player-menu]>[data-player-menu-check]{visibility:hidden;grid-column:3;justify-self:center;width:18px;height:18px;margin:0}[data-player-menu][aria-checked=true]>[data-player-menu-check]{visibility:visible}.video-js .vjs-subtitles-control>button{z-index:1;place-items:center;display:grid;position:relative}.video-js .vjs-subtitles-control>button>svg,.vjs-peach-menu-cc>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;display:block}.video-js .vjs-subtitles-control>button[aria-pressed=true]:after{content:"";background:var(--tungsten);width:18px;height:2px;position:absolute;bottom:5px;left:calc(50% - 9px)}.video-js.vjs-peach-xsmall .vjs-subtitles-control>button>svg{width:27px;height:27px}.vjs-peach-menu-cc{place-items:center;width:40px;display:grid}.video-js .vjs-peach-menu-option[data-subtitle-track]{padding-block:10px!important}.vjs-peach-menu-option[data-subtitle-track] .vjs-peach-option-label{overflow-wrap:anywhere}[data-player-subtitles] b{text-overflow:ellipsis;max-width:90px;overflow:hidden}.vjs-peach-settings-menu .vjs-peach-caption-options{flex:0 0 48px;place-items:center;width:48px;margin-left:auto;padding:0;display:grid}.vjs-peach-settings-menu .vjs-peach-caption-action{text-align:left;overflow-wrap:anywhere;padding:10px 16px}.vjs-peach-settings-menu [data-subtitle-track]~.vjs-peach-caption-action{padding-left:48px}.vjs-peach-settings-menu .vjs-peach-caption-setting{text-align:left;grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:12px;padding:0 12px;display:grid}.vjs-peach-caption-setting b{color:#ffffffb3;white-space:nowrap;font-weight:400}.vjs-peach-caption-setting svg{fill:currentColor;stroke:none;width:18px;height:18px}.vjs-peach-subtitle-status{font-size:var(--fs-sm);overflow-wrap:anywhere;align-items:center;gap:8px;margin:0;padding:8px 16px;line-height:1.5;display:flex}.vjs-peach-subtitle-status[data-error]{color:var(--drop)}.vjs-peach-subtitle-status[hidden]{display:none}.vjs-peach-subtitle-search{padding:8px}.vjs-peach-subtitle-search a{font-size:var(--fs-sm);color:#fff;margin:8px 16px;text-decoration:underline;display:inline-block}.vjs-peach-settings-menu .vjs-peach-subtitle-result{text-align:left;overflow-wrap:anywhere;flex-direction:column;align-items:flex-start;gap:4px;padding:10px 16px;line-height:1.4;display:flex}.vjs-peach-subtitle-result small{color:#ffffffb3;font-size:var(--fs-sm)}.vjs-peach-settings-menu:has([data-subtitle-style]){overscroll-behavior:contain}.video-js[data-peach-captions] video::cue{color:#0000;text-shadow:none;background:0 0}.video-js[data-peach-captions] video::-webkit-media-text-track-container{display:none}.vjs-peach-captions{z-index:1;pointer-events:none;font-family:var(--peach-caption-font);font-size:calc(clamp(14px,calc(var(--peach-player-h,480px)*.045),32px)*var(--peach-caption-scale));font-variant:var(--peach-caption-variant);text-align:center;color:var(--peach-caption-color);text-shadow:var(--peach-caption-edge);justify-content:center;font-weight:400;line-height:1.3;display:flex;position:absolute;bottom:80px;left:5%;right:5%}.vjs-peach-captions[hidden]{display:none}.vjs-peach-caption-window{background:var(--peach-caption-window);max-width:100%;padding:.15em .3em}.vjs-peach-caption-line{white-space:pre-line;overflow-wrap:anywhere;background:var(--peach-caption-background);-webkit-box-decoration-break:clone;box-decoration-break:clone;width:fit-content;max-width:100%;margin:0 auto;padding:0 .15em;display:block}.video-js.vjs-user-inactive.vjs-playing .vjs-peach-captions{bottom:5%}:root{--stage-shadow:#0000000a;--miniplayer-shadow-near:#00000029;--miniplayer-shadow-far:#0003}.dark{--stage-shadow:#0006;--miniplayer-shadow-near:#00000080;--miniplayer-shadow-far:#0000008c}[data-stage],[data-detail-continuation]{--detail-card-width:clamp(184px,24dvh,208px);--detail-card-meta-height:calc(var(--fs-md) * 2.7 + 8px + 20px + var(--fs-xs) * 1.45);--detail-card-height:calc(var(--detail-card-width) * 9 / 16 + 6px + var(--detail-card-meta-height));--detail-continuation-height:calc(var(--detail-card-height) + 65px + var(--detail-continuation-extra,0px))}[data-stage]:has([data-detail-continuation]>[data-mix-queue]),[data-detail-continuation]:has(>[data-mix-queue]){--detail-continuation-extra:20px}[data-stage]{--detail-media-height:76dvh;--detail-surface:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){[data-stage]{--detail-surface:color-mix(in srgb,var(--video-glow,#15202a) 12%,var(--surface) 88%)}}[data-stage]{width:min(1440px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);color:var(--ink);border-radius:var(--floating-radius);overscroll-behavior:contain;background:radial-gradient(circle at 28% 24%,var(--video-glow,#15202a),transparent 58%), var(--surface);margin:auto;padding:0;position:fixed;inset:16px}@supports (color:color-mix(in lab, red, red)){[data-stage]{background:radial-gradient(circle at 28% 24%,color-mix(in srgb,var(--video-glow,#15202a) 40%,transparent),transparent 58%), color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage]{scroll-margin-top:calc(var(--topH) + 8px);border:1px solid var(--line);overflow:auto}[data-stage]::backdrop{background:var(--scrim)}[data-stage]:focus-visible{outline:none}[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - 32px)}[data-stage][data-stage-kind]:is([data-stage-kind=item],[data-stage-kind=jav])>[data-stage-scroll]{height:100%;max-height:100%;display:block;overflow:hidden auto}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:76dvh;--detail-gallery-height:calc(var(--detail-media-height) - 116px)}@media (width>=1081px){[data-stage][data-stage-kind=jav]{--detail-media-height:calc(100dvh - 34px)}[data-stage][data-stage-kind=item]{--detail-media-height:max(0px,min(calc(100dvh - 34px - var(--detail-continuation-height)),76dvh))}}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:var(--detail-media-height);flex:none}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]) [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage] [data-stage-media]>.video-js{max-height:100%}[data-stage] [data-skeleton=detail] [data-stage-media]{aspect-ratio:auto;width:100%;max-width:100%;max-height:none}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr) 116px;grid-template-columns:minmax(0,1fr);place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery])>:is([data-jav-picture],[data-catalog-picture],[data-jav-picture-wait],[data-jav-video],[class~=video-js],[role=note]){min-height:0;max-height:var(--detail-gallery-height);height:var(--detail-gallery-height);object-fit:contain;grid-area:1/1;width:100%}[data-item-samples-state]{z-index:2;position:absolute;bottom:44px;right:16px}[data-stage] :is([data-jav-art],[data-item-gallery])>[data-carousel-below]{box-sizing:border-box;grid-area:2/1;align-self:end;min-width:0}[data-stage] [data-jav-video]{place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-video]>[class~=video-js],[data-item-gallery]>[class~=video-js]){width:min(100%,calc(var(--detail-gallery-height) * 16 / 9));height:auto;max-height:var(--detail-gallery-height);aspect-ratio:16/9}@media (width<=1080px){[data-stage][data-stage-kind=follow]{--detail-media-height:min(56dvh,56.25vw)}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:min(56dvh,calc(56.25vw + 116px))}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:auto}}@media (width<=760px){[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - env(safe-area-inset-top) - 16px)}}body[data-detail-open]{--glow-drift-play:paused;overflow:hidden}body[data-detail-open] [class~=glowlayer]:before{animation-play-state:paused,paused,running}@supports (color:color-mix(in lab, red, red)){[data-stage]:not([data-ambient]){background:color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage-grid]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);display:grid}[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);grid-template-areas:"media side";align-items:start}[data-stage-grid][data-with-queue]>[data-stage-media]{grid-area:media}[data-stage-grid][data-with-queue]>[data-stage-side]{background:var(--detail-surface);grid-area:side}[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);max-height:360px}[data-detail-continuation] [data-mix-queue-actions] [data-queue-close]{display:none}[data-detail-continuation]{background:var(--detail-surface);flex:none;grid-template-columns:minmax(0,1fr);min-width:0;display:grid}[data-detail-continuation]:empty{display:none}[data-detail-continuation]>[data-item-related]{min-width:0}@media (width>=1081px){[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related]){grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}[data-detail-continuation][data-queue-cards="1"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) + 28px)) minmax(0,1fr)}[data-detail-continuation][data-queue-cards="2"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) * 2 + 38px)) minmax(0,1fr)}[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related])>:is([data-mix-queue],[data-item-related]){grid-template-rows:subgrid;grid-row:span 2;row-gap:0;display:grid}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue]{grid-column:1}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related]{border-left:1px solid var(--line-soft);padding-top:14px}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related] h3{align-self:start;margin:0;padding-bottom:11px}[data-detail-continuation]:has(>[data-mix-queue])>[data-item-related]{grid-column:2}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue] [data-mix-list]{padding-top:8px}}.peach-react [data-detail-continuation] [data-media-card][data-variant=next]{width:var(--detail-card-width);isolation:isolate;gap:6px}.peach-react [data-detail-continuation] [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9;flex:none}.peach-react [data-detail-continuation] [data-media-card][data-variant=next] [data-media-meta]{height:var(--detail-card-meta-height);flex:none}[data-detail-continuation] [data-media-card][data-variant=next] [data-media-text]{gap:4px}.peach-react [data-detail-continuation] [data-media-card][data-variant=next] [data-media-next-reason]{white-space:nowrap;text-overflow:ellipsis;min-height:1.45em;max-height:1.45em;display:block}.peach-react [data-detail-continuation] [data-media-card][data-variant=next]:is(:hover,:focus-within){box-shadow:none;background:0 0}[data-detail-continuation] [data-media-card][data-variant=next]:before{content:"";z-index:-1;border-radius:calc(var(--surface-radius) + 8px);background:var(--library-hover,var(--hover));opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:-8px}[data-detail-continuation] [data-media-card][data-variant=next]:is(:hover,:focus-within):before{opacity:1}.peach-react [data-detail-continuation] [data-media-card][data-variant=next][data-longhover]{filter:none;transform:none}[data-detail-continuation]:has(>[data-mix-queue]) [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9}[data-mix-queue]{border-left:1px solid var(--line-soft);background:var(--video-glow,#15202a);flex-direction:column;min-width:0;max-height:76vh;display:flex}@supports (color:color-mix(in lab, red, red)){[data-mix-queue]{background:color-mix(in srgb,var(--video-glow,#15202a) 10%,var(--surface) 90%)}}[data-mix-queue-head]{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:70px;padding:12px 12px 10px 15px;display:grid}[data-mix-queue-head] h2{text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-lg);margin:0;overflow:hidden}[data-mix-queue-head] span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px;display:block}[data-mix-queue-head] button{border-radius:var(--control-radius);width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}[data-mix-queue-head] button:hover{background:var(--hover)}[data-mix-queue-head] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px}[data-mix-queue-actions]{align-items:center;gap:2px;display:flex}[data-mix-list]{min-height:0;padding:6px;overflow-y:auto}[data-mix-row]{border-radius:var(--control-radius);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}[data-mix-row]:has([data-mix-item][aria-current=true]){background:var(--hover)}[data-mix-row] [data-mix-item][aria-current=true]{background:0 0}[data-mix-item]{border-radius:var(--control-radius);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:10px;padding:7px;display:grid}[data-mix-item]:hover{background:var(--overlay-5)}[data-mix-item][aria-current=true]{background:var(--hover)}[data-mix-item-pic]{aspect-ratio:16/9;clip-path:inset(0 round var(--badge-radius));background:#000;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}[data-mix-item-pic] img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}[data-mix-item-pic] [data-mix-item-duration]{bottom:3px;right:4px}[data-mix-item-meta]{align-items:center;gap:10px;min-width:0;display:flex}[data-mix-item-meta] [class~=mav]{cursor:inherit}[data-mix-item-meta] [class~=mav]:hover{box-shadow:none}[data-mix-item-meta] [class~=mavstack] [class~=mav]{box-shadow:0 0 0 2px var(--ground)}[data-mix-item-text]{min-width:0}[data-mix-item-text] b,[data-mix-item-text] span{white-space:nowrap;display:block;overflow:hidden}[data-mix-item-text] [data-truncate-end]{text-overflow:ellipsis}[data-mix-item-text] b{font-size:var(--fs-xs);line-height:1.4}[data-mix-item-text] span{font-size:var(--fs-xs);color:var(--muted);margin-top:3px}[data-mix-row][data-queue-row]{cursor:grab;position:relative}[data-mix-row][data-queue-row]:active{cursor:grabbing}[data-mix-row][class~=dragging]{opacity:.42}[data-mix-row][class~=drop-before]:before,[data-mix-row][class~=drop-after]:after{content:"";z-index:4;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:6px;right:6px}[data-mix-row][class~=drop-before]:before{top:-3px}[data-mix-row][class~=drop-after]:after{bottom:-3px}[data-detail-continuation]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-list]{grid-auto-flow:column;grid-auto-columns:var(--detail-card-width);overscroll-behavior-inline:contain;scroll-snap-type:x proximity;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-detail-continuation]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-detail-continuation]>[data-mix-queue] [data-mix-item]:hover,[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-pic]{width:100%}[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]:after{content:"";z-index:1;border-radius:var(--badge-radius);box-shadow:inset 0 0 0 2px var(--ink),inset 0 0 0 4px var(--ground);pointer-events:none;position:absolute;inset:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-detail-continuation]>[data-mix-queue] [data-mix-item][data-media-kind=image] [data-mix-item-pic] img{object-fit:cover}[data-stage-scroll]>.peach-react{font:inherit;color:inherit;-webkit-font-smoothing:inherit;font-variant-ligatures:inherit;font-kerning:inherit;display:contents}@media (width>=1081px){[data-stage]:not([data-theater])>[data-stage-scroll]{flex-direction:column;max-height:calc(100dvh - 34px);display:flex}[data-stage]:not([data-theater])>[data-stage-scroll]>[data-stage-grid],[data-stage]:not([data-theater])>[data-stage-scroll]>.peach-react>[data-stage-grid]{flex:auto;min-height:0}[data-stage]:not([data-theater]) [data-stage-grid]>[data-stage-media]{min-height:0}[data-stage]:not([data-theater]) [data-stage-media]>.video-js{max-height:min(76vh,100%)}[data-stage][data-theater]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage-grid][data-with-queue]>[data-stage-media]{align-self:stretch}[data-stage][data-theater] [data-stage-grid]{grid-template-columns:minmax(0,1fr)}[data-stage][data-theater] [data-stage-grid]:not([data-with-queue])>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:1}[data-stage][data-theater] [data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage][data-theater] [data-stage-side-content]:is(*){height:auto;max-height:none}[data-stage][data-theater] [data-stage-media]>.video-js,[data-stage][data-theater] [data-stage-media]>video{max-height:calc(100vh - var(--topH) - 56px)}}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:minmax(0,max-content) max-content minmax(0,1fr);gap:5px 8px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-actions]{grid-area:1/2;align-self:center}[data-mix-item-duration]{z-index:2;color:#f2eadf;border-radius:var(--badge-radius);background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}[data-stage-side]{border-left:1px solid var(--line-soft);background:var(--detail-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-self:stretch;min-width:0;min-height:0;overflow:hidden}[data-stage-side-content]{box-sizing:border-box;flex-direction:column;gap:0;width:100%;height:100%;max-height:76vh;padding:18px;display:flex;overflow:hidden auto}[data-stage-title]{font-size:var(--fs-lg);overflow-wrap:anywhere;margin-bottom:8px;line-height:1.4}[data-stage-meta]{color:var(--muted);flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}[data-local-playback]{flex-direction:column;flex:none;gap:8px;margin:0 0 12px;display:flex}[data-local-playback-row]{align-items:center;gap:8px;min-width:0;display:flex}[data-local-playback-row]>div{flex:1;min-width:0}[data-local-playback-row] .ui-gselect{width:100%;display:block}[data-local-playback-row] [data-select-trigger]{width:100%;height:var(--control-h)}[data-local-playback-row]>button{height:var(--control-h);white-space:nowrap;flex:none}[data-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-detail-continuation]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,[data-player-seek-preview],.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:nowrap;gap:4px;width:max-content;max-width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]){border-radius:var(--control-radius);background:var(--surface);border:0;flex:0 36px;place-items:center;width:36px;min-width:30px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]) svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]{color:var(--ink-2)}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]:hover{background:var(--hover)}[data-stage-side-content] [data-stage-actions] button:disabled{background:var(--surface);color:var(--muted);cursor:not-allowed}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}[data-stage][data-theater]{--detail-gallery-height:var(--detail-media-height)}[data-stage][data-theater] [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage][data-theater] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr)}[data-stage][data-theater] :is([data-media-carousel][data-carousel-below],[data-item-samples-state]){display:none}[data-stage][data-theater] [data-stage-scroll] :is([data-stage-media]>.video-js,[data-stage-media]>video,[data-jav-video]>.video-js){aspect-ratio:auto;width:100%;height:100%;max-height:none}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);overflow-wrap:anywhere;margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row]:has(#performerNameLanguageSetting){align-items:start}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-sort-controls] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;flex-direction:column;gap:20px;min-width:0;display:flex}[data-settings-panel] [data-glow-setting][hidden]{display:none}[data-settings-panel] [data-glow-current]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;margin:0;display:flex}[data-settings-panel] [data-glow-current] b{color:var(--ink);font-weight:500}[data-settings-panel] [data-glow-setting] [data-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}[data-settings-panel] [data-glow-group]{flex-direction:column;gap:8px;min-width:0;display:flex}[data-settings-panel] [data-glow-card]{padding-right:10px}[data-settings-panel] [data-glow-native-note]{padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);margin:0;line-height:1.6}[data-settings-panel] [data-glow-fields]{flex-direction:column;gap:0;min-width:0;display:flex}[data-settings-panel] [data-glow-field]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);align-items:center;gap:10px;min-width:0;display:flex}[data-settings-panel] [data-glow-field][hidden],[data-settings-panel] [data-glow-group][hidden]{display:none}[data-settings-panel] [data-glow-field-label]{width:84px;color:var(--muted);font-size:var(--fs-xs);white-space:nowrap;flex:none;font-weight:400}[data-settings-panel] [data-glow-field] [class~=ui-dial]{flex:1;min-width:0}[data-settings-panel] [data-glow-stops]{min-width:0;display:grid}[data-settings-panel] [data-glow-colour-card]{overflow:hidden}[data-settings-panel] [data-glow-stop]{border-bottom:1px solid var(--line-soft);min-width:0;position:relative}[data-settings-panel] [data-glow-stop]:last-child{border-bottom:0}[data-settings-panel] [data-glow-stop-toggle]{width:calc(100% + 12px);min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 10px var(--glowrow-pad) 12px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:0;align-items:center;gap:10px;margin-left:-12px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover,[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{z-index:1;background:var(--control-hover);box-shadow:0 -1px 0 var(--control-hover),0 1px 0 var(--control-hover);position:relative}[data-settings-panel] [data-glow-stop-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-settings-panel] [data-glow-stop-toggle]>svg{width:var(--icon-inline);height:var(--icon-inline);color:var(--muted);stroke:currentColor;fill:none;flex:none;margin-left:auto}[data-settings-panel] [data-glow-stop-dot]{background:var(--glow-swatch,var(--line));width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light),inset 0 -1px 2px var(--overlay-5),0 0 0 1px var(--border-15);border-radius:50%;flex:none}[data-settings-panel] [data-glow-stop-text]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop-text]>b{font-size:var(--fs-sm);font-weight:400}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{flex-direction:column;gap:0;display:flex;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width:none;flex:none;gap:6px;padding:8px;display:flex;overflow-x:auto}[data-settings-panel] [data-glow-pills]::-webkit-scrollbar{display:none}[data-settings-panel] [data-glow-pill]{border-radius:var(--pill-radius);background:var(--ink);border:0;flex:none;padding:5px 13px}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-pill]{background:color-mix(in srgb,var(--ink) 6%,transparent)}}[data-settings-panel] [data-glow-pill]{color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;font-weight:500}[data-settings-panel] [data-glow-pill][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-glow-pill]:not([aria-pressed=true]):hover{color:var(--ink)}[data-settings-panel] [data-glow-pill]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-palette-frame]{flex-direction:column;min-height:0;display:flex;position:relative;overflow:hidden}[data-settings-panel] [data-glow-palette]{overscroll-behavior:contain;flex:1;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;min-height:0;max-height:218px;padding:10px;display:grid;overflow-y:auto}[data-settings-panel] [data-glow-swatch]{border:1px solid var(--border-15);background:var(--glow-swatch);width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light);cursor:pointer;border-radius:50%;padding:0;transition:transform .12s}[data-settings-panel] [data-glow-swatch][hidden]{display:none}[data-settings-panel] [data-glow-swatch]:hover{transform:scale(1.055)}[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{background:var(--glow-swatch);box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 30%,transparent)}}[data-settings-panel] [data-glow-swatch]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-actions]{padding:var(--glowrow-pad) 10px var(--glowrow-pad) 12px;border-top:1px solid var(--line-soft);border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;background:var(--board-card-foot);justify-content:flex-end;margin:0 -10px 0 -12px;display:flex}[data-settings-panel] [data-glow-actions] button[data-glow-reset]{font:var(--board-body)}[data-settings-panel] [data-setting-group] :is([data-setting-row],[data-glow-setting])+[data-sidebar-setting]{border-top:1px solid var(--line-soft)}[data-settings-panel] [data-sidebar-setting]{gap:12px;padding:0;display:grid}[data-settings-panel] [data-sidebar-setting]>span b,[data-settings-panel] [data-sidebar-setting]>span small{display:block}[data-settings-panel] [data-sidebar-setting]>span small{color:var(--muted);margin-top:3px;line-height:1.45}[data-settings-panel] [data-sidebar-order]{gap:6px;display:grid}[data-settings-panel] [data-sidebar-row]{min-height:var(--control-h);border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--surface);cursor:grab;justify-content:space-between;align-items:center;padding:1px 5px;display:flex;position:relative}[data-settings-panel] [data-sidebar-row]:active{cursor:grabbing}[data-settings-panel] [data-sidebar-row][data-dragging]{opacity:.42}[data-settings-panel] [data-sidebar-row][data-drop=before]:before,[data-settings-panel] [data-sidebar-row][data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-settings-panel] [data-sidebar-row][data-drop=before]:before{top:-5px}[data-settings-panel] [data-sidebar-row][data-drop=after]:after{bottom:-5px}[data-settings-panel] [data-sidebar-row]>span{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-sidebar-row] svg{stroke:currentColor;fill:none;width:18px;height:18px}[data-settings-panel] [data-sidebar-label]>svg{width:var(--icon-inline);height:var(--icon-inline)}[data-settings-panel] [data-sidebar-label]{min-width:0}[data-settings-panel] [data-sidebar-label]>b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[data-settings-panel] [data-sidebar-grip]{width:24px;color:var(--muted);place-items:center;display:grid}[data-settings-panel] [data-sidebar-grip] svg{width:20px;height:20px}[data-settings-panel] [data-sidebar-actions]{flex:none}[data-settings-panel] [data-sidebar-row] button,[data-settings-panel] [data-sidebar-add-menu] button{min-width:var(--control-h-compact);height:var(--control-h-compact);border-radius:var(--control-radius);color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}[data-settings-panel] [data-sidebar-row] button:hover:not(:disabled),[data-settings-panel] [data-sidebar-add-menu] button:hover:not(:disabled){background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-row] button:disabled,[data-settings-panel] [data-sidebar-add-menu] button:disabled{opacity:.25;cursor:not-allowed}[data-settings-panel] [data-sidebar-add-row]{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:5px;display:grid}[data-settings-panel] [data-sidebar-add-picker]{min-width:0;position:relative}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]{width:100%;height:var(--control-h);box-sizing:border-box;border:1px solid var(--field-ring);border-radius:var(--control-radius);background:var(--ground);color:var(--ink);text-align:left;font:inherit;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;place-items:center start;gap:9px;padding:0 11px;display:grid}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:hover:not(:disabled){border-color:var(--field-ring-hover)}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-sidebar-add-trigger] svg:last-child{color:var(--muted);justify-self:end}[data-settings-panel] [data-sidebar-add-menu]{z-index:4;max-height:min(312px,48vh);position:absolute;bottom:calc(100% + 6px);left:0;right:0}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{width:100%;height:var(--control-h);text-align:left;border:0;grid-template-columns:auto minmax(0,1fr)}[data-settings-panel] [data-sidebar-add-menu] button[aria-selected=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-add-row] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none}@media (width<=600px){[data-settings-panel] [data-settings-scroll]{padding:0 17px 17px}[data-settings-panel] [data-settings-head]{padding:17px 17px 14px}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=ui-pcheck]{justify-self:start}}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{justify-items:start}[data-settings-panel] [data-number-control]:has([aria-invalid=true]){animation:field-shake var(--board-motion)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-sidebar-setting]{margin:0!important;padding:10px 10px 10px 0!important}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-number-setting]{flex-direction:row-reverse;align-items:center;gap:12px;display:flex}[data-settings-panel] [data-number-fields][hidden]{display:none}[data-settings-panel] [data-number-control] input::-webkit-inner-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input::-webkit-outer-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input{appearance:textfield}:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){--settings-gap:16px;background:var(--page);border-radius:24px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);width:871px;max-width:calc(100vw - 32px);height:614px;max-height:calc(100dvh - 32px);overflow:clip}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);border:0;flex-direction:column;grid-area:1/1/3;align-items:stretch;gap:4px;padding:10px;display:flex;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{color:var(--muted);margin:12px 0 0;padding:4px 8px 8px;font-size:13px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{margin-top:0}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){border:0;border-radius:10px;flex:none;justify-content:flex-start;align-items:center;gap:8px;min-height:36px;padding:8px;font-size:14px;font-weight:500;display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg{width:var(--icon-inline);height:var(--icon-inline);fill:currentColor;stroke:none;flex:none}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>:is(button,[data-settings-nav-caption]){z-index:1;position:relative}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){color:color-mix(in srgb,var(--glass-text) 65%,transparent)}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button[aria-selected=true]{box-shadow:none;color:var(--glass-text);background:0 0}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a):hover{color:var(--glass-text)}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-glide],.peach-react [data-shortcuts-categories]>[data-shortcuts-glide]){border-radius:10px}[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{clip-path:inset(0);box-shadow:inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow)}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{background:0 0;border:0;grid-area:1/2;padding:32px 32px 24px}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font-size:20px;font-weight:500;line-height:28px}[data-settings-panel] [data-settings-card] [data-settings-head] button{background:var(--surface);border-radius:50%;width:24px;height:24px}[data-settings-panel] [data-settings-card] [data-settings-head] button svg{width:16px;height:16px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 32px 32px;min-height:0;overflow-y:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]{background:var(--ground);border-radius:16px;padding:0 0 0 12px}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group][data-setting-layout=cards]{background:0 0;border-radius:0;flex-direction:column;gap:20px;padding:0;display:flex}[data-settings-panel] [data-setting-card]{background:var(--ground);border-radius:16px;min-width:0;padding-left:12px}[data-settings-panel] [data-setting-block]{flex-direction:column;gap:8px;min-width:0;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]>h3{display:none}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{border-top:0;border-bottom:1px solid var(--line-soft);gap:16px;min-height:52px;padding:10px 10px 10px 0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:last-child{border-bottom:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]+[data-sidebar-setting]{border-top:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] b{font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] small{max-width:none;margin-top:2px;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect]{border-radius:8px;min-width:90px;height:32px;min-height:32px;padding:6px 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control]{gap:5px;font-size:12px}[data-settings-panel] [data-settings-card] [data-number-control] input{border-radius:8px;width:64px;height:32px;padding:6px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control] button{min-height:32px;padding:4px 8px;font-size:12px}@media (width<=760px){:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){flex-direction:column;width:calc(100vw - 24px);max-width:calc(100vw - 24px);display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{border-right:0;flex-direction:row;flex-shrink:0;overflow-x:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{white-space:nowrap;align-self:center;margin:0;padding:0 4px 0 8px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{padding-left:0}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{padding:16px 20px 12px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 20px 20px;flex:1}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}html[data-theme-snapshot] [data-settings-panel] :is([data-settings-glide],[data-settings-card]>[data-settings-nav]){background-color:var(--ground)!important;transition:none!important}:is([data-settings-panel] [data-settings-nav]>[data-settings-glide],.peach-react [data-shortcuts-categories]>[data-shortcuts-glide]){z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-settings-panel] [data-settings-nav]>[data-settings-glide][hidden]{display:none}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}:is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark :is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#00000080;--settings-error-drop:#0008}:is([data-settings-panel] [data-settings-card],.peach-react [data-modal-width=collections]){box-shadow:0 12px 40px var(--settings-card-drop)}[data-settings-panel] [data-settings-card]{border:1px solid var(--line)}[data-settings-panel] [data-settings-nav]{border-bottom:1px solid var(--line);scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}[data-settings-panel] [data-settings-nav] button{color:var(--ink-2);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;padding:10px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-nav] button[aria-selected=true]{border-bottom-color:var(--tungsten);color:var(--tungsten);font-weight:500}[data-settings-panel] [data-settings-nav] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}[data-settings-panel] [data-settings-card]{display:grid}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border:0;border-right:1px solid var(--line-soft);margin:0;overflow-y:auto}[data-settings-panel] [data-settings-scroll]{grid-area:2/2}[data-settings-panel] [data-settings-scroll]>[data-setting-group]{border:0;margin:0}[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control]{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-number-control] input{width:96px;padding:8px 10px}[data-settings-panel] [data-number-help]{font-size:11px!important}[data-settings-panel] [data-number-error]{color:#ef6868!important;font-size:12px!important}[data-settings-panel] [data-number-error]:empty{display:none}@media (width<=600px){[data-settings-panel] [data-number-control] input{width:110px}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:var(--tungsten)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{color:var(--tungsten);opacity:1}@media (width<=1000px){[data-settings-panel] [data-settings-card]{width:calc(100vw - 32px)}}@media (width<=760px){[data-settings-panel] [data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);display:flex}[data-settings-panel] [data-settings-head]{padding:16px 20px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border-right:0;border-bottom:1px solid var(--line);background:var(--ground);flex-direction:row;padding:8px 12px;overflow-x:auto}[data-settings-panel] [data-settings-scroll]{min-height:0;padding:20px;overflow:auto}[data-settings-panel] [data-settings-nav]{gap:0}[data-settings-panel] [data-settings-nav] button{padding:10px 9px;font-size:13px}}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding-block:12px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{justify-content:end;gap:8px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:0 112px;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:112px;min-width:0;padding:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{border-radius:8px;gap:6px;height:32px;padding:0 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-help]{display:none}[data-settings-panel] [data-number-fields]{position:relative}[data-settings-panel] [data-settings-card] [data-number-control]{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:stretch;gap:0;height:32px;display:flex;overflow:hidden}[data-settings-panel] [data-settings-card] [data-number-control] input{box-shadow:none;width:64px;min-width:0;height:30px;font:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:6px 8px}[data-settings-panel] [data-settings-card] [data-number-control]:focus-within{box-shadow:0 0 0 3px var(--line);border-color:var(--muted)}[data-settings-panel] [data-settings-card] [data-number-control]>span{border-left:1px solid var(--line);color:var(--muted);background:var(--ground);align-items:center;padding:0 8px;font-size:12px;display:flex}[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){border-color:var(--error,#e5484d);box-shadow:0 0 0 2px var(--error,#e5484d)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){box-shadow:0 0 0 2px color-mix(in srgb,var(--error,#e5484d) 15%,transparent)}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){z-index:10;background:var(--ground);border:1px solid var(--error,#e5484d);width:max-content;max-width:240px;padding:6px 10px;position:absolute;top:calc(100% + 6px);right:0}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){border:1px solid color-mix(in srgb,var(--error,#e5484d) 35%,var(--line))}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){box-shadow:0 4px 14px var(--settings-error-drop);color:var(--error,#e5484d);border-radius:8px;margin:0;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-number-error][hidden]{display:none}[data-settings-panel] [data-settings-card] [data-number-setting]{position:relative}[data-settings-panel] [data-toggle]{background:var(--color-background-tertiary-default);border:0;border-radius:999px;width:42px;height:24px;transition:background .2s}[data-settings-panel] [data-toggle]:after{width:18px;height:18px;transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);background:linear-gradient(#fff 44%,#f3f3f3);top:3px;left:3px;transform:none;box-shadow:0 3px 3px #00000008}[data-settings-panel] [data-toggle]:before{content:"";z-index:1;background:var(--surface);width:7.5px;height:7.5px;box-shadow:inset 0 0 0 .375px var(--line);transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);border-radius:50%;position:absolute;top:8.25px;left:8.25px}[data-settings-panel] [data-toggle]:checked{background:var(--board-blue);box-shadow:inset 0 1.5px 0 #ffffff40,inset 0 0 0 .75px var(--color-accent-400)}[data-settings-panel] [data-toggle]:checked:after{left:3px;transform:translate(18px)}[data-settings-panel] [data-toggle]:checked:before{background:linear-gradient(var(--color-accent-700),var(--color-accent-500));transform:translate(18px)}[data-settings-panel] [data-toggle]:disabled{opacity:.5}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-toggle],[data-settings-panel] [data-toggle]:after,[data-settings-panel] [data-toggle]:before{transition:none}}@media (width<=760px){[data-settings-panel][data-settings-panel]{grid-template-columns:minmax(0,1fr);padding:12px}[data-settings-panel] [data-settings-card][data-settings-card]{width:calc(100vw - 24px);min-width:0;max-width:calc(100vw - 24px)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{flex-wrap:wrap;gap:8px 12px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]>:first-child{flex:1 1 max-content;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has(>span>small)>:first-child{flex-basis:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]>:last-child{flex:none;max-width:100%;margin-left:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{max-width:100%}[data-settings-panel] [data-settings-card]>[data-settings-nav]{min-width:0;max-width:100%}}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button){flex-shrink:0;place-items:center;padding:0;line-height:1;display:inline-grid}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)>svg{flex-shrink:0;place-self:center;margin:0;display:block}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)[hidden]{display:none}[data-settings-panel] [data-settings-card][data-settings-card]{animation:board-dialog-in var(--board-dialog-motion) backwards;border:0}[data-settings-panel][data-closing] [data-settings-card][data-settings-card]{animation:board-dialog-out var(--board-dialog-motion) both}[data-settings-panel] [data-settings-card][data-settings-card],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-head],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-scroll],html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]{background:var(--page)}html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}[data-settings-panel] [data-settings-card] [data-settings-head]{z-index:2;box-shadow:none;clip-path:inset(0 0 -96px);transition:box-shadow .2s ease-out;position:relative}[data-settings-panel] [data-settings-card][data-scrolled] [data-settings-head]{box-shadow:var(--glass-shadow)}[data-settings-panel] [data-settings-card] [data-settings-head] h2{line-height:26px}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-number-control] input{font-size:16px}[data-settings-panel] [data-settings-card] [data-number-control]{height:40px}[data-settings-panel] [data-settings-card] [data-number-control] input{height:38px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect],[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{height:40px;font-size:14px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-control]>span{font-size:14px}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-settings-card] [data-settings-head]{transition:none}}[data-settings-panel] [data-sidebar-add-menu][data-sidebar-add-menu]{transform-origin:0 100%}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font:var(--board-heading);letter-spacing:0}[data-settings-panel] [data-setting-row] b{font:var(--board-body)}[data-settings-panel] [data-setting-row] small{font:var(--board-compact)}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding-top:16px}}[data-settings-panel] [data-settings-scroll] [data-setting-row]{margin-right:0}[data-settings-panel] [data-settings-scroll] [data-setting-group]{border-bottom:0}[data-settings-panel] [data-setting-group][hidden]{display:none!important}:is([data-settings-panel] [data-settings-service],.peach-react [data-shortcuts-footer]){z-index:1;border-top:1px solid var(--line-soft);margin-top:auto;padding-top:16px;position:relative}[data-settings-panel] [data-settings-service] button{width:100%}[data-settings-panel] [data-settings-service] button>svg:last-child{margin-left:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg:has(>use[href^=\#i-]){fill:none;stroke:currentColor;stroke-width:2px}[data-settings-panel] [data-settings-service] button:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-settings-subheading]{color:var(--muted);font:var(--board-compact);margin:0;padding:16px 0 6px}[data-settings-panel] [data-setting-layout=cards] [data-settings-subheading]{padding:0 12px}[data-settings-panel] [data-settings-scroll] [data-settings-subheading]+[data-setting-row]{border-top:0}@media (width<=760px){[data-settings-panel] [data-settings-service]{border-top:0;border-left:1px solid var(--line-soft);flex-shrink:0;margin-top:0;padding:0 0 0 12px}}@keyframes settings-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes settings-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes settings-dialog-in{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translate(0)}}@keyframes settings-dialog-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-40px)}}[data-immerse-circle]{box-sizing:border-box;color:#f1f1f1;cursor:pointer;background:#ffffff1a;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid}[data-immerse-circle]:hover{background:#ffffff2e}[data-immerse-circle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-circle] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}[data-immerse]{z-index:200;background:#0f0f0f;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}[data-immerse][hidden]{display:none}body[data-immerse-open]{overflow:hidden}[data-immerse-stage]{aspect-ratio:9/16;width:min(56.25vh,100vw - 240px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-stage][data-wide]{aspect-ratio:16/9;width:min(64vw,177.778vh);left:50%;right:auto;transform:translate(-50%,-50%)}[data-immerse-track]{border-radius:var(--floating-radius);touch-action:manipulation;cursor:pointer;background:#000;position:absolute;inset:0;overflow:hidden;box-shadow:0 0 64px #00000057}[data-immerse][data-idle] :is([data-immerse-stage],[data-immerse-ui],[data-immerse-bar]){visibility:hidden}[data-immerse-track] [data-immerse-slide]{will-change:transform;background:#000;transition:transform .2s cubic-bezier(.2,.2,.4,.9);position:absolute;inset:0}[data-immerse-slide]>.video-js{background:#000;width:100%;height:100%;position:absolute;inset:0}[data-immerse-track] video{object-fit:cover;background:#000;width:100%;max-width:none;height:100%;max-height:none;position:absolute;inset:0}[data-immerse-track] video[data-fit=contain]{object-fit:contain}[data-immerse-loader]{z-index:12;border-radius:var(--pill-radius);color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none;font:var(--fs-xs)/1 "Cascadia Mono",monospace;white-space:nowrap;background:#00000094;border:1px solid #ffffff3d;align-items:center;gap:10px;padding:10px 14px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-loader][hidden]{display:none}[data-immerse-spinner]{display:contents}[data-immerse-ui]{color:#f1f1f1;pointer-events:none;width:min(520px,50% - 28.125vh - 36px);padding:0;position:absolute;bottom:20px;left:20px}[data-immerse][data-wide] [data-immerse-ui]{width:min(500px,36vw - 56px)}[data-immerse-actions]{flex-direction:column;align-items:center;gap:16px;width:72px;display:flex;position:absolute;bottom:8px;left:calc(100% + 12px)}[data-immerse-stage][data-wide] [data-immerse-actions]{bottom:18px;left:auto;right:12px}[data-immerse-action]{color:#f1f1f1;flex-direction:column;align-items:center;gap:6px;display:flex}[data-immerse-actions] button{transition:background .14s;position:relative}[data-immerse-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-label]{font-size:var(--fs-xs);white-space:nowrap;font-weight:500;line-height:1.25}[data-immerse-label] b{font:inherit}[data-immerse-bar]{z-index:3;cursor:pointer;touch-action:none;align-items:flex-end;height:20px;display:flex;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar]:before{content:"";background:#ffffff29;height:4px;transition:height .12s;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar] i{background:var(--tungsten);width:0;height:4px;transition:height .12s;display:block;position:relative}[data-immerse-bar]:hover:before,[data-immerse-bar]:hover i,[data-immerse-bar][data-scrubbing]:before,[data-immerse-bar][data-scrubbing] i{height:9px}[data-immerse-author]{font-size:var(--fs-md);align-items:center;gap:10px;margin-bottom:12px;line-height:1.2;display:flex}[data-immerse-author]>a{text-overflow:ellipsis;white-space:nowrap;color:#f1f1f1;pointer-events:auto;min-width:0;font-weight:600;text-decoration:none;overflow:hidden}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{white-space:nowrap;color:#aaa;font-size:var(--fs-sm);flex:none}[data-immerse-avatar]{color:#f1f1f1;cursor:pointer;pointer-events:auto;background:#333;border:0;border-radius:50%;flex:none;width:40px;height:40px;padding:0;position:relative;overflow:hidden}[data-immerse-avatar] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}[data-immerse-avatar] [class~=ini]{place-items:center;font-weight:600;display:grid;position:absolute;inset:0}[data-immerse-avatar]:hover{box-shadow:0 0 0 2px #f1f1f1}[data-immerse-ui] [data-immerse-title]{max-width:100%;color:inherit;font:inherit;font-size:var(--fs-xl);text-align:left;cursor:pointer;pointer-events:auto;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;margin:0;padding:0;font-weight:600;line-height:1.25;display:block;overflow:hidden}[data-immerse-ui] [data-immerse-title]:hover{color:var(--ink-2)}[data-immerse-actions] button[aria-pressed=true]{color:#0f0f0f;background:#f1f1f1}[data-immerse-close]{color:#eee;cursor:pointer;background:#00000080;border:0;border-radius:50%;place-items:center;width:42px;height:42px;padding:0;display:grid;position:absolute;top:15px;right:15px}[data-immerse-close] svg{stroke:currentColor;fill:none;width:21px;height:21px}@media (width<=760px){[data-immerse-stage],[data-immerse-stage][data-wide]{aspect-ratio:auto;width:100%;height:100%;inset:0;transform:none}[data-immerse-track]{box-shadow:none;border-radius:0}[data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));gap:14px;width:56px;bottom:92px}[data-immerse-stage][data-wide] [data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));bottom:92px}[data-immerse-ui]{width:auto;padding:0 0 env(safe-area-inset-bottom);bottom:28px;left:14px;right:82px}[data-immerse][data-wide] [data-immerse-ui]{width:auto}[data-immerse-author]{margin-bottom:8px}[data-immerse-author]>span{display:none}[data-immerse-avatar]{width:36px;height:36px}[data-immerse-ui] [data-immerse-title]{font-size:var(--fs-md)}[data-immerse-close]{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}}[data-sidebar-drawer]{--sidebar-drop:#0000000d;--sidebar-pick-drop:#00000014;--sidebar-thumb-drop:#0000001a}.dark [data-sidebar-drawer]{--sidebar-drop:#00000080;--sidebar-pick-drop:#0000008c;--sidebar-thumb-drop:#00000080}[data-sidebar-chip][data-online]{background:#5ac8d81a;border-color:#5ac8d86b}[data-sidebar-nav] button[data-nav]{position:relative}html>body{padding-left:var(--railW)}@media (width<=760px){html>body{padding-left:0}}[data-sidebar-drawer]{z-index:97;background:linear-gradient(180deg,var(--frost-light),var(--frost-panel));-webkit-backdrop-filter:saturate(1.8)blur(20px);backdrop-filter:saturate(1.8)blur(20px);border-right:1px solid var(--line);width:360px;transition:transform .2s cubic-bezier(.3,.8,.3,1);position:fixed;top:0;bottom:0;left:0;overflow:hidden;transform:translate(-100%)}[data-sidebar-scroll]{box-sizing:border-box;scrollbar-width:none;height:100%;padding:16px 12px 60px;overflow:hidden auto}[data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-nav] button{padding-left:0}[data-sidebar-nav] svg{width:24px;height:24px;margin:0 15px 0 24px}[data-sidebar-head]{justify-content:space-between;align-items:center;display:flex}[data-sidebar-nav]{--sidebar-reorder-ms:250;flex-direction:column;gap:3px;margin-bottom:18px;display:flex;position:relative}[data-sidebar-nav] button{border-radius:var(--control-radius);cursor:pointer;text-align:left;font-size:var(--fs-lg);color:var(--muted);background:0 0;border:0;align-items:center;gap:14px;padding:11px 14px;display:flex}[data-sidebar-nav] button:hover{background:var(--hover)}[data-sidebar-nav] button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-nav] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}[data-sidebar-drawer] [data-sidebar-chip]{font-size:var(--fs-xs);padding:4px 10px}[data-sidebar-scrim]{z-index:95;opacity:0;pointer-events:none;transition:opacity .18s,display .18s allow-discrete;background:#0000006b;display:none;position:fixed;inset:0}[data-sidebar-scrim][class~=on]{opacity:1;pointer-events:auto;display:block}@starting-style{[data-sidebar-scrim][class~=on]{opacity:0}}[data-sidebar-group]{border-top:1px solid var(--line-soft);margin-bottom:13px;padding-top:11px}[data-sidebar-group]:first-of-type{border-top:0;padding-top:0}[data-sidebar-chips]{flex-wrap:wrap;gap:4px;display:flex}[data-sidebar-chip] img,[data-sidebar-chip]>svg{width:var(--icon-inline);height:var(--icon-inline);border-radius:var(--badge-radius);object-fit:contain;flex:none}[data-sidebar-source-icon]{min-width:var(--icon-inline);object-fit:contain;width:var(--icon-inline)!important;height:var(--icon-inline)!important;opacity:1!important;filter:none!important;display:block!important}[data-sidebar-chip]>svg{stroke:currentColor;fill:none;stroke-width:2px}[data-sidebar-chip]{padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);cursor:pointer;font-size:var(--fs-xs);background:0 0;align-items:center;gap:6px;display:inline-flex}[data-sidebar-chip]:hover{color:var(--ink)}[data-sidebar-chip][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip]{color:#d2703f;border-color:#d2703f44}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip][aria-pressed=true]{background:#d2703f22;border-color:#d2703f}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip]{color:#6c9bd6;border-color:#6c9bd644}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip][aria-pressed=true]{background:#6c9bd622;border-color:#6c9bd6}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip]{color:var(--muted);border-color:var(--line)}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip][aria-pressed=true]{background:var(--hover);border-color:var(--ink-2);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip]{color:#7fbf7f;border-color:#7fbf7f44}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip][aria-pressed=true]{background:#7fbf7f22;border-color:#7fbf7f}[data-sidebar-chip] [data-sidebar-count]{font-size:var(--fs-xs);color:var(--muted);font-variant-numeric:tabular-nums}[data-sidebar-cost]{border-radius:50%;flex:none;width:5px;height:5px}[data-sidebar-cost=free]{background:var(--keep)}[data-sidebar-cost=metered]{background:var(--meter)}[data-sidebar-duration]{padding:3px 2px 8px}[data-sidebar-range]{--lo:0%;--hi:100%;height:28px;position:relative}[data-sidebar-range-base],[data-sidebar-range-fill]{border-radius:var(--pill-radius);background:var(--line);height:4px;position:absolute;top:12px;left:0;right:0}[data-sidebar-range-fill]{left:var(--lo);right:calc(100% - var(--hi));background:var(--ink)}[data-sidebar-range] input{pointer-events:none;appearance:none;background:0 0;width:100%;height:28px;margin:0;position:absolute;inset:0}[data-sidebar-range] input::-webkit-slider-thumb{appearance:none;background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:16px;height:16px;transition:box-shadow .12s}[data-sidebar-range] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px var(--hover)}[data-sidebar-range] input:focus-visible::-webkit-slider-thumb{outline:2px solid var(--tungsten);outline-offset:2px}[data-sidebar-range] input::-moz-range-thumb{background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:14px;height:14px}[data-sidebar-chip][data-offline]{opacity:.42;cursor:not-allowed;text-decoration:none}[data-sidebar-chip][data-offline] [data-sidebar-count]{text-decoration:none}html[data-theme-snapshot] :is([data-sidebar-drawer],[data-sidebar-glide]){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:var(--ground)!important;transition:none!important}[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}:root:not([data-glow-native]) [data-sidebar-drawer][data-sidebar-drawer]{--glass-drift-a:none;--glass-drift-b:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide][hidden]{display:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:-1;border-radius:10px}[data-sidebar-nav] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}[data-sidebar-nav] button:active{transition:scale 60ms ease-out;scale:.96}[data-sidebar-drawer][data-sidebar-drawer]{border-radius:26px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]){color:var(--glass-text)}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true],[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--glass-text);filter:none;box-shadow:none;background:0 0}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:hover{color:var(--glass-text);background:0 0}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{animation:none}}html[class~=board-high-contrast] [data-sidebar-drawer][data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}[data-sidebar-drawer]{box-shadow:0 12px 40px var(--sidebar-drop)}body[class~=drawer-open]{--railW:296px}[data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--line);border-radius:24px;width:272px;transition:none;top:12px;bottom:12px;left:12px;transform:translate(calc(-100% - 16px));box-shadow:0 2px 4px #00000003}[data-sidebar-drawer][class~=open]{transform:none;box-shadow:0 2px 4px #00000003}[data-sidebar-scroll]{padding:20px 12px 24px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin:16px 0 24px}[data-sidebar-drawer] [data-sidebar-nav] button{border-radius:10px;gap:12px;height:40px;padding:8px 12px;font-size:14px;font-weight:400;line-height:20px}[data-sidebar-drawer] [data-sidebar-nav] svg{width:var(--icon-inline);height:var(--icon-inline);margin:0}[data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]{background:var(--board-blue);color:#fff;box-shadow:inset 0 1px 1px #ffffff50,0 1px 2px var(--sidebar-pick-drop)}[data-sidebar-scrim][class~=on]{display:none}[data-sidebar-drawer] #brandHome{color:var(--ink);align-items:center;gap:10px;margin-right:auto;text-decoration:none;display:flex}[data-sidebar-drawer] #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer] #brandHome h1{letter-spacing:.02em;font-size:20px}[data-sidebar-drawer] #brandHome [class~=sub]{display:none}@media (width<=760px){body[class~=drawer-open]{--railW:0px}[data-sidebar-drawer]{z-index:97;border-radius:20px;width:min(320px,100vw - 24px);top:64px;bottom:12px}[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:var(--ground)}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:color-mix(in srgb,var(--ground) 86%,transparent)}}[data-sidebar-scrim][class~=on]{display:block;top:56px}}@media (width>=761px){html>body{transition:padding-left var(--board-motion)}}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{background:0 0;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid}[data-sidebar-drawer] [data-sidebar-head] #filterBtn svg{width:20px;height:20px;margin:0}[data-sidebar-drawer] [data-sidebar-head]{gap:8px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button span{white-space:nowrap;opacity:1;filter:blur();min-width:0;max-width:190px;transition:max-width var(--board-motion),opacity var(--board-motion),filter var(--board-motion);overflow:hidden}@media (width>=761px){[data-sidebar-drawer][data-sidebar-drawer]{width:60px;transition:width var(--board-motion);border-radius:24px;transform:none}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{width:260px}body[class~=drawer-open]{--railW:284px}[data-sidebar-drawer] [data-sidebar-scroll]{padding:12px}[data-sidebar-drawer] [data-sidebar-nav] button{gap:8px;min-width:36px;padding:8px}[data-sidebar-drawer] [data-sidebar-nav] button svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button span{opacity:0;filter:blur(4px);max-width:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{gap:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-group]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse}[data-sidebar-drawer]:not([class~=open]) #brandHome{margin:0}[data-sidebar-drawer]:not([class~=open]) #brandHome h1{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{height:20px}}@media (width<=760px){[data-sidebar-drawer][data-sidebar-drawer]{z-index:102;transition:transform var(--board-dialog-motion);top:12px;bottom:12px;transform:translate(calc(-100% - 16px))}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{transform:translate(0)}[data-sidebar-scrim][data-sidebar-scrim][class~=on]{z-index:101;visibility:hidden;background:0 0;top:0}[data-sidebar-scrim][data-sidebar-scrim][class~=on]:before{content:"";visibility:visible;background:#0007;position:absolute;inset:0}}[data-sidebar-drawer][data-sidebar-drawer]{flex-direction:column;display:flex;overflow:hidden}[data-sidebar-drawer] [data-sidebar-scroll]{scrollbar-width:none;flex:1;min-height:0}[data-sidebar-drawer] [data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-drawer] [class~=ovtrack]{display:none}[data-sidebar-drawer] #brandHome{border-radius:24px;flex:1;min-width:0}[data-sidebar-drawer] #brandHome h1{letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}[data-sidebar-head] [class~=mark]{background:var(--picked);color:var(--ink-2);border-radius:50%;place-items:center;display:grid}[data-sidebar-head] [class~=mark]>svg,[data-sidebar-head] [class~=mark]>img{object-fit:contain;fill:none;stroke:currentColor;width:24px;height:24px}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [class~=board-library-chevron]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse;min-height:80px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:36px;display:grid}[data-sidebar-drawer]:not([class~=open]) #brandHome{flex:none;justify-content:center;gap:0;width:36px;height:36px}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{justify-content:center;width:36px;height:36px;min-height:36px;padding:8px}}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]{border:0;margin:4px 0 0;padding:0}[data-sidebar-toggle]{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;align-items:center;gap:8px;padding:8px;display:flex}[data-sidebar-toggle]:hover{background:var(--hover)}[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:0 0 0 2px var(--line);border-radius:var(--pill-radius)}[data-sidebar-head] #brandHome [class~=mark]{background:0 0;border-radius:0;place-items:center;display:grid}[data-sidebar-head] [class~=mark] svg{stroke-width:2px;width:20px;height:20px}[data-sidebar-drawer] [data-sidebar-nav] button svg{width:var(--icon-inline);height:var(--icon-inline);stroke-width:2px}[data-sidebar-home-logo]{width:var(--icon-inline);height:var(--icon-inline);object-fit:contain;flex:none}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{background:var(--board-blue);color:#fff;filter:brightness(1.08)}[data-sidebar-toggle]>span{color:var(--muted);font-size:12px;font-weight:500;line-height:20px}[data-sidebar-toggle] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;transition:transform var(--motion-swap);flex:none;order:2;margin-left:auto;transform:rotate(0)}[data-sidebar-toggle][aria-expanded=true] svg{transform:rotate(90deg)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chips]{flex-direction:column;gap:2px;padding-left:8px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]{width:100%;min-width:0;min-height:36px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:10px;gap:8px;padding:8px;font-size:14px;font-weight:400;line-height:20px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip][aria-pressed=true]{color:var(--ink);background:var(--picked)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] [data-sidebar-count]{background:var(--surface);color:var(--muted);border-radius:4px;flex:none;margin-left:auto;padding:1px 4px;font-size:12px;line-height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]{border:1px solid var(--line);background:var(--surface);width:40px;height:20px;color:var(--muted);box-shadow:var(--elevation-xs);border-radius:999px;place-items:center;margin:6px auto 2px;padding:0;transition:background-color .15s,color .15s;display:grid}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px;transition:transform .2s cubic-bezier(0,0,.2,1)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{transition:none}}[data-sidebar-drawer] [data-sidebar-nav] button{font:var(--board-body)}[data-sidebar-head] #brandHome [class~=mark]{color:var(--glass-text)}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button:has([data-sidebar-home-logo]){padding:8px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]),[data-sidebar-head] #brandHome [class~=mark]{color:var(--color-text-secondary)}[data-sidebar-head] #brandHome:hover{background:var(--color-background-primary-hover);border-radius:var(--pill-radius)}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]{box-sizing:border-box;width:100%;min-height:36px;color:var(--color-text-secondary);font:var(--board-caption);border-radius:8px;gap:8px;margin:0 0 4px;padding:8px 10px;list-style:none;display:flex}[data-sidebar-toggle]::-webkit-details-marker{display:none}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]:hover{background:var(--picked)}[data-sidebar-toggle]>span{flex:1;min-width:0}[data-sidebar-toggle]>svg{flex:none;order:3;margin-left:auto}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-collapse]>[data-sidebar-collapse-body]{padding:0 0 0 10px}[data-sidebar-range] [data-sidebar-range-base],[data-sidebar-range] [data-sidebar-range-fill]{height:6px;top:11px}[data-sidebar-range] [data-sidebar-range-base]{background:var(--color-background-tertiary-default);box-shadow:inset 0 1px 1px #0000000f}[data-sidebar-range] [data-sidebar-range-fill]{background:linear-gradient(90deg,var(--color-accent-400),var(--color-accent-600));box-shadow:inset 0 1px #ffffff3d,0 1px 2px #0450e229}body :is([data-sidebar-range] input)::-webkit-slider-thumb{appearance:none;border:1px solid var(--color-border-button-default);width:20px;height:20px;box-shadow:0 2px 4px var(--sidebar-thumb-drop),inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),box-shadow .15s;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}body :is([data-sidebar-range] input):active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}body :is([data-sidebar-range] input)::-moz-range-thumb{border:1px solid var(--color-border-button-default);width:18px;height:18px;box-shadow:0 2px 4px var(--sidebar-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}[data-sidebar-range-tip]{z-index:1;transform:translateX(calc(-50% + var(--range-tip-shift,0px)));border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);font:var(--board-caption);white-space:nowrap;box-shadow:var(--elevation-xs);pointer-events:none;border-radius:8px;padding:4px 8px;position:absolute;bottom:calc(100% + 4px)}[data-sidebar-range-tip][data-range-active]{z-index:2}[data-sidebar-range]{margin-top:36px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin-top:12px}[data-sidebar-drawer] #brandHome{box-sizing:border-box;height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button{height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{color:var(--color-text-secondary);border-radius:0;transition:color .15s}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px}}[data-sidebar-head] #brandHome{flex:0 auto;gap:8px;max-width:calc(100% - 28px);padding:2px;position:relative}[data-sidebar-head] #brandHome:before{content:"";border:2px solid var(--color-border-button-default);opacity:0;pointer-events:none;border-radius:999px;transition:opacity .15s;position:absolute;inset:-5px -6px}[data-sidebar-head] #brandHome:hover,[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:none;background:0 0}[data-sidebar-head] #brandHome:hover:before,[data-sidebar-head] #brandHome[aria-expanded=true]:before{opacity:1}[data-sidebar-head] #brandHome [class~=mark]{background:var(--color-background-tertiary-default);border-radius:50%;width:32px;height:32px}[data-sidebar-head] #brandHome [class~=sub]{display:none}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{width:20px;height:20px;box-shadow:none;background:0 0;padding:0}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{color:var(--color-text-primary);background:0 0}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px;min-height:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:20px}[data-sidebar-drawer]:not([class~=open]) #brandHome{width:32px;max-width:none;height:32px;min-height:32px;padding:0}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:32px;height:32px}}[data-sidebar-nav] button{touch-action:none;-webkit-user-select:none;user-select:none;translate:0 var(--sidebar-nudge,0px);transition:translate calc(var(--sidebar-reorder-ms)*1ms) var(--spring-press) var(--sidebar-delay,0s),scale calc(var(--spring-press-ms)*1ms) var(--spring-press)}[data-sidebar-nav][data-reordering] button{cursor:grabbing}[data-sidebar-nav] button[data-dragging]{top:var(--sidebar-picked-top);z-index:3;width:100%;scale:.9;transform:translate3d(var(--sidebar-drag-x,18px),var(--sidebar-drag-y,0px),0);box-shadow:var(--glass-pick-shadow);cursor:grabbing;will-change:transform;position:absolute;left:0;background:var(--ground)!important}[data-sidebar-drawer]:has([data-sidebar-nav][data-reordering])>[data-sidebar-glide]{opacity:0}[data-sidebar-drop-line]{transform:translateY(var(--sidebar-line-top));z-index:2;pointer-events:none;height:2px;transition:transform calc(var(--sidebar-reorder-ms)*1ms) var(--spring-press);position:absolute;top:0;left:10px;right:10px}[data-sidebar-drop-line]>span{border-radius:var(--pill-radius);background:var(--ink);height:100%;display:block}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drop-line]>span{background:color-mix(in srgb,var(--ink) 15%,transparent)}}[data-sidebar-drop-line]>span{transform-origin:50%;transition:transform var(--motion-swap);transform:scaleX(1)}@starting-style{[data-sidebar-drop-line]>span{transform:scaleX(0)}}[data-sidebar-order-status]{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){[data-sidebar-nav] button{transition:none;translate:none}[data-sidebar-nav][data-reordering] button[data-dragging]{width:auto;box-shadow:none;position:static;transform:none;background:0 0!important}[data-sidebar-drop-line],[data-sidebar-drop-line]>span{transition:none}@starting-style{[data-sidebar-drop-line]>span{transform:none}}}.peach-guide-center,.peach-guide-popover{--gradient-button-primary-default:linear-gradient(var(--ink), var(--ink));--gradient-button-primary-hover:linear-gradient(var(--ink), var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-guide-center,.peach-guide-popover{--gradient-button-primary-hover:linear-gradient(color-mix(in srgb, var(--ink) 88%, var(--ground)), color-mix(in srgb, var(--ink) 88%, var(--ground)))}}.peach-guide-center,.peach-guide-popover{--gradient-button-primary-active:var(--gradient-button-primary-hover);--gradient-button-primary-disabled:linear-gradient(var(--surface), var(--surface));--color-button-primary-disabled-foreground:var(--muted);--color-button-ghost-background:transparent;--color-button-ghost-foreground:var(--muted);--color-button-ghost-hover:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-guide-center,.peach-guide-popover{--color-button-ghost-hover:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-guide-center,.peach-guide-popover{--color-button-ghost-active:var(--color-button-ghost-hover)}:is(.peach-guide-center,.peach-guide-popover) .bg-button-primary:not(:disabled):not([aria-disabled=true]){color:var(--ground)}.peach-guide-center{border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:min(680px,100vw - 32px);height:min(740px,100dvh - 32px);max-height:min(740px,100dvh - 32px);color:var(--ink);box-shadow:var(--elevation-dropdown);padding:0;overflow:hidden}.peach-guide-center>[role=dialog]{height:100%;max-height:inherit;overflow:hidden}.peach-guide-topic-icon{width:var(--control-h);height:var(--control-h);border-radius:var(--control-radius);background:var(--color-background-tertiary-default);color:var(--color-text-primary);flex:none;justify-content:center;align-items:center;display:inline-flex}.peach-guide-topics{flex-direction:column;display:flex}.peach-guide-topic{border-bottom:1px solid var(--line-soft)}.peach-guide-topic:last-child{border-bottom:0}.peach-guide-topic summary{gap:12px;padding:12px 0}.peach-guide-topic-chapters{margin:-8px -12px 12px}.peach-guide-scroll-frame{flex:1;min-height:0;display:flex;position:relative}.peach-guide-body{overscroll-behavior:contain;flex:1;min-height:0;padding:4px 24px 24px;overflow:auto}.peach-guide-chapters{flex-direction:column;gap:4px;margin-inline:-12px;display:flex}.peach-guide-routes{margin:0;padding:0;list-style:none}.peach-guide-routes>li,.peach-guide-routes>div{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:16px;padding:12px 0;display:flex}.peach-guide-routes>:first-child{padding-top:0}.peach-guide-routes>:last-child{border-bottom:0}.peach-guide-routes strong{font-size:var(--fs-md);font-weight:500;line-height:1.5}.peach-guide-routes p{font-size:var(--fs-sm);color:var(--muted);margin-top:4px;line-height:1.5}.peach-guide-routes button{flex:none}#tutorialBtn[hidden]{display:none}.driver-popover.peach-guide-popover{border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:min(360px,100vw - 24px);min-width:0;max-width:calc(100vw - 24px);color:var(--ink);box-shadow:var(--elevation-dropdown);font-family:var(--font-sans);padding:0}.peach-guide-popover-content{border-radius:inherit;flex-direction:column;max-height:calc(100dvh - 24px);display:flex;overflow:hidden}.peach-guide-step-frame{min-height:0;position:relative}.peach-guide-step-body{overscroll-behavior:contain;max-height:calc(100dvh - 170px);overflow:auto}.peach-guide-popover .driver-popover-arrow-side-top{border-top-color:var(--ground)}.peach-guide-popover .driver-popover-arrow-side-bottom{border-bottom-color:var(--ground)}.peach-guide-popover .driver-popover-arrow-side-left{border-left-color:var(--ground)}.peach-guide-popover .driver-popover-arrow-side-right{border-right-color:var(--ground)}.driver-overlay,.driver-active .driver-active-element{z-index:var(--layer-popover)!important}.driver-popover.peach-guide-popover{z-index:var(--layer-tooltip)!important}[data-player-guide] .vjs-control-bar{opacity:1!important;visibility:visible!important;display:flex!important}[data-player-guide] .vjs-big-play-button{display:none!important}@media (width<=600px){.peach-guide-center{width:calc(100vw - 16px)}[data-modal-kind=tutorial]{padding:8px}.peach-guide-center header,.peach-guide-tools{padding-left:16px;padding-right:16px}.peach-guide-body{padding:4px 16px 16px}.peach-guide-chapters{margin-inline:-8px}.peach-guide-chapters>button{padding-inline:8px}.peach-guide-routes>li,.peach-guide-routes>div{grid-template-columns:var(--control-h) minmax(0, 1fr);align-items:start;gap:12px;display:grid}.peach-guide-routes button{grid-column:2;justify-self:start}}:where(.peach-react label[data-rac]:has(>span>input:is([type=radio],[type=checkbox]))){position:relative}:root{--font-inter:"Inter Variable", "Inter";--font-sans:var(--font-inter), "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"}:lang(ja){font-family:var(--font-inter), "Yu Gothic UI", "Meiryo UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP", "Noto Sans JP", "Source Han Sans JP", ui-sans-serif, system-ui, sans-serif}.peach-react [data-long-text]{text-wrap:pretty;hanging-punctuation:allow-end;line-height:1.75}.peach-react [data-long-text]:not(:lang(en)){text-align:justify}:root{--icon-inline:1.2em;--control-h-inline:28px;--control-h-compact:32px;--control-h:36px;--control-h-large:40px;--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;text-autospace:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]):not([data-invalid]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid]{background-color:var(--color-background-tertiary-default);color:var(--color-foreground-icon-tertiary);outline:1px solid var(--color-border-error-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid][data-focus-within]{--tw-ring-color:var(--color-border-error-default)}.peach-react [data-input-size]>[slot=errorMessage]{color:var(--color-text-secondary)}.peach-react [data-input-size] input[aria-invalid=true]::placeholder{color:var(--color-text-tertiary)}.peach-react [data-input-size]>[slot=errorMessage],.peach-react [data-input-size]>[slot=description]{overflow-wrap:anywhere}.peach-react :is([class~=overflow-x-auto],[data-horizontal-scroll]){scrollbar-width:none}.peach-react :is([class~=overflow-x-auto],[data-horizontal-scroll])::-webkit-scrollbar{display:none}.iconswap{flex:none;place-items:center;line-height:1;display:inline-grid}.iconswap>[data-icon]{transition:opacity var(--motion-swap),filter var(--motion-swap),transform var(--motion-swap);grid-area:1/1;place-items:center;display:grid}.iconswap[data-icon-state=a]>[data-icon=a],.iconswap[data-icon-state=b]>[data-icon=b],[data-icon-state=a]>.iconswap:not([data-icon-state])>[data-icon=a],[data-icon-state=b]>.iconswap:not([data-icon-state])>[data-icon=b]{opacity:1;filter:blur();transform:scale(1)}.iconswap[data-icon-state=a]>[data-icon=b],.iconswap[data-icon-state=b]>[data-icon=a],[data-icon-state=a]>.iconswap:not([data-icon-state])>[data-icon=b],[data-icon-state=b]>.iconswap:not([data-icon-state])>[data-icon=a]{opacity:0;filter:blur(2px);pointer-events:none;transform:scale(.25)}.iconswap[data-motion-instant]>[data-icon]{transition:none}@keyframes digit-pop-in{0%{opacity:0;filter:blur(2px);transform:translateY(8px)}to{opacity:1;filter:blur();transform:none}}.digits{align-items:baseline;display:inline-flex}.digits>span{white-space:pre;display:inline-block}.digits.popping>span{animation:digit-pop-in var(--motion-count) both;animation-delay:calc(var(--motion-stagger) * var(--digit-at,0))}.skelreveal:not(dialog){position:relative}.skelreveal>.skelfade{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}.skelreveal.revealing>.skelfade{opacity:0;filter:blur(2px)}.skelreveal>:not(.skelfade){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes skel-reveal-in{0%{opacity:0;filter:blur(2px)}to{opacity:1;filter:blur()}}@keyframes check-settle{0%{opacity:0;filter:blur(10px);transform:rotate(80deg)}to{opacity:1;filter:blur();transform:rotate(0)}}@keyframes check-bob{0%{translate:0 14px}to{translate:0}}@keyframes check-draw{0%{stroke-dashoffset:24px}to{stroke-dashoffset:0}}[data-toast-glyph=draw]>svg{stroke-dasharray:24;animation:check-settle var(--board-motion) backwards, check-bob calc(var(--spring-press-ms)*1ms) var(--spring-press) backwards, check-draw var(--board-motion) var(--motion-stagger) backwards}@keyframes clear-dissolve{to{opacity:0;filter:blur(2px);transform:translateY(-12px)}}.cleardissolve{z-index:2;white-space:nowrap;pointer-events:none;color:inherit;animation:clear-dissolve var(--motion-reveal) forwards;align-items:center;display:flex;position:absolute;overflow:hidden}.cleardissolve>[data-dissolve-value]{will-change:transform;min-width:max-content;display:block}.placeholderroll{z-index:2;white-space:nowrap;pointer-events:none;align-items:center;display:flex;position:absolute;overflow:hidden}.placeholderroll>span{text-overflow:ellipsis;min-width:0;overflow:hidden}.countbadge{transition:transform var(--motion-pop), opacity var(--motion-pop),filter var(--motion-pop);display:inline-block}.countbadge.popped{opacity:0;filter:blur(2px);transition:none;transform:scale(0)}.revealline{opacity:0;filter:blur(3px);transition:none;transform:translateY(12px)}.revealline.revealing{opacity:1;filter:blur();transition:opacity var(--motion-reveal),transform var(--motion-reveal),filter var(--motion-reveal);transition-delay:calc(var(--motion-stagger) * var(--reveal-at,0));transform:none}@property --edge-pull{syntax:"<length>";inherits:true;initial-value:0}.edgepull>*{translate:var(--edge-pull) 0}svg.iconwide.iconwide{width:auto!important}svg.ui-externalmark{width:var(--icon-inline,1.2em);height:var(--icon-inline,1.2em);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;align-self:center}.ui-javidentity{vertical-align:baseline;white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.ui-javcode{letter-spacing:.01em;font-weight:600}.ui-javtitle{font-weight:400}[data-feed-id] .ui-javidentity{min-width:0;max-width:100%}[data-feed-id] .ui-javcode{text-overflow:ellipsis;min-width:0;overflow:hidden}@keyframes geist-spinner-opacity{0%{opacity:1}to{opacity:.15}}.ui-geist-spinner{color:currentColor;flex:none;width:16px;height:16px;display:inline-block;position:relative}.ui-geist-spinner>i{border-radius:var(--pill-radius);transform-origin:1px 7px;width:2px;height:4px;transform:rotate(var(--spinner-angle));animation:geist-spinner-opacity 1s linear var(--spinner-delay) infinite;background:currentColor;position:absolute;top:1px;left:7px}@keyframes geist-loading-dot{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.ui-geist-loading{min-width:0;color:var(--muted);align-items:center;gap:8px;display:inline-flex}.ui-geist-loading-dots{flex:none;align-items:center;gap:3px;display:inline-flex}.ui-geist-loading-dots>i{background:currentColor;border-radius:50%;width:4px;height:4px;animation:1.2s ease-in-out infinite geist-loading-dot}.ui-geist-loading-dots>i:nth-child(2){animation-delay:.15s}.ui-geist-loading-dots>i:nth-child(3){animation-delay:.3s}.ui-geist-badge{box-sizing:border-box;border-radius:var(--badge-radius);background:var(--hover);height:20px;color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;justify-content:center;align-items:center;padding:0 6px;font-weight:500;line-height:1;display:inline-flex}.ui-geist-progress{border-radius:var(--pill-radius);background:var(--line-soft);height:8px;margin-top:7px;overflow:hidden}.ui-geist-progress i{width:var(--progress-value);border-radius:inherit;background:var(--tungsten);height:100%;display:block}.ui-geist-progress{position:relative}.ui-geist-progress i{background:var(--progress-color,var(--feedback-success))}@media (prefers-reduced-motion:no-preference){.ui-geist-progress i{transition:width .2s ease-out,background-color .2s ease-out}}.ui-emptystate{box-sizing:border-box;text-align:center;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-column:1/-1;align-content:center;justify-items:center;gap:8px;width:100%;min-height:320px;padding:48px 24px;display:grid}.ui-emptystate .ui-es-icon{box-sizing:border-box;border-radius:var(--floating-radius);border:1px solid var(--border-15);width:54px;height:54px;color:var(--muted);place-items:center;margin-bottom:8px;padding:10px;display:grid}.ui-emptystate .ui-es-icon svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:32px;height:32px}.ui-emptystate .ui-es-copy{justify-items:center;gap:8px;display:grid}.ui-emptystate h3{font-size:var(--fs-md);color:var(--ink);margin:0;font-weight:600}.ui-emptystate p{max-width:340px;font-size:var(--fs-sm);color:var(--muted);margin:0;line-height:1.55}.ui-emptystate .ui-es-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px;display:flex}.ui-pcheck{cursor:pointer;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative}.ui-pcheck input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.ui-pcheck>span{box-sizing:border-box;border:1px solid var(--border-15);border-radius:var(--badge-radius);background:var(--ground);color:#0000;place-items:center;width:16px;height:16px;transition:all .14s;display:grid}.ui-pcheck>span svg{stroke:currentColor;fill:none;stroke-width:2.5px;width:13px;height:13px;display:block}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{background:var(--hover)}.ui-pcheck input:checked+span{border-color:var(--ink-2);color:var(--ink)}.ui-pcheck input:focus-visible+span{outline:2px solid var(--tungsten);outline-offset:2px}.ui-pcheck input:disabled+span{cursor:not-allowed;border-color:var(--line)}.ui-pcheck input:disabled:checked+span{color:var(--muted)}.ui-pcheck:has(input:disabled){cursor:not-allowed}.ui-pcheck:has(input:disabled)>span{background:var(--ground)}[data-layout=masonry]>.ui-emptystate{column-span:all}.ui-pcheck{vertical-align:middle;align-self:center}.ui-pcheck>span{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:16px;height:16px;box-shadow:var(--elevation-xs);border-radius:4px;transition:background .15s,border-color .15s,box-shadow .15s;position:relative}.ui-pcheck input:is(:checked,:indeterminate)+span{color:#fff;background:var(--board-blue);border-color:#0000;box-shadow:inset 0 1px #ffffff40,0 1px 2px #0450e229}.ui-pcheck input:indeterminate+span svg{visibility:hidden}.ui-pcheck input:indeterminate+span:after{content:"";background:#fff;border-radius:1px;width:8px;height:2px;position:absolute;top:6px;left:3px}.ui-pcheck input:disabled+span{opacity:.5}.ui-pcheck>span svg{stroke-width:2px;width:14px;height:14px}.ui-pcheck:hover>span{border-color:var(--color-border-button-hover)}input[type=checkbox]:not([data-toggle]):not(.ui-pcheck input):not(.peach-react input){accent-color:var(--color-accent-600);vertical-align:middle;flex:none;width:16px;height:16px;margin:0}.ui-pcheck>span{border-color:var(--color-border-checkbox-default);box-shadow:var(--elevation-xs);transition:background-color .15s,border-color .15s,box-shadow .15s}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{border-color:var(--color-border-checkbox-hover);background:var(--color-background-primary-default)}.ui-pcheck input:is(:checked,:indeterminate)+span{background:var(--board-blue);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}.ui-pcheck:hover input:is(:checked,:indeterminate)+span,label:hover>.ui-pcheck input:is(:checked,:indeterminate)+span{background:linear-gradient(#60a5fa,#3b82f6);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}@keyframes board-check-draw{0%{stroke-dashoffset:23px}to{stroke-dashoffset:0}}.ui-pcheck>span svg{stroke-dasharray:23;stroke-dashoffset:0}.ui-pcheck input:checked+span svg{animation:.2s cubic-bezier(.65,0,.35,1) forwards board-check-draw}@media (prefers-reduced-motion:reduce){.ui-pcheck input:checked+span svg{stroke-dashoffset:0;animation:none}}.ui-project-banner{--feedback-color:var(--muted);border-block:1px solid var(--feedback-color);flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;min-height:40px;padding:8px 24px;display:flex}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{border-block:1px solid color-mix(in srgb,var(--feedback-color) 30%,var(--ground))}}.ui-project-banner{background:var(--feedback-color)}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{background:color-mix(in srgb,var(--feedback-color) 5%,var(--ground))}}.ui-project-banner{color:var(--feedback-color);font-size:var(--fs-md);line-height:20px}.ui-project-banner>div{align-items:center;gap:8px;min-width:0;display:flex}.ui-project-banner p{overflow-wrap:anywhere;margin:0}.ui-project-banner>div>svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.ui-project-banner>a{color:inherit;text-underline-offset:5px;flex:none;font-weight:500;text-decoration:underline}.ui-project-banner-error{--feedback-color:var(--drop)}.ui-project-banner-warning{--feedback-color:var(--meter)}.ui-project-banner-success{--feedback-color:var(--feedback-success)}@media (width<=600px){.ui-project-banner{justify-content:flex-start}.ui-project-banner>a{margin-left:auto}}.ui-geist-gauge{vertical-align:middle;flex:none;width:32px;height:32px;margin-inline-end:8px;display:inline-flex}.ui-geist-gauge svg{fill:none;stroke-width:3px;width:100%;height:100%}.ui-geist-gauge circle:first-child{stroke:var(--line-soft)}.ui-geist-gauge circle:last-child{stroke:var(--feedback-success);transform-origin:50%;transform:rotate(-90deg)}.ui-geist-progress-stop{background:var(--ground);width:2px;position:absolute;top:0;bottom:0;transform:translate(-50%)}.ui-geist-gauge[data-level=warning] circle:last-child{stroke:var(--meter)}.ui-geist-gauge[data-level=error] circle:last-child{stroke:var(--drop)}.ui-gauge-status{font-size:var(--fs-xs);margin-inline-end:8px}@media (prefers-reduced-motion:no-preference){.ui-geist-gauge circle:last-child{transition:stroke-dasharray .2s ease-out,stroke .2s ease-out}}fieldset.iconswitch-text{justify-self:start;display:inline-flex}fieldset.iconswitch-text label{white-space:nowrap;width:auto;min-width:52px;padding-inline:10px}.ui-dial{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;display:grid}.ui-dial-slider{cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;align-items:center;min-width:0;height:30px;display:flex;position:relative}.ui-dial-track{border-radius:var(--pill-radius);background:var(--ink);width:100%;height:20px;position:relative}@supports (color:color-mix(in lab, red, red)){.ui-dial-track{background:color-mix(in srgb,var(--ink) 11%,transparent)}}.ui-dial-track{box-shadow:inset 0 1px 2px var(--overlay-5);overflow:hidden}.ui-dial-fill{width:var(--dial-at,0%);background:var(--ink);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.ui-dial-fill{background:color-mix(in srgb,var(--ink) 42%,transparent)}}.ui-dial-slider[data-dragging] .ui-dial-fill{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.ui-dial-slider[data-dragging] .ui-dial-fill{background:color-mix(in srgb,var(--ink) 55%,transparent)}}.ui-dial-ticks{opacity:0;pointer-events:none;justify-content:space-between;padding:0 10%;transition:opacity .12s;display:flex;position:absolute;left:0;right:0}.ui-dial-ticks span{background:var(--ink);width:1px;height:8px}@supports (color:color-mix(in lab, red, red)){.ui-dial-ticks span{background:color-mix(in srgb,var(--ink) 20%,transparent)}}.ui-dial-handle{left:var(--dial-at,0%);border-radius:var(--pill-radius);background:var(--ink);width:3px;height:20px;box-shadow:0 1px 2px var(--overlay-5);opacity:0;pointer-events:none;transition:opacity .12s;position:absolute;transform:translate(-50%)}.ui-dial-slider:hover :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider:focus-visible :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider[data-dragging] :is(.ui-dial-ticks,.ui-dial-handle){opacity:1}.ui-dial-slider:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--pill-radius)}.ui-dial-value{min-width:44px;color:var(--ink-2);text-align:right;font-weight:400}.ui-gselect{min-width:0;display:inline-flex;position:relative}.ui-geist-scroller{min-width:0;min-height:0;position:relative;overflow:hidden}.ui-geist-scroller-container{box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;width:100%;height:100%}.ui-geist-scroller-container::-webkit-scrollbar{display:none}.ui-geist-scroller-container[data-overflow=y]{overflow:hidden auto}.ui-geist-scroller-container[data-overflow=x]{overflow:auto hidden}.ui-geist-scroller-container[data-overflow=both]{overflow:auto}.ui-geist-scroller-overlay{z-index:2;pointer-events:none;position:absolute;inset:0}.ui-geist-scroller-overlay:before,.ui-geist-scroller-overlay:after{content:"";opacity:0;height:40px;transition:opacity .18s;position:absolute;left:0;right:0}.ui-geist-scroller-overlay:before{background:linear-gradient(to bottom,var(--surface),transparent);top:0}.ui-geist-scroller-overlay:after{background:linear-gradient(to top,var(--surface),transparent);bottom:0}.ui-geist-scroller-overlay.ui-can-scroll-top:before,.ui-geist-scroller-overlay.ui-can-scroll-bottom:after{opacity:1}.ui-geist-scroller:has(>[data-overlay-scrollbar])>.ui-geist-scroller-overlay{display:none}.ui-ov-edges{pointer-events:none;z-index:1;position:absolute;overflow:hidden}.ui-ov-edges[hidden]{display:none}.ui-ov-edges>span{visibility:hidden;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);height:16px;position:absolute;left:0;right:0}.ui-ov-edge-top{top:0;-webkit-mask-image:linear-gradient(#000,#0000);mask-image:linear-gradient(#000,#0000)}.ui-ov-edge-bottom{bottom:0;-webkit-mask-image:linear-gradient(#0000,#000);mask-image:linear-gradient(#0000,#000)}.ui-ov-edges.ui-can-scroll-top>.ui-ov-edge-top,.ui-ov-edges.ui-can-scroll-bottom>.ui-ov-edge-bottom{visibility:visible}.ui-geist-modal{box-sizing:border-box;border-radius:var(--floating-radius);background:var(--surface);width:min(540px,100vw - 20px);max-width:min(540px,100vw - 20px);max-height:min(800px,80vh);color:var(--ink);overscroll-behavior:contain;box-shadow:0 0 0 1px var(--border-15),0 32px 72px -12px #0009,0 8px 32px -12px #0009;opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;border:0;padding:0;overflow:hidden}.ui-geist-modal::backdrop{opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;background:#0009}.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:1}.ui-geist-modal[open]{flex-direction:column;display:flex}@starting-style{.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:0}}.ui-geist-modal-header{flex:none;padding:20px 20px 0}.ui-geist-modal-header h3{font-size:var(--fs-xl);color:var(--ink);margin:0;font-weight:600;line-height:26px}.ui-geist-modal-scroll{flex:1;min-width:0;min-height:0;display:flex;position:relative}.ui-geist-modal-body{overscroll-behavior:contain;min-width:0;min-height:0;font-size:var(--fs-md);color:var(--ink-2);flex:1;padding:8px 20px 20px;line-height:20px;overflow:auto}.ui-geist-modal footer{flex:none}.ui-geist-modal-body p{overflow-wrap:anywhere;margin:8px 0 0;line-height:20px}.ui-geist-modal-body>p:first-child{margin-top:0}.ui-geist-modal-body [data-modal-error]:not(:empty){margin-top:12px}.ui-geist-modal-list{min-width:0;margin-top:12px;position:relative}.ui-geist-modal-list>ul{box-sizing:border-box;overscroll-behavior:contain;overflow-wrap:anywhere;max-height:min(320px,32dvh);margin:0;padding:4px 16px 4px 20px;list-style:outside;overflow:auto}.ui-geist-modal-list>ul>li{padding:4px 0}.ui-geist-modal-list>ul:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.ui-geist-modal-form{display:contents}.ui-geist-modal-fields{gap:14px;margin-top:16px;display:grid}.ui-geist-modal-fields:empty{display:none}.ui-playlistpage{padding:4px 0 42px}.ui-playlistpage>header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.ui-playlistpage h2{margin:0 0 8px}.ui-playlistpage p{color:var(--muted);font-size:var(--fs-sm);margin:0}.ui-playlistcards{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px;display:grid}.ui-activitypage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-activity-runs{gap:12px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.ui-playlistpage h2{font-size:var(--fs-3xl);letter-spacing:-.01em;font-weight:600;line-height:1.25}@media (width<=760px){.ui-playlistpage>header{flex-direction:column;align-items:stretch}.ui-playlistpage h2{font-size:var(--fs-2xl)}}@media (width<=640px){.ui-playlistpage h2{font-size:var(--fs-xl)}}.ui-activitypage{width:100%;max-width:var(--board-content)}.ui-playlistpage>header h2{font:var(--board-title);letter-spacing:0}.ui-tastehead{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;min-height:40px;display:flex}.ui-tastesummaries{overscroll-behavior-x:contain;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-tastestate{min-height:20px;color:var(--meter);font-size:var(--fs-xs);margin:8px 0}.ui-tastesummaries{margin-bottom:16px}.ui-tastehero{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px;margin-bottom:16px;display:grid;overflow:hidden}.ui-tastebars{align-self:center;min-width:0;padding:24px}.ui-insightpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);overflow:hidden}.ui-insightpanel>header{border-bottom:1px solid var(--line-soft);align-items:center;min-height:52px;padding:0 16px;display:flex}.ui-insightpanel>header h3{font-size:var(--fs-md);margin:0}.ui-insightpanel>header p{color:var(--muted);font-size:var(--fs-xs);margin:2px 0 0}.ui-insightpanelbody{min-width:0;padding:14px 16px 16px}@media (width<=900px){.ui-tastehero{grid-template-columns:minmax(220px,40%) minmax(0,1fr)}}@media (width<=640px){.ui-tastehead{align-items:stretch}.ui-tastesummaries{grid-auto-columns:minmax(168px,82%)}.ui-tastehero{grid-template-columns:minmax(0,1fr);min-height:0}.ui-tastebars{padding:18px}.ui-insightpanel>header{padding:0 14px}.ui-insightpanelbody{padding:12px}}.ui-tastehead{gap:16px}.ui-tastesummaries{background-color:#0000;background-image:none;border:0;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;gap:16px;display:grid;overflow:visible}.ui-insightpanel,.ui-tastehero{background:var(--ground);border:0;border-radius:16px;overflow:clip}.ui-insightpanel>header{border:0;padding-top:8px}@media (width<=1000px){.ui-tastesummaries{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}.ui-insightpanel>header:not(:has([role=tablist])){min-height:0;padding:24px 24px 12px;display:block}.ui-insightpanel>header h3{font:var(--board-heading);color:var(--color-text-primary);margin:0}.ui-follow-skeleton-surface{container:follow-list/inline-size}@container follow-list (width<=739.98px){.ui-follow-skeleton-toolbar [data-compact-label]{display:none}.ui-follow-skeleton-toolbar button:has(>[data-compact-label])>svg{width:1.25rem;height:1.25rem}}.ui-skeleton-lines{gap:12px;min-width:0;display:grid}[class~=playlistcreate].ui-skeleton-lines{gap:12px;display:grid}[class~=skeleton].ui-skeleton-radar{clip-path:polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);width:100%;height:260px}[class~=skeleton].ui-skeleton-detail-media{aspect-ratio:16/9;min-width:0;height:auto;max-height:76vh}.ui-board-activity-charts{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;margin:20px 0;display:grid}@media (width<=1000px){.ui-board-activity-charts{grid-template-columns:1fr}}.ui-alphagroup{border-radius:var(--floating-radius);background:var(--ground);padding:16px 20px 12px}.ui-alphalist{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2px 16px;display:grid}.ui-alphagroup{box-shadow:none;border-radius:16px}section:has(>.ui-alphagroup){flex-direction:column;gap:16px;display:flex}.ui-skeletondashstrip{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-skeletondashstrip>span{box-sizing:border-box;border-right:1px solid var(--line-soft);align-content:center;gap:4px;min-width:0;min-height:96px;padding:14px 16px;display:grid}.ui-skeletondashstrip>span:last-child{border-right:0}.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{background:var(--hover);border-radius:var(--control-radius);display:block}.ui-skeletondashstrip i{width:52%;height:17px}.ui-skeletondashstrip b{width:68%;height:28px}.ui-skeletondashstrip em{width:60%;height:17px}@media (width<=640px){.ui-skeletondashstrip{grid-auto-columns:minmax(168px,82%)}}.ui-skeletondashhero,.ui-skeletondashpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);min-width:0;display:grid;overflow:hidden}.ui-skeletondashhero{grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em{background:var(--hover);display:block}.ui-skeletondashhero i{border-radius:var(--control-radius);margin:28px 24px}.ui-skeletondashhero b{border-radius:var(--control-radius);margin:24px}.ui-skeletondashpanel{grid-template-columns:1fr 1fr;gap:12px;padding:16px}.ui-skeletondashpanel i{border-radius:var(--control-radius);grid-column:1/-1;width:26%;height:18px}.ui-skeletondashpanel b,.ui-skeletondashpanel em{border-radius:var(--control-radius);height:84px}@media (width<=640px){.ui-skeletondashhero{grid-template-columns:minmax(0,1fr)}.ui-skeletondashhero i{min-height:180px}.ui-skeletondashhero b{min-height:220px}.ui-skeletondashpanel{grid-template-columns:1fr}}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em,.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{position:relative;overflow:hidden}.ui-skeletondashhero i:after,.ui-skeletondashhero b:after,.ui-skeletondashpanel i:after,.ui-skeletondashpanel b:after,.ui-skeletondashpanel em:after,.ui-skeletondashstrip i:after,.ui-skeletondashstrip b:after,.ui-skeletondashstrip em:after{content:"";visibility:inherit;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse skeleton-sweep;position:absolute;inset:0 -200% 0 0}.ui-skeletondashstrip{background-color:#0000;background-image:none;border:0;gap:16px}.ui-skeletondashstrip>span{background:var(--ground);border:0;border-radius:16px;min-height:152px}.ui-skeletondashhero,.ui-skeletondashpanel{border:0;border-radius:16px}.ui-entityidentity{min-width:0;max-width:100%}.peach-react :is([data-entity-state],[data-media-view])[data-skeleton-control][aria-pressed=true]{background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow)}.peach-react [data-entity-state][data-skeleton-control][aria-pressed=true]{border-radius:8px}[data-skeleton] [data-hero-costar-name][class~=skeleton]{width:52px;height:1lh}@media (width<=760px){.ui-entityidentity{width:100%}}.ui-fcollapse{transition:height .2s ease-in-out;overflow:hidden}.ui-fcollapse.ui-fcollapse-settled{overflow:visible}.ui-imgdone:after{content:"";z-index:5;pointer-events:none;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover)) 0 0/50% 100%, var(--ground);opacity:0;filter:blur(2px);visibility:hidden;transition:opacity var(--motion-reveal),filter var(--motion-reveal),visibility 0s var(--motion-reveal);position:absolute;inset:0 -200% 0 0}img.ui-hvframes{object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}img.ui-hvframes[hidden]{display:none}.peach-react .ui-configuration-skeleton-toggle{border-radius:var(--pill-radius);flex:none;width:42px;height:24px}.peach-react .ui-configuration-skeleton-select{border-radius:var(--control-radius);flex:none;width:128px;height:36px}.peach-react .ui-configuration-skeleton-input{border-radius:var(--control-radius);width:100%;height:36px}.ui-board-local-nav{scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}.ui-board-local-nav button{border-radius:var(--control-radius);color:var(--ink-2);cursor:pointer;white-space:nowrap;background-color:#0000;background-image:none;border:0;flex:none;padding:8px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}.ui-board-local-nav button:hover{color:var(--ink);background:0 0}.ui-board-local-nav button[aria-selected=true]{background:var(--hover);color:var(--ink)}.ui-board-local-nav button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}.ui-board-tab-count{font:var(--board-caption);background:var(--ink);border-radius:4px;margin-left:6px;padding:1px 4px;font-weight:500;line-height:16px;display:inline-block}@supports (color:color-mix(in lab, red, red)){.ui-board-tab-count{background:color-mix(in srgb,var(--ink) 10%,transparent)}}.ui-board-tab-count{color:var(--ink);opacity:.5;vertical-align:1px}.ui-board-local-nav button[aria-selected=true] .ui-board-tab-count{opacity:1}.ui-board-tabs button svg{width:var(--icon-inline);height:var(--icon-inline);vertical-align:-3px;stroke:currentColor;fill:none;stroke-width:2px;margin-right:6px}@media (width<=760px){.ui-board-local-nav{gap:0}.ui-board-local-nav button{padding:8px 9px;font-size:13px;line-height:18px}}.ui-board-tooltip{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);max-width:240px;color:var(--color-text-primary);font:var(--board-caption);white-space:normal;box-shadow:var(--elevation-dropdown);width:max-content;max-width:min(240px,100vw - 16px);z-index:var(--layer-tooltip);pointer-events:none;border-radius:8px;margin:0;padding:6px 10px;position:fixed;inset:auto}.ui-board-tooltip[hidden]{display:none}@media (prefers-reduced-motion:reduce){.ui-board-tooltip{transition:none}}.ui-configpage{width:100%;max-width:var(--board-content);gap:20px;margin:0 auto;display:grid}.ui-configgroup{font-size:var(--fs-2xl);margin:16px 0 0;font-weight:600;line-height:1.3}.ui-configgroup:first-child{margin-top:0}.ui-configpage>.ui-configgroup{display:none}.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:190px minmax(0,1fr);align-items:start;gap:24px}.ui-configpage>.ui-board-local-nav{top:calc(var(--topH) + 8px);z-index:1;max-height:calc(100dvh - var(--topH) - 16px);overscroll-behavior:contain;border:0;border-radius:0;flex-direction:column;grid-area:1/1;align-self:start;align-items:stretch;margin:0;padding:0;display:flex;position:sticky;overflow-y:auto}body #stats .ui-configpage>.ui-board-local-nav>button{text-align:left;white-space:normal;justify-content:flex-start}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:1/2;min-width:0}@media (width<=900px){.ui-configpage:has(>.ui-board-local-nav){flex-direction:column;align-items:stretch;gap:20px;display:flex}body #stats .ui-configpage>.ui-board-local-nav{background:var(--page);flex-flow:wrap;align-self:stretch;max-height:none;overflow:visible}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:2/1}}[data-board-group]:not(.ui-board-group-active){display:none!important}.peach-react :is(.ui-settings-rows,.ui-settings-facts)+:is(.ui-settings-rows,.ui-settings-facts){border-top:1px solid var(--color-separator-border)}.processing-effort-panel{width:256px;max-width:calc(100vw - 64px)}.processing-effort-scale{grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;display:grid}.processing-effort-scale>span{white-space:nowrap;align-items:center;gap:4px;display:flex}.processing-effort-scale>span[data-selected]{color:var(--color-text-primary)}.processing-effort-trigger{display:inline-flex}.processing-effort-scale>span:last-child[data-selected],.processing-effort-trigger[data-speed=high]>button:not([aria-disabled=true]){color:var(--color-accent-600)}.processing-effort-scale>span:nth-child(2){justify-self:center}.processing-effort-scale>span:last-child{justify-self:end}.processing-effort-double{flex-shrink:0;width:22px;height:16px}@media (hover:hover){.processing-effort-trigger:hover{--processing-effort-icon-background:var(--color-background-primary-hover)}}.processing-effort-trigger:active{--processing-effort-icon-background:var(--color-background-primary-active)}.processing-effort-trigger>button:is([aria-disabled=true],:disabled){--processing-effort-icon-background:var(--color-background-primary-disabled)}.processing-effort-label{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.processing-effort-track{border-radius:var(--control-radius);background:var(--color-background-secondary-default);height:27px;position:relative;overflow:hidden}.processing-effort-fill{width:var(--effort-fill);border-radius:inherit;background:var(--color-background-tertiary-hover);height:100%}.processing-effort-stops{justify-content:space-between;display:flex;position:absolute;inset:7px 9px}.processing-effort-stops i{background:var(--color-foreground-icon-tertiary);border-radius:var(--badge-radius);width:3px}.processing-effort-hit{touch-action:none;inset:0 10.5px;position:absolute!important}.processing-effort-thumb{border:1px solid var(--color-border-checkbox-default);border-radius:var(--control-radius);background:var(--color-background-primary-default);width:21px;height:27px;box-shadow:var(--elevation-xs);cursor:grab;outline:none;top:50%}.processing-effort-thumb[data-focus-visible]{outline:2px solid var(--color-border-focus-ring);outline-offset:-2px}.processing-effort-thumb[data-dragging]{cursor:grabbing}.processing-effort-slider[data-disabled]{opacity:.6}[data-effort-flow]{pointer-events:none;background:oklch(28.2% .091 267.935);position:absolute;inset:0}@supports (color:color-mix(in lab, red, red)){[data-effort-flow]{background:color-mix(in srgb,var(--color-accent-950) 80%,var(--color-background-primary-default))}}[data-effort-flow]{overflow:hidden}[data-effort-flow] svg{width:100%;height:100%;animation:1s linear infinite processing-flow-wave}.processing-flow-outer{fill:var(--color-accent-500)}.processing-flow-middle{fill:var(--color-accent-300)}.processing-flow-core{fill:var(--color-accent-50)}[data-effort-flow] i{right:0;top:var(--particle-y);background:var(--color-text-white);opacity:0;width:4px;height:1px;animation:1s linear infinite processing-flow-particle;animation-delay:var(--particle-delay);position:absolute}[data-effort-flow][data-motion=paused] :is(svg,i){animation-play-state:paused}@keyframes processing-flow-wave{0%,to{transform:scaleY(1)}50%{transform:scaleY(.72)}}@keyframes processing-flow-particle{0%{opacity:0;transform:translate(0)}15%{opacity:.6}to{opacity:0;transform:translate(-240px)}}.ui-board-job-progress{align-items:center;gap:12px;padding:12px 0;font-size:14px;line-height:20px;display:flex}.ui-board-job-progress svg{flex:none}.ui-board-job-progress circle{fill:none;stroke-width:2.5px;stroke-linecap:round}.ui-board-job-track{stroke:var(--line-soft)}.ui-board-job-fill{stroke:var(--tungsten);transition:stroke-dasharray .3s ease-out}.ui-board-job-progress small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;line-height:16px;display:block}@media (prefers-reduced-motion:reduce){.ui-board-job-fill{transition:none}}.ui-board-page,.ui-board-page-dots{width:32px;height:32px;color:var(--color-text-secondary);font:var(--board-body-medium);font-variant-numeric:tabular-nums;background-color:#0000;background-image:none;border:0;border-radius:8px;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.ui-board-page{cursor:pointer;transition:none}.ui-board-page:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.ui-board-page[aria-current=page]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);box-shadow:var(--elevation-xs)}.ui-board-page-dots{color:var(--color-text-tertiary)}[data-async-text-value][aria-hidden=true],[data-async-text-skeleton]{opacity:0}[data-async-text][aria-busy=true]>[data-async-text-skeleton]{opacity:1}.dark .peach-react [data-link-result=gone] [data-link-code],.dark .peach-react [data-status-tone=error]{color:var(--color-text-error-primary)}.peach-react [data-source-mark=rss]{color:var(--feed-mark)}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}.peach-react [data-content-transition]{min-width:0;display:grid;position:relative}.peach-react [data-content-transition]>:is([data-content-current],[data-content-skeleton]){min-width:0;transition:opacity var(--motion-content), visibility var(--motion-content);grid-area:1/1}.peach-react [data-content-current]{opacity:1}.peach-react [data-content-skeleton]{opacity:0;visibility:hidden;pointer-events:none;position:absolute;inset:0}.peach-react [data-content-transition][data-pending]>[data-content-current]{opacity:0}.peach-react [data-content-transition][data-pending]>[data-content-skeleton]{opacity:1;visibility:visible;position:relative}.peach-react :is([data-async-text-value],[data-async-text-skeleton]){transition:opacity var(--motion-content)}@starting-style{.peach-react [data-content-transition][data-pending]>[data-content-skeleton]{opacity:0}}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:var(--selection-dock-space,96px)}html:has([data-selection-dock]){scroll-padding-bottom:var(--selection-dock-space,96px)}[data-danger]:not(:disabled){isolation:isolate;background:var(--board-red);box-shadow:var(--elevation-xs);color:#fff;border:0;transition:box-shadow .15s,color .15s;position:relative}[data-danger]:not(:disabled):before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}[data-danger]:not(:disabled):hover:before{opacity:1}[data-danger]:not(:disabled):active{background:var(--board-red-active)}[data-danger]:not(:disabled):active:before{opacity:0}.peach-react [data-board-tab-list]>button[aria-selected=true]{background:var(--hover);color:var(--ink)}.peach-react [data-error-details-toggle]{font:var(--board-compact);color:var(--ink-2);background:0 0}.peach-react [data-error-details-toggle]:hover:not(:disabled,[aria-disabled=true]){background:var(--control-hover);color:var(--ink)}.peach-react [data-error-details-toggle]:active:not(:disabled,[aria-disabled=true]){background:var(--hover);color:var(--ink)}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react .button-press-motion:has(>span)>svg,.peach-react .underline-offset-3>svg{width:var(--icon-inline);height:var(--icon-inline)}.peach-react [data-filter-glass] :is(button,a[aria-pressed],[data-glass-segment]){height:var(--control-h-compact);min-height:var(--control-h-compact)}.peach-react [data-filter-glass] .tag-skeleton-view{height:var(--control-h-compact);background:0 0;border:0;gap:2px;padding:0}.peach-react [data-filter-glass] .tag-skeleton-view>label{width:var(--control-h-compact);height:var(--control-h-compact);min-height:var(--control-h-compact);border-radius:8px;padding:0}.peach-react [data-filter-glass] .tag-skeleton-view svg{width:16px;height:16px}.peach-react button[data-filter-action]{width:var(--control-h-compact);min-width:var(--control-h-compact);height:var(--control-h-compact);min-height:var(--control-h-compact);border-radius:var(--control-radius);background:var(--board-blue);box-shadow:var(--elevation-xs);color:#fff;border:0;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.peach-react button[data-filter-action]:hover{background:var(--board-blue-hover);color:#fff}.peach-react button[data-filter-action] svg{width:16px;height:16px}.peach-react button[data-filter-action][aria-busy=true]{cursor:wait}:is(.peach-react [data-index-head],.peach-react[data-index-head]) button:is([data-filter-action],[data-tag-mode]){width:var(--control-h);min-width:var(--control-h);height:var(--control-h);min-height:var(--control-h);border-radius:var(--control-radius);padding:0}.peach-react button[data-tag-mode] svg{width:16px;height:16px}.peach-react [data-glass-pill]:hover:not([aria-busy]){background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>*+:not(:has(img)){margin-left:-8px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-token]{border-radius:var(--control-radius);border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-token]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-token]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-token]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-token]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-token]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-token] :is([data-entity-action],[data-tag-chip]){border-radius:calc(var(--control-radius) - 4px)}.peach-react [data-tag-token] [data-entity-action]{background:0 0;border-color:#0000;width:24px;height:24px}.peach-react [data-tag-token] [data-entity-action]:is(:hover,[data-hovered]){background:var(--hover)}.peach-react [data-tag-token]:has([data-tag-chip][aria-pressed=true]),.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);position:relative;overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}.peach-react [data-trigger=Select]{min-width:var(--trigger-width)}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}[data-responsive-toolbar]{flex-wrap:wrap;align-items:center;gap:8px;display:flex}[data-toolbar-heading]{flex-direction:column;min-width:0;max-width:100%;margin-inline-end:auto;display:flex}[data-toolbar-actions]{flex-wrap:wrap;flex:none;align-items:center;gap:8px;width:max-content;max-width:100%;display:flex}[data-pagination-layout]{grid-template-columns:auto minmax(0,1fr) auto}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}[data-batch-dock],[data-batch-scope]{display:contents}[data-batch-scope] [data-selection-dock]{color:var(--ink);font:var(--board-body)}[data-batch-scope] [data-selection-dock]>[role=status]{color:var(--ink-2);font:inherit;white-space:nowrap;padding:0 8px}[data-batch-scope] [data-selection-dock]>button{box-sizing:border-box;height:36px;min-height:36px;font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:8px 12px;display:inline-flex}[data-batch-scope] [data-selection-dock]>button:not([data-danger]){border:1px solid var(--line);background:var(--surface);box-shadow:var(--elevation-xs);color:var(--ink);transition:background-color .15s}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):hover:not(:disabled){background:var(--control-hover)}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):disabled{border-color:var(--line);background:var(--ground);box-shadow:none;color:var(--muted)}[data-batch-scope] [data-selection-dock]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-batch-scope] [data-selection-dock]>button svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;flex:none;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body[data-batch-dock-open] :is(#grid,[data-stage]){padding-bottom:var(--selection-dock-space,180px)}@media (width<=760px){[data-batch-scope][data-context=junk] [data-selection-dock]{grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100vw - 24px);max-width:none;padding:9px 10px;display:grid;bottom:12px}[data-batch-scope][data-context=junk] [data-selection-dock]>[role=status]{text-align:center;grid-column:1/-1;padding:0}[data-batch-scope][data-context=junk] [data-selection-dock]>button{min-width:0;min-height:44px;font-size:var(--fs-xs);padding:8px 6px}[data-batch-scope][data-context=junk] [data-selection-dock]>button svg{margin-right:4px}}:is([data-glow-grid],[data-accent-grid]){grid-template-columns:repeat(6,1fr);gap:6px;padding:0 4px;display:grid}[data-glow-grid][hidden]{display:none}[data-glow-chip]{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}[data-glow-chip]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-glow-ball]{background:var(--glow-chip);border-radius:50%;width:28px;height:28px;transition:transform .15s;position:relative;box-shadow:inset 0 1px 1px #ffffff6b,inset 0 -1px 2px #0000002e,0 0 0 1px #ffffff29}[data-glow-ball]:after{content:"";background:linear-gradient(#ffffff8a,#fff0);border-radius:50%;height:38.5%;position:absolute;top:6%;left:14%;right:14%}[data-glow-ball][data-accent-ball]{--glow-chip:radial-gradient(circle closest-side,var(--color-accent-400),var(--color-accent-600))}[data-glow-ball][data-glow-native]{--glow-chip:conic-gradient(from -90deg,var(--glass-native-a) 0 50%,var(--glass-native-b) 50% 100%)}[data-glow-chip]:hover [data-glow-ball]{transform:scale(1.1)}[data-glow-chip][aria-pressed=true] [data-glow-ball]{box-shadow:inset 0 1px 1px #ffffff6b,0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 32%,transparent)}[data-glow-head]{color:var(--muted);justify-content:space-between;align-items:center;padding:0 4px 8px;font-size:12px;display:flex}[data-glow-sub]{margin:12px 0 0}[data-glow-preset-reset]{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px}[data-glow-preset-reset]:hover{color:var(--ink)}[data-glow-head][hidden]{display:none}[data-glow-grid][hidden]+[data-glow-sub]{margin-top:0}[data-pill-thumb]{transform:translate(var(--pill-left),var(--pill-top));width:var(--pill-width);height:var(--pill-height);transition:transform .3s cubic-bezier(.34,1.2,.64,1),width .3s cubic-bezier(.34,1.2,.64,1),height .3s cubic-bezier(.34,1.2,.64,1)}[data-pill-nav]{isolation:isolate;position:relative}[data-pill-nav]>[data-pill-thumb]{pointer-events:none;z-index:0;background:var(--hover);border-radius:var(--control-radius);transition:transform .3s cubic-bezier(.34,1.2,.64,1),width .3s cubic-bezier(.34,1.2,.64,1),height .3s cubic-bezier(.34,1.2,.64,1);position:absolute;top:0;left:0}[data-pill-nav]>:is(button,[role=tab]){z-index:1;position:relative}[data-pill-nav]:has(>[data-pill-thumb])>[data-pill-selected],body #stats [data-section-items][data-pill-nav]:has(>[data-pill-thumb])>[data-pill-selected],[data-manage-menu][data-pill-nav]:has(>[data-pill-thumb])>button[aria-pressed=true]{background:0 0}.peach-react [data-search-tabs][data-pill-nav]>[data-pill-thumb]{background:var(--picked)}.peach-react [data-search-tabs][data-pill-nav]:has(>[data-pill-thumb])>button[data-pill-selected]{background:0 0}@media (prefers-reduced-motion:reduce){[data-pill-nav]>[data-pill-thumb]{transition:none}}[data-manage-header]{display:contents}:is([data-manage-bar],[data-manage-crumb],[data-manage-title],[data-manage-lede]){box-sizing:border-box;width:100%;max-width:var(--board-content);margin-left:auto;margin-right:auto}[data-manage-bar]{margin-top:0;margin-bottom:24px;display:block}[data-manage-menu]{scrollbar-width:none;flex-wrap:nowrap;gap:4px;margin:0;padding:0;display:flex;position:relative;overflow-x:auto}[data-manage-menu]::-webkit-scrollbar{display:none}[data-manage-menu]>button{border-radius:var(--control-radius);min-height:36px;color:var(--ink-2);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:7px;margin:0;padding:8px 12px;font-size:14px;font-weight:400;display:inline-flex;position:relative}[data-manage-menu]>button svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}[data-manage-menu]>button:hover{color:var(--ink)}[data-manage-menu]>button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-manage-crumb]{margin-top:0;margin-bottom:12px;display:block}[data-manage-crumb] ol{align-items:center;gap:6px;margin:0;padding:0;list-style:none;display:flex}[data-manage-crumb] li{font-size:var(--fs-md);color:var(--muted);align-items:center;gap:6px;line-height:20px;transition:color .2s;display:flex}[data-manage-crumb] li[aria-current],[data-manage-crumb] li:not([aria-current]):hover{color:var(--ink)}[data-manage-crumb] a{color:inherit;text-decoration:none}[data-manage-crumb] li svg{width:16px;height:16px;stroke:var(--muted);fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}h2[data-manage-title]{font:var(--board-title);letter-spacing:0;margin-top:0;margin-bottom:24px}@media (width<=760px){h2[data-manage-title]{font:var(--board-figure)}h2[data-manage-title][data-compact]{font-size:22px}}p[data-manage-lede]{border-radius:var(--surface-radius);background:var(--color-background-primary-default);color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:0;margin-bottom:16px;padding:20px 24px;line-height:1.5;display:flex}:root[data-theme=light] p[data-manage-lede]{background:var(--color-background-secondary-default)}@media (prefers-color-scheme:light){:root:not([data-theme]) p[data-manage-lede]{background:var(--color-background-secondary-default)}}[data-manage-lede]>[data-lede-text]{font:var(--board-heading)}[data-manage-lede]>[data-trash-lede-skeletons]{display:contents}[data-manage-lede] [data-trash-lede-skeleton]{background:color-mix(in srgb,var(--ink) 7%,transparent)}[data-manage-lede] [data-trash-lede-skeleton=text]{width:180px;max-width:60%;height:20px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:88px;max-width:none;height:32px}[data-manage-lede]>button[data-empty-trash]{box-sizing:border-box;border-radius:var(--control-radius);min-height:32px;font:inherit;font-size:var(--fs-xs);cursor:pointer;flex:none;align-items:center;padding:0 14px;font-weight:500;display:inline-flex}[data-manage-lede]>button[data-empty-trash]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=760px){[data-manage-bar]{margin-top:0;margin-bottom:24px}[data-manage-menu]{gap:0}[data-manage-menu]>button{padding:10px 9px;font-size:13px}[data-manage-menu]>button svg{display:none}[data-manage-lede]>button[data-empty-trash]{height:44px;padding-inline:16px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:92px;height:44px}}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg,.peach-react [data-entity-batch][aria-busy=true] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-filter-glass]>[data-filter-row=bottom]{overflow-y:hidden}button[data-settings-dialog-close]{background:var(--surface);width:24px;height:24px;color:var(--muted);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}button[data-settings-dialog-close]:hover{background:var(--hover);color:var(--ink)}button[data-settings-dialog-close]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}button[data-settings-dialog-close] svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react :is([data-namepick-toggle],[data-entity-action]){border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react :is([data-namepick-toggle],[data-entity-action]):is(:hover,[data-hovered]){background:var(--hover);color:var(--ink)}.peach-react :is([data-namepick-toggle],[data-entity-action]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react :is([data-namepick-toggle],[data-entity-action]) svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react [data-favorite][aria-pressed=true]{color:var(--color-yellow-500)}.peach-react [data-favorite][aria-pressed=true] svg{fill:currentColor}.peach-react [data-favorite][aria-busy=true]{color:var(--muted);cursor:wait}.peach-react [data-shortcuts-entry]{flex:none;display:inline-flex}.peach-react [data-modal-width=collections]{background:var(--page);border-color:var(--line);flex:none;width:871px;max-width:calc(100vw - 32px)}.peach-react [data-modal-width=collections]>[role=dialog]{flex:1}.peach-react [data-modal-kind=collections]{transition:none}.peach-react [data-modal-kind=collections][data-entering]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}.peach-react [data-modal-kind=collections][data-exiting]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}.peach-react [data-modal-kind=collections] [data-modal-surface]{transition:none}.peach-react [data-modal-kind=collections] [data-modal-surface][data-entering]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;transform:none}.peach-react [data-modal-kind=collections] [data-modal-surface][data-exiting]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-out;transform:none}.peach-react [data-modal-kind=collections][data-motion-instant],.peach-react [data-modal-kind=collections][data-motion-instant] [data-modal-surface]{animation:none}.peach-react [data-shortcuts-panel]{flex:1;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);min-height:0;display:grid}.peach-react [data-shortcuts-head]{grid-column:2;justify-content:space-between;align-items:center;gap:12px;padding:32px 32px 24px;display:flex}.peach-react [data-shortcuts-head] h2{font-size:var(--fs-xl);font-weight:500;line-height:26px}.peach-react [data-shortcuts-sidebar]{min-height:0;box-shadow:inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-shadow);border:0;flex-direction:column;grid-area:1/1/3;padding:10px;display:flex}.peach-react [data-shortcuts-categories]{scrollbar-width:none;flex-direction:column;flex:1;gap:4px;min-height:0;margin-inline:-10px;padding-inline:10px;display:flex;position:relative;overflow-y:auto}.peach-react [data-shortcuts-caption]{z-index:1;font-size:var(--fs-xs);color:var(--muted);margin:0;padding:4px 8px 8px;position:relative}.peach-react [data-shortcuts-categories]>button{z-index:1;border-radius:var(--control-radius);min-height:36px;color:color-mix(in srgb, var(--glass-text) 65%, transparent);font:var(--board-body-medium);text-align:left;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:8px;padding:8px;display:flex;position:relative}.peach-react [data-shortcuts-categories]>button:is(:hover,[aria-selected=true]){color:var(--glass-text);background:0 0}.peach-react :is([data-shortcuts-categories],[data-shortcuts-footer]) svg{color:var(--glass-text)}.peach-react [data-shortcuts-categories]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-shortcuts-count]{color:var(--muted);font:var(--board-caption);margin-left:auto}.peach-react [data-shortcuts-footer]{flex-direction:column;gap:4px;display:flex}.peach-react [data-shortcuts-footer] a{width:100%;font-family:var(--board-font);background:0 0;line-height:20px}.peach-react [data-shortcuts-footer] a:hover{background:0 0}.peach-react [data-shortcuts-footer] a>svg:last-child{margin-left:auto}.peach-react [data-shortcuts-footer] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-shortcuts-footer] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor}.peach-react [data-shortcuts-content]{grid-column:2;padding:16px 32px 32px}.peach-react [data-shortcuts-content] [data-empty-state]{padding:16px}.peach-react [data-shortcuts-row]{border-bottom:1px solid var(--color-separator-border);padding-block:12px}.peach-react [data-shortcuts-avatar]{background:var(--hover);width:36px;height:36px;color:var(--muted);border-radius:50%;flex:none;place-items:center;display:grid;overflow:hidden}.peach-react [data-shortcuts-avatar] img{object-fit:cover;width:100%;height:100%}.peach-react [data-shortcuts-avatar]:has(img)>svg{display:none}@media (width<=760px){.peach-react [data-modal-width=collections]{width:calc(100vw - 24px);max-width:calc(100vw - 24px)}.peach-react [data-shortcuts-panel]{flex-direction:column;display:flex}.peach-react [data-shortcuts-sidebar]{display:contents}.peach-react [data-shortcuts-categories]{border-bottom:1px solid var(--border-10);flex-direction:row;flex:none;order:0;margin-inline:0;padding:10px;overflow-x:auto}.peach-react [data-shortcuts-caption]{white-space:nowrap;flex:none;align-self:center;padding:0 8px 0 0}.peach-react [data-shortcuts-categories]>button{white-space:nowrap}.peach-react [data-shortcuts-head]{order:1;padding:16px 20px 12px}.peach-react [data-shortcuts-content]{flex:1;order:2;padding:16px 20px 20px}.peach-react [data-shortcuts-footer]{flex-direction:row;flex:none;order:3;padding:10px}}.peach-react [data-collapse-chevron]{transition:transform var(--motion-swap);transform:rotate(0)}.peach-react :is(button,summary)[aria-expanded=true]>[data-collapse-chevron],.peach-react [data-collapse-upward][aria-expanded=false]>[data-collapse-chevron]{transform:rotate(180deg)}.peach-react [data-collapse-upward][aria-expanded=true]>[data-collapse-chevron]{transform:rotate(0)}html[data-wall-entry] body,body[data-wall-open]{background:#070707;overflow:hidden}html[data-wall-entry] :is(body>header,[data-network-banner],#drawer,#main,#catalogPageHeading,#listTitle,#catalogFilter,#count,#javLibraryHeader,#feedNew),body[data-wall-open] :is(body>header,[data-network-banner],#drawer,#main,#catalogPageHeading,#listTitle,#catalogFilter,#count,#javLibraryHeader,#feedNew){pointer-events:none}:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogPageHeading,#listTitle,#catalogFilter,#count,#javLibraryHeader,#feedNew),:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogPageHeading,#listTitle,#catalogFilter,#count,#javLibraryHeader,#feedNew) *,:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogPageHeading,#listTitle,#catalogFilter,#count,#javLibraryHeader,#feedNew) :before,:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogPageHeading,#listTitle,#catalogFilter,#count,#javLibraryHeader,#feedNew) :after{visibility:hidden!important;animation-play-state:paused!important}.peach-react [data-video-wall]{--ground:#070707;--surface:#161419;--ink:#f7f4ee;--ink-2:#f7f4ee;--muted:#aaa7a2;--hover:#ffffff14;--line-soft:#ffffff38;--color-button-ghost-background:transparent;--color-button-ghost-foreground:#f7f4ee;--color-button-ghost-hover:#ffffff14;--color-button-ghost-active:#ffffff1f;--color-background-primary-default:#070707;--color-background-secondary-default:#161419;--color-background-tertiary-default:#ffffff1a;--color-text-primary:#f7f4ee;--color-text-secondary:#aaa7a2;--color-border-button-default:#ffffff38;--gradient-button-primary-default:linear-gradient(#f7f4ee,#f7f4ee);--gradient-button-primary-hover:linear-gradient(#fff,#fff);--gradient-button-primary-active:var(--gradient-button-primary-default);width:100%;height:100dvh;z-index:calc(var(--layer-miniplayer) - 1);isolation:isolate;background:var(--ground);color:var(--ink);position:fixed;inset:0;overflow:hidden}.peach-react [data-video-wall][hidden]{display:none}.peach-react [data-video-wall]:after{content:"";z-index:4;pointer-events:none;background:radial-gradient(#0000 78%,#00000085 100%);position:absolute;inset:0}.peach-react [data-wall-viewport]{touch-action:none;cursor:grab;position:absolute;inset:0;overflow:hidden}.peach-react [data-wall-viewport]:active{cursor:grabbing}.peach-react [data-wall-viewport]:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-wall-world]{transform-origin:0 0;position:absolute;inset:0}.peach-react [data-video-wall][data-refreshing] [data-wall-viewport]{filter:blur(8px)grayscale();pointer-events:none}.peach-react [data-wall-skeleton]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:#f7f4ee0f;display:block;position:absolute}.peach-react :is([data-wall-error],[data-wall-empty]){z-index:7;width:min(420px,100% - 48px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-wall-error]{flex-direction:column;gap:12px;display:flex}.peach-react [data-wall-tile]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:var(--surface);color:var(--ink);text-align:left;cursor:inherit;-webkit-user-select:none;user-select:none;contain:layout paint;border:0;border-radius:0;padding:0;transition:filter .6s,box-shadow .6s;display:block;position:absolute;overflow:hidden}@media (hover:hover) and (pointer:fine){.peach-react [data-wall-tile]:not([data-wall-focus]):hover{z-index:3;filter:saturate(1.08)brightness(1.05)}}.peach-react [data-wall-tile]:focus-visible{z-index:4;outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-video-wall] :is([data-media-pic],[data-media-art]){display:block;position:absolute;inset:0;overflow:hidden}.peach-react [data-video-wall] [data-media-pic]{--pic-radius:0;clip-path:inset(0)}.peach-react [data-video-wall] [data-media-pic]:before{content:"";background:var(--cover-blur) center/cover no-repeat;filter:blur(20px);opacity:.7;pointer-events:none;position:absolute;inset:-20px}.peach-react [data-wall-tile] img{pointer-events:none;border-radius:0}.peach-react [data-wall-tile] img[class~=whole]{object-fit:cover;object-position:var(--cover-x,50%) var(--cover-y,22%)}.peach-react [data-wall-tile] [data-media-art=thumb] img{object-fit:cover;object-position:50% 22%;width:100%;height:100%;display:block}.peach-react [data-wall-tile-shade]{pointer-events:none;background:linear-gradient(#0000000d 34%,#0000003d 56%,#000000eb 100%);position:absolute;inset:0}.peach-react [data-wall-dim]{pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-wall-copy]{color:var(--ink);pointer-events:none;flex-direction:column;gap:4px;padding:13px;display:flex;position:absolute;inset:auto 0 0}.peach-react [data-wall-copy] b{letter-spacing:-.045em;text-wrap:balance;-webkit-line-clamp:3;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin-block:-.14em;padding-block:.14em;font-size:calc(clamp(22px,2vw,36px)/1.31579);font-weight:600;line-height:.96;display:-webkit-box;overflow:hidden}.peach-react [data-wall-copy]>span{opacity:.78;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:600;overflow:hidden}.peach-react [data-wall-number],.peach-react [data-wall-duration]{color:var(--ink);font-variant-numeric:tabular-nums;background:#000000a8;border-radius:0;padding:3px 6px;font-size:11px;font-weight:600;position:absolute;top:12px}.peach-react [data-wall-number]{left:12px}.peach-react [data-wall-duration]{right:12px}.peach-react [data-wall-progress]{height:2px;width:var(--wall-progress);background:var(--ink);position:absolute;bottom:0;left:0}.peach-react [data-wall-no-art]{color:var(--muted);font-size:var(--fs-sm);place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-wall-bar]{z-index:30;left:24px;right:24px;top:calc(24px + env(safe-area-inset-top));pointer-events:none;flex-wrap:wrap;align-items:center;gap:8px;display:flex;position:absolute}.peach-react [data-wall-bar]>*{pointer-events:auto;flex:none}.peach-react :is([data-wall-back],[data-wall-round],[data-wall-refresh] button){width:44px;height:44px;color:var(--ink);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);cursor:pointer;background:#282828c7;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.peach-react :is([data-wall-back],[data-wall-round],[data-wall-refresh] button):hover{background:#464646e0}.peach-react :is([data-wall-back],[data-wall-round],[data-wall-refresh] button):focus-visible{outline:2px solid var(--ink);outline-offset:3px}.peach-react :is([data-wall-back],[data-wall-round],[data-wall-refresh] button) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.peach-react [data-wall-bar]>[data-wall-filter-notice]{flex:260px;min-width:0}.peach-react [data-wall-image][aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-wall-image][aria-pressed=true]:hover{background:#fff}.peach-react [data-wall-bar]>[data-wall-search]{min-width:44px;max-width:44px;height:44px;color:var(--ink);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#282828c7;border-radius:22px;flex:1 1 0;transition:max-width .26s cubic-bezier(.22,1,.36,1);display:flex;overflow:hidden}.peach-react [data-wall-bar]>[data-wall-search][data-open]{max-width:320px}.peach-react [data-wall-search] [data-wall-round]{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;flex:none}.peach-react [data-wall-search] input{min-width:0;height:100%;color:var(--ink);font:inherit;background:0 0;border:0;border-radius:0;outline:0;flex:1;padding:0 18px 0 2px;font-size:14px}.peach-react [data-wall-search] input::placeholder{color:var(--muted)}.peach-react [data-wall-search] input::-webkit-search-cancel-button{appearance:none}.peach-react [data-wall-search]:has(input:focus-visible){outline:2px solid var(--ink);outline-offset:3px}@media (prefers-reduced-motion:reduce){.peach-react [data-wall-bar]>[data-wall-search]{transition:none}}.peach-react [data-wall-footer]{left:24px;bottom:calc(24px + env(safe-area-inset-bottom));z-index:5;position:absolute}.peach-react [data-wall-focus]{z-index:20;cursor:default;background:var(--surface);isolation:isolate;border:1px solid #f7f4eeb8;border-radius:0;flex-direction:column;display:flex;box-shadow:0 42px 110px #000000bd}.peach-react [data-wall-focus]:before{content:"";z-index:6;pointer-events:none;border:2px solid var(--ink);box-shadow:inset 0 0 0 1px #00000085,inset 0 0 0 3px transparent,inset 0 0 15px -7px color-mix(in srgb,var(--ink) 46%,transparent);position:absolute;inset:0}.peach-react [data-wall-focus]:focus-within:before{box-shadow:inset 0 0 0 1px #0000009e,inset 0 0 0 3px transparent,inset 0 0 26px -6px color-mix(in srgb,var(--ink) 62%,transparent)}.peach-react [data-wall-focus-backdrop]{z-index:-1;opacity:.46;filter:blur(36px)saturate(.3);position:absolute;inset:-30px}.peach-react [data-wall-focus-backdrop] img{object-fit:cover;width:100%;height:100%}.peach-react [data-wall-scene]{position:absolute;inset:0}.peach-react [data-wall-focus][data-playing] [data-wall-scene]{filter:blur(36px);transform:scale(1.1)}.peach-react [data-wall-expanded-shade]{pointer-events:none;background:linear-gradient(#0000 54%,#00000042 70%,#0000009e 86%,#000000db 100%),linear-gradient(90deg,#000000e0,#00000080 52%,#00000014);position:absolute;inset:0}.peach-react [data-wall-focus-head]{pointer-events:none;flex-direction:column;gap:7px;display:flex;position:absolute;bottom:116px;left:24px;right:24px}.peach-react [data-wall-focus-head] b{--wall-code-size:calc(clamp(48px,6vw,82px) * .76);max-width:76%;font-size:var(--wall-code-fit,var(--wall-code-size));letter-spacing:-.045em;white-space:nowrap;text-overflow:ellipsis;font-weight:600;line-height:.95;display:block;overflow:hidden}.peach-react [data-wall-focus-head] strong{white-space:nowrap;text-overflow:ellipsis;max-width:90%;font-size:16px;font-weight:500;line-height:1.3;display:block;overflow:hidden}.peach-react [data-wall-focus-head] :is(span,small){opacity:.8;overflow-wrap:anywhere;font-size:13px}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head]{gap:5px;top:64px;bottom:auto}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] b{--wall-code-size:22px;letter-spacing:-.025em;line-height:1.1}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-close]{z-index:3;position:absolute;top:16px;right:16px}.peach-react [data-wall-player]{width:100%;height:100%;position:absolute;inset:0}.peach-react [data-wall-player][hidden]{display:none}.peach-react [data-wall-player] .video-js{background:0 0;width:100%;height:100%}.peach-react [data-wall-player] :is(.vjs-control-bar,.vjs-big-play-button,.vjs-title-bar),.peach-react [data-wall-player] :is([data-player-stats-button],[data-player-net],[data-player-stats]){display:none}.peach-react [data-wall-focus-actions]{z-index:3;flex-direction:column;gap:10px;display:flex;position:absolute;bottom:22px;left:24px;right:18px}.peach-react [data-wall-control-row]{align-items:center;gap:6px;display:flex}.peach-react [data-wall-time]{font-variant-numeric:tabular-nums;white-space:nowrap;opacity:.78;margin-left:auto;font-size:11px}.peach-react [data-wall-seek]{appearance:none;cursor:pointer;background:linear-gradient(to right,var(--ink) var(--wall-seek),#f7f4ee47 var(--wall-seek));border:0;border-radius:0;width:100%;height:2px;margin:0;padding:0}.peach-react [data-wall-seek]::-webkit-slider-thumb{appearance:none;background:var(--ink);border-radius:50%;width:8px;height:8px}.peach-react [data-wall-seek]::-moz-range-thumb{background:var(--ink);border:0;border-radius:50%;width:8px;height:8px}.peach-react [data-wall-play-error]{z-index:4;position:absolute;bottom:85px;left:24px;right:24px}.peach-react [data-wall-queue]{z-index:5;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border:1px solid var(--line-soft);background:#070707f0;max-height:58%;display:flex;position:absolute;bottom:88px;left:24px;right:24px;overflow:hidden}.peach-react [data-wall-queue] [data-mix-queue]{background:0 0;border:0;grid-template-rows:auto minmax(0,1fr);width:100%;height:auto;min-height:0;max-height:100%;display:grid}.peach-react [data-wall-queue] [data-mix-list]{overscroll-behavior:contain;display:block;overflow:auto}.peach-react [data-wall-queue] [data-mix-item-text]{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.peach-react [data-wall-queue] [data-mix-item-text] b{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.peach-react [data-wall-queue] [data-mix-item-text] span{opacity:.78;font-size:12px}.peach-react [data-wall-queue] :is([data-mix-row],[data-mix-item]){border-radius:0}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]){width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:0;place-items:center;padding:6px;display:grid}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):hover{background:var(--hover)}.peach-react button[data-wall-focus-close]{background:#000000a8;border-radius:50%}.peach-react button[data-wall-focus-close]:hover{background:#000000db}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):focus-visible{outline:2px solid var(--ink);outline-offset:2px}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.peach-react [data-wall-pause] svg{fill:currentColor;stroke:none}.peach-react [data-wall-focus-actions] button:disabled{opacity:.5;cursor:default}.peach-react [data-wall-footer] button{color:var(--ink);border-color:var(--line-soft);background:#282828c7}@media (width<=640px){.peach-react [data-wall-bar]{left:16px;right:16px;top:calc(16px + env(safe-area-inset-top))}.peach-react [data-wall-filter-notice]{padding-inline:12px}.peach-react [data-wall-search] input{font-size:16px}.peach-react [data-wall-focus-head]{bottom:104px;left:16px;right:16px}.peach-react [data-wall-focus-head] b{--wall-code-size:34px}.peach-react [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-actions]{bottom:18px;left:16px;right:16px}.peach-react [data-wall-control-row]{gap:2px}.peach-react [data-wall-time]{font-size:10px}.peach-react [data-wall-footer]{left:16px;bottom:calc(16px + env(safe-area-inset-bottom))}}.peach-react [data-board-data-table][data-resizable-table] .bui-table{table-layout:fixed}.peach-react [data-board-data-table][data-resizable-table] th{padding-right:16px;position:relative}.peach-react [data-board-data-table][data-resizable-table] td{text-overflow:ellipsis;overflow:hidden}.peach-react [data-board-data-table][data-resizable-table] [data-table-space]{padding:0}.peach-react [data-board-data-table] td a{align-self:flex-start;width:fit-content;max-width:100%}.peach-react [data-board-data-table] td a:has(>[data-middle-truncate]){width:100%}.peach-react [data-board-data-table] .react-aria-ColumnResizer{z-index:2;cursor:ew-resize;touch-action:none;width:20px;position:absolute;top:0;bottom:0;right:-10px}.peach-react [data-board-data-table] .react-aria-ColumnResizer:after{content:"";background:var(--border-15);width:1px;position:absolute;top:8px;bottom:8px;left:9px}.peach-react [data-board-data-table] th:is(:last-child,:has(+th[data-table-space])) .react-aria-ColumnResizer{width:12px;right:0}.peach-react [data-board-data-table] th:is(:last-child,:has(+th[data-table-space])) .react-aria-ColumnResizer:after{left:11px}html[data-column-resizing],html[data-column-resizing] *{cursor:ew-resize!important;-webkit-user-select:none!important;user-select:none!important}.peach-react [data-board-data-table] .react-aria-ColumnResizer:is([data-hovered],[data-resizing],[data-focus-visible]):after{background:var(--ink)}.peach-react [data-board-data-table] .react-aria-ColumnResizer[data-focus-visible]{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-rating-stars]{align-items:center;gap:2px;display:inline-flex}.peach-react [data-rating-stars] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-rating-stars] button[data-rate]{cursor:pointer}.peach-react [data-rating-stars] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-rating-stars] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-rating-stars]:hover button[data-rate] svg{fill:none}.peach-react [data-rating-stars]:hover button[data-rate]:hover svg,.peach-react [data-rating-stars]:hover button[data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-rating-stars] button[data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-rating-stars] button[aria-disabled=true]{color:var(--muted);cursor:wait}.peach-react [data-rating-icon]{width:19px;height:19px;display:block;position:relative}.peach-react [data-rating-icon] svg{display:block;position:absolute;inset:0}.peach-react [data-rating-fill]{position:absolute;inset:0 auto 0 0;overflow:hidden}.peach-react [data-rating-fill] svg{fill:currentColor;max-width:none}.peach-react [data-catalog-table] .bui-table :is(th,td){border-radius:0}.peach-react [data-catalog-table] .bui-table td{text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums;overflow:hidden}.peach-react [data-catalog-rating]{white-space:normal;flex-direction:column;align-items:stretch;gap:8px;display:flex}.peach-react [data-catalog-rating] [data-rating-stars]{align-self:flex-start}.peach-react [data-catalog-table] [data-list-identity]{align-items:center;gap:12px;min-width:0;padding:12px 0;display:flex;position:relative}.peach-react [data-catalog-table] [data-list-open]{cursor:pointer;background:0 0;border:0;flex:none;margin-right:4px;padding:0;display:flex}.peach-react [data-catalog-table] [data-list-people]{min-width:0;color:var(--ink-2);font-size:var(--fs-sm);align-items:center;gap:8px;display:flex}.peach-react [data-catalog-table] [data-list-people]>[data-media-avatar]{flex:none;margin-top:0}.peach-react [data-catalog-table] [data-list-people]>[data-media-avatars]{flex:none;max-width:109px}.peach-react [data-catalog-table] [data-list-people]>[data-media-who]{min-width:0;color:inherit;font:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:0 auto;align-items:center;padding:0;display:inline-flex;overflow:hidden}.peach-react [data-catalog-table] [data-list-people]>[data-media-who]>span{text-overflow:ellipsis;overflow:hidden}.peach-react [data-catalog-table] [data-list-people]>[data-media-who]>svg{display:none}.peach-react [data-catalog-table] [data-list-people]>[data-media-who-more]{color:var(--muted);flex:none}.peach-react [data-catalog-table] [data-list-people] a[data-media-avatar]{width:38px}.peach-react [data-catalog-table] [data-list-people]>a{align-self:center}.peach-react [data-catalog-table] [data-list-people]>a[data-media-who]{text-decoration:none}.peach-react [data-catalog-table] [data-list-people]>a[data-media-who]:hover{text-decoration:underline}.peach-react [data-catalog-table] [data-list-studio-mark]{background:var(--sunk);width:16px;height:16px;color:var(--muted);object-fit:cover;border-radius:4px;flex:none;justify-content:center;align-items:center;font-size:10px;line-height:1;display:inline-flex;overflow:hidden}.peach-react [data-catalog-table] button[data-list-name]{color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-catalog-table] [data-list-picture] [data-media-group]{border-radius:6px;min-height:0;padding:1px 6px;font-size:11px;top:4px;right:4px}.peach-react [data-catalog-table] [data-list-picture]{border-radius:var(--control-radius);background:var(--sunk);width:112px;height:63px;color:var(--muted);font-size:var(--fs-sm);flex:none;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-catalog-table] [data-list-picture] [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-catalog-table] [data-list-picture] :is(img,video){width:100%;height:100%}.peach-react [data-catalog-table] [data-list-picture] :is(img:not([data-jav-image]),video){object-fit:cover}.peach-react [data-catalog-table] [data-list-text]{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.peach-react [data-catalog-table] [data-list-name]{white-space:normal;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-width:0;line-height:1.4;display:-webkit-box;overflow:hidden}.peach-react [data-catalog-table] [data-list-identity]:has([data-list-open]:hover,[data-list-name]:hover) [data-list-name]{text-decoration:underline}.peach-react [data-catalog-table] [data-list-library]{min-width:0;max-width:100%;color:var(--ink-2);font-size:var(--fs-sm);align-items:center;gap:6px;display:inline-flex}.peach-react [data-catalog-table] [data-list-library]>span:last-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-catalog-table] [data-catalog-row][data-library]>td{background:color-mix(in oklab, var(--library-color) 9%, transparent)}[data-theme=dark] .peach-react [data-catalog-table] [data-catalog-row][data-library]>td{background:color-mix(in oklab, var(--library-color) 13%, transparent)}.peach-react [data-catalog-table] [data-list-picture] [data-media-status]{gap:4px;bottom:4px;left:4px}.peach-react [data-catalog-table] [data-list-picture] [data-media-status]>span{width:20px;height:20px}.peach-react [data-catalog-table] [data-list-picture] [data-media-status] svg{width:11px;height:11px}.peach-react [data-catalog-table] [data-list-tags]{height:auto;max-height:calc(var(--control-h-inline) * 2 + 13px);white-space:normal}.peach-react [data-catalog-table] [data-list-tags] [data-media-tag]{box-sizing:border-box;height:var(--control-h-inline);line-height:calc(var(--control-h-inline) - 2px);padding-block:0}.peach-react [data-list-skeleton]{flex-direction:column;gap:16px;display:flex}.peach-react [data-list-skeleton-tools]{justify-content:flex-end;display:flex}.peach-react [data-list-skeleton-tools]>i{border-radius:var(--control-radius);width:312px;max-width:100%;height:36px;display:block}.peach-react [data-completion-skeleton]{height:calc(var(--control-h) + 16px);border-radius:var(--radius-2lg,10px);display:block}.peach-react [data-list-skeleton-name]{align-items:center;gap:12px;padding:12px 0;display:flex}.peach-react [data-list-skeleton-name]>i{border-radius:var(--control-radius);flex:none;width:112px;height:63px;margin-right:4px}.peach-react [data-list-skeleton-mark]{align-items:center;gap:8px;min-width:0;display:flex}.peach-react [data-list-skeleton-mark]>b{border-radius:4px;flex:none;width:16px;height:16px}.peach-react [data-list-skeleton-mark=people]>b{border-radius:50%;width:38px;height:38px}.peach-react [data-list-skeleton-mark]>i{border-radius:6px;flex:1;max-width:96px;height:14px;display:block}.peach-react [data-list-skeleton-name]>span{flex-direction:column;flex:1;gap:8px;min-width:0;display:flex}.peach-react [data-list-skeleton-name]>span>i{border-radius:6px;width:72%;height:14px;display:block}.peach-react [data-list-skeleton-name]>span>i+i{width:44%;height:12px}.peach-react [data-list-skeleton-bar]{border-radius:6px;width:min(72%,96px);height:14px;display:block}[data-skeleton=catalog\/list]{grid-column:1/-1}@media (width<=760px){.peach-react [data-catalog-table] .bui-table :is(th,td):first-child,.peach-react [data-catalog-table] .bui-table :is(th,td):nth-child(2){padding-inline:8px}.peach-react [data-catalog-table] [data-list-open]{gap:12px}.peach-react [data-catalog-table] [data-list-picture]{width:80px;height:45px}}.peach-react [data-media-carousel] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;top:var(--media-arrow-top,50%);cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;transform:translateY(-50%)}.peach-react [data-follow-image-arrow]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}.peach-react [data-follow-image-arrow]:is(:hover,:focus-visible):after{background:#fff3}.peach-react [data-follow-image-arrow]:active:after{background:#ffffff4d}.peach-react [data-media-carousel] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-media-carousel] [data-follow-image-arrow] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block;position:relative}.peach-react [data-media-carousel] [data-follow-image-arrow=prev]{left:11px}.peach-react [data-media-carousel] [data-follow-image-arrow=next]{right:11px}.peach-react [data-media-carousel] [data-media-indicator]{z-index:4;box-sizing:border-box;width:max-content;max-width:min(180px, calc(100% - var(--media-dot-room)));border-radius:var(--pill-radius);background:#00000080;border:0;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-media-carousel] [data-follow-image-dots]{justify-content:flex-start;align-items:center;gap:var(--media-dot-gap);box-sizing:border-box;width:max-content;max-width:100%;padding:8px var(--media-dot-padding);overscroll-behavior-inline:contain;scrollbar-width:none;scroll-padding-inline:var(--media-dot-padding);display:flex;overflow:auto hidden}.peach-react [data-media-carousel] [data-follow-image-dots]::-webkit-scrollbar{display:none}.peach-react [data-media-carousel] [data-follow-image-dots] button{width:var(--media-dot-size);cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;height:8px;padding:0}.peach-react [data-media-carousel] [data-follow-image-dots] button[aria-current=true]{width:var(--media-dot-selected);border-radius:var(--pill-radius);background:#fff}.peach-react [data-media-carousel]{--media-dot-size:8px;--media-dot-selected:20px;--media-dot-gap:8px;--media-dot-padding:11px;--media-dot-room:120px;display:contents}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video]{width:var(--media-dot-selected);color:#fff;background:0 0;place-items:center;height:20px;display:grid}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video][aria-current=true]{background:0 0}.peach-react [data-media-carousel] [data-carousel-video] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.peach-react [data-media-carousel] [data-carousel-video][aria-current=true] svg{fill:currentColor}.peach-react [data-media-carousel][data-carousel-below]{width:100%;padding:8px 0;display:block}.peach-react [data-media-carousel][data-carousel-below] [data-media-indicator]{margin:0 auto;position:relative;bottom:auto;left:auto;transform:none}.peach-react [data-media-thumbnails]{box-sizing:border-box;overscroll-behavior-inline:contain;scrollbar-width:none;gap:8px;width:100%;padding:0 12px 8px;display:flex;position:relative;overflow:auto hidden}.peach-react [data-media-thumbnails]::-webkit-scrollbar{display:none}.peach-react [data-media-thumbnail]{border-radius:var(--control-radius);background:color-mix(in srgb, var(--on-media) 8%, transparent);width:88px;height:56px;color:var(--on-media);cursor:pointer;border:0;flex:none;padding:0;position:relative;overflow:hidden}.peach-react [data-media-thumbnail][aria-current=true]{background:color-mix(in srgb, var(--on-media) 16%, transparent)}.peach-react [data-media-thumbnail] img{object-fit:contain;opacity:.65;width:100%;height:100%;display:block}.peach-react [data-media-thumbnail][aria-current=true] img{opacity:1}.peach-react [data-media-thumbnail]>span:not([data-media-thumbnail-play]){font-size:var(--fs-xs)}.peach-react [data-media-thumbnail-play]{background:#0006;place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-media-thumbnail-play] svg{fill:currentColor;stroke:currentColor;width:24px;height:24px}.peach-react [data-media-thumbnail]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-media-carousel] [data-follow-image-dots] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=640px){.peach-react [data-media-carousel] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-media-carousel] [data-media-indicator]{bottom:12px}}.peach-react [data-want-magnets]{container:resource-links/inline-size}.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;display:grid}.peach-react [data-resource-title]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-resource-facts]>span{white-space:nowrap}.peach-react [data-resource-actions]{min-width:0}.peach-react [data-want-magnets] [data-resource-protocol]{border-bottom:1px solid var(--color-separator-border);padding-block:16px}.peach-react [data-want-magnets] ul{gap:0}@container resource-links (width>=760px){.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr) auto;align-items:center}}.driver-layer{width:auto;max-width:none;height:auto;max-height:none;color:inherit;pointer-events:none;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:0;overflow:visible}.driver-layer::backdrop{display:none}.driver-layer .driver-popover{pointer-events:auto}.driver-popover{all:unset;font-family:var(--driver-popover-font-family,"Helvetica Neue", Inter, ui-sans-serif, "Apple Color Emoji", Helvetica, Arial, sans-serif);box-sizing:border-box;color:#2d2d2d;z-index:1000000000;background-color:#fff;border-radius:5px;min-width:250px;max-width:300px;margin:0;padding:15px;position:fixed;top:0;right:0;box-shadow:0 1px 10px #0006}.driver-popover-title{zoom:1;margin:0;font-size:19px;font-weight:700;line-height:1.5;display:block;position:relative}.driver-popover-close-btn{all:unset;cursor:pointer;color:#d2d2d2;z-index:1;text-align:center;width:32px;height:28px;font-size:18px;font-weight:500;transition:color .2s;position:absolute;top:0;right:0}.driver-popover-close-btn:hover,.driver-popover-close-btn:focus-visible{color:#2d2d2d}.driver-popover-title[style*=block]+.driver-popover-description{margin-top:5px}.driver-popover-description{zoom:1;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.5}.driver-popover-footer{text-align:right;zoom:1;justify-content:space-between;align-items:center;margin-top:15px;display:flex}.driver-popover-progress-text{color:#727272;zoom:1;font-size:13px;font-weight:400}.driver-popover-footer-btn{all:unset;box-sizing:border-box;color:#2d2d2d;cursor:pointer;zoom:1;background-color:#fff;border:1px solid #ccc;border-radius:3px;outline:0;padding:3px 7px;font-size:12px;line-height:1.3;text-decoration:none;display:inline-block}.driver-popover-footer .driver-popover-btn-disabled{opacity:.5;pointer-events:none}.driver-popover-footer-btn:hover,.driver-popover-footer-btn:focus{background-color:#f7f7f7}.driver-popover-navigation-btns{flex-grow:1;justify-content:flex-end;display:flex}.driver-popover-navigation-btns button+button{margin-left:4px}.driver-popover-arrow{content:"";border:5px solid #fff;position:absolute}.driver-popover-arrow-side-over{display:none}.driver-popover-arrow-side-left{border-top-color:#0000;border-bottom-color:#0000;border-right-color:#0000;left:100%}.driver-popover-arrow-side-right{border-top-color:#0000;border-bottom-color:#0000;border-left-color:#0000;right:100%}.driver-popover-arrow-side-top{border-bottom-color:#0000;border-left-color:#0000;border-right-color:#0000;top:100%}.driver-popover-arrow-side-bottom{border-top-color:#0000;border-left-color:#0000;border-right-color:#0000;bottom:100%}.driver-popover-arrow-side-center,.driver-popover-arrow-none{display:none}.driver-active .driver-overlay{pointer-events:none}.driver-active.driver-no-scroll{overflow:hidden}.driver-active *{pointer-events:none}.driver-active .driver-active-element,.driver-active .driver-active-element *,.driver-popover,.driver-popover *{pointer-events:auto}@keyframes animate-fade-in{0%{opacity:0}to{opacity:1}}.driver-fade .driver-overlay{animation:animate-fade-in var(--driver-animation-duration,.4s) ease-in-out}.driver-fade .driver-popover{animation:animate-fade-in var(--driver-animation-duration,.4s)}.driver-active-element-parent-no-scroll{overflow:hidden!important}.driver-no-interaction,.driver-no-interaction *{pointer-events:none!important}[data-connection-tone=neutral]>[aria-hidden]{background-color:var(--color-background-tertiary-default)}[data-connection-tone=neutral]>[aria-hidden]>span{background-color:var(--color-text-tertiary)}[data-connection-tone=error]>[aria-hidden]{background-color:var(--color-notification-error-background)}[data-connection-tone=error]>[aria-hidden]>span{background-color:var(--color-text-error-primary)}@keyframes peach-link-blink{0%,to{opacity:1}50%{opacity:.25}}.peach-react [data-link-check][aria-busy=true] [data-link-check-rays]{animation:1.2s ease-in-out infinite peach-link-blink}.peach-react [data-policy-matrix]{border-collapse:collapse;width:100%;max-width:560px;color:var(--ink-2);margin-top:4px}.peach-react [data-policy-matrix] :is(th,td){border-bottom:1px solid var(--line-soft);text-align:center;padding:6px 8px;font-weight:400}.peach-react [data-policy-matrix] thead th{color:var(--muted)}.peach-react [data-policy-matrix] tbody th{text-align:left;color:var(--ink-2)}.peach-react [data-policy-matrix] [data-policy-cell=on]{color:var(--ink)}.peach-react [data-policy-matrix] [data-policy-cell=off]{color:var(--muted)}.peach-react [data-policy-matrix] tr:last-child>*{border-bottom:0}.peach-react [data-library-head]{border-bottom:1px solid var(--color-border-button-default);flex-wrap:wrap;align-items:center;gap:12px;padding:10px 8px;display:flex}.peach-react [data-library-head]>*{min-width:0;max-width:100%}.peach-react [data-library-head]>:nth-child(2){flex:180px;width:auto}.peach-react [data-library-head]>:last-child{flex:200px;width:auto}.peach-react [data-library-head]>:is(:first-child,:nth-child(3)){flex-shrink:0}.peach-react [data-library-block]>:not([data-library-head],[data-library-folders]){padding:10px 8px 0}.peach-react [data-library-folders]{flex-direction:column;display:flex}.peach-react [data-library-folders]>*{padding:12px 8px}.peach-react [data-library-folders]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-library-folders]>[data-folder-row]{background:0 0;border-width:0;border-radius:0}.peach-react [data-library-folders]>[data-folder-row]+*{border-top-width:1px}.peach-react [data-library-color-trigger]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:auto;height:36px;box-shadow:var(--shadow-xs);color:var(--color-text-primary);white-space:nowrap;border-radius:10px;gap:8px;padding:0 10px 0 7px;display:inline-flex}.peach-react [data-library-color-trigger]:hover{background:var(--color-background-primary-hover)}.peach-react [data-library-color-trigger] [data-glow-ball]{width:20px;height:20px}.peach-react [data-library-colors]{grid-template-columns:repeat(7,28px);padding:0}.peach-react [data-glow-ball][data-library-none]{--glow-chip:linear-gradient(135deg, transparent 46%, var(--color-text-tertiary) 46% 54%, transparent 54%), var(--color-background-tertiary-default)}.peach-react [data-platform-mark=windows]{color:#0078d4}.peach-react [data-platform-mark=android]{color:#3ddc84}.peach-react [data-platform-mark=apple]{color:var(--color-text-primary)}
+@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){:root,:host{--edge-pull:0px}*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:""}}}@layer theme{:root,:host{--font-sans:var(--font-inter), ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:var(--font-mono-source), ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-300:oklch(80.8% .114 19.571);--color-red-400:oklch(70.4% .191 22.216);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-900:oklch(39.6% .141 25.723);--color-red-950:oklch(25.8% .092 26.042);--color-yellow-200:oklch(94.5% .129 101.54);--color-yellow-400:oklch(85.2% .199 91.936);--color-yellow-500:oklch(79.5% .184 86.047);--color-yellow-800:oklch(47.6% .114 61.907);--color-yellow-950:oklch(28.6% .066 53.813);--color-lime-100:oklch(96.7% .067 122.328);--color-lime-200:oklch(93.8% .127 124.321);--color-lime-300:oklch(89.7% .196 126.665);--color-lime-400:oklch(84.1% .238 128.85);--color-lime-500:oklch(76.8% .233 130.85);--color-lime-600:oklch(64.8% .2 131.684);--color-lime-700:oklch(53.2% .157 131.589);--color-lime-800:oklch(45.3% .124 130.933);--color-lime-950:oklch(27.4% .072 132.109);--color-green-100:oklch(96.2% .044 156.743);--color-green-400:oklch(79.2% .209 151.711);--color-green-500:oklch(72.3% .219 149.579);--color-green-700:oklch(52.7% .154 150.069);--color-green-800:oklch(44.8% .119 151.328);--color-emerald-100:oklch(95% .052 163.051);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-800:oklch(43.2% .095 166.913);--color-emerald-950:oklch(26.2% .051 172.552);--color-teal-400:oklch(77.7% .152 181.912);--color-teal-500:oklch(70.4% .14 182.503);--color-cyan-200:oklch(91.7% .08 205.041);--color-cyan-400:oklch(78.9% .154 211.53);--color-cyan-800:oklch(45% .085 224.283);--color-cyan-950:oklch(30.2% .056 229.695);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-blue-50:oklch(97% .014 254.604);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-200:oklch(88.2% .059 254.128);--color-blue-300:oklch(80.9% .105 251.813);--color-blue-400:#3392ff;--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-blue-900:oklch(37.9% .146 265.522);--color-blue-950:oklch(28.2% .091 267.935);--color-indigo-100:oklch(93% .034 272.788);--color-indigo-400:oklch(67.3% .182 276.935);--color-indigo-500:oklch(58.5% .233 277.117);--color-indigo-800:oklch(39.8% .195 277.366);--color-purple-50:oklch(97.7% .014 308.299);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-300:oklch(82.7% .119 306.383);--color-purple-400:oklch(71.4% .203 305.504);--color-purple-500:oklch(62.7% .265 303.9);--color-purple-600:oklch(55.8% .288 302.321);--color-purple-700:oklch(49.6% .265 301.924);--color-purple-800:oklch(43.8% .218 303.724);--color-purple-900:oklch(38.1% .176 304.987);--color-purple-950:oklch(29.1% .149 302.717);--color-pink-100:oklch(94.8% .028 342.258);--color-pink-200:oklch(89.9% .061 343.231);--color-pink-300:oklch(82.3% .12 346.018);--color-pink-400:oklch(71.8% .202 349.761);--color-pink-500:oklch(65.6% .241 354.308);--color-pink-700:oklch(52.5% .223 3.958);--color-pink-950:oklch(28.4% .109 3.907);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-rose-800:oklch(45.5% .188 13.697);--color-rose-950:oklch(27.1% .105 12.094);--color-zinc-800:oklch(27.4% .006 286.033);--color-neutral-50:oklch(98.5% 0 none);--color-neutral-100:#f7f7f7;--color-neutral-200:#ebebeb;--color-neutral-300:oklch(87% 0 none);--color-neutral-400:oklch(70.8% 0 none);--color-neutral-500:oklch(55.6% 0 none);--color-neutral-600:oklch(43.9% 0 none);--color-neutral-700:oklch(37.1% 0 none);--color-neutral-800:oklch(26.9% 0 none);--color-neutral-900:oklch(20.5% 0 none);--color-neutral-950:oklch(14.5% 0 none);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-2xl:42rem;--container-4xl:56rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-normal:0em;--leading-tight:1.25;--radius-xs:.125rem;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--shadow-xs:var(--elevation-xs);--shadow-sm:var(--elevation-sm);--drop-shadow-sm:0 1px 2px #00000026;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--blur-sm:8px;--aspect-video:16 / 9;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-neutral-925:#121212;--color-accent-50:var(--color-blue-50);--color-accent-100:var(--color-blue-100);--color-accent-200:var(--color-blue-200);--color-accent-300:var(--color-blue-300);--color-accent-400:var(--color-blue-400);--color-accent-500:var(--color-blue-500);--color-accent-600:var(--color-blue-600);--color-accent-700:var(--color-blue-700);--color-accent-800:var(--color-blue-800);--color-accent-900:var(--color-blue-900);--color-accent-950:var(--color-blue-950);--radius-2lg:10px;--radius-2-5xl:20px;--shadow-checkbox-selected:inset 0 2px 0 0 #ffffff40, inset 0 0 0 1px var(--color-accent-500);--shadow-card:var(--elevation-card);--color-foreground-full:var(--color-foreground-full);--color-foreground-icon-primary:var(--color-foreground-icon-primary);--color-foreground-icon-hover:var(--color-foreground-icon-hover);--color-foreground-icon-secondary:var(--color-foreground-icon-secondary);--color-foreground-icon-tertiary:var(--color-foreground-icon-tertiary);--color-foreground-icon-quaternary:var(--color-foreground-icon-quaternary);--color-foreground-icon-error:var(--color-foreground-icon-error);--color-foreground-icon-disabled:var(--color-foreground-icon-disabled);--color-foreground-disabled:var(--color-foreground-disabled);--color-foreground-disabled-danger:var(--color-foreground-disabled-danger);--color-input-disabled-foreground:var(--color-input-disabled-foreground);--color-icon-button-disabled-foreground:var(--color-icon-button-disabled-foreground);--color-button-primary-disabled-foreground:var(--color-button-primary-disabled-foreground);--color-text-primary:var(--color-text-primary);--color-text-secondary:var(--color-text-secondary);--color-text-tertiary:var(--color-text-tertiary);--color-text-disabled:var(--color-text-disabled);--color-text-disabled-danger:var(--color-text-disabled-danger);--color-text-placeholder:var(--color-text-placeholder);--color-text-error-primary:var(--color-text-error-primary);--color-input-disabled-text:var(--color-input-disabled-text);--color-text-white:var(--color-text-white);--color-background-full:var(--color-background-full);--color-background-primary-default:var(--color-background-primary-default);--color-background-inner-default:var(--color-background-inner-default);--color-background-primary-hover:var(--color-background-primary-hover);--color-background-primary-active:var(--color-background-primary-active);--color-background-primary-disabled:var(--color-background-primary-disabled);--color-input-disabled-background:var(--color-input-disabled-background);--color-background-secondary-default:var(--color-background-secondary-default);--color-background-secondary-hover:var(--color-background-secondary-hover);--color-background-tertiary-default:var(--color-background-tertiary-default);--color-background-tertiary-hover:var(--color-background-tertiary-hover);--color-background-tertiary-error:var(--color-background-tertiary-error);--color-background-recent-hire-role:var(--color-background-recent-hire-role);--color-avatar-neutral-background:var(--color-avatar-neutral-background);--color-background-quaternary-default:var(--color-background-quaternary-default);--color-background-quaternary-hover:var(--color-background-quaternary-hover);--color-background-quaternary-error:var(--color-background-quaternary-error);--color-file-upload-icon-background:var(--color-file-upload-icon-background);--color-file-upload-icon-foreground:var(--color-file-upload-icon-foreground);--color-file-upload-icon-foreground-hover:var(--color-file-upload-icon-foreground-hover);--color-border-button-default:var(--color-border-button-default);--color-border-button-hover:var(--color-border-button-hover);--color-border-button-active:var(--color-border-button-active);--color-border-button-white:var(--color-border-button-white);--color-border-error-default:var(--color-border-error-default);--color-border-checkbox-default:var(--color-border-checkbox-default);--color-border-checkbox-hover:var(--color-border-checkbox-hover);--color-border-checkbox-active:var(--color-border-checkbox-active);--color-border-checkbox-white:var(--color-border-checkbox-white);--color-border-component-detail-container:var(--color-border-component-detail-container);--color-border-ai-profile-card:var(--color-border-ai-profile-card);--color-border-table:var(--color-border-table);--color-border-button-group:var(--color-border-button-group);--color-border-sidebar-profile-hover:var(--color-border-sidebar-profile-hover);--color-separator-border:var(--color-separator-border);--color-separator-border-strong:var(--color-separator-border-strong);--color-border-focus-ring:var(--color-border-focus-ring);--color-state-success-text:var(--color-state-success-text);--color-state-success-base:var(--color-state-success-base);--color-control-indicator-background:var(--color-control-indicator-background);--color-control-indicator-background-subtle:var(--color-control-indicator-background-subtle);--color-switch-off-chip-start:var(--color-switch-off-chip-start);--color-switch-off-chip-end:var(--color-switch-off-chip-end);--color-switch-on-chip-start:var(--color-switch-on-chip-start);--color-switch-on-chip-end:var(--color-switch-on-chip-end);--color-stat-card-icon-background:var(--color-stat-card-icon-background);--color-segmented-control-background:var(--color-segmented-control-background);--color-segmented-control-selected-background:var(--color-segmented-control-selected-background);--color-theme-toggle-sidebar-background:var(--color-theme-toggle-sidebar-background);--color-theme-toggle-sidebar-selected-background:var(--color-theme-toggle-sidebar-selected-background);--color-ai-chat-composer-add-background:var(--color-ai-chat-composer-add-background);--color-ai-chat-composer-add-hover-background:var(--color-ai-chat-composer-add-hover-background);--color-composer-panel-tab-background:var(--color-composer-panel-tab-background);--color-composer-panel-add-background:var(--color-composer-panel-add-background);--color-composer-panel-add-hover-background:var(--color-composer-panel-add-hover-background);--color-composer-panel-tile-border:var(--color-composer-panel-tile-border);--color-composer-panel-rail-background:var(--color-composer-panel-rail-background);--color-questionnaire-key-background:var(--color-questionnaire-key-background);--color-questionnaire-key-hover-background:var(--color-questionnaire-key-hover-background);--color-agent-progress-ring:var(--color-agent-progress-ring);--color-button-ghost-background:var(--color-button-ghost-background);--color-button-ghost-hover:var(--color-button-ghost-hover);--color-button-ghost-active:var(--color-button-ghost-active);--color-button-ghost-disabled:var(--color-button-ghost-disabled);--color-button-ghost-foreground:var(--color-button-ghost-foreground);--color-button-ghost-disabled-foreground:var(--color-button-ghost-disabled-foreground);--color-dropdown-item-hover-background:var(--color-dropdown-item-hover-background);--color-kbd-background:var(--color-kbd-background);--color-kbd-foreground:var(--color-kbd-foreground);--color-docs-file-chip-background:var(--color-docs-file-chip-background);--color-docs-file-chip-border:var(--color-docs-file-chip-border);--color-docs-file-chip-foreground:var(--color-docs-file-chip-foreground);--color-docs-command-accent:var(--color-docs-command-accent);--color-docs-code-background:var(--color-docs-code-background);--color-docs-install-rail:var(--color-docs-install-rail);--color-badge-neutral-background:var(--color-badge-neutral-background);--color-team-menu-count-background:var(--color-team-menu-count-background);--color-team-menu-count-foreground:var(--color-team-menu-count-foreground);--color-badge-new-background:var(--color-badge-new-background);--color-badge-new-text:var(--color-badge-new-text);--color-tab-count-selected-background:var(--color-tab-count-selected-background);--color-pill-tab-blue-selected-background:var(--color-pill-tab-blue-selected-background);--color-pill-tab-blue-hover-background:var(--color-pill-tab-blue-hover-background);--color-notification-information-background:var(--color-notification-information-background);--color-notification-information-foreground:var(--color-notification-information-foreground);--color-notification-success-background:var(--color-notification-success-background);--color-notification-success-foreground:var(--color-notification-success-foreground);--color-notification-error-background:var(--color-notification-error-background);--color-notification-error-foreground:var(--color-notification-error-foreground);--color-notification-center-background:var(--color-notification-center-background);--color-status-lime-background:var(--color-status-lime-background);--color-status-lime-text:var(--color-status-lime-text);--color-status-yellow-background:var(--color-status-yellow-background);--color-status-yellow-text:var(--color-status-yellow-text);--color-status-rose-background:var(--color-status-rose-background);--color-status-rose-text:var(--color-status-rose-text);--color-status-cyan-background:var(--color-status-cyan-background);--color-status-cyan-text:var(--color-status-cyan-text);--color-status-blue-background:var(--color-status-blue-background);--color-status-blue-text:var(--color-status-blue-text);--color-status-purple-background:var(--color-status-purple-background);--color-status-purple-text:var(--color-status-purple-text);--color-status-dot-green-halo:var(--color-status-dot-green-halo);--color-status-dot-yellow-halo:var(--color-status-dot-yellow-halo);--color-status-dot-indigo-halo:var(--color-status-dot-indigo-halo);--color-date-range-background:var(--color-date-range-background);--color-date-range-edge-background:var(--color-date-range-edge-background);--color-calendar-event-blue-background:var(--color-calendar-event-blue-background);--color-calendar-event-blue-title:var(--color-calendar-event-blue-title);--color-calendar-event-blue-time:var(--color-calendar-event-blue-time);--color-calendar-event-pink-background:var(--color-calendar-event-pink-background);--color-calendar-event-pink-title:var(--color-calendar-event-pink-title);--color-calendar-event-pink-time:var(--color-calendar-event-pink-time);--color-calendar-event-purple-background:var(--color-calendar-event-purple-background);--color-calendar-event-purple-title:var(--color-calendar-event-purple-title);--color-calendar-event-purple-time:var(--color-calendar-event-purple-time);--color-calendar-event-lime-background:var(--color-calendar-event-lime-background);--color-calendar-event-lime-title:var(--color-calendar-event-lime-title);--color-calendar-event-lime-time:var(--color-calendar-event-lime-time);--color-calendar-event-emerald-background:var(--color-calendar-event-emerald-background);--color-calendar-event-emerald-title:var(--color-calendar-event-emerald-title);--color-calendar-event-emerald-time:var(--color-calendar-event-emerald-time);--color-text-error-placeholder:var(--color-text-error-placeholder);--color-chart-track:var(--color-chart-track);--color-chart-cursor:var(--color-chart-cursor);--color-chart-neutral:var(--color-chart-neutral);--color-chart-1:var(--color-chart-1);--color-chart-1-active:var(--color-chart-1-active);--color-chart-2:var(--color-chart-2);--color-chart-2-active:var(--color-chart-2-active);--color-chart-3:var(--color-chart-3);--color-chart-3-active:var(--color-chart-3-active);--color-chart-4:var(--color-chart-4);--color-chart-4-active:var(--color-chart-4-active);--color-chart-5:var(--color-chart-5);--color-chart-5-active:var(--color-chart-5-active);--color-chart-6:var(--color-chart-6);--color-chart-6-active:var(--color-chart-6-active);--color-chart-7:var(--color-chart-7);--color-chart-7-active:var(--color-chart-7-active);--color-chart-8:var(--color-chart-8);--color-chart-8-active:var(--color-chart-8-active);--color-chart-9:var(--color-chart-9);--color-chart-9-active:var(--color-chart-9-active);--color-chart-agents-bar:var(--color-chart-agents-bar);--color-chart-agents-bar-active:var(--color-chart-agents-bar-active);--button-transition-ms:.15s;--input-transition-ms:.15s;--text-display-4-medium:2rem;--text-display-4-medium--line-height:2.75rem;--text-display-4-medium--letter-spacing:0;--text-display-4-medium--font-weight:500;--text-title-1-regular:1.5rem;--text-title-1-regular--line-height:2.125rem;--text-title-1-regular--letter-spacing:0;--text-title-1-regular--font-weight:400;--text-title-1-medium:1.5rem;--text-title-1-medium--line-height:2.125rem;--text-title-1-medium--letter-spacing:0;--text-title-1-medium--font-weight:500;--text-title-1-semibold:1.5rem;--text-title-1-semibold--line-height:2.125rem;--text-title-1-semibold--letter-spacing:0;--text-title-1-semibold--font-weight:600;--text-title-2-regular:1.25rem;--text-title-2-regular--line-height:1.625rem;--text-title-2-regular--letter-spacing:0;--text-title-2-regular--font-weight:400;--text-title-2-medium:1.25rem;--text-title-2-medium--line-height:1.625rem;--text-title-2-medium--letter-spacing:0;--text-title-2-medium--font-weight:500;--text-title-2-semibold:1.25rem;--text-title-2-semibold--line-height:1.625rem;--text-title-2-semibold--letter-spacing:0;--text-title-2-semibold--font-weight:600;--text-title-3-medium:1.125rem;--text-title-3-medium--line-height:1.625rem;--text-title-3-medium--letter-spacing:0;--text-title-3-medium--font-weight:500;--text-title-3-semibold:1.125rem;--text-title-3-semibold--line-height:1.625rem;--text-title-3-semibold--letter-spacing:0;--text-title-3-semibold--font-weight:600;--text-headline-medium:1rem;--text-headline-medium--line-height:1.375rem;--text-headline-medium--letter-spacing:0;--text-headline-medium--font-weight:500;--text-headline-semibold:1rem;--text-headline-semibold--line-height:1.375rem;--text-headline-semibold--letter-spacing:0;--text-headline-semibold--font-weight:600;--text-body-regular:.875rem;--text-body-regular--line-height:1.25rem;--text-body-regular--letter-spacing:0;--text-body-regular--font-weight:400;--text-body-medium:.875rem;--text-body-medium--line-height:1.25rem;--text-body-medium--letter-spacing:0;--text-body-medium--font-weight:500;--text-body-semibold:.875rem;--text-body-semibold--line-height:1.25rem;--text-body-semibold--letter-spacing:0;--text-body-semibold--font-weight:600;--text-body-bold:.875rem;--text-body-bold--line-height:1.25rem;--text-body-bold--letter-spacing:0;--text-body-bold--font-weight:700;--text-body-2-regular:.8125rem;--text-body-2-regular--line-height:1.125rem;--text-body-2-regular--letter-spacing:0;--text-body-2-regular--font-weight:400;--text-body-2-medium:.8125rem;--text-body-2-medium--line-height:1.125rem;--text-body-2-medium--letter-spacing:0;--text-body-2-medium--font-weight:500;--text-caption-1-regular:.75rem;--text-caption-1-regular--line-height:1rem;--text-caption-1-regular--letter-spacing:.15px;--text-caption-1-regular--font-weight:400;--text-caption-1-medium:.75rem;--text-caption-1-medium--line-height:1rem;--text-caption-1-medium--letter-spacing:.15px;--text-caption-1-medium--font-weight:500;--text-caption-1-semibold:.75rem;--text-caption-1-semibold--line-height:1rem;--text-caption-1-semibold--letter-spacing:.15px;--text-caption-1-semibold--font-weight:600;--container-board:var(--board-content,1120px);--container-card-cover:150px;--aspect-card-cover:16 / 10;--container-avatar-picker:720px;--aspect-avatar-choice:3 / 4;--spacing-crop-frame:50vh;--spacing-crop-preview:96px;--container-cover-crop:880px;--spacing-topbar:var(--topH,64px);--z-index-dialog:var(--layer-dialog,1000);--container-review-tabs:184px;--container-review-card:340px;--container-review-asset:92px;--spacing-review-card:440px;--spacing-review-card-tall:560px;--spacing-review-image:220px;--radius-surface:14px;--radius-floating:20px;--radius-glass-key:7px;--color-scrim:#0009}@supports (color:color-mix(in lab, red, red)){:root,:host{--color-scrim:color-mix(in srgb, var(--color-black) 60%, transparent)}}:root,:host{--container-duplicate-cover:112px;--container-duplicate-cover-narrow:88px;--container-index-person:150px;--container-index-company:180px;--container-index-tag:200px;--spacing-empty-glyph:54px;--container-empty-copy:340px;--leading-empty-copy:1.55;--container-form-modal:540px;--tracking-caps:.12em}}.\@container{container-type:inline-size}.bg-button-danger{isolation:isolate;background-image:var(--gradient-button-danger-default);position:relative}.bg-button-danger:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-danger-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-danger:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-danger-active)}.bg-button-danger:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-danger:disabled,.bg-button-danger[aria-disabled=true]{background-image:var(--gradient-button-danger-disabled)}.bg-button-danger:disabled:before,.bg-button-danger[aria-disabled=true]:before{display:none}.bg-button-primary{isolation:isolate;background-image:var(--gradient-button-primary-default);position:relative}.bg-button-primary:before{content:"";z-index:-1;pointer-events:none;border-radius:inherit;background-image:var(--gradient-button-primary-hover);opacity:0;transition:opacity var(--button-transition-ms) ease;position:absolute;inset:0}.bg-button-primary:hover:not(:disabled):not([aria-disabled=true]):before{opacity:1}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]){background-image:var(--gradient-button-primary-active)}.bg-button-primary:active:not(:disabled):not([aria-disabled=true]):before{opacity:0}.bg-button-primary:disabled,.bg-button-primary[aria-disabled=true]{background-image:var(--gradient-button-primary-disabled)}.bg-button-primary:disabled:before,.bg-button-primary[aria-disabled=true]:before{display:none}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.invisible{visibility:hidden}.visible{visibility:visible}.skeleton-sheen{background-color:var(--hover);position:relative;overflow:hidden}.skeleton-sheen:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.skeleton-sheen:after{animation:none}}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{inset-inline:0}.-inset-y-px{inset-block:-1px}.inset-y-0{inset-block:0}.start-0{inset-inline-start:calc(var(--spacing) * 0)}.top-\(--crop-b\){top:var(--crop-b)}.top-\(--crop-t\){top:var(--crop-t)}.top-\(--tile-top\){top:var(--tile-top)}.top-0{top:0}.top-0\.5{top:calc(var(--spacing) * .5)}.top-1{top:var(--spacing)}.top-1\/2{top:50%}.top-4{top:calc(var(--spacing) * 4)}.top-\[3px\]{top:3px}.top-topbar{top:var(--spacing-topbar)}.-right-1\.5{right:calc(var(--spacing) * -1.5)}.-right-\[5\.5px\]{right:-5.5px}.right-0{right:0}.right-1{right:var(--spacing)}.right-1\.5{right:calc(var(--spacing) * 1.5)}.right-2\.25{right:calc(var(--spacing) * 2.25)}.right-4{right:calc(var(--spacing) * 4)}.-bottom-1\.5{bottom:calc(var(--spacing) * -1.5)}.-bottom-3{bottom:calc(var(--spacing) * -3)}.-bottom-px{bottom:-1px}.bottom-0{bottom:0}.bottom-1{bottom:var(--spacing)}.bottom-2\.25{bottom:calc(var(--spacing) * 2.25)}.-left-\[5\.5px\]{left:-5.5px}.left-\(--crop-l\){left:var(--crop-l)}.left-\(--crop-r\){left:var(--crop-r)}.left-\(--tile-left\){left:var(--tile-left)}.left-0{left:0}.left-0\.5{left:calc(var(--spacing) * .5)}.left-1{left:var(--spacing)}.left-1\.5{left:calc(var(--spacing) * 1.5)}.left-1\/2{left:50%}.left-\[3px\]{left:3px}.isolate{isolation:isolate}.-z-10{z-index:calc(10 * -1)}.z-1{z-index:1}.z-2{z-index:2}.z-6{z-index:6}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-dialog{z-index:var(--z-index-dialog)}.col-span-full{grid-column:1/-1}.col-start-2{grid-column-start:2}.-col-end-1{grid-column-end:calc(1 * -1)}.row-span-2{grid-row:span 2/span 2}.container{width:100%}@media (width>=560px){.container{max-width:560px}}@media (width>=601px){.container{max-width:601px}}@media (width>=761px){.container{max-width:761px}}@media (width>=900px){.container{max-width:900px}}@media (width>=901px){.container{max-width:901px}}@media (width>=1000px){.container{max-width:1000px}}@media (width>=1120px){.container{max-width:1120px}}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.m-0{margin:0}.m-0\!{margin:0!important}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.-mx-3{margin-inline:calc(var(--spacing) * -3)}.-mx-6{margin-inline:calc(var(--spacing) * -6)}.mx-4{margin-inline:calc(var(--spacing) * 4)}.mx-5{margin-inline:calc(var(--spacing) * 5)}.mx-auto{margin-inline:auto}.my-0\.5{margin-block:calc(var(--spacing) * .5)}.ms-1\.5{margin-inline-start:calc(var(--spacing) * 1.5)}.ms-auto{margin-inline-start:auto}.me-0\.5{margin-inline-end:calc(var(--spacing) * .5)}.me-0\.75{margin-inline-end:calc(var(--spacing) * .75)}.me-auto{margin-inline-end:auto}.-mt-0\.5{margin-top:calc(var(--spacing) * -.5)}.-mt-2{margin-top:calc(var(--spacing) * -2)}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-1\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-5{margin-top:calc(var(--spacing) * 5)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-auto{margin-top:auto}.-mr-3{margin-right:calc(var(--spacing) * -3)}.-mr-5{margin-right:calc(var(--spacing) * -5)}.mr-1{margin-right:var(--spacing)}.mr-1\.5{margin-right:calc(var(--spacing) * 1.5)}.mr-auto{margin-right:auto}.-mb-5{margin-bottom:calc(var(--spacing) * -5)}.mb-0{margin-bottom:0}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-5\.5{margin-bottom:calc(var(--spacing) * 5.5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.-ml-2{margin-left:calc(var(--spacing) * -2)}.-ml-3{margin-left:calc(var(--spacing) * -3)}.ml-1{margin-left:var(--spacing)}.ml-1\.5{margin-left:calc(var(--spacing) * 1.5)}.ml-auto{margin-left:auto}.fieldset-split{grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}@media not all and (width>=1001px){.fieldset-split{grid-template-columns:minmax(0,1fr)}}.duplicate-row{grid-template-columns:var(--container-duplicate-cover) minmax(0, 1fr) 84px 84px 84px;display:grid}@media not all and (width>=901px){.duplicate-row{grid-template-columns:var(--container-duplicate-cover-narrow) minmax(0, 1fr) auto auto}}.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-company), 1fr));display:grid}@media not all and (width>=761px){.index-grid-company{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr))}}.card-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));display:grid}.card-grid-cover{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));display:grid}.index-grid-person{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-person), 1fr));display:grid}.index-tag-list{grid-template-columns:repeat(auto-fill, minmax(var(--container-index-tag), 1fr));display:grid}.link-stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));display:grid}.review-asset-grid{grid-template-columns:repeat(auto-fill, minmax(var(--container-review-asset), 1fr));display:grid}.review-grid{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--container-review-card)), 1fr));display:grid}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.\!hidden{display:none!important}.block{display:block}.contents{display:contents}.flex{display:flex}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.inline-grid{display:inline-grid}.table{display:table}.aspect-3\/4{aspect-ratio:3/4}.aspect-16\/10{aspect-ratio:16/10}.aspect-auto{aspect-ratio:auto}.aspect-avatar-choice{aspect-ratio:var(--aspect-avatar-choice)}.aspect-card-cover{aspect-ratio:var(--aspect-card-cover)}.aspect-square{aspect-ratio:1}.aspect-video{aspect-ratio:var(--aspect-video)}.size-\(--icon-inline\){width:var(--icon-inline);height:var(--icon-inline)}.size-1{width:var(--spacing);height:var(--spacing)}.size-1\.5{width:calc(var(--spacing) * 1.5);height:calc(var(--spacing) * 1.5)}.size-1\.75{width:calc(var(--spacing) * 1.75);height:calc(var(--spacing) * 1.75)}.size-2{width:calc(var(--spacing) * 2);height:calc(var(--spacing) * 2)}.size-2\.5{width:calc(var(--spacing) * 2.5);height:calc(var(--spacing) * 2.5)}.size-3{width:calc(var(--spacing) * 3);height:calc(var(--spacing) * 3)}.size-3\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-3\.75{width:calc(var(--spacing) * 3.75);height:calc(var(--spacing) * 3.75)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-4\.5{width:calc(var(--spacing) * 4.5);height:calc(var(--spacing) * 4.5)}.size-5{width:calc(var(--spacing) * 5);height:calc(var(--spacing) * 5)}.size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.size-7{width:calc(var(--spacing) * 7);height:calc(var(--spacing) * 7)}.size-7\.5{width:calc(var(--spacing) * 7.5);height:calc(var(--spacing) * 7.5)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-9{width:calc(var(--spacing) * 9);height:calc(var(--spacing) * 9)}.size-9\.5{width:calc(var(--spacing) * 9.5);height:calc(var(--spacing) * 9.5)}.size-11{width:calc(var(--spacing) * 11);height:calc(var(--spacing) * 11)}.size-14{width:calc(var(--spacing) * 14);height:calc(var(--spacing) * 14)}.size-17\.5{width:calc(var(--spacing) * 17.5);height:calc(var(--spacing) * 17.5)}.size-48{width:calc(var(--spacing) * 48);height:calc(var(--spacing) * 48)}.size-\[5px\]{width:5px;height:5px}.size-\[7\.5px\]{width:7.5px;height:7.5px}.size-\[10px\]{width:10px;height:10px}.size-\[18px\]{width:18px;height:18px}.size-crop-preview{width:var(--spacing-crop-preview);height:var(--spacing-crop-preview)}.size-empty-glyph{width:var(--spacing-empty-glyph);height:var(--spacing-empty-glyph)}.size-full{width:100%;height:100%}.async-text-skeleton{height:.65em}.h-\(--crop-h\){height:var(--crop-h)}.h-\(--crop-t\){height:var(--crop-t)}.h-\(--tile-height\){height:var(--tile-height)}.h-1{height:var(--spacing)}.h-1\.5{height:calc(var(--spacing) * 1.5)}.h-2{height:calc(var(--spacing) * 2)}.h-2\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-12{height:calc(var(--spacing) * 12)}.h-40{height:calc(var(--spacing) * 40)}.h-56{height:calc(var(--spacing) * 56)}.h-64{height:calc(var(--spacing) * 64)}.h-70{height:calc(var(--spacing) * 70)}.h-72{height:calc(var(--spacing) * 72)}.h-75{height:calc(var(--spacing) * 75)}.h-\[2px\]{height:2px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:max-content}.h-review-card{height:var(--spacing-review-card)}.h-review-card-tall{height:var(--spacing-review-card-tall)}.h-review-image{height:var(--spacing-review-image)}.max-h-48{max-height:calc(var(--spacing) * 48)}.max-h-80{max-height:calc(var(--spacing) * 80)}.max-h-96{max-height:calc(var(--spacing) * 96)}.max-h-\[240px\]{max-height:240px}.max-h-crop-frame{max-height:var(--spacing-crop-frame)}.max-h-full{max-height:100%}.min-h-0{min-height:0}.min-h-4{min-height:calc(var(--spacing) * 4)}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-7{min-height:calc(var(--spacing) * 7)}.min-h-8{min-height:calc(var(--spacing) * 8)}.min-h-9{min-height:calc(var(--spacing) * 9)}.min-h-9\.5{min-height:calc(var(--spacing) * 9.5)}.min-h-11{min-height:calc(var(--spacing) * 11)}.min-h-11\.5{min-height:calc(var(--spacing) * 11.5)}.min-h-12{min-height:calc(var(--spacing) * 12)}.min-h-13{min-height:calc(var(--spacing) * 13)}.min-h-14{min-height:calc(var(--spacing) * 14)}.min-h-16{min-height:calc(var(--spacing) * 16)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-28{min-height:calc(var(--spacing) * 28)}.min-h-30{min-height:calc(var(--spacing) * 30)}.min-h-32{min-height:calc(var(--spacing) * 32)}.min-h-33{min-height:calc(var(--spacing) * 33)}.min-h-40{min-height:calc(var(--spacing) * 40)}.min-h-48{min-height:calc(var(--spacing) * 48)}.min-h-52{min-height:calc(var(--spacing) * 52)}.min-h-60{min-height:calc(var(--spacing) * 60)}.min-h-64{min-height:calc(var(--spacing) * 64)}.min-h-80{min-height:calc(var(--spacing) * 80)}.min-h-\[52px\]{min-height:52px}.w-\(--crop-l\){width:var(--crop-l)}.w-\(--crop-w\){width:var(--crop-w)}.w-\(--icon-inline\){width:var(--icon-inline)}.w-\(--tile-width\){width:var(--tile-width)}.w-\(--trigger-width\){width:var(--trigger-width)}.w-0{width:0}.w-1{width:var(--spacing)}.w-1\.5{width:calc(var(--spacing) * 1.5)}.w-1\/2{width:50%}.w-1\/3{width:33.3333%}.w-2{width:calc(var(--spacing) * 2)}.w-2\.5{width:calc(var(--spacing) * 2.5)}.w-2\/3{width:66.6667%}.w-3{width:calc(var(--spacing) * 3)}.w-3\/4{width:75%}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-8{width:calc(var(--spacing) * 8)}.w-12{width:calc(var(--spacing) * 12)}.w-14{width:calc(var(--spacing) * 14)}.w-16{width:calc(var(--spacing) * 16)}.w-20{width:calc(var(--spacing) * 20)}.w-21{width:calc(var(--spacing) * 21)}.w-24{width:calc(var(--spacing) * 24)}.w-26{width:calc(var(--spacing) * 26)}.w-28{width:calc(var(--spacing) * 28)}.w-32{width:calc(var(--spacing) * 32)}.w-37\.5{width:calc(var(--spacing) * 37.5)}.w-40{width:calc(var(--spacing) * 40)}.w-44{width:calc(var(--spacing) * 44)}.w-48{width:calc(var(--spacing) * 48)}.w-52{width:calc(var(--spacing) * 52)}.w-56{width:calc(var(--spacing) * 56)}.w-64{width:calc(var(--spacing) * 64)}.w-72{width:calc(var(--spacing) * 72)}.w-80{width:calc(var(--spacing) * 80)}.w-\[2px\]{width:2px}.w-\[42px\]{width:42px}.w-\[202px\]{width:202px}.w-\[266px\]{width:266px}.w-auto{width:auto}.w-card-cover{width:var(--container-card-cover)}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-px{width:1px}.max-w-1\/2{max-width:50%}.max-w-2xl{max-width:var(--container-2xl)}.max-w-4xl{max-width:var(--container-4xl)}.max-w-80{max-width:calc(var(--spacing) * 80)}.max-w-190{max-width:calc(var(--spacing) * 190)}.max-w-\[calc\(100vw-32px\)\]{max-width:calc(100vw - 32px)}.max-w-avatar-picker{max-width:var(--container-avatar-picker)}.max-w-board{max-width:var(--container-board)}.max-w-cover-crop{max-width:var(--container-cover-crop)}.max-w-empty-copy{max-width:var(--container-empty-copy)}.max-w-form-modal{max-width:var(--container-form-modal)}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-prose{max-width:65ch}.min-w-0{min-width:0}.min-w-8{min-width:calc(var(--spacing) * 8)}.min-w-24{min-width:calc(var(--spacing) * 24)}.min-w-25{min-width:calc(var(--spacing) * 25)}.min-w-31{min-width:calc(var(--spacing) * 31)}.min-w-32{min-width:calc(var(--spacing) * 32)}.min-w-40{min-width:calc(var(--spacing) * 40)}.min-w-50{min-width:calc(var(--spacing) * 50)}.min-w-64{min-width:calc(var(--spacing) * 64)}.min-w-80{min-width:calc(var(--spacing) * 80)}.flex-1{flex:1}.flex-auto{flex:auto}.flex-none{flex:none}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.grow{flex-grow:1}.basis-0{flex-basis:0}.basis-40{flex-basis:calc(var(--spacing) * 40)}.basis-50{flex-basis:calc(var(--spacing) * 50)}.basis-56{flex-basis:calc(var(--spacing) * 56)}.basis-64{flex-basis:calc(var(--spacing) * 64)}.basis-full{flex-basis:100%}.-translate-x-1\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-full{--tw-translate-x:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-0{--tw-translate-x:0px;translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-3{--tw-translate-x:calc(var(--spacing) * 3);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\[18px\]{--tw-translate-x:18px;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-full{--tw-translate-y:-100%;translate:var(--tw-translate-x) var(--tw-translate-y)}.scale-0{--tw-scale-x:0%;--tw-scale-y:0%;--tw-scale-z:0%;scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%;scale:var(--tw-scale-x) var(--tw-scale-y)}.-scale-x-100{--tw-scale-x:calc(100% * -1);scale:var(--tw-scale-x) var(--tw-scale-y)}.-rotate-90{rotate:-90deg}.rotate-90{rotate:90deg}.rotate-180{rotate:180deg}.button-press-motion{transition:background-color var(--button-transition-ms) ease, border-color var(--button-transition-ms) ease, box-shadow var(--button-transition-ms) ease, color var(--button-transition-ms) ease, transform .42s cubic-bezier(.4, 0, .2, 1)}.button-press-motion:active:not(:disabled):not([aria-disabled=true]){transition-duration:.15s,.15s,.15s,.15s,.22s;transform:scale(.98)}.button-press-motion:disabled,.button-press-motion[aria-disabled=true]{transform:none}@media (prefers-reduced-motion:reduce){.button-press-motion{transition:none;transform:none}}.transform{transform:var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, )}.dot-wave-0{animation:1.2s ease-in-out infinite peach-dot-wave}.dot-wave-1{animation:1.2s ease-in-out .15s infinite peach-dot-wave}.dot-wave-2{animation:1.2s ease-in-out .3s infinite peach-dot-wave}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-ew-resize{cursor:ew-resize}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-nwse-resize{cursor:nwse-resize}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.resize-none{resize:none}.resize-y{resize:vertical}.scroll-mt-20{scroll-margin-top:calc(var(--spacing) * 20)}.scroll-mt-24{scroll-margin-top:calc(var(--spacing) * 24)}.\[scrollbar-width\:none\]{scrollbar-width:none}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.columns-2{columns:2}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.grid-flow-col{grid-auto-flow:column}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-nowrap{flex-wrap:nowrap}.flex-wrap{flex-wrap:wrap}.place-items-center{place-items:center}.content-start{align-content:flex-start}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-around{justify-content:space-around}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.justify-start{justify-content:flex-start}.gap-0{gap:0}.gap-0\.5{gap:calc(var(--spacing) * .5)}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-1\.75{gap:calc(var(--spacing) * 1.75)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-2\.5{gap:calc(var(--spacing) * 2.5)}.gap-2\.25{gap:calc(var(--spacing) * 2.25)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-4\.5{gap:calc(var(--spacing) * 4.5)}.gap-5{gap:calc(var(--spacing) * 5)}.gap-6{gap:calc(var(--spacing) * 6)}.gap-8{gap:calc(var(--spacing) * 8)}.gap-\[2px\]{gap:2px}.gap-\[5px\]{gap:5px}.gap-x-1{column-gap:var(--spacing)}.gap-x-1\.5{column-gap:calc(var(--spacing) * 1.5)}.gap-x-2{column-gap:calc(var(--spacing) * 2)}.gap-x-2\.5{column-gap:calc(var(--spacing) * 2.5)}.gap-x-3{column-gap:calc(var(--spacing) * 3)}.gap-x-4{column-gap:calc(var(--spacing) * 4)}.gap-x-5{column-gap:calc(var(--spacing) * 5)}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-x-7{column-gap:calc(var(--spacing) * 7)}.gap-x-8{column-gap:calc(var(--spacing) * 8)}.gap-y-0\.5{row-gap:calc(var(--spacing) * .5)}.gap-y-1{row-gap:var(--spacing)}.gap-y-1\.5{row-gap:calc(var(--spacing) * 1.5)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}.gap-y-3{row-gap:calc(var(--spacing) * 3)}.gap-y-6{row-gap:calc(var(--spacing) * 6)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}.self-center{align-self:center}.self-end{align-self:flex-end}.self-start{align-self:flex-start}.self-stretch{align-self:stretch}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overscroll-contain{overscroll-behavior:contain}.overscroll-x-contain{overscroll-behavior-x:contain}.rounded{border-radius:.25rem}.rounded-\(--control-radius\){border-radius:var(--control-radius)}.rounded-\(--tag-radius\){border-radius:var(--tag-radius)}.rounded-2-5xl{border-radius:var(--radius-2-5xl)}.rounded-2lg{border-radius:var(--radius-2lg)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-\[0\.5px\]{border-radius:.5px}.rounded-\[0\.75px\]{border-radius:.75px}.rounded-\[1\.5px\]{border-radius:1.5px}.rounded-\[1px\]{border-radius:1px}.rounded-\[2px\]{border-radius:2px}.rounded-\[3px\]{border-radius:3px}.rounded-\[4\.5px\]{border-radius:4.5px}.rounded-floating{border-radius:var(--radius-floating)}.rounded-full{border-radius:2147483647px}.rounded-glass-key{border-radius:var(--radius-glass-key)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-none{border-radius:0}.rounded-sm{border-radius:var(--radius-sm)}.rounded-surface{border-radius:var(--radius-surface)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-md{border-top-left-radius:var(--radius-md);border-bottom-left-radius:var(--radius-md)}.rounded-r-md{border-top-right-radius:var(--radius-md);border-bottom-right-radius:var(--radius-md)}.rounded-b-2xl{border-bottom-right-radius:var(--radius-2xl);border-bottom-left-radius:var(--radius-2xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-\[0\.5px\]{border-style:var(--tw-border-style);border-width:.5px}.border-\[0\.25px\]{border-style:var(--tw-border-style);border-width:.25px}.border-\[0\.375px\]{border-style:var(--tw-border-style);border-width:.375px}.border-\[0\.875px\]{border-style:var(--tw-border-style);border-width:.875px}.border-\[1\.5px\]{border-style:var(--tw-border-style);border-width:1.5px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-dashed{--tw-border-style:dashed;border-style:dashed}.border-solid{--tw-border-style:solid;border-style:solid}.border-\(--border-10\){border-color:var(--border-10)}.border-\(--glass-low\){border-color:var(--glass-low)}.border-accent-600{border-color:var(--color-accent-600)}.border-border{border-color:var(--color-separator-border)}.border-border-button-default,.border-border-button-default\/50{border-color:var(--color-border-button-default)}@supports (color:color-mix(in lab, red, red)){.border-border-button-default\/50{border-color:color-mix(in oklab, var(--color-border-button-default) 50%, transparent)}}.border-border-checkbox-default{border-color:var(--color-border-checkbox-default)}.border-border-checkbox-hover{border-color:var(--color-border-checkbox-hover)}.border-border-error-default\/20{border-color:var(--color-border-error-default)}@supports (color:color-mix(in lab, red, red)){.border-border-error-default\/20{border-color:color-mix(in oklab, var(--color-border-error-default) 20%, transparent)}}.border-border\/50{border-color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.border-border\/50{border-color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.border-current\/15{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/15{border-color:color-mix(in oklab, currentcolor 15%, transparent)}}.border-current\/20{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/20{border-color:color-mix(in oklab, currentcolor 20%, transparent)}}.border-current\/35{border-color:currentColor}@supports (color:color-mix(in lab, red, red)){.border-current\/35{border-color:color-mix(in oklab, currentcolor 35%, transparent)}}.border-separator-border{border-color:var(--color-separator-border)}.border-text-primary\/15{border-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.border-text-primary\/15{border-color:color-mix(in oklab, var(--color-text-primary) 15%, transparent)}}.bg-\(--keep\)\/22{background-color:var(--keep)}@supports (color:color-mix(in lab, red, red)){.bg-\(--keep\)\/22{background-color:color-mix(in oklab, var(--keep) 22%, transparent)}}.bg-\(--surface\){background-color:var(--surface)}.bg-avatar-neutral-background{background-color:var(--color-avatar-neutral-background)}.bg-background{background-color:var(--color-background-primary-default)}.bg-background-full{background-color:var(--color-background-full)}.bg-background-primary-default{background-color:var(--color-background-primary-default)}.bg-background-primary-hover{background-color:var(--color-background-primary-hover)}.bg-background-quaternary-default{background-color:var(--color-background-quaternary-default)}.bg-background-secondary-default{background-color:var(--color-background-secondary-default)}.bg-background-tertiary-default{background-color:var(--color-background-tertiary-default)}.bg-background-tertiary-error{background-color:var(--color-background-tertiary-error)}.bg-background\/70{background-color:var(--color-background-primary-default)}@supports (color:color-mix(in lab, red, red)){.bg-background\/70{background-color:color-mix(in oklab, var(--color-background-primary-default) 70%, transparent)}}.bg-blue-300{background-color:var(--color-blue-300)}.bg-button-ghost-background{background-color:var(--color-button-ghost-background)}.bg-card-footer{background-color:var(--card-footer,transparent)}.bg-chart-1{background-color:var(--color-chart-1)}.bg-chart-2{background-color:var(--color-chart-2)}.bg-chart-3{background-color:var(--color-chart-3)}.bg-chart-4{background-color:var(--color-chart-4)}.bg-chart-5,.bg-chart-5\/10{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.bg-chart-5\/10{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.bg-chart-6,.bg-chart-6\/10{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.bg-chart-6\/10{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.bg-chart-7,.bg-chart-7\/10{background-color:var(--color-chart-7)}@supports (color:color-mix(in lab, red, red)){.bg-chart-7\/10{background-color:color-mix(in oklab, var(--color-chart-7) 10%, transparent)}}.bg-chart-8,.bg-chart-8\/10{background-color:var(--color-chart-8)}@supports (color:color-mix(in lab, red, red)){.bg-chart-8\/10{background-color:color-mix(in oklab, var(--color-chart-8) 10%, transparent)}}.bg-chart-9{background-color:var(--color-chart-9)}.bg-control-indicator-background{background-color:var(--color-control-indicator-background)}.bg-current{background-color:currentColor}.bg-dropdown-item-hover-background{background-color:var(--color-dropdown-item-hover-background)}.bg-foreground{background-color:var(--color-text-primary)}.bg-green-500{background-color:var(--color-green-500)}.bg-indigo-500{background-color:var(--color-indigo-500)}.bg-input-disabled-background{background-color:var(--color-input-disabled-background)}.bg-lime-200{background-color:var(--color-lime-200)}.bg-muted-foreground{background-color:var(--color-text-secondary)}.bg-notification-information-background{background-color:var(--color-notification-information-background)}.bg-notification-success-background{background-color:var(--color-notification-success-background)}.bg-pill-tab-blue-hover-background{background-color:var(--color-pill-tab-blue-hover-background)}.bg-pill-tab-blue-selected-background{background-color:var(--color-pill-tab-blue-selected-background)}.bg-pink-200{background-color:var(--color-pink-200)}.bg-scrim{background-color:var(--color-scrim)}.bg-status-blue-background{background-color:var(--color-status-blue-background)}.bg-status-blue-text{background-color:var(--color-status-blue-text)}.bg-status-cyan-background{background-color:var(--color-status-cyan-background)}.bg-status-cyan-text{background-color:var(--color-status-cyan-text)}.bg-status-dot-green-halo{background-color:var(--color-status-dot-green-halo)}.bg-status-dot-indigo-halo{background-color:var(--color-status-dot-indigo-halo)}.bg-status-dot-yellow-halo{background-color:var(--color-status-dot-yellow-halo)}.bg-status-lime-background{background-color:var(--color-status-lime-background)}.bg-status-lime-text{background-color:var(--color-status-lime-text)}.bg-status-purple-background{background-color:var(--color-status-purple-background)}.bg-status-purple-text{background-color:var(--color-status-purple-text)}.bg-status-rose-background{background-color:var(--color-status-rose-background)}.bg-status-yellow-background{background-color:var(--color-status-yellow-background)}.bg-status-yellow-text{background-color:var(--color-status-yellow-text)}.bg-text-primary\/10{background-color:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.bg-text-primary\/10{background-color:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.bg-text-tertiary{background-color:var(--color-text-tertiary)}.bg-transparent{background-color:#0000}.bg-transparent\!{background-color:#0000!important}.bg-yellow-500{background-color:var(--color-yellow-500)}.bg-linear-to-b{--tw-gradient-position:to bottom}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-b{--tw-gradient-position:to bottom in oklab}}.bg-linear-to-b{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-linear-to-t{--tw-gradient-position:to top}@supports (background-image:linear-gradient(in lab, red, red)){.bg-linear-to-t{--tw-gradient-position:to top in oklab}}.bg-linear-to-t{background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-\(image\:--crop-preview\){background-image:var(--crop-preview)}.from-accent-400{--tw-gradient-from:var(--color-accent-400);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-accent-500{--tw-gradient-from:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-control-indicator-background{--tw-gradient-from:var(--color-control-indicator-background);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-off-chip-start{--tw-gradient-from:var(--color-switch-off-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-switch-on-chip-start{--tw-gradient-from:var(--color-switch-on-chip-start);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-\[43\.837\%\]{--tw-gradient-from-position:43.837%}.to-accent-500{--tw-gradient-to:var(--color-accent-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-accent-600{--tw-gradient-to:var(--color-accent-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-control-indicator-background-subtle{--tw-gradient-to:var(--color-control-indicator-background-subtle);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-off-chip-end{--tw-gradient-to:var(--color-switch-off-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-switch-on-chip-end{--tw-gradient-to:var(--color-switch-on-chip-end);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-\(length\:--crop-preview-size\){background-size:var(--crop-preview-size)}.bg-\(position\:--crop-preview-at\){background-position:var(--crop-preview-at)}.bg-no-repeat{background-repeat:no-repeat}.fill-background{fill:var(--color-background-primary-default)}.fill-background-secondary-default{fill:var(--color-background-secondary-default)}.fill-background-tertiary-default{fill:var(--color-background-tertiary-default)}.fill-border-focus-ring{fill:var(--color-border-focus-ring)}.fill-chart-1{fill:var(--color-chart-1)}.fill-chart-2{fill:var(--color-chart-2)}.fill-chart-3{fill:var(--color-chart-3)}.fill-chart-4{fill:var(--color-chart-4)}.fill-chart-5{fill:var(--color-chart-5)}.fill-chart-6{fill:var(--color-chart-6)}.fill-chart-track{fill:var(--color-chart-track)}.fill-current{fill:currentColor}.fill-text-primary\/10{fill:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.fill-text-primary\/10{fill:color-mix(in oklab, var(--color-text-primary) 10%, transparent)}}.fill-text-secondary{fill:var(--color-text-secondary)}.stroke-chart-1{stroke:var(--color-chart-1)}.stroke-chart-2{stroke:var(--color-chart-2)}.stroke-chart-3{stroke:var(--color-chart-3)}.stroke-chart-4{stroke:var(--color-chart-4)}.stroke-chart-5{stroke:var(--color-chart-5)}.stroke-chart-6{stroke:var(--color-chart-6)}.stroke-current{stroke:currentColor}.stroke-2{stroke-width:2px}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:0}.p-1{padding:var(--spacing)}.p-2{padding:calc(var(--spacing) * 2)}.p-2\.5{padding:calc(var(--spacing) * 2.5)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-5{padding:calc(var(--spacing) * 5)}.p-6{padding:calc(var(--spacing) * 6)}.p-\[1\.5px\]{padding:1.5px}.px-0\.5{padding-inline:calc(var(--spacing) * .5)}.px-1{padding-inline:var(--spacing)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-2\.5{padding-inline:calc(var(--spacing) * 2.5)}.px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.px-\[7px\]{padding-inline:7px}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-1\.5{padding-block:calc(var(--spacing) * 1.5)}.py-1\.25{padding-block:calc(var(--spacing) * 1.25)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-12{padding-block:calc(var(--spacing) * 12)}.py-px{padding-block:1px}.ps-4{padding-inline-start:calc(var(--spacing) * 4)}.pe-2{padding-inline-end:calc(var(--spacing) * 2)}.pe-5{padding-inline-end:calc(var(--spacing) * 5)}.pt-0\.5{padding-top:calc(var(--spacing) * .5)}.pt-1{padding-top:var(--spacing)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-2\.5{padding-top:calc(var(--spacing) * 2.5)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-3\.5{padding-top:calc(var(--spacing) * 3.5)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-5{padding-top:calc(var(--spacing) * 5)}.pt-px{padding-top:1px}.pr-1{padding-right:var(--spacing)}.pr-1\.5{padding-right:calc(var(--spacing) * 1.5)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-2\.5{padding-right:calc(var(--spacing) * 2.5)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pr-6{padding-right:calc(var(--spacing) * 6)}.pr-10{padding-right:calc(var(--spacing) * 10)}.pb-1{padding-bottom:var(--spacing)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-2\.5{padding-bottom:calc(var(--spacing) * 2.5)}.pb-3{padding-bottom:calc(var(--spacing) * 3)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-5{padding-bottom:calc(var(--spacing) * 5)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-10\.5{padding-bottom:calc(var(--spacing) * 10.5)}.pl-1{padding-left:var(--spacing)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pl-5{padding-left:calc(var(--spacing) * 5)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.text-start{text-align:start}.align-baseline{vertical-align:baseline}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-body-2-medium{font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}.text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.text-body-bold{font-size:var(--text-body-bold);line-height:var(--tw-leading,var(--text-body-bold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-bold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-bold--font-weight))}.text-body-medium{font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight))}.text-body-regular{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.text-body-semibold{font-size:var(--text-body-semibold);line-height:var(--tw-leading,var(--text-body-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-body-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-semibold--font-weight))}.text-caption-1-medium{font-size:var(--text-caption-1-medium);line-height:var(--tw-leading,var(--text-caption-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-medium--font-weight))}.text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.text-caption-1-semibold{font-size:var(--text-caption-1-semibold);line-height:var(--tw-leading,var(--text-caption-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-semibold--font-weight))}.text-display-4-medium{font-size:var(--text-display-4-medium);line-height:var(--tw-leading,var(--text-display-4-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))}.text-display-4-medium\!{font-size:var(--text-display-4-medium)!important;line-height:var(--tw-leading,var(--text-display-4-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-display-4-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-display-4-medium--font-weight))!important}.text-headline-medium{font-size:var(--text-headline-medium);line-height:var(--tw-leading,var(--text-headline-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-medium--font-weight))}.text-headline-semibold{font-size:var(--text-headline-semibold);line-height:var(--tw-leading,var(--text-headline-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-headline-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-headline-semibold--font-weight))}.text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}.text-title-1-regular{font-size:var(--text-title-1-regular);line-height:var(--tw-leading,var(--text-title-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-regular--font-weight))}.text-title-1-semibold{font-size:var(--text-title-1-semibold);line-height:var(--tw-leading,var(--text-title-1-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-semibold--font-weight))}.text-title-2-medium{font-size:var(--text-title-2-medium);line-height:var(--tw-leading,var(--text-title-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))}.text-title-2-medium\!{font-size:var(--text-title-2-medium)!important;line-height:var(--tw-leading,var(--text-title-2-medium--line-height))!important;letter-spacing:var(--tw-tracking,var(--text-title-2-medium--letter-spacing))!important;font-weight:var(--tw-font-weight,var(--text-title-2-medium--font-weight))!important}.text-title-2-regular{font-size:var(--text-title-2-regular);line-height:var(--tw-leading,var(--text-title-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-regular--font-weight))}.text-title-2-semibold{font-size:var(--text-title-2-semibold);line-height:var(--tw-leading,var(--text-title-2-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-2-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-2-semibold--font-weight))}.text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}.text-title-3-semibold{font-size:var(--text-title-3-semibold);line-height:var(--tw-leading,var(--text-title-3-semibold--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-semibold--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-semibold--font-weight))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\[8px\]{font-size:8px}.text-\[10px\]{font-size:10px}.text-\[18px\]{font-size:18px}.leading-4\.5{--tw-leading:calc(var(--spacing) * 4.5);line-height:calc(var(--spacing) * 4.5)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-\[15px\]{--tw-leading:15px;line-height:15px}.leading-empty-copy{--tw-leading:var(--leading-empty-copy);line-height:var(--leading-empty-copy)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-caps{--tw-tracking:var(--tracking-caps);letter-spacing:var(--tracking-caps)}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.text-pretty{text-wrap:pretty}.break-words{overflow-wrap:break-word}.wrap-anywhere{overflow-wrap:anywhere}.break-all{word-break:break-all}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-line{white-space:pre-line}.text-\(--glass-text\)\/60{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/60{color:color-mix(in oklab, var(--glass-text) 60%, transparent)}}.text-\(--glass-text\)\/62{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.text-\(--glass-text\)\/62{color:color-mix(in oklab, var(--glass-text) 62%, transparent)}}.text-\(--keep\){color:var(--keep)}.text-\(--muted\){color:var(--muted)}.text-accent-500{color:var(--color-accent-500)}.text-accent-600{color:var(--color-accent-600)}.text-background,.text-background-primary-default{color:var(--color-background-primary-default)}.text-background-tertiary-default{color:var(--color-background-tertiary-default)}.text-blue-900{color:var(--color-blue-900)}.text-border{color:var(--color-separator-border)}.text-border-focus-ring{color:var(--color-border-focus-ring)}.text-border\/60{color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.text-border\/60{color:color-mix(in oklab, var(--color-separator-border) 60%, transparent)}}.text-button-ghost-foreground{color:var(--color-button-ghost-foreground)}.text-chart-5{color:var(--color-chart-5)}.text-chart-6{color:var(--color-chart-6)}.text-chart-7{color:var(--color-chart-7)}.text-chart-8{color:var(--color-chart-8)}.text-foreground{color:var(--color-text-primary)}.text-foreground-full{color:var(--color-foreground-full)}.text-foreground-icon-error{color:var(--color-foreground-icon-error)}.text-foreground-icon-primary{color:var(--color-foreground-icon-primary)}.text-foreground-icon-quaternary{color:var(--color-foreground-icon-quaternary)}.text-foreground-icon-secondary{color:var(--color-foreground-icon-secondary)}.text-foreground-icon-tertiary{color:var(--color-foreground-icon-tertiary)}.text-green-700{color:var(--color-green-700)}.text-inherit{color:inherit}.text-input-disabled-foreground{color:var(--color-input-disabled-foreground)}.text-lime-700{color:var(--color-lime-700)}.text-muted-foreground{color:var(--color-text-secondary)}.text-notification-information-foreground{color:var(--color-notification-information-foreground)}.text-notification-success-foreground{color:var(--color-notification-success-foreground)}.text-pink-500{color:var(--color-pink-500)}.text-status-blue-text{color:var(--color-status-blue-text)}.text-status-cyan-text{color:var(--color-status-cyan-text)}.text-status-lime-text{color:var(--color-status-lime-text)}.text-status-purple-text{color:var(--color-status-purple-text)}.text-status-rose-text{color:var(--color-status-rose-text)}.text-status-yellow-text{color:var(--color-status-yellow-text)}.text-text-disabled{color:var(--color-text-disabled)}.text-text-error-primary{color:var(--color-text-error-primary)}.text-text-placeholder{color:var(--color-text-placeholder)}.text-text-primary{color:var(--color-text-primary)}.text-text-secondary{color:var(--color-text-secondary)}.text-text-tertiary{color:var(--color-text-tertiary)}.text-text-white{color:var(--color-text-white)}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.not-italic{font-style:normal}.ordinal{--tw-ordinal:ordinal;font-variant-numeric:var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, )}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, )}.underline{text-decoration-line:underline}.underline-offset-2{text-underline-offset:2px}.underline-offset-3{text-underline-offset:3px}.underline-offset-4{text-underline-offset:4px}.reveal-content{opacity:0;filter:blur(2px);transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-content[data-revealed]{opacity:1;filter:none}.reveal-skeleton{transition:opacity var(--motion-reveal), filter var(--motion-reveal)}.reveal-skeleton[data-revealed]{opacity:0;filter:blur(2px)}.opacity-0{opacity:0}.opacity-15{opacity:.15}.opacity-20{opacity:.2}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_2px_2px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 2px 2px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\,0_0\.75px_0_0_rgb\(0_0_0\/0\.05\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008), 0 .75px 0 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_3px_3px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 3px 3px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[0_4px_4px_0_rgb\(0_0_0\/0\.03\)\]{--tw-shadow:0 4px 4px 0 var(--tw-shadow-color,#00000008);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1\.5px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.75px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1.5px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .75px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0_1px_0_0_rgb\(255_255_255\/0\.25\)\,inset_0_0_0_0\.5px_var\(--color-accent-500\)\]{--tw-shadow:inset 0 1px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 .5px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0px_0px_0px_0\.875px_var\(--color-accent-500\)\,inset_0px_1\.75px_0px_0px_rgba\(255\,255\,255\,0\.25\)\]{--tw-shadow:inset 0px 0px 0px .875px var(--tw-shadow-color,var(--color-accent-500)), inset 0px 1.75px 0px 0px var(--tw-shadow-color,#ffffff40);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\[inset_0px_0px_0px_1px_var\(--color-accent-500\)\,inset_0px_2px_0px_0px_rgba\(255\,255\,255\,0\.25\)\]{--tw-shadow:inset 0px 0px 0px 1px var(--tw-shadow-color,var(--color-accent-500)), inset 0px 2px 0px 0px var(--tw-shadow-color,#ffffff40);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-card{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-checkbox-selected{--tw-shadow:inset 0 2px 0 0 var(--tw-shadow-color,#ffffff40), inset 0 0 0 1px var(--tw-shadow-color,var(--color-accent-500));box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-dropdown{--tw-shadow:var(--elevation-dropdown);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:var(--elevation-xl);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:var(--elevation-xs);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-2{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring-background-full{--tw-ring-color:var(--color-background-full)}.ring-border-button-active{--tw-ring-color:var(--color-border-button-active)}.ring-border-button-hover{--tw-ring-color:var(--color-border-button-hover)}.ring-border-focus-ring{--tw-ring-color:var(--color-border-focus-ring)}.ring-transparent{--tw-ring-color:transparent}.ring-offset-2{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.outline,.outline-1{outline-style:var(--tw-outline-style);outline-width:1px}.-outline-offset-1{outline-offset:calc(1px * -1)}.outline-border-error-default{outline-color:var(--color-border-error-default)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.drop-shadow-sm{--tw-drop-shadow-size:drop-shadow(0 1px 2px var(--tw-drop-shadow-color,#00000026));--tw-drop-shadow:drop-shadow(var(--drop-shadow-sm));filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.filter{filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.backdrop-blur-\[2px\]{--tw-backdrop-blur:blur(2px);-webkit-backdrop-filter:var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );backdrop-filter:var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, )}.backdrop-blur-sm{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );backdrop-filter:var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, )}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,color\]{transition-property:background-color,border-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\,padding\,font-size\]{transition-property:background-color,border-color,box-shadow,padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,border-color\,box-shadow\]{transition-property:background-color,border-color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,box-shadow\,color\]{transition-property:background-color,box-shadow,color;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[background-color\,color\,box-shadow\]{transition-property:background-color,color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[padding\,font-size\]{transition-property:padding,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[scale\,opacity\]{transition-property:scale,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\[width\,height\,font-size\]{transition-property:width,height,font-size;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-\[var\(--input-transition-ms\)\]{--tw-duration:var(--input-transition-ms);transition-duration:var(--input-transition-ms)}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.ring-inset{--tw-ring-inset:inset}@media (hover:hover){:is(:where(.group):hover .group-hover\:bg-foreground){background-color:var(--color-text-primary)}:is(:where(.group):hover .group-hover\:opacity-100){opacity:1}}:is(:where(.group\/tree-view)[data-show-guides=false] .group-data-\[show-guides\=false\]\/tree-view\:hidden){display:none}:is(:where(.group\/tree-view)[data-size=sm] .group-data-\[size\=sm\]\/tree-view\:min-h-8){min-height:calc(var(--spacing) * 8)}:is(:where(.group\/tree-view)[data-size=sm] .group-data-\[size\=sm\]\/tree-view\:text-body-2-regular){font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.placeholder\:text-text-tertiary::placeholder{color:var(--color-text-tertiary)}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-y-0:after{content:var(--tw-content);inset-block:0}.after\:-left-4:after{content:var(--tw-content);left:calc(var(--spacing) * -4)}.after\:w-11:after{content:var(--tw-content);width:calc(var(--spacing) * 11)}.after\:content-\[\'\'\]:after{--tw-content:"";content:var(--tw-content)}.first\:border-t-0:first-child{border-top-style:var(--tw-border-style);border-top-width:0}.first\:pt-0:first-child{padding-top:0}.last\:rounded-b-lg:last-child{border-bottom-right-radius:var(--radius-lg);border-bottom-left-radius:var(--radius-lg)}.last\:border-b-0:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.last\:pb-0:last-child{padding-bottom:0}.empty\:hidden:empty{display:none}@media (hover:hover){.hover\:border-solid:hover{--tw-border-style:solid;border-style:solid}.hover\:border-border-button-hover:hover{border-color:var(--color-border-button-hover)}.hover\:bg-background-primary-hover:hover,.hover\:bg-background-primary-hover\/60:hover{background-color:var(--color-background-primary-hover)}@supports (color:color-mix(in lab, red, red)){.hover\:bg-background-primary-hover\/60:hover{background-color:color-mix(in oklab, var(--color-background-primary-hover) 60%, transparent)}}.hover\:bg-background-tertiary-default:hover{background-color:var(--color-background-tertiary-default)}.hover\:bg-button-ghost-hover:hover{background-color:var(--color-button-ghost-hover)}.hover\:bg-dropdown-item-hover-background:hover{background-color:var(--color-dropdown-item-hover-background)}.hover\:text-\(--glass-text\):hover{color:var(--glass-text)}.hover\:text-foreground-icon-primary:hover{color:var(--color-foreground-icon-primary)}.hover\:text-text-primary:hover{color:var(--color-text-primary)}.hover\:text-text-secondary:hover{color:var(--color-text-secondary)}.hover\:underline:hover{text-decoration-line:underline}.not-data-selected\:hover\:bg-card-hover:not([data-selected]):hover{background-color:var(--card-hover,transparent)}}.focus\:placeholder\:text-text-primary:focus::placeholder{color:var(--color-text-primary)}.focus-visible\:bg-dropdown-item-hover-background:focus-visible{background-color:var(--color-dropdown-item-hover-background)}.focus-visible\:stroke-border-focus-ring:focus-visible{stroke:var(--color-border-focus-ring)}.focus-visible\:opacity-100:focus-visible{opacity:1}.focus-visible\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-4:focus-visible{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\:ring-border-focus-ring:focus-visible{--tw-ring-color:var(--color-border-focus-ring)}.focus-visible\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:ring-offset-3:focus-visible{--tw-ring-offset-width:3px;--tw-ring-offset-shadow:var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\:outline-2:focus-visible{outline-style:var(--tw-outline-style);outline-width:2px}.focus-visible\:-outline-offset-3:focus-visible{outline-offset:calc(3px * -1)}.focus-visible\:outline-border-focus-ring:focus-visible{outline-color:var(--color-border-focus-ring)}.focus-visible\:ring-inset:focus-visible{--tw-ring-inset:inset}.active\:cursor-grabbing:active{cursor:grabbing}.active\:border-border-button-active:active{border-color:var(--color-border-button-active)}.active\:bg-background-primary-active:active{background-color:var(--color-background-primary-active)}.active\:bg-button-ghost-active:active{background-color:var(--color-button-ghost-active)}.active\:text-accent-800:active{color:var(--color-accent-800)}.active\:text-text-primary:active{color:var(--color-text-primary)}.disabled\:cursor-default:disabled{cursor:default}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:cursor-wait:disabled{cursor:wait}.disabled\:border-border-button-default:disabled{border-color:var(--color-border-button-default)}.disabled\:bg-background-primary-disabled:disabled{background-color:var(--color-background-primary-disabled)}.disabled\:bg-button-ghost-disabled:disabled{background-color:var(--color-button-ghost-disabled)}.disabled\:text-button-ghost-disabled-foreground:disabled{color:var(--color-button-ghost-disabled-foreground)}.disabled\:text-button-primary-disabled-foreground:disabled{color:var(--color-button-primary-disabled-foreground)}.disabled\:text-foreground-disabled-danger:disabled{color:var(--color-foreground-disabled-danger)}.disabled\:text-icon-button-disabled-foreground:disabled{color:var(--color-icon-button-disabled-foreground)}.disabled\:text-input-disabled-text:disabled{color:var(--color-input-disabled-text)}.disabled\:text-text-tertiary:disabled{color:var(--color-text-tertiary)}.disabled\:no-underline:disabled{text-decoration-line:none}.disabled\:opacity-60:disabled{opacity:.6}.disabled\:shadow-none:disabled{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.disabled\:placeholder\:text-input-disabled-text:disabled::placeholder{color:var(--color-input-disabled-text)}.aria-busy\:cursor-wait[aria-busy=true]{cursor:wait}.aria-busy\:opacity-55[aria-busy=true]{opacity:.55}.aria-checked\:bg-background-tertiary-default[aria-checked=true]{background-color:var(--color-background-tertiary-default)}.aria-checked\:text-text-primary[aria-checked=true]{color:var(--color-text-primary)}.aria-disabled\:cursor-not-allowed[aria-disabled=true]{cursor:not-allowed}.aria-disabled\:cursor-progress[aria-disabled=true]{cursor:progress}.aria-disabled\:border-border-button-default[aria-disabled=true]{border-color:var(--color-border-button-default)}.aria-disabled\:bg-background-primary-disabled[aria-disabled=true]{background-color:var(--color-background-primary-disabled)}.aria-disabled\:bg-button-ghost-disabled[aria-disabled=true]{background-color:var(--color-button-ghost-disabled)}.aria-disabled\:text-button-ghost-disabled-foreground[aria-disabled=true]{color:var(--color-button-ghost-disabled-foreground)}.aria-disabled\:text-button-primary-disabled-foreground[aria-disabled=true]{color:var(--color-button-primary-disabled-foreground)}.aria-disabled\:text-foreground-disabled-danger[aria-disabled=true]{color:var(--color-foreground-disabled-danger)}.aria-disabled\:text-text-tertiary[aria-disabled=true]{color:var(--color-text-tertiary)}.aria-disabled\:no-underline[aria-disabled=true]{text-decoration-line:none}.aria-disabled\:opacity-60[aria-disabled=true]{opacity:.6}.aria-disabled\:shadow-none[aria-disabled=true]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-expanded\:bg-background-primary-hover[aria-expanded=true]{background-color:var(--color-background-primary-hover)}.aria-expanded\:text-foreground-icon-primary[aria-expanded=true]{color:var(--color-foreground-icon-primary)}.aria-invalid\:placeholder\:text-text-error-placeholder[aria-invalid=true]::placeholder{color:var(--color-text-error-placeholder)}.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:var(--color-chart-1)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-1\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-1) 10%, transparent)}}.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:var(--color-chart-2)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-2\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-2) 10%, transparent)}}.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:var(--color-chart-3)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-3\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-3) 10%, transparent)}}.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:var(--color-chart-4)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-4\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-4) 10%, transparent)}}.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:var(--color-chart-5)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-5\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-5) 10%, transparent)}}.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:var(--color-chart-6)}@supports (color:color-mix(in lab, red, red)){.aria-pressed\:bg-chart-6\/10[aria-pressed=true]{background-color:color-mix(in oklab, var(--color-chart-6) 10%, transparent)}}.aria-pressed\:ring-1[aria-pressed=true]{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.aria-pressed\:ring-chart-1[aria-pressed=true]{--tw-ring-color:var(--color-chart-1)}.aria-pressed\:ring-chart-2[aria-pressed=true]{--tw-ring-color:var(--color-chart-2)}.aria-pressed\:ring-chart-3[aria-pressed=true]{--tw-ring-color:var(--color-chart-3)}.aria-pressed\:ring-chart-4[aria-pressed=true]{--tw-ring-color:var(--color-chart-4)}.aria-pressed\:ring-chart-5[aria-pressed=true]{--tw-ring-color:var(--color-chart-5)}.aria-pressed\:ring-chart-6[aria-pressed=true]{--tw-ring-color:var(--color-chart-6)}.aria-pressed\:ring-inset[aria-pressed=true]{--tw-ring-inset:inset}.aria-selected\:border-border-focus-ring[aria-selected=true]{border-color:var(--color-border-focus-ring)}.aria-selected\:bg-background-primary-default[aria-selected=true]{background-color:var(--color-background-primary-default)}.aria-selected\:bg-background-tertiary-default[aria-selected=true]{background-color:var(--color-background-tertiary-default)}.aria-selected\:text-text-primary[aria-selected=true]{color:var(--color-text-primary)}.aria-selected\:shadow-card[aria-selected=true]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-focus-visible\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-outside\:-right-3\.5[data-outside]{right:calc(var(--spacing) * -3.5)}.data-outside\:-bottom-3\.5[data-outside]{bottom:calc(var(--spacing) * -3.5)}.data-selected\:bg-background-primary-default[data-selected]{background-color:var(--color-background-primary-default)}.data-selected\:bg-dropdown-item-hover-background[data-selected]{background-color:var(--color-dropdown-item-hover-background)}.data-selected\:text-\(--glass-text\)[data-selected]{color:var(--glass-text)}.data-selected\:text-text-primary[data-selected]{color:var(--color-text-primary)}.data-selected\:shadow-card[data-selected]{--tw-shadow:var(--elevation-card);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:shadow-none[data-selected]{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-selected\:after\:pointer-events-none[data-selected]:after{content:var(--tw-content);pointer-events:none}.data-selected\:after\:absolute[data-selected]:after{content:var(--tw-content);position:absolute}.data-selected\:after\:inset-0[data-selected]:after{content:var(--tw-content);inset:0}.data-selected\:after\:z-1[data-selected]:after{content:var(--tw-content);z-index:1}.data-selected\:after\:rounded-\[inherit\][data-selected]:after{content:var(--tw-content);border-radius:inherit}.data-selected\:after\:border-2[data-selected]:after{content:var(--tw-content);border-style:var(--tw-border-style);border-width:2px}.data-selected\:after\:border-border-focus-ring[data-selected]:after{content:var(--tw-content);border-color:var(--color-border-focus-ring)}.data-\[empty\]\:px-4[data-empty]{padding-inline:calc(var(--spacing) * 4)}.data-\[empty\]\:py-8[data-empty]{padding-block:calc(var(--spacing) * 8)}.data-\[empty\]\:text-center[data-empty]{text-align:center}.data-\[empty\]\:text-body-regular[data-empty]{font-size:var(--text-body-regular);line-height:var(--tw-leading,var(--text-body-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-regular--font-weight))}.data-\[empty\]\:text-text-tertiary[data-empty]{color:var(--color-text-tertiary)}.data-\[entering\]\:scale-95[data-entering]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[entering\]\:opacity-0[data-entering]{opacity:0}.data-\[entering\]\:blur-\[2px\][data-entering]{--tw-blur:blur(2px);filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.data-\[exiting\]\:scale-95[data-exiting]{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.data-\[exiting\]\:opacity-0[data-exiting]{opacity:0}.data-\[exiting\]\:blur-\[2px\][data-exiting]{--tw-blur:blur(2px);filter:var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, )}.data-\[focus-visible\]\:ring-2[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.data-\[focus-visible\]\:ring-border-focus-ring[data-focus-visible]{--tw-ring-color:var(--color-border-focus-ring)}.data-\[placement\=bottom\]\:origin-top-left[data-placement=bottom]{transform-origin:0 0}.data-\[placement\=left\]\:origin-right[data-placement=left]{transform-origin:100%}.data-\[placement\=right\]\:origin-left[data-placement=right]{transform-origin:0}.data-\[placement\=top\]\:origin-bottom-left[data-placement=top]{transform-origin:0 100%}@media (prefers-reduced-motion:reduce){.motion-reduce\:transition-none{transition-property:none}}@media not all and (width>=1120px){.max-plain-stat-pair\:grid-flow-row{grid-auto-flow:row}.max-plain-stat-pair\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}@media not all and (width>=1001px){.max-\[1001px\]\:justify-start{justify-content:flex-start}.max-\[1001px\]\:pt-0{padding-top:0}}@media not all and (width>=901px){.max-duplicate-narrow\:col-span-full{grid-column:1/-1}.max-duplicate-narrow\:col-start-2{grid-column-start:2}.max-duplicate-narrow\:-col-end-1{grid-column-end:calc(1 * -1)}}@media not all and (width>=761px){.max-board-narrow\:order-1{order:1}.max-cleanup-tight\:hidden{display:none}.max-cleanup-tight\:min-h-0{min-height:0}.max-board-narrow\:max-w-none{max-width:none}.max-board-narrow\:min-w-0{min-width:0}.max-board-narrow\:basis-full{flex-basis:100%}.max-cleanup-tight\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.max-board-narrow\:flex-col{flex-direction:column}.max-board-narrow\:items-stretch{align-items:stretch}.max-board-narrow\:gap-0{gap:0}.max-board-narrow\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-cleanup-tight\:p-4\.5{padding:calc(var(--spacing) * 4.5)}.max-board-narrow\:px-2\.25{padding-inline:calc(var(--spacing) * 2.25)}.max-cleanup-tight\:px-4\.5{padding-inline:calc(var(--spacing) * 4.5)}.max-board-narrow\:text-body-2-regular{font-size:var(--text-body-2-regular);line-height:var(--tw-leading,var(--text-body-2-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-regular--font-weight))}.max-board-narrow\:text-title-1-medium{font-size:var(--text-title-1-medium);line-height:var(--tw-leading,var(--text-title-1-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-1-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-1-medium--font-weight))}}@media not all and (width>=601px){.max-compact\:ml-0{margin-left:0}.max-compact\:w-full{width:100%}.max-compact\:flex-col{flex-direction:column}.max-compact\:items-start{align-items:flex-start}.max-compact\:gap-3{gap:calc(var(--spacing) * 3)}.max-compact\:p-4{padding:calc(var(--spacing) * 4)}}@media not all and (width>=560px){.max-plain-stat-single\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}}@media not all and (width>=40rem){.max-sm\:-mx-4{margin-inline:calc(var(--spacing) * -4)}.max-sm\:mr-auto{margin-right:auto}.max-sm\:hidden{display:none}.max-sm\:size-6{width:calc(var(--spacing) * 6);height:calc(var(--spacing) * 6)}.max-sm\:h-48{height:calc(var(--spacing) * 48)}.max-sm\:h-65{height:calc(var(--spacing) * 65)}.max-sm\:w-24{width:calc(var(--spacing) * 24)}.max-sm\:w-full{width:100%}.max-sm\:min-w-0{min-width:0}.max-sm\:basis-0{flex-basis:0}.max-sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.max-sm\:flex-col{flex-direction:column}.max-sm\:justify-end{justify-content:flex-end}.max-sm\:gap-1\.5{gap:calc(var(--spacing) * 1.5)}.max-sm\:gap-2{gap:calc(var(--spacing) * 2)}.max-sm\:gap-3{gap:calc(var(--spacing) * 3)}.max-sm\:gap-x-2{column-gap:calc(var(--spacing) * 2)}.max-sm\:p-4{padding:calc(var(--spacing) * 4)}.max-sm\:px-2{padding-inline:calc(var(--spacing) * 2)}.max-sm\:px-3{padding-inline:calc(var(--spacing) * 3)}.max-sm\:px-4{padding-inline:calc(var(--spacing) * 4)}.max-sm\:py-2{padding-block:calc(var(--spacing) * 2)}.max-sm\:pb-3{padding-bottom:calc(var(--spacing) * 3)}.max-sm\:text-caption-1-regular{font-size:var(--text-caption-1-regular);line-height:var(--tw-leading,var(--text-caption-1-regular--line-height));letter-spacing:var(--tw-tracking,var(--text-caption-1-regular--letter-spacing));font-weight:var(--tw-font-weight,var(--text-caption-1-regular--font-weight))}.max-sm\:text-title-3-medium{font-size:var(--text-title-3-medium);line-height:var(--tw-leading,var(--text-title-3-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-title-3-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-title-3-medium--font-weight))}}@media (width>=900px){.review-split\:sticky{position:sticky}.review-split\:top-topbar{top:var(--spacing-topbar)}.review-split\:w-review-tabs{width:var(--container-review-tabs)}.review-split\:shrink-0{flex-shrink:0}.review-split\:flex-col{flex-direction:column}.review-split\:flex-row{flex-direction:row}.review-split\:items-start{align-items:flex-start}.review-split\:items-stretch{align-items:stretch}.review-split\:gap-6{gap:calc(var(--spacing) * 6)}}@media (width>=40rem){.sm\:order-last{order:9999}.sm\:col-span-2{grid-column:span 2/span 2}.sm\:mt-auto{margin-top:auto}.sm\:hidden{display:none}.sm\:w-24{width:calc(var(--spacing) * 24)}.sm\:w-28{width:calc(var(--spacing) * 28)}.sm\:w-32{width:calc(var(--spacing) * 32)}.sm\:w-auto{width:auto}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-between{justify-content:space-between}.sm\:gap-2{gap:calc(var(--spacing) * 2)}.sm\:gap-4{gap:calc(var(--spacing) * 4)}.sm\:self-auto{align-self:auto}}@media (width>=48rem){.md\:w-64{width:calc(var(--spacing) * 64)}.md\:w-72{width:calc(var(--spacing) * 72)}.md\:w-80{width:calc(var(--spacing) * 80)}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-center{align-items:center}.md\:gap-6{gap:calc(var(--spacing) * 6)}.md\:pr-6{padding-right:calc(var(--spacing) * 6)}.md\:pb-0{padding-bottom:0}}@media (width>=64rem){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width>=80rem){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.xl\:grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}}@container (width>=28rem){.\@md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@container (width>=32rem){.\@lg\:w-32{width:calc(var(--spacing) * 32)}.\@lg\:w-48{width:calc(var(--spacing) * 48)}.\@lg\:w-60{width:calc(var(--spacing) * 60)}.\@lg\:w-auto{width:auto}.\@lg\:flex-1{flex:1}}.dark\:bg-background-primary-default:where(.dark,.dark *){background-color:var(--color-background-primary-default)}.dark\:bg-background-secondary-default:where(.dark,.dark *){background-color:var(--color-background-secondary-default)}.dark\:text-border:where(.dark,.dark *),.dark\:text-border\/50:where(.dark,.dark *){color:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.dark\:text-border\/50:where(.dark,.dark *){color:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.dark\:text-green-400:where(.dark,.dark *){color:var(--color-green-400)}@media (hover:hover){.dark\:hover\:bg-background-primary-hover:where(.dark,.dark *):hover{background-color:var(--color-background-primary-hover)}}.dark\:aria-selected\:bg-background-primary-hover:where(.dark,.dark *)[aria-selected=true],.dark\:data-selected\:bg-background-primary-hover:where(.dark,.dark *)[data-selected]{background-color:var(--color-background-primary-hover)}.\[\&_\.recharts-cartesian-axis-tick_text\]\:fill-muted-foreground .recharts-cartesian-axis-tick text{fill:var(--color-text-secondary)}.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:var(--color-separator-border)}@supports (color:color-mix(in lab, red, red)){.\[\&_\.recharts-cartesian-grid_line\[stroke\=\'\#ccc\'\]\]\:stroke-border\/50 .recharts-cartesian-grid line[stroke=\#ccc]{stroke:color-mix(in oklab, var(--color-separator-border) 50%, transparent)}}.\[\&_\.recharts-curve\.recharts-tooltip-cursor\]\:stroke-border .recharts-curve.recharts-tooltip-cursor{stroke:var(--color-separator-border)}.\[\&_\.recharts-dot\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-dot[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-layer\]\:outline-hidden .recharts-layer{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-polar-grid_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-polar-grid [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-radial-bar-background-sector\]\:fill-muted .recharts-radial-bar-background-sector,.\[\&_\.recharts-rectangle\.recharts-tooltip-cursor\]\:fill-muted .recharts-rectangle.recharts-tooltip-cursor{fill:var(--color-chart-track)}.\[\&_\.recharts-reference-line_\[stroke\=\'\#ccc\'\]\]\:stroke-border .recharts-reference-line [stroke=\#ccc]{stroke:var(--color-separator-border)}.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-sector\]\:outline-hidden .recharts-sector{outline-offset:2px;outline:2px solid #0000}}.\[\&_\.recharts-sector\[stroke\=\'\#fff\'\]\]\:stroke-transparent .recharts-sector[stroke=\#fff]{stroke:#0000}.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.\[\&_\.recharts-surface\]\:outline-hidden .recharts-surface{outline-offset:2px;outline:2px solid #0000}}.\[\&_img\]\:absolute img{position:absolute}.\[\&_img\]\:inset-0 img{inset:0}.\[\&_img\]\:block img{display:block}.\[\&_img\]\:size-full img{width:100%;height:100%}.\[\&_img\]\:max-h-none img{max-height:none}.\[\&_img\]\:max-w-none img{max-width:none}.\[\&_img\]\:object-cover img{object-fit:cover}.\[\&_img\]\:object-\(--face\) img{object-position:var(--face)}.\[\&\:\:-webkit-scrollbar\]\:hidden::-webkit-scrollbar{display:none}.\[\&\>\.ui-settings-facts\]\:-mr-3>.ui-settings-facts{margin-right:calc(var(--spacing) * -3)}.\[\&\>span\]\:min-w-0>span{min-width:0}.\[\&\>span\]\:shrink>span{flex-shrink:1}.\[\&\>span\:last-child\]\:min-w-0>span:last-child{min-width:0}.\[\&\>span\:last-child\]\:wrap-anywhere>span:last-child{overflow-wrap:anywhere}.\[\&\>svg\]\:h-2\.5>svg{height:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:h-3>svg{height:calc(var(--spacing) * 3)}.\[\&\>svg\]\:w-2\.5>svg{width:calc(var(--spacing) * 2.5)}.\[\&\>svg\]\:w-3>svg{width:calc(var(--spacing) * 3)}.\[\&\>svg\]\:text-muted-foreground>svg{color:var(--color-text-secondary)}@scope(.peach-react){*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}:root{--color-foreground-full:var(--color-white);--color-foreground-icon-primary:var(--color-neutral-950);--color-foreground-icon-hover:var(--color-black);--color-foreground-icon-secondary:var(--color-neutral-500);--color-foreground-icon-tertiary:var(--color-neutral-400);--color-foreground-icon-quaternary:var(--color-neutral-300);--color-foreground-icon-error:var(--color-red-600);--color-foreground-icon-disabled:var(--color-neutral-300);--color-foreground-disabled:var(--color-neutral-400);--color-foreground-disabled-danger:var(--color-red-300);--color-input-disabled-foreground:var(--color-neutral-300);--color-icon-button-disabled-foreground:var(--color-neutral-300);--color-button-primary-disabled-foreground:var(--color-neutral-400);--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-disabled-danger:var(--color-red-300);--color-text-placeholder:var(--color-neutral-400);--color-text-error-primary:var(--color-red-500);--color-input-disabled-text:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-inner-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-primary-active:var(--color-neutral-200);--color-background-primary-disabled:var(--color-neutral-100);--color-input-disabled-background:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-secondary-hover:var(--color-neutral-200);--color-background-tertiary-default:var(--color-neutral-200);--color-background-tertiary-hover:var(--color-neutral-300);--color-background-tertiary-error:var(--color-red-100);--color-background-recent-hire-role:var(--color-neutral-100);--color-avatar-neutral-background:var(--color-neutral-300);--color-background-quaternary-default:var(--color-neutral-300);--color-background-quaternary-hover:var(--color-neutral-400);--color-background-quaternary-error:var(--color-red-200);--color-file-upload-icon-background:var(--color-neutral-300);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-500);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-button-white:var(--color-white);--color-border-error-default:var(--color-red-500);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-checkbox-active:var(--color-neutral-400);--color-border-checkbox-white:var(--color-white);--color-border-component-detail-container:var(--color-neutral-200);--color-border-ai-profile-card:var(--color-neutral-200);--color-border-table:var(--color-neutral-200);--color-border-button-group:var(--color-neutral-200);--color-border-sidebar-profile-hover:var(--color-neutral-300);--color-separator-border:var(--color-neutral-200);--color-separator-border-strong:var(--color-neutral-200);--color-border-focus-ring:var(--color-accent-500);--color-state-success-text:var(--color-lime-800);--color-state-success-base:var(--color-lime-200);--color-control-indicator-background:var(--color-white);--color-control-indicator-background-subtle:var(--color-neutral-100);--color-switch-off-chip-start:var(--color-white);--color-switch-off-chip-end:var(--color-neutral-100);--color-switch-on-chip-start:#2673fe}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-start:color-mix(in oklab, var(--color-accent-500) 63%, var(--color-accent-600))}}:root{--color-switch-on-chip-end:#144be9}@supports (color:color-mix(in lab, red, red)){:root{--color-switch-on-chip-end:color-mix(in oklab, var(--color-accent-600) 16%, var(--color-accent-700))}}:root{--color-stat-card-icon-background:var(--color-white);--color-segmented-control-background:var(--color-neutral-100);--color-segmented-control-selected-background:var(--color-white);--color-theme-toggle-sidebar-background:var(--color-neutral-200);--color-theme-toggle-sidebar-selected-background:var(--color-white);--color-ai-chat-composer-add-background:var(--color-neutral-100);--color-ai-chat-composer-add-hover-background:var(--color-neutral-200);--color-composer-panel-tab-background:var(--color-neutral-200);--color-composer-panel-add-background:var(--color-neutral-200);--color-composer-panel-add-hover-background:var(--color-neutral-300);--color-composer-panel-tile-border:var(--color-neutral-200);--color-composer-panel-rail-background:var(--color-neutral-100);--color-questionnaire-key-background:var(--color-neutral-100);--color-questionnaire-key-hover-background:var(--color-neutral-200);--color-agent-progress-ring:var(--color-neutral-700);--color-button-ghost-background:var(--color-accent-100);--color-button-ghost-hover:var(--color-accent-200);--color-button-ghost-active:var(--color-accent-300);--color-button-ghost-disabled:var(--color-accent-50);--color-button-ghost-foreground:var(--color-accent-700);--color-button-ghost-disabled-foreground:var(--color-accent-300);--color-dropdown-item-hover-background:var(--color-neutral-100);--color-kbd-background:var(--color-neutral-300);--color-kbd-foreground:var(--color-neutral-500);--color-docs-file-chip-background:var(--color-purple-50);--color-docs-file-chip-border:var(--color-purple-100);--color-docs-file-chip-foreground:var(--color-purple-500);--color-docs-command-accent:var(--color-purple-400);--color-docs-code-background:var(--color-background-primary-default);--color-docs-install-rail:var(--color-border-button-default);--color-badge-neutral-background:var(--color-neutral-200);--color-team-menu-count-background:var(--color-neutral-200);--color-team-menu-count-foreground:var(--color-neutral-500);--color-badge-new-background:var(--color-accent-100);--color-badge-new-text:var(--color-accent-600);--color-tab-count-selected-background:var(--color-accent-100);--color-pill-tab-blue-selected-background:var(--color-accent-50);--color-pill-tab-blue-hover-background:var(--color-neutral-100);--color-notification-information-background:var(--color-blue-100);--color-notification-information-foreground:var(--color-blue-600);--color-notification-success-background:var(--color-lime-100);--color-notification-success-foreground:var(--color-lime-600);--color-notification-error-background:var(--color-rose-100);--color-notification-error-foreground:var(--color-rose-600);--color-notification-center-background:var(--color-white);--color-status-lime-background:var(--color-lime-200);--color-status-lime-text:var(--color-lime-800);--color-status-yellow-background:var(--color-yellow-200);--color-status-yellow-text:var(--color-yellow-800);--color-status-rose-background:var(--color-rose-200);--color-status-rose-text:var(--color-rose-800);--color-status-cyan-background:var(--color-cyan-200);--color-status-cyan-text:var(--color-cyan-800);--color-status-blue-background:var(--color-blue-200);--color-status-blue-text:var(--color-blue-800);--color-status-purple-background:var(--color-purple-100);--color-status-purple-text:var(--color-purple-600);--color-status-dot-green-halo:var(--color-green-100);--color-status-dot-yellow-halo:var(--color-yellow-200);--color-status-dot-indigo-halo:var(--color-indigo-100);--color-date-range-background:var(--color-accent-100);--color-date-range-edge-background:var(--color-accent-300);--color-calendar-event-blue-background:var(--color-blue-100);--color-calendar-event-blue-title:var(--color-blue-700);--color-calendar-event-blue-time:var(--color-blue-700);--color-calendar-event-pink-background:var(--color-pink-100);--color-calendar-event-pink-title:var(--color-pink-700);--color-calendar-event-pink-time:var(--color-pink-700);--color-calendar-event-purple-background:var(--color-purple-100);--color-calendar-event-purple-title:var(--color-purple-700);--color-calendar-event-purple-time:var(--color-purple-700);--color-calendar-event-lime-background:var(--color-lime-100);--color-calendar-event-lime-title:var(--color-lime-800);--color-calendar-event-lime-time:var(--color-lime-700);--color-calendar-event-emerald-background:var(--color-emerald-100);--color-calendar-event-emerald-title:var(--color-emerald-800);--color-calendar-event-emerald-time:var(--color-emerald-700);--color-text-error-placeholder:var(--color-red-400);--color-chart-track:var(--color-neutral-200);--color-chart-cursor:var(--color-neutral-300);--color-chart-neutral:var(--color-neutral-300);--color-chart-1:var(--color-teal-400);--color-chart-1-active:var(--color-teal-500);--color-chart-2:var(--color-lime-400);--color-chart-2-active:var(--color-lime-500);--color-chart-3:var(--color-pink-400);--color-chart-3-active:var(--color-pink-500);--color-chart-4:var(--color-sky-400);--color-chart-4-active:var(--color-sky-500);--color-chart-5:var(--color-purple-400);--color-chart-5-active:var(--color-purple-500);--color-chart-6:var(--color-blue-400);--color-chart-6-active:var(--color-blue-500);--color-chart-7:var(--color-emerald-400);--color-chart-7-active:var(--color-emerald-500);--color-chart-8:var(--color-yellow-400);--color-chart-8-active:var(--color-yellow-500);--color-chart-9:var(--color-indigo-400);--color-chart-9-active:var(--color-indigo-500);--color-chart-agents-bar:var(--color-purple-300);--color-chart-agents-bar-active:var(--color-purple-400);--gradient-button-primary-default:linear-gradient(180deg, var(--color-accent-500) 0%, var(--color-accent-600) 100%);--gradient-button-primary-hover:linear-gradient(180deg, var(--color-accent-400) 0%, var(--color-accent-500) 100%);--gradient-button-primary-active:linear-gradient(180deg, var(--color-accent-600) 0%, var(--color-accent-700) 100%);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-200) 0%, var(--color-neutral-300) 100%);--gradient-button-danger-default:linear-gradient(180deg, var(--color-red-500) 0%, var(--color-red-600) 100%);--gradient-button-danger-hover:linear-gradient(180deg, var(--color-red-400) 0%, var(--color-red-500) 100%);--gradient-button-danger-active:linear-gradient(180deg, var(--color-red-600) 0%, var(--color-red-700) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-100) 0%, var(--color-red-200) 100%)}.dark{--color-foreground-full:var(--color-neutral-700);--color-foreground-icon-primary:var(--color-neutral-50);--color-foreground-icon-hover:var(--color-white);--color-foreground-icon-error:var(--color-red-400);--color-foreground-icon-tertiary:var(--color-neutral-600);--color-foreground-icon-quaternary:var(--color-neutral-700);--color-foreground-icon-disabled:var(--color-neutral-800);--color-foreground-disabled:var(--color-neutral-700);--color-foreground-disabled-danger:var(--color-red-400);--color-input-disabled-foreground:var(--color-neutral-600);--color-icon-button-disabled-foreground:var(--color-neutral-500);--color-button-primary-disabled-foreground:var(--color-neutral-500);--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-text-error-primary:var(--color-red-400);--color-input-disabled-text:#73737366}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-text:color-mix(in srgb, var(--color-neutral-500) 40%, transparent)}}.dark{--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-inner-default:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-inner-default:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-background-primary-active:var(--color-neutral-800);--color-background-primary-disabled:var(--color-neutral-800);--color-input-disabled-background:#2626264d}@supports (color:color-mix(in lab, red, red)){.dark{--color-input-disabled-background:color-mix(in srgb, var(--color-neutral-800) 30%, transparent)}}.dark{--color-switch-off-chip-start:var(--color-background-tertiary-default);--color-switch-off-chip-end:var(--color-background-tertiary-default);--color-background-secondary-default:var(--color-neutral-900);--color-background-secondary-hover:var(--color-neutral-800);--color-background-tertiary-default:var(--color-neutral-800);--color-background-tertiary-hover:var(--color-neutral-700);--color-background-tertiary-error:#46080999}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-tertiary-error:color-mix(in srgb, var(--color-red-950) 60%, transparent)}}.dark{--color-background-quaternary-default:var(--color-neutral-700);--color-background-quaternary-hover:var(--color-neutral-600);--color-background-recent-hire-role:#17171799}@supports (color:color-mix(in lab, red, red)){.dark{--color-background-recent-hire-role:color-mix(in srgb, var(--color-neutral-900) 60%, transparent)}}.dark{--color-avatar-neutral-background:var(--color-background-primary-default);--color-file-upload-icon-background:var(--color-neutral-600);--color-file-upload-icon-foreground:var(--color-neutral-400);--color-file-upload-icon-foreground-hover:var(--color-neutral-300);--color-stat-card-icon-background:var(--color-neutral-800);--color-segmented-control-background:var(--color-neutral-925);--color-segmented-control-selected-background:var(--color-neutral-800);--color-theme-toggle-sidebar-background:var(--color-neutral-800);--color-theme-toggle-sidebar-selected-background:var(--color-neutral-700);--color-ai-chat-composer-add-background:var(--color-neutral-700);--color-ai-chat-composer-add-hover-background:var(--color-neutral-600);--color-composer-panel-tab-background:#40404080}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tab-background:color-mix(in srgb, var(--color-neutral-700) 50%, transparent)}}.dark{--color-composer-panel-add-background:var(--color-neutral-700);--color-composer-panel-add-hover-background:var(--color-neutral-600);--color-composer-panel-tile-border:#ffffff24}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-tile-border:color-mix(in srgb, var(--color-white) 14%, transparent)}}.dark{--color-composer-panel-rail-background:#17171780}@supports (color:color-mix(in lab, red, red)){.dark{--color-composer-panel-rail-background:color-mix(in srgb, var(--color-neutral-900) 50%, transparent)}}.dark{--color-questionnaire-key-background:var(--color-neutral-700);--color-questionnaire-key-hover-background:var(--color-neutral-600);--color-agent-progress-ring:#ffffff80}@supports (color:color-mix(in lab, red, red)){.dark{--color-agent-progress-ring:color-mix(in srgb, var(--color-white) 50%, transparent)}}.dark{--color-button-ghost-background:var(--color-accent-900);--color-button-ghost-hover:var(--color-accent-800);--color-button-ghost-active:var(--color-accent-700);--color-button-ghost-disabled:var(--color-neutral-800);--color-button-ghost-foreground:var(--color-accent-300);--color-button-ghost-disabled-foreground:var(--color-neutral-600);--color-dropdown-item-hover-background:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-dropdown-item-hover-background:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-kbd-background:var(--color-neutral-700);--color-kbd-foreground:var(--color-neutral-400);--color-docs-file-chip-background:#3c036680}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-file-chip-background:color-mix(in srgb, var(--color-purple-950) 50%, transparent)}}.dark{--color-docs-file-chip-border:var(--color-purple-800);--color-docs-file-chip-foreground:var(--color-purple-400);--color-docs-code-background:var(--color-background-full);--color-docs-install-rail:#26262699}@supports (color:color-mix(in lab, red, red)){.dark{--color-docs-install-rail:color-mix(in srgb, var(--color-neutral-800) 60%, transparent)}}.dark{--shadow-2xs:0 1px #00000029;--shadow-xs:0 1px 2px 0 #0000002e;--shadow-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--shadow-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--shadow-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--shadow-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--shadow-card:0 1px 1px 0 #00000024;--shadow-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--shadow-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--shadow-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014;--color-badge-neutral-background:var(--color-neutral-800);--color-team-menu-count-background:var(--color-neutral-700);--color-team-menu-count-foreground:var(--color-neutral-400);--color-badge-new-background:var(--color-accent-950);--color-badge-new-text:var(--color-accent-400);--color-tab-count-selected-background:#193cb899}@supports (color:color-mix(in lab, red, red)){.dark{--color-tab-count-selected-background:color-mix(in srgb, var(--color-accent-800) 60%, transparent)}}.dark{--color-notification-information-background:#193cb880}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-information-background:color-mix(in srgb, var(--color-blue-800) 50%, transparent)}}.dark{--color-notification-information-foreground:var(--color-blue-300);--color-notification-success-background:#3d630080}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-success-background:color-mix(in srgb, var(--color-lime-800) 50%, transparent)}}.dark{--color-notification-success-foreground:var(--color-lime-300);--color-notification-error-background:#a3003780}@supports (color:color-mix(in lab, red, red)){.dark{--color-notification-error-background:color-mix(in srgb, var(--color-rose-800) 50%, transparent)}}.dark{--color-notification-error-foreground:var(--color-rose-300);--color-notification-center-background:var(--color-neutral-900);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-button-white:var(--color-zinc-800);--color-border-error-default:var(--color-red-400);--color-border-checkbox-default:var(--color-neutral-700);--color-border-checkbox-hover:var(--color-neutral-500);--color-border-checkbox-active:var(--color-neutral-500);--color-border-component-detail-container:var(--color-neutral-800);--color-border-ai-profile-card:var(--color-neutral-800);--color-border-table:var(--color-neutral-800);--color-border-button-group:#52525299}@supports (color:color-mix(in lab, red, red)){.dark{--color-border-button-group:color-mix(in srgb, var(--color-neutral-600) 60%, transparent)}}.dark{--color-border-sidebar-profile-hover:var(--color-neutral-600);--color-separator-border:var(--color-neutral-800);--color-separator-border-strong:#40404099}@supports (color:color-mix(in lab, red, red)){.dark{--color-separator-border-strong:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark{--color-status-lime-background:#192e0399}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-lime-background:color-mix(in srgb, var(--color-lime-950) 60%, transparent)}}.dark{--color-status-lime-text:var(--color-lime-500);--color-status-yellow-background:#43200499}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-yellow-background:color-mix(in srgb, var(--color-yellow-950) 60%, transparent)}}.dark{--color-status-yellow-text:var(--color-yellow-500);--color-status-rose-background:#4d021899}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-rose-background:color-mix(in srgb, var(--color-rose-950) 60%, transparent)}}.dark{--color-status-rose-text:var(--color-rose-500);--color-status-cyan-background:#05334599}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-cyan-background:color-mix(in srgb, var(--color-cyan-950) 60%, transparent)}}.dark{--color-status-cyan-text:var(--color-cyan-400);--color-status-blue-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-blue-background:color-mix(in srgb, var(--color-blue-950) 60%, transparent)}}.dark{--color-status-blue-text:var(--color-blue-300);--color-status-purple-background:#59168b80}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-purple-background:color-mix(in srgb, var(--color-purple-900) 50%, transparent)}}.dark{--color-status-purple-text:var(--color-purple-300);--color-status-dot-green-halo:#01663066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-green-halo:color-mix(in srgb, var(--color-green-800) 40%, transparent)}}.dark{--color-status-dot-yellow-halo:#874b0066}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-yellow-halo:color-mix(in srgb, var(--color-yellow-800) 40%, transparent)}}.dark{--color-status-dot-indigo-halo:#372aac66}@supports (color:color-mix(in lab, red, red)){.dark{--color-status-dot-indigo-halo:color-mix(in srgb, var(--color-indigo-800) 40%, transparent)}}.dark{--color-date-range-background:var(--color-accent-950);--color-date-range-edge-background:var(--color-accent-800);--color-pill-tab-blue-selected-background:#16245699}@supports (color:color-mix(in lab, red, red)){.dark{--color-pill-tab-blue-selected-background:color-mix(in srgb, var(--color-accent-950) 60%, transparent)}}.dark{--color-pill-tab-blue-hover-background:var(--color-neutral-800);--color-calendar-event-blue-background:var(--color-blue-950);--color-calendar-event-blue-title:var(--color-blue-300);--color-calendar-event-blue-time:var(--color-blue-300);--color-calendar-event-pink-background:var(--color-pink-950);--color-calendar-event-pink-title:var(--color-pink-300);--color-calendar-event-pink-time:var(--color-pink-300);--color-calendar-event-purple-background:var(--color-purple-950);--color-calendar-event-purple-title:var(--color-purple-300);--color-calendar-event-purple-time:var(--color-purple-300);--color-calendar-event-lime-background:var(--color-lime-950);--color-calendar-event-lime-title:var(--color-lime-300);--color-calendar-event-lime-time:var(--color-lime-300);--color-calendar-event-emerald-background:var(--color-emerald-950);--color-calendar-event-emerald-title:var(--color-emerald-300);--color-calendar-event-emerald-time:var(--color-emerald-300);--gradient-button-primary-disabled:linear-gradient(180deg, var(--color-neutral-700) 0%, var(--color-neutral-800) 100%);--gradient-button-danger-disabled:linear-gradient(180deg, var(--color-red-900) 0%, var(--color-red-950) 100%);--color-chart-track:var(--color-neutral-800);--color-chart-cursor:var(--color-neutral-700);--color-chart-neutral:var(--color-neutral-800);--color-chart-agents-bar:var(--color-purple-500);--color-chart-agents-bar-active:var(--color-purple-600)}.dark[data-accent]{--color-badge-new-background:#16245680}@supports (color:color-mix(in lab, red, red)){.dark[data-accent]{--color-badge-new-background:color-mix(in srgb, var(--color-accent-950) 50%, transparent)}}.peach-react [data-selection-dock]{z-index:180;bottom:max(22px, env(safe-area-inset-bottom));width:max-content;max-width:calc(100vw - 24px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(145%);border-radius:22px;flex-wrap:wrap;justify-content:center;align-items:center;gap:7px;padding:9px 11px;display:flex;position:fixed;left:50%;transform:translate(-50%)}.peach-react [data-media-sections]{flex-direction:column;gap:16px;min-width:0;display:flex}.peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px;display:grid}.peach-react [data-media-grid]>[data-media-card],body[data-surface=\/trash] .peach-react [data-media-grid]>[data-media-card]{align-self:stretch}.peach-react [data-media-next-row]{gap:16px;display:flex}body[data-surface=\/trash] .peach-react [data-media-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card]{font:var(--board-body);border-radius:var(--surface-radius);cursor:pointer;transform-origin:50%;background:0 0;flex-direction:column;gap:8px;min-width:0;transition:transform .18s,filter .18s,background-color .15s,box-shadow .15s;display:flex;position:relative;overflow:visible;container:media-card/inline-size}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-surface:color-mix(in oklab, var(--library-color) 9%, transparent)}}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){--library-hover:color-mix(in oklab, var(--library-color) 15%, transparent)}}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]){background:var(--library-surface);box-shadow:0 0 0 8px var(--library-surface)}[data-theme=dark] .peach-react [data-media-card][data-library]{--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){[data-theme=dark] .peach-react [data-media-card][data-library]{--library-surface:color-mix(in oklab, var(--library-color) 13%, transparent)}}[data-theme=dark] .peach-react [data-media-card][data-library]{--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){[data-theme=dark] .peach-react [data-media-card][data-library]{--library-hover:color-mix(in oklab, var(--library-color) 20%, transparent)}}@media (prefers-color-scheme:dark){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-surface:var(--library-color)}@supports (color:color-mix(in lab, red, red)){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-surface:color-mix(in oklab, var(--library-color) 13%, transparent)}}:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-hover:var(--library-color)}@supports (color:color-mix(in lab, red, red)){:root:not([data-theme]) .peach-react [data-media-card][data-library]{--library-hover:color-mix(in oklab, var(--library-color) 20%, transparent)}}}.peach-react [data-media-card][data-variant=short]{flex:none;width:214px}.peach-react [data-media-card][data-variant=next]{flex:none;width:216px}body[data-density=dense] .peach-react [data-media-card][data-variant=short]{width:107px}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--hover);box-shadow:0 0 0 8px var(--hover)}.peach-react [data-media-card][data-library]:not([data-pending-delete],[data-variant=resource],[data-variant=junk]):is(:hover,:focus-within){background:var(--library-hover);box-shadow:0 0 0 8px var(--library-hover)}.peach-react [data-media-status]{z-index:3;pointer-events:none;gap:6px;display:flex;position:absolute;bottom:12px;left:10px}.peach-react [data-media-status]>span{-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000006b;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:28px;height:28px;display:flex}.peach-react [data-media-status] svg{fill:currentColor;stroke:currentColor;stroke-width:1.5px;width:15px;height:15px}.peach-react [data-media-status] [data-status=later]{color:var(--color-sky-500)}.peach-react [data-media-status] [data-status=flagged]{color:var(--color-rose-500)}.peach-react [data-media-card]:not([data-variant=resource],[data-variant=junk]):hover [data-media-pic]{filter:saturate(.9)brightness(.94)}.peach-react [data-select-mode] [data-media-card]{cursor:default;-webkit-user-select:none;user-select:none}.peach-react [data-select-mode] :is([data-media-open],[data-media-preview],[data-media-later],[data-media-seek]),.peach-react [data-select-mode] :is([data-media-later],[data-media-seek]) button{pointer-events:none!important}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card][data-longhover]{z-index:8;filter:brightness(1.04);transform:translateY(-7px)scale(1.065)}}body[data-surface=\/trash] .peach-react [data-media-card]{border:1px solid var(--line-soft);background:var(--color-background-primary-default);gap:0;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-pic]{--pic-radius:0px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-meta]{--card-meta-byline:20px;--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 3px);--card-meta-block:calc(var(--fs-md) * 2.7 + 3px + var(--card-meta-byline) + var(--card-meta-tags) + 23px);height:calc(var(--card-meta-block) + 22px);min-height:0;margin:0;padding:10px 12px 12px}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-title]{align-content:start;min-height:2.7em}body[data-surface=\/trash] .peach-react [data-media-card] [data-media-text]{gap:3px}body[data-surface=\/trash] .peach-react [data-media-text]>[data-media-tags]{margin-top:0}body[data-surface=\/trash] .peach-react button[data-media-title]{flex-direction:column;justify-content:flex-start;align-items:stretch;display:flex}.peach-react [data-media-title-text]{max-height:2.7em;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-media-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-media-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-card]>:is([data-media-pic],[data-media-stack],[data-media-meta]){z-index:2;position:relative}.peach-react [data-media-meta]{--card-meta-byline:calc(2lh + 2px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 12px);--card-meta-block:calc(var(--fs-md) * 2.7 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-card]:not([data-follow-item]) [data-media-meta]{--card-meta-byline:20px;--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px);--card-meta-block:calc(var(--fs-md) * 2.7 + 12px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-media-card]:not([data-variant=next]) :is([data-media-pic],[data-media-meta]){content-visibility:auto}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]{pointer-events:none;min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block);flex-shrink:0;margin:-8px;padding:8px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-meta]>*{pointer-events:auto}.peach-react [data-media-card]:not([data-follow-item],[data-variant=next]) [data-media-meta]{height:calc(var(--card-meta-block) + 16px)}body:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-follow-item],[data-variant=next]) [data-media-meta]{height:auto}.peach-react [data-media-card][data-variant=next]:not([data-follow-item]) [data-media-meta]{--card-meta-tags:calc(var(--fs-xs) * 2.9);height:var(--card-meta-block)}.peach-react :is([data-media-pic],[data-mix-cover]){--pic-radius:var(--surface-radius);clip-path:inset(0 round var(--pic-radius));-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}.peach-react [data-media-pic]{aspect-ratio:var(--card-ratio,16 / 9);background:var(--color-background-quaternary-default);justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-media-pic]:before{content:"";pointer-events:none;background:var(--cover-blur,none) center / cover no-repeat;filter:blur(26px)brightness(.5);position:absolute;inset:-8%}.peach-react [data-media-card][data-selected] [data-media-pic]:after{content:"";z-index:6;box-sizing:border-box;border:2px solid var(--on-media);border-radius:var(--pic-radius);pointer-events:none;position:absolute;inset:0}.peach-react [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-media-nopic],.peach-react [data-media-art]>.media-nopic{color:var(--ink-2);font-size:var(--fs-xs);letter-spacing:.12em;text-transform:uppercase}.peach-react [data-media-art]>.media-nopic{place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-media-pic]>:is(video,img){object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-media-pic]>video{opacity:0;transition:opacity .2s}.peach-react [data-media-pic]>video[data-playing]{opacity:1}.peach-react [data-media-pic][data-pic-portrait] :is(img[class~=poster]:not([class~=cover]),video){object-fit:cover;width:calc(100% + 2px);max-width:none;height:calc(100% + 2px);inset:-1px}.peach-react [data-media-pic]>img.ui-hvframes[hidden]{display:none}.peach-react [data-media-stack]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{content:"";z-index:0;border:1px solid var(--border-15);border-radius:inherit;background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-stack]:before,.peach-react [data-media-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-media-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-media-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-media-stack] [data-media-pic]{z-index:1}.peach-react [data-media-badge]{z-index:2;background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);white-space:nowrap;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:4px;transition:opacity .15s;display:flex;position:absolute;top:6px;left:6px}.peach-react [data-media-badge]>span{background:0 0;width:20px;height:20px;padding:0}.peach-react [data-media-duration]{z-index:2;border-radius:var(--badge-radius);color:#f2eadf;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}@media (hover:hover) and (pointer:fine){.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) :is([data-media-badge],[data-media-duration],[data-follow-sources]){opacity:0;visibility:hidden;pointer-events:none}.peach-react [data-media-card]:is(:hover,:has(:focus-visible)) [data-media-group]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}body[data-peach-copy-mode] .peach-react [data-media-card] [data-media-duration][data-copy-key]{z-index:10;opacity:1;visibility:visible;pointer-events:auto}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react [data-media-badge]{background:var(--ground);-webkit-backdrop-filter:none}}.peach-react [data-media-group]{z-index:6;border-radius:var(--control-radius);color:#fff;min-height:27px;font-size:var(--fs-xs);-webkit-backdrop-filter:blur(10px);background:#0c0808b8;padding:5px 9px;font-weight:600;transition:opacity .15s;position:absolute;top:9px;right:9px}.peach-react :is([data-select-mode] [data-media-group],[data-media-card][data-selected] [data-media-group]){right:44px}.peach-react [data-media-scrub]{z-index:2;background:#00000073;height:3px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-scrub]>i{width:var(--media-fill);background:var(--loupe);height:100%;display:block}.peach-react [data-media-progress]{z-index:5;background:#ffffff4d;height:4px;position:absolute;bottom:0;left:0;right:0}.peach-react [data-media-progress]>i{width:var(--media-fill);background:var(--tungsten);height:100%;display:block}.peach-react [data-media-check]{z-index:8;color:#ffffffb8;-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000057;border:1px solid #ffffff47;border-radius:50%;place-items:center;width:26px;height:26px;display:none;position:absolute;top:10px;right:10px}.peach-react :is([data-select-mode] [data-media-check],[data-media-card][data-selected] [data-media-check]){display:grid}.peach-react [data-media-card][data-selected] [data-media-check]{border-color:var(--on-media);background:var(--on-media);color:var(--on-media-ink);box-shadow:0 3px 12px #0008}.peach-react [data-media-trash-mark]{z-index:7;border-radius:var(--badge-radius);color:#ffb14a;height:28px;font-size:var(--fs-xs);-webkit-backdrop-filter:saturate(1.8)blur(12px);background:#00000094;border:1px solid #ffb14a66;align-items:center;gap:5px;padding:0 9px;font-weight:600;display:none;position:absolute;bottom:10px;left:10px}.peach-react [data-pending-delete] [data-media-trash-mark]{display:flex}.peach-react [data-pending-delete] :is([data-media-art]>img,[data-media-pic]>:is(video,img)){filter:grayscale(.9)brightness(.54);opacity:.68}.peach-react [data-pending-delete] [data-media-pic]:before{filter:blur(26px)grayscale(.9)brightness(.27);opacity:.68}.peach-react [data-pending-delete] [data-media-meta]{opacity:.58}.peach-react [data-pending-delete]:hover [data-media-meta]{opacity:.76}.peach-react [data-media-card] :is([data-media-check],[data-media-trash-mark],[data-media-later],[data-media-seek],[data-media-glyph],[data-media-kind-glyph],[data-media-resource-action]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.peach-react [data-media-check] svg{width:16px;height:16px}.peach-react [data-media-trash-mark] svg{width:14px;height:14px}.peach-react [data-media-preview]{z-index:4;color:#fff;cursor:pointer;opacity:0;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:0;border-radius:50%;place-items:center;width:36px;height:36px;padding:0;transition:transform .15s,opacity .15s;display:grid;position:absolute;top:12px;right:12px}.peach-react :is([data-previewing],[data-media-card]:has(:focus-visible)) [data-media-preview]{opacity:1;pointer-events:auto}.peach-react [data-longhover] [data-media-preview]{opacity:0;pointer-events:none}.peach-react [data-media-preview]>svg:first-child{width:36px;height:36px;position:absolute;inset:0;transform:rotate(-90deg)}.peach-react [data-media-preview] circle{fill:none;stroke-width:2px}.peach-react [data-media-preview] circle:first-child{stroke:#ffffff2e}.peach-react [data-media-preview] circle:last-child{stroke:#fff;stroke-linecap:round;stroke-dasharray:106.814;stroke-dashoffset:106.814px}.peach-react [data-previewing] [data-media-preview] circle:last-child{animation:preview-arc var(--hover-delay) linear forwards}.peach-react [data-longhover] [data-media-preview] circle:last-child{animation:none}@keyframes preview-arc{to{stroke-dashoffset:0}}.peach-react [data-media-ring-play]{fill:none;stroke:#fff;stroke-width:2px;width:14px;height:14px;margin-left:1px;position:relative}.peach-react :is([data-media-later],[data-media-seek]){z-index:4;opacity:0;pointer-events:none;align-items:center;gap:14px;transition:opacity .15s;display:flex;position:absolute}.peach-react [data-media-seek]{inset:50% auto auto 50%;transform:translate(-50%,-50%)}.peach-react [data-media-later]{bottom:12px;right:12px}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]){opacity:1}.peach-react :is([data-media-later],[data-media-seek]) button{color:#fff;cursor:pointer;pointer-events:none;-webkit-backdrop-filter:saturate(180%)blur(12px);background:#0000003d;border:1px solid #ffffff1f;border-radius:50%;justify-content:center;align-items:center;width:58px;height:58px;transition:transform .15s,background .15s;display:flex;position:relative}.peach-react :is([data-longhover] [data-media-seek],[data-media-card]:is(:hover,:has(:focus-visible)) [data-media-later]) button{pointer-events:auto}.peach-react :is([data-media-preview],:is([data-media-later],[data-media-seek]) button):hover{background:#00000057}.peach-react [data-media-seek] svg{width:34px;height:34px}.peach-react [data-media-later] button{width:var(--control-h-compact);height:var(--control-h-compact);padding:0}.peach-react [data-media-later] svg{width:18px;height:18px}.peach-react [data-media-later] button[aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-media-meta]{gap:10px;min-width:0;display:flex}.peach-react [data-media-avatar]{background:var(--sunk);width:38px;height:38px;color:inherit;cursor:pointer;border:0;border-radius:50%;flex:none;margin-top:2px;padding:0;position:relative;overflow:hidden}.peach-react :is(button,a)[data-media-avatar]:hover{box-shadow:0 0 0 2px var(--ink-2)}.peach-react [data-media-avatar]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-media-avatar]>span:first-child{color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif;font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-media-avatars]{--media-avatar-visible:var(--media-avatar-count);--media-avatar-gaps:max(1, calc(var(--media-avatar-visible) - 1));z-index:1;width:calc(45px + 16px * (var(--media-avatar-visible) - 1));--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:min(109px,max(45px,30%));height:46px;margin:-4px -2px -2px;padding:0;display:block;position:relative}.peach-react [data-media-avatars]:is(:hover,:has(:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-media-avatars]>[data-media-avatar]{top:6px;left:calc(5px + (100% - 45px) / var(--media-avatar-gaps) * var(--media-avatar-index));box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:left var(--lift-motion,var(--board-motion)), transform var(--lift-motion,var(--board-motion));margin:0;position:absolute}.peach-react [data-media-avatars]:is(:hover,:has(:focus-visible))>[data-media-avatar]{left:calc(5px + 30px * var(--media-avatar-index))}.peach-react [data-media-avatars]>:first-child{z-index:5}.peach-react [data-media-avatars]>:nth-child(2){z-index:4}.peach-react [data-media-avatars]>:nth-child(3){z-index:3}.peach-react [data-media-avatars]>:nth-child(4){z-index:2}.peach-react [data-media-avatars]>:nth-child(5){z-index:1}.peach-react [data-media-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px}.peach-react [data-media-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]{--media-avatar-visible:min(2, var(--media-avatar-count))}.peach-react :is([data-variant=next],[data-variant=short]) [data-media-avatars]>:nth-child(n+3){display:none}.peach-react [data-media-text]{flex-direction:column;flex:1;gap:6px;min-width:0;display:flex;container:media-meta/inline-size}.peach-react [data-media-title]{width:100%;min-height:0;max-height:2.7em;color:inherit;font-size:var(--fs-md);text-align:left;overflow-wrap:anywhere;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;padding:0;line-height:1.35;display:-webkit-box;overflow:hidden}.peach-react span[data-media-title]{cursor:default}.peach-react [data-media-card]:not([data-follow-item]) [data-media-title]{min-height:2.7em}.peach-react [data-media-title] [class~=ui-javidentity]{white-space:normal;display:inline}.peach-react [data-media-title] [class~=javedition]{margin-left:5px}.peach-react [data-media-byline]{white-space:nowrap;min-width:0;min-height:1.5em;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;line-height:1.5;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:nowrap;flex:none;align-items:center;gap:8px;display:flex;overflow:hidden}.peach-react [data-media-who]{min-width:0;max-width:100%;color:var(--ink-2);text-align:left;text-overflow:ellipsis;white-space:nowrap;vertical-align:bottom;background:0 0;border:0;flex:0 auto;align-items:center;gap:4px;padding:0;display:inline-flex;overflow:hidden}.peach-react button[data-media-who]{cursor:pointer}.peach-react [data-media-who]>span{text-overflow:ellipsis;overflow:hidden}.peach-react :is([data-media-release],[data-media-size]){white-space:nowrap;flex:none;align-items:center;gap:4px;display:inline-flex}.peach-react [data-media-facts]{flex-wrap:wrap;flex:none;align-items:center;gap:4px 8px;min-width:0;display:inline-flex}.peach-react [data-media-byline] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react span[data-media-who]{cursor:default}.peach-react [data-media-who-more]{color:var(--muted);white-space:nowrap;flex:none}.peach-react [data-media-why]{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:100%;overflow:hidden}.peach-react [data-variant=next] [data-media-why]{color:var(--loupe)}.peach-react [data-variant=next] [data-media-byline]{flex-wrap:nowrap;overflow:hidden}.peach-react [data-variant=next] [data-media-who]{flex:0 auto;max-width:55%}.peach-react [data-variant=next] [data-media-who-more]{white-space:nowrap;flex:none}.peach-react [data-variant=next] [data-media-why]{flex:1 1 0}.peach-react [data-variant=next] :is([data-media-size],[data-media-release]),.peach-react [data-variant=next] [data-media-facts]{display:none}.peach-react [data-media-next-reason]{width:100%;min-width:0;min-height:2.9em;max-height:2.9em;color:var(--loupe);font-size:var(--fs-xs);text-align:left;cursor:pointer;-webkit-line-clamp:2;background:0 0;border:0;-webkit-box-orient:vertical;flex:none;padding:0;line-height:1.45;display:-webkit-box;overflow:hidden}.peach-react [data-media-next-reason]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container media-meta not (width>=360px){.peach-react [data-media-card]:not([data-variant=next]) [data-media-byline]{flex-wrap:wrap;row-gap:2px}.peach-react [data-media-card]:not([data-variant=next]) [data-media-facts]{flex-basis:100%}}@container media-meta not (width>=200px){.peach-react [data-media-card]:not([data-variant=next]) [data-media-who-more]{display:none}}@container media-meta not (width>=140px){.peach-react [data-media-who-more]{display:none}}@container media-meta not (width>=110px){.peach-react [data-media-size]{display:none}}.peach-react [data-media-tags]{height:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 8px);pointer-events:none;flex-wrap:wrap;align-content:flex-start;gap:5px;min-width:0;margin:-4px;padding:4px;display:flex;overflow:hidden}.peach-react [data-media-tags]>*{pointer-events:auto}.peach-react [data-media-tag]{max-width:100%;padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;line-height:1.45;overflow:hidden}.peach-react [data-media-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react span[data-media-tag]{cursor:default}.peach-react span[data-media-tag]:hover{background:var(--tag-fill);color:var(--ink-2)}@media (width<=760px){.peach-react [data-media-tags]>:nth-child(n+3){display:none}}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-grid]>:is([data-media-card],[data-mix-card]){padding-top:7px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-meta]{--card-meta-block:calc(2.7em + 36px)}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]{height:calc(var(--card-meta-block) + 8px);pointer-events:none;grid-template-rows:1.35em 1.35em 30px;gap:3px;margin:-4px;padding:4px;display:grid;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-text]>:not([data-media-tags]){pointer-events:auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-title]{text-overflow:ellipsis;white-space:nowrap;-webkit-line-clamp:unset;max-width:100%;min-height:1.35em;display:block;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-byline]{white-space:nowrap;flex-wrap:nowrap;height:1.35em;min-height:0;line-height:1.35em;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-who]{flex:0 auto}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] :is([data-media-who-more],[data-media-size]){white-space:nowrap;flex:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-why]{display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tags]{flex-wrap:nowrap;align-items:flex-start;height:38px;overflow:hidden}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-text]>[data-media-tags]{margin-top:-4px}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card] [data-media-tag]:nth-child(n+2){display:none}@container media-meta not (width>=360px){body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-variant=next]) :is([data-media-who-more],[data-media-size]){display:none}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-variant=next]) [data-media-facts]{flex-basis:auto}}@container media-meta not (width>=160px){body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-media-card]:not([data-variant=next]) [data-media-facts]{display:none}}body[data-surface=\/trash] .peach-react [data-media-text]{height:var(--card-meta-block)}body[data-surface=\/trash] .peach-react [data-media-byline]{flex-wrap:nowrap;flex:none;height:20px;overflow:hidden}body[data-surface=\/trash] .peach-react [data-media-size]{white-space:nowrap;flex:none}body[data-surface=\/trash] .peach-react [data-media-tags]{height:calc(var(--card-meta-tags) - 3px);flex-wrap:nowrap;flex:none;overflow:hidden}.peach-react [data-media-disposal-reason]{height:20px;color:var(--ink-2);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;flex:none;line-height:20px;overflow:hidden}.peach-react [data-pending-delete] [data-media-duration]{top:10px;bottom:auto}.peach-react [data-pending-delete] :is([data-media-preview],[data-media-later],[data-media-seek]){display:none}.peach-react [data-media-operation-error]{z-index:7;border-radius:var(--badge-radius);background:var(--ground);color:var(--drop);font-size:var(--fs-xs);overflow-wrap:anywhere;padding:8px;position:absolute;bottom:48px;left:10px;right:10px}.peach-react [data-media-glyph]{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.08em;place-items:center;gap:8px;display:grid}.peach-react [data-media-glyph] svg{width:32px;height:32px}.peach-react [data-media-glyph] b{font-weight:inherit}.peach-react [data-media-kind-glyph]{cursor:default;place-items:center;display:grid}.peach-react [data-media-kind-glyph] svg{width:19px;height:19px}.peach-react [data-media-resource-action]{z-index:5;min-height:var(--control-h-compact);border-radius:var(--control-radius);color:#fff;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:saturate(1.5)blur(10px);background:#000000a3;border:1px solid #ffffff40;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:absolute;bottom:10px;right:10px}.peach-react [data-media-resource-action]:hover:not([aria-busy]){background:var(--hover);color:var(--ink)}.peach-react [data-media-resource-action]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-media-resource-action][aria-busy]{cursor:wait;opacity:.72}.peach-react [data-media-resource-action] svg{width:15px;height:15px}.peach-react [data-shorts-strip]{--hover:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-shorts-strip]{--hover:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-shorts-strip]{border-radius:var(--floating-radius);background:var(--ground);font:var(--board-body);border:0;padding:16px}.peach-react [data-shorts-strip]>h2{z-index:1;font-size:var(--fs-lg);align-items:center;gap:10px;margin:0 0 11px;font-weight:600;display:flex;position:relative}.peach-react [data-shorts-count]{color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-shorts-enter]{border-radius:var(--pill-radius);background:var(--overlay-5);min-height:48px;color:var(--ink);font-family:inherit;font-size:var(--fs-xs);cursor:pointer;-webkit-backdrop-filter:blur(12px);border:0;align-items:center;gap:7px;margin-left:auto;padding:0 16px;transition:background .14s;display:inline-flex}.peach-react [data-shorts-enter]:hover{background:var(--hover)}.peach-react [data-shorts-enter] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.peach-react [data-shorts-row]{scrollbar-width:none;gap:13px;margin:-32px -16px -20px;padding:32px 16px 20px;display:flex;overflow-x:auto}.peach-react [data-shorts-row]::-webkit-scrollbar{display:none}@media (width>=761px){.peach-react [data-shorts-strip]{margin-left:calc(-1 * (var(--railW) + 16px));padding-left:calc(var(--railW) + 32px);border-radius:0 var(--floating-radius) var(--floating-radius) 0}.peach-react [data-shorts-row]{margin-left:calc(-1 * (var(--railW) + 32px + 16px));padding-left:calc(var(--railW) + 32px + 16px)}}.peach-react [data-mix-glyph]{border:1px solid var(--border-10);background:var(--overlay-5);width:40px;height:40px;color:var(--ink);border-radius:50%;flex:none;place-items:center;display:grid}.peach-react [data-mix-glyph] svg{fill:none;stroke:currentColor;stroke-width:2px;width:20px;height:20px}.peach-react [data-media-grid]>[data-mix-card]{border-radius:var(--surface-radius);font:var(--board-body)}.peach-react [data-media-grid]>[data-mix-card] [data-mix-cover]{content-visibility:auto}.peach-react [data-media-grid] [data-mix-badge]{letter-spacing:normal;line-height:inherit}.peach-react [data-media-grid] [data-mix-title]{font-family:inherit;font-size:var(--fs-md);letter-spacing:normal;color:inherit;font-weight:700;line-height:1.45}.peach-react [data-media-grid] [data-mix-caption]{font-family:inherit;font-size:var(--fs-xs);line-height:inherit;letter-spacing:normal;color:var(--muted);margin-top:2px}.peach-react [data-media-grid]>[data-mix-card]:is(:hover,:focus-within){border-radius:var(--surface-radius);background:var(--hover);box-shadow:0 0 0 8px var(--hover)}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;height:auto;min-height:0}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-text]{flex-direction:column;height:auto;display:flex}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-title]{white-space:normal;-webkit-line-clamp:2;min-height:0;display:-webkit-box}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-byline]{height:auto;min-height:20px;line-height:20px}body .peach-react [data-media-grid][data-single-column] [data-media-card] [data-media-tags]:empty{display:none}.peach-react [data-load-more]{min-height:42px;color:var(--muted);text-align:center;margin:18px auto 0;padding:12px}.peach-react [data-entity-more]{border:1px solid var(--line);min-width:124px;height:36px;min-height:36px;color:var(--ink);cursor:pointer;background:0 0;border-radius:10px;justify-content:center;align-items:center;margin:20px auto 0;padding:0 12px;font-size:14px;font-weight:500;display:flex}.peach-react [data-entity-more]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-entity-more][aria-busy]{cursor:wait;opacity:.5}.peach-react [data-grid-reveal]{position:relative}.peach-react [data-grid-reveal]>[data-grid-fade]{z-index:2;pointer-events:none;animation:grid-skeleton-out var(--motion-reveal) forwards;position:absolute;inset:0;overflow:hidden}.peach-react [data-grid-reveal]>:not([data-grid-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes grid-skeleton-out{0%{opacity:1;filter:blur()}to{opacity:0;filter:blur(2px)}}.peach-react [data-detail-tags] [data-detail-tag]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);box-sizing:border-box;height:var(--control-h-inline);align-items:center;max-width:100%;display:inline-flex;overflow:hidden}.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){border-color:color-mix(in srgb,var(--tag-color) 42%,var(--surface))}}.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag][data-tag-cat^=r34-]:not([data-tag-cat=r34-unknown]){background:color-mix(in srgb,var(--tag-color) 10%,var(--surface))}}.peach-react [data-detail-tags] [data-detail-tag] button{color:var(--ink-2);cursor:pointer;background:0 0;border:0;height:100%}.peach-react [data-detail-tags] [data-detail-tag] [data-tag]{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding:3px 8px;overflow:hidden}.peach-react [data-detail-tags] [data-detail-tag] :is([data-remove-tag],[data-edit-tag]){width:calc(var(--control-h-inline) - 2px);color:var(--muted);flex:none;place-items:center;padding:0;display:grid}.peach-react [data-detail-tags] [data-detail-tag] [data-tag]:hover,.peach-react [data-detail-tags] [data-detail-tag] [data-edit-tag]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-detail-tag] [data-remove-tag]:hover{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-detail-tag] [data-remove-tag]:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-detail-tags] [data-detail-tag] svg,.peach-react [data-detail-tags] [data-tag-plus] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-detail-tags] [data-tag-plus]{width:var(--control-h-inline);height:var(--control-h-inline);border:1px dashed var(--line);color:var(--muted);cursor:pointer;background:0 0;border-radius:50%;place-items:center;display:grid}.peach-react [data-detail-tags] [data-tag-plus]:hover{background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-tag-picker]{z-index:120;border:1px solid var(--ink);flex-direction:column;width:min(480px,100vw - 32px);max-height:min(480px,70vh);margin:0;padding:0;display:flex;position:fixed;inset:auto;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-picker]{border:1px solid color-mix(in srgb, var(--ink) 15%, transparent)}}.peach-react [data-detail-tags] [data-tag-picker]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 24px 70px -24px #000}.peach-react [data-detail-tags] [data-tag-picker][hidden]{display:none}.peach-react [data-detail-tags] [data-tag-picker]:not([hidden]){transform-origin:0 0;animation:.15s ease-out backwards board-menu-in}.peach-react [data-detail-tags] [data-tag-picker][class~=leaving]{animation:.15s ease-out forwards board-menu-out}.peach-react [data-detail-tags] [data-tag-search]{border-bottom:1px solid var(--ink);flex:none;align-items:center;gap:10px;height:54px;padding:0 14px;display:flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-search]{border-bottom:1px solid color-mix(in srgb, var(--ink) 10%, transparent)}}.peach-react [data-detail-tags] [data-tag-search] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px;color:var(--muted)}.peach-react [data-detail-tags] [data-tag-search] input{min-width:0;padding:revert;font-size:var(--fs-lg);background:0 0;border:0;outline:0;flex:1}.peach-react [data-detail-tags] [data-tag-search] input::placeholder{color:revert}.peach-react [data-detail-tags] [data-tag-scroll-frame]{flex:auto;min-height:0;display:flex;position:relative}.peach-react [data-detail-tags] [data-tag-body]{overscroll-behavior:contain;flex:auto;min-width:0;min-height:0;max-height:calc(min(480px,70vh) - 54px);padding:12px;overflow:auto}.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{border-top:1px solid var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{border-top:1px solid color-mix(in srgb, var(--ink) 9%, transparent)}}.peach-react [data-detail-tags] [data-tag-section]+[data-tag-section]{margin-top:12px;padding-top:12px}.peach-react [data-detail-tags] [data-tag-section] h4{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.12em;margin:0 0 8px;font-weight:600}.peach-react [data-detail-tags] [data-tag-grid]{grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;display:grid}.peach-react [data-detail-tags] [data-pick]{border-radius:var(--control-radius);min-width:0;height:34px;color:var(--ink-2);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:0 9px;display:flex}.peach-react [data-detail-tags] [data-pick]:is(:hover,[data-active],[aria-pressed=true]){background:var(--hover);color:var(--ink)}.peach-react [data-detail-tags] [data-pick-name]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-detail-tags] [data-pick-count]{color:var(--muted);font-size:var(--fs-xs);margin-left:auto}.peach-react [data-detail-tags] [data-pick] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;color:var(--tag-color,var(--muted));flex:none}@media (width<=760px){.peach-react [data-detail-tags] [data-tag-grid]{grid-template-columns:1fr}}.peach-react [data-surface-host]{isolation:isolate;position:relative}.peach-react [data-moving-surface]{pointer-events:none;transform-origin:0 0;z-index:-1;position:absolute;top:0;left:0}.peach-react [data-moving-surface=selection]{border-radius:var(--radius-md);background:var(--color-background-primary-default);box-shadow:var(--shadow-card)}.dark .peach-react [data-moving-surface=selection]{background:var(--color-background-primary-hover)}.peach-react [data-surface-host=selection][data-surface-ready] :is([data-selected],[aria-selected=true]){--tw-shadow:0 0 transparent;background:0 0}.peach-react [data-moving-surface=hover]{border-radius:var(--radius-2lg);background:var(--color-dropdown-item-hover-background)}.peach-react [data-processing-maintenance]{--color-dropdown-item-hover-background:var(--color-background-secondary-hover)}@media (hover:hover) and (pointer:fine){.peach-react [data-surface-host=hover][data-surface-ready] button:is(:hover,:focus-visible){background:0 0}}.peach-react [data-modal-motion]{transition:opacity .2s var(--ease-out)}.peach-react [data-modal-surface]{transition:transform .2s var(--ease-out), opacity .2s var(--ease-out)}.peach-react [data-modal-motion]:is([data-entering],[data-exiting]){opacity:0}.peach-react [data-modal-surface]:is([data-entering],[data-exiting]){opacity:0;transform:scale(.98)}.peach-react [data-modal-motion][data-exiting],.peach-react [data-modal-surface][data-exiting]{transition-duration:.12s}.peach-react [data-modal-motion][data-motion-instant],.peach-react [data-modal-motion][data-motion-instant] [data-modal-surface]{transition:none}@media (prefers-reduced-motion:reduce){.peach-react [data-modal-motion],.peach-react [data-modal-surface]{transition:none}}.peach-react [data-junk-count]{flex-direction:column;gap:16px;display:flex}.peach-react [data-junk-filters-frame][data-filter-glass]{min-width:0;position:relative;top:0}.peach-react [data-junk-filters]{overscroll-behavior-inline:contain;scrollbar-width:none;box-sizing:border-box;align-items:center;gap:7px;min-width:0;height:48px;padding:8px 12px;display:flex;overflow-x:auto}.peach-react [data-junk-filters]::-webkit-scrollbar{display:none}.peach-react [data-junk-filters] a{z-index:1;box-sizing:border-box;height:var(--control-h-compact);color:var(--glass-text);border-radius:8px;flex:none;align-items:center;gap:6px;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-junk-filters] a{white-space:nowrap;cursor:pointer;font-size:13px;font-weight:400;line-height:20px;text-decoration:none}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]){color:var(--glass-text)}.peach-react :is([data-junk-view-link],[data-junk-count-skeleton] [data-junk-kind-link])[aria-current=page]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react [data-junk-filters] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-filters] a>svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-junk-filters] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-junk-filters] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-junk-filters] a:is(:hover,[aria-current=page]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-junk-divider]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-media-grid][data-junk-grid]{grid-template-columns:repeat(auto-fill,minmax(min(100%,280px),1fr));gap:20px}.peach-react [data-media-card][data-junk-card]{border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--color-background-primary-default);cursor:default;content-visibility:auto;contain-intrinsic-size:auto 360px;gap:0;overflow:hidden}.peach-react [data-junk-card] [data-media-art]>img{object-fit:contain}.peach-react [data-junk-card] [data-media-glyph] b{font-weight:700}.peach-react [data-junk-meta]{gap:6px;min-width:0;padding:20px;display:grid}.peach-react [data-junk-title]{width:100%;min-width:0;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;padding:0;font-weight:600;line-height:1.4;display:block}.peach-react button[data-junk-title]{cursor:pointer}.peach-react button[data-junk-title]:hover{color:var(--ink-2)}.peach-react button[data-junk-title]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--control-radius)}.peach-react [data-junk-facts]{min-width:0;color:var(--muted);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex-wrap:wrap;gap:7px;display:flex}.peach-react [data-junk-why]{overflow-wrap:anywhere}.peach-react [data-junk-size]{white-space:nowrap;margin-left:auto}.peach-react [data-junk-actions]{border-top:1px solid var(--line-soft);background:var(--color-background-secondary-default);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:auto;padding:12px;display:grid}.peach-react [data-junk-actions] button{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);min-width:0;height:36px;min-height:36px;box-shadow:var(--elevation-xs);color:var(--ink);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:8px 12px;display:inline-flex}.peach-react [data-junk-actions] button:hover:not([aria-busy]){background:var(--inset);color:var(--ink)}.peach-react [data-junk-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-junk-actions] button[aria-busy]{cursor:wait;opacity:.64}.peach-react [data-junk-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:15px;height:15px}.peach-react [data-junk-spinner]{flex:none;display:inline-flex}.peach-react [data-junk-actions] button[data-junk-action=dispose]{isolation:isolate;background:var(--board-red);color:#fff;font:inherit;font-size:var(--fs-xs);border:0;padding:0 10px;position:relative}.peach-react [data-junk-actions] button[data-junk-action=dispose]:before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]){background:var(--board-red);color:#fff}.peach-react [data-junk-actions] button[data-junk-action=dispose]:hover:not([aria-busy]):before{opacity:1}.peach-react [data-junk-actions] button[data-junk-action=dispose]:active{background:var(--board-red-active)}.peach-react [data-junk-state]{color:var(--drop);font-size:var(--fs-xs);grid-column:1/-1}.peach-react [data-junk-state]:empty{display:none}.peach-react [data-select-mode] [data-junk-actions]{pointer-events:none;opacity:.52}body[data-density=dense] .peach-react [data-junk-actions] [data-junk-label]{display:none}@media (width<=760px){.peach-react [data-junk-filters]{height:60px}.peach-react [data-junk-filters] a{height:44px}.peach-react [data-junk-actions] button{min-height:44px}.peach-react [data-junk-actions] button[data-junk-action=dispose]{padding-inline:7px}}.peach-react [data-junk-actions]{container-type:inline-size}@container (width<=340px){.peach-react [data-junk-actions] button[data-junk-action]{gap:4px;padding-inline:6px}.peach-react [data-junk-actions] button>svg{display:none}}.peach-react [data-entity-card]{background:var(--ground);min-width:0;max-width:100%;color:var(--ink);font:var(--board-body);letter-spacing:0;border-radius:18px;flex-direction:column;margin:0 0 22px;display:flex;overflow:hidden}.peach-react [data-entity-card] :is(a,button,[tabindex]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-profile]{--portrait-size:120px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;min-width:0;padding:20px;display:grid}.peach-react [data-entity-profile]:has(>[data-entity-identity]>[data-entity-links]):has(>[data-entity-identity]>[data-entry-marks]){--portrait-size:160px}#index[data-hero-wide] .peach-react [data-entity-profile]:has(>[data-entity-facts]){grid-template-columns:auto minmax(0,1fr) minmax(280px,360px)}.peach-react [data-entity-portrait-wrap]{width:max-content;max-width:100%;max-height:calc(var(--portrait-size) + 64px);align-self:stretch;align-items:center;display:flex;position:relative}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]{top:calc((100% - var(--portrait-size)) / 2);height:var(--portrait-size);pointer-events:none;position:absolute;left:0;right:0}.peach-react [data-entity-portrait-wrap]>[data-avatar-picker]>*{pointer-events:auto}.peach-react [data-entity-portrait]{width:auto;max-width:100%;height:var(--portrait-size);aspect-ratio:1;background:var(--overlay-5);color:var(--muted);font-size:var(--fs-4xl);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react [data-entity-portrait=square]{border-radius:var(--floating-radius)}.peach-react [data-entity-portrait]>span{grid-area:1/1}.peach-react [data-entity-portrait]:has(img)>span{display:none}.peach-react [data-entity-portrait] img{z-index:1;object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-entity-portrait]:is([data-fit-native=mark],[data-native-small=true]) img{width:var(--markw,100%);height:var(--markh,100%);object-fit:contain;max-width:100%;max-height:100%;margin:auto}.peach-react [data-entity-portrait][data-native-clamp=true] img{object-fit:cover}.peach-react [data-entity-portrait=round] img{object-position:50% 25%}.peach-react [data-entity-identity]{min-width:0;max-width:100%}.peach-react [data-entity-title]{align-items:center;gap:8px;min-width:0;margin:0 0 9px;display:flex}.peach-react [data-entity-title] h2{letter-spacing:0;overflow-wrap:anywhere;margin:0;font-size:24px;font-weight:500;line-height:32px}.peach-react [data-namepick-toggle] svg,.peach-react [data-namepick-menu] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px}.peach-react [data-namepick-menu] svg{width:var(--icon-inline);height:var(--icon-inline)}.peach-react [data-entity-alias]{color:var(--muted);overflow-wrap:anywhere;margin-bottom:0;font-size:14px;line-height:20px}.peach-react [data-entity-alias] b{color:var(--ink);font-weight:inherit}.peach-react [data-entity-alias=meta]{flex-wrap:wrap;align-items:center;gap:4px 18px;display:flex}.peach-react [data-meta-item]{align-items:center;gap:6px;min-width:0;display:inline-flex}.peach-react [data-meta-item=classification]{white-space:nowrap;flex:none}.peach-react [data-meta-item=names]{flex-wrap:wrap}.peach-react [data-meta-item]>svg,.peach-react [data-entity-facts] dt svg{width:var(--icon-inline);height:var(--icon-inline);color:var(--muted);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-alias-names]>span+span:before{color:var(--muted);content:"·";margin:0 6px}.peach-react [data-entity-alias] a{color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react [data-entity-alias] a:hover{color:var(--ink)}.peach-react [data-hero-more]{border:1px solid var(--line);border-radius:var(--pill-radius);height:22px;color:var(--ink);font:inherit;font-size:var(--fs-xs);cursor:pointer;background:0 0;margin-left:4px;padding:0 8px}.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-more]:is(:hover,[aria-expanded=true]){background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-hero-more=fact]{margin-left:0}.peach-react [data-hero-pop]{z-index:var(--layer-popover);box-sizing:border-box;overscroll-behavior:contain;border:1px solid var(--line);background:var(--surface);width:max-content;max-width:min(440px,100vw - 16px);max-height:calc(100dvh - 16px);box-shadow:var(--elevation-dropdown);color:var(--ink);font-size:var(--fs-sm);text-align:left;transform-origin:0 0;border-radius:16px;gap:8px;margin:0;padding:12px 14px;line-height:1.5;animation:.15s ease-out backwards board-menu-in;display:grid;position:fixed;inset:auto;overflow:hidden auto}.peach-react [data-hero-pop]:not(:popover-open){display:none}.peach-react [data-hero-pop-head]{margin:0;font-weight:500}.peach-react [data-hero-pop] dl{grid-template-columns:auto minmax(0,1fr);gap:6px 14px;margin:0;display:grid}.peach-react [data-hero-pop] dt{color:var(--muted);white-space:nowrap}.peach-react [data-hero-pop] dd{overflow-wrap:anywhere;gap:4px;min-width:0;margin:0;display:grid}.peach-react [data-hero-pop] dd[data-wide]{grid-column:1/-1}.peach-react [data-pop-name]{display:grid}.peach-react [data-hero-pop] small{color:var(--muted);font-size:var(--fs-xs);line-height:1.4}.peach-react [data-entity-facts]{border-left:1px solid var(--line-soft);min-width:0;font-size:var(--fs-sm);text-align:left;grid-template-columns:auto minmax(0,1fr);align-content:center;place-self:stretch stretch;gap:10px 16px;margin:0;padding:2px 0 2px 24px;line-height:22px;display:grid}#index:not([data-hero-wide]) .peach-react [data-entity-facts]{border-top:1px solid var(--line-soft);border-left:0;grid-column:1/-1;padding:14px 0 0}.peach-react [data-entity-facts] dt{color:var(--muted);white-space:nowrap;align-self:start;align-items:center;gap:6px;display:flex}.peach-react [data-entity-facts] dd{min-width:0;color:var(--ink);overflow-wrap:anywhere;margin:0}.peach-react [data-entity-facts] :is([data-fact-tone=num],dd[data-fact=num]){font-variant-numeric:tabular-nums}.peach-react [data-entity-facts] [data-fact-tone=sub]{color:var(--muted)}.peach-react [data-entity-facts] dd[data-fact=clip]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react :is(dd[data-fact=tags],[data-fact-tags]){flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-fact-tag]{box-sizing:border-box;text-overflow:ellipsis;max-width:100%;padding:0 var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--tag-fill);color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;line-height:20px;overflow:hidden}.peach-react [data-entity-links]{flex-wrap:wrap;gap:8px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entity-links]>:where(a,span)[data-link]{box-sizing:border-box;border:1px solid var(--line);min-width:0;max-width:100%;height:36px;min-height:0;box-shadow:none;color:var(--ink);background:0 0;border-radius:10px;align-items:center;gap:8px;padding:0 12px 0 8px;font-size:13px;font-weight:400;text-decoration:none;display:inline-flex;overflow:hidden}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{border-color:var(--line);background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entity-links]>a[data-link]:hover{text-decoration:none}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=private],[data-link=gone]){color:var(--muted);border-style:dashed}.peach-react [data-entity-card] [data-entity-links]>:is([data-link=icon],[data-link=gone]){justify-content:center;gap:0;width:36px;padding:0}.peach-react [data-entity-card] [data-entity-links]>[data-link=url]{letter-spacing:.02em}.peach-react [data-link-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-link-icon]{border-radius:var(--badge-radius);background:0 0;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative;overflow:hidden}.peach-react [data-link-icon] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px}.peach-react [data-link-icon] img{background:var(--sunk);object-fit:cover;width:100%;max-width:none;height:100%;position:absolute;inset:0}.peach-react [data-link-icon=brand] svg{stroke:none;filter:none;width:100%;height:100%}.peach-react [data-entry-marks]{flex-wrap:wrap;align-items:center;gap:32px;max-width:100%;margin-top:14px;display:flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]{border-radius:var(--control-radius);min-width:0;min-height:20px;box-shadow:none;color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;margin:-4px -8px;padding:4px 8px;font-weight:500;text-decoration:none;display:inline-flex}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entity-card] [data-entry-marks]>a[data-entry-mark]:hover{text-decoration:none}.peach-react [data-entry-mark] svg{width:auto;height:22px}.peach-react [data-entry-ordinal]{color:var(--muted);font-size:var(--fs-sm)}.peach-react [data-missav-mark]{font-family:Halant,Georgia,Times New Roman,serif;font-size:var(--fs-xl);letter-spacing:.01em;white-space:nowrap;font-weight:500;line-height:22px}.peach-react [data-missav-mark]>span:last-child{color:#fe628e}@keyframes entryfeed-breathe{0%,to{color:var(--ink)}50%{color:var(--feed-mark)}}.peach-react [data-entry-feed]{border-radius:var(--control-radius);color:var(--ink);cursor:pointer;align-items:center;margin:-4px;padding:4px;display:inline-flex;position:relative}.peach-react [data-entry-feed]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entry-feed]:hover{background:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-react [data-entry-feed]:has(:checked){color:var(--feed-mark)}.peach-react [data-entry-feed]:has(:focus-visible){outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entry-feed]:has([aria-busy=true]){opacity:.6;cursor:progress}.peach-react [data-entry-feed]>svg{fill:none;stroke:currentColor;stroke-width:2px;width:22px;height:22px}.peach-react [data-entry-feed]:not(:has(:checked)){animation:2.4s ease-in-out infinite entryfeed-breathe}.peach-react [data-entry-feed]:not(:has(:checked)):is(:hover,:has(:focus-visible)){color:var(--feed-mark);animation:none}.peach-react [data-entity-feed]{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.peach-react [data-entry-feed-tip]{z-index:var(--layer-tooltip);border-radius:var(--surface-radius);background:var(--ink);width:max-content;max-width:250px;color:var(--ground);font-size:var(--fs-sm);white-space:normal;pointer-events:none;border:0;margin:0;padding:6px 8px;font-weight:400;line-height:1.3;position:fixed;inset:auto;overflow:visible}.peach-react [data-entity-foot]{border-top:1px solid var(--line-soft);background:var(--board-card-foot);align-items:center;gap:16px;min-width:0;padding:12px 20px;display:flex}.peach-react [data-related-people]{scrollbar-width:none;overscroll-behavior-inline:contain;flex:1;align-items:center;gap:4px;min-width:0;margin-top:-3px;padding-top:3px;display:flex;overflow-x:auto}.peach-react [data-related-people]::-webkit-scrollbar{display:none}.peach-react [data-related-people]>button{width:76px;max-width:none;height:auto;color:var(--muted);font:var(--board-body-medium);text-align:center;white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;border-radius:12px;flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-related-people]>button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-related-people]>button:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-hero-ring]{background:var(--ink);border-radius:50%;flex:none;width:48px;height:48px;margin:0;display:block;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react [data-hero-ring]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-hero-ring]{color:var(--muted);font:600 18px/24px var(--board-font)}.peach-react [data-hero-ring]>span{color:inherit;font:inherit;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-hero-ring]>img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;inset:0}.peach-react [data-hero-costar-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-namepick-menu]{width:min(260px,100vw - 16px);font:var(--board-body);letter-spacing:0}.peach-react [data-namepick-list],.peach-react [data-namepick-list]>section{outline:none;gap:2px;display:grid}.peach-react [data-namepick-menu] [role^=menuitem]{box-sizing:border-box;width:100%;min-height:36px;color:var(--muted);text-align:left;overflow-wrap:anywhere;cursor:pointer;background:0 0;border-radius:10px;outline:none;justify-content:flex-start;align-items:center;gap:8px;padding:8px;display:flex}.peach-react [data-namepick-menu] [role^=menuitem]:is([data-hovered],[data-focus-visible]){background:var(--hover);color:var(--ink)}.peach-react [data-namepick-menu] [role=menuitemradio] svg{visibility:hidden}.peach-react [data-namepick-menu] [aria-checked=true]{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-namepick-menu] [aria-checked=true]{background:color-mix(in srgb, var(--ink) 10%, var(--surface))}}.peach-react [data-namepick-menu] [aria-checked=true]{color:var(--ink)}.peach-react [data-namepick-menu] [aria-checked=true] svg{visibility:visible}.peach-react [data-namepick-rule]{border:0;border-top:1px solid var(--border-10);height:0;margin:4px 1px}@media (width<=760px){.peach-react [data-entity-profile]{text-align:center;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:16px}.peach-react [data-entity-portrait-wrap]{--portrait-size:96px}.peach-react [data-entity-portrait]{width:96px}.peach-react [data-entity-identity]{width:100%}.peach-react [data-entity-foot]{padding:10px 16px}.peach-react [data-entity-title]{justify-content:center}.peach-react [data-namepick-toggle]{position:relative}.peach-react [data-namepick-toggle]:after{content:"";width:44px;height:44px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-namepick-menu] [role^=menuitem]{min-height:44px}.peach-react [data-entity-alias]{margin-bottom:10px}.peach-react :is([data-entity-alias=meta],[data-meta-item=names]){justify-content:center}.peach-react [data-entity-links]{scrollbar-width:none;overscroll-behavior-inline:contain;margin-top:9px;margin-bottom:-4px;flex-wrap:nowrap;justify-content:safe center;max-width:none;margin-inline:-16px;padding-block:4px;padding-inline:16px;scroll-padding-inline:16px;overflow:auto hidden}.peach-react [data-entity-links]::-webkit-scrollbar{display:none}.peach-react [data-entity-card] [data-entity-links]>*{flex:none}.peach-react [data-entry-marks]{justify-content:center}}.peach-react :is([data-entity-filter-glass],[data-catalog-frame]){z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react :is([data-entity-filter-glass],[data-catalog-frame],[data-entity-combo]) :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-entity-press]{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}.peach-react [data-entity-press]:active{transition:scale 60ms ease-out;scale:.96}.peach-react [data-entity-sep]{background:var(--field-ring-hover);flex:none;width:1px;height:19px;margin:0 3px}.peach-react [data-entity-media]{flex:none;align-items:center;gap:2px;display:inline-flex}.peach-react [data-media-view]{z-index:1;flex:0 0 var(--control-h-compact);width:var(--control-h-compact);height:var(--control-h-compact);color:var(--glass-text);border-radius:50%;place-items:center;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-media-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-media-view]{cursor:pointer}.peach-react [data-media-view]:hover,.peach-react [data-media-view][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-media-view] svg{fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;display:block}.peach-react [data-media-view][data-media-icon=image] svg{fill:currentColor;stroke:none}.peach-react [data-entity-scroll]{flex:1;align-items:center;gap:6px;min-width:0;display:flex;position:relative}.peach-react [data-entity-states]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-entity-state]{z-index:1;height:var(--control-h-compact);color:var(--glass-text);border-radius:999px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-state]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-entity-state]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px}.peach-react [data-entity-state]:hover,.peach-react [data-entity-state][aria-pressed=true]{color:var(--glass-text)}.peach-react [data-entity-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex-wrap:nowrap;flex:1;align-items:center;gap:6px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-entity-tags]::-webkit-scrollbar{display:none}.peach-react [data-entity-tag]{color:var(--glass-text);border-style:solid;gap:0}.peach-react [data-entity-tag][aria-pressed=false]:hover{border-color:var(--field-ring);color:var(--ink)}.peach-react [data-entity-tag][aria-pressed=true]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}.peach-react [data-entity-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-entity-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}@media (width<=760px){.peach-react [data-entity-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-entity-scroll]::-webkit-scrollbar{display:none}.peach-react [data-entity-scroll]>[data-entity-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-entity-readout]{color:var(--ink-2);letter-spacing:normal;white-space:nowrap;flex:none;margin:0;font-size:12px;font-weight:400;line-height:20px}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;touch-action:pan-x pan-y;flex-wrap:nowrap;overflow:auto hidden}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]::-webkit-scrollbar{display:none}.peach-react [data-entity-sorts]{margin-left:auto;flex-wrap:nowrap;flex:none;align-items:center;gap:4px;width:max-content;margin-block:-14px;padding:14px 2px;display:flex;overflow:visible}.peach-react [data-entity-sort]{height:var(--control-h-compact);min-height:var(--control-h-compact);color:var(--glass-text);border-radius:7px;flex:none;align-items:center;padding:0 8px;display:inline-flex}@supports (color:color-mix(in lab, red, red)){.peach-react [data-entity-sort]{color:color-mix(in srgb, var(--glass-text) 62%, transparent)}}.peach-react [data-entity-sort]{white-space:nowrap;cursor:pointer;font-size:12px;line-height:20px}.peach-react [data-entity-sort]:hover{color:var(--glass-text)}.peach-react [data-entity-sort][aria-pressed=true]{color:var(--glass-text);font-weight:500}.peach-react [data-entity-sort] svg{width:var(--icon-inline);height:var(--icon-inline);flex:none;margin-left:5px}.peach-react [data-entity-sort] [data-icon-swap]{margin-left:5px}.peach-react [data-entity-sort] [data-icon-swap] svg{margin-left:0}.peach-react [data-entity-layout]{flex:none;gap:2px;margin:0 6px}.peach-react [data-entity-layout] svg{width:16px;height:16px}.peach-react [data-entity-layout] [data-glass-segment][data-selected]{-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick)}.peach-react [data-photo-back]{height:var(--control-h-compact);border:1px solid var(--glass-low);border-radius:var(--control-radius);color:var(--glass-text);white-space:nowrap;cursor:pointer;flex:none;align-items:center;gap:4px;padding:0 10px 0 6px;font-size:12px;display:flex}.peach-react [data-photo-back]:hover{background:var(--overlay-5)}.peach-react [data-photo-back] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.peach-react [data-entity-srctools]{display:contents}.peach-react [data-entity-srctools]>*{flex:none;margin:0}.peach-react [data-entity-srctools] [aria-live]{flex:none}@media (width<=760px){.peach-react :is([data-entity-filter-glass],[data-catalog-frame])>[data-filter-row=bottom]{gap:10px}.peach-react :is([data-entity-filter-glass],[data-catalog-frame])[data-filter-free]{top:var(--filter-free-top)}}.peach-react [data-entity-combo]{height:auto;font:var(--board-body);interpolate-size:allow-keywords;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 24px;transition:height .22s cubic-bezier(0,0,.2,1),margin-bottom .22s cubic-bezier(0,0,.2,1);display:flex;overflow:hidden}.peach-react [data-entity-combo]:empty{height:0;margin-bottom:0}@media (prefers-reduced-motion:reduce){.peach-react [data-entity-combo]{transition:none}}.peach-react [data-combo-chip]{border:1px solid var(--line);border-radius:var(--tag-radius);background:var(--picked);min-height:30px;color:var(--ink-2);font-size:var(--fs-md);align-items:center;padding:0 0 0 11px;line-height:20px;display:inline-flex;overflow:hidden}.peach-react [data-combo-chip] button{width:28px;height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;place-items:center;margin-left:5px;font-weight:400;display:grid}.peach-react [data-combo-chip] button:hover{background:var(--drop)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-combo-chip] button:hover{background:color-mix(in srgb, var(--drop) 12%, transparent)}}.peach-react [data-combo-chip] button:hover{color:var(--drop)}.peach-react [data-combo-clear]{min-height:28px;color:var(--muted);font-size:var(--fs-xs);cursor:pointer;align-items:center;padding:0 6px;display:inline-flex}.peach-react [data-catalog-tiers]{z-index:1;font:var(--board-body);letter-spacing:normal;padding:10px 0 8px;position:relative}.peach-react [data-catalog-tier]{scrollbar-width:none;align-items:center;gap:4px;margin-top:-3px;padding:0 16px 6px;display:flex;overflow-x:auto}.peach-react [data-catalog-tier]::-webkit-scrollbar{display:none}.peach-react [data-catalog-tier]:last-child{padding-bottom:4px}@media (width>=761px){.peach-react [data-catalog-tier]{margin-left:calc(-1 * var(--railW));padding-left:calc(var(--railW) + 16px)}}.peach-react :is([data-tier-performer],[data-tier-studio]){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border-radius:12px;flex:none}.peach-react :is([data-tier-performer],[data-tier-studio]):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-tier-performer],[data-tier-studio]):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-tier-performer],[data-tier-studio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react :is([data-tier-performer],[data-tier-studio])[aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tier-studio] [data-count-badge]{color:var(--color-text-tertiary);font:var(--board-caption);font-variant-numeric:tabular-nums}.peach-react [data-tier-performer]{text-align:center;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-tier-studio]{text-align:left;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-tier-ring],[data-tier-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-tier-ring],[data-tier-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-tier-ring],[data-tier-mark]){color:var(--color-text-secondary)}.peach-react [data-tier-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font);display:block}.peach-react [data-tier-ring]>[data-tier-initial]{justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react :is([data-tier-ring],[data-tier-mark])>img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-tier-name]{max-width:100%;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-tier-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font);justify-content:center;align-items:center;display:flex}.peach-react [data-catalog-scroll]{flex:1;align-items:center;gap:7px;min-width:0;display:flex;position:relative}.peach-react [data-catalog-views]{flex:none;align-items:center;gap:7px;display:flex}.peach-react [data-catalog-view]{z-index:1;height:var(--control-h-compact);color:var(--glass-text);border-radius:8px;flex:none;justify-content:center;align-items:center;padding:0 10px;display:inline-flex;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-view]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react [data-catalog-view]{white-space:nowrap;cursor:pointer;font-size:13px;line-height:20px;text-decoration:none}.peach-react [data-catalog-view]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react [data-catalog-view]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-catalog-tags]{overscroll-behavior-inline:contain;scrollbar-width:none;flex:1;align-items:center;gap:7px;min-width:0;display:flex;overflow:auto hidden}.peach-react [data-catalog-tags]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-catalog-scroll]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow:auto hidden}.peach-react [data-catalog-scroll]::-webkit-scrollbar{display:none}.peach-react [data-catalog-scroll]>[data-catalog-tags]{flex:none;min-width:auto;overflow:visible}}.peach-react [data-catalog-tag]{border-radius:var(--tag-radius);border-color:var(--field-ring-hover);color:var(--glass-text);gap:0}.peach-react [data-catalog-tag]:hover{color:var(--ink)}.peach-react [data-catalog-tag][aria-pressed=true]{border-style:solid;border-color:var(--glass-low);background:var(--picked)}.peach-react [data-catalog-tag] [data-count-badge]{color:var(--glass-text);margin-left:6px}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-catalog-tag] [data-count-badge]{font-variant-numeric:tabular-nums;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-catalog-tag]:is(:hover,[aria-pressed=true]) [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 80%, transparent)}}.peach-react [data-catalog-frame]>[data-filter-row=bottom]{color:var(--ink-2);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:12px;line-height:20px}.peach-react [data-catalog-readout]{white-space:nowrap;flex:none}.peach-react [data-catalog-summary]{flex:none;align-items:center;gap:12px;display:flex}.peach-react [data-catalog-frame][data-single-row]{flex-direction:row}.peach-react [data-catalog-frame][data-single-row]>[data-filter-row=top]{flex:1}.peach-react [data-catalog-frame][data-single-row]>[data-filter-row=bottom]{flex:none}.peach-react [data-catalog-placeholder]{pointer-events:none}.peach-react [data-catalog-tier]:has([data-catalog-placeholder]){overflow:hidden}.peach-react [data-catalog-placeholder=performer]{width:76px;font:var(--board-caption);flex-direction:column;flex:none;align-items:center;gap:6px;padding:6px 4px;display:flex}.peach-react [data-catalog-placeholder=performer]>:first-child{background:var(--hover);border-radius:50%;width:48px;height:48px}.peach-react [data-catalog-placeholder=performer]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:60%}.peach-react [data-catalog-placeholder=studio]{flex:none;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react [data-catalog-placeholder=studio]>:first-child{background:var(--hover);border-radius:50%;width:28px;height:28px}.peach-react [data-catalog-placeholder=studio]>:last-child{border-radius:var(--badge-radius);background:var(--hover);width:48px}.peach-react [data-catalog-placeholder=tag]{flex:none;gap:7px;display:flex}.peach-react [data-catalog-placeholder=tag]>span{width:72px;height:var(--control-h-compact);border-radius:var(--tag-radius);background:var(--hover);flex:none}.peach-react [data-loading] [data-catalog-placeholder]>span{position:relative;overflow:hidden}.peach-react [data-loading] [data-catalog-placeholder]>span:after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}@media (prefers-reduced-motion:reduce){.peach-react [data-loading] [data-catalog-placeholder]>span:after{animation:none}}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]){visibility:hidden;background:var(--hover);border-color:#0000;position:relative;overflow:hidden}.peach-react [data-refreshing] [data-tier-name]{border-radius:var(--control-radius);width:52px;margin:0 auto}.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{content:"";visibility:visible;border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse peach-skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-refreshing] [data-tier-ring][class~=ui-imgdone]:after{opacity:1;filter:none;visibility:visible}@media (prefers-reduced-motion:reduce){.peach-react [data-refreshing] :is([data-catalog-tag],[data-tier-ring],[data-tier-name],[data-tier-studio]):after{animation:none}}body[data-folder-browse] #main{grid-template-columns:224px minmax(0,1fr);align-items:start;column-gap:24px;display:grid}body[data-folder-browse] #main>:not(#catalogFoldersTree){grid-column:2;min-width:0}body[data-folder-browse] #catalogFoldersTree{top:var(--folder-sticky-top,calc(var(--topH) + 16px));grid-area:1/1/span 20;min-width:0;position:sticky}body[data-folder-browse] #catalogFoldersTree .catalog-folder-navigation{max-height:var(--folder-available-height,calc(100dvh - var(--folder-sticky-top,calc(var(--topH) + 16px)) - 16px))}body[data-folder-browse] #catalogFoldersTree .folder-tree-scroller{max-height:none}#catalogFolderHeader{margin-bottom:20px}.catalog-folder-heading{flex-direction:column;gap:12px;min-width:0;display:flex}.folder-scope-row{flex-wrap:wrap;align-items:center;gap:16px;display:flex}.folder-children{flex-wrap:wrap;gap:4px;display:flex}.folder-children>button{max-width:100%}.entity-folder-workspace[data-folder-browse]{grid-template-columns:224px minmax(0,1fr);align-items:start;gap:24px;display:grid}.entity-folder-workspace>[data-folder-tree-host]{top:var(--folder-sticky-top);min-width:0;position:sticky}.entity-folder-workspace .catalog-folder-navigation{max-height:var(--folder-available-height)}[data-folder-header-host]{margin-bottom:20px}.folder-crumb-name{text-overflow:ellipsis;max-width:180px;display:block;overflow:hidden}.folder-tree-scroller{min-height:0;max-height:calc(100dvh - var(--topH) - 124px);overscroll-behavior:contain;scroll-padding-block:4px;overflow:auto}.folder-tree-frame>[data-overlay-track=y]{overflow:hidden;translate:-8px}.folder-tree-frame>[data-overlay-track=y] [data-overlay-thumb]{transition-property:width}.folder-drawer-trigger{display:none}.peach-react button[data-folder-mode-toggle]{width:var(--control-h-compact);height:var(--control-h-compact);border-radius:var(--control-radius);box-shadow:none;color:var(--glass-text);background:0 0;border:0;padding:0}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-folder-mode-toggle]{color:color-mix(in srgb,var(--glass-text) 60%,transparent)}}.peach-react button[data-folder-mode-toggle]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-folder-mode-toggle][aria-pressed=true]{background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow)}.peach-react button[data-folder-mode-toggle] svg{fill:currentColor;stroke:none;width:16px;height:16px}@media (width<=1100px){.entity-folder-workspace[data-folder-browse]{display:block}.entity-folder-workspace>[data-folder-tree-host]{display:none}body[data-folder-browse] #main{display:block}body[data-folder-browse] #catalogFoldersTree{display:none}.folder-drawer-trigger{display:inline-flex}.folder-crumb-name{max-width:120px}}@media (width<=480px){.folder-crumb-name{max-width:88px}.folder-scope-row{gap:8px}}.peach-react [data-search-root]{line-height:20px}.peach-react [data-search-group]+[data-search-group],.peach-react [data-search-group]+[data-search-results],.peach-react [data-search-results]+[data-search-group],.peach-react [data-search-col]+[data-search-col]{border-top:1px solid var(--line-soft);margin-top:7px;padding-top:7px}.peach-react [data-search-group]>h3{color:var(--muted);font-size:var(--fs-xs);letter-spacing:.14em;justify-content:space-between;align-items:center;gap:8px;margin:6px 10px;font-weight:600;display:flex}.peach-react [data-search-group]>h3>a,.peach-react [data-search-head]>a{letter-spacing:normal;flex:none;font-weight:400}.peach-react [data-search-head]{flex:none;align-items:center;gap:6px;display:flex}.peach-react [data-search-shuffle]{border-radius:var(--control-radius);width:20px;height:20px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-search-shuffle]:hover{color:var(--ink)}.peach-react [data-search-shuffle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:1px}.peach-react [data-search-shuffle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px}.peach-react [data-search-shuffle][aria-busy=true] svg{--strand-dash:100;--strand-cycle:1.2s}.peach-react [data-search-person]{color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-search-person]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-search-empty]{color:var(--muted);font-size:var(--fs-sm);margin:0;padding:9px 10px}.peach-react [data-search-group]+[data-search-empty]{border-top:1px solid var(--line-soft);margin-top:7px}.peach-react [data-search-option]{border-radius:var(--control-radius);width:100%;height:38px;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:11px;padding:0 10px;display:flex}.peach-react [data-search-option]:is(:hover,[data-active]){background:var(--hover)}.peach-react [data-search-option] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:var(--muted);fill:none;flex:none}.peach-react [data-search-option] [data-remove-history] svg{width:18px;height:18px}.peach-react [data-search-option=more]{justify-content:space-between;margin-top:7px}.peach-react [data-search-option] span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-remove-history]{color:var(--muted);cursor:pointer;background:0 0;border:0;margin-left:auto;padding:7px}.peach-react [data-search-option] [data-search-matched]{min-width:0;color:var(--muted);font-size:var(--fs-xs);flex:0 8 auto}.peach-react [data-search-option] [data-search-n]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums;flex:none;margin-left:auto}.peach-react [data-search-col]{min-width:0;container:searchcol/inline-size}.peach-react [data-search-tabs]{border-bottom:1px solid var(--line-soft);scrollbar-width:none;overscroll-behavior-x:contain;gap:4px;margin-bottom:4px;padding:2px 2px 8px;display:flex;overflow-x:auto}.peach-react [data-search-tabs]::-webkit-scrollbar{display:none}.peach-react [data-search-tabs]>button{border-radius:var(--control-radius);height:30px;color:var(--color-text-secondary);font-size:var(--fs-sm);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;padding:0 10px;display:inline-flex}.peach-react [data-search-tabs]>button:hover{color:var(--ink)}.peach-react [data-search-tabs]>button[aria-selected=true]{background:var(--picked);color:var(--ink)}.peach-react [data-search-face]{background:var(--hover);border-radius:50%;flex:none;width:28px;height:28px;position:relative;overflow:hidden}.peach-react [data-search-option=person] [data-search-face]{width:40px;height:40px}.peach-react [data-search-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react [data-search-face]>span:first-child{color:var(--muted);font-size:var(--fs-sm);justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.peach-react [data-search-option]:is([data-search-option=person],[data-search-option=work]){height:auto;min-height:52px;padding-block:6px}.peach-react [data-search-meta]{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.peach-react [data-search-name]{align-items:baseline;gap:8px;min-width:0;display:flex}.peach-react [data-search-sub]{color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-search-by]{vertical-align:-4px;background:var(--hover);border-radius:50%;width:16px;height:16px;margin-right:6px;display:inline-block;position:relative}.peach-react [data-search-by] img{object-fit:cover;width:100%;height:100%;position:absolute;inset:0}.peach-react [data-search-by]>span{justify-content:center;align-items:center;font-size:9px;display:flex;position:absolute;inset:0}.peach-react [data-search-placeholder]{pointer-events:none}.peach-react [data-search-placeholder] [data-search-pic]>span{aspect-ratio:var(--card-ratio);border-radius:var(--badge-radius);display:block}.peach-react [data-search-placeholder] :is([data-search-name],[data-search-sub],[data-search-face],[data-search-pic]>span){color:#0000;background:var(--hover);position:relative;overflow:hidden}.peach-react [data-search-placeholder] :is([data-search-name],[data-search-sub]){border-radius:var(--control-radius)}.peach-react [data-search-placeholder] [data-search-name]{width:64%}.peach-react [data-search-placeholder] [data-search-sub]{width:40%}.peach-react [data-search-placeholder] :is([data-search-name],[data-search-sub],[data-search-face],[data-search-pic]>span):after{content:"";border-radius:inherit;background:linear-gradient(to right, var(--hover), var(--skeleton-sheen) 50%, var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse skeleton-sweep;position:absolute;inset:0 -200% 0 0}.peach-react [data-search-pic]{--card-ratio:.75;border-radius:var(--badge-radius);flex:none;display:block}.peach-react [data-search-pic]>span>span{letter-spacing:0;font-size:10px}.peach-react [data-search-option=work]>[data-search-pic]{width:36px}.peach-react [data-search-recommendations] [data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-recommendations] [data-search-option=work]>[data-search-pic]{width:100%}.peach-react [data-search-recommendations] [data-search-col]>[data-search-group] [data-search-items]:has([data-search-option=work]){grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option=work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-search-option] [data-search-peeks]{flex:none;gap:6px;margin-left:auto;display:none;overflow:visible}.peach-react [data-open-work]{border-radius:var(--badge-radius);cursor:pointer;background:0 0;border:0;width:36px;padding:0}.peach-react [data-open-work] [data-search-pic]{width:100%}.peach-react [data-open-work]:hover [data-search-pic]{outline:1px solid var(--border-15);outline-offset:-1px}.peach-react [data-open-work]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@container searchcol (width>=420px){.peach-react [data-search-option] [data-search-peeks]{display:flex}}@container searchcol (width>=400px){.peach-react [data-search-group][data-kind=asset] [data-search-items]{grid-template-columns:repeat(auto-fill,minmax(clamp(96px,20% - 4px,200px),1fr));gap:4px;display:grid}.peach-react [data-search-option][data-search-option=work]{flex-direction:column;align-items:stretch;gap:6px;padding:6px}.peach-react [data-search-option=work]>[data-search-pic]{width:100%}}@container searchmenu (width>=720px){.peach-react [data-search-recommendations] [data-search-results][data-split]{grid-template-columns:minmax(0,.32fr) minmax(0,.68fr)}.peach-react [data-search-recommendations] [data-search-results][data-split]:before{left:calc(32% + 2.38px)}.peach-react [data-search-results][data-split]{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;column-gap:16px;display:grid;position:relative}.peach-react [data-search-results][data-split]:before{content:"";background:var(--line-soft);pointer-events:none;width:1px;position:absolute;top:0;bottom:0;left:calc(50% - .5px)}.peach-react [data-search-results][data-split]>[data-search-col]+[data-search-col]{border-top:0;margin-top:0;padding-top:0;position:sticky;top:0}}.peach-react [data-photo-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));gap:10px;display:grid}.peach-react [data-photo-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-photo-wall]{--photo-columns:4}.peach-react [data-photo-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-photo-wall]{--photo-columns:3}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-photo-wall]{--photo-columns:2;gap:8px}.peach-react [data-photo-wall][data-size=big]{--photo-columns:1}}.peach-react [data-photo-wall][data-layout=masonry]{column-count:var(--photo-columns);column-gap:10px;display:block}.peach-react [data-photo-cell]{aspect-ratio:1;border-radius:var(--surface-radius);background:var(--sunk);cursor:zoom-in;border:0;width:100%;margin:0;padding:0;line-height:0;display:block;overflow:hidden}.peach-react [data-photo-cell] img{object-fit:cover;background:var(--sunk);color:#0000;width:100%;height:100%;display:block}.peach-react [data-photo-cell]:hover img{filter:brightness(1.06)}.peach-react [data-photo-cell]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]{aspect-ratio:auto;break-inside:avoid;margin:0 0 14px}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell] img{aspect-ratio:auto 1;height:auto}.peach-react [data-photo-wall][data-layout=masonry]>[data-photo-cell]:not(:has(img)){aspect-ratio:3/2}.peach-react [data-photo-group]{min-width:0;color:var(--muted);font-size:var(--fs-sm);align-items:baseline;gap:10px;margin:28px 2px 10px;line-height:20px;display:flex}.peach-react [data-photo-group]>b{color:var(--ink);font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-md);font-variant-numeric:tabular-nums;flex:none}.peach-react [data-photo-group-title]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-photo-group-meta]{flex:none;margin-left:auto}.peach-react [data-follow-feed]{font:var(--board-body);padding:4px 0 42px}.peach-react [data-follow-head]{justify-content:space-between;align-items:center;gap:14px;margin-bottom:20px;display:flex}.peach-react [data-follow-title]{font:var(--board-title);letter-spacing:0;margin:0}@media (width<=760px){.peach-react [data-follow-title]{font:var(--board-figure)}}.peach-react [data-follow-head-actions]{flex:none;align-items:center;gap:8px;display:inline-flex}.peach-react button:is([data-follow-manage],[data-follow-older]):has(>svg){gap:0;padding-left:12px}.peach-react button:is([data-follow-manage],[data-follow-older])>svg{width:var(--icon-inline);height:var(--icon-inline)}.peach-react :is([data-follow-authors],[data-follow-works]){overscroll-behavior-inline:contain;scrollbar-width:none;align-items:center;gap:4px;display:flex;overflow-x:auto}.peach-react :is([data-follow-authors],[data-follow-works])::-webkit-scrollbar{display:none}.peach-react [data-follow-authors]{margin:0 0 2px;padding:3px 0 10px}.peach-react [data-follow-works]{margin:0 0 2px;padding:0 0 10px}@media (width<=640px){.peach-react [data-follow-authors]{margin-right:-12px}}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a){color:var(--color-text-secondary);font:var(--board-body-medium);white-space:nowrap;cursor:pointer;transition:transform var(--lift-motion,var(--board-motion)), scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), background-color .2s ease-out, color .2s ease-out;background:0 0;border:0;flex:none;text-decoration:none}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):active{transition:scale 60ms ease-out;scale:.96}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>button[aria-pressed=true]{background:var(--color-background-tertiary-default);color:var(--color-text-primary)}.peach-react :is([data-follow-authors],[data-follow-works])>:is(button,a):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-authors]>[data-follow-author]{text-align:center;border-radius:12px;flex-direction:column;align-items:center;gap:6px;width:76px;padding:6px 4px;display:flex}.peach-react [data-follow-works]>button[data-follow-work]{text-align:left;border-radius:12px;align-items:center;gap:8px;height:40px;padding:6px 12px 6px 6px;display:inline-flex}.peach-react :is([data-follow-ring],[data-follow-mark]){background:var(--color-text-primary);border-radius:50%;flex:none;justify-content:center;align-items:center;margin:0;display:flex;position:relative;overflow:hidden}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-follow-ring],[data-follow-mark]){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-follow-ring],[data-follow-mark]){color:var(--color-text-secondary)}.peach-react [data-follow-ring]{width:48px;height:48px;font:600 18px/24px var(--board-font)}.peach-react [data-follow-mark]{width:28px;height:28px;font:600 12px/16px var(--board-font)}.peach-react [data-follow-ring]>img,.peach-react [data-follow-mark]>img{object-fit:cover;width:100%;max-width:none;height:100%;display:block;position:absolute;inset:0}.peach-react [data-follow-mark]>img{object-position:50% 25%}.peach-react [data-follow-ring]>span{width:100%;height:100%;font:inherit;color:inherit;justify-content:center;align-items:center;display:flex}.peach-react [data-follow-name]{max-width:100%;color:inherit;font:var(--board-caption);text-align:center;text-overflow:ellipsis;display:block;overflow:hidden}.peach-react [data-follow-filter-glass]{z-index:60;font:var(--board-body);letter-spacing:normal}.peach-react [data-follow-filter-glass] :is(button,[role=radio]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]{overscroll-behavior-inline:contain;scrollbar-width:none;overflow-x:auto}.peach-react [data-follow-filter-glass]>[data-filter-row=bottom]::-webkit-scrollbar{display:none}@media (width<=760px){.peach-react [data-follow-filter-glass] [data-entity-sorts]{padding-left:0}}.peach-react [data-follow-filter-glass] :is([data-entity-scroll],[data-entity-states],[data-entity-tags]){gap:7px}.peach-react button[data-follow-provider]{width:var(--control-h-compact);height:var(--control-h-compact);border:1px dashed var(--glass-low);border-radius:var(--tag-radius);cursor:pointer;background:0 0;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex}.peach-react button[data-follow-provider]:hover{border-style:solid;border-color:var(--field-ring)}.peach-react button[data-follow-provider][aria-pressed=true]{border-style:solid;border-color:var(--field-ring);background:var(--picked)}.peach-react [data-follow-provider]>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react [data-follow-filter-glass] [data-follow-tag]{--tag-color:#55a7ff;color:var(--glass-text);gap:6px}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-follow-filter-glass] [data-follow-tag][data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-follow-filter-glass] [data-follow-tag]:hover{border-color:var(--field-ring)}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-style:solid;border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color) 72%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color) 22%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag][aria-pressed=true]{color:var(--glass-text,var(--ink))}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{color:color-mix(in srgb, var(--glass-text) 55%, transparent)}}.peach-react [data-follow-filter-glass] [data-follow-tag] [data-count-badge]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:11px}.peach-react button[data-follow-images-only]{width:var(--control-h-compact);height:var(--control-h-compact);color:var(--glass-text);background:0 0;border:0;border-radius:7px;flex:none;place-items:center;padding:0;display:grid;position:relative}@supports (color:color-mix(in lab, red, red)){.peach-react button[data-follow-images-only]{color:color-mix(in srgb, var(--glass-text) 60%, transparent)}}.peach-react button[data-follow-images-only]{cursor:pointer}.peach-react button[data-follow-images-only]:is(:hover,[aria-pressed=true]){color:var(--glass-text)}.peach-react button[data-follow-images-only]>[data-view-glide]{inset:0}.peach-react button[data-follow-images-only] svg{z-index:1;fill:none;stroke:currentColor;stroke-width:2px;width:16px;height:16px;position:relative}.peach-react [data-follow-readout]{font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace}.peach-react [data-follow-broken]>[role=alert]{margin:10px 0 14px}.peach-react [data-follow-broken] [data-follow-manage]{color:var(--tungsten);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-follow-pagination]{border-top:1px solid var(--line-soft);flex-wrap:wrap;align-items:center;gap:14px 24px;margin-top:18px;padding-top:14px;display:flex;overflow-x:auto}.peach-react [data-follow-page-action]{align-items:center;gap:12px;display:inline-flex}.peach-react [data-follow-pagination] [data-entity-more]{gap:4px;min-width:0;margin:0}.peach-react :is([data-follow-older],[data-follow-recheck])>span{gap:4px}.peach-react button[data-follow-older][aria-busy]{border-color:var(--line);background:var(--ground);color:var(--muted);box-shadow:none}.peach-react [data-follow-backfill]{color:var(--muted);font:var(--board-compact)}.peach-react [data-follow-list]{grid-template-columns:repeat(auto-fill, minmax(min(100%, var(--tile)), 1fr));gap:24px;display:grid}.peach-react [data-follow-list]:not([data-follow-wall])>[data-media-card]{align-self:stretch}.peach-react [data-follow-wall]{--photo-columns:5;grid-template-columns:repeat(var(--photo-columns), minmax(0, 1fr));align-items:start;gap:14px 10px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:3}@media (width<=1400px){.peach-react [data-follow-wall]{--photo-columns:4}.peach-react [data-follow-wall][data-size=big]{--photo-columns:2}}@media (width<=1000px){.peach-react [data-follow-wall]{--photo-columns:3}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}@media (width<=640px){.peach-react [data-follow-wall]{--photo-columns:2;gap:12px 8px}.peach-react [data-follow-wall][data-size=big]{--photo-columns:1}}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-item] [data-media-meta]{contain-intrinsic-block-size:none;min-height:0}.peach-react [data-follow-wall][data-layout=masonry]:has(>[data-media-card]){row-gap:0}.peach-react [data-follow-wall][data-images-only=true] [data-follow-item] :is([data-media-meta],[data-media-badge],[data-follow-collection],[data-follow-state]){display:none}.peach-react [data-follow-wall] [data-media-card] :is([data-media-pic],[data-media-meta]){content-visibility:visible}.peach-react [data-follow-wall] [data-media-card] [data-media-meta]{pointer-events:auto;contain-intrinsic-block-size:none;margin:0;padding:0}.peach-react [data-follow-item] [data-media-meta]{--card-meta-byline:max(1lh, 21px);--card-meta-tags:calc(var(--fs-xs) * 1.45 + var(--tag-pad-y) * 2 + 2px + 6px);grid-template-rows:auto;grid-template-columns:38px minmax(0,1fr);align-content:start;align-items:start;gap:6px 10px;display:grid}body[data-density=dense]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-meta]{--card-meta-block:calc(var(--fs-md) * 1.35 + 6px + var(--card-meta-byline) + var(--card-meta-tags))}.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{min-height:calc(var(--card-meta-block) + 16px);contain-intrinsic-block-size:auto var(--card-meta-block)}@media (width<=760px){body .peach-react [data-follow-list] [data-follow-item] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;min-height:0}body[data-density]:not([data-surface=\/trash]) .peach-react [data-follow-list] [data-follow-item] [data-media-text]{flex-direction:column;height:auto;display:flex}body[data-density]:not([data-surface=\/trash]) .peach-react [data-follow-item] [data-media-title]{white-space:normal;-webkit-line-clamp:2;min-height:0;display:-webkit-box}body[data-density]:not([data-surface=\/trash]) .peach-react [data-follow-list] [data-follow-item] [data-media-byline]{height:auto;min-height:20px;line-height:20px}}.peach-react [data-follow-item][data-status=ignored]{opacity:.62}.peach-react [data-follow-visual]{isolation:isolate;border-radius:var(--surface-radius);position:relative}.peach-react [data-follow-visual]>[data-media-pic]{z-index:1;pointer-events:none}.peach-react [data-follow-visual] :is([data-media-check],[data-media-badge]){pointer-events:auto}.peach-react [data-follow-open]{z-index:1;border-radius:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:absolute;inset:0}.peach-react [data-follow-open]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-select-mode] :is([data-follow-open],[data-follow-actions],[data-follow-collection]){pointer-events:none!important}.peach-react [data-follow-nothumb]{color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid;position:absolute;inset:0}.peach-react :is([data-media-badge],[data-follow-nothumb])>img{border-radius:var(--badge-radius);object-fit:contain;width:18px;height:18px;margin:0}.peach-react .follow-site-initial{border-radius:var(--badge-radius);background:var(--overlay-5);width:18px;height:18px;color:var(--muted);font:600 11px/1 var(--board-font);place-items:center;display:inline-grid}.peach-react [data-follow-image] [data-media-pic]{aspect-ratio:4/3;background:var(--sunk);min-height:0}.peach-react [data-follow-image] [data-media-pic]>img{background:var(--sunk);object-fit:cover}.peach-react [data-follow-image] :is([data-mix-faces],[data-mix-face] img){background:var(--sunk)}.peach-react [data-follow-image] [data-mix-face] img{object-fit:cover}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]{aspect-ratio:1}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){aspect-ratio:auto}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{height:auto;position:static}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]:has(>img[width][height]){container-type:inline-size}.peach-react [data-follow-wall][data-layout=masonry] [data-follow-image] [data-media-pic]>img[width][height]{object-fit:cover;max-height:250cqi}.peach-react [data-follow-corner]{z-index:7;pointer-events:none;flex-direction:column;align-items:flex-end;gap:6px;display:flex;position:absolute;top:10px;right:10px}.peach-react [data-follow-collection]{border-radius:var(--control-radius);color:#fff;min-height:28px;font:inherit;cursor:pointer;pointer-events:auto;-webkit-backdrop-filter:blur(10px);background:#0c0808b8;border:0;align-items:center;gap:6px;padding:4px 9px;transition:opacity .15s;display:flex}.peach-react [data-follow-collection] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px}.peach-react [data-follow-actions]{opacity:0;pointer-events:none;align-items:center;gap:6px;transition:opacity .15s;display:flex}.peach-react [data-follow-actions] button{width:var(--control-h-compact);height:var(--control-h-compact);color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(10px);background:#0000007a;border:1px solid #ffffff29;border-radius:50%;place-items:center;padding:0;display:grid}.peach-react [data-follow-actions] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:18px;height:18px}.peach-react [data-follow-actions] button:hover:not(:disabled){background:#ffffff2e}.peach-react [data-follow-actions] button:disabled{opacity:.42;cursor:not-allowed}.peach-react [data-follow-actions] button[aria-busy]{cursor:wait;opacity:.72}@media (hover:hover) and (pointer:fine){.peach-react [data-follow-corner]{place-items:start end;display:grid}.peach-react [data-follow-corner]>*{grid-area:1/1}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-item]:is(:hover,:has(:focus-visible)) [data-follow-collection]{opacity:0;visibility:hidden;transition:opacity .15s,visibility 0s .15s}}@media (hover:none),(pointer:coarse){.peach-react [data-follow-item] [data-follow-actions]{opacity:1;pointer-events:auto}.peach-react [data-follow-wall] [data-follow-item] [data-follow-actions]>:not([data-follow-save]){display:none}}.peach-react [data-follow-avatar]{cursor:default;place-items:center;display:grid}.peach-react [data-follow-avatar]>img{border-radius:50%}.peach-react a[data-follow-avatar]{cursor:pointer}.peach-react a[data-follow-author]{text-decoration:none}.peach-react a:is([data-follow-avatar],[data-follow-author]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-follow-byline] a[data-follow-author]:hover{text-decoration:underline}.peach-react [data-follow-avatar]>span:first-child{width:100%;height:100%;color:var(--muted);font-family:var(--board-font);font-size:var(--fs-sm);place-items:center;display:grid}.peach-react [data-follow-credit]{min-width:0;color:var(--muted);font-size:var(--fs-xs);text-overflow:ellipsis;white-space:nowrap;border-left:1px solid var(--border-15);flex:0 auto;padding-left:8px;font-style:italic;overflow:hidden}.peach-react [data-follow-badges]{flex-wrap:nowrap;flex:none;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-site-icon]{width:var(--icon-inline);height:var(--icon-inline);object-fit:contain;vertical-align:-2px;border-radius:0;margin-right:5px}.peach-react [data-follow-edition]{color:var(--ink-2);margin-right:6px}.peach-react [data-follow-edition=wip]{color:var(--meter)}.peach-react [data-follow-edition=has-wip]{color:var(--muted)}.peach-react [data-follow-edition=voiced]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-edition=voiced]{background:color-mix(in srgb, var(--keep) 16%, transparent)}}.peach-react [data-follow-edition=silent]{color:var(--muted);border-style:dashed}.peach-react [data-follow-sources]{z-index:2;gap:4px;max-width:calc(100% - 120px);display:flex;position:absolute;top:6px;left:6px}.peach-react [data-follow-sources] [data-media-badge]{flex:none;position:static}.peach-react [data-follow-sources]>[data-follow-badges]{flex:0 auto}.peach-react [data-follow-sources] [data-follow-seealso-label]{display:none}.peach-react [data-follow-seealso]{border:1px dashed var(--border-15);border-radius:var(--badge-radius);color:var(--ink-2);font-size:var(--fs-xs);align-items:center;gap:4px;padding:2px 8px;display:inline-flex}.peach-react [data-follow-seealso] [data-follow-site-icon]{margin:0}.peach-react [data-follow-sources] [data-follow-seealso]{border-radius:var(--control-radius);background:var(--glass-fill);min-height:24px;box-shadow:inset 0 1px 0 var(--glass-rim), var(--glass-shadow);-webkit-backdrop-filter:blur(16px)saturate(145%);backdrop-filter:blur(16px)saturate(145%);color:var(--color-text-secondary);font:var(--board-caption);pointer-events:auto;border:0;padding:4px}.peach-react [data-follow-sources] [data-follow-site-icon]{width:20px;height:20px}.peach-react [data-follow-issue]{color:var(--drop);font-size:var(--fs-sm);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7;display:block}.peach-react [data-follow-state]{color:var(--drop);font-size:var(--fs-xs);flex:100%}@media (width<=760px){.peach-react [data-follow-list]:not([data-follow-wall]) [data-follow-item] [data-media-meta]{content-visibility:visible;contain-intrinsic-block-size:none;grid-template-rows:none;min-height:0}body[data-density] .peach-react [data-follow-item] [data-follow-labels]{height:auto}.peach-react [data-follow-item] [data-follow-labels]:empty{display:none}}.peach-react [data-media-grid]>[data-jav-card]{align-self:stretch;gap:12px}.peach-react [data-jav-skeleton-actions]{height:36px}.peach-react [data-jav-skeleton-avatar]{border-radius:50%;width:38px;height:38px}.peach-react [data-jav-skeleton-cover]{border-radius:var(--surface-radius)}.peach-react [data-jav-skeleton-text]{height:20px}.peach-react [data-jav-skeleton-action]{border-radius:var(--control-radius);height:36px}.peach-react [data-jav-title]{margin:0;font-weight:400}.peach-react [data-jav-actions]{margin-top:auto}.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-follow-detail] [data-follow-detail-media=image]{background:color-mix(in srgb, var(--video-glow,#15202a) 12%, var(--surface) 88%)}}.peach-react [data-follow-detail] [data-follow-detail-poster]{z-index:1;object-fit:contain;background:0 0;width:auto;max-width:100%;height:auto;max-height:76vh;display:block;position:relative}.peach-react [data-follow-detail] [data-follow-detail-poster][data-zoomable]{cursor:zoom-in}.peach-react [data-follow-detail] [data-follow-detail-media]:has(>[data-carousel-below]){flex-direction:column}.peach-react [data-follow-detail] [data-follow-detail-media]:has(>[data-carousel-below]) [data-follow-detail-poster]{min-height:0;max-height:calc(76dvh - 116px)}.peach-react [data-follow-detail] [data-carousel-below]{flex:none}.peach-react [data-follow-detail] [data-framed] [data-follow-detail-poster]{width:100%;aspect-ratio:var(--follow-frame-ratio)}.peach-react [data-follow-detail] [data-follow-detail-placeholder]{aspect-ratio:16/9;width:100%;max-height:100%;color:var(--muted);place-content:center;place-items:center;gap:10px;display:grid}.peach-react [data-follow-detail] [data-follow-detail-placeholder] img{width:34px;height:34px;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta]{align-items:center;gap:6px;display:flex}.peach-react [data-follow-queue] [data-follow-queue-meta]>[data-follow-queue-source]{display:contents}.peach-react [data-follow-queue] [data-follow-queue-meta] img{flex:none;margin:0}.peach-react [data-follow-queue] [data-follow-queue-meta] time{white-space:nowrap;flex:none}.peach-react [data-follow-detail] [data-follow-variant]{border-radius:var(--badge-radius);text-overflow:ellipsis;vertical-align:-2px;background:var(--overlay-5);min-width:0;max-width:120px;color:var(--muted);font-size:var(--fs-xs);flex:0 auto;margin:0;padding:1px 7px;font-style:normal;display:inline-block;overflow:hidden}.peach-react [data-follow-detail] [data-follow-variant=wip]{color:var(--meter)}.peach-react [data-follow-detail] [data-follow-variant=alt]{color:var(--ink-2)}.peach-react [data-follow-detail] [data-follow-nothumb]{width:100%;height:100%;color:var(--muted);font-size:var(--fs-xs);place-items:center;display:grid}.peach-react [data-follow-detail] [data-follow-nothumb] svg{stroke:currentColor;fill:none;stroke-width:2px;width:22px;height:22px}.peach-react [data-follow-detail] [data-follow-detail-title]{align-items:flex-start;gap:5px;margin-bottom:8px;display:flex}.peach-react [data-follow-detail] [data-follow-detail-title]>[data-follow-detail-name]{width:auto;max-width:calc(100% - 35px);margin:0}.peach-react [data-follow-detail] [data-follow-origin]{width:30px;min-width:0;height:30px;margin:calc((var(--fs-lg) * 1.5 - 30px) / 2) 0;flex:none}.peach-react [data-follow-detail] [data-follow-origin] svg{flex:none;width:18px;height:18px}.peach-react [data-follow-detail] [data-follow-resources] a svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}.peach-react [data-follow-detail] [data-follow-detail-credit]{overflow-wrap:anywhere;color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-follow-detail] [data-follow-detail-credit]>span{display:block}.peach-react [data-follow-detail] [data-follow-badges]{flex-wrap:nowrap;gap:5px;min-width:0;display:flex;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]{color:var(--ink-2);white-space:pre-line;overflow-wrap:anywhere;margin:0 0 16px}.peach-react [data-follow-detail] [data-follow-detail-summary][data-clamped]{-webkit-line-clamp:8;line-clamp:8;-webkit-box-orient:vertical;flex-shrink:0;display:-webkit-box;overflow:hidden}.peach-react [data-follow-detail] [data-follow-detail-summary]:has(+[data-follow-summary-toggle]){margin-bottom:4px}.peach-react [data-follow-detail] [data-follow-summary-toggle]{flex-shrink:0;align-self:flex-start;margin:0 0 16px -8px}.peach-react [data-follow-detail] [data-follow-media-issue]{font-size:var(--fs-sm);color:var(--drop);overflow-wrap:anywhere;margin:18px 0 8px;line-height:1.7}.peach-react [data-follow-detail] [data-follow-media-issue][hidden]{display:none}.peach-react [data-follow-detail] [data-follow-resources]{flex-wrap:wrap;gap:8px;margin:0 0 16px;display:flex}.peach-react [data-follow-detail] [data-follow-resources] a{min-width:0;height:34px}.peach-react [data-follow-detail] [data-follow-detail-want][aria-pressed=true] svg{fill:currentColor}.peach-react [data-follow-detail] [data-follow-hidden-media]{align-items:center;gap:10px;margin-top:14px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-label]{color:var(--muted);white-space:nowrap}.peach-react [data-follow-detail] [data-follow-hidden-thumbs]{flex-wrap:wrap;gap:6px;display:flex}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button{border:1px solid var(--border-15);border-radius:var(--control-radius);cursor:pointer;background:0 0;width:40px;height:40px;padding:0;position:relative;overflow:hidden}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] button:hover{border-color:var(--ink-3)}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] img{object-fit:cover;opacity:.55;width:100%;height:100%;display:block}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] i{background:var(--hover);width:16px;height:16px;color:var(--ink-2);border-radius:50%;justify-content:center;align-items:center;display:flex;position:absolute;bottom:2px;right:2px}.peach-react [data-follow-detail] [data-follow-hidden-thumbs] svg{stroke:currentColor;fill:none;width:11px;height:11px}.peach-react [data-follow-detail] [data-follow-state]{font-size:var(--fs-xs);color:var(--drop);flex:none}.peach-react [data-follow-detail-tags]{margin-top:16px}.peach-react [data-item-detail] [data-item-placeholder]{aspect-ratio:16/9;place-items:center;padding:16px;display:grid}.peach-react [data-item-gallery]{flex-direction:column;justify-content:center;align-items:center;display:flex}.peach-react [data-item-gallery]>[class~=video-js]{flex:none;order:0}.peach-react [data-item-gallery]>[data-carousel-below]{flex:none;order:1}.peach-react [data-item-media]>[data-player-toolbar]{z-index:8;pointer-events:none;flex-wrap:wrap;align-items:center;gap:7px;display:flex;position:absolute;top:11px;left:11px;right:59px}.peach-react [data-player-toolbar]>:is([data-player-stats-slot],[data-player-net-slot]){display:contents}.peach-react [data-player-toolbar] :is([data-player-stats-button],[data-player-net],[data-jav-preview-toggle]){flex:none;position:relative;top:auto;left:auto}.peach-react [data-player-toolbar] button{pointer-events:auto}.peach-react [data-item-gallery][data-item-picture] [data-player-toolbar]>:is([data-player-stats-slot],[data-player-net-slot]),.peach-react [data-item-gallery][data-item-picture]>:is([class~=video-js],video,[data-item-gate],#playerStatsBtn,#playerStats,#playerNet,[data-ambient-canvas]){display:none}.peach-react [data-catalog-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react [data-item-gallery][data-item-picture]>[role=note]{margin:24px}.peach-react [data-item-detail] [data-item-gate]{box-sizing:border-box;aspect-ratio:auto;border-radius:inherit;background:var(--sunk);border:1px dashed var(--meter);cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:10px;width:100%;height:100%;display:flex}:where(.peach-react [data-item-detail] [data-item-gate]) b{font-size:var(--fs-md)}:where(.peach-react [data-item-detail] [data-item-gate]) span{font-size:var(--fs-xs);color:var(--muted)}.peach-react [data-item-detail] [data-item-gate=offline]{cursor:default;background:var(--ground);min-height:220px;color:var(--ink);border-style:solid;gap:7px;padding:24px}.peach-react [data-item-detail] [data-item-gate=offline] b{letter-spacing:.08em}.peach-react [data-item-detail] [data-item-gate=offline] span{text-align:center;max-width:34ch;color:var(--ink-2);line-height:1.6}.peach-react [data-item-detail] [data-item-gate=offline] button{cursor:pointer;margin-top:4px}.peach-react [data-mix-queue] [data-queue-head]{color:var(--ink);align-items:center;gap:5px;margin-top:0;display:flex}.peach-react [data-mix-queue] [data-queue-head] b{flex:1;min-width:0}.peach-react [data-mix-queue] [data-queue-edition]{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;max-width:50%;font-style:normal;overflow:hidden}.peach-react [data-mix-queue] [data-queue-edit]{z-index:3;border-radius:var(--control-radius);color:#fff;background:#0000009e;grid-auto-flow:column;align-items:center;gap:2px;padding:3px;display:grid;position:absolute;top:5px;right:5px}.peach-react [data-mix-queue] [data-queue-grip]{width:20px;color:var(--muted);cursor:grab;place-items:center;display:grid}.peach-react [data-mix-queue] [data-queue-grip] svg{stroke:currentColor;fill:none;width:16px;height:16px}.peach-react [data-mix-queue] [data-queue-edit] button{border-radius:var(--control-radius);color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;width:26px;height:26px;padding:0;display:grid}.peach-react [data-mix-queue] [data-queue-edit] button:hover{background:var(--hover)}.peach-react [data-mix-queue] [data-queue-edit] svg{stroke:currentColor;fill:none;width:15px;height:15px}.peach-react [data-item-detail] [data-item-title]{margin-bottom:10px;display:block}.peach-react [data-item-detail] [data-item-title] [class~=srcbig]{vertical-align:top;place-items:center;width:17px;height:28px;margin:0 8px 0 0;display:inline-grid}.peach-react [data-item-detail] [data-item-title] [data-title-line]{min-width:0;margin:0;line-height:1.75}.peach-react [data-item-detail] [data-detail-title]{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.peach-react [data-item-detail] [data-detail-title][data-expanded]{-webkit-line-clamp:unset;line-clamp:unset;display:block}.peach-react [data-item-detail] [data-detail-title][data-foldable]{cursor:pointer}.peach-react [data-item-detail] [data-title-tools]{flex-wrap:nowrap;align-items:center;gap:6px;margin:6px 0 0;display:flex}.peach-react [data-item-detail] [data-title-tools]:not(:has(button:not([hidden]))){display:none}.peach-react [data-item-detail] [data-title-tools] button{width:var(--control-h-inline);height:var(--control-h-inline);border:1px solid var(--line);background:var(--surface);color:var(--muted);cursor:pointer;border-radius:8px;flex:none;place-items:center;padding:0;line-height:1;display:inline-grid}.peach-react [data-item-detail] [data-title-tools] button[hidden]{display:none}.peach-react [data-item-detail] [data-title-tools] [data-cover-crop-host]{display:contents}.peach-react [data-item-detail] [data-title-tools] button svg{stroke:currentColor;fill:none;stroke-width:2px;width:15px;height:15px}.peach-react [data-item-detail] [data-title-tools] button>svg{flex-shrink:0;place-self:center;margin:0;display:block}.peach-react [data-item-detail] [data-title-tools] button:hover{background:var(--hover);color:var(--ink)}.peach-react [data-item-detail] [data-title-tools] button:disabled{background:var(--sunk);border-color:var(--line-soft);color:var(--muted);cursor:not-allowed}.peach-react [data-item-detail] [data-title-state]{min-width:0;font-size:var(--fs-xs);color:var(--muted);flex:100%;margin:-4px 0 10px;display:block}.peach-react [data-item-detail] [data-title-state]:empty{display:none}.peach-react [data-item-detail] [data-item-rating]{align-items:center;gap:8px;margin:-6px 0 10px;display:flex}.peach-react [data-item-detail] [data-rating-stars]{margin-left:-4px}.peach-react [data-item-detail] [data-rating-value]{color:var(--muted);font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-spec-item]{align-items:center;gap:5px;display:inline-flex}.peach-react [data-item-detail] [data-spec-item] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.peach-react [data-item-detail] [data-open-region]{font:inherit;color:inherit;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-item-detail] [data-open-region]:hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-item-identity]{flex-direction:column;gap:14px;margin:0 0 18px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]{flex-wrap:wrap;align-items:flex-start;gap:14px 26px;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-identity-primary]>[data-id-group]{width:max-content;max-width:100%}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group]{--id-cell:62px;--id-face:46px;min-width:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer]{--id-cell:58px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-label]{font-size:var(--fs-xs);color:var(--muted);letter-spacing:.04em;margin:0 0 7px;font-weight:400}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-row]{flex-wrap:wrap;align-items:flex-start;gap:10px 12px;margin-inline-start:calc((var(--id-face,46px) - var(--id-cell,62px)) / 2);display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-group=performer] [data-id-row]{gap:10px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]{width:var(--id-cell,62px);color:inherit;cursor:default;background:0 0;border:0;flex-direction:column;align-items:center;gap:5px;padding:0;display:flex}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]){color:var(--tungsten);cursor:pointer;text-decoration:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][hidden]{display:none}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]{width:var(--id-face,46px);height:var(--id-face,46px);background:var(--sunk);color:var(--muted);font-size:var(--fs-md);border-radius:50%;place-items:center;display:grid;position:relative;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:var(--color-text-primary)}@supports (color:color-mix(in lab, red, red)){.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){background:color-mix(in srgb, var(--color-text-primary) 10%, var(--color-background-primary-default))}}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face]:not(:has(img)){color:var(--color-text-secondary)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell=studio] [data-id-face]{border-radius:var(--surface-radius);color:#555;background:#fff}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-face] svg{stroke:currentColor;fill:none;stroke-width:2px;width:18px;height:18px}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-name]{font-size:var(--fs-xs);text-align:center;text-overflow:ellipsis;white-space:nowrap;width:100%;color:var(--ink-2);line-height:1.5;overflow:hidden}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-face]{box-shadow:0 0 0 2px var(--ink-2)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell]:is([data-entity-kind],[data-open-unowned]):hover [data-id-name]{color:var(--ink)}.peach-react :is([data-item-detail],[data-follow-detail]) [data-id-cell][data-entity-kind]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-item-detail] [data-cast-more]{align-self:center;margin:0}.peach-react [data-item-detail] [data-series-rows]{gap:7px;display:grid}.peach-react [data-item-detail] [data-series-link]{width:100%;color:var(--ink-2);font-size:var(--fs-sm);text-align:left;white-space:normal;overflow-wrap:anywhere;cursor:default;background:0 0;border:0;align-items:flex-start;gap:7px;padding:0;line-height:1.4;text-decoration:none;display:flex}.peach-react [data-item-detail] [data-series-link] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;flex:none;margin-top:1px}.peach-react [data-item-detail] button[data-series-link]{cursor:pointer}.peach-react [data-item-detail] button[data-series-link]:hover{color:var(--tungsten)}.peach-react [data-item-detail] [data-item-trace]{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;padding:0;display:grid}.peach-react [data-item-detail] [data-trace-metric]{background:var(--surface);border-radius:12px;min-width:0;padding:14px 12px}.peach-react [data-item-detail] [data-trace-label]{color:var(--muted);font-variant-numeric:tabular-nums;justify-content:space-between;gap:8px;margin:0 0 12px;font-size:13px;line-height:18px;display:flex}.peach-react [data-item-detail] [data-trace-label]>span:last-child{color:var(--ink);font-variant-numeric:tabular-nums}.peach-react [data-item-detail] [data-trace-bar]{background:var(--line);border:0;border-radius:4px;height:4px;position:relative}.peach-react [data-item-detail] [data-trace-bar] u{background:var(--loupe);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] u{background:color-mix(in srgb, var(--loupe) 26%, transparent)}}.peach-react [data-item-detail] [data-trace-bar] u{text-decoration:none}.peach-react [data-item-detail] [data-trace-bar] b{background:var(--tungsten);border-radius:var(--pill-radius);width:2px;position:absolute;top:-3px;bottom:-3px;left:0}.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:var(--keep)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-trace-bar] [data-trace-real]{background:color-mix(in srgb, var(--keep) 40%, transparent)}}.peach-react [data-item-detail] [data-fb=like]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=like][aria-pressed=true]{color:var(--ink);background:var(--picked)}.peach-react [data-item-detail] [data-fb=playlist]:hover{color:var(--ink);background:var(--hover)}.peach-react [data-item-detail] [data-fb=reason]:is(:hover,[aria-expanded=true],[data-has-reason=true]){color:#ff669d;background:#ff669d1f}.peach-react [data-item-detail] [data-fb=dispose]{margin-left:auto}.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){color:var(--meter);background:var(--meter)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-detail] [data-fb=dispose]:is(:hover,[aria-pressed=true]){background:color-mix(in srgb, var(--meter) 12%, transparent)}}.peach-react [data-item-detail] [data-fb=quality]:is(:hover,[aria-pressed=true]){color:#b78cff;background:#b78cff21}.peach-react [data-item-detail] [data-item-preference]{background:0 0;border:0;margin:0 0 14px;padding:0}.peach-react [data-item-detail] [data-item-preference][hidden]{display:none}.peach-react [data-item-detail] [data-item-preference] textarea{resize:vertical;width:100%;min-height:62px;color:var(--ink);background:var(--ground);border:1px solid var(--line);border-radius:var(--control-radius);line-height:1.5;font-size:var(--fs-md);padding:8px 9px;transition:border-color .12s,box-shadow .12s;display:block}.peach-react [data-item-detail] [data-item-preference] textarea:hover{border-color:var(--field-ring-hover)}.peach-react [data-item-detail] [data-item-preference] textarea:focus{box-shadow:inset 0 0 0 2px var(--color-border-button-active);outline:0}.peach-react [data-item-detail] [data-preference-foot]{justify-content:flex-end;align-items:center;gap:8px;margin-top:7px;display:flex}.peach-react [data-item-detail] [data-preference-foot]>span{color:var(--muted);font-size:var(--fs-xs);margin-right:auto}.peach-react [data-item-detail] [data-preference-foot]>span:empty{display:none}.peach-react [data-item-detail] [data-save-preference]{min-width:58px;padding-inline:12px}.peach-react [data-item-detail] [data-kind=o]{border:1px solid var(--line);background:var(--surface);width:100%;min-height:40px;color:var(--ink);cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:8px;margin-bottom:10px;padding:8px 12px;font-size:14px;font-weight:500;line-height:20px;transition:background-color .14s;display:flex;box-shadow:inset 0 1px #ffffff0a}.peach-react [data-item-detail] [data-kind=o] svg{width:var(--icon-inline);height:var(--icon-inline);fill:currentColor;color:#ff669d}.peach-react [data-item-detail] [data-kind=o] b{background:var(--picked);border-radius:5px;padding:1px 6px;font-size:12px;font-weight:500;line-height:18px}.peach-react [data-item-detail] [data-kind=o]:hover{background:var(--hover)}.peach-react [data-item-related]{--hover:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-item-related]{--hover:color-mix(in srgb, var(--ink) 8%, var(--detail-surface))}}.peach-react [data-item-related]{border-top:1px solid var(--line-soft);background:var(--detail-surface);padding:10px 15px 8px}.peach-react [data-item-related]>h3{text-overflow:ellipsis;white-space:nowrap;line-height:20px;font-size:var(--fs-xs);letter-spacing:.1em;color:var(--muted);text-transform:uppercase;margin:0 0 6px;overflow:hidden}.peach-react [data-item-related] [data-related-row]{overscroll-behavior-inline:contain;min-height:calc(var(--detail-card-height) + 24px);height:calc(var(--detail-card-height) + 24px);scrollbar-width:none;gap:16px;margin:-4px -16px 0;padding:12px 16px;display:flex;overflow:auto hidden}.peach-react [data-item-related] [data-related-row]::-webkit-scrollbar{display:none}.peach-react [data-item-related] [data-related-state]{min-width:0;height:calc(var(--detail-card-height) + 20px)}.peach-react [data-jav-detail] [data-jav-art]{flex-direction:column;justify-content:center;align-items:center;min-width:0;min-height:260px;display:flex;position:relative}.peach-react [data-jav-picture]{object-fit:contain;width:100%;height:auto;min-height:0;max-height:calc(76vh - 112px);display:block}.peach-react img[data-source-picture][hidden]{display:none!important}.peach-react [data-jav-picture-wait]{place-items:center;width:100%;min-width:0;min-height:300px;padding:24px;display:grid}.peach-react [data-jav-picture-wait]>[data-empty-state]{max-width:32rem}.peach-react [data-jav-picture-wait] [class~=skeleton-sheen]{width:100%;min-height:260px}.peach-react [data-jav-info]{min-width:0}.peach-react [data-jav-info]>*{flex-shrink:0}.peach-react [data-jav-info] p{overflow-wrap:anywhere}.peach-react [data-jav-facts]{color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;gap:8px 16px;margin-bottom:18px;display:flex}.peach-react [data-jav-facts]:empty{display:none}.peach-react [data-jav-facts] span{overflow-wrap:anywhere}.peach-react [data-jav-detail] [data-jav-actions]{flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 18px;display:flex}.peach-react [data-jav-video]{width:100%;position:relative}.peach-react [data-jav-video]>[class~=video-js]{aspect-ratio:16/9;width:100%;height:auto;max-height:calc(76vh - 112px)}.peach-react [data-jav-video]>[role=note]{margin:16px}.peach-react [data-jav-preview-toggle]{box-sizing:border-box;z-index:5;border-radius:var(--pill-radius);color:#fff;height:40px;font-size:var(--fs-xs);white-space:nowrap;cursor:pointer;background:#0009;border:0;align-items:center;gap:6px;padding:0 12px;line-height:1;display:inline-flex;position:absolute;top:11px;left:11px}.peach-react [data-jav-preview-toggle]:hover{background:#000000c7}.peach-react [data-jav-preview-toggle] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-art][data-jav-playing]{flex-direction:column}.peach-react [data-jav-reviews],.peach-react [data-jav-resources]{flex-direction:column;gap:12px;margin-bottom:18px;display:flex}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary{min-height:var(--control-h);width:100%;font-size:var(--fs-md);gap:8px;font-weight:600}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}.peach-react :is([data-jav-reviews],[data-jav-resources]) summary .contents svg{stroke:currentColor;fill:none;stroke-width:2px}.peach-react [data-jav-review]{border-top:1px solid var(--line-soft);font-size:var(--fs-sm);padding-top:12px}.peach-react [data-jav-review-meta]{flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:6px;display:flex}.peach-react [data-jav-review] time{color:var(--muted)}.peach-react [data-item-detail] [data-review-rating]{margin:0}.peach-react [data-review-rating] [data-rating-stars]{margin-left:0}.peach-react [data-review-rating] [data-rating-icon],.peach-react [data-review-rating] [data-rating-stars] [data-rate],.peach-react [data-review-rating] [data-rating-stars] [data-rate] svg{width:16px;height:16px}.peach-react [data-review-rating] [data-rating-value]{display:none}@media (width>=761px){.peach-react [data-jav-detail]>[data-stage-side]{min-height:0}.peach-react [data-jav-detail] [data-stage-side-content]{max-height:none}}@media (width>=1081px){.peach-react [data-jav-detail]{grid-template-rows:minmax(0,1fr)}}.peach-react [data-jav-info]{overflow-anchor:none}.peach-react [data-jav-review] p:last-child,.peach-react [data-jav-summary]{white-space:pre-wrap}.peach-react [data-jav-failure]{min-height:260px;padding:48px 24px;position:relative}@media (width<=640px){.peach-react [data-jav-detail] [data-jav-art]{min-height:220px}}.peach-react [data-photo-lightbox]{z-index:200;font:var(--board-body);font-kerning:auto;font-variant-ligatures:normal;letter-spacing:0;--photo-card-drop:#00000029;--photo-thumb-drop:#0000001a;background:#000;display:block;position:fixed;inset:0;overflow:hidden}.dark .peach-react [data-photo-lightbox]{--photo-card-drop:#0009;--photo-thumb-drop:#00000080}.peach-react [data-photo-lightbox]:modal{color:#fff;border:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0}.peach-react [data-photo-lightbox] :focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-photo-main]{width:100%;min-width:0;height:100%;min-height:0;position:absolute;inset:0;overflow:hidden}.peach-react [data-photo-main]>.swiper-wrapper{width:100%;height:100%;display:flex}.peach-react [data-photo-main]>.swiper-wrapper>.swiper-slide{flex:0 0 100%;place-items:center;width:100%;min-width:0;height:100%;min-height:0;display:grid}.peach-react [data-photo-main] .swiper-zoom-container{box-sizing:border-box;place-items:center;width:100%;min-width:0;height:100%;min-height:0;padding:24px 72px 76px;display:grid}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:148px}.peach-react [data-photo-main] img{object-fit:contain;min-width:0;max-width:100%;min-height:0;max-height:100%;display:block}.peach-react :is([data-photo-close],[data-photo-nav]){box-sizing:border-box;color:#fff;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute}.peach-react [data-photo-close]:hover{background:#000000c7}.peach-react [data-photo-lightbox] :is([data-photo-close],[data-photo-nav]):focus-visible{outline-offset:3px}.peach-react :is([data-photo-close],[data-photo-nav]) svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}.peach-react [data-photo-close]{z-index:5;top:12px;right:14px}.peach-react [data-photo-nav]{z-index:4;border:1px solid var(--line);background:var(--surface);width:36px;height:36px;color:var(--ink-2);box-shadow:var(--elevation-xs);border-radius:10px;top:50%;transform:translateY(-50%)}.peach-react [data-photo-nav]:hover{background:var(--hover)}.peach-react [data-photo-nav] svg{width:20px;height:20px}.peach-react [data-photo-nav=back]{left:14px}.peach-react [data-photo-nav=fwd]{right:14px}.peach-react [data-photo-nav=fwd] svg{transform:rotate(180deg)}.peach-react [data-photo-nav].swiper-button-disabled{visibility:hidden;opacity:.4;pointer-events:none}.peach-react [data-photo-nav].swiper-button-lock{display:none}.peach-react [data-photo-missing]{aspect-ratio:4/3;border-radius:var(--surface-radius);color:#ffffff9e;width:min(480px,80vw);font-size:var(--fs-sm);background:#ffffff0f;place-items:center;display:grid}.peach-react [data-photo-bar]{z-index:4;pointer-events:none;grid-template-columns:1fr auto 1fr;align-items:center;min-height:48px;display:grid;position:absolute;bottom:14px;left:14px;right:14px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:98px}.peach-react [data-photo-bar]>*{pointer-events:auto}.peach-react [data-photo-count]{border-radius:var(--pill-radius);color:#ffffffd1;font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums;white-space:nowrap;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:center;padding:7px 11px}.peach-react [data-photo-pagination]{justify-content:center;align-items:center;gap:8px;max-width:160px;height:28px;margin-inline:auto;display:flex;overflow:hidden}.peach-react [data-photo-pagination] .swiper-pagination-bullet{opacity:1;background:#a3a3a3;border:0;border-radius:999px;flex:none;width:6px;height:6px;padding:0;transition:width .2s ease-out,background .2s ease-out;margin:0!important}.peach-react [data-photo-pagination] .swiper-pagination-bullet-active{background:#fafafa;width:16px}.peach-react [data-photo-detail-toggle]{color:#ffffffd1;cursor:pointer;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;justify-self:start;place-items:center;width:40px;height:40px;padding:0;display:grid}.peach-react [data-photo-detail-toggle]:is(:hover,[aria-expanded=true]){color:#fff;background:#000000c7}.peach-react [data-photo-detail-toggle] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px;display:block}.peach-react [data-photo-zoom]{border-radius:var(--pill-radius);color:#ffffffd1;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;justify-self:end;align-items:center;gap:7px;padding:4px;display:flex}.peach-react [data-photo-zoom] button{color:#fff;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}.peach-react [data-photo-zoom] button:hover{background:#ffffff38}.peach-react [data-photo-zoom] button svg{fill:none;stroke:currentColor;stroke-width:2px;width:15px;height:15px;display:block}.peach-react [data-photo-zoom] [data-photo-scale]{width:30px}.peach-react [data-photo-zoom] [data-photo-scale=original]{border-radius:var(--control-radius);width:38px}.peach-react [data-photo-zoom] :is([data-photo-scale=original],[data-photo-zoom-readout]){font-family:Cascadia Mono,Consolas,ui-monospace,Microsoft YaHei UI,PingFang SC,monospace;font-size:var(--fs-xs);font-variant-numeric:tabular-nums}.peach-react [data-photo-zoom-readout]{text-align:right;width:38px;font-weight:400}.peach-react [data-photo-zoom] input{cursor:pointer;appearance:none;background:0 0;width:116px;height:20px;margin:2px}.peach-react [data-photo-zoom] input::-webkit-slider-runnable-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px;box-shadow:inset 0 1px 1px #0000000f}.peach-react [data-photo-zoom] input::-moz-range-track{background:linear-gradient(90deg, var(--color-accent-400) var(--board-range-value,0%), var(--inset) 0);border-radius:999px;height:6px}.peach-react [data-photo-zoom] input::-webkit-slider-thumb{border:1px solid var(--line);width:20px;height:20px;box-shadow:0 2px 4px var(--photo-thumb-drop), inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press), box-shadow .15s;appearance:none;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%;margin-top:-7px}.peach-react [data-photo-zoom] input::-moz-range-thumb{border:1px solid var(--line);width:18px;height:18px;box-shadow:0 2px 4px var(--photo-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}.peach-react [data-photo-zoom] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px #ffffff38}.peach-react [data-photo-zoom] input:active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}.peach-react [data-photo-lightbox] [data-photo-zoom] input:focus-visible{outline:none}.peach-react [data-photo-zoom] input:focus-visible::-webkit-slider-thumb{outline-offset:2px;outline:2px solid #fff}.peach-react [data-photo-detail]{box-sizing:border-box;z-index:var(--layer-popover);overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:320px;max-width:calc(100vw - 16px);color:var(--ink);box-shadow:0 8px 24px var(--photo-card-drop);font-size:var(--fs-md);overflow-wrap:anywhere;pointer-events:auto;align-items:start;gap:14px;margin:0;padding:16px;line-height:1.5;display:grid;position:fixed;inset:auto;overflow:auto}.peach-react [data-photo-detail][hidden]{display:none}.peach-react [data-photo-detail-copy]{gap:4px;min-width:0;display:grid}.peach-react [data-photo-detail-copy] h2{font-size:var(--fs-sm);white-space:nowrap;margin:0;font-weight:700;overflow:hidden}.peach-react :is([data-photo-detail-meta],[data-photo-status]){color:var(--muted);font-size:var(--fs-xs)}.peach-react [data-photo-status]{flex:100%;min-width:0}.peach-react [data-photo-status]:empty{display:none}.peach-react [data-photo-reveal]{border:1px solid var(--line);border-radius:var(--control-radius);height:32px;color:var(--ink);cursor:pointer;background:0 0;justify-self:start;align-items:center;gap:7px;padding:0 10px;display:flex}.peach-react [data-photo-reveal]:hover{background:#ffffff1f}.peach-react [data-photo-reveal][hidden]{display:none}.peach-react [data-photo-reveal] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;display:block}.peach-react [data-photo-strip]{z-index:3;width:auto;height:72px;padding:0;position:absolute;bottom:14px;left:72px;right:72px}.peach-react [data-photo-lightbox]:not([data-has-strip]) [data-photo-strip]{display:none}.peach-react [data-photo-strip] .swiper-slide{border-radius:var(--control-radius);opacity:.5;cursor:pointer;width:auto;height:72px;overflow:hidden}.peach-react [data-photo-strip] .swiper-slide img{object-fit:cover;width:auto;max-width:none;height:100%;display:block}.peach-react [data-photo-strip] .swiper-slide-thumb-active{opacity:1;box-shadow:inset 0 0 0 2px #fff}@media (width<=640px){.peach-react [data-photo-zoom] input{width:72px}.peach-react [data-photo-zoom-readout]{display:none}.peach-react [data-photo-main] .swiper-zoom-container{padding:12px 12px 70px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-main] .swiper-zoom-container{padding-bottom:136px}.peach-react [data-photo-bar]{min-height:44px;bottom:10px;left:12px;right:12px}.peach-react [data-photo-lightbox][data-has-strip] [data-photo-bar]{bottom:80px}.peach-react [data-photo-reveal]{min-height:44px}.peach-react [data-photo-strip]{bottom:12px;left:56px;right:56px}.peach-react [data-photo-strip],.peach-react [data-photo-strip] .swiper-slide{height:56px}.peach-react [data-photo-close]{top:10px;right:10px}.peach-react [data-photo-nav=back]{left:8px}.peach-react [data-photo-nav=fwd]{right:8px}}@media (width<=400px){.peach-react [data-photo-zoom] input{display:none}}@media (prefers-reduced-motion:reduce){.peach-react [data-photo-pagination] .swiper-pagination-bullet{transition:none}}.peach-react [data-index-grid] [data-index-cell]{background:var(--ground)}.peach-react [data-index-grid] [data-index-cell]:hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-index-grid] [data-index-cell]:hover{background:color-mix(in srgb, var(--ink) 6%, var(--ground))}}.peach-react [data-index-grid] [data-person-ring]{background:var(--sunk);color:var(--muted);font-family:Bahnschrift,Microsoft YaHei UI,Microsoft YaHei,PingFang SC,sans-serif}.peach-react [data-index-grid] [data-person-ring][data-native-clamp=true] img{object-fit:cover}.peach-react [data-index-grid] [data-index-readout]{color:var(--muted)}.peach-react .index-feed-mark>span{color:var(--feed-mark);background:var(--feed-mark)}@supports (color:color-mix(in lab, red, red)){.peach-react .index-feed-mark>span{background:color-mix(in srgb,var(--feed-mark) 16%,var(--ground))}}.video-js{box-sizing:border-box;color:#fff;background:#000;font-family:inherit;font-size:10px;line-height:1;display:block;position:relative}.video-js>video-player{display:contents}.video-js>video-player>media-container{width:100%;height:100%;display:block;position:absolute;inset:0}.video-js :is(hlsjs-video,dash-video){display:contents}.video-js .vjs-tech{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}.video-js .vjs-control-bar{z-index:2;width:100%;height:3em;display:flex;position:absolute;bottom:0;left:0}.video-js .vjs-picture-in-picture-control[data-peach-pip-supported][hidden]{display:block!important}.video-js .vjs-picture-in-picture-control[aria-disabled=true]{color:#ffffff73;cursor:not-allowed}.video-js .vjs-control{box-sizing:border-box;width:4em;height:3em;color:inherit;flex:none;position:relative}.video-js .vjs-button{cursor:pointer;color:inherit;font:inherit;outline-offset:2px;touch-action:manipulation;-webkit-user-select:none;user-select:none;background:0 0;border:0;padding:0;display:block}.video-js .vjs-button:focus-visible,.video-js media-slider-thumb:focus-visible{outline:2px solid var(--tungsten)}.video-js .vjs-slider{cursor:pointer;touch-action:none;display:block;position:relative}.video-js media-slider-track{display:block;position:absolute;inset:0}.video-js .vjs-play-progress,.video-js .vjs-load-progress,.video-js .vjs-volume-level{height:100%;display:block;position:absolute;top:0;left:0}.video-js .vjs-play-progress,.video-js .vjs-volume-level{width:var(--media-slider-fill,0%);background:#fff}.video-js .vjs-load-progress{width:var(--media-slider-buffer,0%);background:#ffffff59}.video-js media-slider-thumb{left:var(--media-slider-fill,0%);z-index:2;background:#fff;border-radius:50%;width:12px;height:12px;display:block;position:absolute;top:50%;transform:translate(-50%,-50%)}.video-js .vjs-loading-spinner{display:none;position:absolute}.video-js.vjs-waiting:not(.vjs-paused) .vjs-loading-spinner{display:block}.video-js .vjs-error-display{pointer-events:none;display:none;position:absolute;inset:0}.video-js.vjs-error .vjs-error-display{justify-content:center;align-items:center;display:flex}.video-js.vjs-user-inactive.vjs-playing .vjs-control-bar{opacity:0;pointer-events:none}.video-js.vjs-fullscreen{width:100%!important;height:100%!important;max-height:none!important;position:fixed!important;inset:0!important}.video-js media-container:fullscreen{background:#000;width:100vw;height:100vh}.video-js .vjs-modal-dialog-content{position:absolute}.video-js media-slider-value{visibility:hidden;position:absolute}.video-js .vjs-volume-panel:hover media-slider-value,.video-js .vjs-volume-panel:focus-within media-slider-value{visibility:visible}video.video-js{vertical-align:top;font-family:Arial,Helvetica,sans-serif;font-size:10px;line-height:1}[data-stage-media]{isolation:isolate;background:#000;justify-content:center;align-items:center;display:flex;position:relative}[data-ambient-canvas]{z-index:0;filter:blur(46px)saturate(1.45);opacity:.42;pointer-events:none;width:calc(100% + 68px);height:calc(100% + 68px);position:absolute;inset:-34px;transform:scale(1.06);-webkit-mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%);mask-image:radial-gradient(#000 28%,#000000b8 55%,#0000 86%)}[data-stage]:not([data-ambient]) [data-ambient-canvas]{display:none}[data-stage-media]>video,[data-stage-media]>.video-js{z-index:1;position:relative}[data-stage-media] video{width:100%;max-height:76vh;display:block}[data-stage-media]>video[hidden]{display:none}[data-stage-media]>.video-js{aspect-ratio:16/9;background:#000;width:100%;height:auto;max-height:76vh}[data-stage-media] .video-js .vjs-tech{object-fit:contain;max-height:none}[data-stage-media] .video-js .vjs-big-play-button{display:none}[data-stage-media] .video-js:not(:has(.vjs-peach-bezel)) .vjs-control-bar{visibility:hidden}[data-stage-media] .video-js .vjs-loading-spinner{z-index:18;opacity:1;background:0 0;border:0;border-radius:0;width:64px;height:64px;margin:0;padding:0;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] .video-js .vjs-loading-spinner:before,[data-stage-media] .video-js .vjs-loading-spinner:after{content:none}.vjs-peach-spinner-container{pointer-events:none;width:100%;height:100%;animation:1.56824s linear infinite peach-spinner-linspin;position:absolute;top:0;left:0}.vjs-peach-spinner-rotator{width:100%;height:100%;animation:5.332s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-easespin;position:absolute}.vjs-peach-spinner-left,.vjs-peach-spinner-right{position:absolute;inset:0;overflow:hidden}.vjs-peach-spinner-left{right:49%}.vjs-peach-spinner-right{left:49%}.vjs-peach-spinner-circle{box-sizing:border-box;border:6px solid #ddd;border-bottom-color:#0000;border-radius:50%;width:200%;height:100%;position:absolute}.vjs-peach-spinner-left .vjs-peach-spinner-circle{border-right-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-left-spin;left:0;right:-100%}.vjs-peach-spinner-right .vjs-peach-spinner-circle{border-left-color:#0000;animation:1.333s cubic-bezier(.4,0,.2,1) infinite both peach-spinner-right-spin;left:-100%;right:0}@keyframes peach-spinner-linspin{to{transform:rotate(1turn)}}@keyframes peach-spinner-easespin{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}to{transform:rotate(3turn)}}@keyframes peach-spinner-left-spin{0%{transform:rotate(130deg)}50%{transform:rotate(-5deg)}to{transform:rotate(130deg)}}@keyframes peach-spinner-right-spin{0%{transform:rotate(-130deg)}50%{transform:rotate(5deg)}to{transform:rotate(-130deg)}}[data-stage-media] .video-js{font-family:inherit}[data-stage-media] .video-js .vjs-control-bar{box-sizing:border-box;-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;border-radius:0;align-items:flex-end;width:auto;height:59px;padding:3px 0 0;display:flex;bottom:8px;left:12px;right:12px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control{width:40px;height:40px;box-shadow:none;background:#0009;border:0;border-radius:50%;flex:0 0 40px;align-self:flex-end;margin:0 0 8px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control .vjs-icon-placeholder:before,[data-stage-media] .video-js .vjs-peach-right-controls .vjs-icon-placeholder:before{filter:drop-shadow(0 0 1px #000c);place-items:center;width:100%;height:100%;line-height:normal;display:grid}[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:before,[data-stage-media] .video-js [data-peach-explicit-icon]>.vjs-icon-placeholder:after{display:none}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control[data-peach-explicit-icon]>.vjs-icon-placeholder{display:none!important}.vjs-peach-control-icon{z-index:2;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);pointer-events:none;width:24px;height:24px;transition:transform .1s cubic-bezier(.05,0,0,1);display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)scale(1)}[data-stage-media] .video-js [data-peach-explicit-icon]:active>.vjs-peach-control-icon{transform:translate(-50%,-50%)scale(.9)}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-control-icon{width:26px;height:26px}.vjs-peach-morph-icon path{transition:d .2s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon .vjs-peach-volume-arc-inner,.vjs-peach-morph-icon .vjs-peach-volume-arc-outer{transform-box:view-box;transform-origin:0 0;transition:transform .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-inner{transform:translate(18px,12px)scale(0)translate(-18px,-12px)}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-arc-outer,.vjs-peach-morph-icon[data-loud=false] .vjs-peach-volume-arc-outer{transform:translate(22px,12px)scale(0)translate(-22px,-12px)}.vjs-peach-morph-icon .vjs-peach-volume-speaker{opacity:1;transition:opacity linear}.vjs-peach-morph-icon .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon .vjs-peach-volume-x{opacity:0;transition:opacity linear}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker{opacity:0;transition:opacity 0s linear .25s}.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-speaker-muted,.vjs-peach-morph-icon[data-silent=true] .vjs-peach-volume-x{opacity:1;transition:opacity 0s linear .25s}.vjs-peach-hover{z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;width:100%;height:32px;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;top:4px;left:0}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control>.vjs-peach-hover{border-radius:50%;width:auto;height:auto;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:hover>.vjs-peach-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:focus-visible>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:hover>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:focus-within>.vjs-peach-hover{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control:active>.vjs-peach-hover,.vjs-peach-right-controls>.vjs-control:active>.vjs-peach-hover{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-play-control .vjs-icon-placeholder,[data-stage-media] .video-js .vjs-peach-right-controls button,.vjs-peach-settings>button,.vjs-peach-theater>button{z-index:1;position:relative}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel{box-sizing:border-box;z-index:3;border-radius:var(--pill-radius);width:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);isolation:isolate;background:#0009;border:0;flex:0 0 40px;grid-template-columns:40px 0;align-self:flex-end;align-items:center;column-gap:0;margin:0 0 8px 12px;padding:0;transition:width .2s cubic-bezier(.05,0,0,1),flex-basis .2s cubic-bezier(.05,0,0,1),padding-right .2s cubic-bezier(.05,0,0,1);display:grid;position:relative;overflow:visible;height:40px!important}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:after{content:"";z-index:0;border-radius:var(--pill-radius);pointer-events:none;background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover:after,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:active:after{background:#fff3}[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel:focus-within,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-hover,[data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel.vjs-slider-active{background:#0009;flex-basis:111px;grid-template-columns:40px 52px;column-gap:3px;width:111px;padding-right:16px}[data-stage][data-theater] [data-stage-media] .video-js .vjs-control-bar>.vjs-volume-panel,.video-js.vjs-fullscreen .vjs-control-bar>.vjs-volume-panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control{box-sizing:border-box;z-index:1;background:0 0;border:0;flex:0 0 40px;align-self:center;min-width:40px;width:40px!important;height:40px!important;margin:0!important;padding:0!important;position:relative!important;top:0!important;left:0!important;transform:none!important}[data-stage-media] .video-js .vjs-volume-panel>.vjs-mute-control>.vjs-peach-control-icon{width:18px;height:18px}[data-stage-media] .video-js .vjs-volume-panel>.vjs-volume-control.vjs-volume-horizontal{box-sizing:border-box;z-index:1;opacity:0;visibility:hidden;pointer-events:none;flex:0 0 52px;align-self:center;min-width:52px;min-height:36px;transition:opacity .1s cubic-bezier(0,0,.2,1);overflow:visible;width:52px!important;height:40px!important;margin:0!important;padding:0!important;display:block!important;position:relative!important;top:0!important;left:0!important}[data-stage-media] .video-js .vjs-volume-panel:hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel:focus-within>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-hover>.vjs-volume-control.vjs-volume-horizontal,[data-stage-media] .video-js .vjs-volume-panel.vjs-slider-active>.vjs-volume-control.vjs-volume-horizontal{opacity:1;visibility:visible;pointer-events:auto;transition-delay:80ms}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal{box-sizing:border-box;background:0 0;transform:none;width:52px!important;height:40px!important;margin:0!important;position:absolute!important;top:0!important;left:0!important;right:auto!important;overflow:visible!important}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-bar.vjs-slider-horizontal:before{content:"";background:#ffffff4d;height:2px;margin-top:-1px;position:absolute;top:50%;left:0;right:0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level{background:#fff;height:2px;margin-top:-1px;top:50%;bottom:auto}[data-stage-media] .video-js .vjs-volume-panel .vjs-mouse-display{background:0 0}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-level:before{background:#fff;border-radius:50%;width:12px;height:12px;margin:0;font-size:0;top:50%;right:-6px;transform:translateY(-50%)}[data-stage-media] .video-js .vjs-volume-panel .vjs-volume-tooltip{float:none;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;font-family:inherit;font-size:var(--fs-sm);text-shadow:0 0 2px #000;white-space:nowrap;background:#0009;padding:5px 9px;font-weight:500;line-height:15px;top:auto;bottom:calc(50% + 31px);left:50%;overflow:visible;transform:translate(-50%);z-index:5!important;right:auto!important}.vjs-peach-right-controls{box-sizing:border-box;border-radius:var(--pill-radius);height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;flex:none;align-self:flex-end;align-items:center;margin:0 0 8px auto;padding:0 4px;display:flex;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control{box-sizing:border-box;min-width:48px;box-shadow:none;color:#fff;background:0 0;border:0;border-radius:0;flex:0 0 48px;margin:0;padding:0;position:relative;width:48px!important;height:40px!important}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button{width:100%;height:100%;color:inherit;background:0 0;border:0;margin:0;padding:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control:focus-visible,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus,[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-control>button:focus-visible{box-shadow:none;outline:0}[data-stage-media] .video-js .vjs-peach-right-controls>.vjs-button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-stage-media] .video-js .vjs-progress-control{z-index:2;align-items:flex-end;width:auto;min-width:0;height:18px;display:flex;position:absolute;top:-12px;left:0;right:0}[data-stage-media] .video-js .vjs-progress-control .vjs-progress-holder{background:0 0;border-radius:0;width:100%;height:18px;margin:0}[data-stage-media] .video-js .vjs-progress-holder>media-slider-track{background:#28282899;height:6px;transition:transform .2s cubic-bezier(.05,0,0,1);top:auto;bottom:0;transform:scaleY(.667)}[data-stage-media] .video-js .vjs-progress-control:hover media-slider-track,[data-stage-media] .video-js .vjs-progress-control:focus-within media-slider-track{transform:scaleY(1)}[data-stage-media] .video-js .vjs-load-progress{background:#fff6}[data-stage-media] .video-js .vjs-load-progress div{background:#fff3}[data-stage-media] .video-js .vjs-play-progress{background:var(--tungsten)}[data-stage-media] .video-js .vjs-progress-thumb{background:var(--tungsten);transition:transform .2s cubic-bezier(.05,0,0,1);top:auto;bottom:-3px;transform:translate(-50%)}[data-stage-media] .video-js .vjs-progress-control:hover .vjs-progress-thumb,[data-stage-media] .video-js .vjs-progress-control:focus-within .vjs-progress-thumb{transform:translate(-50%)scale(1.67)}[data-stage-media] .video-js .vjs-mouse-display .vjs-time-tooltip,[data-stage-media] .video-js .vjs-play-progress .vjs-time-tooltip{display:none!important}.vjs-peach-seek-preview{z-index:4;pointer-events:none;color:#fff;flex-direction:column;align-items:center;display:flex;position:absolute;bottom:calc(100% - 2px);transform:translate(-50%)}.vjs-peach-seek-preview[hidden]{display:none}.vjs-peach-seek-frame{--seek-max-w:240px;--seek-max-h:180px;width:min(var(--seek-max-w),calc(var(--seek-max-h) * var(--seek-aspect,1.7778)));aspect-ratio:var(--seek-aspect,16/9);border-radius:var(--floating-radius);background:#000;border:2px solid #fff;display:block;position:relative;overflow:hidden;box-shadow:0 8px 24px #0009}.vjs-peach-seek-frame[hidden]{display:none}.vjs-peach-seek-preview img{object-fit:cover;width:100%;max-width:none;height:100%;max-height:none;display:block;position:absolute;top:0;left:0}.vjs-peach-seek-preview span{border-radius:var(--pill-radius);min-width:58px;font-size:var(--fs-sm);text-align:center;background:#000000ad;margin-top:8px;padding:6px 10px;font-weight:600;line-height:1;box-shadow:0 2px 8px #0006}[data-stage-media] .video-js .vjs-custom-control-spacer{flex:auto;display:block}[data-stage-media] .video-js .vjs-time-control{display:none!important}[data-stage-media] .video-js .vjs-peach-time{box-sizing:border-box;border-radius:var(--pill-radius);color:#fff;cursor:pointer;isolation:isolate;width:auto;height:40px;font-weight:400;font-size:var(--fs-md);font-variant-numeric:tabular-nums;white-space:nowrap;text-shadow:0 0 1px #000c;background:#0009;border:0;flex:none;align-self:flex-end;margin:0 0 8px 12px;padding:0 16px;font-family:inherit;line-height:40px;position:relative;overflow:visible}[data-stage-media] .video-js .vjs-peach-time:after{content:"";z-index:0;border-radius:var(--pill-radius);background:0 0;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-stage-media] .video-js .vjs-peach-time:hover:after,[data-stage-media] .video-js .vjs-peach-time:focus-visible:after{background:#ffffff1a}[data-stage-media] .video-js .vjs-peach-time:active:after{background:#fff3}[data-stage-media] .video-js .vjs-peach-time:focus-visible{outline:0}.vjs-peach-time-text{z-index:1;position:relative}.vjs-peach-settings,.vjs-peach-theater,.vjs-peach-expand{flex:0 0 48px;min-width:48px;position:relative;width:48px!important}.vjs-peach-settings>button,.vjs-peach-theater>button,.vjs-peach-expand>button{width:100%;height:100%;color:inherit;cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}.vjs-peach-expand>button>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings>button>svg,.vjs-peach-theater>button>svg,.vjs-peach-caption-options>svg{stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px}.vjs-peach-settings [data-player-quality-badge]{z-index:2;border-radius:var(--badge-radius);background:var(--tungsten);min-width:17px;height:12px;color:var(--ground);font-size:var(--fs-xs);transform-origin:100% 0;place-items:center;padding:0 2px;font-weight:600;line-height:1;display:grid;position:absolute;top:1px;right:4px;transform:scale(.67)}.vjs-peach-settings [data-player-quality-badge][hidden]{display:none}.vjs-peach-settings-menu{box-sizing:border-box;z-index:2300;width:min(274px,100vw - 28px);max-height:min(420px,calc(var(--peach-player-h,480px) - 74px),calc(100vh - 130px));border-radius:var(--floating-radius);box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;text-shadow:0 0 1px #000c;font-weight:400;font-size:var(--fs-md);opacity:1;visibility:visible;background:#0009;border:0;padding:0;font-family:inherit;line-height:1.3;transition:opacity .1s cubic-bezier(0,0,.2,1);position:absolute;bottom:52px;right:-100px;overflow:auto}.vjs-peach-settings-menu[aria-hidden=true]{opacity:0;visibility:hidden;pointer-events:none;transition:opacity .1s cubic-bezier(.4,0,1,1),visibility 0s .1s}.vjs-peach-settings-menu.vjs-peach-popup-animating{pointer-events:none;transition:height .25s cubic-bezier(.4,0,.2,1);overflow:hidden}.vjs-peach-panel{position:relative}.vjs-peach-popup-animating .vjs-peach-panel{transition:transform .25s cubic-bezier(.4,0,.2,1),opacity .25s cubic-bezier(.4,0,.2,1)}.vjs-peach-panel-leaving{width:100%;position:absolute;top:0;left:0}.vjs-peach-panel-animate-back{opacity:0;transform:translate(-100%)}.vjs-peach-panel-animate-forward{opacity:0;transform:translate(100%)}.vjs-peach-settings-menu button{box-sizing:border-box;isolation:isolate;border-radius:var(--control-radius);color:#fff;width:100%;min-height:48px;font:inherit;cursor:pointer;background:0 0;border:0;padding:0;position:relative;overflow:hidden}.vjs-peach-settings-menu button:before{content:"";z-index:0;border-radius:inherit;pointer-events:none;background:0 0;transition:background .1s cubic-bezier(.05,0,0,1);position:absolute;inset:0}.vjs-peach-settings-menu button:hover:before,.vjs-peach-settings-menu button:focus-visible:before{background:#ffffff1a}.vjs-peach-settings-menu button:active:before{background:#fff3}.vjs-peach-settings-menu button:focus-visible{outline:0}.vjs-peach-settings-menu button>*{z-index:1;position:relative}.video-js .vjs-peach-menu-row{text-align:left;grid-template-columns:56px minmax(0,1fr) minmax(0,max-content) 32px;align-items:center;gap:0;display:grid;padding:0!important}.vjs-peach-menu-row>svg{fill:currentColor;stroke:none;justify-self:start;width:24px;height:24px;margin-left:8px}.vjs-peach-menu-row>span{font-size:var(--fs-md);line-height:18.2px}.vjs-peach-menu-row>b{font-size:var(--fs-md);color:#ffffffb3;white-space:nowrap;padding-left:8px;font-weight:400;line-height:18.2px}.vjs-peach-menu-row>svg:last-child{color:#ffffffb3;fill:currentColor;stroke:none;justify-self:center;width:18px;height:18px;margin:0}.vjs-peach-menu-row>svg.vjs-peach-menu-line-icon{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.vjs-peach-menu-row[data-player-ambient]{grid-template-columns:56px minmax(0,1fr) auto;padding-right:8px!important}.vjs-peach-switch{box-sizing:border-box;border-radius:var(--floating-radius);background:#0000004d;width:40px;height:24px;display:block;position:relative}.vjs-peach-switch:after{content:"";width:20px;height:20px;box-shadow:none;background:#ffffffb3;border-radius:50%;transition:transform .2s cubic-bezier(.05,0,0,1),background .2s cubic-bezier(.05,0,0,1);position:absolute;top:2px;left:2px}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch{background:#ffffff4d}.vjs-peach-menu-row[aria-checked=true] .vjs-peach-switch:after{background:#fff;transform:translate(16px)}.vjs-peach-panel-header{box-sizing:border-box;color:#eee;white-space:nowrap;border-bottom:1px solid #fff3;align-items:center;gap:0;height:57px;padding:8px 0;display:flex}.vjs-peach-panel-header .vjs-peach-menu-back{color:#eee;flex:0 0 48px;place-items:center;width:48px;min-height:48px;display:grid;border:0!important;border-radius:50%!important;height:48px!important}.vjs-peach-settings-menu .vjs-peach-panel-header .vjs-peach-menu-back:before{inset:4px}.vjs-peach-panel-header .vjs-peach-menu-back svg{fill:currentColor;stroke:none;width:32px;height:32px;display:block}.vjs-peach-panel-header strong{font-size:var(--fs-md);color:#eee;font-weight:500;line-height:18.2px}.vjs-peach-panel-menu{padding:8px}.video-js .vjs-peach-menu-option{text-align:left;grid-template-columns:40px minmax(0,1fr);align-items:center;line-height:18.2px;display:grid;font-size:var(--fs-md)!important;padding:0 20px 0 8px!important}.vjs-peach-option-check{place-items:center;width:40px;height:24px;display:grid}.vjs-peach-option-check svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:24px;height:24px;display:block}.vjs-peach-option-label{min-width:0}.vjs-peach-speed-panel{box-sizing:border-box;flex-direction:column;padding:24px 16px 16px;display:flex}.vjs-peach-speed-display{font-size:var(--fs-lg);color:#fff;justify-content:center;margin-bottom:24px;font-weight:600;line-height:22px;display:flex}.vjs-peach-speed-slider{align-items:center;gap:16px;margin-bottom:24px;display:flex}.vjs-peach-speed-chips{align-items:flex-start;gap:8px;display:flex}.vjs-peach-speed-preset{flex-direction:column;flex:0 53px;align-items:center;min-width:0;display:flex}.vjs-peach-speed-preset-label{font-size:var(--fs-xs);color:#ffffffb3;margin-top:4px;font-weight:400;line-height:14px}.vjs-peach-settings-menu .vjs-peach-speed-button{border-radius:var(--pill-radius);color:#fff;text-align:center;cursor:pointer;background:#ffffff1a;border:0;justify-content:center;align-items:center;height:32px;min-height:32px;padding:0;font-weight:500;line-height:16px;transition:background .2s cubic-bezier(.05,0,0,1);display:flex}.vjs-peach-settings-menu .vjs-peach-speed-button:before{content:none}.vjs-peach-settings-menu .vjs-peach-speed-button:hover{background:#fff3}.vjs-peach-settings-menu .vjs-peach-speed-button:active{background:#ffffff4d}.vjs-peach-speed-slider .vjs-peach-speed-button{flex:none;width:32px}.vjs-peach-speed-slider .vjs-peach-speed-button>svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;width:24px;height:24px;display:block}.vjs-peach-speed-chips .vjs-peach-speed-button{width:100%;font-size:var(--fs-xs);gap:4px}.vjs-peach-speed-range{--peach-speed-percent:0%;appearance:none;cursor:pointer;background:0 0;flex:auto;width:100%;min-width:0;height:24px;margin:0}.vjs-peach-speed-range:focus-visible{outline:0}.vjs-peach-speed-range::-webkit-slider-runnable-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-webkit-slider-thumb{appearance:none;background:#fff;border-radius:50%;width:16px;height:16px;margin-top:-6px}.vjs-peach-speed-range::-moz-range-track{border-radius:var(--pill-radius);background:linear-gradient(to right,#fff 0,#fff var(--peach-speed-percent),#909090 var(--peach-speed-percent),#909090 100%);height:4px}.vjs-peach-speed-range::-moz-range-thumb{background:#fff;border:0;border-radius:50%;width:16px;height:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-panel{padding:16px}.video-js.vjs-peach-xsmall .vjs-peach-speed-display,.video-js.vjs-peach-xsmall .vjs-peach-speed-slider{margin-bottom:16px}.vjs-peach-bezel{z-index:19;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;opacity:0;pointer-events:none;background:#0009;border-radius:50%;place-items:center;width:78px;height:78px;margin:-39px 0 0 -39px;display:grid;position:absolute;top:50%;left:50%}.vjs-peach-bezel[hidden]{display:none}.vjs-peach-bezel-icon{place-items:center;width:54px;height:54px;display:grid}.vjs-peach-bezel-icon svg{fill:currentColor;stroke:none;width:100%;height:100%;display:block}.vjs-peach-bezel-run{animation:1s cubic-bezier(.05,0,0,1) forwards peach-bezel-fadeout}@keyframes peach-bezel-fadeout{0%{opacity:0}25%,75%{opacity:1;transform:scale(1.33)}to{opacity:0;transform:scale(1)}}.video-js.vjs-peach-xsmall .vjs-peach-bezel{width:64px;height:64px;margin:-32px 0 0 -32px}.video-js.vjs-peach-xsmall .vjs-peach-bezel-icon{width:48px;height:48px}.video-js.vjs-waiting .vjs-peach-bezel,.video-js.vjs-seeking .vjs-peach-bezel,.video-js.vjs-error .vjs-peach-bezel{display:none}.vjs-peach-tooltip{z-index:5;border-radius:var(--surface-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#fff;white-space:nowrap;font-size:var(--fs-sm);text-shadow:0 0 2px #000;pointer-events:none;background:#0009;align-items:center;padding:5px 9px;font-weight:500;line-height:15px;display:none;position:absolute;bottom:calc(100% + 12px);right:50%;transform:translate(50%)}.vjs-peach-tooltip,.vjs-volume-tooltip{--surface-radius:8px;--badge-radius:4px}.vjs-peach-tooltip kbd{border-radius:var(--badge-radius);color:#fff;min-width:11px;font:inherit;border:1px solid #ffffff4d;justify-content:center;align-items:center;margin-left:4px;padding:0 2px;display:flex}.vjs-peach-tooltip kbd[hidden]{display:none}[data-stage-media] .video-js .vjs-control-bar button:hover>.vjs-peach-tooltip,[data-stage-media] .video-js .vjs-control-bar button:focus-visible>.vjs-peach-tooltip{display:flex}.vjs-peach-theater>button[aria-pressed=true]{color:#fff}@media (width<=640px){[data-stage-media] .video-js .vjs-control-bar{height:59px;padding:3px 0 0;bottom:6px;left:8px;right:8px}[data-stage-media] .video-js .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-tiny .vjs-progress-control,[data-stage-media] .video-js.vjs-layout-x-small .vjs-progress-control{height:18px;display:flex;top:-12px;left:0;right:0}[data-stage-media] .video-js.vjs-layout-small .vjs-current-time,[data-stage-media] .video-js.vjs-layout-small .vjs-duration,[data-stage-media] .video-js.vjs-layout-small .vjs-time-divider{display:flex}[data-stage-media] .video-js .vjs-time-control{font-size:var(--fs-xs)}.vjs-peach-seek-frame{--seek-max-w:160px;--seek-max-h:120px}.vjs-peach-settings-menu{border-radius:var(--floating-radius);width:min(274px,100vw - 16px);right:-100px}}.vjs-peach-expand{display:none}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control{flex:0 0 36px;min-width:36px;width:36px!important}.video-js.vjs-peach-xsmall .vjs-peach-right-controls .vjs-peach-control-icon,.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-expand)>button>svg{width:18px;height:18px}.video-js.vjs-peach-xsmall .vjs-peach-expand>button>svg{width:32px;height:32px}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control>.vjs-peach-hover{border-radius:50%;width:32px;height:32px;left:2px}.video-js.vjs-peach-xsmall .vjs-peach-settings-menu{width:min(274px,100vw - 48px);max-height:calc(var(--peach-player-h,420px) - 74px);right:0}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu{padding:4px 8px}.video-js.vjs-peach-xsmall .vjs-peach-menu-option{min-height:44px}.video-js.vjs-peach-xsmall .vjs-peach-panel-menu:has(>.vjs-peach-menu-option:nth-child(5)){grid-template-columns:1fr 1fr;display:grid}.video-js.vjs-peach-xsmall .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:none}.video-js.vjs-peach-xsmall .vjs-peach-expand,.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-right-controls>.vjs-control:not(.vjs-peach-settings):not(.vjs-peach-expand){display:block}.video-js.vjs-peach-xsmall.vjs-peach-right-expanded .vjs-peach-time{display:none}.vjs-peach-expand>button>svg{transition:transform .3s cubic-bezier(.05,0,0,1);transform:rotate(180deg)}.video-js.vjs-peach-right-expanded .vjs-peach-expand>button>svg{transform:rotate(0)}[data-stage-media] .video-js.vjs-error .vjs-error-display{background:0 0}[data-stage-media] .video-js.vjs-error .vjs-error-display .vjs-modal-dialog-content{z-index:9;border-radius:var(--surface-radius);text-align:center;overflow-wrap:anywhere;background:#020408db;justify-content:center;align-items:center;width:max-content;max-width:min(560px,100% - 48px);height:auto;padding:14px 18px;display:flex;top:50%;left:50%;transform:translate(-50%,-50%)}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js){aspect-ratio:auto!important;z-index:10000!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;padding:0!important;position:fixed!important;inset:0!important}[data-stage-media] :is([data-stage-media]>.video-js.vjs-fullscreen,.video-js.vjs-fullscreen,.video-js[data-peach-fullscreen],body.vjs-full-window .video-js,.video-js:fullscreen,.video-js:fullscreen,.video-js:fullscreen,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js,[data-stage-media]:fullscreen>.video-js) .vjs-tech{object-fit:contain!important;width:100vw!important;max-width:none!important;height:100vh!important;max-height:none!important;position:absolute!important;inset:0!important}[data-player-stats-button]{z-index:8;color:#fff;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;left:11px;overflow:hidden}[data-player-stats-button][hidden]{display:none}[data-player-stats-button]:after,[data-stage-close]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-player-stats-button]:hover:after,[data-player-stats-button]:focus-visible:after,[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#ffffff1a}[data-player-stats-button]:active:after,[data-stage-close]:active:after{background:#fff3}[data-player-stats-button]:focus-visible,[data-stage-close]:focus-visible{outline:0}[data-player-stats-button][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-player-stats-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}[data-player-stats]{z-index:8;overscroll-behavior:contain;border-radius:var(--surface-radius);color:#eef3f8;-webkit-backdrop-filter:saturate(1.25)blur(14px);backdrop-filter:saturate(1.25)blur(14px);min-width:320px;max-width:min(520px,100% - 22px);max-height:calc(100% - 114px);font-size:var(--fs-xs);background:#020408c7;border:1px solid #ffffff2e;padding:10px 12px;font-family:inherit;line-height:1.5;position:absolute;top:58px;left:11px;overflow-y:auto;box-shadow:0 12px 28px #0008}[data-player-stats] dl{grid-template-columns:max-content minmax(0,1fr);gap:1px 12px;margin:0;display:grid}[data-player-stats] dt{text-align:right;font-weight:600}[data-player-stats] dd{text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:166px minmax(0,1fr);align-items:center;gap:9px;display:grid;overflow:visible}[data-player-stats-metric]>span{text-overflow:ellipsis;overflow:hidden}[data-player-stats-plot]{background:#000;grid-template-columns:repeat(24,minmax(2px,1fr));align-items:end;gap:1px;height:20px;padding:2px;display:grid;overflow:hidden}[data-player-stats-plot] i{background:0 0;min-height:0;display:block}[data-player-stats-plot=speed] i[data-bar]{background:#55b5bd}[data-player-stats-plot=activity] i[data-bar]{background:#4ba8df}[data-player-stats-plot=buffer] i[data-bar]{background:#d8e98a}[data-player-stats-plot=buffer] i[data-bar=mid]{background:#efb55f}[data-player-stats-plot=buffer] i[data-bar=low]{background:#e16962}[data-player-stats][hidden]{display:none}@media (width<=600px){[data-player-stats] dd[data-player-stats-metric]{grid-template-columns:96px minmax(0,1fr)}}[data-player-net]{box-sizing:border-box;z-index:8;white-space:nowrap;border-radius:var(--floating-radius);color:#fff;height:40px;min-height:40px;box-shadow:none;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);font-size:var(--fs-xs);background:#0009;border:0;align-items:center;gap:7px;padding:0 11px;font-family:inherit;line-height:1;display:flex;position:absolute;top:11px;left:58px}[data-player-net] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;flex:none}[data-player-net][hidden],[data-stage-media] video[hidden]{display:none}[data-stage-close]{z-index:9;color:#f0e9de;cursor:pointer;width:40px;height:40px;box-shadow:none;isolation:isolate;background:#0009;border:0;border-radius:50%;place-items:center;padding:0;display:grid;position:absolute;top:11px;right:11px;overflow:hidden}[data-stage-close] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:20px;height:20px;position:relative}#playerMenu[data-player-context-menu]{border-radius:var(--floating-radius);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);box-shadow:none;color:#fff;text-shadow:0 0 1px #000c;background:#0009;border:0;gap:0;min-width:240px;max-width:calc(100vw - 16px);padding:8px}[data-player-context-menu][popover]{margin:0;inset:auto}#playerMenu>[data-player-menu]{box-sizing:border-box;border-radius:var(--control-radius);width:100%;min-height:48px;box-shadow:none;color:#fff;font:inherit;font-size:var(--fs-md);text-align:left;white-space:nowrap;cursor:pointer;background:0 0;border:0;grid-template-columns:56px minmax(0,1fr) 32px;align-items:center;gap:0;margin:0;padding:0;font-weight:400;line-height:18.2px;display:grid}#playerMenu>[data-player-menu]:hover,#playerMenu>[data-player-menu]:focus-visible{color:#fff;background:#ffffff1a;outline:0}#playerMenu>[data-player-menu]:active{background:#fff3}[data-player-menu]>svg{stroke:currentColor;fill:none;stroke-width:2px;justify-self:start;width:24px;height:24px;margin-left:8px}[data-player-menu]>svg[data-player-menu-fill]{fill:currentColor;stroke:none}[data-player-menu]>span{text-overflow:ellipsis;overflow:hidden}[data-player-menu]>[data-player-menu-check]{visibility:hidden;grid-column:3;justify-self:center;width:18px;height:18px;margin:0}[data-player-menu][aria-checked=true]>[data-player-menu-check]{visibility:visible}.video-js .vjs-subtitles-control>button{z-index:1;place-items:center;display:grid;position:relative}.video-js .vjs-subtitles-control>button>svg,.vjs-peach-menu-cc>svg{fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;display:block}.video-js .vjs-subtitles-control>button[aria-pressed=true]:after{content:"";background:var(--tungsten);width:18px;height:2px;position:absolute;bottom:5px;left:calc(50% - 9px)}.video-js.vjs-peach-xsmall .vjs-subtitles-control>button>svg{width:27px;height:27px}.vjs-peach-menu-cc{place-items:center;width:40px;display:grid}.video-js .vjs-peach-menu-option[data-subtitle-track]{padding-block:10px!important}.vjs-peach-menu-option[data-subtitle-track] .vjs-peach-option-label{overflow-wrap:anywhere}[data-player-subtitles] b{text-overflow:ellipsis;max-width:90px;overflow:hidden}.vjs-peach-settings-menu .vjs-peach-caption-options{flex:0 0 48px;place-items:center;width:48px;margin-left:auto;padding:0;display:grid}.vjs-peach-settings-menu .vjs-peach-caption-action{text-align:left;overflow-wrap:anywhere;padding:10px 16px}.vjs-peach-settings-menu [data-subtitle-track]~.vjs-peach-caption-action{padding-left:48px}.vjs-peach-settings-menu .vjs-peach-caption-setting{text-align:left;grid-template-columns:minmax(0,1fr) auto 18px;align-items:center;gap:12px;padding:0 12px;display:grid}.vjs-peach-caption-setting b{color:#ffffffb3;white-space:nowrap;font-weight:400}.vjs-peach-caption-setting svg{fill:currentColor;stroke:none;width:18px;height:18px}.vjs-peach-subtitle-status{font-size:var(--fs-sm);overflow-wrap:anywhere;align-items:center;gap:8px;margin:0;padding:8px 16px;line-height:1.5;display:flex}.vjs-peach-subtitle-status[data-error]{color:var(--drop)}.vjs-peach-subtitle-status[hidden]{display:none}.vjs-peach-subtitle-search{padding:8px}.vjs-peach-subtitle-search a{font-size:var(--fs-sm);color:#fff;margin:8px 16px;text-decoration:underline;display:inline-block}.vjs-peach-settings-menu .vjs-peach-subtitle-result{text-align:left;overflow-wrap:anywhere;flex-direction:column;align-items:flex-start;gap:4px;padding:10px 16px;line-height:1.4;display:flex}.vjs-peach-subtitle-result small{color:#ffffffb3;font-size:var(--fs-sm)}.vjs-peach-settings-menu:has([data-subtitle-style]){overscroll-behavior:contain}.video-js[data-peach-captions] video::cue{color:#0000;text-shadow:none;background:0 0}.video-js[data-peach-captions] video::-webkit-media-text-track-container{display:none}.vjs-peach-captions{z-index:1;pointer-events:none;font-family:var(--peach-caption-font);font-size:calc(clamp(14px,calc(var(--peach-player-h,480px)*.045),32px)*var(--peach-caption-scale));font-variant:var(--peach-caption-variant);text-align:center;color:var(--peach-caption-color);text-shadow:var(--peach-caption-edge);justify-content:center;font-weight:400;line-height:1.3;display:flex;position:absolute;bottom:80px;left:5%;right:5%}.vjs-peach-captions[hidden]{display:none}.vjs-peach-caption-window{background:var(--peach-caption-window);max-width:100%;padding:.15em .3em}.vjs-peach-caption-line{white-space:pre-line;overflow-wrap:anywhere;background:var(--peach-caption-background);-webkit-box-decoration-break:clone;box-decoration-break:clone;width:fit-content;max-width:100%;margin:0 auto;padding:0 .15em;display:block}.video-js.vjs-user-inactive.vjs-playing .vjs-peach-captions{bottom:5%}:root{--stage-shadow:#0000000a;--miniplayer-shadow-near:#00000029;--miniplayer-shadow-far:#0003}.dark{--stage-shadow:#0006;--miniplayer-shadow-near:#00000080;--miniplayer-shadow-far:#0000008c}[data-stage],[data-detail-continuation]{--detail-card-width:clamp(184px,24dvh,208px);--detail-card-meta-height:calc(var(--fs-md) * 2.7 + 8px + 20px + var(--fs-xs) * 1.45);--detail-card-height:calc(var(--detail-card-width) * 9 / 16 + 6px + var(--detail-card-meta-height));--detail-continuation-height:calc(var(--detail-card-height) + 65px + var(--detail-continuation-extra,0px))}[data-stage]:has([data-detail-continuation]>[data-mix-queue]),[data-detail-continuation]:has(>[data-mix-queue]){--detail-continuation-extra:20px}[data-stage]{--detail-media-height:76dvh;--detail-surface:var(--video-glow,#15202a)}@supports (color:color-mix(in lab, red, red)){[data-stage]{--detail-surface:color-mix(in srgb,var(--video-glow,#15202a) 12%,var(--surface) 88%)}}[data-stage]{width:min(1440px,100vw - 32px);max-width:calc(100vw - 32px);height:fit-content;max-height:calc(100dvh - 32px);color:var(--ink);border-radius:var(--floating-radius);overscroll-behavior:contain;background:radial-gradient(circle at 28% 24%,var(--video-glow,#15202a),transparent 58%), var(--surface);margin:auto;padding:0;position:fixed;inset:16px}@supports (color:color-mix(in lab, red, red)){[data-stage]{background:radial-gradient(circle at 28% 24%,color-mix(in srgb,var(--video-glow,#15202a) 40%,transparent),transparent 58%), color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage]{scroll-margin-top:calc(var(--topH) + 8px);border:1px solid var(--line);overflow:auto}[data-stage]::backdrop{background:var(--scrim)}[data-stage]:focus-visible{outline:none}[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - 32px)}[data-stage][data-stage-kind]:is([data-stage-kind=item],[data-stage-kind=jav])>[data-stage-scroll]{height:100%;max-height:100%;display:block;overflow:hidden auto}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:76dvh;--detail-gallery-height:calc(var(--detail-media-height) - 116px)}@media (width>=1081px){[data-stage][data-stage-kind=jav]{--detail-media-height:calc(100dvh - 34px)}[data-stage][data-stage-kind=item]{--detail-media-height:max(0px,min(calc(100dvh - 34px - var(--detail-continuation-height)),76dvh))}}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:var(--detail-media-height);flex:none}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]) [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage] [data-stage-media]>.video-js{max-height:100%}[data-stage] [data-skeleton=detail] [data-stage-media]{aspect-ratio:auto;width:100%;max-width:100%;max-height:none}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr) 116px;grid-template-columns:minmax(0,1fr);place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-art],[data-item-gallery])>:is([data-jav-picture],[data-catalog-picture],[data-jav-picture-wait],[data-jav-video],[class~=video-js],[role=note]){min-height:0;max-height:var(--detail-gallery-height);height:var(--detail-gallery-height);object-fit:contain;grid-area:1/1;width:100%}[data-item-samples-state]{z-index:2;position:absolute;bottom:44px;right:16px}[data-stage] :is([data-jav-art],[data-item-gallery])>[data-carousel-below]{box-sizing:border-box;grid-area:2/1;align-self:end;min-width:0}[data-stage] [data-jav-video]{place-items:center;display:grid}[data-stage] [data-stage-scroll] :is([data-jav-video]>[class~=video-js],[data-item-gallery]>[class~=video-js]){width:min(100%,calc(var(--detail-gallery-height) * 16 / 9));height:auto;max-height:var(--detail-gallery-height);aspect-ratio:16/9}@media (width<=1080px){[data-stage][data-stage-kind=follow]{--detail-media-height:min(56dvh,56.25vw)}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]){--detail-media-height:min(56dvh,calc(56.25vw + 116px))}[data-stage]:is([data-stage-kind=item],[data-stage-kind=jav]):not([data-theater]) [data-stage-grid]{height:auto}}@media (width<=760px){[data-stage][data-stage-kind=item],[data-stage][data-stage-kind=jav]{height:calc(100dvh - env(safe-area-inset-top) - 16px)}}body[data-detail-open]{--glow-drift-play:paused;overflow:hidden}body[data-detail-open] [class~=glowlayer]:before{animation-play-state:paused,paused,running}@supports (color:color-mix(in lab, red, red)){[data-stage]:not([data-ambient]){background:color-mix(in srgb,var(--surface) 88%,transparent)}}[data-stage-grid]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);display:grid}[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr) minmax(350px,390px);grid-template-areas:"media side";align-items:start}[data-stage-grid][data-with-queue]>[data-stage-media]{grid-area:media}[data-stage-grid][data-with-queue]>[data-stage-side]{background:var(--detail-surface);grid-area:side}[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);background:var(--detail-surface);max-height:360px}[data-detail-continuation] [data-mix-queue-actions] [data-queue-close]{display:none}[data-detail-continuation]{background:var(--detail-surface);flex:none;grid-template-columns:minmax(0,1fr);min-width:0;display:grid}[data-detail-continuation]:empty{display:none}[data-detail-continuation]>[data-item-related]{min-width:0}@media (width>=1081px){[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related]){grid-template-rows:auto auto;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}[data-detail-continuation][data-queue-cards="1"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) + 28px)) minmax(0,1fr)}[data-detail-continuation][data-queue-cards="2"]:has(>[data-item-related]){grid-template-columns:minmax(0,calc(var(--detail-card-width) * 2 + 38px)) minmax(0,1fr)}[data-detail-continuation]:has(>[data-mix-queue]):has(>[data-item-related])>:is([data-mix-queue],[data-item-related]){grid-template-rows:subgrid;grid-row:span 2;row-gap:0;display:grid}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue]{grid-column:1}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related]{border-left:1px solid var(--line-soft);padding-top:14px}.peach-react [data-detail-continuation]>[data-mix-queue]+[data-item-related] h3{align-self:start;margin:0;padding-bottom:11px}[data-detail-continuation]:has(>[data-mix-queue])>[data-item-related]{grid-column:2}[data-detail-continuation]:has(>[data-item-related])>[data-mix-queue] [data-mix-list]{padding-top:8px}}.peach-react [data-detail-continuation] [data-media-card][data-variant=next]{width:var(--detail-card-width);isolation:isolate;gap:6px}.peach-react [data-detail-continuation] [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9;flex:none}.peach-react [data-detail-continuation] [data-media-card][data-variant=next] [data-media-meta]{height:var(--detail-card-meta-height);flex:none}[data-detail-continuation] [data-media-card][data-variant=next] [data-media-text]{gap:4px}.peach-react [data-detail-continuation] [data-media-card][data-variant=next] [data-media-next-reason]{white-space:nowrap;text-overflow:ellipsis;min-height:1.45em;max-height:1.45em;display:block}.peach-react [data-detail-continuation] [data-media-card][data-variant=next]:is(:hover,:focus-within){box-shadow:none;background:0 0}[data-detail-continuation] [data-media-card][data-variant=next]:before{content:"";z-index:-1;border-radius:calc(var(--surface-radius) + 8px);background:var(--library-hover,var(--hover));opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:-8px}[data-detail-continuation] [data-media-card][data-variant=next]:is(:hover,:focus-within):before{opacity:1}.peach-react [data-detail-continuation] [data-media-card][data-variant=next][data-longhover]{filter:none;transform:none}[data-detail-continuation]:has(>[data-mix-queue]) [data-media-card][data-variant=next] [data-media-pic]{aspect-ratio:16/9}[data-mix-queue]{border-left:1px solid var(--line-soft);background:var(--video-glow,#15202a);flex-direction:column;min-width:0;max-height:76vh;display:flex}@supports (color:color-mix(in lab, red, red)){[data-mix-queue]{background:color-mix(in srgb,var(--video-glow,#15202a) 10%,var(--surface) 90%)}}[data-mix-queue-head]{border-bottom:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;min-height:70px;padding:12px 12px 10px 15px;display:grid}[data-mix-queue-head] h2{text-overflow:ellipsis;white-space:nowrap;font-size:var(--fs-lg);margin:0;overflow:hidden}[data-mix-queue-head] span{color:var(--muted);font-size:var(--fs-xs);margin-top:3px;display:block}[data-mix-queue-head] button{border-radius:var(--control-radius);width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid}[data-mix-queue-head] button:hover{background:var(--hover)}[data-mix-queue-head] svg{stroke:currentColor;fill:none;stroke-width:2px;width:20px;height:20px}[data-mix-queue-actions]{align-items:center;gap:2px;display:flex}[data-mix-list]{min-height:0;padding:6px;overflow-y:auto}[data-mix-row]{border-radius:var(--control-radius);grid-template-columns:minmax(0,1fr) auto;align-items:center;display:grid}[data-mix-row]:has([data-mix-item][aria-current=true]){background:var(--hover)}[data-mix-row] [data-mix-item][aria-current=true]{background:0 0}[data-mix-item]{border-radius:var(--control-radius);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:94px minmax(0,1fr);align-items:center;gap:10px;padding:7px;display:grid}[data-mix-item]:hover{background:var(--overlay-5)}[data-mix-item][aria-current=true]{background:var(--hover)}[data-mix-item-pic]{aspect-ratio:16/9;clip-path:inset(0 round var(--badge-radius));background:#000;position:relative;overflow:hidden;-webkit-mask-image:linear-gradient(#000 0 0);mask-image:linear-gradient(#000 0 0)}[data-mix-item-pic] img{object-fit:contain;width:100%;height:100%;position:absolute;inset:0}[data-mix-item-pic] [data-mix-item-duration]{bottom:3px;right:4px}[data-mix-item-meta]{align-items:center;gap:10px;min-width:0;display:flex}[data-mix-item-meta] [class~=mav]{cursor:inherit}[data-mix-item-meta] [class~=mav]:hover{box-shadow:none}[data-mix-item-meta] [class~=mavstack] [class~=mav]{box-shadow:0 0 0 2px var(--ground)}[data-mix-item-text]{min-width:0}[data-mix-item-text] b,[data-mix-item-text] span{white-space:nowrap;display:block;overflow:hidden}[data-mix-item-text] [data-truncate-end]{text-overflow:ellipsis}[data-mix-item-text] b{font-size:var(--fs-xs);line-height:1.4}[data-mix-item-text] span{font-size:var(--fs-xs);color:var(--muted);margin-top:3px}[data-mix-row][data-queue-row]{cursor:grab;position:relative}[data-mix-row][data-queue-row]:active{cursor:grabbing}[data-mix-row][class~=dragging]{opacity:.42}[data-mix-row][class~=drop-before]:before,[data-mix-row][class~=drop-after]:after{content:"";z-index:4;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:6px;right:6px}[data-mix-row][class~=drop-before]:before{top:-3px}[data-mix-row][class~=drop-after]:after{bottom:-3px}[data-detail-continuation]>[data-mix-queue]{padding:14px 14px 16px;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{border:0;min-height:0;padding:0 0 11px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] h2{font-size:var(--fs-sm);letter-spacing:.06em}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head] span{text-overflow:ellipsis;white-space:nowrap;max-width:72ch;overflow:hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-list]{grid-auto-flow:column;grid-auto-columns:var(--detail-card-width);overscroll-behavior-inline:contain;scroll-snap-type:x proximity;gap:10px;padding:0 0 3px;display:grid;overflow:auto hidden}[data-detail-continuation]>[data-mix-queue] [data-mix-row]{scroll-snap-align:start;background:0 0;min-width:0;display:block;position:relative}[data-detail-continuation]>[data-mix-queue] [data-mix-item]{flex-direction:column;align-items:stretch;gap:7px;padding:0;display:flex}[data-detail-continuation]>[data-mix-queue] [data-mix-item]:hover,[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true]{background:0 0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-pic]{width:100%}[data-detail-continuation]>[data-mix-queue] [data-mix-item][aria-current=true] [data-mix-item-pic]:after{content:"";z-index:1;border-radius:var(--badge-radius);box-shadow:inset 0 0 0 2px var(--ink),inset 0 0 0 4px var(--ground);pointer-events:none;position:absolute;inset:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta]{align-items:flex-start;width:100%;padding:0 2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mav],[data-detail-continuation]>[data-mix-queue] [data-mix-item-meta] [class~=mavstack]{margin-top:2px}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text]{flex:1;min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-item-text] b{font-size:var(--fs-sm)}[data-detail-continuation]>[data-mix-queue] [data-mix-item][data-media-kind=image] [data-mix-item-pic] img{object-fit:cover}[data-stage-scroll]>.peach-react{font:inherit;color:inherit;-webkit-font-smoothing:inherit;font-variant-ligatures:inherit;font-kerning:inherit;display:contents}@media (width>=1081px){[data-stage]:not([data-theater])>[data-stage-scroll]{flex-direction:column;max-height:calc(100dvh - 34px);display:flex}[data-stage]:not([data-theater])>[data-stage-scroll]>[data-stage-grid],[data-stage]:not([data-theater])>[data-stage-scroll]>.peach-react>[data-stage-grid]{flex:auto;min-height:0}[data-stage]:not([data-theater]) [data-stage-grid]>[data-stage-media]{min-height:0}[data-stage]:not([data-theater]) [data-stage-media]>.video-js{max-height:min(76vh,100%)}[data-stage][data-theater]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage-grid][data-with-queue]>[data-stage-media]{align-self:stretch}[data-stage][data-theater] [data-stage-grid]{grid-template-columns:minmax(0,1fr)}[data-stage][data-theater] [data-stage-grid]:not([data-with-queue])>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:1}[data-stage][data-theater] [data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage][data-theater] [data-stage-side-content]:is(*){height:auto;max-height:none}[data-stage][data-theater] [data-stage-media]>.video-js,[data-stage][data-theater] [data-stage-media]>video{max-height:calc(100vh - var(--topH) - 56px)}}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]{grid-template-columns:minmax(0,max-content) max-content minmax(0,1fr);gap:5px 8px}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-head]>div:first-child{min-width:0}[data-detail-continuation]>[data-mix-queue] [data-mix-queue-actions]{grid-area:1/2;align-self:center}[data-mix-item-duration]{z-index:2;color:#f2eadf;border-radius:var(--badge-radius);background:#000000b3;padding:2px 6px;transition:opacity .15s;position:absolute;bottom:6px;right:6px}[data-stage-side]{border-left:1px solid var(--line-soft);background:var(--detail-surface);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);align-self:stretch;min-width:0;min-height:0;overflow:hidden}[data-stage-side-content]{box-sizing:border-box;flex-direction:column;gap:0;width:100%;height:100%;max-height:76vh;padding:18px;display:flex;overflow:hidden auto}[data-stage-title]{font-size:var(--fs-lg);overflow-wrap:anywhere;margin-bottom:8px;line-height:1.4}[data-stage-meta]{color:var(--muted);flex-wrap:wrap;gap:9px;margin-bottom:18px;display:flex}[data-local-playback]{flex-direction:column;flex:none;gap:8px;margin:0 0 12px;display:flex}[data-local-playback-row]{align-items:center;gap:8px;min-width:0;display:flex}[data-local-playback-row]>div{flex:1;min-width:0}[data-local-playback-row] .ui-gselect{width:100%;display:block}[data-local-playback-row] [data-select-trigger]{width:100%;height:var(--control-h)}[data-local-playback-row]>button{height:var(--control-h);white-space:nowrap;flex:none}[data-stage-tags]{flex-wrap:wrap;align-items:center;gap:7px;margin:0 0 18px;display:flex;position:relative}[data-stage-actions]{border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);flex:none;align-items:center;gap:0;width:max-content;margin:0 0 12px;padding:0;display:flex;overflow:hidden}[data-stage-actions] button{border:0;border-right:1px solid var(--border-10);cursor:pointer;width:44px;height:42px;color:var(--muted);background:0 0;border-radius:0;place-items:center;padding:0;transition:transform .14s,color .14s,background .14s;display:grid}[data-stage-actions] button svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:21px;height:21px}[data-stage-actions] button:last-child{border-right:0}[data-stage-actions] button:hover{background:var(--hover);transform:none}[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{color:var(--drop);background:var(--drop)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=dislike]:hover,[data-stage-actions] [data-stage-action=dislike][aria-pressed=true]{background:color-mix(in srgb,var(--drop) 12%,transparent)}}[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{color:var(--keep);background:var(--keep)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=seen]:hover,[data-stage-actions] [data-stage-action=seen][aria-pressed=true]{background:color-mix(in srgb,var(--keep) 12%,transparent)}}[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{color:var(--loupe);background:var(--loupe)}@supports (color:color-mix(in lab, red, red)){[data-stage-actions] [data-stage-action=later]:hover,[data-stage-actions] [data-stage-action=later][aria-pressed=true]{background:color-mix(in srgb,var(--loupe) 12%,transparent)}}[data-detail-continuation]>[data-mix-queue] [class~=mavstack] [class~=mav]:nth-child(n+3){display:none}[data-mix-group-label]{color:var(--ink);font-size:var(--fs-xs);align-items:center;gap:8px;margin:12px 10px 6px;font-weight:600;display:flex}[data-mix-group-label]:first-child{margin-top:4px}[data-mix-group-label] span{color:var(--muted);font-variant-numeric:tabular-nums;font-weight:400}@media (width<=1080px){[data-stage-grid],[data-stage-grid][data-with-queue]{grid-template-columns:minmax(0,1fr)}[data-stage-grid][data-with-queue]{grid-template-areas:"media""side"}[data-stage-side],[data-stage-grid][data-with-queue]>[data-stage-side]{border-left:0;border-top:1px solid var(--line-soft);grid-column:auto}[data-stage-side-content]{height:auto;max-height:none}[data-mix-queue],[data-detail-continuation]>[data-mix-queue]{border-left:0;border-top:1px solid var(--line-soft);max-height:420px}}@media (width<=760px){[data-stage-actions]{width:100%}[data-stage-actions] button{flex:1 1 0;min-width:38px}}[data-miniplayer]{z-index:var(--layer-miniplayer);touch-action:none;will-change:opacity,transform;-webkit-user-select:none;user-select:none;width:min(400px,100vw - 32px);max-height:calc(100dvh - 32px);position:fixed}[data-miniplayer][hidden]{display:none}[data-miniplayer][data-corner=br]{bottom:16px;right:16px}[data-miniplayer][data-corner=bl]{bottom:16px;left:16px}[data-miniplayer][data-corner=tr]{right:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-corner=tl]{left:16px;top:calc(var(--topH) + 16px)}[data-miniplayer][data-miniplayer-drag],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-card]{cursor:grabbing}[data-miniplayer][data-miniplayer-snap]{transition:transform .5s cubic-bezier(.05,0,0,1)}@media (prefers-reduced-motion:no-preference){[data-miniplayer][data-miniplayer-enter]{animation:.366s cubic-bezier(.05,0,0,1) both miniplayer-fade-in}}@keyframes miniplayer-fade-in{0%{opacity:0}to{opacity:1}}[data-miniplayer-card]{border-radius:var(--floating-radius);background:var(--surface);box-shadow:0 2px 5px var(--miniplayer-shadow-near),0 3px 6px var(--miniplayer-shadow-far);cursor:grab;flex-direction:column;display:flex;overflow:hidden}[data-miniplayer-frame]{width:100%;aspect-ratio:var(--miniplayer-aspect,16/9);background:#000;max-height:calc(100dvh - 108px);position:relative;overflow:hidden}[data-miniplayer-frame] .video-js{background:#000;font-family:inherit;position:absolute;inset:0;width:100%!important;height:100%!important;padding-top:0!important}[data-miniplayer-frame] .video-js .vjs-tech{object-fit:contain}[data-miniplayer-frame] .video-js :is(.vjs-big-play-button,.vjs-peach-bezel,.vjs-peach-settings-menu,.vjs-peach-tooltip,.vjs-loading-spinner,.vjs-text-track-display){display:none!important}[data-miniplayer-frame] .vjs-peach-seek-frame{--seek-max-w:160px;--seek-max-h:120px}[data-miniplayer-frame] .video-js .vjs-mouse-display{display:none!important}[data-miniplayer-frame] .video-js .vjs-control-bar{z-index:2;background:0 0;width:auto;height:5px;padding:0;transition:none;display:flex;position:absolute;inset:auto 0 0;opacity:1!important;visibility:visible!important;pointer-events:auto!important}[data-miniplayer-frame] .video-js .vjs-control-bar>:not(.vjs-progress-control){display:none!important}[data-miniplayer-frame] .video-js .vjs-progress-control{align-items:center;width:auto;min-width:0;height:5px;display:flex;position:absolute;inset:0}[data-miniplayer-frame] .video-js .vjs-progress-control .vjs-progress-holder{background:#fff3;border-radius:0;width:100%;height:5px;margin:0}[data-miniplayer-frame] .video-js .vjs-load-progress{background:#fff6}[data-miniplayer-frame] .video-js .vjs-load-progress div{background:#fff3}[data-miniplayer-frame] .video-js .vjs-play-progress{background:var(--tungsten)}[data-miniplayer-frame] .video-js .vjs-play-progress:before{content:"";background:var(--tungsten);width:12px;height:12px;box-shadow:none;border-radius:50%;font-size:0;position:absolute;top:50%;right:-6px;transform:translateY(-50%)}[data-miniplayer-frame] .video-js .vjs-time-tooltip{font-size:var(--fs-xs);font-family:inherit}[data-miniplayer-scrim]{z-index:1;opacity:0;color:#fff;background:#00000080;justify-content:center;align-items:center;gap:6px;transition:opacity .2s cubic-bezier(.4,0,.2,1) .1s;display:flex;position:absolute;inset:0}[data-miniplayer-frame]:hover [data-miniplayer-scrim],[data-miniplayer-frame]:focus-within [data-miniplayer-scrim],[data-miniplayer][data-miniplayer-drag] [data-miniplayer-scrim]{opacity:1}[data-miniplayer-button],[data-miniplayer-play],[data-miniplayer-seek]{isolation:isolate;color:#fff;cursor:pointer;background:0 0;border:0;place-items:center;margin:0;padding:0;display:grid;position:relative}[data-miniplayer-button]{width:40px;height:40px;position:absolute;top:0}[data-miniplayer-button] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:24px;height:24px;position:relative}[data-miniplayer-button=expand]{left:0}[data-miniplayer-button=close]{right:0}[data-miniplayer-play]{width:42px;height:42px}[data-miniplayer-play] svg{z-index:1;fill:currentColor;stroke:none;filter:drop-shadow(0 0 1px #000c);width:36px;height:36px;position:relative}[data-miniplayer-seek]{width:36px;height:36px}[data-miniplayer-seek] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;filter:drop-shadow(0 0 1px #000c);width:22px;height:22px;position:relative}[data-miniplayer-button]:after,[data-miniplayer-play]:after,[data-miniplayer-seek]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}[data-miniplayer-button]:hover:after,[data-miniplayer-button]:focus-visible:after,[data-miniplayer-play]:hover:after,[data-miniplayer-play]:focus-visible:after,[data-miniplayer-seek]:hover:after,[data-miniplayer-seek]:focus-visible:after{background:#ffffff1a}[data-miniplayer-button]:active:after,[data-miniplayer-play]:active:after,[data-miniplayer-seek]:active:after{background:#fff3}[data-miniplayer-button]:focus-visible,[data-miniplayer-play]:focus-visible,[data-miniplayer-seek]:focus-visible{outline:0}[data-miniplayer-time]{font-size:var(--fs-xs);text-shadow:0 0 2px #000;pointer-events:none;line-height:15px;position:absolute;bottom:16px;left:12px}[data-miniplayer]:has([data-player-seek-preview]:not([hidden])) [data-miniplayer-time]{visibility:hidden}[data-miniplayer-info]{box-sizing:border-box;width:100%;min-height:76px;color:var(--ink);text-align:left;font:inherit;cursor:grab;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:flex-start;margin:0;padding:12px 16px;display:flex}[data-miniplayer-info]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-miniplayer-title]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-md);font-weight:500;line-height:20px;display:block;overflow:hidden}[data-miniplayer-sub]{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:var(--fs-xs);color:var(--muted);margin-top:4px;line-height:18px;display:block;overflow:hidden}[data-miniplayer-sub]:empty{display:none}[data-stage-reveal]>[data-stage-fade]{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}[data-stage-reveal][data-stage-revealing]>[data-stage-fade]{opacity:0;filter:blur(2px)}[data-stage-reveal]>:not([data-stage-fade]){animation:skel-reveal-in var(--motion-reveal) backwards}[data-stage]{border:1px solid var(--line);border-radius:var(--surface-radius);background:var(--ground);box-shadow:0 2px 8px var(--stage-shadow);--detail-surface:var(--ground);overflow:clip}[data-stage]:not([data-ambient]){background:var(--ground)}[data-stage] [data-stage-side]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border-color:var(--line-soft)}[data-stage-side-content]{gap:4px;padding:20px}[data-stage-title]{font-weight:500;line-height:1.5}@media (width<=760px){[data-stage-side-content]{padding:16px}[data-stage]{border-radius:12px}[data-stage] [data-stage-side]{border-left:0;border-top:1px solid var(--line-soft)}}@media (width<=1080px){[data-stage]>[data-stage-scroll]{overscroll-behavior:contain;max-height:calc(100dvh - 34px);overflow:hidden auto}[data-stage] [data-stage-media]:has(>.video-js){z-index:3;position:sticky;top:0}}@media (width<=760px){[data-stage]{inset:calc(env(safe-area-inset-top) + 8px) 8px auto;width:calc(100vw - 16px);max-width:calc(100vw - 16px);max-height:calc(100dvh - env(safe-area-inset-top) - 16px);margin:0 auto}[data-stage]>[data-stage-scroll]{max-height:calc(100dvh - env(safe-area-inset-top) - 18px)}[data-stage-media]>.video-js{aspect-ratio:var(--peach-video-ratio,16/9);max-height:56dvh}}[data-stage-close]{background:var(--surface);color:var(--ink);border-radius:50%;place-items:center;padding:0;line-height:1;display:grid}[data-stage-close] svg{place-self:center;margin:0;display:block}[data-stage]{animation:board-dialog-in var(--board-dialog-motion) backwards}[data-stage]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-stage][data-closing]{animation:board-dialog-out var(--board-dialog-motion) both;pointer-events:none}[data-stage][data-closing]::backdrop{animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}[data-stage] [data-stage-media]{border-radius:var(--surface-radius);overflow:hidden}[data-stage-side-content] [data-stage-actions]{background:0 0;border:0;flex-wrap:nowrap;gap:4px;width:max-content;max-width:100%;margin:0 0 16px;padding:0;display:flex;overflow:visible}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]){border-radius:var(--control-radius);background:var(--surface);border:0;flex:0 36px;place-items:center;width:36px;min-width:30px;height:36px;padding:0;display:grid}[data-stage-side-content] [data-stage-actions] :is(button,[data-stage-action-link]) svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px;margin:0;display:block}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]{color:var(--ink-2)}[data-stage-side-content] [data-stage-actions] [data-stage-action-link]:hover{background:var(--hover)}[data-stage-side-content] [data-stage-actions] button:disabled{background:var(--surface);color:var(--muted);cursor:not-allowed}[data-stage-side-content] [data-stage-actions] button[aria-pressed=true]{box-shadow:inset 0 0 0 1px}[data-stage] [data-stage-media]{border-radius:var(--surface-radius) 0 0 0}[data-stage][data-theater] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}[data-stage][data-theater]{--detail-gallery-height:var(--detail-media-height)}[data-stage][data-theater] [data-stage-media]{height:var(--detail-media-height);min-height:0}[data-stage][data-theater] [data-stage-scroll] :is([data-jav-art],[data-item-gallery]){grid-template-rows:minmax(0,1fr)}[data-stage][data-theater] :is([data-media-carousel][data-carousel-below],[data-item-samples-state]){display:none}[data-stage][data-theater] [data-stage-scroll] :is([data-stage-media]>.video-js,[data-stage-media]>video,[data-jav-video]>.video-js){aspect-ratio:auto;width:100%;height:100%;max-height:none}@media (width<=1080px){[data-stage] [data-stage-media]{border-radius:var(--surface-radius) var(--surface-radius) 0 0}}[data-stage-close],[data-stage-close]:hover{color:#fff;background:#0009}[data-stage-close]:hover:after,[data-stage-close]:focus-visible:after{background:#fff3}[data-stage-close]:active:after{background:#ffffff4d}[data-settings-panel]{z-index:var(--layer-dialog);isolation:isolate;background:var(--scrim);padding:18px;padding-top:max(18px,env(safe-area-inset-top));padding-bottom:max(18px,env(safe-area-inset-bottom));overscroll-behavior:contain;place-items:center;display:grid;position:fixed;inset:0}[data-settings-panel][hidden]{display:none}[data-settings-panel]:not([hidden]){animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}[data-settings-panel][data-closing]{animation-name:settings-backdrop-out}[data-settings-panel][data-closing] :where([data-settings-card]){animation-name:settings-dialog-out}[data-settings-panel] [data-settings-card]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--page);flex-direction:column;width:min(520px,100%);max-height:min(720px,90dvh);animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;display:flex;overflow:clip}[data-settings-panel] [data-settings-scroll]{overscroll-behavior:contain;flex:1;min-height:0;padding:0 20px 20px;overflow-y:auto}[data-settings-panel] [data-settings-head]{z-index:2;border-bottom:1px solid var(--field-ring);background:var(--ground);flex:none;justify-content:space-between;align-items:center;padding:20px 20px 16px;display:flex}[data-settings-panel] [data-settings-head] h2{font-size:var(--fs-xl);margin:0}[data-settings-panel] [data-settings-head] button{color:var(--muted);border-radius:var(--control-radius);cursor:pointer;background:0 0;border:0;place-items:center;width:34px;height:34px;transition:background-color .12s,color .12s;display:grid}[data-settings-panel] [data-settings-head] button:hover{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-settings-head] svg{stroke:currentColor;fill:none;width:20px;height:20px}[data-settings-panel] [data-setting-row]{border-top:1px solid var(--line-soft);grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;padding:14px 0;display:grid}[data-settings-panel] [data-setting-group]>h3+[data-setting-row]{border-top:0}[data-settings-panel] [data-setting-row] b{font-size:var(--fs-md);display:block}[data-settings-panel] [data-setting-row] small{color:var(--muted);overflow-wrap:anywhere;margin-top:8px;line-height:1.45;display:block}[data-settings-panel] [data-setting-row]:has(#performerNameLanguageSetting){align-items:start}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{min-width:148px}[data-settings-panel] [data-setting-row][data-setting-related]{border-top:0}[data-settings-panel] [data-setting-group] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr);gap:12px;padding-block:14px 16px}[data-settings-panel] [data-setting-sort-controls]{gap:8px;min-width:0;display:flex}[data-settings-panel] [data-setting-sort-controls]>div{flex:1;min-width:0}[data-settings-panel] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-setting-sort-controls] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-group]{border:1px solid var(--field-ring);border-radius:var(--floating-radius);background:var(--ground);margin:16px 0 0;padding:0 16px 12px}[data-settings-panel] [data-setting-group]>h3{font-size:var(--fs-lg);color:var(--ink);margin:0;padding:14px 0 10px;font-weight:600}[data-settings-panel] [data-setting-group] [data-setting-row]{margin:0;padding-left:0;padding-right:0}[data-settings-panel] [data-toggle]{appearance:none;box-sizing:border-box;border-radius:var(--pill-radius);background:var(--line);cursor:pointer;border:0;flex:none;width:36px;height:20px;margin:0;padding:0;transition:background-color .15s;position:relative}[data-settings-panel] [data-toggle]:after{content:"";background:#fff;border-radius:50%;width:17px;height:17px;transition:left .15s;position:absolute;top:1.5px;left:2px}[data-settings-panel] [data-toggle]:checked{background:var(--tungsten)}[data-settings-panel] [data-toggle]:checked:after{left:17px}[data-settings-panel] [data-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-toggle]:disabled{background:var(--surface);cursor:not-allowed}[data-settings-panel] [data-toggle]:disabled:after{background:var(--muted)}[data-settings-panel] [data-toggle]:disabled:checked{background:var(--surface)}[data-settings-panel] [class~=iconswitch][class~=javimageswitch] label{width:auto;min-width:52px;padding-inline:10px}[data-settings-panel] [class~=javimageswitch] label>span[aria-hidden]{align-items:center;gap:6px;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch]{border-radius:var(--pill-radius);box-shadow:0 0 0 1px var(--border-15);background:0 0;border:0;flex:none;padding:0;display:inline-flex}[data-settings-panel] [class~=iconswitch][class~=themeswitch] label{border-radius:50%;width:32px;height:32px}[data-settings-panel] [class~=iconswitch][class~=themeswitch] svg{width:16px;height:16px}[data-settings-panel] [data-glow-setting]{--glowrow-min:52px;--glowrow-pad:10px;flex-direction:column;gap:20px;min-width:0;display:flex}[data-settings-panel] [data-glow-setting][hidden]{display:none}[data-settings-panel] [data-glow-current]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);align-items:center;gap:8px;margin:0;display:flex}[data-settings-panel] [data-glow-current] b{color:var(--ink);font-weight:500}[data-settings-panel] [data-glow-setting] [data-glow-grid]{grid-template-columns:repeat(auto-fill,28px);padding:0}[data-settings-panel] [data-glow-group]{flex-direction:column;gap:8px;min-width:0;display:flex}[data-settings-panel] [data-glow-card]{padding-right:10px}[data-settings-panel] [data-glow-native-note]{padding-block:var(--glowrow-pad);color:var(--muted);font-size:var(--fs-sm);margin:0;line-height:1.6}[data-settings-panel] [data-glow-fields]{flex-direction:column;gap:0;min-width:0;display:flex}[data-settings-panel] [data-glow-field]{min-height:var(--glowrow-min);padding-block:var(--glowrow-pad);align-items:center;gap:10px;min-width:0;display:flex}[data-settings-panel] [data-glow-field][hidden],[data-settings-panel] [data-glow-group][hidden]{display:none}[data-settings-panel] [data-glow-field-label]{width:84px;color:var(--muted);font-size:var(--fs-xs);white-space:nowrap;flex:none;font-weight:400}[data-settings-panel] [data-glow-field] [class~=ui-dial]{flex:1;min-width:0}[data-settings-panel] [data-glow-stops]{min-width:0;display:grid}[data-settings-panel] [data-glow-colour-card]{overflow:hidden}[data-settings-panel] [data-glow-stop]{border-bottom:1px solid var(--line-soft);min-width:0;position:relative}[data-settings-panel] [data-glow-stop]:last-child{border-bottom:0}[data-settings-panel] [data-glow-stop-toggle]{width:calc(100% + 12px);min-width:0;min-height:var(--glowrow-min);padding:var(--glowrow-pad) 10px var(--glowrow-pad) 12px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:0;align-items:center;gap:10px;margin-left:-12px;display:flex}[data-settings-panel] [data-glow-stop-toggle]:hover,[data-settings-panel] [data-glow-stop-toggle][aria-expanded=true]{z-index:1;background:var(--control-hover);box-shadow:0 -1px 0 var(--control-hover),0 1px 0 var(--control-hover);position:relative}[data-settings-panel] [data-glow-stop-toggle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}[data-settings-panel] [data-glow-stop-toggle]>svg{width:var(--icon-inline);height:var(--icon-inline);color:var(--muted);stroke:currentColor;fill:none;flex:none;margin-left:auto}[data-settings-panel] [data-glow-stop-dot]{background:var(--glow-swatch,var(--line));width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light),inset 0 -1px 2px var(--overlay-5),0 0 0 1px var(--border-15);border-radius:50%;flex:none}[data-settings-panel] [data-glow-stop-text]{min-width:0;display:grid}[data-settings-panel] [data-glow-stop-text]>b{font-size:var(--fs-sm);font-weight:400}[data-settings-panel] [data-glow-stop-text]>small{color:var(--muted)}[data-settings-panel] [data-glow-stop-pop]{flex-direction:column;gap:0;display:flex;overflow:hidden}[data-settings-panel] [data-glow-pills]{border-bottom:1px solid var(--line-soft);overscroll-behavior:contain;scrollbar-width:none;flex:none;gap:6px;padding:8px;display:flex;overflow-x:auto}[data-settings-panel] [data-glow-pills]::-webkit-scrollbar{display:none}[data-settings-panel] [data-glow-pill]{border-radius:var(--pill-radius);background:var(--ink);border:0;flex:none;padding:5px 13px}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-pill]{background:color-mix(in srgb,var(--ink) 6%,transparent)}}[data-settings-panel] [data-glow-pill]{color:var(--ink-2);font-size:var(--fs-xs);cursor:pointer;font-weight:500}[data-settings-panel] [data-glow-pill][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-glow-pill]:not([aria-pressed=true]):hover{color:var(--ink)}[data-settings-panel] [data-glow-pill]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-palette-frame]{flex-direction:column;min-height:0;display:flex;position:relative;overflow:hidden}[data-settings-panel] [data-glow-palette]{overscroll-behavior:contain;flex:1;grid-template-columns:repeat(auto-fill,minmax(34px,1fr));gap:8px 9px;min-height:0;max-height:218px;padding:10px;display:grid;overflow-y:auto}[data-settings-panel] [data-glow-swatch]{border:1px solid var(--border-15);background:var(--glow-swatch);width:34px;height:34px;box-shadow:inset 0 1px 1px var(--frost-light);cursor:pointer;border-radius:50%;padding:0;transition:transform .12s}[data-settings-panel] [data-glow-swatch][hidden]{display:none}[data-settings-panel] [data-glow-swatch]:hover{transform:scale(1.055)}[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{background:var(--glow-swatch);box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px var(--ink)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-glow-palette] [data-glow-swatch][aria-checked=true]{box-shadow:inset 0 1px 1px var(--frost-light), 0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 30%,transparent)}}[data-settings-panel] [data-glow-swatch]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-settings-panel] [data-glow-actions]{padding:var(--glowrow-pad) 10px var(--glowrow-pad) 12px;border-top:1px solid var(--line-soft);border-bottom-left-radius:inherit;border-bottom-right-radius:inherit;background:var(--board-card-foot);justify-content:flex-end;margin:0 -10px 0 -12px;display:flex}[data-settings-panel] [data-glow-actions] button[data-glow-reset]{font:var(--board-body)}[data-settings-panel] [data-setting-group] :is([data-setting-row],[data-glow-setting])+[data-sidebar-setting]{border-top:1px solid var(--line-soft)}[data-settings-panel] [data-sidebar-setting]{gap:12px;padding:0;display:grid}[data-settings-panel] [data-sidebar-setting]>span b,[data-settings-panel] [data-sidebar-setting]>span small{display:block}[data-settings-panel] [data-sidebar-setting]>span small{color:var(--muted);margin-top:3px;line-height:1.45}[data-settings-panel] [data-sidebar-order]{gap:6px;display:grid}[data-settings-panel] [data-sidebar-row]{min-height:var(--control-h);border:1px solid var(--line-soft);border-radius:var(--surface-radius);background:var(--surface);cursor:grab;justify-content:space-between;align-items:center;padding:1px 5px;display:flex;position:relative}[data-settings-panel] [data-sidebar-row]:active{cursor:grabbing}[data-settings-panel] [data-sidebar-row][data-dragging]{opacity:.42}[data-settings-panel] [data-sidebar-row][data-drop=before]:before,[data-settings-panel] [data-sidebar-row][data-drop=after]:after{content:"";z-index:2;border-radius:var(--pill-radius);background:var(--ink);height:2px;position:absolute;left:7px;right:7px}[data-settings-panel] [data-sidebar-row][data-drop=before]:before{top:-5px}[data-settings-panel] [data-sidebar-row][data-drop=after]:after{bottom:-5px}[data-settings-panel] [data-sidebar-row]>span{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-sidebar-row] svg{stroke:currentColor;fill:none;width:18px;height:18px}[data-settings-panel] [data-sidebar-label]>svg{width:var(--icon-inline);height:var(--icon-inline)}[data-settings-panel] [data-sidebar-label]{min-width:0}[data-settings-panel] [data-sidebar-label]>b{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}[data-settings-panel] [data-sidebar-grip]{width:24px;color:var(--muted);place-items:center;display:grid}[data-settings-panel] [data-sidebar-grip] svg{width:20px;height:20px}[data-settings-panel] [data-sidebar-actions]{flex:none}[data-settings-panel] [data-sidebar-row] button,[data-settings-panel] [data-sidebar-add-menu] button{min-width:var(--control-h-compact);height:var(--control-h-compact);border-radius:var(--control-radius);color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid}[data-settings-panel] [data-sidebar-row] button:hover:not(:disabled),[data-settings-panel] [data-sidebar-add-menu] button:hover:not(:disabled){background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-row] button:disabled,[data-settings-panel] [data-sidebar-add-menu] button:disabled{opacity:.25;cursor:not-allowed}[data-settings-panel] [data-sidebar-add-row]{grid-template-columns:minmax(0,1fr) auto;gap:8px;margin-top:5px;display:grid}[data-settings-panel] [data-sidebar-add-picker]{min-width:0;position:relative}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]{width:100%;height:var(--control-h);box-sizing:border-box;border:1px solid var(--field-ring);border-radius:var(--control-radius);background:var(--ground);color:var(--ink);text-align:left;font:inherit;cursor:pointer;grid-template-columns:auto minmax(0,1fr) auto;place-items:center start;gap:9px;padding:0 11px;display:grid}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:hover:not(:disabled){border-color:var(--field-ring-hover)}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-trigger]:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-sidebar-add-trigger] svg:last-child{color:var(--muted);justify-self:end}[data-settings-panel] [data-sidebar-add-menu]{z-index:4;max-height:min(312px,48vh);position:absolute;bottom:calc(100% + 6px);left:0;right:0}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{width:100%;height:var(--control-h);text-align:left;border:0;grid-template-columns:auto minmax(0,1fr)}[data-settings-panel] [data-sidebar-add-menu] button[aria-selected=true]{background:var(--hover);color:var(--ink)}[data-settings-panel] [data-sidebar-add-row] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none}@media (width<=600px){[data-settings-panel] [data-settings-scroll]{padding:0 17px 17px}[data-settings-panel] [data-settings-head]{padding:17px 17px 14px}[data-settings-panel] [data-setting-row] [class~=ui-gselect]{width:100%;min-width:0}[data-settings-panel] [data-setting-row] [class~=ui-pcheck]{justify-self:start}}[data-settings-panel] [data-sidebar-add-row] [data-sidebar-add-menu] button{justify-items:start}[data-settings-panel] [data-number-control]:has([aria-invalid=true]){animation:field-shake var(--board-motion)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-sidebar-setting]{margin:0!important;padding:10px 10px 10px 0!important}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>[hidden]{display:none}[data-settings-panel] [data-number-setting]{flex-direction:row-reverse;align-items:center;gap:12px;display:flex}[data-settings-panel] [data-number-fields][hidden]{display:none}[data-settings-panel] [data-number-control] input::-webkit-inner-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input::-webkit-outer-spin-button{appearance:none;margin:0}[data-settings-panel] [data-number-control] input{appearance:textfield}:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){--settings-gap:16px;background:var(--page);border-radius:24px;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);width:871px;max-width:calc(100vw - 32px);height:614px;max-height:calc(100dvh - 32px);overflow:clip}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);border:0;flex-direction:column;grid-area:1/1/3;align-items:stretch;gap:4px;padding:10px;display:flex;position:relative}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{color:var(--muted);margin:12px 0 0;padding:4px 8px 8px;font-size:13px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{margin-top:0}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){border:0;border-radius:10px;flex:none;justify-content:flex-start;align-items:center;gap:8px;min-height:36px;padding:8px;font-size:14px;font-weight:500;display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg{width:var(--icon-inline);height:var(--icon-inline);fill:currentColor;stroke:none;flex:none}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>:is(button,[data-settings-nav-caption]){z-index:1;position:relative}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){color:var(--glass-text)}@supports (color:color-mix(in lab, red, red)){:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a){color:color-mix(in srgb,var(--glass-text) 65%,transparent)}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button[aria-selected=true]{box-shadow:none;color:var(--glass-text);background:0 0}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button,.peach-react [data-shortcuts-footer] a):hover{color:var(--glass-text)}:is([data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]>[data-settings-glide],.peach-react [data-shortcuts-categories]>[data-shortcuts-glide]){border-radius:10px}[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{clip-path:inset(0);box-shadow:inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow)}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{background:0 0;border:0;grid-area:1/2;padding:32px 32px 24px}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font-size:20px;font-weight:500;line-height:28px}[data-settings-panel] [data-settings-card] [data-settings-head] button{background:var(--surface);border-radius:50%;width:24px;height:24px}[data-settings-panel] [data-settings-card] [data-settings-head] button svg{width:16px;height:16px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 32px 32px;min-height:0;overflow-y:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]{background:var(--ground);border-radius:16px;padding:0 0 0 12px}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group][data-setting-layout=cards]{background:0 0;border-radius:0;flex-direction:column;gap:20px;padding:0;display:flex}[data-settings-panel] [data-setting-card]{background:var(--ground);border-radius:16px;min-width:0;padding-left:12px}[data-settings-panel] [data-setting-block]{flex-direction:column;gap:8px;min-width:0;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll]>[data-setting-group]>h3{display:none}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{border-top:0;border-bottom:1px solid var(--line-soft);gap:16px;min-height:52px;padding:10px 10px 10px 0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:last-child{border-bottom:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]+[data-sidebar-setting]{border-top:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] b{font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row] small{max-width:none;margin-top:2px;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect]{border-radius:8px;min-width:90px;height:32px;min-height:32px;padding:6px 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control]{gap:5px;font-size:12px}[data-settings-panel] [data-settings-card] [data-number-control] input{border-radius:8px;width:64px;height:32px;padding:6px;font-size:13px}[data-settings-panel] [data-settings-card] [data-number-control] button{min-height:32px;padding:4px 8px;font-size:12px}@media (width<=760px){:is([data-settings-panel] [data-settings-card][data-settings-card],.peach-react [data-modal-width=collections]){flex-direction:column;width:calc(100vw - 24px);max-width:calc(100vw - 24px);display:flex}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{border-right:0;flex-direction:row;flex-shrink:0;overflow-x:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]{white-space:nowrap;align-self:center;margin:0;padding:0 4px 0 8px}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] [data-settings-nav-caption]:first-child{padding-left:0}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-head]{padding:16px 20px 12px}[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding:var(--settings-gap) 20px 20px;flex:1}}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}html[data-theme-snapshot] [data-settings-panel] :is([data-settings-glide],[data-settings-card]>[data-settings-nav]){background-color:var(--ground)!important;transition:none!important}:is([data-settings-panel] [data-settings-nav]>[data-settings-glide],.peach-react [data-shortcuts-categories]>[data-shortcuts-glide]){z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-settings-panel] [data-settings-nav]>[data-settings-glide][hidden]{display:none}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-settings-panel] [data-settings-card][data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}}:is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#0000000d;--settings-error-drop:#0002}.dark :is([data-settings-panel],[data-modal-kind=collections]){--settings-card-drop:#00000080;--settings-error-drop:#0008}:is([data-settings-panel] [data-settings-card],.peach-react [data-modal-width=collections]){box-shadow:0 12px 40px var(--settings-card-drop)}[data-settings-panel] [data-settings-card]{border:1px solid var(--line)}[data-settings-panel] [data-settings-nav]{border-bottom:1px solid var(--line);scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}[data-settings-panel] [data-settings-nav] button{color:var(--ink-2);cursor:pointer;white-space:nowrap;background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;flex:none;padding:10px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}[data-settings-panel] [data-settings-nav] button[aria-selected=true]{border-bottom-color:var(--tungsten);color:var(--tungsten);font-weight:500}[data-settings-panel] [data-settings-nav] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}[data-settings-panel] [data-settings-card]{display:grid}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border:0;border-right:1px solid var(--line-soft);margin:0;overflow-y:auto}[data-settings-panel] [data-settings-scroll]{grid-area:2/2}[data-settings-panel] [data-settings-scroll]>[data-setting-group]{border:0;margin:0}[data-settings-panel] [data-settings-scroll] [data-setting-row]{grid-template-columns:minmax(0,1fr) auto}[data-settings-panel] [data-number-control]{align-items:center;gap:8px;display:flex}[data-settings-panel] [data-number-control] input{width:96px;padding:8px 10px}[data-settings-panel] [data-number-help]{font-size:11px!important}[data-settings-panel] [data-number-error]{color:#ef6868!important;font-size:12px!important}[data-settings-panel] [data-number-error]:empty{display:none}@media (width<=600px){[data-settings-panel] [data-number-control] input{width:110px}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:var(--tungsten)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{background:color-mix(in srgb,var(--tungsten) 12%,transparent)}}[data-settings-panel] [data-settings-nav] button[aria-selected=true] [class~=ui-board-tab-count]{color:var(--tungsten);opacity:1}@media (width<=1000px){[data-settings-panel] [data-settings-card]{width:calc(100vw - 32px)}}@media (width<=760px){[data-settings-panel] [data-settings-card]{flex-direction:column;width:calc(100vw - 24px);max-height:calc(100dvh - 24px);display:flex}[data-settings-panel] [data-settings-head]{padding:16px 20px}[data-settings-panel] [data-settings-card]>[data-settings-nav]{border-right:0;border-bottom:1px solid var(--line);background:var(--ground);flex-direction:row;padding:8px 12px;overflow-x:auto}[data-settings-panel] [data-settings-scroll]{min-height:0;padding:20px;overflow:auto}[data-settings-panel] [data-settings-nav]{gap:0}[data-settings-panel] [data-settings-nav] button{padding:10px 9px;font-size:13px}}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row][data-setting-sort]{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px;padding-block:12px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]{justify-content:end;gap:8px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls]>div{flex:0 112px;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{width:112px;min-width:0;padding:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{border-radius:8px;gap:6px;height:32px;padding:0 8px;font-size:13px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-help]{display:none}[data-settings-panel] [data-number-fields]{position:relative}[data-settings-panel] [data-settings-card] [data-number-control]{border:1px solid var(--line);background:var(--surface);border-radius:10px;align-items:stretch;gap:0;height:32px;display:flex;overflow:hidden}[data-settings-panel] [data-settings-card] [data-number-control] input{box-shadow:none;width:64px;min-width:0;height:30px;font:inherit;background:0 0;border:0;border-radius:0;outline:none;padding:6px 8px}[data-settings-panel] [data-settings-card] [data-number-control]:focus-within{box-shadow:0 0 0 3px var(--line);border-color:var(--muted)}[data-settings-panel] [data-settings-card] [data-number-control]>span{border-left:1px solid var(--line);color:var(--muted);background:var(--ground);align-items:center;padding:0 8px;font-size:12px;display:flex}[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){border-color:var(--error,#e5484d);box-shadow:0 0 0 2px var(--error,#e5484d)}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-control]:has([aria-invalid=true]){box-shadow:0 0 0 2px color-mix(in srgb,var(--error,#e5484d) 15%,transparent)}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){z-index:10;background:var(--ground);border:1px solid var(--error,#e5484d);width:max-content;max-width:240px;padding:6px 10px;position:absolute;top:calc(100% + 6px);right:0}@supports (color:color-mix(in lab, red, red)){[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){border:1px solid color-mix(in srgb,var(--error,#e5484d) 35%,var(--line))}}[data-settings-panel] [data-settings-card] [data-number-error]:not(:empty){box-shadow:0 4px 14px var(--settings-error-drop);color:var(--error,#e5484d);border-radius:8px;margin:0;font-size:12px;line-height:18px}[data-settings-panel] [data-settings-card] [data-number-error][hidden]{display:none}[data-settings-panel] [data-settings-card] [data-number-setting]{position:relative}[data-settings-panel] [data-toggle]{background:var(--color-background-tertiary-default);border:0;border-radius:999px;width:42px;height:24px;transition:background .2s}[data-settings-panel] [data-toggle]:after{width:18px;height:18px;transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);background:linear-gradient(#fff 44%,#f3f3f3);top:3px;left:3px;transform:none;box-shadow:0 3px 3px #00000008}[data-settings-panel] [data-toggle]:before{content:"";z-index:1;background:var(--surface);width:7.5px;height:7.5px;box-shadow:inset 0 0 0 .375px var(--line);transition:transform calc(var(--spring-press-ms)*1ms) var(--spring-press);border-radius:50%;position:absolute;top:8.25px;left:8.25px}[data-settings-panel] [data-toggle]:checked{background:var(--board-blue);box-shadow:inset 0 1.5px 0 #ffffff40,inset 0 0 0 .75px var(--color-accent-400)}[data-settings-panel] [data-toggle]:checked:after{left:3px;transform:translate(18px)}[data-settings-panel] [data-toggle]:checked:before{background:linear-gradient(var(--color-accent-700),var(--color-accent-500));transform:translate(18px)}[data-settings-panel] [data-toggle]:disabled{opacity:.5}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-toggle],[data-settings-panel] [data-toggle]:after,[data-settings-panel] [data-toggle]:before{transition:none}}@media (width<=760px){[data-settings-panel][data-settings-panel]{grid-template-columns:minmax(0,1fr);padding:12px}[data-settings-panel] [data-settings-card][data-settings-card]{width:calc(100vw - 24px);min-width:0;max-width:calc(100vw - 24px)}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]{flex-wrap:wrap;gap:8px 12px;display:flex}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]>:first-child{flex:1 1 max-content;min-width:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]:has(>span>small)>:first-child{flex-basis:0}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-row]>:last-child{flex:none;max-width:100%;margin-left:auto}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-setting-sort-controls] [class~=ui-gselect]{max-width:100%}[data-settings-panel] [data-settings-card]>[data-settings-nav]{min-width:0;max-width:100%}}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button){flex-shrink:0;place-items:center;padding:0;line-height:1;display:inline-grid}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)>svg{flex-shrink:0;place-self:center;margin:0;display:block}[data-settings-panel] :is([data-settings-head] button,[data-sidebar-row] button)[hidden]{display:none}[data-settings-panel] [data-settings-card][data-settings-card]{animation:board-dialog-in var(--board-dialog-motion) backwards;border:0}[data-settings-panel][data-closing] [data-settings-card][data-settings-card]{animation:board-dialog-out var(--board-dialog-motion) both}[data-settings-panel] [data-settings-card][data-settings-card],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-head],[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-scroll],html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]{background:var(--page)}html[class~=board-high-contrast] [data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav]{background:var(--ground);animation:none}[data-settings-panel] [data-settings-card] [data-settings-head]{z-index:2;box-shadow:none;clip-path:inset(0 0 -96px);transition:box-shadow .2s ease-out;position:relative}[data-settings-panel] [data-settings-card][data-scrolled] [data-settings-head]{box-shadow:var(--glass-shadow)}[data-settings-panel] [data-settings-card] [data-settings-head] h2{line-height:26px}@media (width<=760px){[data-settings-panel] [data-settings-card] [data-number-control] input{font-size:16px}[data-settings-panel] [data-settings-card] [data-number-control]{height:40px}[data-settings-panel] [data-settings-card] [data-number-control] input{height:38px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=ui-gselect],[data-settings-panel] [data-settings-card] [data-settings-scroll] [class~=gselectfield]{height:40px;font-size:14px}[data-settings-panel] [data-settings-card] [data-settings-scroll] [data-number-control]>span{font-size:14px}}@media (prefers-reduced-motion:reduce){[data-settings-panel] [data-settings-card] [data-settings-head]{transition:none}}[data-settings-panel] [data-sidebar-add-menu][data-sidebar-add-menu]{transform-origin:0 100%}[data-settings-panel] [data-settings-card] [data-settings-head] h2{font:var(--board-heading);letter-spacing:0}[data-settings-panel] [data-setting-row] b{font:var(--board-body)}[data-settings-panel] [data-setting-row] small{font:var(--board-compact)}@media (width<=760px){[data-settings-panel] [data-settings-card][data-settings-card] [data-settings-scroll]{padding-top:16px}}[data-settings-panel] [data-settings-scroll] [data-setting-row]{margin-right:0}[data-settings-panel] [data-settings-scroll] [data-setting-group]{border-bottom:0}[data-settings-panel] [data-setting-group][hidden]{display:none!important}:is([data-settings-panel] [data-settings-service],.peach-react [data-shortcuts-footer]){z-index:1;border-top:1px solid var(--line-soft);margin-top:auto;padding-top:16px;position:relative}[data-settings-panel] [data-settings-service] button{width:100%}[data-settings-panel] [data-settings-service] button>svg:last-child{margin-left:auto}[data-settings-panel] [data-settings-card][data-settings-card]>[data-settings-nav] button svg:has(>use[href^=\#i-]){fill:none;stroke:currentColor;stroke-width:2px}[data-settings-panel] [data-settings-service] button:disabled{color:var(--muted);cursor:not-allowed}[data-settings-panel] [data-settings-subheading]{color:var(--muted);font:var(--board-compact);margin:0;padding:16px 0 6px}[data-settings-panel] [data-setting-layout=cards] [data-settings-subheading]{padding:0 12px}[data-settings-panel] [data-settings-scroll] [data-settings-subheading]+[data-setting-row]{border-top:0}@media (width<=760px){[data-settings-panel] [data-settings-service]{border-top:0;border-left:1px solid var(--line-soft);flex-shrink:0;margin-top:0;padding:0 0 0 12px}}@keyframes settings-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes settings-backdrop-out{0%{opacity:1}to{opacity:0}}@keyframes settings-dialog-in{0%{opacity:0;transform:translateY(-40px)}to{opacity:1;transform:translate(0)}}@keyframes settings-dialog-out{0%{opacity:1;transform:translate(0)}to{opacity:0;transform:translateY(-40px)}}[data-immerse-circle]{box-sizing:border-box;color:#f1f1f1;cursor:pointer;background:#ffffff1a;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid}[data-immerse-circle]:hover{background:#ffffff2e}[data-immerse-circle]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-circle] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block}[data-immerse]{z-index:200;background:#0f0f0f;justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:hidden}[data-immerse][hidden]{display:none}body[data-immerse-open]{overflow:hidden}[data-immerse-stage]{aspect-ratio:9/16;width:min(56.25vh,100vw - 240px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-stage][data-wide]{aspect-ratio:16/9;width:min(64vw,177.778vh);left:50%;right:auto;transform:translate(-50%,-50%)}[data-immerse-track]{border-radius:var(--floating-radius);touch-action:manipulation;cursor:pointer;background:#000;position:absolute;inset:0;overflow:hidden;box-shadow:0 0 64px #00000057}[data-immerse][data-idle] :is([data-immerse-stage],[data-immerse-ui],[data-immerse-bar]){visibility:hidden}[data-immerse-track] [data-immerse-slide]{will-change:transform;background:#000;transition:transform .2s cubic-bezier(.2,.2,.4,.9);position:absolute;inset:0}[data-immerse-slide]>.video-js{background:#000;width:100%;height:100%;position:absolute;inset:0}[data-immerse-track] video{object-fit:cover;background:#000;width:100%;max-width:none;height:100%;max-height:none;position:absolute;inset:0}[data-immerse-track] video[data-fit=contain]{object-fit:contain}[data-immerse-loader]{z-index:12;border-radius:var(--pill-radius);color:#fff;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);pointer-events:none;font:var(--fs-xs)/1 "Cascadia Mono",monospace;white-space:nowrap;background:#00000094;border:1px solid #ffffff3d;align-items:center;gap:10px;padding:10px 14px;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-immerse-loader][hidden]{display:none}[data-immerse-spinner]{display:contents}[data-immerse-ui]{color:#f1f1f1;pointer-events:none;width:min(520px,50% - 28.125vh - 36px);padding:0;position:absolute;bottom:20px;left:20px}[data-immerse][data-wide] [data-immerse-ui]{width:min(500px,36vw - 56px)}[data-immerse]:has([data-immerse-bar] [data-player-seek-preview]:not([hidden])) [data-immerse-ui]{visibility:hidden}[data-immerse-actions]{flex-direction:column;align-items:center;gap:16px;width:72px;display:flex;position:absolute;bottom:8px;left:calc(100% + 12px)}[data-immerse-stage][data-wide] [data-immerse-actions]{bottom:18px;left:auto;right:12px}[data-immerse-action]{color:#f1f1f1;flex-direction:column;align-items:center;gap:6px;display:flex}[data-immerse-actions] button{transition:background .14s;position:relative}[data-immerse-actions] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}[data-immerse-label]{font-size:var(--fs-xs);white-space:nowrap;font-weight:500;line-height:1.25}[data-immerse-label] b{font:inherit}[data-immerse-bar]{z-index:3;cursor:pointer;touch-action:none;align-items:flex-end;height:20px;display:flex;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar]:before{content:"";background:#ffffff29;height:4px;transition:height .12s;position:absolute;bottom:0;left:0;right:0}[data-immerse-bar]>i{background:var(--tungsten);width:0;height:4px;transition:height .12s;display:block;position:relative}[data-immerse-bar]:hover:before,[data-immerse-bar]:hover>i,[data-immerse-bar][data-scrubbing]:before,[data-immerse-bar][data-scrubbing]>i{height:9px}[data-immerse-author]{font-size:var(--fs-md);align-items:center;gap:10px;margin-bottom:12px;line-height:1.2;display:flex}[data-immerse-author]>a{text-overflow:ellipsis;white-space:nowrap;color:#f1f1f1;pointer-events:auto;min-width:0;font-weight:600;text-decoration:none;overflow:hidden}[data-immerse-author]>a:hover{color:var(--tungsten);text-decoration:none}[data-immerse-author]>span{white-space:nowrap;color:#aaa;font-size:var(--fs-sm);flex:none}[data-immerse-avatar]{color:#f1f1f1;cursor:pointer;pointer-events:auto;background:#333;border:0;border-radius:50%;flex:none;width:40px;height:40px;padding:0;position:relative;overflow:hidden}[data-immerse-avatar] img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}[data-immerse-avatar] [class~=ini]{place-items:center;font-weight:600;display:grid;position:absolute;inset:0}[data-immerse-avatar]:hover{box-shadow:0 0 0 2px #f1f1f1}[data-immerse-ui] [data-immerse-title]{max-width:100%;color:inherit;font:inherit;font-size:var(--fs-xl);text-align:left;cursor:pointer;pointer-events:auto;text-overflow:ellipsis;white-space:nowrap;background:0 0;border:0;margin:0;padding:0;font-weight:600;line-height:1.25;display:block;overflow:hidden}[data-immerse-ui] [data-immerse-title]:hover{color:var(--ink-2)}[data-immerse-actions] button[aria-pressed=true]{color:#0f0f0f;background:#f1f1f1}[data-immerse-close]{color:#eee;cursor:pointer;background:#00000080;border:0;border-radius:50%;place-items:center;width:42px;height:42px;padding:0;display:grid;position:absolute;top:15px;right:15px}[data-immerse-close] svg{stroke:currentColor;fill:none;width:21px;height:21px}@media (width<=760px){[data-immerse-stage],[data-immerse-stage][data-wide]{aspect-ratio:auto;width:100%;height:100%;inset:0;transform:none}[data-immerse-track]{box-shadow:none;border-radius:0}[data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));gap:14px;width:56px;bottom:92px}[data-immerse-stage][data-wide] [data-immerse-actions]{left:auto;right:max(8px,env(safe-area-inset-right));bottom:92px}[data-immerse-ui]{width:auto;padding:0 0 env(safe-area-inset-bottom);bottom:28px;left:14px;right:82px}[data-immerse][data-wide] [data-immerse-ui]{width:auto}[data-immerse-author]{margin-bottom:8px}[data-immerse-author]>span{display:none}[data-immerse-avatar]{width:36px;height:36px}[data-immerse-ui] [data-immerse-title]{font-size:var(--fs-md)}[data-immerse-close]{top:max(10px,env(safe-area-inset-top));right:max(10px,env(safe-area-inset-right))}}[data-sidebar-drawer]{--sidebar-drop:#0000000d;--sidebar-pick-drop:#00000014;--sidebar-thumb-drop:#0000001a}.dark [data-sidebar-drawer]{--sidebar-drop:#00000080;--sidebar-pick-drop:#0000008c;--sidebar-thumb-drop:#00000080}[data-sidebar-chip][data-online]{background:#5ac8d81a;border-color:#5ac8d86b}[data-sidebar-nav] button[data-nav]{position:relative}html>body{padding-left:var(--railW)}@media (width<=760px){html>body{padding-left:0}}[data-sidebar-drawer]{z-index:97;background:linear-gradient(180deg,var(--frost-light),var(--frost-panel));-webkit-backdrop-filter:saturate(1.8)blur(20px);backdrop-filter:saturate(1.8)blur(20px);border-right:1px solid var(--line);width:360px;transition:transform .2s cubic-bezier(.3,.8,.3,1);position:fixed;top:0;bottom:0;left:0;overflow:hidden;transform:translate(-100%)}[data-sidebar-scroll]{box-sizing:border-box;scrollbar-width:none;height:100%;padding:16px 12px 60px;overflow:hidden auto}[data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-nav] button{padding-left:0}[data-sidebar-nav] svg{width:24px;height:24px;margin:0 15px 0 24px}[data-sidebar-head]{justify-content:space-between;align-items:center;display:flex}[data-sidebar-nav]{--sidebar-reorder-ms:250;flex-direction:column;gap:3px;margin-bottom:18px;display:flex;position:relative}[data-sidebar-nav] button{border-radius:var(--control-radius);cursor:pointer;text-align:left;font-size:var(--fs-lg);color:var(--muted);background:0 0;border:0;align-items:center;gap:14px;padding:11px 14px;display:flex}[data-sidebar-nav] button:hover{background:var(--hover)}[data-sidebar-nav] button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-nav] svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}[data-sidebar-drawer] [data-sidebar-chip]{font-size:var(--fs-xs);padding:4px 10px}[data-sidebar-scrim]{z-index:95;opacity:0;pointer-events:none;transition:opacity .18s,display .18s allow-discrete;background:#0000006b;display:none;position:fixed;inset:0}[data-sidebar-scrim][class~=on]{opacity:1;pointer-events:auto;display:block}@starting-style{[data-sidebar-scrim][class~=on]{opacity:0}}[data-sidebar-group]{border-top:1px solid var(--line-soft);margin-bottom:13px;padding-top:11px}[data-sidebar-group]:first-of-type{border-top:0;padding-top:0}[data-sidebar-chips]{flex-wrap:wrap;gap:4px;display:flex}[data-sidebar-chip] img,[data-sidebar-chip]>svg{width:var(--icon-inline);height:var(--icon-inline);border-radius:var(--badge-radius);object-fit:contain;flex:none}[data-sidebar-source-icon]{min-width:var(--icon-inline);object-fit:contain;width:var(--icon-inline)!important;height:var(--icon-inline)!important;opacity:1!important;filter:none!important;display:block!important}[data-sidebar-chip]>svg{stroke:currentColor;fill:none;stroke-width:2px}[data-sidebar-chip]{padding:var(--tag-pad-y) var(--tag-pad-x);border:1px solid var(--line);border-radius:var(--tag-radius);cursor:pointer;font-size:var(--fs-xs);background:0 0;align-items:center;gap:6px;display:inline-flex}[data-sidebar-chip]:hover{color:var(--ink)}[data-sidebar-chip][aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip]{color:#d2703f;border-color:#d2703f44}[data-sidebar-group][data-sidebar-kind=artist] [data-sidebar-chip][aria-pressed=true]{background:#d2703f22;border-color:#d2703f}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip]{color:#6c9bd6;border-color:#6c9bd644}[data-sidebar-group][data-sidebar-kind=general] [data-sidebar-chip][aria-pressed=true]{background:#6c9bd622;border-color:#6c9bd6}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip]{color:var(--muted);border-color:var(--line)}[data-sidebar-group][data-sidebar-kind=meta] [data-sidebar-chip][aria-pressed=true]{background:var(--hover);border-color:var(--ink-2);color:var(--ink)}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip]{color:#7fbf7f;border-color:#7fbf7f44}[data-sidebar-group][data-sidebar-kind=src] [data-sidebar-chip][aria-pressed=true]{background:#7fbf7f22;border-color:#7fbf7f}[data-sidebar-chip] [data-sidebar-count]{font-size:var(--fs-xs);color:var(--muted);font-variant-numeric:tabular-nums}[data-sidebar-cost]{border-radius:50%;flex:none;width:5px;height:5px}[data-sidebar-cost=free]{background:var(--keep)}[data-sidebar-cost=metered]{background:var(--meter)}[data-sidebar-duration]{padding:3px 2px 8px}[data-sidebar-range]{--lo:0%;--hi:100%;height:28px;position:relative}[data-sidebar-range-base],[data-sidebar-range-fill]{border-radius:var(--pill-radius);background:var(--line);height:4px;position:absolute;top:12px;left:0;right:0}[data-sidebar-range-fill]{left:var(--lo);right:calc(100% - var(--hi));background:var(--ink)}[data-sidebar-range] input{pointer-events:none;appearance:none;background:0 0;width:100%;height:28px;margin:0;position:absolute;inset:0}[data-sidebar-range] input::-webkit-slider-thumb{appearance:none;background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:16px;height:16px;transition:box-shadow .12s}[data-sidebar-range] input:hover::-webkit-slider-thumb{box-shadow:0 0 0 4px var(--hover)}[data-sidebar-range] input:focus-visible::-webkit-slider-thumb{outline:2px solid var(--tungsten);outline-offset:2px}[data-sidebar-range] input::-moz-range-thumb{background:var(--ground);border:2px solid var(--ink);pointer-events:auto;cursor:grab;border-radius:50%;width:14px;height:14px}[data-sidebar-chip][data-offline]{opacity:.42;cursor:not-allowed;text-decoration:none}[data-sidebar-chip][data-offline] [data-sidebar-count]{text-decoration:none}html[data-theme-snapshot] :is([data-sidebar-drawer],[data-sidebar-glide]){-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background-color:var(--ground)!important;transition:none!important}[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--glass-drift-a),var(--glass-drift-b),linear-gradient(125deg,var(--glass-sheen),transparent 42%,var(--glass-low)),var(--glass-fill);animation:glassdriftx calc(41s * var(--glow-drift-scale)) linear infinite,glassdrifty calc(67s * var(--glow-drift-scale)) linear infinite;animation-play-state:var(--glow-drift-play);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);box-shadow:inset 0 1px 0 var(--glass-rim),inset 1px 0 0 var(--glass-low),inset -1px 0 0 var(--glass-low),inset 0 -1px 0 var(--glass-low),var(--glass-shadow);background-position:50% 20%,80% 70%,0 0;background-repeat:no-repeat,no-repeat,repeat;background-size:200% 200%,200% 200%,auto;border:0}:root:not([data-glow-native]) [data-sidebar-drawer][data-sidebar-drawer]{--glass-drift-a:none;--glass-drift-b:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:0;pointer-events:none;will-change:translate,scale;background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);-webkit-backdrop-filter:var(--glass-pick);backdrop-filter:var(--glass-pick);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow);border-radius:8px;position:absolute;top:0;left:0}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide][hidden]{display:none}[data-sidebar-drawer][data-sidebar-drawer]>[data-sidebar-glide]{z-index:-1;border-radius:10px}[data-sidebar-nav] button{transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press)}[data-sidebar-nav] button:active{transition:scale 60ms ease-out;scale:.96}[data-sidebar-drawer][data-sidebar-drawer]{border-radius:26px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]){color:var(--glass-text)}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true],[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{-webkit-backdrop-filter:none;backdrop-filter:none;color:var(--glass-text);filter:none;box-shadow:none;background:0 0}[data-sidebar-drawer][data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:hover{color:var(--glass-text);background:0 0}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);animation:none}}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer][data-sidebar-drawer],[data-sidebar-drawer][data-sidebar-drawer][class~=open]{animation:none}}html[class~=board-high-contrast] [data-sidebar-drawer][data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;animation:none}[data-sidebar-drawer]{box-shadow:0 12px 40px var(--sidebar-drop)}body[class~=drawer-open]{--railW:296px}[data-sidebar-drawer]{background:var(--ground);-webkit-backdrop-filter:none;backdrop-filter:none;border:1px solid var(--line);border-radius:24px;width:272px;transition:none;top:12px;bottom:12px;left:12px;transform:translate(calc(-100% - 16px));box-shadow:0 2px 4px #00000003}[data-sidebar-drawer][class~=open]{transform:none;box-shadow:0 2px 4px #00000003}[data-sidebar-scroll]{padding:20px 12px 24px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin:16px 0 24px}[data-sidebar-drawer] [data-sidebar-nav] button{border-radius:10px;gap:12px;height:40px;padding:8px 12px;font-size:14px;font-weight:400;line-height:20px}[data-sidebar-drawer] [data-sidebar-nav] svg{width:var(--icon-inline);height:var(--icon-inline);margin:0}[data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]{background:var(--board-blue);color:#fff;box-shadow:inset 0 1px 1px #ffffff50,0 1px 2px var(--sidebar-pick-drop)}[data-sidebar-scrim][class~=on]{display:none}[data-sidebar-drawer] #brandHome{color:var(--ink);align-items:center;gap:10px;margin-right:auto;text-decoration:none;display:flex}[data-sidebar-drawer] #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer] #brandHome h1{letter-spacing:.02em;font-size:20px}[data-sidebar-drawer] #brandHome [class~=sub]{display:none}@media (width<=760px){body[class~=drawer-open]{--railW:0px}[data-sidebar-drawer]{z-index:97;border-radius:20px;width:min(320px,100vw - 24px);top:64px;bottom:12px}[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:var(--ground)}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drawer][data-sidebar-drawer]{--glass-fill:color-mix(in srgb,var(--ground) 86%,transparent)}}[data-sidebar-scrim][class~=on]{display:block;top:56px}}@media (width>=761px){html>body{transition:padding-left var(--board-motion)}}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{background:0 0;border-radius:8px;flex:none;place-items:center;width:36px;height:36px;padding:0;display:grid}[data-sidebar-drawer] [data-sidebar-head] #filterBtn svg{width:20px;height:20px;margin:0}[data-sidebar-drawer] [data-sidebar-head]{gap:8px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button span{white-space:nowrap;opacity:1;filter:blur();min-width:0;max-width:190px;transition:max-width var(--board-motion),opacity var(--board-motion),filter var(--board-motion);overflow:hidden}@media (width>=761px){[data-sidebar-drawer][data-sidebar-drawer]{width:60px;transition:width var(--board-motion);border-radius:24px;transform:none}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{width:260px}body[class~=drawer-open]{--railW:284px}[data-sidebar-drawer] [data-sidebar-scroll]{padding:12px}[data-sidebar-drawer] [data-sidebar-nav] button{gap:8px;min-width:36px;padding:8px}[data-sidebar-drawer] [data-sidebar-nav] button svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button span{opacity:0;filter:blur(4px);max-width:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{gap:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-group]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse}[data-sidebar-drawer]:not([class~=open]) #brandHome{margin:0}[data-sidebar-drawer]:not([class~=open]) #brandHome h1{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{height:20px}}@media (width<=760px){[data-sidebar-drawer][data-sidebar-drawer]{z-index:102;transition:transform var(--board-dialog-motion);top:12px;bottom:12px;transform:translate(calc(-100% - 16px))}[data-sidebar-drawer][data-sidebar-drawer][class~=open]{transform:translate(0)}[data-sidebar-scrim][data-sidebar-scrim][class~=on]{z-index:101;visibility:hidden;background:0 0;top:0}[data-sidebar-scrim][data-sidebar-scrim][class~=on]:before{content:"";visibility:visible;background:#0007;position:absolute;inset:0}}[data-sidebar-drawer][data-sidebar-drawer]{flex-direction:column;display:flex;overflow:hidden}[data-sidebar-drawer] [data-sidebar-scroll]{scrollbar-width:none;flex:1;min-height:0}[data-sidebar-drawer] [data-sidebar-scroll]::-webkit-scrollbar{display:none}[data-sidebar-drawer] [class~=ovtrack]{display:none}[data-sidebar-drawer] #brandHome{border-radius:24px;flex:1;min-width:0}[data-sidebar-drawer] #brandHome h1{letter-spacing:0;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:500;line-height:20px;overflow:hidden}[data-sidebar-head] [class~=mark]{background:var(--picked);color:var(--ink-2);border-radius:50%;place-items:center;display:grid}[data-sidebar-head] [class~=mark]>svg,[data-sidebar-head] [class~=mark]>img{object-fit:contain;fill:none;stroke:currentColor;width:24px;height:24px}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [class~=board-library-chevron]{display:none}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{flex-direction:column-reverse;min-height:80px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:36px;display:grid}[data-sidebar-drawer]:not([class~=open]) #brandHome{flex:none;justify-content:center;gap:0;width:36px;height:36px}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:28px;height:28px}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button{justify-content:center;width:36px;height:36px;min-height:36px;padding:8px}}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]{border:0;margin:4px 0 0;padding:0}[data-sidebar-toggle]{min-width:0;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:10px;flex:1;align-items:center;gap:8px;padding:8px;display:flex}[data-sidebar-toggle]:hover{background:var(--hover)}[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:0 0 0 2px var(--line);border-radius:var(--pill-radius)}[data-sidebar-head] #brandHome [class~=mark]{background:0 0;border-radius:0;place-items:center;display:grid}[data-sidebar-head] [class~=mark] svg{stroke-width:2px;width:20px;height:20px}[data-sidebar-drawer] [data-sidebar-nav] button svg{width:var(--icon-inline);height:var(--icon-inline);stroke-width:2px}[data-sidebar-home-logo]{width:var(--icon-inline);height:var(--icon-inline);object-fit:contain;flex:none}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:hover,[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button[aria-pressed=true]:active{background:var(--board-blue);color:#fff;filter:brightness(1.08)}[data-sidebar-toggle]>span{color:var(--muted);font-size:12px;font-weight:500;line-height:20px}[data-sidebar-toggle] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;transition:transform var(--motion-swap);flex:none;order:2;margin-left:auto;transform:rotate(0)}[data-sidebar-toggle][aria-expanded=true] svg{transform:rotate(90deg)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chips]{flex-direction:column;gap:2px;padding-left:8px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]{width:100%;min-width:0;min-height:36px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:10px;gap:8px;padding:8px;font-size:14px;font-weight:400;line-height:20px;display:flex}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip][aria-pressed=true]{color:var(--ink);background:var(--picked)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip-label]{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] [data-sidebar-count]{background:var(--surface);color:var(--muted);border-radius:4px;flex:none;margin-left:auto;padding:1px 4px;font-size:12px;line-height:16px}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-chip] svg{width:var(--icon-inline);height:var(--icon-inline);flex:none}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]{border:1px solid var(--line);background:var(--surface);width:40px;height:20px;color:var(--muted);box-shadow:var(--elevation-xs);border-radius:999px;place-items:center;margin:6px auto 2px;padding:0;transition:background-color .15s,color .15s;display:grid}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more]:hover{background:var(--hover);color:var(--ink)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:14px;height:14px;transition:transform .2s cubic-bezier(0,0,.2,1)}[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){[data-sidebar-drawer] [data-sidebar-body] [data-sidebar-more] svg{transition:none}}[data-sidebar-drawer] [data-sidebar-nav] button{font:var(--board-body)}[data-sidebar-head] #brandHome [class~=mark]{color:var(--glass-text)}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-nav] button:has([data-sidebar-home-logo]){padding:8px}[data-sidebar-drawer][data-sidebar-drawer] [data-sidebar-nav] button:not([aria-pressed=true]),[data-sidebar-head] #brandHome [class~=mark]{color:var(--color-text-secondary)}[data-sidebar-head] #brandHome:hover{background:var(--color-background-primary-hover);border-radius:var(--pill-radius)}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]{box-sizing:border-box;width:100%;min-height:36px;color:var(--color-text-secondary);font:var(--board-caption);border-radius:8px;gap:8px;margin:0 0 4px;padding:8px 10px;list-style:none;display:flex}[data-sidebar-toggle]::-webkit-details-marker{display:none}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-toggle]:hover{background:var(--picked)}[data-sidebar-toggle]>span{flex:1;min-width:0}[data-sidebar-toggle]>svg{flex:none;order:3;margin-left:auto}[data-sidebar-drawer] [data-sidebar-group][data-sidebar-kind]>[data-sidebar-collapse]>[data-sidebar-collapse-body]{padding:0 0 0 10px}[data-sidebar-range] [data-sidebar-range-base],[data-sidebar-range] [data-sidebar-range-fill]{height:6px;top:11px}[data-sidebar-range] [data-sidebar-range-base]{background:var(--color-background-tertiary-default);box-shadow:inset 0 1px 1px #0000000f}[data-sidebar-range] [data-sidebar-range-fill]{background:linear-gradient(90deg,var(--color-accent-400),var(--color-accent-600));box-shadow:inset 0 1px #ffffff3d,0 1px 2px #0450e229}body :is([data-sidebar-range] input)::-webkit-slider-thumb{appearance:none;border:1px solid var(--color-border-button-default);width:20px;height:20px;box-shadow:0 2px 4px var(--sidebar-thumb-drop),inset 0 1px 0 #fffc;cursor:grab;transition:scale calc(var(--spring-press-ms) * 1ms) var(--spring-press),box-shadow .15s;background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}body :is([data-sidebar-range] input):active::-webkit-slider-thumb{transition:scale 60ms ease-out;scale:1.18}body :is([data-sidebar-range] input)::-moz-range-thumb{border:1px solid var(--color-border-button-default);width:18px;height:18px;box-shadow:0 2px 4px var(--sidebar-thumb-drop);background:radial-gradient(circle,#fff 3px,#e5e5e5 3.5px,#fff 4px);border-radius:50%}[data-sidebar-range-tip]{z-index:1;transform:translateX(calc(-50% + var(--range-tip-shift,0px)));border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);font:var(--board-caption);white-space:nowrap;box-shadow:var(--elevation-xs);pointer-events:none;border-radius:8px;padding:4px 8px;position:absolute;bottom:calc(100% + 4px)}[data-sidebar-range-tip][data-range-active]{z-index:2}[data-sidebar-range]{margin-top:36px}[data-sidebar-drawer] [data-sidebar-nav]{gap:4px;margin-top:12px}[data-sidebar-drawer] #brandHome{box-sizing:border-box;height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-nav] button{height:36px;min-height:36px}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{color:var(--color-text-secondary);border-radius:0;transition:color .15s}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px}}[data-sidebar-head] #brandHome{flex:0 auto;gap:8px;max-width:calc(100% - 28px);padding:2px;position:relative}[data-sidebar-head] #brandHome:before{content:"";border:2px solid var(--color-border-button-default);opacity:0;pointer-events:none;border-radius:999px;transition:opacity .15s;position:absolute;inset:-5px -6px}[data-sidebar-head] #brandHome:hover,[data-sidebar-head] #brandHome[aria-expanded=true]{box-shadow:none;background:0 0}[data-sidebar-head] #brandHome:hover:before,[data-sidebar-head] #brandHome[aria-expanded=true]:before{opacity:1}[data-sidebar-head] #brandHome [class~=mark]{background:var(--color-background-tertiary-default);border-radius:50%;width:32px;height:32px}[data-sidebar-head] #brandHome [class~=sub]{display:none}[data-sidebar-drawer] [data-sidebar-head] #filterBtn{width:20px;height:20px;box-shadow:none;background:0 0;padding:0}[data-sidebar-drawer] [data-sidebar-head] #filterBtn:hover{color:var(--color-text-primary);background:0 0}@media (width>=761px){[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head]{gap:10px;min-height:0}[data-sidebar-drawer]:not([class~=open]) [data-sidebar-head] #filterBtn{width:36px;height:20px}[data-sidebar-drawer]:not([class~=open]) #brandHome{width:32px;max-width:none;height:32px;min-height:32px;padding:0}[data-sidebar-drawer]:not([class~=open]) #brandHome [class~=mark]{width:32px;height:32px}}[data-sidebar-nav] button{touch-action:none;-webkit-user-select:none;user-select:none;translate:0 var(--sidebar-nudge,0px);transition:translate calc(var(--sidebar-reorder-ms)*1ms) var(--spring-press) var(--sidebar-delay,0s),scale calc(var(--spring-press-ms)*1ms) var(--spring-press)}[data-sidebar-nav][data-reordering] button{cursor:grabbing}[data-sidebar-nav] button[data-dragging]{top:var(--sidebar-picked-top);z-index:3;width:100%;scale:.9;transform:translate3d(var(--sidebar-drag-x,18px),var(--sidebar-drag-y,0px),0);box-shadow:var(--glass-pick-shadow);cursor:grabbing;will-change:transform;position:absolute;left:0;background:var(--ground)!important}[data-sidebar-drawer]:has([data-sidebar-nav][data-reordering])>[data-sidebar-glide]{opacity:0}[data-sidebar-drop-line]{transform:translateY(var(--sidebar-line-top));z-index:2;pointer-events:none;height:2px;transition:transform calc(var(--sidebar-reorder-ms)*1ms) var(--spring-press);position:absolute;top:0;left:10px;right:10px}[data-sidebar-drop-line]>span{border-radius:var(--pill-radius);background:var(--ink);height:100%;display:block}@supports (color:color-mix(in lab, red, red)){[data-sidebar-drop-line]>span{background:color-mix(in srgb,var(--ink) 15%,transparent)}}[data-sidebar-drop-line]>span{transform-origin:50%;transition:transform var(--motion-swap);transform:scaleX(1)}@starting-style{[data-sidebar-drop-line]>span{transform:scaleX(0)}}[data-sidebar-order-status]{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}@media (prefers-reduced-motion:reduce){[data-sidebar-nav] button{transition:none;translate:none}[data-sidebar-nav][data-reordering] button[data-dragging]{width:auto;box-shadow:none;position:static;transform:none;background:0 0!important}[data-sidebar-drop-line],[data-sidebar-drop-line]>span{transition:none}@starting-style{[data-sidebar-drop-line]>span{transform:none}}}.peach-guide-center,.peach-guide-popover{--gradient-button-primary-default:linear-gradient(var(--ink), var(--ink));--gradient-button-primary-hover:linear-gradient(var(--ink), var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-guide-center,.peach-guide-popover{--gradient-button-primary-hover:linear-gradient(color-mix(in srgb, var(--ink) 88%, var(--ground)), color-mix(in srgb, var(--ink) 88%, var(--ground)))}}.peach-guide-center,.peach-guide-popover{--gradient-button-primary-active:var(--gradient-button-primary-hover);--gradient-button-primary-disabled:linear-gradient(var(--surface), var(--surface));--color-button-primary-disabled-foreground:var(--muted);--color-button-ghost-background:transparent;--color-button-ghost-foreground:var(--muted);--color-button-ghost-hover:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-guide-center,.peach-guide-popover{--color-button-ghost-hover:color-mix(in srgb, var(--ink) 8%, var(--ground))}}.peach-guide-center,.peach-guide-popover{--color-button-ghost-active:var(--color-button-ghost-hover)}:is(.peach-guide-center,.peach-guide-popover) .bg-button-primary:not(:disabled):not([aria-disabled=true]){color:var(--ground)}.peach-guide-center{border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:min(680px,100vw - 32px);height:min(740px,100dvh - 32px);max-height:min(740px,100dvh - 32px);color:var(--ink);box-shadow:var(--elevation-dropdown);padding:0;overflow:hidden}.peach-guide-center>[role=dialog]{height:100%;max-height:inherit;overflow:hidden}.peach-guide-topic-icon{width:var(--control-h);height:var(--control-h);border-radius:var(--control-radius);background:var(--color-background-tertiary-default);color:var(--color-text-primary);flex:none;justify-content:center;align-items:center;display:inline-flex}.peach-guide-topics{flex-direction:column;display:flex}.peach-guide-topic{border-bottom:1px solid var(--line-soft)}.peach-guide-topic:last-child{border-bottom:0}.peach-guide-topic summary{gap:12px;padding:12px 0}.peach-guide-topic-chapters{margin:-8px -12px 12px}.peach-guide-scroll-frame{flex:1;min-height:0;display:flex;position:relative}.peach-guide-body{overscroll-behavior:contain;flex:1;min-height:0;padding:4px 24px 24px;overflow:auto}.peach-guide-chapters{flex-direction:column;gap:4px;margin-inline:-12px;display:flex}.peach-guide-routes{margin:0;padding:0;list-style:none}.peach-guide-routes>li,.peach-guide-routes>div{border-bottom:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:16px;padding:12px 0;display:flex}.peach-guide-routes>:first-child{padding-top:0}.peach-guide-routes>:last-child{border-bottom:0}.peach-guide-routes strong{font-size:var(--fs-md);font-weight:500;line-height:1.5}.peach-guide-routes p{font-size:var(--fs-sm);color:var(--muted);margin-top:4px;line-height:1.5}.peach-guide-routes button{flex:none}#tutorialBtn[hidden]{display:none}.driver-popover.peach-guide-popover{border:1px solid var(--line);border-radius:var(--floating-radius);background:var(--ground);width:min(360px,100vw - 24px);min-width:0;max-width:calc(100vw - 24px);color:var(--ink);box-shadow:var(--elevation-dropdown);font-family:var(--font-sans);padding:0}.peach-guide-popover-content{border-radius:inherit;flex-direction:column;max-height:calc(100dvh - 24px);display:flex;overflow:hidden}.peach-guide-step-frame{min-height:0;position:relative}.peach-guide-step-body{overscroll-behavior:contain;max-height:calc(100dvh - 170px);overflow:auto}.peach-guide-popover .driver-popover-arrow-side-top{border-top-color:var(--ground)}.peach-guide-popover .driver-popover-arrow-side-bottom{border-bottom-color:var(--ground)}.peach-guide-popover .driver-popover-arrow-side-left{border-left-color:var(--ground)}.peach-guide-popover .driver-popover-arrow-side-right{border-right-color:var(--ground)}.driver-overlay,.driver-active .driver-active-element{z-index:var(--layer-popover)!important}.driver-popover.peach-guide-popover{z-index:var(--layer-tooltip)!important}[data-player-guide] .vjs-control-bar{opacity:1!important;visibility:visible!important;display:flex!important}[data-player-guide] .vjs-big-play-button{display:none!important}@media (width<=600px){.peach-guide-center{width:calc(100vw - 16px)}[data-modal-kind=tutorial]{padding:8px}.peach-guide-center header,.peach-guide-tools{padding-left:16px;padding-right:16px}.peach-guide-body{padding:4px 16px 16px}.peach-guide-chapters{margin-inline:-8px}.peach-guide-chapters>button{padding-inline:8px}.peach-guide-routes>li,.peach-guide-routes>div{grid-template-columns:var(--control-h) minmax(0, 1fr);align-items:start;gap:12px;display:grid}.peach-guide-routes button{grid-column:2;justify-self:start}}:where(.peach-react label[data-rac]:has(>span>input:is([type=radio],[type=checkbox]))){position:relative}:root{--font-inter:"Inter Variable", "Inter";--font-sans:var(--font-inter), "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Noto Sans SC", "Source Han Sans SC", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"}:lang(ja){font-family:var(--font-inter), "Yu Gothic UI", "Meiryo UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans CJK JP", "Noto Sans JP", "Source Han Sans JP", ui-sans-serif, system-ui, sans-serif}.peach-react [data-long-text]{text-wrap:pretty;hanging-punctuation:allow-end;line-height:1.75}.peach-react [data-long-text]:not(:lang(en)){text-align:justify}:root{--icon-inline:1.2em;--control-h-inline:28px;--control-h-compact:32px;--control-h:36px;--control-h-large:40px;--elevation-2xs:0 1px #0000000d;--elevation-xs:0 1px 2px 0 #0000000d;--elevation-sm:0 1px 2px 0 #0000000f, 0 1px 3px 0 #0000001a;--elevation-md:0 2px 4px -1px #0000000f, 0 4px 6px -1px #0000001a;--elevation-lg:0 4px 6px -2px #0000000d, 0 10px 15px -3px #0000001a;--elevation-xl:0 10px 10px -5px #0000000a, 0 20px 25px -5px #0000001a;--elevation-card:0 1px 1px 0 #0000000d;--elevation-dropdown:0 1px 1px 0 #0000000a, 0 4px 4px 0 #00000005;--elevation-sidebar:0 1px 0 0 #00000005, 0 1px 12px 0 #0000000f, 0 0 1px 0 #00000052;--elevation-waitlist:0 0 6px 0 #0000000f, 0 0 64px 0 #00000029, 0 0 1px 0 #00000052, 0 1px 12px 0 #0000000f, 0 1px 0 0 #00000005}.dark{--elevation-2xs:0 1px #00000029;--elevation-xs:0 1px 2px 0 #0000002e;--elevation-sm:0 1px 2px 0 #0000001f, 0 1px 3px 0 #00000029;--elevation-md:0 2px 4px -1px #0000001f, 0 4px 6px -1px #0000002e;--elevation-lg:0 4px 6px -2px #0000001a, 0 10px 15px -3px #0000002e;--elevation-xl:0 10px 10px -5px #00000014, 0 20px 25px -5px #0003;--elevation-card:0 1px 1px 0 #00000024;--elevation-dropdown:0 1px 1px 0 #00000024, 0 4px 4px 0 #0000001a;--elevation-sidebar:0 1px 0 0 #0000001a, 0 1px 12px 0 #00000029, 0 0 1px 0 #0000006b;--elevation-waitlist:0 0 6px 0 #0000001f, 0 0 64px 0 #00000038, 0 0 1px 0 #0000006b, 0 1px 12px 0 #00000024, 0 1px 0 0 #00000014}.peach-react{font-family:var(--font-sans);color:var(--color-text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-variant-ligatures:contextual;font-kerning:normal;text-autospace:normal;--color-text-primary:var(--color-neutral-950);--color-text-secondary:var(--color-neutral-500);--color-text-tertiary:var(--color-neutral-400);--color-text-disabled:var(--color-neutral-300);--color-text-white:var(--color-white);--color-background-full:var(--color-white);--color-background-primary-default:var(--color-white);--color-background-primary-hover:var(--color-neutral-100);--color-background-secondary-default:var(--color-neutral-100);--color-background-tertiary-default:var(--color-neutral-200);--color-border-button-default:var(--color-neutral-200);--color-border-button-hover:var(--color-neutral-300);--color-border-button-active:var(--color-neutral-400);--color-border-checkbox-default:var(--color-neutral-300);--color-border-checkbox-hover:var(--color-neutral-400);--color-border-focus-ring:var(--color-accent-500);--color-separator-border:var(--color-neutral-200);line-height:1.5}.dark .peach-react{--color-text-primary:var(--color-neutral-50);--color-text-tertiary:var(--color-neutral-600);--color-text-disabled:var(--color-neutral-800);--color-background-full:var(--color-neutral-925);--color-background-primary-default:var(--color-neutral-800);--color-background-primary-hover:#40404099}@supports (color:color-mix(in lab, red, red)){.dark .peach-react{--color-background-primary-hover:color-mix(in srgb, var(--color-neutral-700) 60%, transparent)}}.dark .peach-react{--color-background-secondary-default:var(--color-neutral-900);--color-background-tertiary-default:var(--color-neutral-800);--color-border-button-default:var(--color-neutral-700);--color-border-button-hover:var(--color-neutral-500);--color-border-button-active:var(--color-neutral-600);--color-border-checkbox-default:var(--color-neutral-600);--color-border-checkbox-hover:var(--color-neutral-500);--color-separator-border:var(--color-neutral-700)}:where(.peach-react){--card-footer:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-footer:color-mix(in srgb, var(--color-background-secondary-default) 98%, var(--color-text-primary))}}:where(.peach-react){--card-hover:var(--color-background-secondary-default)}@supports (color:color-mix(in lab, red, red)){:where(.peach-react){--card-hover:color-mix(in srgb, var(--color-background-secondary-default) 95%, var(--color-text-primary))}}.peach-react button[aria-haspopup=listbox]{height:calc(var(--spacing) * 9);padding-block:0}.peach-react button[aria-haspopup=listbox][class~=text-body-2-medium]{height:calc(var(--spacing) * 8)}.peach-react [data-input-size]>div[data-rac]:not([data-hovered]):not([data-focus-within]):not([data-invalid]){outline:1px solid var(--color-border-button-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid]{background-color:var(--color-background-tertiary-default);color:var(--color-foreground-icon-tertiary);outline:1px solid var(--color-border-error-default);outline-offset:-1px}.peach-react [data-input-size]>div[data-rac][data-invalid][data-focus-within]{--tw-ring-color:var(--color-border-error-default)}.peach-react [data-input-size]>[slot=errorMessage]{color:var(--color-text-secondary)}.peach-react [data-input-size] input[aria-invalid=true]::placeholder{color:var(--color-text-tertiary)}.peach-react [data-input-size]>[slot=errorMessage],.peach-react [data-input-size]>[slot=description]{overflow-wrap:anywhere}.peach-react :is([class~=overflow-x-auto],[data-horizontal-scroll]){scrollbar-width:none}.peach-react :is([class~=overflow-x-auto],[data-horizontal-scroll])::-webkit-scrollbar{display:none}.iconswap{flex:none;place-items:center;line-height:1;display:inline-grid}.iconswap>[data-icon]{transition:opacity var(--motion-swap),filter var(--motion-swap),transform var(--motion-swap);grid-area:1/1;place-items:center;display:grid}.iconswap[data-icon-state=a]>[data-icon=a],.iconswap[data-icon-state=b]>[data-icon=b],[data-icon-state=a]>.iconswap:not([data-icon-state])>[data-icon=a],[data-icon-state=b]>.iconswap:not([data-icon-state])>[data-icon=b]{opacity:1;filter:blur();transform:scale(1)}.iconswap[data-icon-state=a]>[data-icon=b],.iconswap[data-icon-state=b]>[data-icon=a],[data-icon-state=a]>.iconswap:not([data-icon-state])>[data-icon=b],[data-icon-state=b]>.iconswap:not([data-icon-state])>[data-icon=a]{opacity:0;filter:blur(2px);pointer-events:none;transform:scale(.25)}.iconswap[data-motion-instant]>[data-icon]{transition:none}@keyframes digit-pop-in{0%{opacity:0;filter:blur(2px);transform:translateY(8px)}to{opacity:1;filter:blur();transform:none}}.digits{align-items:baseline;display:inline-flex}.digits>span{white-space:pre;display:inline-block}.digits.popping>span{animation:digit-pop-in var(--motion-count) both;animation-delay:calc(var(--motion-stagger) * var(--digit-at,0))}.skelreveal:not(dialog){position:relative}.skelreveal>.skelfade{z-index:2;pointer-events:none;opacity:1;filter:blur();transition:opacity var(--motion-reveal),filter var(--motion-reveal);position:absolute;inset:0;overflow:hidden}.skelreveal.revealing>.skelfade{opacity:0;filter:blur(2px)}.skelreveal>:not(.skelfade){animation:skel-reveal-in var(--motion-reveal) backwards}@keyframes skel-reveal-in{0%{opacity:0;filter:blur(2px)}to{opacity:1;filter:blur()}}@keyframes check-settle{0%{opacity:0;filter:blur(10px);transform:rotate(80deg)}to{opacity:1;filter:blur();transform:rotate(0)}}@keyframes check-bob{0%{translate:0 14px}to{translate:0}}@keyframes check-draw{0%{stroke-dashoffset:24px}to{stroke-dashoffset:0}}[data-toast-glyph=draw]>svg{stroke-dasharray:24;animation:check-settle var(--board-motion) backwards, check-bob calc(var(--spring-press-ms)*1ms) var(--spring-press) backwards, check-draw var(--board-motion) var(--motion-stagger) backwards}@keyframes clear-dissolve{to{opacity:0;filter:blur(2px);transform:translateY(-12px)}}.cleardissolve{z-index:2;white-space:nowrap;pointer-events:none;color:inherit;animation:clear-dissolve var(--motion-reveal) forwards;align-items:center;display:flex;position:absolute;overflow:hidden}.cleardissolve>[data-dissolve-value]{will-change:transform;min-width:max-content;display:block}.placeholderroll{z-index:2;white-space:nowrap;pointer-events:none;align-items:center;display:flex;position:absolute;overflow:hidden}.placeholderroll>span{text-overflow:ellipsis;min-width:0;overflow:hidden}.countbadge{transition:transform var(--motion-pop), opacity var(--motion-pop),filter var(--motion-pop);display:inline-block}.countbadge.popped{opacity:0;filter:blur(2px);transition:none;transform:scale(0)}.revealline{opacity:0;filter:blur(3px);transition:none;transform:translateY(12px)}.revealline.revealing{opacity:1;filter:blur();transition:opacity var(--motion-reveal),transform var(--motion-reveal),filter var(--motion-reveal);transition-delay:calc(var(--motion-stagger) * var(--reveal-at,0));transform:none}@property --edge-pull{syntax:"<length>";inherits:true;initial-value:0}.edgepull>*{translate:var(--edge-pull) 0}svg.iconwide.iconwide{width:auto!important}svg.ui-externalmark{width:var(--icon-inline,1.2em);height:var(--icon-inline,1.2em);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;align-self:center}.ui-javidentity{vertical-align:baseline;white-space:nowrap;align-items:center;gap:5px;display:inline-flex}.ui-javcode{letter-spacing:.01em;font-weight:600}.ui-javtitle{font-weight:400}[data-feed-id] .ui-javidentity{min-width:0;max-width:100%}[data-feed-id] .ui-javcode{text-overflow:ellipsis;min-width:0;overflow:hidden}@keyframes geist-spinner-opacity{0%{opacity:1}to{opacity:.15}}.ui-geist-spinner{color:currentColor;flex:none;width:16px;height:16px;display:inline-block;position:relative}.ui-geist-spinner>i{border-radius:var(--pill-radius);transform-origin:1px 7px;width:2px;height:4px;transform:rotate(var(--spinner-angle));animation:geist-spinner-opacity 1s linear var(--spinner-delay) infinite;background:currentColor;position:absolute;top:1px;left:7px}@keyframes geist-loading-dot{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}.ui-geist-loading{min-width:0;color:var(--muted);align-items:center;gap:8px;display:inline-flex}.ui-geist-loading-dots{flex:none;align-items:center;gap:3px;display:inline-flex}.ui-geist-loading-dots>i{background:currentColor;border-radius:50%;width:4px;height:4px;animation:1.2s ease-in-out infinite geist-loading-dot}.ui-geist-loading-dots>i:nth-child(2){animation-delay:.15s}.ui-geist-loading-dots>i:nth-child(3){animation-delay:.3s}.ui-geist-badge{box-sizing:border-box;border-radius:var(--badge-radius);background:var(--hover);height:20px;color:var(--ink-2);font-size:var(--fs-xs);white-space:nowrap;justify-content:center;align-items:center;padding:0 6px;font-weight:500;line-height:1;display:inline-flex}.ui-geist-progress{border-radius:var(--pill-radius);background:var(--line-soft);height:8px;margin-top:7px;overflow:hidden}.ui-geist-progress i{width:var(--progress-value);border-radius:inherit;background:var(--tungsten);height:100%;display:block}.ui-geist-progress{position:relative}.ui-geist-progress i{background:var(--progress-color,var(--feedback-success))}@media (prefers-reduced-motion:no-preference){.ui-geist-progress i{transition:width .2s ease-out,background-color .2s ease-out}}.ui-emptystate{box-sizing:border-box;text-align:center;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-column:1/-1;align-content:center;justify-items:center;gap:8px;width:100%;min-height:320px;padding:48px 24px;display:grid}.ui-emptystate .ui-es-icon{box-sizing:border-box;border-radius:var(--floating-radius);border:1px solid var(--border-15);width:54px;height:54px;color:var(--muted);place-items:center;margin-bottom:8px;padding:10px;display:grid}.ui-emptystate .ui-es-icon svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:32px;height:32px}.ui-emptystate .ui-es-copy{justify-items:center;gap:8px;display:grid}.ui-emptystate h3{font-size:var(--fs-md);color:var(--ink);margin:0;font-weight:600}.ui-emptystate p{max-width:340px;font-size:var(--fs-sm);color:var(--muted);margin:0;line-height:1.55}.ui-emptystate .ui-es-actions{flex-wrap:wrap;justify-content:center;gap:8px;margin-top:8px;display:flex}.ui-pcheck{cursor:pointer;flex:none;place-items:center;width:20px;height:20px;display:grid;position:relative}.ui-pcheck input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.ui-pcheck>span{box-sizing:border-box;border:1px solid var(--border-15);border-radius:var(--badge-radius);background:var(--ground);color:#0000;place-items:center;width:16px;height:16px;transition:all .14s;display:grid}.ui-pcheck>span svg{stroke:currentColor;fill:none;stroke-width:2.5px;width:13px;height:13px;display:block}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{background:var(--hover)}.ui-pcheck input:checked+span{border-color:var(--ink-2);color:var(--ink)}.ui-pcheck input:focus-visible+span{outline:2px solid var(--tungsten);outline-offset:2px}.ui-pcheck input:disabled+span{cursor:not-allowed;border-color:var(--line)}.ui-pcheck input:disabled:checked+span{color:var(--muted)}.ui-pcheck:has(input:disabled){cursor:not-allowed}.ui-pcheck:has(input:disabled)>span{background:var(--ground)}[data-layout=masonry]>.ui-emptystate{column-span:all}.ui-pcheck{vertical-align:middle;align-self:center}.ui-pcheck>span{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:16px;height:16px;box-shadow:var(--elevation-xs);border-radius:4px;transition:background .15s,border-color .15s,box-shadow .15s;position:relative}.ui-pcheck input:is(:checked,:indeterminate)+span{color:#fff;background:var(--board-blue);border-color:#0000;box-shadow:inset 0 1px #ffffff40,0 1px 2px #0450e229}.ui-pcheck input:indeterminate+span svg{visibility:hidden}.ui-pcheck input:indeterminate+span:after{content:"";background:#fff;border-radius:1px;width:8px;height:2px;position:absolute;top:6px;left:3px}.ui-pcheck input:disabled+span{opacity:.5}.ui-pcheck>span svg{stroke-width:2px;width:14px;height:14px}.ui-pcheck:hover>span{border-color:var(--color-border-button-hover)}input[type=checkbox]:not([data-toggle]):not(.ui-pcheck input):not(.peach-react input){accent-color:var(--color-accent-600);vertical-align:middle;flex:none;width:16px;height:16px;margin:0}.ui-pcheck>span{border-color:var(--color-border-checkbox-default);box-shadow:var(--elevation-xs);transition:background-color .15s,border-color .15s,box-shadow .15s}.ui-pcheck:hover>span,label:hover>.ui-pcheck>span{border-color:var(--color-border-checkbox-hover);background:var(--color-background-primary-default)}.ui-pcheck input:is(:checked,:indeterminate)+span{background:var(--board-blue);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}.ui-pcheck:hover input:is(:checked,:indeterminate)+span,label:hover>.ui-pcheck input:is(:checked,:indeterminate)+span{background:linear-gradient(#60a5fa,#3b82f6);border-color:#0000;box-shadow:inset 0 2px #ffffff40,inset 0 0 0 1px #3b82f6}@keyframes board-check-draw{0%{stroke-dashoffset:23px}to{stroke-dashoffset:0}}.ui-pcheck>span svg{stroke-dasharray:23;stroke-dashoffset:0}.ui-pcheck input:checked+span svg{animation:.2s cubic-bezier(.65,0,.35,1) forwards board-check-draw}@media (prefers-reduced-motion:reduce){.ui-pcheck input:checked+span svg{stroke-dashoffset:0;animation:none}}.ui-project-banner{--feedback-color:var(--muted);border-block:1px solid var(--feedback-color);flex-wrap:wrap;justify-content:center;align-items:center;gap:8px 16px;min-height:40px;padding:8px 24px;display:flex}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{border-block:1px solid color-mix(in srgb,var(--feedback-color) 30%,var(--ground))}}.ui-project-banner{background:var(--feedback-color)}@supports (color:color-mix(in lab, red, red)){.ui-project-banner{background:color-mix(in srgb,var(--feedback-color) 5%,var(--ground))}}.ui-project-banner{color:var(--feedback-color);font-size:var(--fs-md);line-height:20px}.ui-project-banner>div{align-items:center;gap:8px;min-width:0;display:flex}.ui-project-banner p{overflow-wrap:anywhere;margin:0}.ui-project-banner>div>svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}.ui-project-banner>a{color:inherit;text-underline-offset:5px;flex:none;font-weight:500;text-decoration:underline}.ui-project-banner-error{--feedback-color:var(--drop)}.ui-project-banner-warning{--feedback-color:var(--meter)}.ui-project-banner-success{--feedback-color:var(--feedback-success)}@media (width<=600px){.ui-project-banner{justify-content:flex-start}.ui-project-banner>a{margin-left:auto}}.ui-geist-gauge{vertical-align:middle;flex:none;width:32px;height:32px;margin-inline-end:8px;display:inline-flex}.ui-geist-gauge svg{fill:none;stroke-width:3px;width:100%;height:100%}.ui-geist-gauge circle:first-child{stroke:var(--line-soft)}.ui-geist-gauge circle:last-child{stroke:var(--feedback-success);transform-origin:50%;transform:rotate(-90deg)}.ui-geist-progress-stop{background:var(--ground);width:2px;position:absolute;top:0;bottom:0;transform:translate(-50%)}.ui-geist-gauge[data-level=warning] circle:last-child{stroke:var(--meter)}.ui-geist-gauge[data-level=error] circle:last-child{stroke:var(--drop)}.ui-gauge-status{font-size:var(--fs-xs);margin-inline-end:8px}@media (prefers-reduced-motion:no-preference){.ui-geist-gauge circle:last-child{transition:stroke-dasharray .2s ease-out,stroke .2s ease-out}}fieldset.iconswitch-text{justify-self:start;display:inline-flex}fieldset.iconswitch-text label{white-space:nowrap;width:auto;min-width:52px;padding-inline:10px}.ui-dial{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;display:grid}.ui-dial-slider{cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;align-items:center;min-width:0;height:30px;display:flex;position:relative}.ui-dial-track{border-radius:var(--pill-radius);background:var(--ink);width:100%;height:20px;position:relative}@supports (color:color-mix(in lab, red, red)){.ui-dial-track{background:color-mix(in srgb,var(--ink) 11%,transparent)}}.ui-dial-track{box-shadow:inset 0 1px 2px var(--overlay-5);overflow:hidden}.ui-dial-fill{width:var(--dial-at,0%);background:var(--ink);position:absolute;inset:0 auto 0 0}@supports (color:color-mix(in lab, red, red)){.ui-dial-fill{background:color-mix(in srgb,var(--ink) 42%,transparent)}}.ui-dial-slider[data-dragging] .ui-dial-fill{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.ui-dial-slider[data-dragging] .ui-dial-fill{background:color-mix(in srgb,var(--ink) 55%,transparent)}}.ui-dial-ticks{opacity:0;pointer-events:none;justify-content:space-between;padding:0 10%;transition:opacity .12s;display:flex;position:absolute;left:0;right:0}.ui-dial-ticks span{background:var(--ink);width:1px;height:8px}@supports (color:color-mix(in lab, red, red)){.ui-dial-ticks span{background:color-mix(in srgb,var(--ink) 20%,transparent)}}.ui-dial-handle{left:var(--dial-at,0%);border-radius:var(--pill-radius);background:var(--ink);width:3px;height:20px;box-shadow:0 1px 2px var(--overlay-5);opacity:0;pointer-events:none;transition:opacity .12s;position:absolute;transform:translate(-50%)}.ui-dial-slider:hover :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider:focus-visible :is(.ui-dial-ticks,.ui-dial-handle),.ui-dial-slider[data-dragging] :is(.ui-dial-ticks,.ui-dial-handle){opacity:1}.ui-dial-slider:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px;border-radius:var(--pill-radius)}.ui-dial-value{min-width:44px;color:var(--ink-2);text-align:right;font-weight:400}.ui-gselect{min-width:0;display:inline-flex;position:relative}.ui-geist-scroller{min-width:0;min-height:0;position:relative;overflow:hidden}.ui-geist-scroller-container{box-sizing:border-box;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;width:100%;height:100%}.ui-geist-scroller-container::-webkit-scrollbar{display:none}.ui-geist-scroller-container[data-overflow=y]{overflow:hidden auto}.ui-geist-scroller-container[data-overflow=x]{overflow:auto hidden}.ui-geist-scroller-container[data-overflow=both]{overflow:auto}.ui-geist-scroller-overlay{z-index:2;pointer-events:none;position:absolute;inset:0}.ui-geist-scroller-overlay:before,.ui-geist-scroller-overlay:after{content:"";opacity:0;height:40px;transition:opacity .18s;position:absolute;left:0;right:0}.ui-geist-scroller-overlay:before{background:linear-gradient(to bottom,var(--surface),transparent);top:0}.ui-geist-scroller-overlay:after{background:linear-gradient(to top,var(--surface),transparent);bottom:0}.ui-geist-scroller-overlay.ui-can-scroll-top:before,.ui-geist-scroller-overlay.ui-can-scroll-bottom:after{opacity:1}.ui-geist-scroller:has(>[data-overlay-scrollbar])>.ui-geist-scroller-overlay{display:none}.ui-ov-edges{pointer-events:none;z-index:1;position:absolute;overflow:hidden}.ui-ov-edges[hidden]{display:none}.ui-ov-edges>span{visibility:hidden;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);height:16px;position:absolute;left:0;right:0}.ui-ov-edge-top{top:0;-webkit-mask-image:linear-gradient(#000,#0000);mask-image:linear-gradient(#000,#0000)}.ui-ov-edge-bottom{bottom:0;-webkit-mask-image:linear-gradient(#0000,#000);mask-image:linear-gradient(#0000,#000)}.ui-ov-edges.ui-can-scroll-top>.ui-ov-edge-top,.ui-ov-edges.ui-can-scroll-bottom>.ui-ov-edge-bottom{visibility:visible}.ui-geist-modal{box-sizing:border-box;border-radius:var(--floating-radius);background:var(--surface);width:min(540px,100vw - 20px);max-width:min(540px,100vw - 20px);max-height:min(800px,80vh);color:var(--ink);overscroll-behavior:contain;box-shadow:0 0 0 1px var(--border-15),0 32px 72px -12px #0009,0 8px 32px -12px #0009;opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;border:0;padding:0;overflow:hidden}.ui-geist-modal::backdrop{opacity:0;transition:opacity .3s cubic-bezier(.175,.885,.32,1.1), overlay .3s allow-discrete,display .3s allow-discrete;background:#0009}.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:1}.ui-geist-modal[open]{flex-direction:column;display:flex}@starting-style{.ui-geist-modal[open],.ui-geist-modal[open]::backdrop{opacity:0}}.ui-geist-modal-header{flex:none;padding:20px 20px 0}.ui-geist-modal-header h3{font-size:var(--fs-xl);color:var(--ink);margin:0;font-weight:600;line-height:26px}.ui-geist-modal-scroll{flex:1;min-width:0;min-height:0;display:flex;position:relative}.ui-geist-modal-body{overscroll-behavior:contain;min-width:0;min-height:0;font-size:var(--fs-md);color:var(--ink-2);flex:1;padding:8px 20px 20px;line-height:20px;overflow:auto}.ui-geist-modal footer{flex:none}.ui-geist-modal-body p{overflow-wrap:anywhere;margin:8px 0 0;line-height:20px}.ui-geist-modal-body>p:first-child{margin-top:0}.ui-geist-modal-body [data-modal-error]:not(:empty){margin-top:12px}.ui-geist-modal-list{min-width:0;margin-top:12px;position:relative}.ui-geist-modal-list>ul{box-sizing:border-box;overscroll-behavior:contain;overflow-wrap:anywhere;max-height:min(320px,32dvh);margin:0;padding:4px 16px 4px 20px;list-style:outside;overflow:auto}.ui-geist-modal-list>ul>li{padding:4px 0}.ui-geist-modal-list>ul:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.ui-geist-modal-form{display:contents}.ui-geist-modal-fields{gap:14px;margin-top:16px;display:grid}.ui-geist-modal-fields:empty{display:none}.ui-playlistpage{padding:4px 0 42px}.ui-playlistpage>header{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:16px;display:flex}.ui-playlistpage h2{margin:0 0 8px}.ui-playlistpage p{color:var(--muted);font-size:var(--fs-sm);margin:0}.ui-playlistcards{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:18px;display:grid}.ui-activitypage{gap:32px;width:min(812px,100%);margin:0 auto;display:grid}.ui-activity-runs{gap:12px;min-width:0;margin:0;padding:0;list-style:none;display:grid}.ui-playlistpage h2{font-size:var(--fs-3xl);letter-spacing:-.01em;font-weight:600;line-height:1.25}@media (width<=760px){.ui-playlistpage>header{flex-direction:column;align-items:stretch}.ui-playlistpage h2{font-size:var(--fs-2xl)}}@media (width<=640px){.ui-playlistpage h2{font-size:var(--fs-xl)}}.ui-activitypage{width:100%;max-width:var(--board-content)}.ui-playlistpage>header h2{font:var(--board-title);letter-spacing:0}.ui-tastehead{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 14px;min-height:40px;display:flex}.ui-tastesummaries{overscroll-behavior-x:contain;border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-tastestate{min-height:20px;color:var(--meter);font-size:var(--fs-xs);margin:8px 0}.ui-tastesummaries{margin-bottom:16px}.ui-tastehero{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px;margin-bottom:16px;display:grid;overflow:hidden}.ui-tastebars{align-self:center;min-width:0;padding:24px}.ui-insightpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);overflow:hidden}.ui-insightpanel>header{border-bottom:1px solid var(--line-soft);align-items:center;min-height:52px;padding:0 16px;display:flex}.ui-insightpanel>header h3{font-size:var(--fs-md);margin:0}.ui-insightpanel>header p{color:var(--muted);font-size:var(--fs-xs);margin:2px 0 0}.ui-insightpanelbody{min-width:0;padding:14px 16px 16px}@media (width<=900px){.ui-tastehero{grid-template-columns:minmax(220px,40%) minmax(0,1fr)}}@media (width<=640px){.ui-tastehead{align-items:stretch}.ui-tastesummaries{grid-auto-columns:minmax(168px,82%)}.ui-tastehero{grid-template-columns:minmax(0,1fr);min-height:0}.ui-tastebars{padding:18px}.ui-insightpanel>header{padding:0 14px}.ui-insightpanelbody{padding:12px}}.ui-tastehead{gap:16px}.ui-tastesummaries{background-color:#0000;background-image:none;border:0;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;gap:16px;display:grid;overflow:visible}.ui-insightpanel,.ui-tastehero{background:var(--ground);border:0;border-radius:16px;overflow:clip}.ui-insightpanel>header{border:0;padding-top:8px}@media (width<=1000px){.ui-tastesummaries{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}.ui-insightpanel>header:not(:has([role=tablist])){min-height:0;padding:24px 24px 12px;display:block}.ui-insightpanel>header h3{font:var(--board-heading);color:var(--color-text-primary);margin:0}.ui-follow-skeleton-surface{container:follow-list/inline-size}@container follow-list (width<=739.98px){.ui-follow-skeleton-toolbar [data-compact-label]{display:none}.ui-follow-skeleton-toolbar button:has(>[data-compact-label])>svg{width:1.25rem;height:1.25rem}}.ui-skeleton-lines{gap:12px;min-width:0;display:grid}[class~=playlistcreate].ui-skeleton-lines{gap:12px;display:grid}[class~=skeleton].ui-skeleton-radar{clip-path:polygon(50% 0,95% 25%,95% 75%,50% 100%,5% 75%,5% 25%);width:100%;height:260px}[class~=skeleton].ui-skeleton-detail-media{aspect-ratio:16/9;min-width:0;height:auto;max-height:76vh}.ui-board-activity-charts{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:20px;margin:20px 0;display:grid}@media (width<=1000px){.ui-board-activity-charts{grid-template-columns:1fr}}.ui-alphagroup{border-radius:var(--floating-radius);background:var(--ground);padding:16px 20px 12px}.ui-alphalist{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:2px 16px;display:grid}.ui-alphagroup{box-shadow:none;border-radius:16px}section:has(>.ui-alphagroup){flex-direction:column;gap:16px;display:flex}.ui-skeletondashstrip{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);grid-auto-columns:minmax(140px,1fr);grid-auto-flow:column;display:grid;overflow-x:auto}.ui-skeletondashstrip>span{box-sizing:border-box;border-right:1px solid var(--line-soft);align-content:center;gap:4px;min-width:0;min-height:96px;padding:14px 16px;display:grid}.ui-skeletondashstrip>span:last-child{border-right:0}.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{background:var(--hover);border-radius:var(--control-radius);display:block}.ui-skeletondashstrip i{width:52%;height:17px}.ui-skeletondashstrip b{width:68%;height:28px}.ui-skeletondashstrip em{width:60%;height:17px}@media (width<=640px){.ui-skeletondashstrip{grid-auto-columns:minmax(168px,82%)}}.ui-skeletondashhero,.ui-skeletondashpanel{border:1px solid var(--line-soft);border-radius:var(--floating-radius);background:var(--ground);min-width:0;display:grid;overflow:hidden}.ui-skeletondashhero{grid-template-columns:minmax(260px,36%) minmax(0,1fr);min-height:330px}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em{background:var(--hover);display:block}.ui-skeletondashhero i{border-radius:var(--control-radius);margin:28px 24px}.ui-skeletondashhero b{border-radius:var(--control-radius);margin:24px}.ui-skeletondashpanel{grid-template-columns:1fr 1fr;gap:12px;padding:16px}.ui-skeletondashpanel i{border-radius:var(--control-radius);grid-column:1/-1;width:26%;height:18px}.ui-skeletondashpanel b,.ui-skeletondashpanel em{border-radius:var(--control-radius);height:84px}@media (width<=640px){.ui-skeletondashhero{grid-template-columns:minmax(0,1fr)}.ui-skeletondashhero i{min-height:180px}.ui-skeletondashhero b{min-height:220px}.ui-skeletondashpanel{grid-template-columns:1fr}}.ui-skeletondashhero i,.ui-skeletondashhero b,.ui-skeletondashpanel i,.ui-skeletondashpanel b,.ui-skeletondashpanel em,.ui-skeletondashstrip i,.ui-skeletondashstrip b,.ui-skeletondashstrip em{position:relative;overflow:hidden}.ui-skeletondashhero i:after,.ui-skeletondashhero b:after,.ui-skeletondashpanel i:after,.ui-skeletondashpanel b:after,.ui-skeletondashpanel em:after,.ui-skeletondashstrip i:after,.ui-skeletondashstrip b:after,.ui-skeletondashstrip em:after{content:"";visibility:inherit;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover));background-size:50% 100%;animation:1.5s ease-in-out infinite reverse skeleton-sweep;position:absolute;inset:0 -200% 0 0}.ui-skeletondashstrip{background-color:#0000;background-image:none;border:0;gap:16px}.ui-skeletondashstrip>span{background:var(--ground);border:0;border-radius:16px;min-height:152px}.ui-skeletondashhero,.ui-skeletondashpanel{border:0;border-radius:16px}.ui-entityidentity{min-width:0;max-width:100%}.peach-react :is([data-entity-state],[data-media-view])[data-skeleton-control][aria-pressed=true]{background:linear-gradient(180deg,var(--glass-sheen),transparent 62%),var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim),var(--glass-pick-shadow)}.peach-react [data-entity-state][data-skeleton-control][aria-pressed=true]{border-radius:8px}[data-skeleton] [data-hero-costar-name][class~=skeleton]{width:52px;height:1lh}@media (width<=760px){.ui-entityidentity{width:100%}}.ui-fcollapse{transition:height .2s ease-in-out;overflow:hidden}.ui-fcollapse.ui-fcollapse-settled{overflow:visible}.ui-imgdone:after{content:"";z-index:5;pointer-events:none;border-radius:inherit;background:linear-gradient(to right,var(--hover),var(--skeleton-sheen) 50%,var(--hover)) 0 0/50% 100%, var(--ground);opacity:0;filter:blur(2px);visibility:hidden;transition:opacity var(--motion-reveal),filter var(--motion-reveal),visibility 0s var(--motion-reveal);position:absolute;inset:0 -200% 0 0}img.ui-hvframes{object-fit:contain;background:#000;width:100%;height:100%;display:block;position:absolute;inset:0}img.ui-hvframes[hidden]{display:none}.peach-react .ui-configuration-skeleton-toggle{border-radius:var(--pill-radius);flex:none;width:42px;height:24px}.peach-react .ui-configuration-skeleton-select{border-radius:var(--control-radius);flex:none;width:128px;height:36px}.peach-react .ui-configuration-skeleton-input{border-radius:var(--control-radius);width:100%;height:36px}.ui-board-local-nav{scrollbar-width:none;flex:none;gap:4px;margin:0 0 24px;padding:0;display:flex;overflow-x:auto}.ui-board-local-nav button{border-radius:var(--control-radius);color:var(--ink-2);cursor:pointer;white-space:nowrap;background-color:#0000;background-image:none;border:0;flex:none;padding:8px 12px;font-family:inherit;font-size:14px;font-weight:400;line-height:20px}.ui-board-local-nav button:hover{color:var(--ink);background:0 0}.ui-board-local-nav button[aria-selected=true]{background:var(--hover);color:var(--ink)}.ui-board-local-nav button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-3px}.ui-board-tab-count{font:var(--board-caption);background:var(--ink);border-radius:4px;margin-left:6px;padding:1px 4px;font-weight:500;line-height:16px;display:inline-block}@supports (color:color-mix(in lab, red, red)){.ui-board-tab-count{background:color-mix(in srgb,var(--ink) 10%,transparent)}}.ui-board-tab-count{color:var(--ink);opacity:.5;vertical-align:1px}.ui-board-local-nav button[aria-selected=true] .ui-board-tab-count{opacity:1}.ui-board-tabs button svg{width:var(--icon-inline);height:var(--icon-inline);vertical-align:-3px;stroke:currentColor;fill:none;stroke-width:2px;margin-right:6px}@media (width<=760px){.ui-board-local-nav{gap:0}.ui-board-local-nav button{padding:8px 9px;font-size:13px;line-height:18px}}.ui-board-tooltip{box-sizing:border-box;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);max-width:240px;color:var(--color-text-primary);font:var(--board-caption);white-space:normal;box-shadow:var(--elevation-dropdown);width:max-content;max-width:min(240px,100vw - 16px);z-index:var(--layer-tooltip);pointer-events:none;border-radius:8px;margin:0;padding:6px 10px;position:fixed;inset:auto}.ui-board-tooltip[hidden]{display:none}@media (prefers-reduced-motion:reduce){.ui-board-tooltip{transition:none}}.ui-configpage{width:100%;max-width:var(--board-content);gap:20px;margin:0 auto;display:grid}.ui-configgroup{font-size:var(--fs-2xl);margin:16px 0 0;font-weight:600;line-height:1.3}.ui-configgroup:first-child{margin-top:0}.ui-configpage>.ui-configgroup{display:none}.ui-configpage:has(>.ui-board-local-nav){grid-template-columns:190px minmax(0,1fr);align-items:start;gap:24px}.ui-configpage>.ui-board-local-nav{top:calc(var(--topH) + 8px);z-index:1;max-height:calc(100dvh - var(--topH) - 16px);overscroll-behavior:contain;border:0;border-radius:0;flex-direction:column;grid-area:1/1;align-self:start;align-items:stretch;margin:0;padding:0;display:flex;position:sticky;overflow-y:auto}body #stats .ui-configpage>.ui-board-local-nav>button{text-align:left;white-space:normal;justify-content:flex-start}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:1/2;min-width:0}@media (width<=900px){.ui-configpage:has(>.ui-board-local-nav){flex-direction:column;align-items:stretch;gap:20px;display:flex}body #stats .ui-configpage>.ui-board-local-nav{background:var(--page);flex-flow:wrap;align-self:stretch;max-height:none;overflow:visible}.ui-configpage:has(>.ui-board-local-nav)>:not(.ui-board-local-nav):not(.ui-configgroup){grid-area:2/1}}[data-board-group]:not(.ui-board-group-active){display:none!important}.peach-react :is(.ui-settings-rows,.ui-settings-facts)+:is(.ui-settings-rows,.ui-settings-facts){border-top:1px solid var(--color-separator-border)}.processing-effort-panel{width:256px;max-width:calc(100vw - 64px)}.processing-effort-scale{grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;display:grid}.processing-effort-scale>span{white-space:nowrap;align-items:center;gap:4px;display:flex}.processing-effort-scale>span[data-selected]{color:var(--color-text-primary)}.processing-effort-trigger{display:inline-flex}.processing-effort-scale>span:last-child[data-selected],.processing-effort-trigger[data-speed=high]>button:not([aria-disabled=true]){color:var(--color-accent-600)}.processing-effort-scale>span:nth-child(2){justify-self:center}.processing-effort-scale>span:last-child{justify-self:end}.processing-effort-double{flex-shrink:0;width:22px;height:16px}@media (hover:hover){.processing-effort-trigger:hover{--processing-effort-icon-background:var(--color-background-primary-hover)}}.processing-effort-trigger:active{--processing-effort-icon-background:var(--color-background-primary-active)}.processing-effort-trigger>button:is([aria-disabled=true],:disabled){--processing-effort-icon-background:var(--color-background-primary-disabled)}.processing-effort-label{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.processing-effort-track{border-radius:var(--control-radius);background:var(--color-background-secondary-default);height:27px;position:relative;overflow:hidden}.processing-effort-fill{width:var(--effort-fill);border-radius:inherit;background:var(--color-background-tertiary-hover);height:100%}.processing-effort-stops{justify-content:space-between;display:flex;position:absolute;inset:7px 9px}.processing-effort-stops i{background:var(--color-foreground-icon-tertiary);border-radius:var(--badge-radius);width:3px}.processing-effort-hit{touch-action:none;inset:0 10.5px;position:absolute!important}.processing-effort-thumb{border:1px solid var(--color-border-checkbox-default);border-radius:var(--control-radius);background:var(--color-background-primary-default);width:21px;height:27px;box-shadow:var(--elevation-xs);cursor:grab;outline:none;top:50%}.processing-effort-thumb[data-focus-visible]{outline:2px solid var(--color-border-focus-ring);outline-offset:-2px}.processing-effort-thumb[data-dragging]{cursor:grabbing}.processing-effort-slider[data-disabled]{opacity:.6}[data-effort-flow]{pointer-events:none;background:oklch(28.2% .091 267.935);position:absolute;inset:0}@supports (color:color-mix(in lab, red, red)){[data-effort-flow]{background:color-mix(in srgb,var(--color-accent-950) 80%,var(--color-background-primary-default))}}[data-effort-flow]{overflow:hidden}[data-effort-flow] svg{width:100%;height:100%;animation:1s linear infinite processing-flow-wave}.processing-flow-outer{fill:var(--color-accent-500)}.processing-flow-middle{fill:var(--color-accent-300)}.processing-flow-core{fill:var(--color-accent-50)}[data-effort-flow] i{right:0;top:var(--particle-y);background:var(--color-text-white);opacity:0;width:4px;height:1px;animation:1s linear infinite processing-flow-particle;animation-delay:var(--particle-delay);position:absolute}[data-effort-flow][data-motion=paused] :is(svg,i){animation-play-state:paused}@keyframes processing-flow-wave{0%,to{transform:scaleY(1)}50%{transform:scaleY(.72)}}@keyframes processing-flow-particle{0%{opacity:0;transform:translate(0)}15%{opacity:.6}to{opacity:0;transform:translate(-240px)}}.ui-board-job-progress{align-items:center;gap:12px;padding:12px 0;font-size:14px;line-height:20px;display:flex}.ui-board-job-progress svg{flex:none}.ui-board-job-progress circle{fill:none;stroke-width:2.5px;stroke-linecap:round}.ui-board-job-track{stroke:var(--line-soft)}.ui-board-job-fill{stroke:var(--tungsten);transition:stroke-dasharray .3s ease-out}.ui-board-job-progress small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:12px;line-height:16px;display:block}@media (prefers-reduced-motion:reduce){.ui-board-job-fill{transition:none}}.ui-board-page,.ui-board-page-dots{width:32px;height:32px;color:var(--color-text-secondary);font:var(--board-body-medium);font-variant-numeric:tabular-nums;background-color:#0000;background-image:none;border:0;border-radius:8px;justify-content:center;align-items:center;margin:0;padding:0;display:inline-flex}.ui-board-page{cursor:pointer;transition:none}.ui-board-page:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.ui-board-page[aria-current=page]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);color:var(--color-text-primary);box-shadow:var(--elevation-xs)}.ui-board-page-dots{color:var(--color-text-tertiary)}[data-async-text-value][aria-hidden=true],[data-async-text-skeleton]{opacity:0}[data-async-text][aria-busy=true]>[data-async-text-skeleton]{opacity:1}.dark .peach-react [data-link-result=gone] [data-link-code],.dark .peach-react [data-status-tone=error]{color:var(--color-text-error-primary)}.peach-react [data-source-mark=rss]{color:var(--feed-mark)}@keyframes peach-dot-wave{0%,80%,to{opacity:.25;transform:translateY(0)}40%{opacity:1;transform:translateY(-2px)}}@keyframes peach-skeleton-sweep{to{transform:translate(-50%)}}.peach-react [data-content-transition]{min-width:0;display:grid;position:relative}.peach-react [data-content-transition]>:is([data-content-current],[data-content-skeleton]){min-width:0;transition:opacity var(--motion-content), visibility var(--motion-content);grid-area:1/1}.peach-react [data-content-current]{opacity:1}.peach-react [data-content-skeleton]{opacity:0;visibility:hidden;pointer-events:none;position:absolute;inset:0}.peach-react [data-content-transition][data-pending]>[data-content-current]{opacity:0}.peach-react [data-content-transition][data-pending]>[data-content-skeleton]{opacity:1;visibility:visible;position:relative}.peach-react :is([data-async-text-value],[data-async-text-skeleton]){transition:opacity var(--motion-content)}@starting-style{.peach-react [data-content-transition][data-pending]>[data-content-skeleton]{opacity:0}}.peach-react :is([data-review-filter],[data-filter-glass]){top:calc(var(--topH) + 8px);-webkit-backdrop-filter:var(--glass-optic,blur(22px)) saturate(160%) var(--glass-lume);isolation:isolate;color:var(--glass-text);border-radius:22px;overflow:visible}.peach-react [data-filter-glass][data-stuck]{box-shadow:inset 0 1px 0 var(--glass-rim), inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-lift)}@media (prefers-reduced-transparency:reduce),(prefers-contrast:more){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){background:var(--ground);-webkit-backdrop-filter:none;animation:none}}@media (prefers-reduced-motion:reduce){.peach-react :is([data-review-filter],[data-filter-glass],[data-selection-dock]){animation:none}}.peach-react:has([data-selection-dock]){padding-bottom:var(--selection-dock-space,96px)}html:has([data-selection-dock]){scroll-padding-bottom:var(--selection-dock-space,96px)}[data-danger]:not(:disabled){isolation:isolate;background:var(--board-red);box-shadow:var(--elevation-xs);color:#fff;border:0;transition:box-shadow .15s,color .15s;position:relative}[data-danger]:not(:disabled):before{content:"";z-index:-1;border-radius:inherit;background:var(--board-red-hover);opacity:0;pointer-events:none;transition:opacity .15s;position:absolute;inset:0}[data-danger]:not(:disabled):hover:before{opacity:1}[data-danger]:not(:disabled):active{background:var(--board-red-active)}[data-danger]:not(:disabled):active:before{opacity:0}.peach-react [data-board-tab-list]>button[aria-selected=true]{background:var(--hover);color:var(--ink)}.peach-react [data-error-details-toggle]{font:var(--board-compact);color:var(--ink-2);background:0 0}.peach-react [data-error-details-toggle]:hover:not(:disabled,[aria-disabled=true]){background:var(--control-hover);color:var(--ink)}.peach-react [data-error-details-toggle]:active:not(:disabled,[aria-disabled=true]){background:var(--hover);color:var(--ink)}.peach-react [data-glass-segment][data-selected]{background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow)}.peach-react .button-press-motion:has(>span)>svg,.peach-react .underline-offset-3>svg{width:var(--icon-inline);height:var(--icon-inline)}.peach-react [data-filter-glass] :is(button,a[aria-pressed],[data-glass-segment]){height:var(--control-h-compact);min-height:var(--control-h-compact)}.peach-react [data-filter-glass] .tag-skeleton-view{height:var(--control-h-compact);background:0 0;border:0;gap:2px;padding:0}.peach-react [data-filter-glass] .tag-skeleton-view>label{width:var(--control-h-compact);height:var(--control-h-compact);min-height:var(--control-h-compact);border-radius:8px;padding:0}.peach-react [data-filter-glass] .tag-skeleton-view svg{width:16px;height:16px}.peach-react button[data-filter-action]{width:var(--control-h-compact);min-width:var(--control-h-compact);height:var(--control-h-compact);min-height:var(--control-h-compact);border-radius:var(--control-radius);background:var(--board-blue);box-shadow:var(--elevation-xs);color:#fff;border:0;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.peach-react button[data-filter-action]:hover{background:var(--board-blue-hover);color:#fff}.peach-react button[data-filter-action] svg{width:16px;height:16px}.peach-react button[data-filter-action][aria-busy=true]{cursor:wait}:is(.peach-react [data-index-head],.peach-react[data-index-head]) button:is([data-filter-action],[data-tag-mode]){width:var(--control-h);min-width:var(--control-h);height:var(--control-h);min-height:var(--control-h);border-radius:var(--control-radius);padding:0}.peach-react button[data-tag-mode] svg{width:16px;height:16px}.peach-react [data-glass-pill]:hover:not([aria-busy]){background:linear-gradient(180deg, var(--glass-sheen), transparent 62%), var(--glass-pick-fill);box-shadow:inset 0 0 0 1px var(--glass-rim), var(--glass-pick-shadow);border-color:#0000}@media not all and (width>=761px){.peach-react :is([data-index-search],[data-playlist-create]) input{font-size:16px}}.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{content:"";z-index:0;border-radius:inherit;border:1px solid var(--border-15);background:var(--surface);position:absolute}@supports (color:color-mix(in lab, red, red)){.peach-react [data-mix-stack]:before,.peach-react [data-mix-stack]:after{background:color-mix(in srgb, var(--surface) 84%, var(--video-glow,#15202a))}}.peach-react [data-mix-stack]:before{opacity:.54;inset:0 12px 8px;transform:translateY(-7px)}.peach-react [data-mix-stack]:after{opacity:.78;inset:0 6px 4px;transform:translateY(-4px)}.peach-react [data-mix-cover],.peach-react [data-mix-poster]{background:#000}.peach-react [data-mix-faces]{z-index:2;pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-mix-face]{opacity:0;transform-origin:50% 88%;transition:transform .46s cubic-bezier(.34,.02,.24,1),opacity .4s;position:absolute;inset:0;transform:scale(.985)}.peach-react [data-mix-face=on]{opacity:1;z-index:2;transition:none;transform:none}.peach-react [data-mix-face=off]{opacity:0;z-index:3;transform:translateY(-11%)rotate(-3.4deg)scale(.94)}.peach-react [data-mix-face] img{object-fit:contain;background:#000;width:100%;height:100%;display:block}.peach-react [data-mix-badge]{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#0c0808b8}.peach-react [data-mix-avatars]{--lift-motion:calc(var(--spring-press-ms) * 1ms) var(--spring-press);flex:none;max-width:calc(100% - 48px);margin:-4px -2px -2px;padding:6px 2px 2px 5px;display:flex}.peach-react [data-mix-avatars]:has(:is(:hover,:focus-visible)){--lift-motion:var(--board-motion)}.peach-react [data-mix-avatars]>*{box-shadow:0 0 0 2px var(--ground);transform:translate(var(--lift-x,0), var(--lift-y,0)) scale(var(--lift-scale,1));transition:transform var(--lift-motion,var(--board-motion))}.peach-react [data-mix-avatars]>*+*{margin-left:-22px}.peach-react [data-mix-avatars]>*+:not(:has(img)){margin-left:-8px}.peach-react [data-mix-avatars]>:first-child{z-index:5}.peach-react [data-mix-avatars]>:nth-child(2){z-index:4}.peach-react [data-mix-avatars]>:nth-child(3){z-index:3}.peach-react [data-mix-avatars]>:nth-child(4){z-index:2}.peach-react [data-mix-avatars]>:nth-child(5){z-index:1}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible){z-index:6;box-shadow:0 0 0 2px var(--ink-2);--lift-y:-4px;--lift-scale:1.05}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*{--lift-y:-1.8px;--lift-x:10px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*{--lift-y:-.81px;--lift-x:20px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*{--lift-x:30px}.peach-react [data-mix-avatars]>:is(:hover,:focus-visible)+*+*+*+*{--lift-x:40px}.peach-react [data-tag-cat]{--tag-color:#7a91a8}.peach-react [data-tag-cat=general],.peach-react [data-tag-cat=r34-general]{--tag-color:#55a7ff}.peach-react [data-tag-cat=artist]{--tag-color:#f1a454}.peach-react [data-tag-cat=meta]{--tag-color:#7f909e}.peach-react [data-tag-cat=relationship]{--tag-color:#f1a454}.peach-react [data-tag-cat=role]{--tag-color:#ed78af}.peach-react [data-tag-cat=appearance]{--tag-color:#a989f5}.peach-react [data-tag-cat=scene]{--tag-color:#53b8a4}.peach-react [data-tag-cat=story]{--tag-color:#e19a5b}.peach-react [data-tag-cat=position]{--tag-color:#d66e8d}.peach-react [data-tag-cat=r34-artist]{--tag-color:#e36c6c}.peach-react [data-tag-cat=r34-character]{--tag-color:#68c76f}.peach-react [data-tag-cat=r34-copyright]{--tag-color:#d675d6}.peach-react [data-tag-cat=r34-metadata]{--tag-color:#f5a24a}.peach-react [data-tag-cat=r34-unknown]{--tag-color:var(--muted)}.peach-react [data-tag-pill][data-tag-cat=all]{--tag-color:initial}.peach-react [data-tag-dot]{background:var(--tag-color,var(--muted))}.peach-react [data-tag-pill][data-tag-cat=all] [data-tag-dot]{background:linear-gradient(135deg,#55a7ff,#d783ff)}.peach-react [data-tag-token]{border-radius:var(--control-radius);border-color:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-token]{border-color:color-mix(in srgb, var(--tag-color) 32%, transparent)}}.peach-react [data-tag-token]{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-token]{background:color-mix(in srgb, var(--tag-color) 7%, transparent)}}.peach-react [data-tag-token]:hover{background:var(--tag-color)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-token]:hover{background:color-mix(in srgb, var(--tag-color) 13%, transparent)}}.peach-react [data-tag-token] :is([data-entity-action],[data-tag-chip]){border-radius:calc(var(--control-radius) - 4px)}.peach-react [data-tag-token] [data-entity-action]{background:0 0;border-color:#0000;width:24px;height:24px}.peach-react [data-tag-token] [data-entity-action]:is(:hover,[data-hovered]){background:var(--hover)}.peach-react [data-tag-token]:has([data-tag-chip][aria-pressed=true]),.peach-react [data-alpha-tag][aria-pressed=true]{background:var(--picked);color:var(--color-text-primary)}.peach-react [data-tag-pill][aria-pressed=true]{border-color:var(--tag-color,var(--ink))}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{border-color:color-mix(in srgb, var(--tag-color,var(--ink)) 45%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{background:var(--tag-color,var(--ink));border-style:solid}@supports (color:color-mix(in lab, red, red)){.peach-react [data-tag-pill][aria-pressed=true]{background:color-mix(in srgb, var(--tag-color,var(--ink)) 12%, transparent)}}.peach-react [data-tag-pill][aria-pressed=true]{color:var(--ink)}.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:var(--ink)}@supports (color:color-mix(in lab, red, red)){.peach-react [data-alpha-tag]:not([aria-pressed=true]):hover{background:color-mix(in srgb, var(--ink) 6%, transparent)}}.peach-react [data-alpha-group]{scroll-margin-top:calc(var(--topH) + 124px)}.peach-react [data-source-divider]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-follow-author-header][data-open]{border-bottom:1px solid var(--color-border-button-default)}.peach-react [data-board-data-table]{border:1px solid var(--color-border-button-default);border-radius:var(--radius-surface);background:var(--color-background-primary-default);position:relative;overflow:hidden}.peach-react [data-board-data-table] .bui-table th{border-top:0}.peach-react [data-board-data-table] .bui-table th,.peach-react [data-board-data-table] .bui-table tbody tr:not(:last-child){border-color:var(--color-border-button-default)}.peach-react [data-board-data-table] .bui-table tbody tr:hover,.peach-react [data-source-divider]>:hover{background-color:var(--color-background-primary-hover)}.peach-react [data-board-data-table] .bui-table tbody tr[data-follow-selected],.peach-react [data-board-data-table] .bui-table tbody tr[data-board-selected],.peach-react [data-source-divider]>[data-selected]{background-color:var(--color-background-secondary-default)}.peach-react [data-follow-table] [data-sort-indicator]{color:var(--color-text-tertiary);flex:none;transition:transform .15s,color .15s;display:inline-flex}.peach-react [data-follow-table] [data-sort-indicator][data-direction]{color:var(--color-text-secondary)}.peach-react [data-follow-table] [data-sort-indicator][data-direction=ascending]{transform:rotate(180deg)}.peach-react [data-follow-table] [data-sort-indicator] svg{width:24px;height:24px}.peach-react [data-expandable-ranking]{position:relative}.peach-react [data-expandable-ranking][data-expandable]{padding-bottom:28px}.peach-react [data-expandable-ranking-list]{max-height:var(--ranking-collapsed-height,none);overflow:hidden}.peach-react [data-expandable-ranking][data-expanded] [data-expandable-ranking-list]{max-height:var(--ranking-expanded-height,none)}.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list]{transition:max-height .2s var(--ease-in-out)}.peach-react [data-expandable-ranking][data-expandable]:not([data-expanded]) [data-expandable-ranking-list]{-webkit-mask-image:linear-gradient(#000 calc(100% - 44px),#0000);mask-image:linear-gradient(#000 calc(100% - 44px),#0000)}.peach-react [data-ranking-toggle]{z-index:1;border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:40px;height:20px;box-shadow:var(--shadow-sm);color:var(--color-text-secondary);cursor:pointer;border-radius:999px;place-items:center;padding:0;display:grid;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.peach-react [data-ranking-toggle]:hover{background:var(--color-background-primary-hover);color:var(--color-text-primary)}.peach-react [data-ranking-toggle]:focus-visible{outline:2px solid var(--color-border-focus-ring);outline-offset:2px}.peach-react [data-ranking-toggle] svg{width:14px;height:14px;transition:transform .2s var(--ease-in-out)}.peach-react [data-ranking-toggle][aria-expanded=true] svg{transform:rotate(180deg)}@media (prefers-reduced-motion:reduce){.peach-react [data-expandable-ranking][data-animating] [data-expandable-ranking-list],.peach-react [data-ranking-toggle] svg{transition:none}}.peach-react label[data-rac] input[type=checkbox]{appearance:none;outline:none;width:1px;height:1px}.peach-react [data-trigger=Select]{min-width:var(--trigger-width)}@keyframes checkbox-mark-enter{0%{opacity:0;transform:scale(.72)}to{opacity:1;transform:scale(1)}}.animate-check-draw{transform-box:fill-box;transform-origin:50%;animation:checkbox-mark-enter .15s var(--ease-out) both}@media (prefers-reduced-motion:reduce){.animate-check-draw{opacity:1;animation:none;transform:none}}.bui-table{border-collapse:collapse;text-align:left;width:100%}.bui-table th{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);text-align:left;vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));white-space:nowrap;color:var(--color-text-tertiary);--tw-outline-style:none;background-color:var(--color-background-secondary-default);border-top:1px solid var(--color-separator-border);border-bottom:1px solid var(--color-separator-border);outline-style:none;transition:padding .2s,font-size .2s}[data-responsive-toolbar]{flex-wrap:wrap;align-items:center;gap:8px;display:flex}[data-toolbar-heading]{flex-direction:column;min-width:0;max-width:100%;margin-inline-end:auto;display:flex}[data-toolbar-actions]{flex-wrap:wrap;flex:none;align-items:center;gap:8px;width:max-content;max-width:100%;display:flex}[data-pagination-layout]{grid-template-columns:auto minmax(0,1fr) auto}.bui-table td{padding-inline:calc(var(--spacing) * 3);padding-block:calc(var(--spacing) * 2.5);vertical-align:middle;font-size:var(--text-body-medium);line-height:var(--tw-leading,var(--text-body-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-medium--font-weight));color:var(--color-text-primary);--tw-outline-style:none;outline-style:none;transition:padding .2s,font-size .2s}.bui-table tbody tr:not(:last-child){border-bottom:1px solid var(--color-separator-border)}.bui-table tbody tr{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration));--tw-duration:.15s;transition-duration:.15s}.bui-table tbody tr[data-focus-visible]{--tw-ring-shadow:var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);--tw-ring-color:var(--color-border-focus-ring);--tw-ring-inset:inset}.bui-table.bui-table-sm th,.bui-table.bui-table-sm td{padding-inline:calc(var(--spacing) * 2.5);padding-block:calc(var(--spacing) * 1.5);font-size:var(--text-body-2-medium);line-height:var(--tw-leading,var(--text-body-2-medium--line-height));letter-spacing:var(--tw-tracking,var(--text-body-2-medium--letter-spacing));font-weight:var(--tw-font-weight,var(--text-body-2-medium--font-weight))}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-ordinal{syntax:"*";inherits:false}@property --tw-slashed-zero{syntax:"*";inherits:false}@property --tw-numeric-figure{syntax:"*";inherits:false}@property --tw-numeric-spacing{syntax:"*";inherits:false}@property --tw-numeric-fraction{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";inherits:false;initial-value:""}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}[data-batch-dock],[data-batch-scope]{display:contents}[data-batch-scope] [data-selection-dock]{color:var(--ink);font:var(--board-body)}[data-batch-scope] [data-selection-dock]>[role=status]{color:var(--ink-2);font:inherit;white-space:nowrap;padding:0 8px}[data-batch-scope] [data-selection-dock]>button{box-sizing:border-box;height:36px;min-height:36px;font:var(--board-body-medium);white-space:nowrap;cursor:pointer;border-radius:10px;justify-content:center;align-items:center;gap:4px;padding:8px 12px;display:inline-flex}[data-batch-scope] [data-selection-dock]>button:not([data-danger]){border:1px solid var(--line);background:var(--surface);box-shadow:var(--elevation-xs);color:var(--ink);transition:background-color .15s}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):hover:not(:disabled){background:var(--control-hover)}[data-batch-scope] [data-selection-dock]>button:not([data-danger]):disabled{border-color:var(--line);background:var(--ground);box-shadow:none;color:var(--muted)}[data-batch-scope] [data-selection-dock]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-batch-scope] [data-selection-dock]>button svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor;stroke-width:2px;flex:none;margin-right:6px}[data-batch-scope] [data-selection-dock]>button[data-danger] svg{margin-right:0}body[data-batch-dock-open] :is(#grid,[data-stage]){padding-bottom:var(--selection-dock-space,180px)}@media (width<=760px){[data-batch-scope][data-context=junk] [data-selection-dock]{grid-template-columns:repeat(3,minmax(0,1fr));width:calc(100vw - 24px);max-width:none;padding:9px 10px;display:grid;bottom:12px}[data-batch-scope][data-context=junk] [data-selection-dock]>[role=status]{text-align:center;grid-column:1/-1;padding:0}[data-batch-scope][data-context=junk] [data-selection-dock]>button{min-width:0;min-height:44px;font-size:var(--fs-xs);padding:8px 6px}[data-batch-scope][data-context=junk] [data-selection-dock]>button svg{margin-right:4px}}:is([data-glow-grid],[data-accent-grid]){grid-template-columns:repeat(6,1fr);gap:6px;padding:0 4px;display:grid}[data-glow-grid][hidden]{display:none}[data-glow-chip]{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:28px;height:28px;padding:0;display:grid}[data-glow-chip]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}[data-glow-ball]{background:var(--glow-chip);border-radius:50%;width:28px;height:28px;transition:transform .15s;position:relative;box-shadow:inset 0 1px 1px #ffffff6b,inset 0 -1px 2px #0000002e,0 0 0 1px #ffffff29}[data-glow-ball]:after{content:"";background:linear-gradient(#ffffff8a,#fff0);border-radius:50%;height:38.5%;position:absolute;top:6%;left:14%;right:14%}[data-glow-ball][data-accent-ball]{--glow-chip:radial-gradient(circle closest-side,var(--color-accent-400),var(--color-accent-600))}[data-glow-ball][data-glow-native]{--glow-chip:conic-gradient(from -90deg,var(--glass-native-a) 0 50%,var(--glass-native-b) 50% 100%)}[data-glow-chip]:hover [data-glow-ball]{transform:scale(1.1)}[data-glow-chip][aria-pressed=true] [data-glow-ball]{box-shadow:inset 0 1px 1px #ffffff6b,0 0 0 1.5px var(--ground),0 0 0 2.5px color-mix(in srgb,var(--ink) 32%,transparent)}[data-glow-head]{color:var(--muted);justify-content:space-between;align-items:center;padding:0 4px 8px;font-size:12px;display:flex}[data-glow-sub]{margin:12px 0 0}[data-glow-preset-reset]{color:var(--muted);font:inherit;cursor:pointer;background:0 0;border:0;padding:0;font-size:12px}[data-glow-preset-reset]:hover{color:var(--ink)}[data-glow-head][hidden]{display:none}[data-glow-grid][hidden]+[data-glow-sub]{margin-top:0}[data-pill-thumb]{transform:translate(var(--pill-left),var(--pill-top));width:var(--pill-width);height:var(--pill-height);transition:transform .3s cubic-bezier(.34,1.2,.64,1),width .3s cubic-bezier(.34,1.2,.64,1),height .3s cubic-bezier(.34,1.2,.64,1)}[data-pill-nav]{isolation:isolate;position:relative}[data-pill-nav]>[data-pill-thumb]{pointer-events:none;z-index:0;background:var(--hover);border-radius:var(--control-radius);transition:transform .3s cubic-bezier(.34,1.2,.64,1),width .3s cubic-bezier(.34,1.2,.64,1),height .3s cubic-bezier(.34,1.2,.64,1);position:absolute;top:0;left:0}[data-pill-nav]>:is(button,[role=tab]){z-index:1;position:relative}[data-pill-nav]:has(>[data-pill-thumb])>[data-pill-selected],body #stats [data-section-items][data-pill-nav]:has(>[data-pill-thumb])>[data-pill-selected],[data-manage-menu][data-pill-nav]:has(>[data-pill-thumb])>button[aria-pressed=true]{background:0 0}.peach-react [data-search-tabs][data-pill-nav]>[data-pill-thumb]{background:var(--picked)}.peach-react [data-search-tabs][data-pill-nav]:has(>[data-pill-thumb])>button[data-pill-selected]{background:0 0}@media (prefers-reduced-motion:reduce){[data-pill-nav]>[data-pill-thumb]{transition:none}}[data-manage-header]{display:contents}:is([data-manage-bar],[data-manage-crumb],[data-manage-title],[data-manage-lede]){box-sizing:border-box;width:100%;max-width:var(--board-content);margin-left:auto;margin-right:auto}[data-manage-bar]{margin-top:0;margin-bottom:24px;display:block}[data-manage-menu]{scrollbar-width:none;flex-wrap:nowrap;gap:4px;margin:0;padding:0;display:flex;position:relative;overflow-x:auto}[data-manage-menu]::-webkit-scrollbar{display:none}[data-manage-menu]>button{border-radius:var(--control-radius);min-height:36px;color:var(--ink-2);white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:7px;margin:0;padding:8px 12px;font-size:14px;font-weight:400;display:inline-flex;position:relative}[data-manage-menu]>button svg{width:var(--icon-inline);height:var(--icon-inline);stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}[data-manage-menu]>button:hover{color:var(--ink)}[data-manage-menu]>button[aria-pressed=true]{background:var(--hover);color:var(--ink)}[data-manage-crumb]{margin-top:0;margin-bottom:12px;display:block}[data-manage-crumb] ol{align-items:center;gap:6px;margin:0;padding:0;list-style:none;display:flex}[data-manage-crumb] li{font-size:var(--fs-md);color:var(--muted);align-items:center;gap:6px;line-height:20px;transition:color .2s;display:flex}[data-manage-crumb] li[aria-current],[data-manage-crumb] li:not([aria-current]):hover{color:var(--ink)}[data-manage-crumb] a{color:inherit;text-decoration:none}[data-manage-crumb] li svg{width:16px;height:16px;stroke:var(--muted);fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none}h2[data-manage-title]{font:var(--board-title);letter-spacing:0;margin-top:0;margin-bottom:24px}@media (width<=760px){h2[data-manage-title]{font:var(--board-figure)}h2[data-manage-title][data-compact]{font-size:22px}}p[data-manage-lede]{border-radius:var(--surface-radius);background:var(--color-background-primary-default);color:var(--muted);font-size:var(--fs-sm);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:0;margin-bottom:16px;padding:20px 24px;line-height:1.5;display:flex}:root[data-theme=light] p[data-manage-lede]{background:var(--color-background-secondary-default)}@media (prefers-color-scheme:light){:root:not([data-theme]) p[data-manage-lede]{background:var(--color-background-secondary-default)}}[data-manage-lede]>[data-lede-text]{font:var(--board-heading)}[data-manage-lede]>[data-trash-lede-skeletons]{display:contents}[data-manage-lede] [data-trash-lede-skeleton]{background:color-mix(in srgb,var(--ink) 7%,transparent)}[data-manage-lede] [data-trash-lede-skeleton=text]{width:180px;max-width:60%;height:20px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:88px;max-width:none;height:32px}[data-manage-lede]>button[data-empty-trash]{box-sizing:border-box;border-radius:var(--control-radius);min-height:32px;font:inherit;font-size:var(--fs-xs);cursor:pointer;flex:none;align-items:center;padding:0 14px;font-weight:500;display:inline-flex}[data-manage-lede]>button[data-empty-trash]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=760px){[data-manage-bar]{margin-top:0;margin-bottom:24px}[data-manage-menu]{gap:0}[data-manage-menu]>button{padding:10px 9px;font-size:13px}[data-manage-menu]>button svg{display:none}[data-manage-lede]>button[data-empty-trash]{height:44px;padding-inline:16px}[data-manage-lede] [data-trash-lede-skeleton=action]{width:92px;height:44px}}.peach-react [data-filter-row=bottom][aria-busy=true] [data-entity-batch] svg,.peach-react [data-entity-batch][aria-busy=true] svg{--strand-dash:100;--strand-cycle:2.2s}.peach-react [data-filter-glass]>[data-filter-row=bottom]{overflow-y:hidden}button[data-settings-dialog-close]{background:var(--surface);width:24px;height:24px;color:var(--muted);cursor:pointer;border:0;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}button[data-settings-dialog-close]:hover{background:var(--hover);color:var(--ink)}button[data-settings-dialog-close]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}button[data-settings-dialog-close] svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react :is([data-namepick-toggle],[data-entity-action]){border:1px solid var(--border-10);border-radius:var(--control-radius);background:var(--overlay-5);width:32px;height:32px;color:var(--muted);cursor:pointer;flex:none;place-items:center;padding:0;display:grid}.peach-react :is([data-namepick-toggle],[data-entity-action]):is(:hover,[data-hovered]){background:var(--hover);color:var(--ink)}.peach-react :is([data-namepick-toggle],[data-entity-action]):focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react :is([data-namepick-toggle],[data-entity-action]) svg{fill:none;stroke:currentColor;width:16px;height:16px}.peach-react [data-favorite][aria-pressed=true]{color:var(--color-yellow-500)}.peach-react [data-favorite][aria-pressed=true] svg{fill:currentColor}.peach-react [data-favorite][aria-busy=true]{color:var(--muted);cursor:wait}.peach-react [data-shortcuts-entry]{flex:none;display:inline-flex}.peach-react [data-modal-width=collections]{background:var(--page);border-color:var(--line);flex:none;width:871px;max-width:calc(100vw - 32px)}.peach-react [data-modal-width=collections]>[role=dialog]{flex:1}.peach-react [data-modal-kind=collections]{transition:none}.peach-react [data-modal-kind=collections][data-entering]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-in}.peach-react [data-modal-kind=collections][data-exiting]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-backdrop-out}.peach-react [data-modal-kind=collections] [data-modal-surface]{transition:none}.peach-react [data-modal-kind=collections] [data-modal-surface][data-entering]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-in;transform:none}.peach-react [data-modal-kind=collections] [data-modal-surface][data-exiting]{opacity:1;animation:.35s cubic-bezier(.4,0,.2,1) both settings-dialog-out;transform:none}.peach-react [data-modal-kind=collections][data-motion-instant],.peach-react [data-modal-kind=collections][data-motion-instant] [data-modal-surface]{animation:none}.peach-react [data-shortcuts-panel]{flex:1;grid-template-rows:auto minmax(0,1fr);grid-template-columns:274px minmax(0,1fr);min-height:0;display:grid}.peach-react [data-shortcuts-head]{grid-column:2;justify-content:space-between;align-items:center;gap:12px;padding:32px 32px 24px;display:flex}.peach-react [data-shortcuts-head] h2{font-size:var(--fs-xl);font-weight:500;line-height:26px}.peach-react [data-shortcuts-sidebar]{min-height:0;box-shadow:inset 1px 0 0 var(--glass-low), inset -1px 0 0 var(--glass-low), inset 0 -1px 0 var(--glass-low), var(--glass-shadow);border:0;flex-direction:column;grid-area:1/1/3;padding:10px;display:flex}.peach-react [data-shortcuts-categories]{scrollbar-width:none;flex-direction:column;flex:1;gap:4px;min-height:0;margin-inline:-10px;padding-inline:10px;display:flex;position:relative;overflow-y:auto}.peach-react [data-shortcuts-caption]{z-index:1;font-size:var(--fs-xs);color:var(--muted);margin:0;padding:4px 8px 8px;position:relative}.peach-react [data-shortcuts-categories]>button{z-index:1;border-radius:var(--control-radius);min-height:36px;color:color-mix(in srgb, var(--glass-text) 65%, transparent);font:var(--board-body-medium);text-align:left;cursor:pointer;background:0 0;border:0;flex:none;align-items:center;gap:8px;padding:8px;display:flex;position:relative}.peach-react [data-shortcuts-categories]>button:is(:hover,[aria-selected=true]){color:var(--glass-text);background:0 0}.peach-react :is([data-shortcuts-categories],[data-shortcuts-footer]) svg{color:var(--glass-text)}.peach-react [data-shortcuts-categories]>button:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-shortcuts-count]{color:var(--muted);font:var(--board-caption);margin-left:auto}.peach-react [data-shortcuts-footer]{flex-direction:column;gap:4px;display:flex}.peach-react [data-shortcuts-footer] a{width:100%;font-family:var(--board-font);background:0 0;line-height:20px}.peach-react [data-shortcuts-footer] a:hover{background:0 0}.peach-react [data-shortcuts-footer] a>svg:last-child{margin-left:auto}.peach-react [data-shortcuts-footer] a:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-shortcuts-footer] svg{width:var(--icon-inline);height:var(--icon-inline);fill:none;stroke:currentColor}.peach-react [data-shortcuts-content]{grid-column:2;padding:16px 32px 32px}.peach-react [data-shortcuts-content] [data-empty-state]{padding:16px}.peach-react [data-shortcuts-row]{border-bottom:1px solid var(--color-separator-border);padding-block:12px}.peach-react [data-shortcuts-avatar]{background:var(--hover);width:36px;height:36px;color:var(--muted);border-radius:50%;flex:none;place-items:center;display:grid;overflow:hidden}.peach-react [data-shortcuts-avatar] img{object-fit:cover;width:100%;height:100%}.peach-react [data-shortcuts-avatar]:has(img)>svg{display:none}@media (width<=760px){.peach-react [data-modal-width=collections]{width:calc(100vw - 24px);max-width:calc(100vw - 24px)}.peach-react [data-shortcuts-panel]{flex-direction:column;display:flex}.peach-react [data-shortcuts-sidebar]{display:contents}.peach-react [data-shortcuts-categories]{border-bottom:1px solid var(--border-10);flex-direction:row;flex:none;order:0;margin-inline:0;padding:10px;overflow-x:auto}.peach-react [data-shortcuts-caption]{white-space:nowrap;flex:none;align-self:center;padding:0 8px 0 0}.peach-react [data-shortcuts-categories]>button{white-space:nowrap}.peach-react [data-shortcuts-head]{order:1;padding:16px 20px 12px}.peach-react [data-shortcuts-content]{flex:1;order:2;padding:16px 20px 20px}.peach-react [data-shortcuts-footer]{flex-direction:row;flex:none;order:3;padding:10px}}.peach-react [data-collapse-chevron]{transition:transform var(--motion-swap);transform:rotate(0)}.peach-react :is(button,summary)[aria-expanded=true]>[data-collapse-chevron],.peach-react [data-collapse-upward][aria-expanded=false]>[data-collapse-chevron]{transform:rotate(180deg)}.peach-react [data-collapse-upward][aria-expanded=true]>[data-collapse-chevron]{transform:rotate(0)}html[data-wall-entry] body,body[data-wall-open]{background:#070707;overflow:hidden}html[data-wall-entry] :is(body>header,[data-network-banner],#drawer,#main,#catalogPageHeading,#listTitle,#catalogFilter,#count,#javLibraryHeader,#feedNew),body[data-wall-open] :is(body>header,[data-network-banner],#drawer,#main,#catalogPageHeading,#listTitle,#catalogFilter,#count,#javLibraryHeader,#feedNew){pointer-events:none}:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogPageHeading,#listTitle,#catalogFilter,#count,#javLibraryHeader,#feedNew),:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogPageHeading,#listTitle,#catalogFilter,#count,#javLibraryHeader,#feedNew) *,:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogPageHeading,#listTitle,#catalogFilter,#count,#javLibraryHeader,#feedNew) :before,:is(html[data-wall-entry] body,body[data-wall-open]) :is(body>header,[data-network-banner],#drawer,#main,#catalogPageHeading,#listTitle,#catalogFilter,#count,#javLibraryHeader,#feedNew) :after{visibility:hidden!important;animation-play-state:paused!important}.peach-react [data-video-wall]{--ground:#070707;--surface:#161419;--ink:#f7f4ee;--ink-2:#f7f4ee;--muted:#aaa7a2;--hover:#ffffff14;--line-soft:#ffffff38;--color-button-ghost-background:transparent;--color-button-ghost-foreground:#f7f4ee;--color-button-ghost-hover:#ffffff14;--color-button-ghost-active:#ffffff1f;--color-background-primary-default:#070707;--color-background-secondary-default:#161419;--color-background-tertiary-default:#ffffff1a;--color-text-primary:#f7f4ee;--color-text-secondary:#aaa7a2;--color-border-button-default:#ffffff38;--gradient-button-primary-default:linear-gradient(#f7f4ee,#f7f4ee);--gradient-button-primary-hover:linear-gradient(#fff,#fff);--gradient-button-primary-active:var(--gradient-button-primary-default);width:100%;height:100dvh;z-index:calc(var(--layer-miniplayer) - 1);isolation:isolate;background:var(--ground);color:var(--ink);position:fixed;inset:0;overflow:hidden}.peach-react [data-video-wall][hidden]{display:none}.peach-react [data-video-wall]:after{content:"";z-index:4;pointer-events:none;background:radial-gradient(#0000 78%,#00000085 100%);position:absolute;inset:0}.peach-react [data-wall-viewport]{touch-action:none;cursor:grab;position:absolute;inset:0;overflow:hidden}.peach-react [data-wall-viewport]:active{cursor:grabbing}.peach-react [data-wall-viewport]:focus-visible{outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-wall-world]{transform-origin:0 0;position:absolute;inset:0}.peach-react [data-video-wall][data-refreshing] [data-wall-viewport]{filter:blur(8px)grayscale();pointer-events:none}.peach-react [data-wall-skeleton]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:#f7f4ee0f;display:block;position:absolute}.peach-react :is([data-wall-error],[data-wall-empty]){z-index:7;width:min(420px,100% - 48px);position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.peach-react [data-wall-error]{flex-direction:column;gap:12px;display:flex}.peach-react [data-wall-tile]{left:var(--wall-left);top:var(--wall-top);width:var(--wall-width);height:var(--wall-height);background:var(--surface);color:var(--ink);text-align:left;cursor:inherit;-webkit-user-select:none;user-select:none;contain:layout paint;border:0;border-radius:0;padding:0;transition:filter .6s,box-shadow .6s;display:block;position:absolute;overflow:hidden}@media (hover:hover) and (pointer:fine){.peach-react [data-wall-tile]:not([data-wall-focus]):hover{z-index:3;filter:saturate(1.08)brightness(1.05)}}.peach-react [data-wall-tile]:focus-visible{z-index:4;outline:2px solid var(--ink);outline-offset:-2px}.peach-react [data-video-wall] :is([data-media-pic],[data-media-art]){display:block;position:absolute;inset:0;overflow:hidden}.peach-react [data-video-wall] [data-media-pic]{--pic-radius:0;clip-path:inset(0)}.peach-react [data-video-wall] [data-media-pic]:before{content:"";background:var(--cover-blur) center/cover no-repeat;filter:blur(20px);opacity:.7;pointer-events:none;position:absolute;inset:-20px}.peach-react [data-wall-tile] img{pointer-events:none;border-radius:0}.peach-react [data-wall-tile] img[class~=whole]{object-fit:cover;object-position:var(--cover-x,50%) var(--cover-y,22%)}.peach-react [data-wall-tile] [data-media-art=thumb] img{object-fit:cover;object-position:50% 22%;width:100%;height:100%;display:block}.peach-react [data-wall-tile-shade]{pointer-events:none;background:linear-gradient(#0000000d 34%,#0000003d 56%,#000000eb 100%);position:absolute;inset:0}.peach-react [data-wall-dim]{pointer-events:none;background:#000;position:absolute;inset:0}.peach-react [data-wall-copy]{color:var(--ink);pointer-events:none;flex-direction:column;gap:4px;padding:13px;display:flex;position:absolute;inset:auto 0 0}.peach-react [data-wall-copy] b{letter-spacing:-.045em;text-wrap:balance;-webkit-line-clamp:3;overflow-wrap:anywhere;-webkit-box-orient:vertical;margin-block:-.14em;padding-block:.14em;font-size:calc(clamp(22px,2vw,36px)/1.31579);font-weight:600;line-height:.96;display:-webkit-box;overflow:hidden}.peach-react [data-wall-copy]>span{opacity:.78;text-overflow:ellipsis;white-space:nowrap;font-size:10px;font-weight:600;overflow:hidden}.peach-react [data-wall-number],.peach-react [data-wall-duration]{color:var(--ink);font-variant-numeric:tabular-nums;background:#000000a8;border-radius:0;padding:3px 6px;font-size:11px;font-weight:600;position:absolute;top:12px}.peach-react [data-wall-number]{left:12px}.peach-react [data-wall-duration]{right:12px}.peach-react [data-wall-progress]{height:2px;width:var(--wall-progress);background:var(--ink);position:absolute;bottom:0;left:0}.peach-react [data-wall-no-art]{color:var(--muted);font-size:var(--fs-sm);place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-wall-bar]{z-index:30;left:24px;right:24px;top:calc(24px + env(safe-area-inset-top));pointer-events:none;flex-wrap:wrap;align-items:center;gap:8px;display:flex;position:absolute}.peach-react [data-wall-bar]>*{pointer-events:auto;flex:none}.peach-react :is([data-wall-back],[data-wall-round],[data-wall-refresh] button){width:44px;height:44px;color:var(--ink);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);cursor:pointer;background:#282828c7;border:0;border-radius:50%;place-items:center;padding:0;display:grid}.peach-react :is([data-wall-back],[data-wall-round],[data-wall-refresh] button):hover{background:#464646e0}.peach-react :is([data-wall-back],[data-wall-round],[data-wall-refresh] button):focus-visible{outline:2px solid var(--ink);outline-offset:3px}.peach-react :is([data-wall-back],[data-wall-round],[data-wall-refresh] button) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:20px;height:20px}.peach-react [data-wall-bar]>[data-wall-filter-notice]{flex:260px;min-width:0}.peach-react [data-wall-image][aria-pressed=true]{background:var(--ink);color:var(--ground)}.peach-react [data-wall-image][aria-pressed=true]:hover{background:#fff}.peach-react [data-wall-bar]>[data-wall-search]{min-width:44px;max-width:44px;height:44px;color:var(--ink);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#282828c7;border-radius:22px;flex:1 1 0;transition:max-width .26s cubic-bezier(.22,1,.36,1);display:flex;overflow:hidden}.peach-react [data-wall-bar]>[data-wall-search][data-open]{max-width:320px}.peach-react [data-wall-search] [data-wall-round]{-webkit-backdrop-filter:none;backdrop-filter:none;background:0 0;flex:none}.peach-react [data-wall-search] input{min-width:0;height:100%;color:var(--ink);font:inherit;background:0 0;border:0;border-radius:0;outline:0;flex:1;padding:0 18px 0 2px;font-size:14px}.peach-react [data-wall-search] input::placeholder{color:var(--muted)}.peach-react [data-wall-search] input::-webkit-search-cancel-button{appearance:none}.peach-react [data-wall-search]:has(input:focus-visible){outline:2px solid var(--ink);outline-offset:3px}@media (prefers-reduced-motion:reduce){.peach-react [data-wall-bar]>[data-wall-search]{transition:none}}.peach-react [data-wall-footer]{left:24px;bottom:calc(24px + env(safe-area-inset-bottom));z-index:5;position:absolute}.peach-react [data-wall-focus]{z-index:20;cursor:default;background:var(--surface);isolation:isolate;border:1px solid #f7f4eeb8;border-radius:0;flex-direction:column;display:flex;box-shadow:0 42px 110px #000000bd}.peach-react [data-wall-focus]:before{content:"";z-index:6;pointer-events:none;border:2px solid var(--ink);box-shadow:inset 0 0 0 1px #00000085,inset 0 0 0 3px transparent,inset 0 0 15px -7px color-mix(in srgb,var(--ink) 46%,transparent);position:absolute;inset:0}.peach-react [data-wall-focus]:focus-within:before{box-shadow:inset 0 0 0 1px #0000009e,inset 0 0 0 3px transparent,inset 0 0 26px -6px color-mix(in srgb,var(--ink) 62%,transparent)}.peach-react [data-wall-focus-backdrop]{z-index:-1;opacity:.46;filter:blur(36px)saturate(.3);position:absolute;inset:-30px}.peach-react [data-wall-focus-backdrop] img{object-fit:cover;width:100%;height:100%}.peach-react [data-wall-scene]{position:absolute;inset:0}.peach-react [data-wall-focus][data-playing] [data-wall-scene]{filter:blur(36px);transform:scale(1.1)}.peach-react [data-wall-expanded-shade]{pointer-events:none;background:linear-gradient(#0000 54%,#00000042 70%,#0000009e 86%,#000000db 100%),linear-gradient(90deg,#000000e0,#00000080 52%,#00000014);position:absolute;inset:0}.peach-react [data-wall-focus-head]{pointer-events:none;flex-direction:column;gap:7px;display:flex;position:absolute;bottom:116px;left:24px;right:24px}.peach-react [data-wall-focus-head] b{--wall-code-size:calc(clamp(48px,6vw,82px) * .76);max-width:76%;font-size:var(--wall-code-fit,var(--wall-code-size));letter-spacing:-.045em;white-space:nowrap;text-overflow:ellipsis;font-weight:600;line-height:.95;display:block;overflow:hidden}.peach-react [data-wall-focus-head] strong{white-space:nowrap;text-overflow:ellipsis;max-width:90%;font-size:16px;font-weight:500;line-height:1.3;display:block;overflow:hidden}.peach-react [data-wall-focus-head] :is(span,small){opacity:.8;overflow-wrap:anywhere;font-size:13px}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head]{gap:5px;top:64px;bottom:auto}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] b{--wall-code-size:22px;letter-spacing:-.025em;line-height:1.1}.peach-react [data-wall-focus][data-playing] [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-close]{z-index:3;position:absolute;top:16px;right:16px}.peach-react [data-wall-player]{width:100%;height:100%;position:absolute;inset:0}.peach-react [data-wall-player][hidden]{display:none}.peach-react [data-wall-player] .video-js{background:0 0;width:100%;height:100%}.peach-react [data-wall-player] :is(.vjs-control-bar,.vjs-big-play-button,.vjs-title-bar),.peach-react [data-wall-player] :is([data-player-stats-button],[data-player-net],[data-player-stats]){display:none}.peach-react [data-wall-focus-actions]{z-index:3;flex-direction:column;gap:10px;display:flex;position:absolute;bottom:22px;left:24px;right:18px}.peach-react [data-wall-control-row]{align-items:center;gap:6px;display:flex}.peach-react [data-wall-time]{font-variant-numeric:tabular-nums;white-space:nowrap;opacity:.78;margin-left:auto;font-size:11px}.peach-react [data-wall-seek]{appearance:none;cursor:pointer;background:linear-gradient(to right,var(--ink) var(--wall-seek),#f7f4ee47 var(--wall-seek));border:0;border-radius:0;width:100%;height:2px;margin:0;padding:0}.peach-react [data-wall-seek]::-webkit-slider-thumb{appearance:none;background:var(--ink);border-radius:50%;width:8px;height:8px}.peach-react [data-wall-seek]::-moz-range-thumb{background:var(--ink);border:0;border-radius:50%;width:8px;height:8px}.peach-react [data-wall-play-error]{z-index:4;position:absolute;bottom:85px;left:24px;right:24px}.peach-react [data-wall-queue]{z-index:5;-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border:1px solid var(--line-soft);background:#070707f0;max-height:58%;display:flex;position:absolute;bottom:88px;left:24px;right:24px;overflow:hidden}.peach-react [data-wall-queue] [data-mix-queue]{background:0 0;border:0;grid-template-rows:auto minmax(0,1fr);width:100%;height:auto;min-height:0;max-height:100%;display:grid}.peach-react [data-wall-queue] [data-mix-list]{overscroll-behavior:contain;display:block;overflow:auto}.peach-react [data-wall-queue] [data-mix-item-text]{flex-direction:column;align-items:flex-start;gap:4px;min-width:0;display:flex}.peach-react [data-wall-queue] [data-mix-item-text] b{white-space:nowrap;text-overflow:ellipsis;max-width:100%;overflow:hidden}.peach-react [data-wall-queue] [data-mix-item-text] span{opacity:.78;font-size:12px}.peach-react [data-wall-queue] :is([data-mix-row],[data-mix-item]){border-radius:0}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]){width:36px;height:36px;color:var(--ink);cursor:pointer;background:0 0;border:0;border-radius:0;place-items:center;padding:6px;display:grid}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):hover{background:var(--hover)}.peach-react button[data-wall-focus-close]{background:#000000a8;border-radius:50%}.peach-react button[data-wall-focus-close]:hover{background:#000000db}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]):focus-visible{outline:2px solid var(--ink);outline-offset:2px}.peach-react :is([data-wall-focus-actions] button,[data-wall-focus-close]) svg{fill:none;stroke:currentColor;stroke-width:1.5px;stroke-linecap:round;stroke-linejoin:round;width:18px;height:18px}.peach-react [data-wall-pause] svg{fill:currentColor;stroke:none}.peach-react [data-wall-focus-actions] button:disabled{opacity:.5;cursor:default}.peach-react [data-wall-footer] button{color:var(--ink);border-color:var(--line-soft);background:#282828c7}@media (width<=640px){.peach-react [data-wall-bar]{left:16px;right:16px;top:calc(16px + env(safe-area-inset-top))}.peach-react [data-wall-filter-notice]{padding-inline:12px}.peach-react [data-wall-search] input{font-size:16px}.peach-react [data-wall-focus-head]{bottom:104px;left:16px;right:16px}.peach-react [data-wall-focus-head] b{--wall-code-size:34px}.peach-react [data-wall-focus-head] strong{font-size:14px}.peach-react [data-wall-focus-actions]{bottom:18px;left:16px;right:16px}.peach-react [data-wall-control-row]{gap:2px}.peach-react [data-wall-time]{font-size:10px}.peach-react [data-wall-footer]{left:16px;bottom:calc(16px + env(safe-area-inset-bottom))}}.peach-react [data-board-data-table][data-resizable-table] .bui-table{table-layout:fixed}.peach-react [data-board-data-table][data-resizable-table] th{padding-right:16px;position:relative}.peach-react [data-board-data-table][data-resizable-table] td{text-overflow:ellipsis;overflow:hidden}.peach-react [data-board-data-table][data-resizable-table] [data-table-space]{padding:0}.peach-react [data-board-data-table] td a{align-self:flex-start;width:fit-content;max-width:100%}.peach-react [data-board-data-table] td a:has(>[data-middle-truncate]){width:100%}.peach-react [data-board-data-table] .react-aria-ColumnResizer{z-index:2;cursor:ew-resize;touch-action:none;width:20px;position:absolute;top:0;bottom:0;right:-10px}.peach-react [data-board-data-table] .react-aria-ColumnResizer:after{content:"";background:var(--border-15);width:1px;position:absolute;top:8px;bottom:8px;left:9px}.peach-react [data-board-data-table] th:is(:last-child,:has(+th[data-table-space])) .react-aria-ColumnResizer{width:12px;right:0}.peach-react [data-board-data-table] th:is(:last-child,:has(+th[data-table-space])) .react-aria-ColumnResizer:after{left:11px}html[data-column-resizing],html[data-column-resizing] *{cursor:ew-resize!important;-webkit-user-select:none!important;user-select:none!important}.peach-react [data-board-data-table] .react-aria-ColumnResizer:is([data-hovered],[data-resizing],[data-focus-visible]):after{background:var(--ink)}.peach-react [data-board-data-table] .react-aria-ColumnResizer[data-focus-visible]{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-rating-stars]{align-items:center;gap:2px;display:inline-flex}.peach-react [data-rating-stars] [data-rate]{border-radius:var(--control-radius);width:26px;height:26px;color:var(--rating);background:0 0;border:0;place-items:center;padding:0;display:grid}.peach-react [data-rating-stars] button[data-rate]{cursor:pointer}.peach-react [data-rating-stars] [data-rate] svg{stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;width:19px;height:19px}.peach-react [data-rating-stars] [data-rate][data-on=true] svg{fill:currentColor}.peach-react [data-rating-stars]:hover button[data-rate] svg{fill:none}.peach-react [data-rating-stars]:hover button[data-rate]:hover svg,.peach-react [data-rating-stars]:hover button[data-rate]:has(~[data-rate]:hover) svg{fill:currentColor}.peach-react [data-rating-stars] button[data-rate]:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}.peach-react [data-rating-stars] button[aria-disabled=true]{color:var(--muted);cursor:wait}.peach-react [data-rating-icon]{width:19px;height:19px;display:block;position:relative}.peach-react [data-rating-icon] svg{display:block;position:absolute;inset:0}.peach-react [data-rating-fill]{position:absolute;inset:0 auto 0 0;overflow:hidden}.peach-react [data-rating-fill] svg{fill:currentColor;max-width:none}.peach-react [data-catalog-table] .bui-table :is(th,td){border-radius:0}.peach-react [data-catalog-table] .bui-table td{text-overflow:ellipsis;white-space:nowrap;font-variant-numeric:tabular-nums;overflow:hidden}.peach-react [data-catalog-rating]{white-space:normal;flex-direction:column;align-items:stretch;gap:8px;display:flex}.peach-react [data-catalog-rating] [data-rating-stars]{align-self:flex-start}.peach-react [data-catalog-table] [data-list-identity]{align-items:center;gap:12px;min-width:0;padding:12px 0;display:flex;position:relative}.peach-react [data-catalog-table] [data-list-open]{cursor:pointer;background:0 0;border:0;flex:none;margin-right:4px;padding:0;display:flex}.peach-react [data-catalog-table] [data-list-people]{min-width:0;color:var(--ink-2);font-size:var(--fs-sm);align-items:center;gap:8px;display:flex}.peach-react [data-catalog-table] [data-list-people]>[data-media-avatar]{flex:none;margin-top:0}.peach-react [data-catalog-table] [data-list-people]>[data-media-avatars]{flex:none;max-width:109px}.peach-react [data-catalog-table] [data-list-people]>[data-media-who]{min-width:0;color:inherit;font:inherit;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;background:0 0;border:0;flex:0 auto;align-items:center;padding:0;display:inline-flex;overflow:hidden}.peach-react [data-catalog-table] [data-list-people]>[data-media-who]>span{text-overflow:ellipsis;overflow:hidden}.peach-react [data-catalog-table] [data-list-people]>[data-media-who]>svg{display:none}.peach-react [data-catalog-table] [data-list-people]>[data-media-who-more]{color:var(--muted);flex:none}.peach-react [data-catalog-table] [data-list-people] a[data-media-avatar]{width:38px}.peach-react [data-catalog-table] [data-list-people]>a{align-self:center}.peach-react [data-catalog-table] [data-list-people]>a[data-media-who]{text-decoration:none}.peach-react [data-catalog-table] [data-list-people]>a[data-media-who]:hover{text-decoration:underline}.peach-react [data-catalog-table] [data-list-studio-mark]{background:var(--sunk);width:16px;height:16px;color:var(--muted);object-fit:cover;border-radius:4px;flex:none;justify-content:center;align-items:center;font-size:10px;line-height:1;display:inline-flex;overflow:hidden}.peach-react [data-catalog-table] button[data-list-name]{color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:0}.peach-react [data-catalog-table] [data-list-picture] [data-media-group]{border-radius:6px;min-height:0;padding:1px 6px;font-size:11px;top:4px;right:4px}.peach-react [data-catalog-table] [data-list-picture]{border-radius:var(--control-radius);background:var(--sunk);width:112px;height:63px;color:var(--muted);font-size:var(--fs-sm);flex:none;justify-content:center;align-items:center;display:flex;position:relative;overflow:hidden}.peach-react [data-catalog-table] [data-list-picture] [data-media-art]{display:block;position:absolute;inset:0}.peach-react [data-catalog-table] [data-list-picture] :is(img,video){width:100%;height:100%}.peach-react [data-catalog-table] [data-list-picture] :is(img:not([data-jav-image]),video){object-fit:cover}.peach-react [data-catalog-table] [data-list-text]{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.peach-react [data-catalog-table] [data-list-name]{white-space:normal;overflow-wrap:anywhere;-webkit-line-clamp:2;-webkit-box-orient:vertical;min-width:0;line-height:1.4;display:-webkit-box;overflow:hidden}.peach-react [data-catalog-table] [data-list-identity]:has([data-list-open]:hover,[data-list-name]:hover) [data-list-name]{text-decoration:underline}.peach-react [data-catalog-table] [data-list-library]{min-width:0;max-width:100%;color:var(--ink-2);font-size:var(--fs-sm);align-items:center;gap:6px;display:inline-flex}.peach-react [data-catalog-table] [data-list-library]>span:last-child{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.peach-react [data-catalog-table] [data-catalog-row][data-library]>td{background:color-mix(in oklab, var(--library-color) 9%, transparent)}[data-theme=dark] .peach-react [data-catalog-table] [data-catalog-row][data-library]>td{background:color-mix(in oklab, var(--library-color) 13%, transparent)}.peach-react [data-catalog-table] [data-list-picture] [data-media-status]{gap:4px;bottom:4px;left:4px}.peach-react [data-catalog-table] [data-list-picture] [data-media-status]>span{width:20px;height:20px}.peach-react [data-catalog-table] [data-list-picture] [data-media-status] svg{width:11px;height:11px}.peach-react [data-catalog-table] [data-list-tags]{height:auto;max-height:calc(var(--control-h-inline) * 2 + 13px);white-space:normal}.peach-react [data-catalog-table] [data-list-tags] [data-media-tag]{box-sizing:border-box;height:var(--control-h-inline);line-height:calc(var(--control-h-inline) - 2px);padding-block:0}.peach-react [data-list-skeleton]{flex-direction:column;gap:16px;display:flex}.peach-react [data-list-skeleton-tools]{justify-content:flex-end;display:flex}.peach-react [data-list-skeleton-tools]>i{border-radius:var(--control-radius);width:312px;max-width:100%;height:36px;display:block}.peach-react [data-completion-skeleton]{height:calc(var(--control-h) + 16px);border-radius:var(--radius-2lg,10px);display:block}.peach-react [data-list-skeleton-name]{align-items:center;gap:12px;padding:12px 0;display:flex}.peach-react [data-list-skeleton-name]>i{border-radius:var(--control-radius);flex:none;width:112px;height:63px;margin-right:4px}.peach-react [data-list-skeleton-mark]{align-items:center;gap:8px;min-width:0;display:flex}.peach-react [data-list-skeleton-mark]>b{border-radius:4px;flex:none;width:16px;height:16px}.peach-react [data-list-skeleton-mark=people]>b{border-radius:50%;width:38px;height:38px}.peach-react [data-list-skeleton-mark]>i{border-radius:6px;flex:1;max-width:96px;height:14px;display:block}.peach-react [data-list-skeleton-name]>span{flex-direction:column;flex:1;gap:8px;min-width:0;display:flex}.peach-react [data-list-skeleton-name]>span>i{border-radius:6px;width:72%;height:14px;display:block}.peach-react [data-list-skeleton-name]>span>i+i{width:44%;height:12px}.peach-react [data-list-skeleton-bar]{border-radius:6px;width:min(72%,96px);height:14px;display:block}[data-skeleton=catalog\/list]{grid-column:1/-1}@media (width<=760px){.peach-react [data-catalog-table] .bui-table :is(th,td):first-child,.peach-react [data-catalog-table] .bui-table :is(th,td):nth-child(2){padding-inline:8px}.peach-react [data-catalog-table] [data-list-open]{gap:12px}.peach-react [data-catalog-table] [data-list-picture]{width:80px;height:45px}}.peach-react [data-media-carousel] [data-follow-image-arrow]{box-sizing:border-box;z-index:4;top:var(--media-arrow-top,50%);cursor:pointer;color:#fff;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#0009;border:0;border-radius:50%;place-items:center;width:48px;height:48px;padding:0;display:grid;position:absolute;transform:translateY(-50%)}.peach-react [data-follow-image-arrow]:after{content:"";z-index:0;pointer-events:none;background:0 0;border-radius:50%;transition:background .2s cubic-bezier(.05,0,0,1);position:absolute;inset:4px}.peach-react [data-follow-image-arrow]:is(:hover,:focus-visible):after{background:#fff3}.peach-react [data-follow-image-arrow]:active:after{background:#ffffff4d}.peach-react [data-media-carousel] [data-follow-image-arrow]:focus-visible{outline:2px solid var(--tungsten);outline-offset:3px}.peach-react [data-media-carousel] [data-follow-image-arrow] svg{z-index:1;stroke:currentColor;fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:24px;height:24px;display:block;position:relative}.peach-react [data-media-carousel] [data-follow-image-arrow=prev]{left:11px}.peach-react [data-media-carousel] [data-follow-image-arrow=next]{right:11px}.peach-react [data-media-carousel] [data-media-indicator]{z-index:4;box-sizing:border-box;width:max-content;max-width:min(180px, calc(100% - var(--media-dot-room)));border-radius:var(--pill-radius);background:#00000080;border:0;position:absolute;bottom:18px;left:50%;overflow:hidden;transform:translate(-50%)}.peach-react [data-media-carousel] [data-follow-image-dots]{justify-content:flex-start;align-items:center;gap:var(--media-dot-gap);box-sizing:border-box;width:max-content;max-width:100%;padding:8px var(--media-dot-padding);overscroll-behavior-inline:contain;scrollbar-width:none;scroll-padding-inline:var(--media-dot-padding);display:flex;overflow:auto hidden}.peach-react [data-media-carousel] [data-follow-image-dots]::-webkit-scrollbar{display:none}.peach-react [data-media-carousel] [data-follow-image-dots] button{width:var(--media-dot-size);cursor:pointer;background:#ffffff6b;border:0;border-radius:50%;flex:none;height:8px;padding:0}.peach-react [data-media-carousel] [data-follow-image-dots] button[aria-current=true]{width:var(--media-dot-selected);border-radius:var(--pill-radius);background:#fff}.peach-react [data-media-carousel]{--media-dot-size:8px;--media-dot-selected:20px;--media-dot-gap:8px;--media-dot-padding:11px;--media-dot-room:120px;display:contents}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video]{width:var(--media-dot-selected);color:#fff;background:0 0;place-items:center;height:20px;display:grid}.peach-react [data-media-carousel] [data-follow-image-dots] button[data-carousel-video][aria-current=true]{background:0 0}.peach-react [data-media-carousel] [data-carousel-video] svg{stroke:currentColor;fill:none;stroke-width:2px;width:16px;height:16px}.peach-react [data-media-carousel] [data-carousel-video][aria-current=true] svg{fill:currentColor}.peach-react [data-media-carousel][data-carousel-below]{width:100%;padding:8px 0;display:block}.peach-react [data-media-carousel][data-carousel-below] [data-media-indicator]{margin:0 auto;position:relative;bottom:auto;left:auto;transform:none}.peach-react [data-media-thumbnails]{box-sizing:border-box;overscroll-behavior-inline:contain;scrollbar-width:none;gap:8px;width:100%;padding:0 12px 8px;display:flex;position:relative;overflow:auto hidden}.peach-react [data-media-thumbnails]::-webkit-scrollbar{display:none}.peach-react [data-media-thumbnail]{border-radius:var(--control-radius);background:color-mix(in srgb, var(--on-media) 8%, transparent);width:88px;height:56px;color:var(--on-media);cursor:pointer;border:0;flex:none;padding:0;position:relative;overflow:hidden}.peach-react [data-media-thumbnail][aria-current=true]{background:color-mix(in srgb, var(--on-media) 16%, transparent)}.peach-react [data-media-thumbnail] img{object-fit:contain;opacity:.65;width:100%;height:100%;display:block}.peach-react [data-media-thumbnail][aria-current=true] img{opacity:1}.peach-react [data-media-thumbnail]>span:not([data-media-thumbnail-play]){font-size:var(--fs-xs)}.peach-react [data-media-thumbnail-play]{background:#0006;place-items:center;display:grid;position:absolute;inset:0}.peach-react [data-media-thumbnail-play] svg{fill:currentColor;stroke:currentColor;width:24px;height:24px}.peach-react [data-media-thumbnail]:focus-visible{outline:2px solid var(--tungsten);outline-offset:-2px}.peach-react [data-media-carousel] [data-follow-image-dots] button:focus-visible{outline:2px solid var(--tungsten);outline-offset:2px}@media (width<=640px){.peach-react [data-media-carousel] [data-follow-image-arrow]{width:44px;height:44px}.peach-react [data-media-carousel] [data-media-indicator]{bottom:12px}}.peach-react [data-want-magnets]{container:resource-links/inline-size}.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr);align-items:start;gap:12px;display:grid}.peach-react [data-resource-title]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.peach-react [data-resource-facts]>span{white-space:nowrap}.peach-react [data-resource-actions]{min-width:0}.peach-react [data-want-magnets] [data-resource-protocol]{border-bottom:1px solid var(--color-separator-border);padding-block:16px}.peach-react [data-want-magnets] ul{gap:0}@container resource-links (width>=760px){.peach-react [data-resource-protocol]{grid-template-columns:minmax(0,1fr) auto;align-items:center}}.driver-layer{width:auto;max-width:none;height:auto;max-height:none;color:inherit;pointer-events:none;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:0;overflow:visible}.driver-layer::backdrop{display:none}.driver-layer .driver-popover{pointer-events:auto}.driver-popover{all:unset;font-family:var(--driver-popover-font-family,"Helvetica Neue", Inter, ui-sans-serif, "Apple Color Emoji", Helvetica, Arial, sans-serif);box-sizing:border-box;color:#2d2d2d;z-index:1000000000;background-color:#fff;border-radius:5px;min-width:250px;max-width:300px;margin:0;padding:15px;position:fixed;top:0;right:0;box-shadow:0 1px 10px #0006}.driver-popover-title{zoom:1;margin:0;font-size:19px;font-weight:700;line-height:1.5;display:block;position:relative}.driver-popover-close-btn{all:unset;cursor:pointer;color:#d2d2d2;z-index:1;text-align:center;width:32px;height:28px;font-size:18px;font-weight:500;transition:color .2s;position:absolute;top:0;right:0}.driver-popover-close-btn:hover,.driver-popover-close-btn:focus-visible{color:#2d2d2d}.driver-popover-title[style*=block]+.driver-popover-description{margin-top:5px}.driver-popover-description{zoom:1;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.5}.driver-popover-footer{text-align:right;zoom:1;justify-content:space-between;align-items:center;margin-top:15px;display:flex}.driver-popover-progress-text{color:#727272;zoom:1;font-size:13px;font-weight:400}.driver-popover-footer-btn{all:unset;box-sizing:border-box;color:#2d2d2d;cursor:pointer;zoom:1;background-color:#fff;border:1px solid #ccc;border-radius:3px;outline:0;padding:3px 7px;font-size:12px;line-height:1.3;text-decoration:none;display:inline-block}.driver-popover-footer .driver-popover-btn-disabled{opacity:.5;pointer-events:none}.driver-popover-footer-btn:hover,.driver-popover-footer-btn:focus{background-color:#f7f7f7}.driver-popover-navigation-btns{flex-grow:1;justify-content:flex-end;display:flex}.driver-popover-navigation-btns button+button{margin-left:4px}.driver-popover-arrow{content:"";border:5px solid #fff;position:absolute}.driver-popover-arrow-side-over{display:none}.driver-popover-arrow-side-left{border-top-color:#0000;border-bottom-color:#0000;border-right-color:#0000;left:100%}.driver-popover-arrow-side-right{border-top-color:#0000;border-bottom-color:#0000;border-left-color:#0000;right:100%}.driver-popover-arrow-side-top{border-bottom-color:#0000;border-left-color:#0000;border-right-color:#0000;top:100%}.driver-popover-arrow-side-bottom{border-top-color:#0000;border-left-color:#0000;border-right-color:#0000;bottom:100%}.driver-popover-arrow-side-center,.driver-popover-arrow-none{display:none}.driver-active .driver-overlay{pointer-events:none}.driver-active.driver-no-scroll{overflow:hidden}.driver-active *{pointer-events:none}.driver-active .driver-active-element,.driver-active .driver-active-element *,.driver-popover,.driver-popover *{pointer-events:auto}@keyframes animate-fade-in{0%{opacity:0}to{opacity:1}}.driver-fade .driver-overlay{animation:animate-fade-in var(--driver-animation-duration,.4s) ease-in-out}.driver-fade .driver-popover{animation:animate-fade-in var(--driver-animation-duration,.4s)}.driver-active-element-parent-no-scroll{overflow:hidden!important}.driver-no-interaction,.driver-no-interaction *{pointer-events:none!important}[data-connection-tone=neutral]>[aria-hidden]{background-color:var(--color-background-tertiary-default)}[data-connection-tone=neutral]>[aria-hidden]>span{background-color:var(--color-text-tertiary)}[data-connection-tone=error]>[aria-hidden]{background-color:var(--color-notification-error-background)}[data-connection-tone=error]>[aria-hidden]>span{background-color:var(--color-text-error-primary)}@keyframes peach-link-blink{0%,to{opacity:1}50%{opacity:.25}}.peach-react [data-link-check][aria-busy=true] [data-link-check-rays]{animation:1.2s ease-in-out infinite peach-link-blink}.peach-react [data-policy-matrix]{border-collapse:collapse;width:100%;max-width:560px;color:var(--ink-2);margin-top:4px}.peach-react [data-policy-matrix] :is(th,td){border-bottom:1px solid var(--line-soft);text-align:center;padding:6px 8px;font-weight:400}.peach-react [data-policy-matrix] thead th{color:var(--muted)}.peach-react [data-policy-matrix] tbody th{text-align:left;color:var(--ink-2)}.peach-react [data-policy-matrix] [data-policy-cell=on]{color:var(--ink)}.peach-react [data-policy-matrix] [data-policy-cell=off]{color:var(--muted)}.peach-react [data-policy-matrix] tr:last-child>*{border-bottom:0}.peach-react [data-library-head]{border-bottom:1px solid var(--color-border-button-default);flex-wrap:wrap;align-items:center;gap:12px;padding:10px 8px;display:flex}.peach-react [data-library-head]>*{min-width:0;max-width:100%}.peach-react [data-library-head]>:nth-child(2){flex:180px;width:auto}.peach-react [data-library-head]>:last-child{flex:200px;width:auto}.peach-react [data-library-head]>:is(:first-child,:nth-child(3)){flex-shrink:0}.peach-react [data-library-block]>:not([data-library-head],[data-library-folders]){padding:10px 8px 0}.peach-react [data-library-folders]{flex-direction:column;display:flex}.peach-react [data-library-folders]>*{padding:12px 8px}.peach-react [data-library-folders]>*+*{border-top:1px solid var(--color-border-button-default)}.peach-react [data-library-folders]>[data-folder-row]{background:0 0;border-width:0;border-radius:0}.peach-react [data-library-folders]>[data-folder-row]+*{border-top-width:1px}.peach-react [data-library-color-trigger]{border:1px solid var(--color-border-button-default);background:var(--color-background-primary-default);width:auto;height:36px;box-shadow:var(--shadow-xs);color:var(--color-text-primary);white-space:nowrap;border-radius:10px;gap:8px;padding:0 10px 0 7px;display:inline-flex}.peach-react [data-library-color-trigger]:hover{background:var(--color-background-primary-hover)}.peach-react [data-library-color-trigger] [data-glow-ball]{width:20px;height:20px}.peach-react [data-library-colors]{grid-template-columns:repeat(7,28px);padding:0}.peach-react [data-glow-ball][data-library-none]{--glow-chip:linear-gradient(135deg, transparent 46%, var(--color-text-tertiary) 46% 54%, transparent 54%), var(--color-background-tertiary-default)}.peach-react [data-platform-mark=windows]{color:#0078d4}.peach-react [data-platform-mark=android]{color:#3ddc84}.peach-react [data-platform-mark=apple]{color:var(--color-text-primary)}
/*$vite$:1*/
\ No newline at end of file
diff --git a/web/dist/peach-app.js b/web/dist/peach-app.js
index 5eb84c349..2e28623bd 100644
--- a/web/dist/peach-app.js
+++ b/web/dist/peach-app.js
@@ -2,7 +2,7 @@
(function() {
try {
var e = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new e.Error().stack;
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "f06a4487-f0c5-4747-9039-dc6573a8fc68", e._sentryDebugIdIdentifier = "sentry-dbid-f06a4487-f0c5-4747-9039-dc6573a8fc68");
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "b283a58f-4dd5-4902-bd16-b3cc85ba9191", e._sentryDebugIdIdentifier = "sentry-dbid-b283a58f-4dd5-4902-bd16-b3cc85ba9191");
} 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, t.exports), e = null), t.exports), s = (e, n) => {
@@ -16312,44 +16312,44 @@ function bg(e, t = 100, n) {
};
}
// node_modules/motion-dom/dist/es/animation/generators/spring.mjs
-var xg = 100, Sg = 10, uee = 1, dee = 800, Cg = .3, fee = .3, pee = .01, wg = 2, mee = .005, hee = .5, gee = .01, _ee = 10, Tg = .05, Eg = (e) => e < 0 ? 1 / Math.max(1 + e, Tg) : Math.max(1 - e, Tg);
-function Dg(e, t) {
+var xg = 100, Sg = 10, uee = 1, dee = 800, Cg = .3, fee = .3, pee = .01, mee = 2, hee = .005, gee = .5, _ee = .01, vee = 10, wg = .05, Tg = (e) => e < 0 ? 1 / Math.max(1 + e, wg) : Math.max(1 - e, wg);
+function Eg(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 kg((e) => i * Math.exp(-r * e) - r * Math.exp(-i * e) - a, (e) => Math.exp(-i * e) - Math.exp(-r * e), t) / t;
+ return Og((e) => i * Math.exp(-r * e) - r * Math.exp(-i * e) - a, (e) => Math.exp(-i * e) - Math.exp(-r * e), t) / t;
}
-function Og(e, t) {
+function Dg(e, t) {
return e * Math.sqrt(1 - t * t);
}
-var vee = 12;
-function kg(e, t, n) {
+var yee = 12;
+function Og(e, t, n) {
let r = n;
- for (let n = 1; n < vee; n++) r -= e(r) / t(r);
+ for (let n = 1; n < yee; n++) r -= e(r) / t(r);
return r;
}
-var Ag = .001;
-function yee({ duration: e = dee, bounce: t = Cg }) {
- let n, r, i = Eg(t);
- e = bm(gee, _ee, /* @__PURE__ */ jm(e)), i < 1 ? (n = (t) => {
- let n = t * i, r = n * e, a = Og(t, i), o = Math.exp(-r);
- return Ag - n / a * o;
+var kg = .001;
+function bee({ duration: e = dee, bounce: t = Cg }) {
+ let n, r, i = Tg(t);
+ e = bm(_ee, vee, /* @__PURE__ */ jm(e)), i < 1 ? (n = (t) => {
+ let n = t * i, r = n * e, a = Dg(t, i), o = Math.exp(-r);
+ return kg - n / a * o;
}, r = (t) => {
- let r = t * i * e, a = i * i * t * t * e, o = Math.exp(-r), s = Og(t * t, i);
- return (-n(t) + Ag > 0 ? -1 : 1) * -a * o / s;
+ let r = t * i * e, a = i * i * t * t * e, o = Math.exp(-r), s = Dg(t * t, i);
+ return (-n(t) + kg > 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 = kg(n, r, a), s = o * Dg(i, o * e), c = s * s;
+ let a = 5 / e, o = Og(n, r, a), s = o * Eg(i, o * e), c = s * s;
return {
stiffness: c,
damping: i * 2 * Math.sqrt(c),
duration: /* @__PURE__ */ Am(e)
};
}
-var jg = (e, t) => (t ? e >= 0 : e > 0) && e < Infinity;
-function Mg(e, t) {
- if (jg(e, t)) return e;
+var Ag = (e, t) => (t ? e >= 0 : e > 0) && e < Infinity;
+function jg(e, t) {
+ if (Ag(e, t)) return e;
}
-function bee(e) {
- let t = Mg(e.stiffness), n = Mg(e.damping, !0), r = Mg(e.mass), i = {
+function xee(e) {
+ let t = jg(e.stiffness), n = jg(e.damping, !0), r = jg(e.mass), i = {
...e,
stiffness: t ?? xg,
damping: n ?? Sg,
@@ -16359,14 +16359,14 @@ function bee(e) {
};
if (i.isTimeDefined) {
if (e.visualDuration) {
- let t = Eg(e.bounce || 0), n = 2 * Math.PI / (e.visualDuration * 1.2) * Dg(t, 2 * Math.PI / 1.2);
+ let t = Tg(e.bounce || 0), n = 2 * Math.PI / (e.visualDuration * 1.2) * Eg(t, 2 * Math.PI / 1.2);
i.stiffness = n * n, i.damping = 2 * t * Math.sqrt(i.stiffness);
- } else Object.assign(i, yee(i)), i.isResolvedFromDuration = !0;
- jg(i.stiffness) && jg(i.damping, !0) || (i.stiffness = xg, i.damping = Sg);
+ } else Object.assign(i, bee(i)), i.isResolvedFromDuration = !0;
+ Ag(i.stiffness) && Ag(i.damping, !0) || (i.stiffness = xg, i.damping = Sg);
}
return i;
}
-function Ng(e = fee, t = Cg) {
+function Mg(e = fee, t = Cg) {
let n = typeof e == "object" ? e : {
visualDuration: e,
keyframes: [0, 1],
@@ -16374,7 +16374,7 @@ function Ng(e = fee, t = Cg) {
}, 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 } = bee({ ...n }), f = (e) => d ? 0 : -/* @__PURE__ */ jm(e), p = s / (2 * Math.sqrt(o * c)), m = /* @__PURE__ */ jm(Math.sqrt(o / c)), h = p * m, g = {
+ }, { stiffness: o, damping: s, mass: c, duration: l, isResolvedFromDuration: u, isTimeDefined: d } = xee({ ...n }), f = (e) => d ? 0 : -/* @__PURE__ */ jm(e), p = s / (2 * Math.sqrt(o * c)), m = /* @__PURE__ */ jm(Math.sqrt(o / c)), h = p * m, g = {
target: i,
delta: i - r,
velocity: f(n.velocity || 0) || 0,
@@ -16382,12 +16382,12 @@ function Ng(e = fee, t = Cg) {
restDelta: 0
}, _ = () => {
let e = Math.abs(g.delta) < 5;
- g.restSpeed = n.restSpeed || (e ? pee : wg), g.restDelta = n.restDelta || (e ? mee : hee);
+ g.restSpeed = n.restSpeed || (e ? pee : mee), g.restDelta = n.restDelta || (e ? hee : gee);
};
_();
let v, y, b;
if (p < 1) {
- let e = Og(m, p), t = {
+ let e = Dg(m, p), t = {
A: 0,
sinC: 0,
cosC: 0,
@@ -16443,12 +16443,12 @@ function Ng(e = fee, t = Cg) {
};
return S;
}
-var Pg = /* @__PURE__ */ Object.assign(Ng, { applyToOptions: (e) => {
- let t = bg(e, 100, Ng);
+var Ng = /* @__PURE__ */ Object.assign(Mg, { applyToOptions: (e) => {
+ let t = bg(e, 100, Mg);
return e.ease = t.ease, e.duration = /* @__PURE__ */ Am(t.duration), e.type = "keyframes", e;
} });
// node_modules/motion-dom/dist/es/animation/generators/inertia.mjs
-function Fg({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {
+function Pg({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {
let d = e[0], f = {
done: !1,
value: d
@@ -16458,7 +16458,7 @@ function Fg({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32
let t = v(e);
f.done = Math.abs(t) <= l, f.value = f.done ? _ : e ? _ + t : d;
}, b, x, S = (e) => {
- p(f.value) && (b = e, x = Pg({
+ p(f.value) && (b = e, x = Ng({
keyframes: [f.value, m(f.value)],
velocity: -v(e) / r * 1e3,
damping: i,
@@ -16476,7 +16476,7 @@ function Fg({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 32
};
}
// node_modules/motion-dom/dist/es/utils/interpolate.mjs
-function xee(e, t, n) {
+function See(e, t, n) {
let r = [], i = xm.mix || ug, a = e.length - 1;
for (let o = 0; o < a; o++) {
let a = n?.(e[o], e[o + 1]) || i(e[o], e[o + 1]);
@@ -16484,13 +16484,13 @@ function xee(e, t, n) {
}
return r;
}
-function Ig(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
+function Fg(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
let a = e.length;
if (a === 1) return () => t[0];
if (a === 2 && t[0] === t[1]) return () => t[1];
let o = e[0] === e[1];
e[0] > e[a - 1] && (e = [...e].reverse(), t = [...t].reverse());
- let s = xee(t, r, i), c = s.length, l = (n) => {
+ let s = See(t, r, i), c = s.length, l = (n) => {
if (o && n < e[0]) return t[0];
let r = 0;
if (c > 1) for (; r < e.length - 2 && !(n < e[r + 1]); r++);
@@ -16500,7 +16500,7 @@ function Ig(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
return n ? (t) => l(bm(e[0], e[a - 1], t)) : l;
}
// node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs
-function Lg(e, t) {
+function Ig(e, t) {
let n = e[e.length - 1];
for (let r = 1; r <= t; r++) {
let i = /* @__PURE__ */ Om(0, t, r);
@@ -16508,19 +16508,19 @@ function Lg(e, t) {
}
}
// node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs
-function Rg(e) {
+function Lg(e) {
let t = [0];
- return Lg(t, e.length - 1), t;
+ return Ig(t, e.length - 1), t;
}
// node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs
-function See(e, t) {
+function Cee(e, t) {
return e.map((e) => e * t);
}
// node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs
-function Cee(e, t) {
+function wee(e, t) {
return e.map(() => t || qm).splice(0, e.length - 1);
}
-function zg({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut", mixer: i }) {
+function Rg({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut", mixer: i }) {
let a = typeof t[0] == "number" ? void 0 : i, o = /* @__PURE__ */ Jm(r) ? r.map($m) : $m(r) || qm, s = {
done: !1,
value: t[0]
@@ -16532,8 +16532,8 @@ function zg({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut",
next: (t) => (s.value = i ? i(o(e > 0 ? bm(0, 1, t / e) : 1)) : r, s.done = t >= e, s)
};
}
- let c = Ig(See(n && n.length === t.length ? n : Rg(t), e), t, {
- ease: Array.isArray(o) ? o : Cee(t, o),
+ let c = Fg(Cee(n && n.length === t.length ? n : Lg(t), e), t, {
+ ease: Array.isArray(o) ? o : wee(t, o),
mixer: a
});
return {
@@ -16542,35 +16542,35 @@ function zg({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut",
};
}
// node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs
-var wee = 5;
-function Tee(e, t, n) {
- let r = Math.max(t - wee, 0);
+var Tee = 5;
+function Eee(e, t, n) {
+ let r = Math.max(t - Tee, 0);
return /* @__PURE__ */ Mm(n - e(r), t - r);
}
-function Bg(e, t, n = 0) {
- return t <= 0 ? n : e.velocity ? e.velocity(t) : Tee((t) => e.next(t).value, t, e.next(t).value);
+function zg(e, t, n = 0) {
+ return t <= 0 ? n : e.velocity ? e.velocity(t) : Eee((t) => e.next(t).value, t, e.next(t).value);
}
// node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs
-var Eee = (e) => e !== null;
-function Vg(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {
- let a = e.filter(Eee), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;
+var Dee = (e) => e !== null;
+function Bg(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {
+ let a = e.filter(Dee), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;
return !o || r === void 0 ? a[o] : r;
}
// node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs
-var Dee = {
- decay: Fg,
- inertia: Fg,
- tween: zg,
- keyframes: zg,
- spring: Pg
+var Oee = {
+ decay: Pg,
+ inertia: Pg,
+ tween: Rg,
+ keyframes: Rg,
+ spring: Ng
};
-function Hg(e) {
- typeof e.type == "string" && (e.type = Dee[e.type]);
+function Vg(e) {
+ typeof e.type == "string" && (e.type = Oee[e.type]);
}
// node_modules/motion-dom/dist/es/animation/utils/resolve-start-time.mjs
-var Oee = 40, Ug = (e, t) => t - e > Oee && !xm.useManualTiming ? t : e;
+var kee = 40, Hg = (e, t) => t - e > kee && !xm.useManualTiming ? t : e;
// node_modules/motion-dom/dist/es/animation/utils/notify-inspector.mjs
-function Wg(e, t) {
+function Ug(e, t) {
return {
kind: e,
animation: t,
@@ -16579,11 +16579,11 @@ function Wg(e, t) {
frameIsProcessing: eh.isProcessing
};
}
-function Gg(e, t, n) {
+function Wg(e, t, n) {
let r = globalThis.__MOTION_INSPECT__;
if (r) try {
r({
- ...Wg("animation-start", e),
+ ...Ug("animation-start", e),
options: n ? {
...t,
...n
@@ -16591,17 +16591,17 @@ function Gg(e, t, n) {
});
} catch {}
}
-function kee(e, t) {
+function Aee(e, t) {
let n = globalThis.__MOTION_INSPECT__;
if (n) try {
n({
- ...Wg("layout-animation-start", e),
+ ...Ug("layout-animation-start", e),
node: t
});
} catch {}
}
// node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs
-var Kg = class {
+var Gg = class {
constructor() {
this.isResolved = !1;
}
@@ -16619,7 +16619,7 @@ var Kg = class {
then(e, t) {
return this.finished.then(e, t);
}
-}, Aee = (e) => e / 100, qg = (e) => Math.round(e * 1e4) / 1e4, Jg = class extends Kg {
+}, jee = (e) => e / 100, Kg = (e) => Math.round(e * 1e4) / 1e4, qg = class extends Gg {
constructor(e) {
super(), this.state = "idle", this.startTime = null, this.isStopped = !1, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.delayState = {
done: !1,
@@ -16627,13 +16627,13 @@ var Kg = class {
}, this.stop = () => {
let { motionValue: e } = this.options;
e && e.updatedAt !== rh.now() && this.tick(rh.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());
- }, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause(), Gg(this, this.options);
+ }, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause(), Wg(this, this.options);
}
initAnimation() {
let { options: e } = this;
- Hg(e);
- let { type: t = zg, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || zg;
- this.mixKeyframes = void 0, s !== zg && typeof o[0] != "number" && (this.mixKeyframes = Dm(Aee, e.mixer?.(o[0], o[1]) || ug(o[0], o[1])), o = [0, 100]);
+ Vg(e);
+ let { type: t = Rg, repeat: n = 0, repeatDelay: r = 0, repeatType: i, velocity: a = 0 } = e, { keyframes: o } = e, s = t || Rg;
+ this.mixKeyframes = void 0, s !== Rg && typeof o[0] != "number" && (this.mixKeyframes = Dm(jee, e.mixer?.(o[0], o[1]) || ug(o[0], o[1])), o = [0, 100]);
let c = s(o === e.keyframes ? e : {
...e,
keyframes: o
@@ -16653,20 +16653,20 @@ var Kg = class {
let { generator: n, totalDuration: r, calculatedDuration: i } = this;
if (this.startTime === null) return n.next(0);
let { delay: a = 0, keyframes: o, type: s, onUpdate: c, finalKeyframe: l } = this.options;
- this.startTime === this.pendingStartTime && (this.startTime = Ug(this.startTime, e)), this.pendingStartTime = void 0, this.speed > 0 ? this.startTime = Math.min(this.startTime, e) : this.speed < 0 && (this.startTime = Math.min(e - r / this.speed, this.startTime)), t ? this.currentTime = e : this.updateTime(e);
+ this.startTime === this.pendingStartTime && (this.startTime = Hg(this.startTime, e)), this.pendingStartTime = void 0, this.speed > 0 ? this.startTime = Math.min(this.startTime, e) : this.speed < 0 && (this.startTime = Math.min(e - r / this.speed, this.startTime)), t ? this.currentTime = e : this.updateTime(e);
let u = this.currentTime - a * (this.playbackSpeed >= 0 ? 1 : -1), d = this.playbackSpeed >= 0 ? u < 0 : u > r;
this.currentTime = Math.max(u, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = r);
let f = this.generate(this.currentTime, d), { done: p } = f;
d || (p = this.playbackSpeed >= 0 ? i < Infinity ? this.currentTime >= r : p : this.currentTime <= 0);
let m = this.holdTime === null && (this.state === "finished" || this.state === "running" && p);
- return m && s !== Fg && (f.value = Vg(o, this.options, l, this.speed)), c && c(f.value), m && this.finish(), f;
+ return m && s !== Pg && (f.value = Bg(o, this.options, l, this.speed)), c && c(f.value), m && this.finish(), f;
}
at(e) {
- return this.holdTime ?? qg((e - this.startTime) * this.playbackSpeed);
+ return this.holdTime ?? Kg((e - this.startTime) * this.playbackSpeed);
}
sampleAt(e, t) {
let { options: n, totalDuration: r } = this, i = this.at(e) - (n.delay || 0);
- return i >= r && n.type !== Fg ? Vg(n.keyframes, n, t ? void 0 : n.finalKeyframe) : this.generate(Math.max(i, 0), i < 0).value;
+ return i >= r && n.type !== Pg ? Bg(n.keyframes, n, t ? void 0 : n.finalKeyframe) : this.generate(Math.max(i, 0), i < 0).value;
}
generate(e, t) {
let { generator: n, totalDuration: r, mixKeyframes: i, mirroredGenerator: a, resolvedDuration: o } = this, { keyframes: s, repeat: c, repeatType: l, repeatDelay: u } = this.options, d = e, f = n;
@@ -16690,7 +16690,7 @@ var Kg = class {
e = /* @__PURE__ */ Am(e), this.currentTime = e, this.startTime === null || this.holdTime !== null || this.playbackSpeed === 0 ? this.holdTime = e : this.driver && (this.startTime = this.driver.now() - e / this.playbackSpeed), this.driver ? this.driver.start(!1) : (this.startTime = 0, this.state = "paused", this.holdTime = e, this.tick(e));
}
getGeneratorVelocity() {
- return Bg(this.generator, this.currentTime, this.options.velocity);
+ return zg(this.generator, this.currentTime, this.options.velocity);
}
get speed() {
return this.playbackSpeed;
@@ -16727,27 +16727,27 @@ var Kg = class {
attachTimeline(e) {
return this.options.allowFlatten && (this.options.type = "keyframes", this.options.ease = "linear", this.initAnimation()), this.driver?.stop(), e.observe(this);
}
-}, jee = /* @__PURE__ */ new Set([
+}, Mee = /* @__PURE__ */ new Set([
"brightness",
"contrast",
"saturate",
"opacity"
]);
-function Mee(e) {
+function Nee(e) {
let [t, n] = e.slice(0, -1).split("(");
if (t === "drop-shadow") return e;
let [r] = n.match(mh) || [];
if (!r) return e;
- let i = n.replace(r, ""), a = +!!jee.has(t);
+ let i = n.replace(r, ""), a = +!!Mee.has(t);
return r !== n && (a *= 100), t + "(" + a + i + ")";
}
-var Nee = /\b([a-z-]*)\(.*?\)/gu, Yg = {
+var Pee = /\b([a-z-]*)\(.*?\)/gu, Jg = {
...Qh,
getAnimatableNone: (e) => {
- let t = e.match(Nee);
- return t ? t.map(Mee).join(" ") : e;
+ let t = e.match(Pee);
+ return t ? t.map(Nee).join(" ") : e;
}
-}, Xg = {
+}, Yg = {
...Qh,
getAnimatableNone: (e) => {
let t = Qh.parse(e);
@@ -16756,10 +16756,10 @@ var Nee = /\b([a-z-]*)\(.*?\)/gu, Yg = {
alpha: 1
} : e));
}
-}, Zg = {
+}, Xg = {
...dh,
transform: Math.round
-}, Qg = {
+}, Zg = {
rotate: Eh,
pathRotation: Eh,
rotateX: Eh,
@@ -16785,7 +16785,7 @@ var Nee = /\b([a-z-]*)\(.*?\)/gu, Yg = {
originX: jh,
originY: jh,
originZ: Oh
-}, $g = {
+}, Qg = {
borderWidth: Oh,
borderTopWidth: Oh,
borderRightWidth: Oh,
@@ -16836,13 +16836,13 @@ var Nee = /\b([a-z-]*)\(.*?\)/gu, Yg = {
fontSize: Oh,
backgroundPositionX: Oh,
backgroundPositionY: Oh,
- ...Qg,
- zIndex: Zg,
+ ...Zg,
+ zIndex: Xg,
fillOpacity: fh,
strokeOpacity: fh,
- numOctaves: Zg
-}, Pee = {
- ...$g,
+ numOctaves: Xg
+}, Fee = {
+ ...Qg,
color: Nh,
backgroundColor: Nh,
outlineColor: Nh,
@@ -16853,21 +16853,21 @@ var Nee = /\b([a-z-]*)\(.*?\)/gu, Yg = {
borderRightColor: Nh,
borderBottomColor: Nh,
borderLeftColor: Nh,
- filter: Yg,
- WebkitFilter: Yg,
- mask: Xg,
- WebkitMask: Xg
-}, e_ = (e) => Pee[e], Fee = /*@__PURE__*/ new Set([Yg, Xg]);
-function t_(e, t) {
- let n = e_(e);
- return Fee.has(n) || (n = Qh), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
+ filter: Jg,
+ WebkitFilter: Jg,
+ mask: Yg,
+ WebkitMask: Yg
+}, $g = (e) => Fee[e], Iee = /*@__PURE__*/ new Set([Jg, Yg]);
+function e_(e, t) {
+ let n = $g(e);
+ return Iee.has(n) || (n = Qh), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
}
// node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs
-function n_(e) {
+function t_(e) {
for (let t = 1; t < e.length; t++) e[t] ?? (e[t] = e[t - 1]);
}
// node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs
-var r_ = (e) => e * 180 / Math.PI, i_ = (e) => a_(r_(Math.atan2(e[1], e[0]))), Iee = {
+var n_ = (e) => e * 180 / Math.PI, r_ = (e) => i_(n_(Math.atan2(e[1], e[0]))), Lee = {
x: 4,
y: 5,
translateX: 4,
@@ -16876,44 +16876,44 @@ var r_ = (e) => e * 180 / Math.PI, i_ = (e) => a_(r_(Math.atan2(e[1], e[0]))), I
scaleY: 3,
scaleZ: () => 1,
scale: (e) => (Math.abs(e[0]) + Math.abs(e[3])) / 2,
- rotate: i_,
- rotateZ: i_,
- skewX: (e) => r_(Math.atan(e[1])),
- skewY: (e) => r_(Math.atan(e[2])),
+ rotate: r_,
+ rotateZ: r_,
+ skewX: (e) => n_(Math.atan(e[1])),
+ skewY: (e) => n_(Math.atan(e[2])),
skew: (e) => (Math.abs(e[1]) + Math.abs(e[2])) / 2
-}, a_ = (e) => (e %= 360, e < 0 && (e += 360), e), o_ = i_, s_ = (e) => Math.hypot(e[0], e[1]), c_ = (e) => Math.hypot(e[4], e[5]), Lee = {
+}, i_ = (e) => (e %= 360, e < 0 && (e += 360), e), a_ = r_, o_ = (e) => Math.hypot(e[0], e[1]), s_ = (e) => Math.hypot(e[4], e[5]), Ree = {
x: 12,
y: 13,
z: 14,
translateX: 12,
translateY: 13,
translateZ: 14,
- scaleX: s_,
- scaleY: c_,
+ scaleX: o_,
+ scaleY: s_,
scaleZ: (e) => Math.hypot(e[8], e[9], e[10]),
- scale: (e) => (s_(e) + c_(e)) / 2,
- rotateX: (e) => a_(r_(Math.atan2(e[6], e[5]))),
- rotateY: (e) => a_(r_(Math.atan2(-e[2], e[0]))),
- rotateZ: o_,
- rotate: o_,
- skewX: (e) => r_(Math.atan(e[4])),
- skewY: (e) => r_(Math.atan(e[1])),
+ scale: (e) => (o_(e) + s_(e)) / 2,
+ rotateX: (e) => i_(n_(Math.atan2(e[6], e[5]))),
+ rotateY: (e) => i_(n_(Math.atan2(-e[2], e[0]))),
+ rotateZ: a_,
+ rotate: a_,
+ skewX: (e) => n_(Math.atan(e[4])),
+ skewY: (e) => n_(Math.atan(e[1])),
skew: (e) => (Math.abs(e[1]) + Math.abs(e[4])) / 2
};
-function l_(e) {
+function c_(e) {
return +!!e.includes("scale");
}
-function u_(e, t) {
- if (!e || e === "none") return l_(t);
+function l_(e, t) {
+ if (!e || e === "none") return c_(t);
let n = e.match(/^matrix(3d)?\(([-\d.e\s,]+)\)$/u);
- if (!n) return l_(t);
- let r = (n[1] ? Lee : Iee)[t], i = n[2].split(",").map((e) => parseFloat(e));
+ if (!n) return c_(t);
+ let r = (n[1] ? Ree : Lee)[t], i = n[2].split(",").map((e) => parseFloat(e));
return typeof r == "function" ? r(i) : i[r];
}
-var d_ = (e, t) => {
+var u_ = (e, t) => {
let { transform: n = "none" } = getComputedStyle(e);
- return u_(n, t);
-}, f_ = [
+ return l_(n, t);
+}, d_ = [
"transformPerspective",
"x",
"y",
@@ -16932,14 +16932,14 @@ var d_ = (e, t) => {
"skew",
"skewX",
"skewY"
-], p_ = /* @__PURE__ */ new Set([...f_, "pathRotation"]), m_ = (e) => e === dh || e === Oh, Ree = /* @__PURE__ */ new Set([
+], f_ = /* @__PURE__ */ new Set([...d_, "pathRotation"]), p_ = (e) => e === dh || e === Oh, zee = /* @__PURE__ */ new Set([
"x",
"y",
"z"
-]), zee = /* @__PURE__ */ f_.filter((e) => !Ree.has(e));
-function Bee(e) {
+]), Bee = /* @__PURE__ */ d_.filter((e) => !zee.has(e));
+function Vee(e) {
let t = [];
- return zee.forEach((n) => {
+ return Bee.forEach((n) => {
let r = e.getValue(n);
if (r !== void 0) {
let e = r.get(), i = +!!n.startsWith("scale");
@@ -16948,16 +16948,16 @@ function Bee(e) {
}
}), t;
}
-var Vee = /* @__PURE__ */ new Set(["bottom", "right"]);
-function h_(e, t, n, r, i, a) {
+var Hee = /* @__PURE__ */ new Set(["bottom", "right"]);
+function m_(e, t, n, r, i, a) {
let o = parseFloat(e);
if (!isNaN(o)) return o;
let { min: s, max: c } = t()[n], l = c - s;
return a === "border-box" ? l : l - parseFloat(r) - parseFloat(i);
}
-var g_ = ({ transform: e }) => u_(e, "x"), __ = ({ transform: e }) => u_(e, "y"), v_ = {
- width: ({ width: e, paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }, i) => h_(e, i, "x", t, n, r),
- height: ({ height: e, paddingTop: t = "0", paddingBottom: n = "0", boxSizing: r }, i) => h_(e, i, "y", t, n, r),
+var h_ = ({ transform: e }) => l_(e, "x"), g_ = ({ transform: e }) => l_(e, "y"), __ = {
+ width: ({ width: e, paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }, i) => m_(e, i, "x", t, n, r),
+ height: ({ height: e, paddingTop: t = "0", paddingBottom: n = "0", boxSizing: r }, i) => m_(e, i, "y", t, n, r),
top: ({ top: e }) => parseFloat(e),
left: ({ left: e }) => parseFloat(e),
bottom: ({ top: e }, t) => {
@@ -16968,20 +16968,20 @@ var g_ = ({ transform: e }) => u_(e, "x"), __ = ({ transform: e }) => u_(e, "y")
let { x: n } = t();
return parseFloat(e) + (n.max - n.min);
},
- x: g_,
- y: __,
- translateX: g_,
- translateY: __
-}, y_ = /* @__PURE__ */ new Set(), b_ = !1, x_ = !1, S_ = !1;
-function C_() {
- if (x_) {
+ x: h_,
+ y: g_,
+ translateX: h_,
+ translateY: g_
+}, v_ = /* @__PURE__ */ new Set(), y_ = !1, b_ = !1, x_ = !1;
+function S_() {
+ if (b_) {
let e = [], t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set();
- y_.forEach((r) => {
- r.needsMeasurement && (e.push(r), t.add(r.element), Vee.has(r.name) && n.add(r.element));
+ v_.forEach((r) => {
+ r.needsMeasurement && (e.push(r), t.add(r.element), Hee.has(r.name) && n.add(r.element));
});
let r = /* @__PURE__ */ new Map();
n.forEach((e) => {
- let t = Bee(e);
+ let t = Vee(e);
t.length && (r.set(e, t), e.render());
}), e.forEach((e) => e.measureInitialState()), t.forEach((e) => {
e.render();
@@ -16993,29 +16993,29 @@ function C_() {
e.suspendedScrollY !== void 0 && window.scrollTo(0, e.suspendedScrollY);
});
}
- x_ = !1, b_ = !1, y_.forEach((e) => e.complete(S_)), y_.clear();
+ b_ = !1, y_ = !1, v_.forEach((e) => e.complete(x_)), v_.clear();
}
-function w_() {
- y_.forEach((e) => {
- e.readKeyframes(), e.needsMeasurement && (x_ = !0);
+function C_() {
+ v_.forEach((e) => {
+ e.readKeyframes(), e.needsMeasurement && (b_ = !0);
});
}
-function Hee() {
- S_ = !0, w_(), C_(), S_ = !1;
+function Uee() {
+ x_ = !0, C_(), S_(), x_ = !1;
}
-function Uee(e, t, n) {
+function Wee(e, t, n) {
if (typeof e == "string") {
if (Sm(e) || wm(e)) return parseFloat(e);
- if (!Qh.test(e) && Qh.test(n)) return t_(t, n);
+ if (!Qh.test(e) && Qh.test(n)) return e_(t, n);
}
return e ?? void 0;
}
-var T_ = class {
+var w_ = class {
constructor(e, t, n, r, i, a = !1) {
this.state = "pending", this.isAsync = !1, this.needsMeasurement = !1, this.unresolvedKeyframes = [...e], this.onComplete = t, this.name = n, this.motionValue = r, this.element = i, this.isAsync = a;
}
scheduleResolve() {
- this.state = "scheduled", this.isAsync ? (y_.add(this), b_ || (b_ = !0, pg.read(w_), pg.resolveKeyframes(C_))) : (this.readKeyframes(), this.complete());
+ this.state = "scheduled", this.isAsync ? (v_.add(this), y_ || (y_ = !0, pg.read(C_), pg.resolveKeyframes(S_))) : (this.readKeyframes(), this.complete());
}
readKeyframes() {
let { unresolvedKeyframes: e, name: t, element: n, motionValue: r } = this;
@@ -17023,71 +17023,71 @@ var T_ = class {
let i = r?.get(), a = e[e.length - 1];
if (i !== void 0) e[0] = i;
else if (n && t) {
- let r = Uee(n.readValue(t, a), t, a);
+ let r = Wee(n.readValue(t, a), t, a);
r !== void 0 && (e[0] = r);
}
e[0] === void 0 && (e[0] = a), r && i === void 0 && r.set(e[0]);
}
- n_(e);
+ t_(e);
}
setFinalKeyframe() {}
measureInitialState() {}
renderEndStyles() {}
measureEndState() {}
complete(e = !1) {
- this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), y_.delete(this);
+ this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), v_.delete(this);
}
cancel() {
- this.state === "scheduled" && (y_.delete(this), this.state = "pending");
+ this.state === "scheduled" && (v_.delete(this), this.state = "pending");
}
resume() {
this.state === "pending" && this.scheduleResolve();
}
-}, E_ = (e) => e.startsWith("--");
+}, T_ = (e) => e.startsWith("--");
// node_modules/motion-dom/dist/es/render/dom/style-set.mjs
-function D_(e, t, n) {
- E_(t) ? e.style.setProperty(t, n) : e.style[t] = n;
+function E_(e, t, n) {
+ T_(t) ? e.style.setProperty(t, n) : e.style[t] = n;
}
// node_modules/motion-dom/dist/es/utils/supports/flags.mjs
-var Wee = {};
+var Gee = {};
// node_modules/motion-dom/dist/es/utils/supports/memo.mjs
-function O_(e, t) {
+function D_(e, t) {
let n = /* @__PURE__ */ Tm(e);
- return () => Wee[t] ?? n();
+ return () => Gee[t] ?? n();
}
// node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs
-var Gee = /* @__PURE__ */ O_(() => window.ScrollTimeline !== void 0, "scrollTimeline"), k_ = /*@__PURE__*/ O_(() => {
+var Kee = /* @__PURE__ */ D_(() => window.ScrollTimeline !== void 0, "scrollTimeline"), O_ = /*@__PURE__*/ D_(() => {
try {
document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });
} catch {
return !1;
}
return !0;
-}, "linearEasing"), A_ = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, j_ = {
+}, "linearEasing"), k_ = ([e, t, n, r]) => `cubic-bezier(${e}, ${t}, ${n}, ${r})`, A_ = {
linear: "linear",
ease: "ease",
easeIn: "ease-in",
easeOut: "ease-out",
easeInOut: "ease-in-out",
- circIn: /*@__PURE__*/ A_([
+ circIn: /*@__PURE__*/ k_([
0,
.65,
.55,
1
]),
- circOut: /*@__PURE__*/ A_([
+ circOut: /*@__PURE__*/ k_([
.55,
0,
1,
.45
]),
- backIn: /*@__PURE__*/ A_([
+ backIn: /*@__PURE__*/ k_([
.31,
.01,
.66,
-.59
]),
- backOut: /*@__PURE__*/ A_([
+ backOut: /*@__PURE__*/ k_([
.33,
1.53,
.69,
@@ -17095,14 +17095,14 @@ var Gee = /* @__PURE__ */ O_(() => window.ScrollTimeline !== void 0, "scrollTime
])
};
// node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs
-function M_(e, t) {
- if (e) return typeof e == "function" ? k_() ? _g(e, t) : "ease-out" : /* @__PURE__ */ Xm(e) ? A_(e) : Array.isArray(e) ? e.map((e) => M_(e, t) || j_.easeOut) : j_[e];
+function j_(e, t) {
+ if (e) return typeof e == "function" ? O_() ? _g(e, t) : "ease-out" : /* @__PURE__ */ Xm(e) ? k_(e) : Array.isArray(e) ? e.map((e) => j_(e, t) || A_.easeOut) : A_[e];
}
// node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs
-function Kee(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {
+function qee(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 = M_(s, i);
+ let d = j_(s, i);
Array.isArray(d) && (u.easing = d);
let f = {
delay: r,
@@ -17115,27 +17115,27 @@ function Kee(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatTy
return l && (f.pseudoElement = l), e.animate(u, f);
}
// node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs
-function N_(e) {
+function M_(e) {
return typeof e == "function" && "applyToOptions" in e;
}
// node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs
-function qee({ type: e, ...t }) {
- return N_(e) && k_() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);
+function Jee({ type: e, ...t }) {
+ return M_(e) && O_() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);
}
// node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs
-var P_ = class extends Kg {
+var N_ = class extends Gg {
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;
- let c = qee(e);
- this.animation = Kee(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
+ let c = Jee(e);
+ this.animation = qee(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
if (this.finishedTime = this.time, !i) {
- let e = Vg(r, this.options, o, this.speed);
- this.updateMotionValue?.(e), D_(t, n, e), this.animation.cancel();
+ let e = Bg(r, this.options, o, this.speed);
+ this.updateMotionValue?.(e), E_(t, n, e), this.animation.cancel();
}
s?.(), this.notifyFinished();
- }, Gg(this, e, c);
+ }, Wg(this, e, c);
}
play() {
this.isStopped || (this.manualStartTime = null, this.animation.play(), this.state === "finished" && this.updateFinished());
@@ -17189,22 +17189,22 @@ var P_ = class extends Kg {
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 && Gee() ? (this.animation.timeline = e, t?.(this.animation), Em) : n(this);
+ return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, e && Kee() ? (this.animation.timeline = e, t?.(this.animation), Em) : n(this);
}
-}, F_ = {
+}, P_ = {
anticipate: Vm,
backInOut: Bm,
circInOut: Wm
};
-function Jee(e) {
- return e in F_;
-}
function Yee(e) {
- typeof e.ease == "string" && Jee(e.ease) && (e.ease = F_[e.ease]);
+ return e in P_;
}
-var Xee = class extends P_ {
+function Xee(e) {
+ typeof e.ease == "string" && Yee(e.ease) && (e.ease = P_[e.ease]);
+}
+var Zee = class extends N_ {
constructor(e) {
- Yee(e), Hg(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;
+ Xee(e), Vg(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;
}
elapsed() {
return this.state === "running" ? (rh.now() - this.startTime) * this.speed : this.time * 1e3;
@@ -17212,7 +17212,7 @@ var Xee = class extends P_ {
sample(e) {
if (!this.sampler) {
let { motionValue: e, onUpdate: t, onComplete: n, onPlay: r, onStop: i, element: a, ...o } = this.options;
- this.sampler = new Jg({
+ this.sampler = new qg({
...o,
autoplay: !1
}), this.sampler.stop();
@@ -17231,39 +17231,39 @@ var Xee = class extends P_ {
return;
}
let { speed: i } = this, a = this.elapsed(), o = this.state === "running" && i ? bm(0, 10, a) : 0, s = this.sample(a);
- n && r && D_(n, r, s), t.setWithVelocity(this.sample(a - o * Math.sign(i)), s, o / Math.abs(i || 1));
+ n && r && E_(n, r, s), t.setWithVelocity(this.sample(a - o * Math.sign(i)), s, o / Math.abs(i || 1));
}
-}, I_ = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (Qh.test(e) || e === "0") && !e.startsWith("url("));
+}, F_ = (e, t) => t !== "zIndex" && !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (Qh.test(e) || e === "0") && !e.startsWith("url("));
// node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs
-function Zee(e) {
+function Qee(e) {
let t = e[0];
if (e.length === 1) return !0;
for (let n = 0; n < e.length; n++) if (e[n] !== t) return !0;
}
-function Qee(e, t, n, r) {
+function $ee(e, t, n, r) {
let i = e[0];
if (i === null) return !1;
if (t === "display" || t === "visibility") return !0;
- let a = e[e.length - 1], o = I_(i, t), s = I_(a, t);
- return !o || !s ? !1 : Zee(e) || (n === "spring" || N_(n)) && r;
+ let a = e[e.length - 1], o = F_(i, t), s = F_(a, t);
+ return !o || !s ? !1 : Qee(e) || (n === "spring" || M_(n)) && r;
}
// node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs
-function L_(e) {
+function I_(e) {
e.duration = 0, e.type = "keyframes";
}
// node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs
-var R_ = /* @__PURE__ */ new Set([
+var L_ = /* @__PURE__ */ new Set([
"opacity",
"clipPath",
"filter",
"transform"
-]), $ee = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;
-function ete(e) {
- for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && $ee.test(e[t])) return !0;
+]), ete = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;
+function tte(e) {
+ for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && ete.test(e[t])) return !0;
return !1;
}
// node_modules/motion-dom/dist/es/animation/waapi/utils/needs-mixer.mjs
-var z_ = ({ mixer: e, keyframes: t }) => e && typeof t[0] != "number" && t.some((n, r) => r && e(t[r - 1], n)), B_ = /* @__PURE__ */ new Set([
+var R_ = ({ mixer: e, keyframes: t }) => e && typeof t[0] != "number" && t.some((n, r) => r && e(t[r - 1], n)), z_ = /* @__PURE__ */ new Set([
"color",
"backgroundColor",
"outlineColor",
@@ -17274,54 +17274,54 @@ var z_ = ({ mixer: e, keyframes: t }) => e && typeof t[0] != "number" && t.some(
"borderRightColor",
"borderBottomColor",
"borderLeftColor"
-]), V_ = () => !xm.useManualTiming && Object.hasOwnProperty.call(Element.prototype, "animate");
-function tte(e) {
+]), B_ = () => !xm.useManualTiming && Object.hasOwnProperty.call(Element.prototype, "animate");
+function nte(e) {
let { motionValue: t, name: n, repeatDelay: r, repeatType: i, damping: a, type: o, keyframes: s } = e;
- if (!n || !(R_.has(n) || B_.has(n))) return !1;
+ if (!n || !(L_.has(n) || z_.has(n))) return !1;
let c = t?.owner?.current;
if (!(c instanceof HTMLElement) && !(c instanceof SVGElement)) return !1;
let { onUpdate: l, transformTemplate: u } = t.owner.getProps();
- return V_() && (R_.has(n) || B_.has(n) && ete(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia" && !z_(e);
+ return B_() && (L_.has(n) || z_.has(n) && tte(s)) && (n !== "transform" || !u) && !l && !r && i !== "mirror" && a !== 0 && o !== "inertia" && !R_(e);
}
// node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs
-var H_ = (e, t) => t && typeof e == "number" ? t.transform(e) : e, nte = {
+var V_ = (e, t) => t && typeof e == "number" ? t.transform(e) : e, rte = {
x: "translateX",
y: "translateY",
z: "translateZ",
transformPerspective: "perspective"
-}, rte = f_.length, U_ = {}, W_ = (e, t, n = H_(t, Qg[e])) => (U_[e] || (U_[e] = (nte[e] || e) + "(")) + n + ")", G_ = (e, t) => (typeof t == "number" ? t : parseFloat(t)) === +!!e.startsWith("scale");
-function ite(e, t, n) {
+}, ite = d_.length, H_ = {}, U_ = (e, t, n = V_(t, Zg[e])) => (H_[e] || (H_[e] = (rte[e] || e) + "(")) + n + ")", W_ = (e, t) => (typeof t == "number" ? t : parseFloat(t)) === +!!e.startsWith("scale");
+function ate(e, t, n) {
let r = "";
- for (let i = 0; i < rte; i++) {
- let a = f_[i], o = e[a];
+ for (let i = 0; i < ite; i++) {
+ let a = d_[i], o = e[a];
if (o === void 0) continue;
- let s = n && (t[a] = H_(o, $g[a]));
- G_(a, o) || (r += W_(a, o, s || void 0) + " ");
+ let s = n && (t[a] = V_(o, Qg[a]));
+ W_(a, o) || (r += U_(a, o, s || void 0) + " ");
}
let i = e.pathRotation;
- return i && (r += W_("rotate", i)), r = r.trim(), n ? n(t, r) : r || "none";
+ return i && (r += U_("rotate", i)), r = r.trim(), n ? n(t, r) : r || "none";
}
// node_modules/motion-dom/dist/es/animation/waapi/transforms/groups.mjs
-var K_ = /* @__PURE__ */ new WeakMap(), ate = 200, q_ = .001, ote = .1, ste = .001, cte = 100, lte = (e) => /^(linear|ease(In|Out|InOut))$/.test(e), J_ = (e, t) => Math.abs(e - t) <= q_, Y_ = (e, t) => e - t, X_ = (e, t, n) => Rg(Array(n + 1)).map((n) => ng(e, t, n)), Z_ = (e) => e.motionValue.owner, Q_ = (e) => K_.get(e), $_ = ({ state: e }) => e === "idle" || e === "finished", ev = (e, t) => e.latestValues ? e.latestValues[t] : e.getValue(t)?.get(), ute = ({ name: e, motionValue: t }) => e && f_.includes(e) && t?.owner?.current instanceof HTMLElement && V_() && k_();
-function dte(e) {
- let t = Z_(e), { onUpdate: n, transformTemplate: r } = t.getProps();
- return !e.isHandoff && !n && !e.hasOnUpdate && !r && e.type !== "inertia" && (ev(t, "transform") || "none") === "none" && !ev(t, "pathRotation") && !t.projection?.isProjecting() && !z_(e);
+var G_ = /* @__PURE__ */ new WeakMap(), ote = 200, K_ = .001, ste = .1, cte = .001, lte = 100, ute = (e) => /^(linear|ease(In|Out|InOut))$/.test(e), q_ = (e, t) => Math.abs(e - t) <= K_, J_ = (e, t) => e - t, Y_ = (e, t, n) => Lg(Array(n + 1)).map((n) => ng(e, t, n)), X_ = (e) => e.motionValue.owner, Z_ = (e) => G_.get(e), Q_ = ({ state: e }) => e === "idle" || e === "finished", $_ = (e, t) => e.latestValues ? e.latestValues[t] : e.getValue(t)?.get(), dte = ({ name: e, motionValue: t }) => e && d_.includes(e) && t?.owner?.current instanceof HTMLElement && B_() && O_();
+function fte(e) {
+ let t = X_(e), { onUpdate: n, transformTemplate: r } = t.getProps();
+ return !e.isHandoff && !n && !e.hasOnUpdate && !r && e.type !== "inertia" && ($_(t, "transform") || "none") === "none" && !$_(t, "pathRotation") && !t.projection?.isProjecting() && !R_(e);
}
-var fte = class extends Jg {
+var pte = class extends qg {
constructor(e) {
- let t = Z_(e).current, { driver: n = gg } = e, r, i = dte(e);
+ let t = X_(e).current, { driver: n = gg } = e, r, i = fte(e);
e.driver = (e) => {
let i = n(e);
return {
js: i,
now: i.now,
start: (e = !0) => {
- let n = Q_(t);
+ let n = Z_(t);
!n || n.isJS ? i.start(e) : n.schedule(!1, !e);
},
stop: () => {
i.stop();
- let e = Q_(t);
+ let e = Z_(t);
e && !e.isFinishing && e.release(r);
}
};
@@ -17332,7 +17332,7 @@ var fte = class extends Jg {
};
}
get group() {
- return Q_(Z_(this.options).current);
+ return Z_(X_(this.options).current);
}
get js() {
return this.driver?.js;
@@ -17352,8 +17352,8 @@ var fte = class extends Jg {
return this.isAccelerated() ? this.sampleAt(rh.now()) : void 0;
}
tween() {
- let { keyframes: e, type: t, ease: n, times: r, repeat: i, delay: a = 0 } = this.options, o = /* @__PURE__ */ Xm(n) ? A_(n) : lte(n) && j_[n];
- if (o && !i && !r && e.length === 2 && t === zg && this.holdTime === null) {
+ let { keyframes: e, type: t, ease: n, times: r, repeat: i, delay: a = 0 } = this.options, o = /* @__PURE__ */ Xm(n) ? k_(n) : ute(n) && A_[n];
+ if (o && !i && !r && e.length === 2 && t === Rg && this.holdTime === null) {
let e = this.startTime + a / this.speed;
return [
e,
@@ -17363,7 +17363,7 @@ var fte = class extends Jg {
}
}
boundaries(e, t) {
- let { startTime: n, speed: r, resolvedDuration: i, options: a } = this, { delay: o = 0, repeat: s = 0, repeatDelay: c = 0, repeatType: l, times: u, keyframes: d, type: f } = a, p = (f || zg) === zg ? u || Rg(d) : [0, 1], m = n + o / r, h = [];
+ let { startTime: n, speed: r, resolvedDuration: i, options: a } = this, { delay: o = 0, repeat: s = 0, repeatDelay: c = 0, repeatType: l, times: u, keyframes: d, type: f } = a, p = (f || Rg) === Rg ? u || Lg(d) : [0, 1], m = n + o / r, h = [];
if (this.holdTime !== null || !(i > 0)) return h;
for (let n = Math.max(0, Math.floor((e - m) * r / i)); n <= s; n++) {
let a = m + n * i / r;
@@ -17383,7 +17383,7 @@ var fte = class extends Jg {
this.options.motionValue.setWithVelocity(this.sampleAt(e - 10, !0), this.sampleAt(e, !0), 10);
}
play() {
- this.isStopped || ((this.group || pte(Z_(this.options))).tracks.add(this), super.play());
+ this.isStopped || ((this.group || mte(X_(this.options))).tracks.add(this), super.play());
}
pause() {
super.pause(), this.isAccelerated() && (this.sync(), this.group.schedule(!1));
@@ -17403,13 +17403,13 @@ var fte = class extends Jg {
return this.canAccelerate = !1, this.group?.demote(!0), super.attachTimeline(e);
}
};
-function pte(e) {
+function mte(e) {
let t = e.current, n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Map(), i = {}, a = [], o = /* @__PURE__ */ new Map(), s = [], c = !1, l = !1, u = !1, d = !1, f = -Infinity, p = (e) => {
for (let t of n) if (t.name === e) return !0;
}, m = (t, n) => {
let o = {};
- for (let s of t === void 0 ? f_ : a) {
- let a = r.get(s), c = t === void 0 ? ev(e, s) : a ? a.sampleAt(n > t && !a.timing()[1] ? n : t) : i[s];
+ for (let s of t === void 0 ? d_ : a) {
+ let a = r.get(s), c = t === void 0 ? $_(e, s) : a ? a.sampleAt(n > t && !a.timing()[1] ? n : t) : i[s];
c !== void 0 && (o[s] = c);
}
return o;
@@ -17417,7 +17417,7 @@ function pte(e) {
let n = "";
for (let r in e) {
let i = e[r];
- t && G_(r, i) || (n += W_(r, i) + " ");
+ t && W_(r, i) || (n += U_(r, i) + " ");
}
return (t ? n.trim() : n) || "none";
}, g = (e, t) => h(m(e, t)), _ = (e = m()) => {
@@ -17441,32 +17441,32 @@ function pte(e) {
}
return r(t, n) > i / 2 ? [t, n] : [];
}, S = (e, t, n, r) => {
- let i = Math.min(ate, Math.max(2, Math.ceil((n - t) / 10)));
+ let i = Math.min(ote, Math.max(2, Math.ceil((n - t) / 10)));
if (r.length * 4 > i) return;
- let a = X_(t, n, i).concat(r).sort(Y_), o = (e) => /* @__PURE__ */ Om(t, n, e), s, c;
+ let a = Y_(t, n, i).concat(r).sort(J_), o = (e) => /* @__PURE__ */ Om(t, n, e), s, c;
for (let n of e) {
- let e = n.numberAt(t), r = a.map((t) => n.numberAt(t) - e), i = r[r.length - 1], o = r.some((e) => Math.abs(e) * q_ > Math.abs(i)) ? 0 : i, l = r.map((e) => o ? e / o : e);
+ let e = n.numberAt(t), r = a.map((t) => n.numberAt(t) - e), i = r[r.length - 1], o = r.some((e) => Math.abs(e) * K_ > Math.abs(i)) ? 0 : i, l = r.map((e) => o ? e / o : e);
if (o && !s) s = l, c = (t) => (n.numberAt(t) - e) / o;
- else if (l.some((e, t) => !J_(e, o && s[t]))) return;
+ else if (l.some((e, t) => !q_(e, o && s[t]))) return;
}
- if (!s || s.every((e, t) => J_(e, o(a[t])))) return "linear";
- let l = [], u = (e, t = c(e)) => l.push(qg(t) + " " + qg(o(e) * 100) + "%");
+ if (!s || s.every((e, t) => q_(e, o(a[t])))) return "linear";
+ let l = [], u = (e, t = c(e)) => l.push(Kg(t) + " " + Kg(o(e) * 100) + "%");
return s.forEach((e, t) => {
t && Math.abs(e - s[t - 1]) > .2 && x(c, a[t - 1], a[t]).forEach((e) => u(e)), u(a[t], e);
}), "linear(" + l + ")";
}, C = (e, t, n, r) => {
- let i = [t], a = (t, n) => e.every((e) => !(Math.abs(e.numberAt((t + n) / 2) - (e.numberAt(t) + e.numberAt(n)) / 2) > (e.name.startsWith("scale") ? ste : ote))), o = (t, n, r) => {
+ let i = [t], a = (t, n) => e.every((e) => !(Math.abs(e.numberAt((t + n) / 2) - (e.numberAt(t) + e.numberAt(n)) / 2) > (e.name.startsWith("scale") ? cte : ste))), o = (t, n, r) => {
if (n - t < 1 || a(t, n)) i.push(n);
else if (r < 4) o(t, (t + n) / 2, r + 1), o((t + n) / 2, n, r + 1);
else {
for (let r of e) i.push(...x((e) => r.numberAt(e), t, n));
i.push(n);
}
- }, s = X_(t, n, Math.ceil((n - t) / 100));
+ }, s = Y_(t, n, Math.ceil((n - t) / 100));
for (let e of r) s.push(e, Math.min(e + .01, n));
let c = t;
- for (let e of s.sort(Y_)) e > c && o(c, e, 0), c = e;
- return i.sort(Y_);
+ for (let e of s.sort(J_)) e > c && o(c, e, 0), c = e;
+ return i.sort(J_);
}, w = (e) => {
let t;
for (let n of e) {
@@ -17505,10 +17505,10 @@ function pte(e) {
d.push(e), c = Math.max(c, n);
}
}
- i = {}, a = f_.filter((t) => {
+ i = {}, a = d_.filter((t) => {
if (r.has(t)) return !0;
- let n = i[t] = ev(e, t);
- return n !== void 0 && !G_(t, n);
+ let n = i[t] = $_(e, t);
+ return n !== void 0 && !W_(t, n);
}), v(!1);
let m = !l && w(d);
try {
@@ -17554,18 +17554,18 @@ function pte(e) {
r && n.updatePlaybackRate && n.playState === "running" && Math.abs(Number(n.currentTime) - o) < 20 ? n.playbackRate !== r && n.updatePlaybackRate(r) : r ? (n.playbackRate = r, n.startTime = e - o / r) : (n.startTime = null, n.currentTime = o);
}
return !0;
- }, O = () => !n.size && (u = !0, Q_(t) === A && K_.delete(t), A.isJS || v(), !0), k = () => {
+ }, O = () => !n.size && (u = !0, Z_(t) === A && G_.delete(t), A.isJS || v(), !0), k = () => {
let t = rh.now();
if (A.isJS || (A.isFinishing = !0, n.forEach((n) => {
let [r, a] = n.timing();
- n.state === "running" && n.speed > 0 && !a && r <= t + 1 && (n.complete(), i[n.name] = ev(e, n.name), o.has(n) || (c = !0));
- }), A.isFinishing = !1), l = !1, u || (n.forEach((e) => $_(e) && n.delete(e)), O())) return;
+ n.state === "running" && n.speed > 0 && !a && r <= t + 1 && (n.complete(), i[n.name] = $_(e, n.name), o.has(n) || (c = !0));
+ }), A.isFinishing = !1), l = !1, u || (n.forEach((e) => Q_(e) && n.delete(e)), O())) return;
for (let e of n) if (!e.canAccelerate) return A.demote(!0);
A.isJS && (A.isJS = !1, c = !0, n.forEach((e) => e.js?.stop()));
let r = c, a = d;
if (c = d = !1, r || !D(t)) {
if (a) {
- if (t - f < cte) return A.demote();
+ if (t - f < lte) return A.demote();
f = t;
}
if (!E(t)) return A.demote();
@@ -17578,11 +17578,11 @@ function pte(e) {
u || (c ||= e, d ||= !!t, l || (l = !0, eh.isProcessing ? pg.render(k, !1, !0) : queueMicrotask(k)));
},
release(e) {
- $_(e) && n.delete(e), O() || A.schedule(!0);
+ Q_(e) && n.delete(e), O() || A.schedule(!0);
},
check() {
if (!A.isJS) {
- for (let t in i) if (ev(e, t) !== i[t] && !p(t)) return A.schedule(!0, !0);
+ for (let t in i) if ($_(e, t) !== i[t] && !p(t)) return A.schedule(!0, !0);
}
},
demote(e) {
@@ -17591,40 +17591,40 @@ function pte(e) {
}), A.isJS = !0, o = /* @__PURE__ */ new Map(), v(), n.forEach((e) => e.state === "running" && e.js?.start()), !0;
}
};
- return K_.set(t, A), A;
+ return G_.set(t, A), A;
}
// node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs
-var mte = class extends Kg {
+var hte = class extends Gg {
constructor(e) {
super(), this.stop = () => {
this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();
}, this.createdAt = rh.now();
let { keyframes: t, name: n, motionValue: r, element: i } = e, a = e;
a.autoplay ??= !0, a.delay ??= 0, a.type ??= "keyframes", a.repeat ??= 0, a.repeatDelay ??= 0, a.repeatType ??= "loop";
- let o = i?.KeyframeResolver || T_;
+ let o = i?.KeyframeResolver || w_;
this.keyframeResolver = new o(t, (e, t, n) => this.onKeyframesResolved(e, t, a, !n), n, r, i), this.keyframeResolver?.scheduleResolve();
}
onKeyframesResolved(e, t, n, r) {
this.keyframeResolver = void 0;
let { name: i, type: a, velocity: o, delay: s, isHandoff: c, onUpdate: l } = n;
this.resolvedAt = rh.now();
- let u = Qee(e, i, a, o);
- u || ((xm.instantAnimations || !s) && l?.(Vg(e, n, t)), e[0] = e[e.length - 1], L_(n), n.repeat = 0);
+ let u = $ee(e, i, a, o);
+ u || ((xm.instantAnimations || !s) && l?.(Bg(e, n, t)), e[0] = e[e.length - 1], I_(n), n.repeat = 0);
let { onComplete: d } = n;
n.finalKeyframe = t, n.keyframes = e, n.onComplete = () => {
d?.(), this.notifyFinished();
};
- let f = u && !c && tte(n), p = !f && ute(n);
- r && (f || p || this.resolvedAt !== this.createdAt) && (n.startTime ??= Ug(this.createdAt, this.resolvedAt));
+ let f = u && !c && nte(n), p = !f && dte(n);
+ r && (f || p || this.resolvedAt !== this.createdAt) && (n.startTime ??= Hg(this.createdAt, this.resolvedAt));
let m;
if (f) {
n.element = n.motionValue?.owner?.current;
try {
- m = new Xee(n);
+ m = new Zee(n);
} catch {
- m = new Jg(n);
+ m = new qg(n);
}
- } else m = p ? new fte(n) : new Jg(n);
+ } else m = p ? new pte(n) : new qg(n);
this.pendingTimeline &&= (this.stopTimeline = m.attachTimeline(this.pendingTimeline), void 0), this._animation = m;
}
get finished() {
@@ -17637,7 +17637,7 @@ var mte = class extends Kg {
return this._animation?.liveValue?.();
}
get animation() {
- return this._animation || (this.keyframeResolver?.resume(), Hee()), this._animation;
+ return this._animation || (this.keyframeResolver?.resume(), Uee()), this._animation;
}
get duration() {
return this.animation.duration;
@@ -17678,7 +17678,7 @@ var mte = class extends Kg {
cancel() {
this._animation?.cancel(), this.keyframeResolver?.cancel();
}
-}, hte = class {
+}, gte = class {
constructor(e) {
this.stop = () => this.runAll("stop"), this.animations = e.filter(Boolean);
}
@@ -17718,10 +17718,10 @@ var mte = class extends Kg {
return this.getAll("startTime");
}
get duration() {
- return tv(this.animations, "duration");
+ return ev(this.animations, "duration");
}
get iterationDuration() {
- return tv(this.animations, "iterationDuration");
+ return ev(this.animations, "iterationDuration");
}
runAll(e) {
this.animations.forEach((t) => t[e]());
@@ -17739,7 +17739,7 @@ var mte = class extends Kg {
this.runAll("complete");
}
};
-function tv(e, t) {
+function ev(e, t) {
let n = 0;
for (let r = 0; r < e.length; r++) {
let i = e[r][t];
@@ -17748,22 +17748,22 @@ function tv(e, t) {
return n;
}
// node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs
-var nv = class extends hte {
+var tv = class extends gte {
then(e, t) {
return this.finished.finally(e).then(() => {});
}
-}, rv = /* @__PURE__ */ new WeakMap(), gte = (e, t = "") => `${e}:${t}`;
-function _te(e) {
- let t = rv.get(e);
- return t || (t = /* @__PURE__ */ new Map(), rv.set(e, t)), t;
+}, nv = /* @__PURE__ */ new WeakMap(), _te = (e, t = "") => `${e}:${t}`;
+function vte(e) {
+ let t = nv.get(e);
+ return t || (t = /* @__PURE__ */ new Map(), nv.set(e, t)), t;
}
// node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs
-function iv(e, t, n, r = 0, i = 1) {
+function rv(e, t, n, r = 0, i = 1) {
let a = Array.from(e).sort((e, t) => e.sortNodePosition(t)).indexOf(t), o = e.size, s = (o - 1) * r;
return typeof n == "function" ? n(a, o) : i === 1 ? a * r : s - a * r;
}
// node_modules/motion-dom/dist/es/value/index.mjs
-var av = 30, vte = (e) => !isNaN(parseFloat(e)), ov = { current: void 0 }, sv = class {
+var iv = 30, yte = (e) => !isNaN(parseFloat(e)), av = { current: void 0 }, ov = class {
constructor(e, t = {}) {
this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (e) => {
let t = rh.now();
@@ -17771,7 +17771,7 @@ var av = 30, vte = (e) => !isNaN(parseFloat(e)), ov = { current: void 0 }, sv =
}, this.hasAnimated = !1, this.setCurrent(e), this.owner = t.owner;
}
setCurrent(e) {
- this.current = e, this.updatedAt = rh.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = vte(this.current));
+ this.current = e, this.updatedAt = rh.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = yte(this.current));
}
setPrevFrameValue(e = this.current) {
this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt;
@@ -17821,7 +17821,7 @@ var av = 30, vte = (e) => !isNaN(parseFloat(e)), ov = { current: void 0 }, sv =
this.dependents?.delete(e);
}
get() {
- ov.current?.push(this);
+ av.current?.push(this);
let e = this.animation?.liveValue?.();
return e === void 0 ? this.current : e;
}
@@ -17833,8 +17833,8 @@ var av = 30, vte = (e) => !isNaN(parseFloat(e)), ov = { current: void 0 }, sv =
}
getVelocity() {
let e = rh.now();
- if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > av) return 0;
- let t = Math.min(this.updatedAt - this.prevUpdatedAt, av);
+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > iv) return 0;
+ let t = Math.min(this.updatedAt - this.prevUpdatedAt, iv);
return /* @__PURE__ */ Mm(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);
}
start(e) {
@@ -17856,11 +17856,11 @@ var av = 30, vte = (e) => !isNaN(parseFloat(e)), ov = { current: void 0 }, sv =
this.dependents?.clear(), this.events.destroy?.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect?.();
}
};
-function cv(e, t) {
- return new sv(e, t);
+function sv(e, t) {
+ return new ov(e, t);
}
// node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs
-function lv(e, t) {
+function cv(e, t) {
if (e?.inherit && t) {
let { inherit: n, ...r } = e;
return {
@@ -17871,25 +17871,25 @@ function lv(e, t) {
return e;
}
// node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs
-function uv(e, t) {
+function lv(e, t) {
let n = e?.[t] ?? e?.default ?? e;
- return n === e ? n : lv(n, e);
+ return n === e ? n : cv(n, e);
}
// node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs
-var yte = {
+var bte = {
type: "spring",
stiffness: 500,
damping: 25,
restSpeed: 10
-}, bte = (e) => ({
+}, xte = (e) => ({
type: "spring",
stiffness: 550,
damping: e === 0 ? 2 * Math.sqrt(550) : 30,
restSpeed: 10
-}), xte = {
+}), Ste = {
type: "keyframes",
duration: .8
-}, Ste = {
+}, Cte = {
type: "keyframes",
ease: [
.25,
@@ -17898,7 +17898,7 @@ var yte = {
1
],
duration: .3
-}, Cte = (e, { keyframes: t }) => t.length > 2 ? xte : p_.has(e) ? e.startsWith("scale") ? bte(t[1]) : yte : Ste, wte = /* @__PURE__ */ new Set([
+}, wte = (e, { keyframes: t }) => t.length > 2 ? Ste : f_.has(e) ? e.startsWith("scale") ? xte(t[1]) : bte : Cte, Tte = /* @__PURE__ */ new Set([
"when",
"delay",
"delayChildren",
@@ -17912,13 +17912,13 @@ var yte = {
"out",
"mixer"
]);
-function Tte(e) {
- for (let t in e) if (!wte.has(t)) return !0;
+function Ete(e) {
+ for (let t in e) if (!Tte.has(t)) return !0;
return !1;
}
// node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs
-var dv = (e, t, n, r = {}, i, a) => (o) => {
- let s = uv(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;
+var uv = (e, t, n, r = {}, i, a) => (o) => {
+ let s = lv(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;
l -= /* @__PURE__ */ Am(c);
let u = {
keyframes: Array.isArray(n) ? n : [null, n],
@@ -17937,10 +17937,10 @@ var dv = (e, t, n, r = {}, i, a) => (o) => {
element: a ? void 0 : i,
hasOnUpdate: !!s.onUpdate
};
- Tte(s) || Object.assign(u, Cte(e, u)), u.duration &&= /* @__PURE__ */ Am(u.duration), u.repeatDelay &&= /* @__PURE__ */ Am(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);
+ Ete(s) || Object.assign(u, wte(e, u)), u.duration &&= /* @__PURE__ */ Am(u.duration), u.repeatDelay &&= /* @__PURE__ */ Am(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);
let d = !1;
- if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (L_(u), u.delay === 0 && (d = !0)), (xm.instantAnimations || xm.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, L_(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {
- let e = Vg(u.keyframes, s);
+ if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (I_(u), u.delay === 0 && (d = !0)), (xm.instantAnimations || xm.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, I_(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {
+ let e = Bg(u.keyframes, s);
if (e !== void 0) {
pg.update(() => {
u.onUpdate(e), u.onComplete();
@@ -17948,103 +17948,103 @@ var dv = (e, t, n, r = {}, i, a) => (o) => {
return;
}
}
- return s.isSync ? new Jg(u) : new mte(u);
-}, Ete = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;
-function Dte(e) {
- let t = Ete.exec(e);
+ return s.isSync ? new qg(u) : new hte(u);
+}, Dte = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;
+function Ote(e) {
+ let t = Dte.exec(e);
if (!t) return [,];
let [, n, r, i] = t;
return [`--${n ?? r}`, i];
}
-function fv(e, t, n = 1) {
- let [r, i] = Dte(e);
+function dv(e, t, n = 1) {
+ let [r, i] = Ote(e);
if (!r) return;
let a = window.getComputedStyle(t).getPropertyValue(r);
if (a) {
let e = a.trim();
return Sm(e) ? parseFloat(e) : e;
}
- return ch(i) ? fv(i, t, n + 1) : i;
+ return ch(i) ? dv(i, t, n + 1) : i;
}
// node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs
-function Ote(e) {
+function kte(e) {
let t = [{}, {}];
return e?.values.forEach((e, n) => {
t[0][n] = e.get(), t[1][n] = e.getVelocity();
}), t;
}
-function pv(e, t, n, r) {
- let i = (t) => typeof t == "function" ? t(n === void 0 ? e.custom : n, ...Ote(r)) : t;
+function fv(e, t, n, r) {
+ let i = (t) => typeof t == "function" ? t(n === void 0 ? e.custom : n, ...kte(r)) : t;
return t = i(t), typeof t == "string" && (t = e.variants && e.variants[t]), i(t);
}
// node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs
-function mv(e, t, n) {
- return pv(e.getProps(), t, n, e);
+function pv(e, t, n) {
+ return fv(e.getProps(), t, n, e);
}
-var hv = (e, t) => t === "exit" ? e.presenceContext?.custom : void 0, gv = /* @__PURE__ */ new Set([
+var mv = (e, t) => t === "exit" ? e.presenceContext?.custom : void 0, hv = /* @__PURE__ */ new Set([
"width",
"height",
"top",
"left",
"right",
"bottom",
- ...f_
-]), kte = (e) => Array.isArray(e);
+ ...d_
+]), Ate = (e) => Array.isArray(e);
// node_modules/motion-dom/dist/es/render/utils/setters.mjs
-function Ate(e, t, n) {
- e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, cv(n));
+function jte(e, t, n) {
+ e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, sv(n));
}
-function jte(e) {
- return kte(e) ? e[e.length - 1] || 0 : e;
+function Mte(e) {
+ return Ate(e) ? e[e.length - 1] || 0 : e;
}
-function Mte(e, t) {
- let { transitionEnd: n = {}, transition: r = {}, ...i } = mv(e, t) || {};
+function Nte(e, t) {
+ let { transitionEnd: n = {}, transition: r = {}, ...i } = pv(e, t) || {};
i = {
...i,
...n
};
- for (let t in i) Ate(e, t, jte(i[t]));
+ for (let t in i) jte(e, t, Mte(i[t]));
}
// node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs
-var _v = (e) => !!(e && e.getVelocity);
+var gv = (e) => !!(e && e.getVelocity);
// node_modules/motion-dom/dist/es/value/will-change/is.mjs
-function Nte(e) {
- return !!(_v(e) && e.add);
+function Pte(e) {
+ return !!(gv(e) && e.add);
}
// node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs
-function vv(e, t) {
+function _v(e, t) {
let n = e.getValue("willChange");
- if (Nte(n)) return n.add(t);
+ if (Pte(n)) return n.add(t);
if (!n && xm.WillChange) {
let n = new xm.WillChange("auto");
e.addValue("willChange", n), n.add(t);
}
}
// node_modules/motion-dom/dist/es/animation/optimized-appear/data-id.mjs
-var yv = "data-framer-appear-id";
+var vv = "data-framer-appear-id";
// node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs
-function bv(e) {
- return e.props[yv];
+function yv(e) {
+ return e.props[vv];
}
// node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs
-var Pte = typeof window < "u";
-function Fte({ protectedKeys: e, needsAnimating: t }, n) {
+var Fte = typeof window < "u";
+function Ite({ protectedKeys: e, needsAnimating: t }, n) {
let r = n in e && !t[n];
return t[n] = !1, r;
}
-function xv(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
+function bv(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
let { transition: a, transitionEnd: o, ...s } = t, c = e.getDefaultTransition();
- a = a ? lv(a, c) : c;
+ a = a ? cv(a, c) : c;
let l = a?.reduceMotion, u = a?.skipAnimations;
r && (a = r);
let d = [], f = i && e.animationState?.getState()[i], p = a?.path;
p && (p.animateValues ? p.animateValues((t) => e.getValue(t, e.latestValues[t] ?? 0), s, a, n, d) : p.animateVisualElement?.(e, s, a, n, d));
for (let t in s) {
let r = e.getValue(t, e.latestValues[t] ?? null), i = s[t];
- if (i === void 0 || f && Fte(f, t)) continue;
+ if (i === void 0 || f && Ite(f, t)) continue;
let o = {
delay: n,
- ...uv(f?.out[t] || a || {}, t)
+ ...lv(f?.out[t] || a || {}, t)
};
u && (o.skipAnimations = !0);
let c = r.get();
@@ -18053,79 +18053,79 @@ function xv(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
continue;
}
let p = !1;
- if (Pte && window.MotionHandoffAnimation) {
- let n = bv(e);
+ if (Fte && window.MotionHandoffAnimation) {
+ let n = yv(e);
if (n) {
let e = window.MotionHandoffAnimation(n, t, pg);
e !== null && (o.startTime = e, p = !0);
}
}
- vv(e, t);
+ _v(e, t);
let m = l ?? e.shouldReduceMotion;
- r.start(dv(t, r, i, m && gv.has(t) ? { type: !1 } : o, e, p));
+ r.start(uv(t, r, i, m && hv.has(t) ? { type: !1 } : o, e, p));
let h = r.animation;
h && d.push(h);
}
if (o) {
let t = () => pg.update(() => {
- o && Mte(e, o);
+ o && Nte(e, o);
});
d.length ? Promise.all(d).then(t) : t();
}
return d;
}
// node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs
-function Sv(e, t, n = {}) {
- let r = mv(e, t, hv(e, n.type)), i = n.transitionOverride || (r?.transition ?? (e.getDefaultTransition() || {})), a = () => Promise.all(r ? xv(e, r, n) : []), o = (r = 0) => {
+function xv(e, t, n = {}) {
+ let r = pv(e, t, mv(e, n.type)), i = n.transitionOverride || (r?.transition ?? (e.getDefaultTransition() || {})), a = () => Promise.all(r ? bv(e, r, n) : []), o = (r = 0) => {
let { variantChildren: a } = e, { delayChildren: o = 0, staggerChildren: s, staggerDirection: c } = i, l = [];
return a?.forEach((e) => {
- e.notify("AnimationStart", t), l.push(Sv(e, t, {
+ e.notify("AnimationStart", t), l.push(xv(e, t, {
...n,
- delay: r + (typeof o == "function" ? 0 : o) + iv(a, e, o, s, c)
+ delay: r + (typeof o == "function" ? 0 : o) + rv(a, e, o, s, c)
}).then(() => e.notify("AnimationComplete", t)));
}), Promise.all(l);
}, { when: s } = i;
return s ? s === "beforeChildren" ? a().then(() => o()) : o().then(a) : Promise.all([a(), o(n.delay)]);
}
// node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs
-function Ite(e, t, n = {}) {
- return e.notify("AnimationStart", t), (Array.isArray(t) ? Promise.all(t.map((t) => Sv(e, t, n))) : typeof t == "string" ? Sv(e, t, n) : Promise.all(xv(e, mv(e, t, n.custom), n))).then(() => {
+function Lte(e, t, n = {}) {
+ return e.notify("AnimationStart", t), (Array.isArray(t) ? Promise.all(t.map((t) => xv(e, t, n))) : typeof t == "string" ? xv(e, t, n) : Promise.all(bv(e, pv(e, t, n.custom), n))).then(() => {
e.notify("AnimationComplete", t);
});
}
// node_modules/motion-dom/dist/es/value/types/auto.mjs
-var Lte = {
+var Rte = {
test: (e) => e === "auto",
parse: (e) => e
-}, Rte = (e) => (t) => t.test(e), zte = [
+}, zte = (e) => (t) => t.test(e), Bte = [
dh,
Oh,
Dh,
Eh,
Ah,
kh,
- Lte
-], Cv = (e) => zte.find(Rte(e));
+ Rte
+], Sv = (e) => Bte.find(zte(e));
// node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs
-function Bte(e) {
+function Vte(e) {
return typeof e == "number" ? e === 0 : e === null || e === "none" || e === "0" || wm(e);
}
// node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs
-var Vte = /* @__PURE__ */ new Set([
+var Hte = /* @__PURE__ */ new Set([
"auto",
"none",
"0"
]);
-function Hte(e, t, n) {
+function Ute(e, t, n) {
let r = 0, i;
for (; r < e.length && !i;) {
let t = e[r];
- typeof t == "string" && !Vte.has(t) && Wh(t) && (i = e[r]), r++;
+ typeof t == "string" && !Hte.has(t) && Wh(t) && (i = e[r]), r++;
}
- if (i && n) for (let r of t) e[r] !== i && (e[r] = t_(n, i));
+ if (i && n) for (let r of t) e[r] !== i && (e[r] = e_(n, i));
}
// node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs
-var wv = class extends T_ {
+var Cv = class extends w_ {
constructor() {
super(...arguments), this.isAsync = !0;
}
@@ -18146,31 +18146,31 @@ var wv = class extends T_ {
for (let n = 0; n < e.length; n++) {
let r = e[n];
if (typeof r == "string" && (r = r.trim(), ch(r))) {
- let i = fv(r, t.current);
+ let i = dv(r, t.current);
i !== void 0 && (e[n] = i), n === e.length - 1 && (this.finalKeyframe = r);
}
}
- if (this.resolveNoneKeyframes(), !gv.has(n) || e.length !== 2) return;
+ if (this.resolveNoneKeyframes(), !hv.has(n) || e.length !== 2) return;
let [r, i] = e;
if (typeof r == "number" && typeof i == "number") return;
- let a = Cv(r), o = Cv(i);
- if (uh(r) !== uh(i) && v_[n]) this.needsMeasurement = !0;
+ let a = Sv(r), o = Sv(i);
+ if (uh(r) !== uh(i) && __[n]) this.needsMeasurement = !0;
else if (a !== o) {
- if (m_(a) && m_(o)) for (let t = 0; t < e.length; t++) {
+ if (p_(a) && p_(o)) for (let t = 0; t < e.length; t++) {
let n = e[t];
typeof n == "string" && (e[t] = parseFloat(n));
}
- else v_[n] && (this.needsMeasurement = !0);
+ else __[n] && (this.needsMeasurement = !0);
}
}
resolveNoneKeyframes() {
let { unresolvedKeyframes: e, name: t } = this, n = [];
- for (let t = 0; t < e.length; t++) (e[t] === null || Bte(e[t])) && n.push(t);
- n.length && Hte(e, n, t);
+ for (let t = 0; t < e.length; t++) (e[t] === null || Vte(e[t])) && n.push(t);
+ n.length && Ute(e, n, t);
}
measure() {
let { element: e, name: t } = this;
- return v_[t](window.getComputedStyle(e.current), () => e.measureViewportBox());
+ return __[t](window.getComputedStyle(e.current), () => e.measureViewportBox());
}
measureInitialState() {
let { element: e, unresolvedKeyframes: t, name: n } = this;
@@ -18186,19 +18186,19 @@ var wv = class extends T_ {
let n = t.length - 1, r = t[n];
t[n] = this.measure(), r !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = r), this.resolveNoneKeyframes();
}
-}, Tv = [
+}, wv = [
"borderTopLeftRadius",
"borderTopRightRadius",
"borderBottomRightRadius",
"borderBottomLeftRadius"
-], Ute = /* @__PURE__ */ new Set([
+], Wte = /* @__PURE__ */ new Set([
"borderWidth",
"borderTopWidth",
"borderRightWidth",
"borderBottomWidth",
"borderLeftWidth",
"borderRadius",
- ...Tv,
+ ...wv,
"width",
"maxWidth",
"height",
@@ -18241,21 +18241,21 @@ var wv = class extends T_ {
"backgroundPositionY"
]);
// node_modules/motion-dom/dist/es/animation/keyframes/utils/apply-px-defaults.mjs
-function Wte(e, t) {
- for (let n = 0; n < e.length; n++) typeof e[n] == "number" && Ute.has(t) && (e[n] = e[n] + "px");
+function Gte(e, t) {
+ for (let n = 0; n < e.length; n++) typeof e[n] == "number" && Wte.has(t) && (e[n] = e[n] + "px");
}
// node_modules/motion-dom/dist/es/animation/animate/effects.mjs
-var Ev = [];
-function Gte(e) {
- Dv(e), Ev.unshift(e);
+var Tv = [];
+function Kte(e) {
+ Ev(e), Tv.unshift(e);
}
-function Dv(e) {
- ym(Ev, e);
+function Ev(e) {
+ ym(Tv, e);
}
-function Kte(e) {
- return Ev.find((t) => t.test(e));
+function qte(e) {
+ return Tv.find((t) => t.test(e));
}
-function Ov(e, t, n = {}, r) {
+function Dv(e, t, n = {}, r) {
let i = [], { velocity: a, path: o } = n, s = n.reduceMotion ?? r?.shouldReduceMotion;
o?.animateValues && r && (t = { ...t }, o.animateValues(e, t, n, 0, i));
for (let o in t) {
@@ -18263,7 +18263,7 @@ function Ov(e, t, n = {}, r) {
let c = t[o];
if (c === void 0) continue;
let l = e(o), u = l.get();
- u !== void 0 && !l.isAnimating() && !Array.isArray(c) && c === u && !a ? pg.update(() => l.set(c)) : (l.start(dv(o, l, c, s && gv.has(o) ? { type: !1 } : n, r)), l.animation && i.push(l.animation));
+ u !== void 0 && !l.isAnimating() && !Array.isArray(c) && c === u && !a ? pg.update(() => l.set(c)) : (l.start(uv(o, l, c, s && hv.has(o) ? { type: !1 } : n, r)), l.animation && i.push(l.animation));
}
let { transitionEnd: c } = t;
if (c) {
@@ -18274,50 +18274,50 @@ function Ov(e, t, n = {}, r) {
}
return i;
}
-function kv(e, t, n, r, i) {
- return Ov((r) => {
+function Ov(e, t, n, r, i) {
+ return Dv((r) => {
let a = e.get(t, r);
if (!a) {
let o;
if (!i) {
let i = n[r];
- o = qte(i) ?? e.read(t, r, i);
+ o = Jte(i) ?? e.read(t, r, i);
}
- a = cv(o, { owner: i }), e(t, { [r]: a });
+ a = sv(o, { owner: i }), e(t, { [r]: a });
}
return a;
}, n, r, i);
}
-function qte(e) {
+function Jte(e) {
let t = Array.isArray(e) ? e[0] : void 0;
return t === null ? void 0 : t;
}
// node_modules/motion-dom/dist/es/utils/is-html-element.mjs
-function Av(e) {
+function kv(e) {
return Cm(e) && "offsetHeight" in e && !("ownerSVGElement" in e);
}
// node_modules/motion-dom/dist/es/utils/is-svg-element.mjs
-function jv(e) {
+function Av(e) {
return Cm(e) && "ownerSVGElement" in e;
}
// node_modules/motion-dom/dist/es/scope/active.mjs
-var Mv = {};
-function Nv(e) {
- return Mv.current?.add(e), e;
+var jv = {};
+function Mv(e) {
+ return jv.current?.add(e), e;
}
-var Pv = (e) => Mv.current ? Mv.current.bind(e) : e;
+var Nv = (e) => jv.current ? jv.current.bind(e) : e;
// node_modules/motion-dom/dist/es/utils/resolve-elements.mjs
-function Fv(e, t, n) {
+function Pv(e, t, n) {
if (e == null) return [];
if (e instanceof EventTarget) return [e];
if (typeof e == "string") {
- let r = t ? t.current : Mv.current?.root || document, i = n?.[e] ?? r.querySelectorAll(e);
+ let r = t ? t.current : jv.current?.root || document, i = n?.[e] ?? r.querySelectorAll(e);
return i ? Array.from(i) : [];
}
return Array.from(e).filter((e) => e != null);
}
// node_modules/motion-dom/dist/es/effects/MotionValueState.mjs
-var Jte = class {
+var Yte = class {
constructor(e = pg.render) {
this.step = e, this.values = /* @__PURE__ */ new Map(), this.pending = [], this.numPending = 0, this.flush = () => {
let { pending: e, numPending: t } = this;
@@ -18361,10 +18361,10 @@ var Jte = class {
}
};
// node_modules/motion-dom/dist/es/effects/utils/create-effect.mjs
-function Iv(e, { step: t, ...n } = {}) {
+function Fv(e, { step: t, ...n } = {}) {
let r = /* @__PURE__ */ new WeakMap();
return Object.assign((n, i) => {
- let a = r.get(n) ?? new Jte(t);
+ let a = r.get(n) ?? new Yte(t);
r.set(n, a);
let o = [];
for (let t in i) {
@@ -18381,83 +18381,83 @@ function Iv(e, { step: t, ...n } = {}) {
});
}
// node_modules/motion-dom/dist/es/effects/style/transform.mjs
-function Yte(e) {
+function Xte(e) {
let t = "", { transformKeys: n = [], transformValues: r = {} } = e;
for (let e = 0; e < n.length; e++) {
let i = n[e], a = r[i].getCurrent();
- a !== void 0 && (G_(i, a) || (t += (t && " ") + W_(i, a)));
+ a !== void 0 && (W_(i, a) || (t += (t && " ") + U_(i, a)));
}
let i = e.get("pathRotation")?.get();
- return i && (t += (t && " ") + W_("rotate", i)), t || "none";
+ return i && (t += (t && " ") + U_("rotate", i)), t || "none";
}
// node_modules/motion-dom/dist/es/effects/style/index.mjs
-var Lv = /* @__PURE__ */ new Set([
+var Iv = /* @__PURE__ */ new Set([
"originX",
"originY",
"originZ"
-]), Rv = (e, t) => H_(e.get(t)?.get(), $g[t]), zv = (e, t, n, r) => {
+]), Lv = (e, t) => V_(e.get(t)?.get(), Qg[t]), Rv = (e, t, n, r) => {
let i, a;
- if (p_.has(n)) {
+ if (f_.has(n)) {
if (n !== "pathRotation") {
let e = t.transformKeys ??= [];
- (t.transformValues ??= {})[n] = r, e.includes(n) || (e.push(n), e.sort((e, t) => f_.indexOf(e) - f_.indexOf(t)));
+ (t.transformValues ??= {})[n] = r, e.includes(n) || (e.push(n), e.sort((e, t) => d_.indexOf(e) - d_.indexOf(t)));
}
- t.get("transform") || (!Av(e) && !t.get("transformBox") && zv(e, t, "transformBox", new sv("fill-box")), t.set("transform", new sv("none"), () => {
- K_.get(e)?.check(), e.style.transform = Yte(t);
+ t.get("transform") || (!kv(e) && !t.get("transformBox") && Rv(e, t, "transformBox", new ov("fill-box")), t.set("transform", new ov("none"), () => {
+ G_.get(e)?.check(), e.style.transform = Xte(t);
})), a = t.get("transform");
- } else Lv.has(n) ? (t.get("transformOrigin") || t.set("transformOrigin", new sv(""), () => {
- let n = Rv(t, "originX") ?? "50%", r = Rv(t, "originY") ?? "50%", i = Rv(t, "originZ") ?? 0;
+ } else Iv.has(n) ? (t.get("transformOrigin") || t.set("transformOrigin", new ov(""), () => {
+ let n = Lv(t, "originX") ?? "50%", r = Lv(t, "originY") ?? "50%", i = Lv(t, "originZ") ?? 0;
e.style.transformOrigin = `${n} ${r} ${i}`;
- }), a = t.get("transformOrigin")) : i = E_(n) ? () => {
+ }), a = t.get("transformOrigin")) : i = T_(n) ? () => {
e.style.setProperty(n, r.getCurrent());
} : () => {
- e.style[n] = H_(r.getCurrent(), $g[n]);
+ e.style[n] = V_(r.getCurrent(), Qg[n]);
};
return t.set(n, r, i, a);
-}, Xte = (e) => Av(e) || jv(e), Bv = (e, t) => {
- if (p_.has(t)) return d_(e, t);
- let n = getComputedStyle(e), r = E_(t) ? n.getPropertyValue(t) : n[t];
+}, Zte = (e) => kv(e) || Av(e), zv = (e, t) => {
+ if (f_.has(t)) return u_(e, t);
+ let n = getComputedStyle(e), r = T_(t) ? n.getPropertyValue(t) : n[t];
return typeof r == "string" && r.trim() || 0;
-}, Zte = /*@__PURE__*/ Iv(zv, {
- test: Xte,
- read: Bv
+}, Qte = /*@__PURE__*/ Fv(Rv, {
+ test: Zte,
+ read: zv
});
// node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs
-function Vv(e) {
+function Bv(e) {
return e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);
}
// node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs
-function Hv(e, t, n) {
+function Vv(e, t, n) {
let { style: r, vars: i, transformOrigin: a } = e, o = !1, s = !1;
for (let e in t) {
let n = t[e];
- if (p_.has(e)) o = !0;
+ if (f_.has(e)) o = !0;
else if (oh(e)) i[e] = n;
else {
- let t = H_(n, $g[e]);
+ let t = V_(n, Qg[e]);
e.startsWith("origin") ? (s = !0, a[e] = t) : r[e] = t;
}
}
- if (t.transform || (o || n ? r.transform = ite(t, e.transform, n) : r.transform &&= "none"), s) {
+ if (t.transform || (o || n ? r.transform = ate(t, e.transform, n) : r.transform &&= "none"), s) {
let { originX: e = "50%", originY: t = "50%", originZ: n = 0 } = a;
r.transformOrigin = `${e} ${t} ${n}`;
}
}
// node_modules/motion-dom/dist/es/render/svg/utils/path.mjs
-var Qte = {
+var $te = {
offset: "stroke-dashoffset",
array: "stroke-dasharray"
-}, $te = {
+}, ene = {
offset: "strokeDashoffset",
array: "strokeDasharray"
};
-function ene(e, t, n = 1, r = 0, i = !0) {
+function tne(e, t, n = 1, r = 0, i = !0) {
e.pathLength = 1;
- let a = i ? Qte : $te;
+ let a = i ? $te : ene;
e[a.offset] = `${-r}`, e[a.array] = `${t} ${n}`;
}
// node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs
-var Uv = [
+var Hv = [
"transform",
"opacity",
"clipPath",
@@ -18467,55 +18467,55 @@ var Uv = [
"offsetRotate",
"offsetAnchor"
];
-function Wv(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {
- if (Hv(e, s, l), c) {
+function Uv(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {
+ if (Vv(e, s, l), c) {
e.style.viewBox && (e.attrs.viewBox = e.style.viewBox);
return;
}
e.attrs = e.style, e.style = {};
let { attrs: d, style: f } = e;
- for (let e of Uv) d[e] !== void 0 && (f[e] = d[e], delete d[e]);
- (f.transform || d.transformOrigin) && (f.transformOrigin = d.transformOrigin ?? "50% 50%", delete d.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete d.transformBox), t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && ene(d, i, a, o, !1);
+ for (let e of Hv) d[e] !== void 0 && (f[e] = d[e], delete d[e]);
+ (f.transform || d.transformOrigin) && (f.transformOrigin = d.transformOrigin ?? "50% 50%", delete d.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete d.transformBox), t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && tne(d, i, a, o, !1);
}
// node_modules/motion-dom/dist/es/effects/attr/index.mjs
-function tne(e, t) {
+function nne(e, t) {
if (!(t in e)) return !1;
let n = Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e), t) || Object.getOwnPropertyDescriptor(e, t);
return n && typeof n.set == "function";
}
-var Gv = (e, t, n, r, i = n) => {
- let a = tne(e, i);
- !a && (i.startsWith("data") || i.startsWith("aria")) && (i = Vv(i));
- let o = $g[n] || $g[i], s = a ? () => {
- e[i] = H_(r.get(), $g[n]);
+var Wv = (e, t, n, r, i = n) => {
+ let a = nne(e, i);
+ !a && (i.startsWith("data") || i.startsWith("aria")) && (i = Bv(i));
+ let o = Qg[n] || Qg[i], s = a ? () => {
+ e[i] = V_(r.get(), Qg[n]);
} : () => {
- let t = H_(r.get(), o);
+ let t = V_(r.get(), o);
t == null ? e.removeAttribute(i) : e.setAttribute(i, String(t));
};
return t.set(n, r, s);
};
// node_modules/motion-dom/dist/es/effects/svg/index.mjs
-function nne(e, t, n, r) {
+function rne(e, t, n, r) {
return pg.render(() => e.setAttribute("pathLength", "1")), n === "pathOffset" ? t.set(n, r, () => {
let t = r.get();
e.setAttribute("stroke-dashoffset", `${-t}`);
- }) : (t.get("stroke-dasharray") || t.set("stroke-dasharray", new sv("1 1"), () => {
+ }) : (t.get("stroke-dasharray") || t.set("stroke-dasharray", new ov("1 1"), () => {
let n = t.get("pathLength")?.get() ?? 1, r = t.get("pathSpacing")?.get();
e.setAttribute("stroke-dasharray", `${n} ${r ?? 1 - Number(n)}`);
}), t.set(n, r, void 0, t.get("stroke-dasharray")));
}
-var rne = /*@__PURE__*/ Iv((e, t, n, r) => n.startsWith("path") && !p_.has(n) ? nne(e, t, n, r) : n.startsWith("attr") ? Gv(e, t, n, r, Kv(n)) : n === "d" ? t.set(n, r, () => {
+var ine = /*@__PURE__*/ Fv((e, t, n, r) => n.startsWith("path") && !f_.has(n) ? rne(e, t, n, r) : n.startsWith("attr") ? Wv(e, t, n, r, Gv(n)) : n === "d" ? t.set(n, r, () => {
let t = r.get()?.replace(/path\(|["')]/g, "");
t === void 0 ? e.removeAttribute(n) : e.setAttribute(n, t);
-}) : (p_.has(n) || Lv.has(n) || E_(n) || n in e.style ? zv : Gv)(e, t, n, r), {
- test: jv,
- read: (e, t) => p_.has(t) ? $g[t]?.default || 0 : E_(t) || Uv.includes(t) ? Bv(e, t) || e.getAttribute(Vv(t)) || 0 : (t = Kv(t), e.getAttribute(Vv(t)) ?? e.getAttribute(t) ?? void 0)
+}) : (f_.has(n) || Iv.has(n) || T_(n) || n in e.style ? Rv : Wv)(e, t, n, r), {
+ test: Av,
+ read: (e, t) => f_.has(t) ? Qg[t]?.default || 0 : T_(t) || Hv.includes(t) ? zv(e, t) || e.getAttribute(Bv(t)) || 0 : (t = Gv(t), e.getAttribute(Bv(t)) ?? e.getAttribute(t) ?? void 0)
});
-function Kv(e) {
+function Gv(e) {
return e.replace(/^attr([A-Z])/, (e, t) => t.toLowerCase());
}
// node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs
-function qv({ top: e, left: t, right: n, bottom: r }) {
+function Kv({ top: e, left: t, right: n, bottom: r }) {
return {
x: {
min: t,
@@ -18527,7 +18527,7 @@ function qv({ top: e, left: t, right: n, bottom: r }) {
}
};
}
-function ine({ x: e, y: t }) {
+function ane({ x: e, y: t }) {
return {
top: t.min,
right: e.max,
@@ -18535,7 +18535,7 @@ function ine({ x: e, y: t }) {
left: e.min
};
}
-function ane(e, t) {
+function one(e, t) {
if (!t) return e;
let n = t({
x: e.left,
@@ -18552,13 +18552,13 @@ function ane(e, t) {
};
}
// node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs
-function Jv(e) {
+function qv(e) {
return e === void 0 || e === 1;
}
-function Yv({ scale: e, scaleX: t, scaleY: n }) {
- return !Jv(e) || !Jv(t) || !Jv(n);
+function Jv({ scale: e, scaleX: t, scaleY: n }) {
+ return !qv(e) || !qv(t) || !qv(n);
}
-var Xv = [
+var Yv = [
"rotate",
"rotateX",
"rotateY",
@@ -18566,67 +18566,67 @@ var Xv = [
"skewX",
"skewY"
];
+function Xv(e) {
+ return Jv(e) || Qv(e) || Zv(e);
+}
function Zv(e) {
- return Yv(e) || $v(e) || Qv(e);
+ return e.z || e.rotate || e.rotateX || e.rotateY || e.rotateZ || e.skewX || e.skewY;
}
function Qv(e) {
- return e.z || e.rotate || e.rotateX || e.rotateY || e.rotateZ || e.skewX || e.skewY;
+ return $v(e.x) || $v(e.y);
}
function $v(e) {
- return ey(e.x) || ey(e.y);
-}
-function ey(e) {
return e && e !== "0%";
}
// node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs
-function ty(e, t, n) {
+function ey(e, t, n) {
return n + t * (e - n);
}
-function ny(e, t, n, r, i) {
- return i !== void 0 && (e = ty(e, i, r)), ty(e, n, r) + t;
+function ty(e, t, n, r, i) {
+ return i !== void 0 && (e = ey(e, i, r)), ey(e, n, r) + t;
}
-function ry(e, t = 0, n = 1, r, i) {
- e.min = ny(e.min, t, n, r, i), e.max = ny(e.max, t, n, r, i);
+function ny(e, t = 0, n = 1, r, i) {
+ e.min = ty(e.min, t, n, r, i), e.max = ty(e.max, t, n, r, i);
}
-function iy(e, { x: t, y: n }) {
- ry(e.x, t.translate, t.scale, t.originPoint), ry(e.y, n.translate, n.scale, n.originPoint);
+function ry(e, { x: t, y: n }) {
+ ny(e.x, t.translate, t.scale, t.originPoint), ny(e.y, n.translate, n.scale, n.originPoint);
}
-var ay = .999999999999, oy = 1.0000000000001;
-function one(e, t, n, r = !1) {
+var iy = .999999999999, ay = 1.0000000000001;
+function sne(e, t, n, r = !1) {
let i = n.length;
if (!i) return;
t.x = t.y = 1;
let a, o;
- for (let s = 0; s < i; s++) a = n[s], o = a.projectionDelta, a.options.visualElement?.props.style?.display !== "contents" && (r === !0 && a.options.layoutScroll && a.scroll && a !== a.root && (sy(e.x, -a.scroll.offset.x), sy(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, iy(e, o)), r && (r.path?.[s] || r) !== a && Zv(a.latestValues) && uy(e, a.latestValues, a.layout?.layoutBox));
- t.x < oy && t.x > ay && (t.x = 1), t.y < oy && t.y > ay && (t.y = 1);
+ for (let s = 0; s < i; s++) a = n[s], o = a.projectionDelta, a.options.visualElement?.props.style?.display !== "contents" && (r === !0 && a.options.layoutScroll && a.scroll && a !== a.root && (oy(e.x, -a.scroll.offset.x), oy(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, ry(e, o)), r && (r.path?.[s] || r) !== a && Xv(a.latestValues) && ly(e, a.latestValues, a.layout?.layoutBox));
+ t.x < ay && t.x > iy && (t.x = 1), t.y < ay && t.y > iy && (t.y = 1);
}
-function sy(e, t) {
+function oy(e, t) {
e.min += t, e.max += t;
}
-function cy(e, t, n, r, i = .5) {
- ry(e, t, n, ng(e.min, e.max, i), r);
+function sy(e, t, n, r, i = .5) {
+ ny(e, t, n, ng(e.min, e.max, i), r);
}
-function ly(e, t) {
+function cy(e, t) {
return typeof e == "string" ? parseFloat(e) / 100 * (t.max - t.min) : e;
}
-function uy(e, t, n) {
+function ly(e, t, n) {
let r = n ?? e;
- cy(e.x, ly(t.x, r.x), t.scaleX, t.scale, t.originX), cy(e.y, ly(t.y, r.y), t.scaleY, t.scale, t.originY);
+ sy(e.x, cy(t.x, r.x), t.scaleX, t.scale, t.originX), sy(e.y, cy(t.y, r.y), t.scaleY, t.scale, t.originY);
}
// node_modules/motion-dom/dist/es/projection/utils/measure.mjs
-function dy(e, t) {
- return qv(ane(e.getBoundingClientRect(), t));
+function uy(e, t) {
+ return Kv(one(e.getBoundingClientRect(), t));
}
-function sne(e, t, n) {
- let r = dy(e, n), { scroll: i } = t;
- return i && (sy(r.x, i.offset.x), sy(r.y, i.offset.y)), r;
+function cne(e, t, n) {
+ let r = uy(e, n), { scroll: i } = t;
+ return i && (oy(r.x, i.offset.x), oy(r.y, i.offset.y)), r;
}
-var cne = () => ({
+var lne = () => ({
x: document.documentElement.scrollLeft || document.body?.scrollLeft || 0,
y: document.documentElement.scrollTop || document.body?.scrollTop || 0
-}), lne = {}, une = (e) => jv(e) ? rne : Zte, dne = class {
+}), une = {}, dne = (e) => Av(e) ? ine : Qte, fne = class {
constructor(e, t) {
- this.effect = e, this.current = t, this.KeyframeResolver = wv;
+ this.effect = e, this.current = t, this.KeyframeResolver = Cv;
}
getValue(e) {
return this.effect.get(this.current, e);
@@ -18638,19 +18638,19 @@ var cne = () => ({
this.effect.flush(this.current);
}
measureViewportBox() {
- return dy(this.current);
+ return uy(this.current);
}
getProps() {
- return lne;
+ return une;
}
};
-function fne(e, t, n, r) {
- if (Mv.current?.track(e), r) return Ov((e) => r.getValue(e, null), t, n, r);
- let i = une(e);
- return kv(i, e, t, n, new dne(i, e));
+function pne(e, t, n, r) {
+ if (jv.current?.track(e), r) return Dv((e) => r.getValue(e, null), t, n, r);
+ let i = dne(e);
+ return Ov(i, e, t, n, new fne(i, e));
}
// node_modules/motion-dom/dist/es/effects/prop/index.mjs
-var pne = /*@__PURE__*/ Iv((e, t, n, r) => t.set(n, r, () => {
+var mne = /*@__PURE__*/ Fv((e, t, n, r) => t.set(n, r, () => {
e[n] = r.get();
}), {
test: (e) => Cm(e),
@@ -18658,172 +18658,172 @@ var pne = /*@__PURE__*/ Iv((e, t, n, r) => t.set(n, r, () => {
let n = e[t];
return typeof n == "string" || typeof n == "number" ? n : void 0;
}
-}), { schedule: fy, cancel: mne } = /* @__PURE__ */ fg(queueMicrotask, !1);
+}), { schedule: dy, cancel: hne } = /* @__PURE__ */ fg(queueMicrotask, !1);
// node_modules/motion-dom/dist/es/animation/animate/single-value.mjs
-function py(e, t, n) {
- let r = _v(e) ? e : cv(e);
- return r.start(dv("", r, t, n)), r.animation;
+function fy(e, t, n) {
+ let r = gv(e) ? e : sv(e);
+ return r.start(uv("", r, t, n)), r.animation;
}
// node_modules/motion-dom/dist/es/projection/styles/scale-correction.mjs
-var my = {}, hy = {
+var py = {}, my = {
value: null,
addProjectionMetrics: null,
countProjection: void 0
};
// node_modules/motion-dom/dist/es/utils/delay.mjs
-function hne(e, t) {
+function gne(e, t) {
let n = rh.now();
- e = Pv(e);
+ e = Nv(e);
let r = ({ timestamp: i }) => {
let a = i - n;
a >= t && (mg(r), e(a - t));
};
- return pg.setup(r, !0), Nv(() => mg(r));
+ return pg.setup(r, !0), Mv(() => mg(r));
}
// node_modules/motion-dom/dist/es/utils/is-ref-object.mjs
-function gne(e) {
+function _ne(e) {
return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");
}
// node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs
-function _ne(e) {
- return jv(e) && e.tagName === "svg";
+function vne(e) {
+ return Av(e) && e.tagName === "svg";
}
// node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs
-function gy(e) {
- return _v(e) ? e.get() : e;
+function hy(e) {
+ return gv(e) ? e.get() : e;
}
// node_modules/motion-dom/dist/es/value/utils/as-number.mjs
-var _y = (e) => typeof e == "number" ? e : parseFloat(e), vne = Tv.length, vy = (e) => typeof e == "number" || Oh.test(e);
-function yne(e, t, n, r, i, a) {
- i ? (e.opacity = ng(0, n.opacity ?? 1, bne(r)), e.opacityExit = ng(t.opacity ?? 1, 0, xne(r))) : a && (e.opacity = ng(t.opacity ?? 1, n.opacity ?? 1, r));
- for (let i = 0; i < vne; i++) {
- let a = Tv[i], o = yy(t, a), s = yy(n, a);
- (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || vy(o) === vy(s) ? (e[a] = Math.max(ng(_y(o), _y(s), r), 0), (Dh.test(s) || Dh.test(o)) && (e[a] += "%")) : e[a] = s);
- }
- for (let i = 0; i < Xv.length; i++) {
- let a = Xv[i];
+var gy = (e) => typeof e == "number" ? e : parseFloat(e), yne = wv.length, _y = (e) => typeof e == "number" || Oh.test(e);
+function bne(e, t, n, r, i, a) {
+ i ? (e.opacity = ng(0, n.opacity ?? 1, xne(r)), e.opacityExit = ng(t.opacity ?? 1, 0, Sne(r))) : a && (e.opacity = ng(t.opacity ?? 1, n.opacity ?? 1, r));
+ for (let i = 0; i < yne; i++) {
+ let a = wv[i], o = vy(t, a), s = vy(n, a);
+ (o !== void 0 || s !== void 0) && (o ||= 0, s ||= 0, o === 0 || s === 0 || _y(o) === _y(s) ? (e[a] = Math.max(ng(gy(o), gy(s), r), 0), (Dh.test(s) || Dh.test(o)) && (e[a] += "%")) : e[a] = s);
+ }
+ for (let i = 0; i < Yv.length; i++) {
+ let a = Yv[i];
(t[a] || n[a]) && (e[a] = ng(t[a] || 0, n[a] || 0, r));
}
}
-function yy(e, t) {
+function vy(e, t) {
return e[t] === void 0 ? e.borderRadius : e[t];
}
-var bne = /*@__PURE__*/ by(0, .5, Um), xne = /*@__PURE__*/ by(.5, .95, Em);
-function by(e, t, n) {
+var xne = /*@__PURE__*/ yy(0, .5, Um), Sne = /*@__PURE__*/ yy(.5, .95, Em);
+function yy(e, t, n) {
return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ Om(e, t, r));
}
// node_modules/motion-dom/dist/es/projection/geometry/copy.mjs
-function xy(e, t) {
+function by(e, t) {
e.min = t.min, e.max = t.max;
}
-function Sy(e, t) {
- xy(e.x, t.x), xy(e.y, t.y);
+function xy(e, t) {
+ by(e.x, t.x), by(e.y, t.y);
}
-function Cy(e, t) {
+function Sy(e, t) {
e.translate = t.translate, e.scale = t.scale, e.originPoint = t.originPoint, e.origin = t.origin;
}
// node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs
-var Sne = .9999, Cne = 1.0001, wne = -.01, Tne = .01;
-function wy(e) {
+var Cne = .9999, wne = 1.0001, Tne = -.01, Ene = .01;
+function Cy(e) {
return e.max - e.min;
}
-function Ene(e, t, n) {
+function Dne(e, t, n) {
return Math.abs(e - t) <= n;
}
-function Ty(e, t, n, r = .5) {
- e.origin = r, e.originPoint = ng(t.min, t.max, e.origin), e.scale = wy(n) / wy(t), e.translate = ng(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Sne && e.scale <= Cne || isNaN(e.scale)) && (e.scale = 1), (e.translate >= wne && e.translate <= Tne || isNaN(e.translate)) && (e.translate = 0);
+function wy(e, t, n, r = .5) {
+ e.origin = r, e.originPoint = ng(t.min, t.max, e.origin), e.scale = Cy(n) / Cy(t), e.translate = ng(n.min, n.max, e.origin) - e.originPoint, (e.scale >= Cne && e.scale <= wne || isNaN(e.scale)) && (e.scale = 1), (e.translate >= Tne && e.translate <= Ene || isNaN(e.translate)) && (e.translate = 0);
}
-function Ey(e, t, n, r) {
- Ty(e.x, t.x, n.x, r?.originX), Ty(e.y, t.y, n.y, r?.originY);
+function Ty(e, t, n, r) {
+ wy(e.x, t.x, n.x, r?.originX), wy(e.y, t.y, n.y, r?.originY);
}
-function Dy(e, t, n, r = 0) {
- e.min = (r ? ng(n.min, n.max, r) : n.min) + t.min, e.max = e.min + wy(t);
+function Ey(e, t, n, r = 0) {
+ e.min = (r ? ng(n.min, n.max, r) : n.min) + t.min, e.max = e.min + Cy(t);
}
-function Dne(e, t, n, r) {
- Dy(e.x, t.x, n.x, r?.x), Dy(e.y, t.y, n.y, r?.y);
+function One(e, t, n, r) {
+ Ey(e.x, t.x, n.x, r?.x), Ey(e.y, t.y, n.y, r?.y);
}
-function Oy(e, t, n, r = 0) {
+function Dy(e, t, n, r = 0) {
let i = r ? ng(n.min, n.max, r) : n.min;
- e.min = t.min - i, e.max = e.min + wy(t);
+ e.min = t.min - i, e.max = e.min + Cy(t);
}
-function ky(e, t, n, r) {
- Oy(e.x, t.x, n.x, r?.x), Oy(e.y, t.y, n.y, r?.y);
+function Oy(e, t, n, r) {
+ Dy(e.x, t.x, n.x, r?.x), Dy(e.y, t.y, n.y, r?.y);
}
// node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs
-function Ay(e, t, n, r, i) {
- return e -= t, e = ty(e, 1 / n, r), i !== void 0 && (e = ty(e, 1 / i, r)), e;
+function ky(e, t, n, r, i) {
+ return e -= t, e = ey(e, 1 / n, r), i !== void 0 && (e = ey(e, 1 / i, r)), e;
}
-function One(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
+function kne(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
if (Dh.test(t) && (t = parseFloat(t), t = ng(o.min, o.max, t / 100) - o.min), typeof t != "number") return;
let s = ng(a.min, a.max, r);
- e === a && (s -= t), e.min = Ay(e.min, t, n, s, i), e.max = Ay(e.max, t, n, s, i);
+ e === a && (s -= t), e.min = ky(e.min, t, n, s, i), e.max = ky(e.max, t, n, s, i);
}
-function jy(e, t, [n, r, i], a, o) {
- One(e, t[n], t[r], t[i], t.scale, a, o);
+function Ay(e, t, [n, r, i], a, o) {
+ kne(e, t[n], t[r], t[i], t.scale, a, o);
}
-var kne = [
+var Ane = [
"x",
"scaleX",
"originX"
-], Ane = [
+], jne = [
"y",
"scaleY",
"originY"
];
-function My(e, t, n, r) {
- jy(e.x, t, kne, n?.x, r?.x), jy(e.y, t, Ane, n?.y, r?.y);
+function jy(e, t, n, r) {
+ Ay(e.x, t, Ane, n?.x, r?.x), Ay(e.y, t, jne, n?.y, r?.y);
}
// node_modules/motion-dom/dist/es/projection/geometry/round.mjs
-var Ny = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), Py = Ny("applewebkit/") && !Ny("chrome/") ? Math.round : Em;
-function Fy(e) {
- e.min = Py(e.min), e.max = Py(e.max);
+var My = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), Ny = My("applewebkit/") && !My("chrome/") ? Math.round : Em;
+function Py(e) {
+ e.min = Ny(e.min), e.max = Ny(e.max);
}
-function jne(e) {
- Fy(e.x), Fy(e.y);
+function Mne(e) {
+ Py(e.x), Py(e.y);
}
// node_modules/motion-dom/dist/es/projection/geometry/models.mjs
-var Iy = () => ({
+var Fy = () => ({
translate: 0,
scale: 1,
origin: 0,
originPoint: 0
+}), Iy = () => ({
+ x: Fy(),
+ y: Fy()
}), Ly = () => ({
- x: Iy(),
- y: Iy()
-}), Ry = () => ({
min: 0,
max: 0
-}), zy = () => ({
- x: Ry(),
- y: Ry()
+}), Ry = () => ({
+ x: Ly(),
+ y: Ly()
});
// node_modules/motion-dom/dist/es/projection/geometry/utils.mjs
-function By(e) {
+function zy(e) {
return e.translate === 0 && e.scale === 1;
}
-function Vy(e) {
- return By(e.x) && By(e.y);
+function By(e) {
+ return zy(e.x) && zy(e.y);
}
-function Hy(e, t) {
+function Vy(e, t) {
return e.min === t.min && e.max === t.max;
}
-function Mne(e, t) {
- return Hy(e.x, t.x) && Hy(e.y, t.y);
+function Nne(e, t) {
+ return Vy(e.x, t.x) && Vy(e.y, t.y);
}
-function Uy(e, t) {
+function Hy(e, t) {
return Math.round(e.min) === Math.round(t.min) && Math.round(e.max) === Math.round(t.max);
}
-function Wy(e, t) {
- return Uy(e.x, t.x) && Uy(e.y, t.y);
+function Uy(e, t) {
+ return Hy(e.x, t.x) && Hy(e.y, t.y);
}
-function Gy(e) {
- return wy(e.x) / wy(e.y);
+function Wy(e) {
+ return Cy(e.x) / Cy(e.y);
}
-function Ky(e, t) {
+function Gy(e, t) {
return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;
}
// node_modules/motion-dom/dist/es/projection/shared/stack.mjs
-var Nne = class {
+var Pne = class {
constructor() {
this.members = [];
}
@@ -18871,22 +18871,22 @@ var Nne = class {
}
};
// node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs
-function qy(e, t) {
+function Ky(e, t) {
return t.max === t.min ? 0 : e / (t.max - t.min) * 100;
}
-var Jy = { correct: (e, t) => {
+var qy = { correct: (e, t) => {
if (!t.target) return e;
if (typeof e == "string") {
if (Oh.test(e)) e = parseFloat(e);
else return e;
}
- return `${qy(e, t.target.x)}% ${qy(e, t.target.y)}%`;
-} }, Pne = {
- borderRadius: /* @__PURE__ */ Object.assign({}, Jy, { applyTo: /* @__PURE__ */ Tv.slice() }),
- borderTopLeftRadius: Jy,
- borderTopRightRadius: Jy,
- borderBottomLeftRadius: Jy,
- borderBottomRightRadius: Jy,
+ return `${Ky(e, t.target.x)}% ${Ky(e, t.target.y)}%`;
+} }, Fne = {
+ borderRadius: /* @__PURE__ */ Object.assign({}, qy, { applyTo: /* @__PURE__ */ wv.slice() }),
+ borderTopLeftRadius: qy,
+ borderTopRightRadius: qy,
+ borderBottomLeftRadius: qy,
+ borderBottomRightRadius: qy,
boxShadow: { correct: (e, { treeScale: t, projectionDelta: n }) => {
let r = e, i = Qh.parse(e);
if (i.length > 5) return r;
@@ -18897,13 +18897,13 @@ var Jy = { correct: (e, t) => {
} }
};
// node_modules/motion-dom/dist/es/projection/styles/transform.mjs
-function Fne(e, t, n) {
+function Ine(e, t, n) {
let r = "", i = e.x.translate / t.x, a = e.y.translate / t.y, o = n?.z || 0;
if ((i || a || o) && (r = `translate3d(${i}px, ${a}px, ${o}px) `), (t.x !== 1 || t.y !== 1) && (r += `scale(${1 / t.x}, ${1 / t.y}) `), n) {
let { transformPerspective: e } = n;
e && (r = `perspective(${e}px) ${r}`);
- for (let e = 0; e < Xv.length; e++) {
- let t = Xv[e], i = n[t];
+ for (let e = 0; e < Yv.length; e++) {
+ let t = Yv[e], i = n[t];
i && (r += `${t}(${i}deg) `), !e && n.pathRotation && (r += `rotate(${n.pathRotation}deg) `);
}
}
@@ -18911,11 +18911,11 @@ function Fne(e, t, n) {
return (s !== 1 || c !== 1) && (r += `scale(${s}, ${c})`), r || "none";
}
// node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs
-function Yy(e) {
+function Jy(e) {
return [e("x"), e("y")];
}
// node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs
-var Ine = (e, t) => e.depth - t.depth, Lne = class {
+var Lne = (e, t) => e.depth - t.depth, Rne = class {
constructor() {
this.children = [], this.isDirty = !1;
}
@@ -18926,47 +18926,47 @@ var Ine = (e, t) => e.depth - t.depth, Lne = class {
ym(this.children, e), this.isDirty = !0;
}
forEach(e) {
- this.isDirty && this.children.sort(Ine), this.isDirty = !1, this.children.forEach(e);
+ this.isDirty && this.children.sort(Lne), this.isDirty = !1, this.children.forEach(e);
}
-}, Xy = {
+}, Yy = {
hasAnimatedSinceResize: !0,
hasEverUpdated: !1
-}, Zy = [
+}, Xy = [
"z",
"skew",
"skewZ"
-], Rne = 1e3, zne = 0;
-function Qy(e, t, n, r) {
+], zne = 1e3, Bne = 0;
+function Zy(e, t, n, r) {
let { latestValues: i } = t;
i[e] && (n[e] = i[e], t.setStaticValue(e, 0), r && (r[e] = 0));
}
-var $y = (e) => e.instance && K_.get(e.instance)?.demote() && e.resetSkewAndRotation();
-function eb(e) {
+var Qy = (e) => e.instance && G_.get(e.instance)?.demote() && e.resetSkewAndRotation();
+function $y(e) {
if (e.hasCheckedOptimisedAppear = !0, e.root === e) return;
let { visualElement: t } = e.options;
if (!t) return;
- let n = bv(t);
+ let n = yv(t);
if (window.MotionHasOptimisedAnimation(n, "transform")) {
let { layout: t, layoutId: r } = e.options;
window.MotionCancelOptimisedAnimation(n, "transform", pg, !(t || r));
}
let { parent: r } = e;
- r && !r.hasCheckedOptimisedAppear && eb(r);
+ r && !r.hasCheckedOptimisedAppear && $y(r);
}
-function tb(e) {
- if (e) return e.options.allowProjection === !1 ? tb(e.parent) : e.projection;
+function eb(e) {
+ if (e) return e.options.allowProjection === !1 ? eb(e.parent) : e.projection;
}
-function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
- return Object.assign(my, {
- ...Pne,
- ...my
+function tb({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
+ return Object.assign(py, {
+ ...Fne,
+ ...py
}), class {
static create(e, t, n) {
- let { layoutId: r, layout: i, drag: a, dragConstraints: o, layoutScroll: s, layoutRoot: c, layoutAnchor: l, layoutCrossfade: u } = t, d = e.projection = new this(e.latestValues, t["data-framer-portal-id"] ? void 0 : tb(e.parent));
+ let { layoutId: r, layout: i, drag: a, dragConstraints: o, layoutScroll: s, layoutRoot: c, layoutAnchor: l, layoutCrossfade: u } = t, d = e.projection = new this(e.latestValues, t["data-framer-portal-id"] ? void 0 : eb(e.parent));
d.setOptions({
layoutId: r,
layout: i,
- alwaysMeasureLayout: !!a || o && gne(o),
+ alwaysMeasureLayout: !!a || o && _ne(o),
visualElement: e,
animationType: typeof i == "string" ? i : "both",
initialPromotionConfig: n,
@@ -18979,16 +18979,16 @@ function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
f && !d.root.isUpdateBlocked() && (f.willUpdate(), f.scheduleCheckAfterUnmount());
}
constructor(e = {}, n = t?.()) {
- this.id = zne++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {
+ this.id = Bne++, this.animationId = 0, this.animationCommitId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = {
x: 1,
y: 1
}, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
}, this.updateProjection = () => {
- this.projectionUpdateScheduled = !1, this.nodes.forEach(rb), this.nodes.forEach(Yne), this.nodes.forEach(Xne), this.nodes.forEach(Hne), hy.countProjection?.();
+ this.projectionUpdateScheduled = !1, this.nodes.forEach(Une), this.nodes.forEach(Zne), this.nodes.forEach(Qne), this.nodes.forEach(Wne), my.countProjection?.();
}, this.resolvedRelativeTargetAt = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = e, this.root = n ? n.root || n : this, this.path = n ? [...n.path, n] : [], this.parent = n, this.depth = n ? n.depth + 1 : 0;
for (let e = 0; e < this.path.length; e++) this.path[e].shouldResetTransform = !0;
- this.root === this && (this.nodes = new Lne());
+ this.root === this && (this.nodes = new Rne());
}
addEventListener(e, t) {
return this.eventHandlers.has(e) || this.eventHandlers.set(e, new km()), this.eventHandlers.get(e).add(t);
@@ -19001,7 +19001,7 @@ function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
mount(t) {
if (this.instance) return;
- this.isSVG = jv(t) && !_ne(t), this.instance = t;
+ this.isSVG = Av(t) && !vne(t), this.instance = t;
let { layoutId: n, layout: r, visualElement: i } = this.options;
if (i && !i.current && i.mount(t), this.root.nodes.add(this), this.parent?.children.add(this), this.root.hasTreeAnimated && (r || n) && (this.isLayoutDirty = !0), e) {
let n, r = 0, i = () => this.root.updateBlockedByResize = !1;
@@ -19009,7 +19009,7 @@ function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
r = window.innerWidth;
}), e(t, () => {
let e = window.innerWidth;
- e !== r && (r = e, this.root.updateBlockedByResize = !0, n?.(), n = hne(i, 250), Xy.hasAnimatedSinceResize && (Xy.hasAnimatedSinceResize = !1, this.nodes.forEach(ob)));
+ e !== r && (r = e, this.root.updateBlockedByResize = !0, n?.(), n = gne(i, 250), Yy.hasAnimatedSinceResize && (Yy.hasAnimatedSinceResize = !1, this.nodes.forEach(ib)));
});
}
n && this.root.registerSharedNode(n, this), this.addLayoutListener();
@@ -19021,16 +19021,16 @@ function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.target = void 0, this.relativeTarget = void 0;
return;
}
- let a = this.options.transition || n.getDefaultTransition() || ere, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = n.getProps(), c = !this.targetLayout || !Wy(this.targetLayout, i), l = !t && r;
+ let a = this.options.transition || n.getDefaultTransition() || nre, { onLayoutAnimationStart: o, onLayoutAnimationComplete: s } = n.getProps(), c = !this.targetLayout || !Uy(this.targetLayout, i), l = !t && r;
if (this.options.layoutRoot || this.resumeFrom || l || t && (c || !this.currentAnimation)) {
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
let t = {
- ...uv(a, "layout"),
+ ...lv(a, "layout"),
onPlay: o,
onComplete: s
};
(n.shouldReduceMotion || this.options.layoutRoot) && (t.delay = 0, t.type = !1), this.startAnimation(t), this.setAnimationOrigin(e, l, t.path);
- } else t || ob(this), this.isLead() && this.options.onExitComplete?.();
+ } else t || ib(this), this.isLead() && this.options.onExitComplete?.();
this.targetLayout = i;
}));
}
@@ -19047,7 +19047,7 @@ function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
return this.updateManuallyBlocked || this.updateBlockedByResize;
}
startUpdate() {
- this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes?.forEach(Zne), this.animationId++);
+ this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes?.forEach($ne), this.animationId++);
}
getTransformTemplate() {
let { visualElement: e } = this.options;
@@ -19058,11 +19058,11 @@ function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.options.onExitComplete?.();
return;
}
- if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && eb(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
- $y(this), this.isLayoutDirty = !0;
+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && $y(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty) return;
+ Qy(this), this.isLayoutDirty = !0;
for (let e = 0; e < this.path.length; e++) {
let t = this.path[e];
- t.shouldResetTransform = !0, $y(t), (typeof t.latestValues.x == "string" || typeof t.latestValues.y == "string") && (t.isLayoutDirty = !0), t.updateScroll("snapshot"), t.options.layoutRoot && t.willUpdate(!1), t.isAnimationBlocked && (t.dragSnapshot ||= t.measure(), this.dragAncestor = t);
+ t.shouldResetTransform = !0, Qy(t), (typeof t.latestValues.x == "string" || typeof t.latestValues.y == "string") && (t.isLayoutDirty = !0), t.updateScroll("snapshot"), t.options.layoutRoot && t.willUpdate(!1), t.isAnimationBlocked && (t.dragSnapshot ||= t.measure(), this.dragAncestor = t);
}
let { layoutId: t, layout: n } = this.options;
if (t === void 0 && !n) return;
@@ -19072,22 +19072,22 @@ function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
update() {
if (this.updateScheduled = !1, this.isUpdateBlocked()) {
let e = this.updateBlockedByResize;
- this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(Wne), this.nodes.forEach(ib);
+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(Kne), this.nodes.forEach(nb);
return;
}
if (this.animationId <= this.animationCommitId) {
- this.nodes.forEach(ab);
+ this.nodes.forEach(rb);
return;
}
- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Kne), this.nodes.forEach(qne), this.nodes.forEach(Jne), this.nodes.forEach(Bne), this.nodes.forEach(Vne)) : this.nodes.forEach(ab), this.clearAllSnapshots();
+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(Jne), this.nodes.forEach(Yne), this.nodes.forEach(Xne), this.nodes.forEach(Vne), this.nodes.forEach(Hne)) : this.nodes.forEach(rb), this.clearAllSnapshots();
let e = rh.now();
eh.delta = bm(0, 1e3 / 60, e - eh.timestamp), eh.timestamp = e, eh.isProcessing = !0, hg.update.process(eh), hg.preRender.process(eh), hg.render.process(eh), eh.isProcessing = !1;
}
didUpdate() {
- this.updateScheduled || (this.updateScheduled = !0, fy.read(this.scheduleUpdate));
+ this.updateScheduled || (this.updateScheduled = !0, dy.read(this.scheduleUpdate));
}
clearAllSnapshots() {
- this.nodes.forEach(Une), this.sharedNodes.forEach((e, t) => e.members.length ? e.removeLeadSnapshot() : this.sharedNodes.delete(t));
+ this.nodes.forEach(Gne), this.sharedNodes.forEach((e, t) => e.members.length ? e.removeLeadSnapshot() : this.sharedNodes.delete(t));
}
scheduleUpdateProjection() {
this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, pg.preRender(this.updateProjection, !1, !0));
@@ -19098,13 +19098,13 @@ function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
});
}
updateSnapshot() {
- !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !wy(this.snapshot.measuredBox.x) && !wy(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
+ !this.snapshot && this.instance && (this.snapshot = this.measure(), this.snapshot && !Cy(this.snapshot.measuredBox.x) && !Cy(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
}
updateLayout() {
if (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty)) return;
if (this.resumeFrom && !this.resumeFrom.instance) for (let e = 0; e < this.path.length; e++) this.path[e].updateScroll();
let e = this.layout;
- this.layout = this.measure(!1), this.layoutCorrected ||= zy(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
+ this.layout = this.measure(!1), this.layoutCorrected ||= Ry(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
let { visualElement: t } = this.options;
t?.notify("LayoutMeasure", this.layout.layoutBox, e?.layoutBox);
}
@@ -19124,13 +19124,13 @@ function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
resetTransform() {
if (!i) return;
let e = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout;
- e && $y(this);
- let t = this.projectionDelta && !Vy(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;
- e && this.instance && (t || Zv(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());
+ e && Qy(this);
+ let t = this.projectionDelta && !By(this.projectionDelta), n = this.getTransformTemplate(), r = n ? n(this.latestValues, "") : void 0, a = r !== this.prevTransformTemplateValue;
+ e && this.instance && (t || Xv(this.latestValues) || a) && (i(this.instance, r), this.shouldResetTransform = !1, this.scheduleRender());
}
measure(e = !0) {
let t = this.measurePageBox(), n = this.removeElementScroll(t);
- return e && (n = this.removeTransform(n)), jne(n), {
+ return e && (n = this.removeTransform(n)), Mne(n), {
animationId: this.root.animationId,
measuredBox: t,
layoutBox: n,
@@ -19140,42 +19140,42 @@ function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
measurePageBox() {
let { visualElement: e } = this.options;
- if (!e) return zy();
+ if (!e) return Ry();
let t = e.measureViewportBox();
- if (!(this.scroll?.wasRoot || this.path.some(tre))) {
+ if (!(this.scroll?.wasRoot || this.path.some(rre))) {
let { scroll: e } = this.root;
- e && (sy(t.x, e.offset.x), sy(t.y, e.offset.y));
+ e && (oy(t.x, e.offset.x), oy(t.y, e.offset.y));
}
return t;
}
removeElementScroll(e) {
- let t = zy();
- if (Sy(t, e), this.scroll?.wasRoot) return t;
+ let t = Ry();
+ if (xy(t, e), this.scroll?.wasRoot) return t;
for (let n = 0; n < this.path.length; n++) {
let r = this.path[n], { scroll: i, options: a } = r;
- r !== this.root && i && a.layoutScroll && (i.wasRoot && Sy(t, e), sy(t.x, i.offset.x), sy(t.y, i.offset.y));
+ r !== this.root && i && a.layoutScroll && (i.wasRoot && xy(t, e), oy(t.x, i.offset.x), oy(t.y, i.offset.y));
}
return t;
}
applyTransform(e, t = !1, n, r, i = 0) {
- let a = n || zy();
- Sy(a, e);
+ let a = n || Ry();
+ xy(a, e);
for (let e = i; e < this.path.length; e++) {
let n = this.path[e];
- !t && n.options.layoutScroll && n.scroll && n !== n.root && (sy(a.x, -n.scroll.offset.x), sy(a.y, -n.scroll.offset.y)), Zv(n.latestValues) && uy(a, n.latestValues, n.layout?.layoutBox);
+ !t && n.options.layoutScroll && n.scroll && n !== n.root && (oy(a.x, -n.scroll.offset.x), oy(a.y, -n.scroll.offset.y)), Xv(n.latestValues) && ly(a, n.latestValues, n.layout?.layoutBox);
}
- return !r && Zv(this.latestValues) && uy(a, this.latestValues, this.layout?.layoutBox), a;
+ return !r && Xv(this.latestValues) && ly(a, this.latestValues, this.layout?.layoutBox), a;
}
removeTransform(e) {
- let t = zy();
- Sy(t, e);
+ let t = Ry();
+ xy(t, e);
for (let e = 0; e < this.path.length; e++) {
let n = this.path[e];
- if (!Zv(n.latestValues)) continue;
+ if (!Xv(n.latestValues)) continue;
let r;
- n.instance && (Yv(n.latestValues) && n.updateSnapshot(), r = zy(), Sy(r, n.measurePageBox())), My(t, n.latestValues, n.snapshot?.layoutBox, r);
+ n.instance && (Jv(n.latestValues) && n.updateSnapshot(), r = Ry(), xy(r, n.measurePageBox())), jy(t, n.latestValues, n.snapshot?.layoutBox, r);
}
- return Zv(this.latestValues) && My(t, this.latestValues), t;
+ return Xv(this.latestValues) && jy(t, this.latestValues), t;
}
setTargetDelta(e) {
this.targetDelta = e, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
@@ -19202,16 +19202,16 @@ function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
if (!this.layout || !(r || i)) return;
this.resolvedRelativeTargetAt = eh.timestamp;
let a = this.getClosestProjectingParent();
- !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), (this.relativeTarget || this.targetDelta) && (this.target || (this.target = zy(), this.targetWithTransforms = zy()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Dne(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target, !0) : Sy(this.target, this.layout.layoutBox), iy(this.target, this.targetDelta)) : Sy(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && (!a.resumingFrom == !this.resumingFrom || a.options.layoutRoot && !a.resumingFrom) && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), hy.countProjection?.(1));
+ !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), (this.relativeTarget || this.targetDelta) && (this.target || (this.target = Ry(), this.targetWithTransforms = Ry()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), One(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target, !0) : xy(this.target, this.layout.layoutBox), ry(this.target, this.targetDelta)) : xy(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && (!a.resumingFrom == !this.resumingFrom || a.options.layoutRoot && !a.resumingFrom) && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), my.countProjection?.(1));
}
getClosestProjectingParent() {
- if (!(!this.parent || Yv(this.parent.latestValues) || $v(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
+ if (!(!this.parent || Jv(this.parent.latestValues) || Qv(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
}
isProjecting() {
return !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);
}
createRelativeTarget(e, t, n) {
- this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = zy(), this.relativeTargetOrigin = zy(), ky(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), Sy(this.relativeTarget, this.relativeTargetOrigin);
+ this.relativeParent = e, this.forceRelativeParentToResolveTarget(), this.relativeTarget = Ry(), this.relativeTargetOrigin = Ry(), Oy(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), xy(this.relativeTarget, this.relativeTargetOrigin);
}
removeRelativeTarget() {
this.relativeParent = this.relativeTarget = void 0;
@@ -19221,11 +19221,11 @@ function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === eh.timestamp && (n = !1), n) return;
let { layout: r, layoutId: i } = this.options;
if (this.isTreeAnimating = !!(this.parent?.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(r || i)) return;
- Sy(this.layoutCorrected, this.layout.layoutBox);
+ xy(this.layoutCorrected, this.layout.layoutBox);
let a = this.treeScale.x, o = this.treeScale.y;
- one(this.layoutCorrected, this.treeScale, this.path, t && (e.relativeTarget && !e.relativeParent.resumingFrom ? e.relativeParent : !0)), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = zy());
+ sne(this.layoutCorrected, this.treeScale, this.path, t && (e.relativeTarget && !e.relativeParent.resumingFrom ? e.relativeParent : !0)), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox, e.targetWithTransforms = Ry());
let { target: s } = e;
- s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Cy(this.prevProjectionDelta.x, this.projectionDelta.x), Cy(this.prevProjectionDelta.y, this.projectionDelta.y)), Ey(this.projectionDelta, this.layoutCorrected, s, this.latestValues), this.treeScale.x === a && this.treeScale.y === o && Ky(this.projectionDelta.x, this.prevProjectionDelta.x) && Ky(this.projectionDelta.y, this.prevProjectionDelta.y) || (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), hy.countProjection?.(2)) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
+ s ? (!this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Sy(this.prevProjectionDelta.x, this.projectionDelta.x), Sy(this.prevProjectionDelta.y, this.projectionDelta.y)), Ty(this.projectionDelta, this.layoutCorrected, s, this.latestValues), this.treeScale.x === a && this.treeScale.y === o && Gy(this.projectionDelta.x, this.prevProjectionDelta.x) && Gy(this.projectionDelta.y, this.prevProjectionDelta.y) || (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), my.countProjection?.(2)) : this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
}
hide() {
this.isVisible = !1;
@@ -19237,22 +19237,22 @@ function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
this.options.visualElement?.scheduleRender(), e && this.getStack()?.scheduleRender(), this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);
}
createProjectionDeltas() {
- this.prevProjectionDelta = Ly(), this.projectionDelta = Ly(), this.projectionDeltaWithTransform = Ly();
+ this.prevProjectionDelta = Iy(), this.projectionDelta = Iy(), this.projectionDeltaWithTransform = Iy();
}
setAnimationOrigin(e, t = !1, n) {
- let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = Ly();
+ let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = Iy();
this.relativeParent && this.relativeParent.options.layoutRoot || (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;
- let s = zy(), c = r?.source !== this.layout?.source, l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some($ne));
+ let s = Ry(), c = r?.source !== this.layout?.source, l = this.getStack(), u = !l || l.members.length <= 1, d = !(!c || u || this.options.crossfade !== !0 || this.path.some(tre));
this.animationProgress = 0;
let f, p = n?.interpolateProjection(e);
this.mixTargetDelta = (t) => {
let n = t / 1e3, r = p?.(n);
- sb(o.x, e.x, n), sb(o.y, e.y, n), r && (o.x.translate = r.x, o.y.translate = r.y), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (ky(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), Qne(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Mne(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= zy(), Sy(f, this.relativeTarget)), c && (this.animationValues = a, yne(a, i, this.latestValues, n, d, u)), r?.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
+ ab(o.x, e.x, n), ab(o.y, e.y, n), r && (o.x.translate = r.x, o.y.translate = r.y), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Oy(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), ere(this.relativeTarget, this.relativeTargetOrigin, s, n), f && Nne(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= Ry(), xy(f, this.relativeTarget)), c && (this.animationValues = a, bne(a, i, this.latestValues, n, d, u)), r?.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
}
startAnimation(e) {
this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (mg(this.pendingAnimation), void 0), this.pendingAnimation = pg.update(() => {
- Xy.hasAnimatedSinceResize = !0, this.motionValue ||= cv(0), this.motionValue.jump(0, !1), this.currentAnimation = py(this.motionValue, [0, 1e3], {
+ Yy.hasAnimatedSinceResize = !0, this.motionValue ||= sv(0), this.motionValue.jump(0, !1), this.currentAnimation = fy(this.motionValue, [0, 1e3], {
...e,
velocity: 0,
isSync: !0,
@@ -19262,7 +19262,7 @@ function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
onComplete: () => {
e.onComplete && e.onComplete(), this.completeAnimation();
}
- }), kee(this.currentAnimation, this), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), this.pendingAnimation = void 0;
+ }), Aee(this.currentAnimation, this), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), this.pendingAnimation = void 0;
});
}
completeAnimation() {
@@ -19271,20 +19271,20 @@ function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
e && e.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");
}
finishAnimation() {
- this.currentAnimation && (this.mixTargetDelta?.(Rne), this.currentAnimation.stop()), this.completeAnimation();
+ this.currentAnimation && (this.mixTargetDelta?.(zne), this.currentAnimation.stop()), this.completeAnimation();
}
applyTransformsToTarget() {
let e = this.getLead(), { targetWithTransforms: t, layout: n, latestValues: r } = e, { target: i } = e;
if (t && i && n) {
- if (this !== e && this.layout && n && ub(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {
+ if (this !== e && this.layout && n && cb(this.options.animationType, this.layout.layoutBox, n.layoutBox)) {
let { layoutBox: e } = this.layout, t = i;
- i = this.target || zy(), lb(i.x, t.x, e.x), lb(i.y, t.y, e.y);
+ i = this.target || Ry(), sb(i.x, t.x, e.x), sb(i.y, t.y, e.y);
}
- Sy(t, i), uy(t, r), Ey(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);
+ xy(t, i), ly(t, r), Ty(this.projectionDeltaWithTransform, this.layoutCorrected, t, r);
}
}
registerSharedNode(e, t) {
- this.sharedNodes.has(e) || this.sharedNodes.set(e, new Nne()), this.sharedNodes.get(e).add(t);
+ this.sharedNodes.has(e) || this.sharedNodes.set(e, new Pne()), this.sharedNodes.get(e).add(t);
let n = t.options.initialPromotionConfig;
t.promote({
transition: n?.transition,
@@ -19317,10 +19317,10 @@ function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
let { visualElement: e } = this.options;
if (!e) return;
let { latestValues: t } = e;
- if (!Qv(t)) return;
+ if (!Zv(t)) return;
let n = {};
- for (let t = 0; t < Zy.length; t++) Qy(Zy[t], e, n, this.animationValues);
- for (let t = 0; t < Xv.length; t++) Qy(Xv[t], e, n, this.animationValues);
+ for (let t = 0; t < Xy.length; t++) Zy(Xy[t], e, n, this.animationValues);
+ for (let t = 0; t < Yv.length; t++) Zy(Yv[t], e, n, this.animationValues);
e.render();
for (let t in n) e.setStaticValue(t, n[t]), this.animationValues && (this.animationValues[t] = n[t]);
e.scheduleRender();
@@ -19334,70 +19334,70 @@ function nb({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
}
let r = this.getTransformTemplate();
if (this.needsReset) {
- this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = gy(t?.pointerEvents) || "", e.transform = r ? r(this.latestValues, "") : "none";
+ this.needsReset = !1, e.visibility = "", e.opacity = "", e.pointerEvents = hy(t?.pointerEvents) || "", e.transform = r ? r(this.latestValues, "") : "none";
return;
}
if (!this.projectionDelta || !this.layout || !n.target) {
- (this.options.layoutId || this.needsShow) && (this.needsShow = !1, e.visibility = "", e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = gy(t?.pointerEvents) || ""), this.hasProjected && !Zv(this.latestValues) && (e.transform = r ? r({}, "") : "none", this.hasProjected = !1);
+ (this.options.layoutId || this.needsShow) && (this.needsShow = !1, e.visibility = "", e.opacity = this.latestValues.opacity === void 0 ? 1 : this.latestValues.opacity, e.pointerEvents = hy(t?.pointerEvents) || ""), this.hasProjected && !Xv(this.latestValues) && (e.transform = r ? r({}, "") : "none", this.hasProjected = !1);
return;
}
e.visibility = "";
let i = n.animationValues || n.latestValues;
this.applyTransformsToTarget();
- let a = Fne(this.projectionDeltaWithTransform, this.treeScale, i);
+ let a = Ine(this.projectionDeltaWithTransform, this.treeScale, i);
r && (a = r(i, a)), e.transform = a;
let { x: o, y: s } = this.projectionDelta;
e.transformOrigin = `${o.origin * 100}% ${s.origin * 100}% 0`, e.opacity = n.animationValues ? n === this ? i.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : i.opacityExit : n === this ? i.opacity === void 0 ? "" : i.opacity : i.opacityExit === void 0 ? 0 : i.opacityExit;
- for (let t in my) {
+ for (let t in py) {
if (i[t] === void 0) continue;
- let { correct: r, applyTo: o, isCSSVariable: s } = my[t], c = a === "none" ? i[t] : r(i[t], n);
+ let { correct: r, applyTo: o, isCSSVariable: s } = py[t], c = a === "none" ? i[t] : r(i[t], n);
if (o) {
let t = o.length;
for (let n = 0; n < t; n++) e[o[n]] = c;
} else s ? this.options.visualElement.renderState.vars[t] = c : e[t] = c;
}
- this.options.layoutId && (e.pointerEvents = n === this ? gy(t?.pointerEvents) || "" : "none");
+ this.options.layoutId && (e.pointerEvents = n === this ? hy(t?.pointerEvents) || "" : "none");
}
clearSnapshot() {
this.resumeFrom = this.snapshot = this.dragSnapshot = this.dragAncestor = void 0;
}
resetTree() {
- this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(ib), this.root.sharedNodes.clear();
+ this.root.nodes.forEach((e) => e.currentAnimation?.stop()), this.root.nodes.forEach(nb), this.root.sharedNodes.clear();
}
};
}
-function Bne(e) {
- e.updateLayout(), Gne(e);
-}
function Vne(e) {
+ e.updateLayout(), qne(e);
+}
+function Hne(e) {
let t = e.resumeFrom?.snapshot || e.snapshot;
if (e.isLead() && e.layout && t && e.hasListeners("didUpdate")) {
let { layoutBox: n, measuredBox: r } = e.layout, { animationType: i } = e.options, a = t.source !== e.layout.source, o = (r, a) => {
- if (i === "size") Yy((e) => {
- let t = wy(r[e]);
+ if (i === "size") Jy((e) => {
+ let t = Cy(r[e]);
r[e].min = a[e].min, r[e].max = r[e].min + t;
});
else if (i === "x" || i === "y") {
let e = i === "x" ? "y" : "x";
- xy(r[e], a[e]);
- } else ub(i, t.layoutBox, n) && Yy((t) => {
- let n = wy(a[t]);
+ by(r[e], a[e]);
+ } else cb(i, t.layoutBox, n) && Jy((t) => {
+ let n = Cy(a[t]);
r[t].max = r[t].min + n, e.relativeTarget && !e.currentAnimation && (e.isProjectionDirty = !0, e.relativeTarget[t].max = e.relativeTarget[t].min + n);
});
}, s = a ? t.measuredBox : t.layoutBox;
o(s, n);
- let c = Ly();
- Ey(c, n, t.layoutBox);
- let l = Ly();
- Ey(l, a ? e.applyTransform(r, !0) : n, s);
- let u = !Vy(c), d = !1, f = e.getClosestProjectingParent();
+ let c = Iy();
+ Ty(c, n, t.layoutBox);
+ let l = Iy();
+ Ty(l, a ? e.applyTransform(r, !0) : n, s);
+ let u = !By(c), d = !1, f = e.getClosestProjectingParent();
if ((!e.resumeFrom || f?.options.layoutRoot && e.resumeFrom.path.includes(f)) && f && !f.resumeFrom) {
let { snapshot: r, layout: i } = f;
if (r && i) {
- let s = e.options.layoutAnchor || void 0, c = zy();
- ky(c, a ? e.resumeFrom.applyTransform(t.layoutBox, !0, void 0, !0, f.depth + 1) : t.layoutBox, r.layoutBox, s);
- let l = zy();
- ky(l, n, i.layoutBox, s), a && o(c, l), Wy(c, l) || (d = !0), f.options.layoutRoot && (e.relativeTarget = l, e.relativeTargetOrigin = c, e.relativeParent = f);
+ let s = e.options.layoutAnchor || void 0, c = Ry();
+ Oy(c, a ? e.resumeFrom.applyTransform(t.layoutBox, !0, void 0, !0, f.depth + 1) : t.layoutBox, r.layoutBox, s);
+ let l = Ry();
+ Oy(l, n, i.layoutBox, s), a && o(c, l), Uy(c, l) || (d = !0), f.options.layoutRoot && (e.relativeTarget = l, e.relativeTargetOrigin = c, e.relativeParent = f);
}
}
e.notifyListeners("didUpdate", {
@@ -19411,65 +19411,65 @@ function Vne(e) {
} else e.isLead() && e.options.onExitComplete?.();
e.options.transition = void 0;
}
-function rb(e) {
- hy.countProjection?.(0), e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);
+function Une(e) {
+ my.countProjection?.(0), e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);
}
-function Hne(e) {
+function Wne(e) {
e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;
}
-function Une(e) {
+function Gne(e) {
e.clearSnapshot();
}
-function ib(e) {
+function nb(e) {
e.clearMeasurements();
}
-function Wne(e) {
+function Kne(e) {
e.isLayoutDirty = !0, e.updateLayout();
}
-function ab(e) {
+function rb(e) {
e.isLayoutDirty = !1;
}
-function Gne(e) {
+function qne(e) {
let { snapshot: t, dragAncestor: n } = e, r = n?.isAnimationBlocked && n.layout;
if (!t || !r || e.resumeFrom || e.isAnimationBlocked) return;
let i = n.dragSnapshot;
- Yy((e) => sy(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));
+ Jy((e) => oy(t.layoutBox[e], r.layoutBox[e].min - i.layoutBox[e].min));
}
-function Kne(e) {
+function Jne(e) {
e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.dragSnapshot || e.layout, e.isLayoutDirty = !0);
}
-function qne(e) {
+function Yne(e) {
e.relativeTarget && e.relativeParent?.isLayoutDirty && (e.currentAnimation ? e.isLayoutDirty = !0 : (e.targetDelta = void 0, e.removeRelativeTarget()));
}
-function Jne(e) {
+function Xne(e) {
let { visualElement: t } = e.options;
t?.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();
}
-function ob(e) {
+function ib(e) {
e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;
}
-function Yne(e) {
+function Zne(e) {
e.resolveTargetDelta();
}
-function Xne(e) {
+function Qne(e) {
e.calcProjection();
}
-function Zne(e) {
+function $ne(e) {
e.resetSkewAndRotation();
}
-function sb(e, t, n) {
+function ab(e, t, n) {
e.translate = ng(t.translate, 0, n), e.scale = ng(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
}
-function cb(e, t, n, r) {
+function ob(e, t, n, r) {
e.min = ng(t.min, n.min, r), e.max = ng(t.max, n.max, r);
}
-function Qne(e, t, n, r) {
- cb(e.x, t.x, n.x, r), cb(e.y, t.y, n.y, r);
+function ere(e, t, n, r) {
+ ob(e.x, t.x, n.x, r), ob(e.y, t.y, n.y, r);
}
-function $ne(e) {
+function tre(e) {
return e.animationValues?.opacityExit !== void 0;
}
-var ere = {
+var nre = {
duration: .45,
ease: [
.4,
@@ -19478,51 +19478,51 @@ var ere = {
1
]
};
-function lb(e, t, n) {
- e.max = wy(n) + (e.min = t.min);
+function sb(e, t, n) {
+ e.max = Cy(n) + (e.min = t.min);
}
-function ub(e, t, n) {
- return e === "position" || e === "preserve-aspect" && !Ene(Gy(t), Gy(n), .2);
+function cb(e, t, n) {
+ return e === "position" || e === "preserve-aspect" && !Dne(Wy(t), Wy(n), .2);
}
-function tre(e) {
+function rre(e) {
return e !== e.root && e.scroll?.wasRoot;
}
// node_modules/motion-dom/dist/es/events/add-dom-event.mjs
-function db(e, t, n, r = { passive: !0 }) {
+function lb(e, t, n, r = { passive: !0 }) {
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
}
// node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs
-var nre = /* @__PURE__ */ nb({
- attachResizeListener: (e, t) => db(e, "resize", t),
- measureScroll: cne,
+var ire = /* @__PURE__ */ tb({
+ attachResizeListener: (e, t) => lb(e, "resize", t),
+ measureScroll: lne,
checkIsScrollRoot: () => !0
-}), fb = { current: void 0 }, pb = /* @__PURE__ */ nb({
+}), ub = { current: void 0 }, db = /* @__PURE__ */ tb({
measureScroll: (e) => ({
x: e.scrollLeft,
y: e.scrollTop
}),
defaultParent: () => {
- if (!fb.current) {
- let e = new nre({});
- e.mount(window), e.setOptions({ layoutScroll: !0 }), fb.current = e;
+ if (!ub.current) {
+ let e = new ire({});
+ e.mount(window), e.setOptions({ layoutScroll: !0 }), ub.current = e;
}
- return fb.current;
+ return ub.current;
},
resetTransform: (e, t) => {
e.style.transform = t === void 0 ? "none" : t;
},
checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"
-}), mb = /* @__PURE__ */ new WeakMap();
+}), fb = /* @__PURE__ */ new WeakMap();
// node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs
-function hb(e) {
+function pb(e) {
return typeof e == "object" && !!e && typeof e.start == "function";
}
// node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs
-function gb(e) {
+function mb(e) {
return typeof e == "string" || Array.isArray(e);
}
// node_modules/motion-dom/dist/es/render/utils/variant-props.mjs
-var _b = [
+var hb = [
"animate",
"whileInView",
"whileFocus",
@@ -19530,29 +19530,29 @@ var _b = [
"whileTap",
"whileDrag",
"exit"
-], vb = /* @__PURE__ */ ["initial"].concat(_b);
+], gb = /* @__PURE__ */ ["initial"].concat(hb);
// node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs
-function yb(e) {
- if (hb(e.animate)) return !0;
- for (let t = 0; t < vb.length; t++) if (gb(e[vb[t]])) return !0;
+function _b(e) {
+ if (pb(e.animate)) return !0;
+ for (let t = 0; t < gb.length; t++) if (mb(e[gb[t]])) return !0;
return !1;
}
-function bb(e) {
- return !!(yb(e) || e.variants);
+function vb(e) {
+ return !!(_b(e) || e.variants);
}
// node_modules/motion-dom/dist/es/render/utils/motion-values.mjs
-function rre(e, t, n) {
+function are(e, t, n) {
for (let r in t) {
let i = t[r], a = n[r];
- if (_v(i)) e.addValue(r, i);
- else if (_v(a)) e.addValue(r, cv(i, { owner: e }));
+ if (gv(i)) e.addValue(r, i);
+ else if (gv(a)) e.addValue(r, sv(i, { owner: e }));
else if (a !== i) {
if (e.hasValue(r)) {
let t = e.getValue(r);
t.liveStyle === !0 ? t.jump(i) : t.hasAnimated || t.set(i);
} else {
let t = e.getStaticValue(r);
- e.addValue(r, cv(t === void 0 ? i : t, { owner: e }));
+ e.addValue(r, sv(t === void 0 ? i : t, { owner: e }));
}
}
}
@@ -19560,17 +19560,17 @@ function rre(e, t, n) {
return t;
}
// node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs
-var xb = { current: null }, Sb = { current: !1 }, ire = typeof window < "u";
-function Cb() {
- if (Sb.current = !0, ire) {
+var yb = { current: null }, bb = { current: !1 }, ore = typeof window < "u";
+function xb() {
+ if (bb.current = !0, ore) {
if (window.matchMedia) {
- let e = window.matchMedia("(prefers-reduced-motion)"), t = () => xb.current = e.matches;
+ let e = window.matchMedia("(prefers-reduced-motion)"), t = () => yb.current = e.matches;
e.addEventListener("change", t), t();
- } else xb.current = !1;
+ } else yb.current = !1;
}
}
// node_modules/motion-dom/dist/es/render/VisualElement.mjs
-var wb = [
+var Sb = [
"AnimationStart",
"AnimationComplete",
"Update",
@@ -19578,35 +19578,35 @@ var wb = [
"LayoutMeasure",
"LayoutAnimationStart",
"LayoutAnimationComplete"
-], Tb = {};
-function Eb(e) {
- Tb = e;
+], Cb = {};
+function wb(e) {
+ Cb = e;
}
-function are() {
- return Tb;
+function sre() {
+ return Cb;
}
-var ore = class {
+var cre = class {
scrapeMotionValuesFromProps(e, t, n) {
return {};
}
constructor({ parent: e, props: t, presenceContext: n, reducedMotionConfig: r, skipAnimations: i, blockInitialAnimation: a, visualState: o }, s = {}) {
- this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = T_, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
+ this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = w_, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
}, this.renderScheduledAt = 0, this.scheduleRender = () => {
let e = rh.now();
this.renderScheduledAt < e && (this.renderScheduledAt = e, pg.render(this.render, !1, !0));
};
let { latestValues: c, renderState: l } = o;
- this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = yb(t), this.isVariantNode = bb(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
+ this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = _b(t), this.isVariantNode = vb(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
let { willChange: u, ...d } = this.scrapeMotionValuesFromProps(t, {}, this);
for (let e in d) {
let t = d[e];
- c[e] !== void 0 && _v(t) && t.set(c[e]);
+ c[e] !== void 0 && gv(t) && t.set(c[e]);
}
}
mount(e) {
if (this.hasBeenMounted && !this.presenceContext?.keepValuesOnRemount) for (let e in this.initialValues) this.values.get(e)?.jump(this.initialValues[e]), this.latestValues[e] = this.initialValues[e];
- if (this.current = e, mb.set(e, this), this.projection?.instance || this.projection?.mount(e), this.isVariantNode && !this.isControllingVariants) {
+ if (this.current = e, fb.set(e, this), this.projection?.instance || this.projection?.mount(e), this.isVariantNode && !this.isControllingVariants) {
let e = this;
do
e = e.props.inherit !== !1 && e.parent;
@@ -19616,7 +19616,7 @@ var ore = class {
t.add(this), this.removeFromVariantTree = () => t.delete(this);
}
}
- this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (Sb.current || Cb(), this.shouldReduceMotion = xb.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
+ this.values.forEach((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (bb.current || xb(), this.shouldReduceMotion = yb.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
}
unmount() {
this.projection?.unmount(), mg(this.notifyUpdate), mg(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree?.(), this.parent?.removeChild(this);
@@ -19634,8 +19634,8 @@ var ore = class {
this.children.delete(e), this.enteringChildren?.delete(e);
}
bindToMotionValue(e, t) {
- if (this.valueSubscriptions.get(e)?.(), t.accelerate && R_.has(e) && this.current instanceof HTMLElement) {
- let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new P_({
+ if (this.valueSubscriptions.get(e)?.(), t.accelerate && L_.has(e) && this.current instanceof HTMLElement) {
+ let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new N_({
element: this.current,
name: e,
keyframes: r,
@@ -19648,10 +19648,10 @@ var ore = class {
});
return;
}
- let n = p_.has(e);
+ let n = f_.has(e);
n && this.onBindTransform && this.onBindTransform();
let r = t.on("change", (t) => {
- this.latestValues[e] = t, this.props.onUpdate && pg.preRender(this.notifyUpdate), n && (this.projection && (this.projection.isTransformDirty = !0), K_.get(this.current)?.check()), this.scheduleRender();
+ this.latestValues[e] = t, this.props.onUpdate && pg.preRender(this.notifyUpdate), n && (this.projection && (this.projection.isTransformDirty = !0), G_.get(this.current)?.check()), this.scheduleRender();
}), i;
typeof window < "u" && window.MotionCheckAppearSync && (i = window.MotionCheckAppearSync(this, e, t)), this.valueSubscriptions.set(e, () => {
r(), i?.();
@@ -19662,8 +19662,8 @@ var ore = class {
}
updateFeatures() {
let e = "animation";
- for (e in Tb) {
- let t = Tb[e];
+ for (e in Cb) {
+ let t = Cb[e];
if (!t) continue;
let { isEnabled: n, Feature: r } = t;
if (!this.features[e] && r && n(this.props) && (this.features[e] = new r(this)), this.features[e]) {
@@ -19676,7 +19676,7 @@ var ore = class {
this.build(this.renderState, this.latestValues, this.props);
}
measureViewportBox() {
- return this.current ? this.measureInstanceViewportBox(this.current, this.props) : zy();
+ return this.current ? this.measureInstanceViewportBox(this.current, this.props) : Ry();
}
getStaticValue(e) {
return this.latestValues[e];
@@ -19686,14 +19686,14 @@ var ore = class {
}
update(e, t) {
let { transformTemplate: n, onUpdate: r } = this.props;
- (e.transformTemplate || n) && this.scheduleRender(), (e.transformTemplate && !n || e.onUpdate && !r) && K_.get(this.current)?.demote(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;
- for (let t = 0; t < wb.length; t++) {
- let n = wb[t];
+ (e.transformTemplate || n) && this.scheduleRender(), (e.transformTemplate && !n || e.onUpdate && !r) && G_.get(this.current)?.demote(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;
+ for (let t = 0; t < Sb.length; t++) {
+ let n = Sb[t];
this.propEventSubscriptions[n]?.(), delete this.propEventSubscriptions[n];
let r = e["on" + n];
r && (this.propEventSubscriptions[n] = this.on(n, r));
}
- this.prevMotionValues = rre(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue?.();
+ this.prevMotionValues = are(this, this.scrapeMotionValuesFromProps(e, this.prevProps || {}, this), this.prevMotionValues), this.handleChildMotionValue?.();
}
getProps() {
return this.props;
@@ -19723,11 +19723,11 @@ var ore = class {
}
getValue(e, t) {
let n = this.props.values?.[e];
- return n || (n = this.values.get(e), n === void 0 && t !== void 0 && (n = cv(t ?? this.getDefaultValue?.(e), { owner: this }), this.addValue(e, n)), n);
+ return n || (n = this.values.get(e), n === void 0 && t !== void 0 && (n = sv(t ?? this.getDefaultValue?.(e), { owner: this }), this.addValue(e, n)), n);
}
readValue(e, t) {
let n = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : this.getBaseTargetFromProps(this.props, e) ?? this.readValueFromInstance(this.current, e, this.options);
- return n != null && (typeof n == "string" && (Sm(n) || wm(n)) ? n = parseFloat(n) : typeof n != "number" && !Qh.test(n) && Qh.test(t) && (n = t_(e, t)), this.setBaseTarget(e, _v(n) ? n.get() : n)), _v(n) ? n.get() : n;
+ return n != null && (typeof n == "string" && (Sm(n) || wm(n)) ? n = parseFloat(n) : typeof n != "number" && !Qh.test(n) && Qh.test(t) && (n = e_(e, t)), this.setBaseTarget(e, gv(n) ? n.get() : n)), gv(n) ? n.get() : n;
}
setBaseTarget(e, t) {
this.baseTarget[e] = t;
@@ -19739,11 +19739,11 @@ var ore = class {
this.events[e]?.notify(...t);
}
scheduleRenderMicrotask() {
- fy.render(this.render);
+ dy.render(this.render);
}
-}, Db = class extends ore {
+}, Tb = class extends cre {
constructor() {
- super(...arguments), this.KeyframeResolver = wv;
+ super(...arguments), this.KeyframeResolver = Cv;
}
sortInstanceNodePosition(e, t) {
return e.compareDocumentPosition(t) & 2 ? 1 : -1;
@@ -19758,105 +19758,105 @@ var ore = class {
handleChildMotionValue() {
this.childSubscription && (this.childSubscription(), delete this.childSubscription);
let { children: e } = this.props;
- _v(e) && (this.childSubscription = e.on("change", (e) => {
+ gv(e) && (this.childSubscription = e.on("change", (e) => {
this.current && (this.current.textContent = `${e}`);
}));
}
};
// node_modules/motion-dom/dist/es/render/html/utils/render.mjs
-function Ob(e, { style: t, vars: n }, r, i) {
+function Eb(e, { style: t, vars: n }, r, i) {
let a = e.style, o;
for (o in t) a[o] = t[o];
for (o in i?.applyProjectionStyles(a, r), n) a.setProperty(o, n[o]);
}
// node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs
-function kb(e, { layout: t, layoutId: n }) {
- return p_.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!my[e] || e === "opacity");
+function Db(e, { layout: t, layoutId: n }) {
+ return f_.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!py[e] || e === "opacity");
}
// node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs
-function Ab(e, t, n) {
+function Ob(e, t, n) {
let r = e.style, i = t?.style, a = {};
if (!r) return a;
- for (let t in r) (_v(r[t]) || i && _v(i[t]) || kb(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);
+ for (let t in r) (gv(r[t]) || i && gv(i[t]) || Db(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);
return a;
}
// node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs
-function sre(e) {
+function lre(e) {
return window.getComputedStyle(e);
}
-var cre = class extends Db {
+var ure = class extends Tb {
constructor() {
- super(...arguments), this.type = "html", this.renderInstance = Ob;
+ super(...arguments), this.type = "html", this.renderInstance = Eb;
}
mount(e) {
super.mount(e);
}
readValueFromInstance(e, t) {
- if (p_.has(t)) return this.projection?.isProjecting ? l_(t) : d_(e, t);
+ if (f_.has(t)) return this.projection?.isProjecting ? c_(t) : u_(e, t);
{
- let n = sre(e), r = (oh(t) ? n.getPropertyValue(t) : n[t]) || 0;
+ let n = lre(e), r = (oh(t) ? n.getPropertyValue(t) : n[t]) || 0;
return typeof r == "string" ? r.trim() : r;
}
}
measureInstanceViewportBox(e, { transformPagePoint: t }) {
- return dy(e, t);
+ return uy(e, t);
}
build(e, t, n) {
- Hv(e, t, n.transformTemplate);
+ Vv(e, t, n.transformTemplate);
}
scrapeMotionValuesFromProps(e, t, n) {
- return Ab(e, t, n);
+ return Ob(e, t, n);
}
-}, jb = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1;
+}, kb = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1;
// node_modules/motion-dom/dist/es/events/event-info.mjs
-function Mb(e) {
+function Ab(e) {
return { point: {
x: e.pageX,
y: e.pageY
} };
}
-var lre = (e) => (t) => jb(t) && e(t, Mb(t));
+var dre = (e) => (t) => kb(t) && e(t, Ab(t));
// node_modules/motion-dom/dist/es/events/add-pointer-event.mjs
-function Nb(e, t, n, r) {
- return db(e, t, lre(n), r);
+function jb(e, t, n, r) {
+ return lb(e, t, dre(n), r);
}
// node_modules/motion-dom/dist/es/resize/handle-element.mjs
-var Pb = /* @__PURE__ */ new WeakMap(), Fb, Ib = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : jv(r) && "getBBox" in r ? r.getBBox()[t] : r[n], ure = /*@__PURE__*/ Ib("inline", "width", "offsetWidth"), dre = /*@__PURE__*/ Ib("block", "height", "offsetHeight");
-function fre({ target: e, borderBoxSize: t }) {
- Pb.get(e)?.forEach((n) => {
+var Mb = /* @__PURE__ */ new WeakMap(), Nb, Pb = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : Av(r) && "getBBox" in r ? r.getBBox()[t] : r[n], fre = /*@__PURE__*/ Pb("inline", "width", "offsetWidth"), pre = /*@__PURE__*/ Pb("block", "height", "offsetHeight");
+function mre({ target: e, borderBoxSize: t }) {
+ Mb.get(e)?.forEach((n) => {
n(e, {
get width() {
- return ure(e, t);
+ return fre(e, t);
},
get height() {
- return dre(e, t);
+ return pre(e, t);
}
});
});
}
-function pre(e) {
- e.forEach(fre);
+function hre(e) {
+ e.forEach(mre);
}
-function mre() {
- typeof ResizeObserver < "u" && (Fb = new ResizeObserver(pre));
+function gre() {
+ typeof ResizeObserver < "u" && (Nb = new ResizeObserver(hre));
}
-function hre(e, t) {
- Fb || mre();
- let n = Fv(e);
+function _re(e, t) {
+ Nb || gre();
+ let n = Pv(e);
return n.forEach((e) => {
- let n = Pb.get(e);
- n || (n = /* @__PURE__ */ new Set(), Pb.set(e, n)), n.add(t), Fb?.observe(e);
+ let n = Mb.get(e);
+ n || (n = /* @__PURE__ */ new Set(), Mb.set(e, n)), n.add(t), Nb?.observe(e);
}), () => {
n.forEach((e) => {
- let n = Pb.get(e);
- n?.delete(t), n?.size || Fb?.unobserve(e);
+ let n = Mb.get(e);
+ n?.delete(t), n?.size || Nb?.unobserve(e);
});
};
}
// node_modules/motion-dom/dist/es/resize/handle-window.mjs
-var Lb = /* @__PURE__ */ new Set(), Rb;
-function gre() {
- Rb = () => {
+var Fb = /* @__PURE__ */ new Set(), Ib;
+function vre() {
+ Ib = () => {
let e = {
get width() {
return window.innerWidth;
@@ -19865,26 +19865,26 @@ function gre() {
return window.innerHeight;
}
};
- Lb.forEach((t) => t(e));
- }, window.addEventListener("resize", Rb);
+ Fb.forEach((t) => t(e));
+ }, window.addEventListener("resize", Ib);
}
-function _re(e) {
- return Lb.add(e), Rb || gre(), () => {
- Lb.delete(e), !Lb.size && typeof Rb == "function" && (window.removeEventListener("resize", Rb), Rb = void 0);
+function yre(e) {
+ return Fb.add(e), Ib || vre(), () => {
+ Fb.delete(e), !Fb.size && typeof Ib == "function" && (window.removeEventListener("resize", Ib), Ib = void 0);
};
}
// node_modules/motion-dom/dist/es/resize/index.mjs
-function zb(e, t) {
- return Nv(typeof e == "function" ? _re(e) : hre(e, t));
+function Lb(e, t) {
+ return Mv(typeof e == "function" ? yre(e) : _re(e, t));
}
// node_modules/motion-dom/dist/es/utils/distance.mjs
-var Bb = (e, t) => Math.abs(e - t);
-function vre(e, t) {
- let n = Bb(e.x, t.x), r = Bb(e.y, t.y);
+var Rb = (e, t) => Math.abs(e - t);
+function bre(e, t) {
+ let n = Rb(e.x, t.x), r = Rb(e.y, t.y);
return Math.sqrt(n ** 2 + r ** 2);
}
// node_modules/motion-dom/dist/es/gestures/pan/PanSession.mjs
-var Vb = /*#__PURE__*/ new Set(["auto", "scroll"]), Hb = class {
+var zb = /*#__PURE__*/ new Set(["auto", "scroll"]), Bb = class {
constructor(e, t, { transformPagePoint: n, contextWindow: r = window, dragSnapToOrigin: i = !1, distanceThreshold: a = 3, element: o } = {}) {
if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.lastRawMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.scrollPositions = /* @__PURE__ */ new Map(), this.onElementScroll = (e) => {
this.handleScroll(e.target);
@@ -19892,8 +19892,8 @@ var Vb = /*#__PURE__*/ new Set(["auto", "scroll"]), Hb = class {
this.handleScroll(window);
}, this.updatePoint = () => {
if (!(this.lastMoveEvent && this.lastMoveEventInfo)) return;
- this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = Wb(this.lastRawMoveEventInfo, this.transformPagePoint));
- let e = Kb(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = vre(e.offset, {
+ this.hasPendingMove = !1, this.lastRawMoveEventInfo && (this.lastMoveEventInfo = Hb(this.lastRawMoveEventInfo, this.transformPagePoint));
+ let e = Wb(this.lastMoveEventInfo, this.history), t = this.startEvent !== null, n = bre(e.offset, {
x: 0,
y: 0
}) >= this.distanceThreshold;
@@ -19906,40 +19906,40 @@ var Vb = /*#__PURE__*/ new Set(["auto", "scroll"]), Hb = class {
let { onStart: i, onMove: a } = this.handlers;
t || (i?.(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), a?.(this.lastMoveEvent, e);
}, this.handlePointerMove = (e, t) => {
- this.handleScroll(window), this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = Wb(t, this.transformPagePoint), this.hasPendingMove = !0, pg.update(this.updatePoint, !0);
+ this.handleScroll(window), this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = Hb(t, this.transformPagePoint), this.hasPendingMove = !0, pg.update(this.updatePoint, !0);
}, this.handlePointerUp = (e, t) => {
this.hasPendingMove && this.updatePoint(), this.end();
let { onEnd: n, onSessionEnd: r, resumeAnimation: i } = this.handlers;
if ((this.dragSnapToOrigin || !this.startEvent) && i?.(), !(this.lastMoveEvent && this.lastMoveEventInfo)) return;
- let a = Kb(e.type === "pointercancel" ? this.lastMoveEventInfo : Wb(t, this.transformPagePoint), this.history);
+ let a = Wb(e.type === "pointercancel" ? this.lastMoveEventInfo : Hb(t, this.transformPagePoint), this.history);
this.startEvent && n?.(e, a), r?.(e, a);
- }, !jb(e)) return;
+ }, !kb(e)) return;
this.dragSnapToOrigin = i, this.handlers = t, this.transformPagePoint = n, this.distanceThreshold = a, this.contextWindow = r || window;
- let s = Wb(Mb(e), this.transformPagePoint), { point: c } = s;
+ let s = Hb(Ab(e), this.transformPagePoint), { point: c } = s;
this.history = [{
...c,
timestamp: rh.now()
}];
let { onSessionStart: l } = t;
- l && l(e, Kb(s, this.history));
+ l && l(e, Wb(s, this.history));
let u = {
passive: !0,
capture: !0
};
- this.removeListeners = Dm(Nb(this.contextWindow, "pointermove", this.handlePointerMove, u), Nb(this.contextWindow, "pointerup", this.handlePointerUp, u), Nb(this.contextWindow, "pointercancel", this.handlePointerUp, u)), o && this.startScrollTracking(o);
+ this.removeListeners = Dm(jb(this.contextWindow, "pointermove", this.handlePointerMove, u), jb(this.contextWindow, "pointerup", this.handlePointerUp, u), jb(this.contextWindow, "pointercancel", this.handlePointerUp, u)), o && this.startScrollTracking(o);
}
startScrollTracking(e) {
let t = e.parentElement;
for (; t;) {
let e = getComputedStyle(t);
- (Vb.has(e.overflowX) || Vb.has(e.overflowY)) && this.scrollPositions.set(t, Ub(t)), t = t.parentElement;
+ (zb.has(e.overflowX) || zb.has(e.overflowY)) && this.scrollPositions.set(t, Vb(t)), t = t.parentElement;
}
- this.scrollPositions.set(window, Ub(window)), this.removeScrollListeners = Dm(db(window, "scroll", this.onElementScroll, { capture: !0 }), db(window, "scroll", this.onWindowScroll, {}));
+ this.scrollPositions.set(window, Vb(window)), this.removeScrollListeners = Dm(lb(window, "scroll", this.onElementScroll, { capture: !0 }), lb(window, "scroll", this.onWindowScroll, {}));
}
handleScroll(e) {
let t = this.scrollPositions.get(e);
if (!t) return;
- let n = e === window, r = Ub(e), i = {
+ let n = e === window, r = Vb(e), i = {
x: r.x - t.x,
y: r.y - t.y
};
@@ -19951,42 +19951,42 @@ var Vb = /*#__PURE__*/ new Set(["auto", "scroll"]), Hb = class {
end() {
this.removeListeners?.(), this.removeScrollListeners?.(), this.scrollPositions.clear(), mg(this.updatePoint);
}
-}, Ub = (e) => e === window ? {
+}, Vb = (e) => e === window ? {
x: window.scrollX,
y: window.scrollY
} : {
x: e.scrollLeft,
y: e.scrollTop
};
-function Wb(e, t) {
+function Hb(e, t) {
return t ? { point: t(e.point) } : e;
}
-function Gb(e, t) {
+function Ub(e, t) {
return {
x: e.x - t.x,
y: e.y - t.y
};
}
-function Kb({ point: e }, t) {
+function Wb({ point: e }, t) {
return {
point: e,
- delta: Gb(e, qb(t)),
- offset: Gb(e, yre(t)),
- velocity: bre(t, .1)
+ delta: Ub(e, Gb(t)),
+ offset: Ub(e, xre(t)),
+ velocity: Sre(t, .1)
};
}
-function yre(e) {
+function xre(e) {
return e[0];
}
-function qb(e) {
+function Gb(e) {
return e[e.length - 1];
}
-function bre(e, t) {
+function Sre(e, t) {
if (e.length < 2) return {
x: 0,
y: 0
};
- let n = e.length - 1, r = null, i = qb(e);
+ let n = e.length - 1, r = null, i = Gb(e);
for (; n >= 0 && (r = e[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ Am(t)));) n--;
if (!r) return {
x: 0,
@@ -20005,95 +20005,95 @@ function bre(e, t) {
return o.x === Infinity && (o.x = 0), o.y === Infinity && (o.y = 0), o;
}
// node_modules/motion-dom/dist/es/gestures/press/utils/is-keyboard-accessible.mjs
-var xre = /* @__PURE__ */ new Set([
+var Cre = /* @__PURE__ */ new Set([
"BUTTON",
"INPUT",
"SELECT",
"TEXTAREA",
"A"
]);
-function Sre(e) {
- return xre.has(e.tagName) || e.isContentEditable === !0;
+function wre(e) {
+ return Cre.has(e.tagName) || e.isContentEditable === !0;
}
-var Cre = /* @__PURE__ */ new Set([
+var Tre = /* @__PURE__ */ new Set([
"INPUT",
"SELECT",
"TEXTAREA"
]);
-function wre(e) {
- return Cre.has(e.tagName) || e.isContentEditable === !0;
+function Ere(e) {
+ return Tre.has(e.tagName) || e.isContentEditable === !0;
}
// node_modules/motion-dom/dist/es/gestures/drag/state/is-active.mjs
-var Jb = {
+var Kb = {
x: !1,
y: !1
};
-function Yb() {
- return Jb.x || Jb.y;
+function qb() {
+ return Kb.x || Kb.y;
}
// node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs
-function Tre(e) {
- return e === "x" || e === "y" ? Jb[e] ? null : (Jb[e] = !0, () => {
- Jb[e] = !1;
- }) : Jb.x || Jb.y ? null : (Jb.x = Jb.y = !0, () => {
- Jb.x = Jb.y = !1;
+function Dre(e) {
+ return e === "x" || e === "y" ? Kb[e] ? null : (Kb[e] = !0, () => {
+ Kb[e] = !1;
+ }) : Kb.x || Kb.y ? null : (Kb.x = Kb.y = !0, () => {
+ Kb.x = Kb.y = !1;
});
}
// node_modules/motion-dom/dist/es/gestures/drag/utils/constraints.mjs
-function Xb(e, { min: t, max: n }, r) {
+function Ore(e, { min: t, max: n }, r) {
return t !== void 0 && e < t ? e = r ? ng(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? ng(n, e, r.max) : Math.min(e, n)), e;
}
-function Zb(e, t, n) {
+function Jb(e, t, n) {
return {
min: t === void 0 ? void 0 : e.min + t,
max: n === void 0 ? void 0 : e.max + n - (e.max - e.min)
};
}
-function Qb(e, { top: t, left: n, bottom: r, right: i }) {
+function kre(e, { top: t, left: n, bottom: r, right: i }) {
return {
- x: Zb(e.x, n, i),
- y: Zb(e.y, t, r)
+ x: Jb(e.x, n, i),
+ y: Jb(e.y, t, r)
};
}
-function $b(e, t) {
+function Yb(e, t) {
let n = t.min - e.min, r = t.max - e.max;
return t.max - t.min < e.max - e.min && ([n, r] = [r, n]), {
min: n,
max: r
};
}
-function Ere(e, t) {
+function Are(e, t) {
return {
- x: $b(e.x, t.x),
- y: $b(e.y, t.y)
+ x: Yb(e.x, t.x),
+ y: Yb(e.y, t.y)
};
}
-function Dre(e, t) {
- let n = .5, r = wy(e), i = wy(t);
+function jre(e, t) {
+ let n = .5, r = Cy(e), i = Cy(t);
return i > r ? n = /* @__PURE__ */ Om(t.min, t.max - r, e.min) : r > i && (n = /* @__PURE__ */ Om(e.min, e.max - i, t.min)), bm(0, 1, n);
}
-function Ore(e, t) {
+function Mre(e, t) {
let n = {};
return t.min !== void 0 && (n.min = t.min - e.min), t.max !== void 0 && (n.max = t.max - e.min), n;
}
-var ex = .35;
-function kre(e = ex) {
- return e === !1 ? e = 0 : e === !0 && (e = ex), {
- x: tx(e, "left", "right"),
- y: tx(e, "top", "bottom")
+var Xb = .35;
+function Nre(e = Xb) {
+ return e === !1 ? e = 0 : e === !0 && (e = Xb), {
+ x: Zb(e, "left", "right"),
+ y: Zb(e, "top", "bottom")
};
}
-function tx(e, t, n) {
+function Zb(e, t, n) {
return {
- min: nx(e, t),
- max: nx(e, n)
+ min: Qb(e, t),
+ max: Qb(e, n)
};
}
-function nx(e, t) {
+function Qb(e, t) {
return typeof e == "number" ? e : e[t] || 0;
}
// node_modules/motion-dom/dist/es/gestures/drag/VisualElementDragControls.mjs
-function rx(e) {
+function $b(e) {
let t = "";
for (let n of e.path) {
n.scroll = void 0, n.updateScroll();
@@ -20102,12 +20102,12 @@ function rx(e) {
}
return t;
}
-var Are = /* @__PURE__ */ new WeakMap(), jre = class {
+var Pre = /* @__PURE__ */ new WeakMap(), Fre = class {
constructor(e, t = () => e.getProps()) {
this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = {
x: 0,
y: 0
- }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = zy(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e, this.readProps = t;
+ }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = Ry(), this.latestPointerEvent = null, this.latestPanInfo = null, this.visualElement = e, this.readProps = t;
}
start(e, { snapToCursor: t = !1, distanceThreshold: n } = {}) {
if (this.visualElement.presenceContext?.isPresent === !1) return;
@@ -20115,25 +20115,25 @@ var Are = /* @__PURE__ */ new WeakMap(), jre = class {
t && this.snapToCursor(e), this.stopAnimation();
}, i = (e, t) => {
let { drag: n, dragConstraints: r, dragPropagation: i, onDragStart: a } = this.getProps();
- if (n && !i && (this.openDragLock?.(), this.openDragLock = Tre(n), !this.openDragLock)) return;
+ if (n && !i && (this.openDragLock?.(), this.openDragLock = Dre(n), !this.openDragLock)) return;
this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints();
let { projection: o } = this.visualElement;
- o && (o.isAnimationBlocked = !0, o.target = void 0), Yy((e) => {
+ o && (o.isAnimationBlocked = !0, o.target = void 0), Jy((e) => {
let t = this.getAxisMotionValue(e).get() || 0;
- if (ch(t) && (t = fv(t, this.visualElement.current) || 0), Oh.test(t)) t = parseFloat(t);
+ if (ch(t) && (t = dv(t, this.visualElement.current) || 0), Oh.test(t)) t = parseFloat(t);
else if (Dh.test(t)) {
let n = o?.layout?.layoutBox[e];
- n && (t = wy(n) * (parseFloat(t) / 100));
+ n && (t = Cy(n) * (parseFloat(t) / 100));
}
this.originPoint[e] = t;
- }), this.point = typeof r == "function" && r(this), a && pg.update(() => a(e, t), !1, !0), vv(this.visualElement, "transform"), this.visualElement.animationState?.setActive("whileDrag", !0);
+ }), this.point = typeof r == "function" && r(this), a && pg.update(() => a(e, t), !1, !0), _v(this.visualElement, "transform"), this.visualElement.animationState?.setActive("whileDrag", !0);
}, a = (e, t) => {
this.latestPointerEvent = e, this.latestPanInfo = t;
let { dragPropagation: n, dragDirectionLock: r, onDirectionLock: i, onDrag: a } = this.getProps();
if (!n && !this.openDragLock) return;
let { offset: o } = t;
if (r && this.currentDirection === null) {
- if (this.currentDirection = Nre(o), this.currentDirection === null) return;
+ if (this.currentDirection = Lre(o), this.currentDirection === null) return;
i && i(this.currentDirection);
}
this.updateAxis("x", o), this.updateAxis("y", o), this.point && this.point.move(), this.visualElement.render(), a && pg.update(() => a(e, t), !1, !0);
@@ -20146,7 +20146,7 @@ var Are = /* @__PURE__ */ new WeakMap(), jre = class {
y: 0
});
}, { dragSnapToOrigin: c } = this.getProps();
- this.panSession = new Hb(e, {
+ this.panSession = new Bb(e, {
onSessionStart: r,
onStart: i,
onMove: a,
@@ -20178,26 +20178,26 @@ var Are = /* @__PURE__ */ new WeakMap(), jre = class {
}
updateAxis(e, t) {
let { drag: n } = this.readProps();
- if (!t || !sx(e, n, this.currentDirection)) return;
+ if (!t || !rx(e, n, this.currentDirection)) return;
let r = this.getAxisMotionValue(e), i = this.originPoint[e] + t[e], a = this.constraints && this.constraints[e];
- a && (i = Xb(i, a, this.elastic[e])), this.point ? this.point[e] = i : r.set(i);
+ a && (i = Ore(i, a, this.elastic[e])), this.point ? this.point[e] = i : r.set(i);
}
resolveConstraints() {
let { dragConstraints: e, dragElastic: t } = this.getProps(), { projection: n } = this.visualElement, r = n && (n.layout || n.measure(!1)), i = this.constraints;
- ix(e) ? this.constraints && this.scroll === rx(n) || (this.constraints = this.resolveRefConstraints()) : this.constraints = e && r && typeof e == "object" ? Qb(r.layoutBox, e) : !1, this.elastic = kre(t), i !== this.constraints && !ix(e) && r && this.constraints && !this.hasMutatedConstraints && Yy((e) => {
- this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = Ore(r.layoutBox[e], this.constraints[e]));
+ ex(e) ? this.constraints && this.scroll === $b(n) || (this.constraints = this.resolveRefConstraints()) : this.constraints = e && r && typeof e == "object" ? kre(r.layoutBox, e) : !1, this.elastic = Nre(t), i !== this.constraints && !ex(e) && r && this.constraints && !this.hasMutatedConstraints && Jy((e) => {
+ this.constraints !== !1 && this.getAxisMotionValue(e) && (this.constraints[e] = Mre(r.layoutBox[e], this.constraints[e]));
});
}
resolveRefConstraints() {
let { dragConstraints: e, onMeasureDragConstraints: t } = this.getProps();
- if (!ix(e)) return !1;
- let n = ax(e), { projection: r } = this.visualElement;
+ if (!ex(e)) return !1;
+ let n = tx(e), { projection: r } = this.visualElement;
if (!r || !r.layout) return !1;
- this.scroll = rx(r);
- let i = sne(n, r.root, this.visualElement.getTransformPagePoint()), a = Ere(r.layout.layoutBox, r.removeElementScroll(i));
+ this.scroll = $b(r);
+ let i = cne(n, r.root, this.visualElement.getTransformPagePoint()), a = Are(r.layout.layoutBox, r.removeElementScroll(i));
if (t) {
- let e = t(ine(a));
- this.hasMutatedConstraints = !!e, e && (a = qv(e));
+ let e = t(ane(a));
+ this.hasMutatedConstraints = !!e, e && (a = Kv(e));
}
return a;
}
@@ -20209,13 +20209,13 @@ var Are = /* @__PURE__ */ new WeakMap(), jre = class {
restDelta: 1,
restSpeed: 10,
...a
- }, l = (i) => r && !(this.point && o) && sx(i, t || n, this.currentDirection) ? e[i] : 0;
+ }, l = (i) => r && !(this.point && o) && rx(i, t || n, this.currentDirection) ? e[i] : 0;
if (this.point && !o) return this.point.release({
x: l("x"),
y: l("y")
}, c).then(s);
- let u = this.constraints || {}, d = Yy((e) => {
- if (!sx(e, t || n, this.currentDirection)) return;
+ let u = this.constraints || {}, d = Jy((e) => {
+ if (!rx(e, t || n, this.currentDirection)) return;
let r = u[e] || {};
(o === !0 || o === e) && (r = {
min: 0,
@@ -20233,10 +20233,10 @@ var Are = /* @__PURE__ */ new WeakMap(), jre = class {
}
startAxisValueAnimation(e, t) {
let n = this.getAxisMotionValue(e);
- return vv(this.visualElement, e), n.start(dv(e, n, 0, t, this.visualElement, !1));
+ return _v(this.visualElement, e), n.start(uv(e, n, 0, t, this.visualElement, !1));
}
stopAnimation() {
- Yy((e) => this.getAxisMotionValue(e).stop());
+ Jy((e) => this.getAxisMotionValue(e).stop());
}
getAxisMotionValue(e) {
let t = `_drag${e.toUpperCase()}`;
@@ -20247,8 +20247,8 @@ var Are = /* @__PURE__ */ new WeakMap(), jre = class {
x: e,
y: t
}, i = this.visualElement.getTransformPagePoint()?.(r) || r, a = this.visualElement.measureViewportBox();
- Yy((e) => {
- if (!sx(e, n, this.currentDirection)) return;
+ Jy((e) => {
+ if (!rx(e, n, this.currentDirection)) return;
let t = this.getAxisMotionValue(e), { min: r, max: o } = a[e];
t.set((t.get() || 0) + i[e] - ng(r, o, .5));
});
@@ -20256,41 +20256,41 @@ var Are = /* @__PURE__ */ new WeakMap(), jre = class {
scalePositionWithinConstraints() {
if (!this.visualElement.current) return;
let { drag: e, dragConstraints: t } = this.getProps(), { projection: n } = this.visualElement;
- if (!ix(t) || !n || !this.constraints) return;
+ if (!ex(t) || !n || !this.constraints) return;
this.stopAnimation();
let r = this.constraints, i = {
x: 0,
y: 0
};
- Yy((e) => {
+ Jy((e) => {
let t = this.getAxisMotionValue(e).get();
- i[e] = Dre({
+ i[e] = jre({
min: t,
max: t
}, r[e]);
});
let { transformTemplate: a } = this.visualElement.getProps();
- this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root?.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), Yy((t) => {
+ this.visualElement.current.style.transform = a ? a({}, "") : "none", n.root?.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), Jy((t) => {
let n = this.getAxisMotionValue(t);
- if (!sx(t, e, null) || !n.get()) return;
+ if (!rx(t, e, null) || !n.get()) return;
let { min: r, max: a } = this.constraints[t];
n.set(ng(r, a, i[t]));
}), this.visualElement.render();
}
addListeners() {
if (!this.visualElement.current) return;
- Are.set(this.visualElement, this);
- let e = this.visualElement.current, t = Nb(e, "pointerdown", (t) => {
- let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && wre(i);
+ Pre.set(this.visualElement, this);
+ let e = this.visualElement.current, t = jb(e, "pointerdown", (t) => {
+ let { drag: n, dragListener: r = !0 } = this.getProps(), i = t.target, a = i !== e && Ere(i);
n && r && !a && this.start(t);
}), n, r = () => {
- let { dragConstraints: t } = this.getProps(), r = ix(t) && ax(t);
- r && (this.constraints = this.resolveRefConstraints(), n ||= Mre(e, r, () => this.scalePositionWithinConstraints()));
+ let { dragConstraints: t } = this.getProps(), r = ex(t) && tx(t);
+ r && (this.constraints = this.resolveRefConstraints(), n ||= Ire(e, r, () => this.scalePositionWithinConstraints()));
}, { projection: i } = this.visualElement, a = i.addEventListener("measure", r);
i.layout || (i.root?.updateScroll(), i.updateLayout()), pg.read(r);
- let o = db(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
- this.isDragging && t && (Yy((t) => {
- if (!sx(t, this.getProps().drag, this.currentDirection)) return;
+ let o = lb(window, "resize", () => this.scalePositionWithinConstraints()), s = i.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
+ this.isDragging && t && (Jy((t) => {
+ if (!rx(t, this.getProps().drag, this.currentDirection)) return;
let n = this.getAxisMotionValue(t);
this.originPoint[t] += e[t].translate, n.set(n.get() + e[t].translate);
}), this.visualElement.render());
@@ -20300,7 +20300,7 @@ var Are = /* @__PURE__ */ new WeakMap(), jre = class {
};
}
getProps() {
- let e = this.readProps(), { dragElastic: t = ex, dragMomentum: n = !0 } = e;
+ let e = this.readProps(), { dragElastic: t = Xb, dragMomentum: n = !0 } = e;
return {
...e,
dragElastic: t,
@@ -20308,32 +20308,32 @@ var Are = /* @__PURE__ */ new WeakMap(), jre = class {
};
}
};
-function ix(e) {
+function ex(e) {
return !!e && typeof e == "object" && ("current" in e || "nodeType" in e);
}
-var ax = (e) => "current" in e ? e.current : e;
-function ox(e) {
+var tx = (e) => "current" in e ? e.current : e;
+function nx(e) {
let t = !0;
return () => {
t ? t = !1 : e();
};
}
-function Mre(e, t, n) {
- let r = zb(e, ox(n)), i = zb(t, ox(n));
+function Ire(e, t, n) {
+ let r = Lb(e, nx(n)), i = Lb(t, nx(n));
return () => {
r(), i();
};
}
-function sx(e, t, n) {
+function rx(e, t, n) {
return (t === !0 || t === e) && (n === null || n === e);
}
-function Nre(e, t = 10) {
+function Lre(e, t = 10) {
let n = null;
return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;
}
// node_modules/motion-dom/dist/es/gestures/utils/setup.mjs
-function cx(e, t) {
- let n = Fv(e), r = new AbortController();
+function ix(e, t) {
+ let n = Pv(e), r = new AbortController();
return [
n,
{
@@ -20341,16 +20341,16 @@ function cx(e, t) {
...t,
signal: r.signal
},
- Nv(() => r.abort())
+ Mv(() => r.abort())
];
}
// node_modules/motion-dom/dist/es/gestures/hover.mjs
-function Pre(e) {
- return !(e.pointerType === "touch" || Yb());
+function Rre(e) {
+ return !(e.pointerType === "touch" || qb());
}
-function Fre(e, t, n = {}) {
- t = Pv(t);
- let [r, i, a] = cx(e, n);
+function zre(e, t, n = {}) {
+ t = Nv(t);
+ let [r, i, a] = ix(e, n);
return r.forEach((e) => {
let n = !1, r = !1, a, o = () => {
e.removeEventListener("pointerleave", u);
@@ -20364,7 +20364,7 @@ function Fre(e, t, n = {}) {
e.pointerType !== "touch" && (n ? r = !0 : s(e));
};
e.addEventListener("pointerenter", (n) => {
- if (!Pre(n)) return;
+ if (!Rre(n)) return;
r = !1;
let o = t(e, n);
typeof o == "function" && (a = o, e.addEventListener("pointerleave", u, i));
@@ -20372,71 +20372,71 @@ function Fre(e, t, n = {}) {
}), a;
}
// node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs
-var lx = (e, t) => t ? e === t || lx(e, t.parentElement) : !1, ux = /* @__PURE__ */ new WeakSet();
+var ax = (e, t) => t ? e === t || ax(e, t.parentElement) : !1, ox = /* @__PURE__ */ new WeakSet();
// node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs
-function dx(e) {
+function sx(e) {
return (t) => {
t.key === "Enter" && e(t);
};
}
-function fx(e, t) {
+function cx(e, t) {
e.dispatchEvent(new PointerEvent("pointer" + t, {
isPrimary: !0,
bubbles: !0
}));
}
-var Ire = (e, t) => {
- let n = !1, r = dx(() => {
- ux.has(e) || (n = !0, fx(e, "down"));
- }), i = dx(() => {
- n && (n = !1, fx(e, "up"));
+var Bre = (e, t) => {
+ let n = !1, r = sx(() => {
+ ox.has(e) || (n = !0, cx(e, "down"));
+ }), i = sx(() => {
+ n && (n = !1, cx(e, "up"));
});
e.addEventListener("keydown", r, t), e.addEventListener("keyup", i, t), e.addEventListener("blur", () => {
- e.removeEventListener("keydown", r), e.removeEventListener("keyup", i), n && fx(e, "cancel");
+ e.removeEventListener("keydown", r), e.removeEventListener("keyup", i), n && cx(e, "cancel");
}, {
...t,
once: !0
});
};
// node_modules/motion-dom/dist/es/gestures/press/index.mjs
-function px(e) {
- return jb(e) && !Yb();
+function lx(e) {
+ return kb(e) && !qb();
}
-var mx = /* @__PURE__ */ new WeakSet();
-function Lre(e, t, n = {}) {
- t = Pv(t);
- let [r, i, a] = cx(e, n), o = (e) => {
+var ux = /* @__PURE__ */ new WeakSet();
+function Vre(e, t, n = {}) {
+ t = Nv(t);
+ let [r, i, a] = ix(e, n), o = (e) => {
let r = e.currentTarget;
- if (!px(e) || mx.has(e)) return;
- ux.add(r), n.stopPropagation && mx.add(e);
+ if (!lx(e) || ux.has(e)) return;
+ ox.add(r), n.stopPropagation && ux.add(e);
let a = t(r, e), o = {
...i,
capture: !0
}, s = (e, t) => {
- window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), ux.has(r) && ux.delete(r), px(e) && typeof a == "function" && a(e, { success: t });
+ window.removeEventListener("pointerup", c, o), window.removeEventListener("pointercancel", l, o), ox.has(r) && ox.delete(r), lx(e) && typeof a == "function" && a(e, { success: t });
}, c = (e) => {
- s(e, r === window || r === document || n.useGlobalTarget || lx(r, e.target));
+ s(e, r === window || r === document || n.useGlobalTarget || ax(r, e.target));
}, l = (e) => {
s(e, !1);
};
window.addEventListener("pointerup", c, o), window.addEventListener("pointercancel", l, o);
};
return r.forEach((e) => {
- (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), Av(e) && (e.addEventListener("focus", () => Ire(e, i), i), !Sre(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
+ (n.useGlobalTarget ? window : e).addEventListener("pointerdown", o, i), kv(e) && (e.addEventListener("focus", () => Bre(e, i), i), !wre(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
}), a;
}
// node_modules/motion-dom/dist/es/render/dom/style-computed.mjs
-function hx(e, t) {
+function dx(e, t) {
let n = window.getComputedStyle(e);
- return E_(t) ? n.getPropertyValue(t) : n[t];
+ return T_(t) ? n.getPropertyValue(t) : n[t];
}
// node_modules/motion-dom/dist/es/render/Feature.mjs
-var gx = class {
+var fx = class {
constructor(e) {
this.isMounted = !1, this.node = e;
}
update() {}
-}, _x = /* @__PURE__ */ new Set([
+}, px = /* @__PURE__ */ new Set([
"baseFrequency",
"diffuseConstant",
"kernelMatrix",
@@ -20460,58 +20460,58 @@ var gx = class {
"startOffset",
"textLength",
"lengthAdjust"
-]), vx = (e) => typeof e == "string" && e.toLowerCase() === "svg";
+]), mx = (e) => typeof e == "string" && e.toLowerCase() === "svg";
// node_modules/motion-dom/dist/es/render/svg/utils/render.mjs
-function Rre(e, t, n, r) {
- Ob(e, t, void 0, r);
- for (let n in t.attrs) e.setAttribute(_x.has(n) ? n : Vv(n), t.attrs[n]);
+function Hre(e, t, n, r) {
+ Eb(e, t, void 0, r);
+ for (let n in t.attrs) e.setAttribute(px.has(n) ? n : Bv(n), t.attrs[n]);
}
// node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs
-function yx(e, t, n) {
- let r = Ab(e, t, n);
- for (let n in e) if (n !== "children" && (_v(e[n]) || _v(t[n]))) {
- let t = f_.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);
+function hx(e, t, n) {
+ let r = Ob(e, t, n);
+ for (let n in e) if (n !== "children" && (gv(e[n]) || gv(t[n]))) {
+ let t = d_.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);
r[t] = e[n];
}
return r;
}
// node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs
-var zre = class extends Db {
+var Ure = class extends Tb {
constructor() {
- super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = zy;
+ super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = Ry;
}
getBaseTargetFromProps(e, t) {
- return p_.has(t) ? super.getBaseTargetFromProps(e, t) ?? l_(t) : e[t];
+ return f_.has(t) ? super.getBaseTargetFromProps(e, t) ?? c_(t) : e[t];
}
getDefaultValue(e) {
- return p_.has(e) ? this.latestValues[e] ?? l_(e) : void 0;
+ return f_.has(e) ? this.latestValues[e] ?? c_(e) : void 0;
}
readValueFromInstance(e, t) {
- if (p_.has(t)) {
- let e = e_(t);
+ if (f_.has(t)) {
+ let e = $g(t);
return e && e.default || 0;
}
- if (Uv.includes(t)) {
+ if (Hv.includes(t)) {
let n = getComputedStyle(e)[t];
if (typeof n == "string" && n) return n.trim();
}
- return t = _x.has(t) ? t : Vv(t), e.getAttribute(t);
+ return t = px.has(t) ? t : Bv(t), e.getAttribute(t);
}
scrapeMotionValuesFromProps(e, t, n) {
- return yx(e, t, n);
+ return hx(e, t, n);
}
build(e, t, n) {
- Wv(e, t, this.isSVGTag, n.transformTemplate, n.style);
+ Uv(e, t, this.isSVGTag, n.transformTemplate, n.style);
}
renderInstance(e, t, n, r) {
- Rre(e, t, n, r);
+ Hre(e, t, n, r);
}
mount(e) {
- this.isSVGTag = vx(e.tagName), super.mount(e);
+ this.isSVGTag = mx(e.tagName), super.mount(e);
}
};
// node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs
-function bx(e, t) {
+function gx(e, t) {
if (!Array.isArray(t)) return !1;
let n = t.length;
if (n !== e.length) return !1;
@@ -20519,18 +20519,18 @@ function bx(e, t) {
return !0;
}
// node_modules/motion-dom/dist/es/render/utils/animation-state.mjs
-var Bre = [..._b].reverse(), xx = (e) => e?.out === !0 ? e : e?.out;
-function Vre(e) {
- let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => Ite(e, t, n))), n = Sx(), r = !0, i = !1;
+var Wre = [...hb].reverse(), _x = (e) => e?.out === !0 ? e : e?.out;
+function Gre(e) {
+ let t = (t) => Promise.all(t.map(({ animation: t, options: n }) => Lte(e, t, n))), n = vx(), r = !0, i = !1;
function a(a) {
- let { props: o, parent: s, manuallyAnimateOnMount: c } = e, { initial: l } = o, u = r || i, d = [], f = (t = l) => typeof t != "boolean" && mv(e, Array.isArray(t) ? t[0] : t, e.presenceContext?.custom) || void 0, p = /* @__PURE__ */ new Map(), m = {}, h = Infinity, g = e;
+ let { props: o, parent: s, manuallyAnimateOnMount: c } = e, { initial: l } = o, u = r || i, d = [], f = (t = l) => typeof t != "boolean" && pv(e, Array.isArray(t) ? t[0] : t, e.presenceContext?.custom) || void 0, p = /* @__PURE__ */ new Map(), m = {}, h = Infinity, g = e;
do
g = g.props.inherit !== !1 && g.parent;
while (g && !g.isControllingVariants);
- let _ = u && xx(f(l ?? (g && g.props.initial))?.transition);
- if (Bre.forEach((t, r) => {
- let i = n[t], l = o[t], f = g && g.props[t], v = l === void 0 ? gb(f) || f === !1 ? f : void 0 : l, y = gb(v), b = t === a ? i.isActive : null, x = y && l === void 0 && !(u && c);
- if (i.protectedKeys = { ...m }, !i.isActive && b === null || !v && !i.prevProp || hb(v) || typeof v == "boolean") return;
+ let _ = u && _x(f(l ?? (g && g.props.initial))?.transition);
+ if (Wre.forEach((t, r) => {
+ let i = n[t], l = o[t], f = g && g.props[t], v = l === void 0 ? mb(f) || f === !1 ? f : void 0 : l, y = mb(v), b = t === a ? i.isActive : null, x = y && l === void 0 && !(u && c);
+ if (i.protectedKeys = { ...m }, !i.isActive && b === null || !v && !i.prevProp || pb(v) || typeof v == "boolean") return;
if (b === !1 && (h = r), t === "exit" && i.isActive && b !== !0) {
m = {
...m,
@@ -20538,14 +20538,14 @@ function Vre(e) {
};
return;
}
- let S = Hre(i.prevProp, v), C = S || y && (b && !x || r > h), w = !1, T = Array.isArray(v) ? v : [v], E = {}, D;
+ let S = Kre(i.prevProp, v), C = S || y && (b && !x || r > h), w = !1, T = Array.isArray(v) ? v : [v], E = {}, D;
if (b !== !1) for (let n of T) {
- let { transition: r, transitionEnd: i, ...a } = mv(e, n, hv(e, t)) || {};
+ let { transition: r, transitionEnd: i, ...a } = pv(e, n, mv(e, t)) || {};
E = {
...E,
...a,
...i
- }, D = xx(r) || D;
+ }, D = _x(r) || D;
}
let { prevResolvedValues: O } = i;
for (let t in {
@@ -20553,7 +20553,7 @@ function Vre(e) {
...E
}) {
if (t in m) continue;
- let n = E[t], r = O[t], a = Array.isArray(n) && Array.isArray(r) ? !bx(n, r) || S : n !== r, o;
+ let n = E[t], r = O[t], a = Array.isArray(n) && Array.isArray(r) ? !gx(n, r) || S : n !== r, o;
if (a && n == null) p.has(t) || p.set(t, i.prevOut);
else if (a || n !== void 0 && p.has(t)) {
C = !0, o = p.get(t) || _, p.delete(t) && (w = !0), i.needsAnimating[t] = !0;
@@ -20568,8 +20568,8 @@ function Vre(e) {
}), C && (!(x && S) || w)) for (let n of T) {
let r = { type: t };
if (typeof n == "string" && u && c && s?.enteringChildren) {
- let t = mv(s, n)?.transition?.delayChildren;
- r.delay = iv(s.enteringChildren, e, t);
+ let t = pv(s, n)?.transition?.delayChildren;
+ r.delay = rv(s.enteringChildren, e, t);
}
d.push({
animation: n,
@@ -20586,7 +20586,7 @@ function Vre(e) {
let s = e.getValue(a);
s && (s.liveStyle = !0);
let c = n && !Array.isArray(l) ? n[a] : void 0, u = e.getBaseTargetFromProps(o, a);
- t[a] = (c === void 0 ? u !== void 0 && !_v(u) ? u : e.initialValues[a] === void 0 ? e.baseTarget[a] : void 0 : c) ?? null;
+ t[a] = (c === void 0 ? u !== void 0 && !gv(u) ? u : e.initialValues[a] === void 0 ? e.baseTarget[a] : void 0 : c) ?? null;
}), r && (t.transition = r), d.push({ animation: t });
}
let v = u && e.blockInitialAnimation || r && !c && (o.initial === !1 || o.initial === o.animate);
@@ -20607,16 +20607,16 @@ function Vre(e) {
},
getState: () => n,
reset: () => {
- n = Sx(), i = !0;
+ n = vx(), i = !0;
}
};
}
-function Hre(e, t) {
- return typeof t == "string" ? t !== e : Array.isArray(t) ? !bx(t, e) : !1;
+function Kre(e, t) {
+ return typeof t == "string" ? t !== e : Array.isArray(t) ? !gx(t, e) : !1;
}
-function Sx() {
+function vx() {
let e = {};
- for (let t of _b) e[t] = {
+ for (let t of hb) e[t] = {
isActive: t === "animate",
protectedKeys: {},
needsAnimating: {},
@@ -20626,55 +20626,55 @@ function Sx() {
return e;
}
// node_modules/framer-motion/dist/es/context/MotionConfigContext.mjs
-var Cx = /* @__PURE__ */ (0, F.createContext)({
+var yx = /* @__PURE__ */ (0, F.createContext)({
transformPagePoint: (e) => e,
isStatic: !1,
reducedMotion: "never"
});
// node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs
-function wx(e, t) {
+function bx(e, t) {
if (typeof e == "function") return e(t);
e != null && (e.current = t);
}
-function Ure(...e) {
+function qre(...e) {
return (t) => {
let n = !1, r = e.map((e) => {
- let r = wx(e, t);
+ let r = bx(e, t);
return !n && typeof r == "function" && (n = !0), r;
});
if (n) return () => {
for (let t = 0; t < r.length; t++) {
let n = r[t];
- typeof n == "function" ? n() : wx(e[t], null);
+ typeof n == "function" ? n() : bx(e[t], null);
}
};
};
}
-function Wre(...e) {
- return F.useCallback(Ure(...e), e);
+function Jre(...e) {
+ return F.useCallback(qre(...e), e);
}
// node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs
-var Tx = (e) => {
+var xx = (e) => {
let { width: t, height: n } = e?.getBoundingClientRect() || {};
return [t / e?.offsetWidth || 1, n / e?.offsetHeight || 1];
-}, Ex = (e) => {
+}, Sx = (e) => {
let { left: t, top: n } = e.getBoundingClientRect(), r = e;
for (; r = r.parentElement || r.parentNode?.host;) {
let { scrollLeft: e, scrollTop: i } = r;
if (e || i) {
- let [a, o] = Tx(r);
+ let [a, o] = xx(r);
t += e * a, n += i * o;
}
if (getComputedStyle(r).position === "fixed") break;
}
- let [i, a] = Tx(e.offsetParent);
+ let [i, a] = xx(e.offsetParent);
return [t / i, n / a];
-}, Gre = class extends F.Component {
+}, Yre = class extends F.Component {
getSnapshotBeforeUpdate(e) {
let t = this.props.getElement();
- if (Av(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {
- let e = t.offsetParent, n = Av(e) && e.offsetWidth || 0, r = Av(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;
- a.height = parseFloat(i.height), a.width = parseFloat(i.width), a.top = t.offsetTop, a.left = t.offsetLeft, a.right = n - a.width - a.left, a.bottom = r - a.height - a.top, a.direction = i.direction, a.point = Ex(t);
+ if (kv(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {
+ let e = t.offsetParent, n = kv(e) && e.offsetWidth || 0, r = kv(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;
+ a.height = parseFloat(i.height), a.width = parseFloat(i.width), a.top = t.offsetTop, a.left = t.offsetLeft, a.right = n - a.width - a.left, a.bottom = r - a.height - a.top, a.direction = i.direction, a.point = Sx(t);
}
return null;
}
@@ -20683,7 +20683,7 @@ var Tx = (e) => {
return this.props.children;
}
};
-function Kre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a, popNode: o }) {
+function Xre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop: a, popNode: o }) {
let s = (0, F.useId)(), c = (0, F.useRef)(null), l = (0, F.useRef)({
width: 0,
height: 0,
@@ -20692,7 +20692,7 @@ function Kre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
right: 0,
bottom: 0,
direction: "ltr"
- }), { nonce: u } = (0, F.useContext)(Cx), d = Wre(c, a === !1 ? void 0 : e.props?.ref ?? e?.ref), f = () => c.current || o?.current?.current, p = (e) => {
+ }), { nonce: u } = (0, F.useContext)(yx), d = Jre(c, a === !1 ? void 0 : e.props?.ref ?? e?.ref), f = () => c.current || o?.current?.current, p = (e) => {
let { width: t, height: i, top: a, left: o, right: c, bottom: u, direction: d } = l.current, f = d === "rtl", p = n === "left" ? f ? `right:${c}` : `left:${o}` : f ? `left:${o}` : `right:${c}`, m = r === "bottom" ? `bottom:${u}` : `top:${a}`;
e?.insertRule(`[data-motion-pop-id="${s}"]{position:absolute!important;width:${t}px!important;height:${i}px!important;${p}px!important;${m}px!important}`);
};
@@ -20705,10 +20705,10 @@ function Kre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
let d = i ?? o.head;
d.appendChild(c), p(c.sheet);
let m = 0, h = 0;
- return fy.setup(() => {
- let [e, t] = Ex(r);
+ return dy.setup(() => {
+ let [e, t] = Sx(r);
m = l.current.point[0] - e, h = l.current.point[1] - t;
- }), fy.read(() => {
+ }), dy.read(() => {
let { sheet: e } = c;
if (!e || !m && !h) return;
let t = l.current;
@@ -20716,7 +20716,7 @@ function Kre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
}), () => {
r.removeAttribute("data-motion-pop-id"), d.contains(c) && d.removeChild(c);
};
- }, [t]), (0, I.jsx)(Gre, {
+ }, [t]), (0, I.jsx)(Yre, {
isPresent: t,
getElement: f,
sizeRef: l,
@@ -20725,8 +20725,8 @@ function Kre({ children: e, isPresent: t, anchorX: n, anchorY: r, root: i, pop:
});
}
// node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs
-var qre = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {
- let u = hm(Jre), d = (0, F.useId)(), f = (0, F.useRef)(), p = (0, F.useRef)(n), m = (0, F.useRef)(r);
+var Zre = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i, presenceAffectsLayout: a, mode: o, anchorX: s, anchorY: c, root: l }) => {
+ let u = hm(Qre), d = (0, F.useId)(), f = (0, F.useRef)(), p = (0, F.useRef)(n), m = (0, F.useRef)(r);
gm(() => {
p.current = n, m.current = r;
});
@@ -20752,7 +20752,7 @@ var qre = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i
u.forEach((e, t) => u.set(t, !1));
}, [n]), F.useEffect(() => {
!n && !u.size && r && r();
- }, [n]), e = (0, I.jsx)(Kre, {
+ }, [n]), e = (0, I.jsx)(Xre, {
pop: o === "popLayout",
isPresent: n,
anchorX: s,
@@ -20765,11 +20765,11 @@ var qre = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: i
children: e
});
};
-function Jre() {
+function Qre() {
return /* @__PURE__ */ new Map();
}
// node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs
-function Dx(e = !0) {
+function Cx(e = !0) {
let t = (0, F.useContext)(_m);
if (t === null) return [!0, null];
let { isPresent: n, onExitComplete: r, register: i } = t, a = (0, F.useId)();
@@ -20783,23 +20783,23 @@ function Dx(e = !0) {
]);
return !n && r ? [!1, o] : [!0];
}
-function Ox() {
- return Yre((0, F.useContext)(_m));
+function wx() {
+ return $re((0, F.useContext)(_m));
}
-function Yre(e) {
+function $re(e) {
return e === null || e.isPresent;
}
// node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs
-var kx = (e) => e.key || "";
-function Ax(e) {
+var Tx = (e) => e.key || "";
+function Ex(e) {
let t = [];
return F.Children.forEach(e, (e) => {
(0, F.isValidElement)(e) && t.push(e);
}), t;
}
// node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs
-var jx = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {
- let [u, d] = Dx(o), f = (0, F.useMemo)(() => Ax(e), [e]), p = o && !u ? [] : f.map(kx), m = (0, F.useRef)(!0), h = hm(() => /* @__PURE__ */ new Map()), g = (0, F.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, F.useState)(f), [y, b] = (0, F.useState)(f);
+var Dx = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {
+ let [u, d] = Cx(o), f = (0, F.useMemo)(() => Ex(e), [e]), p = o && !u ? [] : f.map(Tx), m = (0, F.useRef)(!0), h = hm(() => /* @__PURE__ */ new Map()), g = (0, F.useRef)(/* @__PURE__ */ new Set()), [_, v] = (0, F.useState)(f), [y, b] = (0, F.useState)(f);
gm(() => {
o && !u && !y.length && d?.();
}, [
@@ -20815,7 +20815,7 @@ var jx = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
}, [y]), gm(() => {
m.current = !1;
for (let e = 0; e < y.length; e++) {
- let t = kx(y[e]);
+ let t = Tx(y[e]);
p.includes(t) ? (h.delete(t), g.current.delete(t)) : h.get(t) !== !0 && h.set(t, !1);
}
}, [
@@ -20827,15 +20827,15 @@ var jx = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
if (f !== _) {
let e = [...f], t = 0;
for (let n of y) {
- let r = p.indexOf(kx(n));
+ let r = p.indexOf(Tx(n));
r === -1 ? (e.splice(t++, 0, n), S.push(n)) : t = r + S.length + 1;
}
- return S.every((e) => h.get(kx(e))) ? e = f : a === "wait" && (e = S), b(Ax(e)), v(f), null;
+ return S.every((e) => h.get(Tx(e))) ? e = f : a === "wait" && (e = S), b(Ex(e)), v(f), null;
}
let { forceRender: C } = (0, F.useContext)(mm);
return (0, I.jsx)(I.Fragment, { children: y.map((e) => {
- let _ = kx(e), b = o && !u ? !1 : f === y || p.includes(_);
- return (0, I.jsx)(qre, {
+ let _ = Tx(e), b = o && !u ? !1 : f === y || p.includes(_);
+ return (0, I.jsx)(Zre, {
isPresent: b,
initial: !m.current || n ? void 0 : !1,
custom: t,
@@ -20856,8 +20856,8 @@ var jx = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
children: e
}, _);
}) });
-}, Mx = /* @__PURE__ */ (0, F.createContext)({ strict: !1 }), Nx = {
- animation: ["variants", ..._b],
+}, Ox = /* @__PURE__ */ (0, F.createContext)({ strict: !1 }), kx = {
+ animation: ["variants", ...hb],
exit: ["exit"],
drag: ["drag", "dragControls"],
focus: ["whileFocus"],
@@ -20884,32 +20884,32 @@ var jx = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presence
"onViewportLeave"
],
layout: ["layout", "layoutId"]
-}, Px = !1;
-function Xre() {
- if (Px) return;
+}, Ax = !1;
+function eie() {
+ if (Ax) return;
let e = {};
- for (let t in Nx) e[t] = { isEnabled: (e) => Nx[t].some((t) => !!e[t]) };
- Eb(e), Px = !0;
+ for (let t in kx) e[t] = { isEnabled: (e) => kx[t].some((t) => !!e[t]) };
+ wb(e), Ax = !0;
}
-function Fx() {
- return Xre(), are();
+function jx() {
+ return eie(), sre();
}
// node_modules/framer-motion/dist/es/motion/features/load-features.mjs
-function Zre(e) {
- let t = Fx();
+function tie(e) {
+ let t = jx();
for (let n in e) t[n] = {
...t[n],
...e[n]
};
- Eb(t);
+ wb(t);
}
// node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs
-function Qre({ children: e, ...t }) {
- let n = (0, F.useContext)(Cx);
+function nie({ children: e, ...t }) {
+ let n = (0, F.useContext)(yx);
t = {
...n,
...t
- }, t.transition = lv(t.transition, n.transition), t.isStatic = hm(() => t.isStatic);
+ }, t.transition = cv(t.transition, n.transition), t.isStatic = hm(() => t.isStatic);
let r = (0, F.useMemo)(() => t, [
JSON.stringify(t.transition),
t.transformPagePoint,
@@ -20917,77 +20917,77 @@ function Qre({ children: e, ...t }) {
t.skipAnimations,
t.isValidProp
]);
- return (0, I.jsx)(Cx.Provider, {
+ return (0, I.jsx)(yx.Provider, {
value: r,
children: e
});
}
// node_modules/framer-motion/dist/es/context/MotionContext/index.mjs
-var Ix = /* @__PURE__ */ (0, F.createContext)({});
+var Mx = /* @__PURE__ */ (0, F.createContext)({});
// node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs
-function $re(e, t) {
- if (yb(e)) {
+function rie(e, t) {
+ if (_b(e)) {
let { initial: t, animate: n } = e;
return {
- initial: t === !1 || gb(t) ? t : void 0,
- animate: gb(n) ? n : void 0
+ initial: t === !1 || mb(t) ? t : void 0,
+ animate: mb(n) ? n : void 0
};
}
return e.inherit === !1 ? {} : t;
}
// node_modules/framer-motion/dist/es/context/MotionContext/create.mjs
-function eie(e) {
- let { initial: t, animate: n } = $re(e, (0, F.useContext)(Ix));
+function iie(e) {
+ let { initial: t, animate: n } = rie(e, (0, F.useContext)(Mx));
return (0, F.useMemo)(() => ({
initial: t,
animate: n
- }), [Lx(t), Lx(n)]);
+ }), [Nx(t), Nx(n)]);
}
-function Lx(e) {
+function Nx(e) {
return Array.isArray(e) ? e.join(" ") : e;
}
// node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs
-var Rx = () => ({
+var Px = () => ({
style: {},
transform: {},
transformOrigin: {},
vars: {}
});
// node_modules/framer-motion/dist/es/render/html/use-props.mjs
-function zx(e, t, n) {
- for (let r in t) !_v(t[r]) && !kb(r, n) && (e[r] = t[r]);
+function Fx(e, t, n) {
+ for (let r in t) !gv(t[r]) && !Db(r, n) && (e[r] = t[r]);
}
-function tie({ transformTemplate: e }, t) {
+function aie({ transformTemplate: e }, t) {
return (0, F.useMemo)(() => {
- let n = Rx();
- return Hv(n, t, e), Object.assign({}, n.vars, n.style);
+ let n = Px();
+ return Vv(n, t, e), Object.assign({}, n.vars, n.style);
}, [t]);
}
-function nie(e, t) {
+function oie(e, t) {
let n = e.style || {}, r = {};
- return zx(r, n, e), Object.assign(r, tie(e, t)), r;
+ return Fx(r, n, e), Object.assign(r, aie(e, t)), r;
}
-function rie(e, t) {
- let n = {}, r = nie(e, t);
+function sie(e, t) {
+ let n = {}, r = oie(e, t);
return e.drag && e.dragListener !== !1 && (n.draggable = !1, r.userSelect = r.WebkitUserSelect = r.WebkitTouchCallout = "none", r.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (n.tabIndex = 0), n.style = r, n;
}
// node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs
-var Bx = () => ({
- ...Rx(),
+var Ix = () => ({
+ ...Px(),
attrs: {}
});
// node_modules/framer-motion/dist/es/render/svg/use-props.mjs
-function iie(e, t, n, r) {
+function cie(e, t, n, r) {
let i = (0, F.useMemo)(() => {
- let n = Bx();
- return Wv(n, t, vx(r), e.transformTemplate, e.style), {
+ let n = Ix();
+ return Uv(n, t, mx(r), e.transformTemplate, e.style), {
...n.attrs,
style: { ...n.style }
};
}, [t]);
if (e.style) {
let t = {};
- return zx(t, e.style, e), {
+ return Fx(t, e.style, e), {
...i,
style: {
...t,
@@ -20998,21 +20998,21 @@ function iie(e, t, n, r) {
return i;
}
// node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs
-var aie = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));
-function Vx(e) {
- return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || aie.has(e);
+var lie = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));
+function Lx(e) {
+ return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || lie.has(e);
}
// node_modules/framer-motion/dist/es/render/dom/utils/filter-props.mjs
-function oie(e, t) {
- return e.startsWith("on") ? !Vx(e) : t?.(e) ?? !Vx(e);
+function uie(e, t) {
+ return e.startsWith("on") ? !Lx(e) : t?.(e) ?? !Lx(e);
}
-function sie(e, t, n, r) {
+function die(e, t, n, r) {
let i = {};
- for (let a in e) a === "values" && typeof e.values == "object" || _v(e[a]) || (oie(a, r) || n === !0 && Vx(a) || !t && !Vx(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]);
+ for (let a in e) a === "values" && typeof e.values == "object" || gv(e[a]) || (uie(a, r) || n === !0 && Lx(a) || !t && !Lx(a) || e.draggable && a.startsWith("onDrag")) && (i[a] = e[a]);
return i;
}
// node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs
-var cie = [
+var fie = [
"animate",
"circle",
"defs",
@@ -21040,40 +21040,40 @@ var cie = [
"view"
];
// node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs
-function Hx(e) {
- return typeof e != "string" || e.includes("-") ? !1 : !!(cie.indexOf(e) > -1 || /[A-Z]/u.test(e));
+function Rx(e) {
+ return typeof e != "string" || e.includes("-") ? !1 : !!(fie.indexOf(e) > -1 || /[A-Z]/u.test(e));
}
// node_modules/framer-motion/dist/es/render/dom/use-render.mjs
-function lie(e, t, n, { latestValues: r }, i, a = !1, o, s) {
- let c = (o ?? Hx(e) ? iie : rie)(t, r, i, e), l = sie(t, typeof e == "string", a, s), u = e === F.Fragment ? {} : {
+function pie(e, t, n, { latestValues: r }, i, a = !1, o, s) {
+ let c = (o ?? Rx(e) ? cie : sie)(t, r, i, e), l = die(t, typeof e == "string", a, s), u = e === F.Fragment ? {} : {
...l,
...c,
ref: n
- }, { children: d } = t, f = (0, F.useMemo)(() => _v(d) ? d.get() : d, [d]);
+ }, { children: d } = t, f = (0, F.useMemo)(() => gv(d) ? d.get() : d, [d]);
return (0, F.createElement)(e, {
...u,
children: f
});
}
// node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs
-function uie({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
+function mie({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
return {
- latestValues: die(n, r, i, e),
+ latestValues: hie(n, r, i, e),
renderState: t()
};
}
-function die(e, t, n, r) {
+function hie(e, t, n, r) {
let i = {}, a = r(e, {});
- for (let e in a) i[e] = gy(a[e]);
- let { initial: o, animate: s } = e, c = yb(e), l = bb(e);
+ for (let e in a) i[e] = hy(a[e]);
+ let { initial: o, animate: s } = e, c = _b(e), l = vb(e);
t && l && !c && e.inherit !== !1 && (o === void 0 && (o = t.initial), s === void 0 && (s = t.animate));
let u = n ? n.initial === !1 : !1;
u ||= o === !1;
let d = u ? s : o;
- if (d && typeof d != "boolean" && !hb(d)) {
+ if (d && typeof d != "boolean" && !pb(d)) {
let t = Array.isArray(d) ? d : [d];
for (let n = 0; n < t.length; n++) {
- let r = pv(e, t[n]);
+ let r = fv(e, t[n]);
if (r) {
let { transitionEnd: e, transition: t, ...n } = r;
for (let e in n) {
@@ -21090,18 +21090,18 @@ function die(e, t, n, r) {
}
return i;
}
-var Ux = (e) => (t, n) => {
- let r = (0, F.useContext)(Ix), i = (0, F.useContext)(_m), a = () => uie(e, t, r, i);
+var zx = (e) => (t, n) => {
+ let r = (0, F.useContext)(Mx), i = (0, F.useContext)(_m), a = () => mie(e, t, r, i);
return n ? a() : hm(a);
-}, fie = /*@__PURE__*/ Ux({
- scrapeMotionValuesFromProps: Ab,
- createRenderState: Rx
-}), pie = /*@__PURE__*/ Ux({
- scrapeMotionValuesFromProps: yx,
- createRenderState: Bx
-}), mie = /* @__PURE__ */ Symbol.for("motionComponentSymbol");
+}, gie = /*@__PURE__*/ zx({
+ scrapeMotionValuesFromProps: Ob,
+ createRenderState: Px
+}), _ie = /*@__PURE__*/ zx({
+ scrapeMotionValuesFromProps: hx,
+ createRenderState: Ix
+}), vie = /* @__PURE__ */ Symbol.for("motionComponentSymbol");
// node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs
-function hie(e, t, n) {
+function yie(e, t, n) {
let r = (0, F.useRef)(n);
(0, F.useInsertionEffect)(() => {
r.current = n;
@@ -21119,10 +21119,10 @@ function hie(e, t, n) {
}, [t]);
}
// node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs
-var Wx = /* @__PURE__ */ (0, F.createContext)({});
+var Bx = /* @__PURE__ */ (0, F.createContext)({});
// node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs
-function gie(e, t, n, r, i, a) {
- let { visualElement: o } = (0, F.useContext)(Ix), s = (0, F.useContext)(Mx), c = (0, F.useContext)(_m), l = (0, F.useContext)(Cx), u = l.reducedMotion, d = l.skipAnimations, f = (0, F.useRef)(null), p = (0, F.useRef)(!1);
+function bie(e, t, n, r, i, a) {
+ let { visualElement: o } = (0, F.useContext)(Mx), s = (0, F.useContext)(Ox), c = (0, F.useContext)(_m), l = (0, F.useContext)(yx), u = l.reducedMotion, d = l.skipAnimations, f = (0, F.useRef)(null), p = (0, F.useRef)(!1);
r ||= s.renderer, !f.current && r && (f.current = r(e, {
visualState: t,
parent: o,
@@ -21133,11 +21133,11 @@ function gie(e, t, n, r, i, a) {
skipAnimations: d,
isSVG: a
}), p.current && f.current && (f.current.manuallyAnimateOnMount = !0));
- let m = f.current, h = (0, F.useContext)(Wx);
+ let m = f.current, h = (0, F.useContext)(Bx);
m && !m.projection && i && (m.type === "html" || m.type === "svg") && i.create(m, n, h), (0, F.useInsertionEffect)(() => {
m && m.props !== n && m.update(n, c);
});
- let g = n[yv], _ = (0, F.useRef)(!!g && typeof window < "u" && !window.MotionHandoffIsComplete?.(g) && window.MotionHasOptimisedAnimation?.(g));
+ let g = n[vv], _ = (0, F.useRef)(!!g && typeof window < "u" && !window.MotionHandoffIsComplete?.(g) && window.MotionHasOptimisedAnimation?.(g));
return gm(() => {
p.current && m && (m.animationState?.animateChanges(), m.enteringChildren = void 0);
}, []), gm(() => {
@@ -21149,46 +21149,46 @@ function gie(e, t, n, r, i, a) {
}), m;
}
// node_modules/framer-motion/dist/es/motion/index.mjs
-function Gx(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
- r && Zre(r);
- let a = n ? n === "svg" : Hx(e), o = a ? pie : fie;
+function Vx(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
+ r && tie(r);
+ let a = n ? n === "svg" : Rx(e), o = a ? _ie : gie;
function s(n, s) {
- let c, l = _ie(n);
- hm(() => !!fb.current?.sharedNodes.get(l)?.lead && n.initial) && (n = {
+ let c, l = xie(n);
+ hm(() => !!ub.current?.sharedNodes.get(l)?.lead && n.initial) && (n = {
...n,
initial: !1
});
let u = {
- ...(0, F.useContext)(Cx),
+ ...(0, F.useContext)(yx),
...n,
layoutId: l
- }, { isStatic: d, isValidProp: f } = u, p = eie(n), m = o(n, d);
+ }, { isStatic: d, isValidProp: f } = u, p = iie(n), m = o(n, d);
if (!d && typeof window < "u") {
- vie(u, r);
- let t = yie(u);
- p.visualElement = gie(e, m, u, i, t.ProjectionNode, a), (t.isEnabled || p.visualElement?.projection?.options.layoutId) && (c = t.MeasureLayout);
+ Sie(u, r);
+ let t = Cie(u);
+ p.visualElement = bie(e, m, u, i, t.ProjectionNode, a), (t.isEnabled || p.visualElement?.projection?.options.layoutId) && (c = t.MeasureLayout);
}
- return (0, I.jsxs)(Ix.Provider, {
+ return (0, I.jsxs)(Mx.Provider, {
value: p,
children: [c && p.visualElement ? (0, I.jsx)(c, {
visualElement: p.visualElement,
...u
- }) : null, lie(e, n, hie(m, p.visualElement, s), m, d, t, a, f)]
+ }) : null, pie(e, n, yie(m, p.visualElement, s), m, d, t, a, f)]
});
}
s.displayName = `motion.${typeof e == "string" ? e : `create(${e.displayName ?? e.name ?? ""})`}`;
let c = (0, F.forwardRef)(s);
- return c[mie] = e, c;
+ return c[vie] = e, c;
}
-function _ie({ layoutId: e }) {
+function xie({ layoutId: e }) {
let t = (0, F.useContext)(mm).id;
return t && e !== void 0 ? t + "-" + e : e;
}
-function vie(e, t) {
- (0, F.useContext)(Mx).strict;
+function Sie(e, t) {
+ (0, F.useContext)(Ox).strict;
}
-function yie(e) {
- let { drag: t, layout: n } = Fx();
+function Cie(e) {
+ let { drag: t, layout: n } = jx();
if (!t && !n) return {};
let r = {
...t,
@@ -21201,19 +21201,19 @@ function yie(e) {
};
}
// node_modules/framer-motion/dist/es/render/components/create-proxy.mjs
-function bie(e, t) {
- if (typeof Proxy > "u") return Gx;
- let n = /* @__PURE__ */ new Map(), r = (n, r) => Gx(n, r, e, t);
- return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, Gx(a, void 0, e, t)), n.get(a)) });
+function wie(e, t) {
+ if (typeof Proxy > "u") return Vx;
+ let n = /* @__PURE__ */ new Map(), r = (n, r) => Vx(n, r, e, t);
+ return new Proxy((e, t) => r(e, t), { get: (i, a) => a === "create" ? r : (n.has(a) || n.set(a, Vx(a, void 0, e, t)), n.get(a)) });
}
// node_modules/framer-motion/dist/es/render/dom/create-visual-element.mjs
-var xie = (e, t) => t.isSVG ?? Hx(e) ? new zre(t) : new cre(t, { allowProjection: e !== F.Fragment }), Sie = class extends gx {
+var Tie = (e, t) => t.isSVG ?? Rx(e) ? new Ure(t) : new ure(t, { allowProjection: e !== F.Fragment }), Eie = class extends fx {
constructor(e) {
- super(e), e.animationState ||= Vre(e);
+ super(e), e.animationState ||= Gre(e);
}
updateAnimationControlsSubscription() {
let { animate: e } = this.node.getProps();
- hb(e) && (this.unmountControls = e.subscribe(this.node));
+ pb(e) && (this.unmountControls = e.subscribe(this.node));
}
mount() {
this.updateAnimationControlsSubscription();
@@ -21224,11 +21224,11 @@ var xie = (e, t) => t.isSVG ?? Hx(e) ? new zre(t) : new cre(t, { allowProjection
unmount() {
this.node.animationState.reset(), this.unmountControls?.();
}
-}, Cie = 0, wie = {
- animation: { Feature: Sie },
- exit: { Feature: class extends gx {
+}, Die = 0, Oie = {
+ animation: { Feature: Eie },
+ exit: { Feature: class extends fx {
constructor() {
- super(...arguments), this.id = Cie++;
+ super(...arguments), this.id = Die++;
}
update() {
let { presenceContext: e, prevPresenceContext: t, animationState: n } = this.node;
@@ -21239,7 +21239,7 @@ var xie = (e, t) => t.isSVG ?? Hx(e) ? new zre(t) : new cre(t, { allowProjection
if (this.exit === !0) {
let { initial: e } = this.node.getProps();
if (e && !Array.isArray(e)) {
- let { transition: t, transitionEnd: n, ...r } = mv(this.node, e) || {};
+ let { transition: t, transitionEnd: n, ...r } = pv(this.node, e) || {};
for (let e in r) this.node.getValue(e)?.jump(r[e]);
}
this.node.blockInitialAnimation = !1, n.reset(), n.animateChanges();
@@ -21258,9 +21258,9 @@ var xie = (e, t) => t.isSVG ?? Hx(e) ? new zre(t) : new cre(t, { allowProjection
}
unmount() {}
} }
-}, Tie = class extends gx {
+}, kie = class extends fx {
constructor(e) {
- super(e), this.removeGroupControls = Em, this.removeListeners = Em, this.controls = new jre(e);
+ super(e), this.removeGroupControls = Em, this.removeListeners = Em, this.controls = new Fre(e);
}
mount() {
let { dragControls: e } = this.node.getProps();
@@ -21273,14 +21273,14 @@ var xie = (e, t) => t.isSVG ?? Hx(e) ? new zre(t) : new cre(t, { allowProjection
unmount() {
this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();
}
-}, Kx = (e) => (t, n) => {
+}, Hx = (e) => (t, n) => {
e && pg.update(() => e(t, n), !1, !0);
-}, Eie = class extends gx {
+}, Aie = class extends fx {
constructor() {
super(...arguments), this.removePointerDownListener = Em;
}
onPointerDown(e) {
- this.session = new Hb(e, this.createPanHandlers(), {
+ this.session = new Bb(e, this.createPanHandlers(), {
transformPagePoint: this.node.getTransformPagePoint(),
contextWindow: this.node.current?.ownerDocument.defaultView
});
@@ -21288,16 +21288,16 @@ var xie = (e, t) => t.isSVG ?? Hx(e) ? new zre(t) : new cre(t, { allowProjection
createPanHandlers() {
let { onPanSessionStart: e, onPanStart: t, onPan: n, onPanEnd: r } = this.node.getProps();
return {
- onSessionStart: Kx(e),
- onStart: Kx(t),
- onMove: Kx(n),
+ onSessionStart: Hx(e),
+ onStart: Hx(t),
+ onMove: Hx(n),
onEnd: (e, t) => {
delete this.session, r && pg.postRender(() => r(e, t));
}
};
}
mount() {
- this.removePointerDownListener = Nb(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
+ this.removePointerDownListener = jb(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
}
update() {
this.session?.updateHandlers(this.createPanHandlers());
@@ -21305,12 +21305,12 @@ var xie = (e, t) => t.isSVG ?? Hx(e) ? new zre(t) : new cre(t, { allowProjection
unmount() {
this.removePointerDownListener(), this.session?.end();
}
-}, qx = !1, Jx = ({ layout: e, layoutDependency: t, layoutAnchor: n }) => ({
+}, Ux = !1, Wx = ({ layout: e, layoutDependency: t, layoutAnchor: n }) => ({
layout: e,
layoutDependency: t,
layoutAnchor: n,
animationType: typeof e == "string" ? e : "both"
-}), Yx = (e, t) => {
+}), Gx = (e, t) => {
let { snapshot: n } = e, r = e.getStack();
r?.remove(e);
let i = r?.lead;
@@ -21319,33 +21319,33 @@ var xie = (e, t) => t.isSVG ?? Hx(e) ? new zre(t) : new cre(t, { allowProjection
let { resumeFrom: t } = e;
t?.isPresent !== !1 && e.getStack().members.includes(t) && (t.hide(), e.resumeFrom = void 0, e.snapshot = n);
};
-}, Die = class extends F.Component {
+}, jie = class extends F.Component {
componentDidMount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n, layoutId: r } = this.props, { projection: i } = e;
- i && (t.group?.add(i), r && n?.register?.(i), qx && i.root.didUpdate(), i.options.layoutId !== r && Yx(i, r)?.(), i.addEventListener("animationComplete", () => this.safeToRemove()), i.setOptions({
+ i && (t.group?.add(i), r && n?.register?.(i), Ux && i.root.didUpdate(), i.options.layoutId !== r && Gx(i, r)?.(), i.addEventListener("animationComplete", () => this.safeToRemove()), i.setOptions({
...i.options,
- ...Jx(this.props),
+ ...Wx(this.props),
onExitComplete: () => this.safeToRemove()
- })), Xy.hasEverUpdated = !0;
+ })), Yy.hasEverUpdated = !0;
}
getSnapshotBeforeUpdate(e) {
let { layoutDependency: t, layoutId: n, visualElement: r, drag: i, isPresent: a } = this.props, { projection: o } = r;
- return o && (o.isPresent = a, this.takeOver = e.layoutId === n ? void 0 : (o.willUpdate(), Yx(o, n)), o.setOptions({
+ return o && (o.isPresent = a, this.takeOver = e.layoutId === n ? void 0 : (o.willUpdate(), Gx(o, n)), o.setOptions({
...o.options,
- ...Jx(this.props)
- }), qx = !0, i || e.layoutDependency !== t || t === void 0 || e.isPresent !== a ? o.willUpdate() : this.safeToRemove(), e.isPresent !== a && (a ? o.promote() : o.relegate() || pg.postRender(() => {
+ ...Wx(this.props)
+ }), Ux = !0, i || e.layoutDependency !== t || t === void 0 || e.isPresent !== a ? o.willUpdate() : this.safeToRemove(), e.isPresent !== a && (a ? o.promote() : o.relegate() || pg.postRender(() => {
o.getStack()?.members.length || this.safeToRemove();
}))), null;
}
componentDidUpdate() {
let { projection: e } = this.props.visualElement;
- e && (this.takeOver?.(), e.root.didUpdate(), fy.postRender(() => {
+ e && (this.takeOver?.(), e.root.didUpdate(), dy.postRender(() => {
!e.currentAnimation && e.isLead() && this.safeToRemove();
}));
}
componentWillUnmount() {
let { visualElement: e, layoutGroup: t, switchLayoutGroup: n } = this.props, { projection: r } = e;
- qx = !0, r && (r.scheduleCheckAfterUnmount(), t.group?.remove(r), n?.deregister?.(r));
+ Ux = !0, r && (r.scheduleCheckAfterUnmount(), t.group?.remove(r), n?.deregister?.(r));
}
safeToRemove() {
this.props.safeToRemove?.();
@@ -21354,39 +21354,39 @@ var xie = (e, t) => t.isSVG ?? Hx(e) ? new zre(t) : new cre(t, { allowProjection
return null;
}
};
-function Xx(e) {
- let [t, n] = Dx(), r = (0, F.useContext)(mm);
- return (0, I.jsx)(Die, {
+function Kx(e) {
+ let [t, n] = Cx(), r = (0, F.useContext)(mm);
+ return (0, I.jsx)(jie, {
...e,
layoutGroup: r,
- switchLayoutGroup: (0, F.useContext)(Wx),
+ switchLayoutGroup: (0, F.useContext)(Bx),
isPresent: t,
safeToRemove: n
});
}
// node_modules/framer-motion/dist/es/motion/features/drag.mjs
-var Oie = {
- pan: { Feature: Eie },
+var Mie = {
+ pan: { Feature: Aie },
drag: {
- Feature: Tie,
- ProjectionNode: pb,
- MeasureLayout: Xx
+ Feature: kie,
+ ProjectionNode: db,
+ MeasureLayout: Kx
}
};
// node_modules/framer-motion/dist/es/gestures/hover.mjs
-function Zx(e, t, n, r) {
+function qx(e, t, n, r) {
let { props: i } = e, a = "while" + n;
e.animationState && i[a] && e.animationState.setActive(a, r === "Start");
let o = i["on" + n + r];
- o && pg.postRender(() => o(t, Mb(t)));
+ o && pg.postRender(() => o(t, Ab(t)));
}
-var kie = class extends gx {
+var Nie = class extends fx {
mount() {
let { current: e } = this.node;
- e && (this.unmount = Fre(e, (e, t) => (Zx(this.node, t, "Hover", "Start"), (e) => Zx(this.node, e, "Hover", "End"))));
+ e && (this.unmount = zre(e, (e, t) => (qx(this.node, t, "Hover", "Start"), (e) => qx(this.node, e, "Hover", "End"))));
}
unmount() {}
-}, Aie = class extends gx {
+}, Pie = class extends fx {
constructor() {
super(...arguments), this.isActive = !1;
}
@@ -21403,51 +21403,51 @@ var kie = class extends gx {
this.isActive && this.node.animationState && (this.node.animationState.setActive("whileFocus", !1), this.isActive = !1);
}
mount() {
- this.unmount = Dm(db(this.node.current, "focus", () => this.onFocus()), db(this.node.current, "blur", () => this.onBlur()));
+ this.unmount = Dm(lb(this.node.current, "focus", () => this.onFocus()), lb(this.node.current, "blur", () => this.onBlur()));
}
unmount() {}
};
// node_modules/framer-motion/dist/es/gestures/press.mjs
-function Qx(e, t, n) {
- e.current instanceof HTMLButtonElement && e.current.disabled || Zx(e, t, "Tap", n);
+function Jx(e, t, n) {
+ e.current instanceof HTMLButtonElement && e.current.disabled || qx(e, t, "Tap", n);
}
-var jie = class extends gx {
+var Fie = class extends fx {
mount() {
let { current: e } = this.node;
if (!e) return;
let { globalTapTarget: t, propagate: n } = this.node.props;
- this.unmount = Lre(e, (e, t) => (Qx(this.node, t, "Start"), (e, { success: t }) => Qx(this.node, e, t ? "" : "Cancel")), {
+ this.unmount = Vre(e, (e, t) => (Jx(this.node, t, "Start"), (e, { success: t }) => Jx(this.node, e, t ? "" : "Cancel")), {
useGlobalTarget: t,
stopPropagation: n?.tap === !1
});
}
unmount() {}
-}, $x = /* @__PURE__ */ new WeakMap(), eS = /* @__PURE__ */ new WeakMap(), Mie = (e) => {
- let t = $x.get(e.target);
+}, Yx = /* @__PURE__ */ new WeakMap(), Xx = /* @__PURE__ */ new WeakMap(), Iie = (e) => {
+ let t = Yx.get(e.target);
t && t(e);
-}, Nie = (e) => {
- e.forEach(Mie);
+}, Lie = (e) => {
+ e.forEach(Iie);
};
-function Pie({ root: e, ...t }) {
+function Rie({ root: e, ...t }) {
let n = e || document;
- eS.has(n) || eS.set(n, {});
- let r = eS.get(n), i = JSON.stringify(t);
- return r[i] || (r[i] = new IntersectionObserver(Nie, {
+ Xx.has(n) || Xx.set(n, {});
+ let r = Xx.get(n), i = JSON.stringify(t);
+ return r[i] || (r[i] = new IntersectionObserver(Lie, {
root: e,
...t
})), r[i];
}
-function Fie(e, t, n) {
- let r = Pie(t);
- return $x.set(e, n), r.observe(e), () => {
- $x.delete(e), r.unobserve(e);
+function zie(e, t, n) {
+ let r = Rie(t);
+ return Yx.set(e, n), r.observe(e), () => {
+ Yx.delete(e), r.unobserve(e);
};
}
// node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs
-var Iie = {
+var Bie = {
some: 0,
all: 1
-}, Lie = class extends gx {
+}, Vie = class extends fx {
constructor() {
super(...arguments), this.hasEnteredView = !1, this.isInView = !1;
}
@@ -21456,7 +21456,7 @@ var Iie = {
let { viewport: e = {} } = this.node.getProps(), { root: t, margin: n, amount: r = "some", once: i } = e, a = {
root: t ? t.current : void 0,
rootMargin: n,
- threshold: typeof r == "number" ? r : Iie[r]
+ threshold: typeof r == "number" ? r : Bie[r]
}, o = (e) => {
let { isIntersecting: t } = e;
if (this.isInView === t || (this.isInView = t, i && !t && this.hasEnteredView)) return;
@@ -21464,7 +21464,7 @@ var Iie = {
let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;
a && a(e);
};
- this.stopObserver = Fie(this.node.current, a, o);
+ this.stopObserver = zie(this.node.current, a, o);
}
mount() {
this.startObserver();
@@ -21476,61 +21476,61 @@ var Iie = {
"amount",
"margin",
"root"
- ].some(Rie(e, t)) && this.startObserver();
+ ].some(Hie(e, t)) && this.startObserver();
}
unmount() {
this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;
}
};
-function Rie({ viewport: e = {} }, { viewport: t = {} } = {}) {
+function Hie({ viewport: e = {} }, { viewport: t = {} } = {}) {
return (n) => e[n] !== t[n];
}
// node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs
-var zie = /*@__PURE__*/ bie(/* @__PURE__ */ Object.assign({}, wie, {
- inView: { Feature: Lie },
- tap: { Feature: jie },
- focus: { Feature: Aie },
- hover: { Feature: kie }
-}, Oie, { layout: {
- ProjectionNode: pb,
- MeasureLayout: Xx
-} }), xie);
+var Uie = /*@__PURE__*/ wie(/* @__PURE__ */ Object.assign({}, Oie, {
+ inView: { Feature: Vie },
+ tap: { Feature: Fie },
+ focus: { Feature: Pie },
+ hover: { Feature: Nie }
+}, Mie, { layout: {
+ ProjectionNode: db,
+ MeasureLayout: Kx
+} }), Tie);
// node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs
-function tS() {
- !Sb.current && Cb();
- let [e] = (0, F.useState)(xb.current);
+function Zx() {
+ !bb.current && xb();
+ let [e] = (0, F.useState)(yb.current);
return e;
}
// node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs
-function nS(e) {
+function Qx(e) {
return typeof e == "object" && !Array.isArray(e);
}
// node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.mjs
-function rS(e, t, n, r) {
- return e == null ? [] : typeof e == "string" && nS(t) ? Fv(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];
+function $x(e, t, n, r) {
+ return e == null ? [] : typeof e == "string" && Qx(t) ? Pv(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];
}
// node_modules/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs
-function Bie(e, t, n) {
+function Wie(e, t, n) {
return e * (t + 1) + n * t;
}
// node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs
-function iS(e, t) {
+function eS(e, t) {
if (t.has(e)) return t.get(e);
let [, n, r] = e.match(/^(.+?)([+-][\d.]+)$/) || [];
return t.has(n) ? Math.max(0, t.get(n) + parseFloat(r)) : void 0;
}
-function Vie(e, t, n, r) {
- return typeof t == "number" ? t : t.startsWith("-") || t.startsWith("+") ? Math.max(0, e + parseFloat(t)) : t === "<" ? n : t.startsWith("<") ? Math.max(0, n + parseFloat(t.slice(1))) : iS(t, r) ?? e;
+function Gie(e, t, n, r) {
+ return typeof t == "number" ? t : t.startsWith("-") || t.startsWith("+") ? Math.max(0, e + parseFloat(t)) : t === "<" ? n : t.startsWith("<") ? Math.max(0, n + parseFloat(t.slice(1))) : eS(t, r) ?? e;
}
// node_modules/framer-motion/dist/es/animation/sequence/utils/edit.mjs
-function Hie(e, t, n) {
+function Kie(e, t, n) {
for (let r = 0; r < e.length; r++) {
let i = e[r];
i.at > t && i.at < n && (ym(e, i), r--);
}
}
-function Uie(e, t, n, r, i, a) {
- Hie(e, i, a);
+function qie(e, t, n, r, i, a) {
+ Kie(e, i, a);
for (let o = 0; o < t.length; o++) e.push({
value: t[o],
at: ng(i, a, r[o]),
@@ -21538,19 +21538,19 @@ function Uie(e, t, n, r, i, a) {
});
}
// node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs
-function Wie(e, t, n = 0) {
+function Jie(e, t, n = 0) {
let r = t + 1 + t * n;
for (let t = 0; t < e.length; t++) e[t] = e[t] / r;
}
// node_modules/framer-motion/dist/es/animation/sequence/utils/sort.mjs
-function Gie(e, t) {
+function Yie(e, t) {
return e.at === t.at ? e.value === null ? 1 : t.value === null ? -1 : 0 : e.at - t.at;
}
// node_modules/framer-motion/dist/es/animation/sequence/create.mjs
-var Kie = "easeInOut", qie = 20;
-function Jie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {
+var Xie = "easeInOut", Zie = 20;
+function Qie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {
let o = t.duration || .3, s = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map(), l = {}, u = /* @__PURE__ */ new Map(), d = 0, f = 0, p = 0, m = (e, n) => {
- let a = n, s = (e) => typeof e == "number" ? n + e : Vie(f, e, d, u);
+ let a = n, s = (e) => typeof e == "number" ? n + e : Gie(f, e, d, u);
for (let n = 0; n < e.length; n++) {
let h = e[n];
if (typeof h == "string") {
@@ -21565,12 +21565,12 @@ function Jie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {
let [g, _, v = {}] = h;
v.at !== void 0 && (f = s(v.at));
let y = 0, b = (e, n, r, a = 0, s = 0) => {
- let c = Yie(e), { delay: l = 0, times: u = Rg(c), type: d = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: g = 0, ..._ } = n, { ease: v = t.ease || "easeOut", duration: b } = n;
+ let c = $ie(e), { delay: l = 0, times: u = Lg(c), type: d = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: g = 0, ..._ } = n, { ease: v = t.ease || "easeOut", duration: b } = n;
r.mixer ||= n.mixer;
- let x = typeof l == "function" ? l(a, s) : l, S = c.length, C = N_(d) ? d : i?.[d || "keyframes"];
+ let x = typeof l == "function" ? l(a, s) : l, S = c.length, C = M_(d) ? d : i?.[d || "keyframes"];
if (S <= 2 && C) {
let e = 100;
- if (S === 2 && Qie(c)) {
+ if (S === 2 && nae(c)) {
let t = c[1] - c[0];
e = Math.abs(t);
}
@@ -21586,9 +21586,9 @@ function Jie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {
let w = f + x;
u.length === 1 && u[0] === 0 && (u[1] = 1);
let T = u.length - c.length;
- if (T > 0 && Lg(u, T), c.length === 1 && c.unshift(null), m && m < qie) {
+ if (T > 0 && Ig(u, T), c.length === 1 && c.unshift(null), m && m < Zie) {
let e = b > 0 ? g / b : 0;
- b = Bie(b, m, g);
+ b = Wie(b, m, g);
let t = [...c], n = [...u];
v = Array.isArray(v) ? [...v] : [v];
let r = [...v], i = h === "reverse" || h === "mirror", a = t, o = r;
@@ -21598,20 +21598,20 @@ function Jie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {
e > 0 && (c.push(c[c.length - 1]), u.push(p), v.push("linear")), c.push(...d);
for (let e = 0; e < d.length; e++) u.push(n[e] + p), v.push(e === 0 ? "linear" : /* @__PURE__ */ Ym(f, e - 1));
}
- Wie(u, m, e);
+ Jie(u, m, e);
}
let E = w + b;
- Uie(r, c, v, u, w, E), y = Math.max(x + b, y), p = Math.max(E, p);
+ qie(r, c, v, u, w, E), y = Math.max(x + b, y), p = Math.max(E, p);
};
- if (_v(g)) {
- let e = aS(g, c);
- b(_, v, oS("default", e));
+ if (gv(g)) {
+ let e = tS(g, c);
+ b(_, v, nS("default", e));
} else {
- let e = rS(g, _, r, l), t = e.length;
+ let e = $x(g, _, r, l), t = e.length;
for (let n = 0; n < t; n++) {
_ = _, v = v;
- let r = e[n], i = aS(r, c);
- for (let e in _) b(_[e], Xie(v, e), oS(e, i), n, t);
+ let r = e[n], i = tS(r, c);
+ for (let e in _) b(_[e], eae(v, e), nS(e, i), n, t);
}
}
d = f, f += y, a = Math.max(a, f);
@@ -21621,13 +21621,13 @@ function Jie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {
return m(e, 0), a && (a.duration = p, a.labels = u), c.forEach((e, r) => {
for (let i in e) {
let a = e[i];
- a.sort(Gie);
+ a.sort(Yie);
let o = [], c = [], l = [];
for (let e = 0; e < a.length; e++) {
let { at: t, value: n, easing: r } = a[e];
o.push(n), c.push(/* @__PURE__ */ Om(0, p, t)), l.push(r || "easeOut");
}
- c[0] !== 0 && (c.unshift(0), o.unshift(o[0]), l.unshift(Kie)), c[c.length - 1] !== 1 && (c.push(1), o.push(null)), s.has(r) || s.set(r, {
+ c[0] !== 0 && (c.unshift(0), o.unshift(o[0]), l.unshift(Xie)), c[c.length - 1] !== 1 && (c.push(1), o.push(null)), s.has(r) || s.set(r, {
keyframes: {},
transition: {}
});
@@ -21645,45 +21645,45 @@ function Jie(e, { defaultTransition: t = {}, ...n } = {}, r, i, a) {
}
}), s;
}
-function aS(e, t) {
+function tS(e, t) {
return !t.has(e) && t.set(e, {}), t.get(e);
}
-function oS(e, t) {
+function nS(e, t) {
return t[e] || (t[e] = []), t[e];
}
-function Yie(e) {
+function $ie(e) {
return Array.isArray(e) ? e : [e];
}
-function Xie(e, t) {
+function eae(e, t) {
return e && e[t] ? {
...e,
...e[t]
} : { ...e };
}
-var Zie = (e) => typeof e == "number", Qie = (e) => e.every(Zie);
+var tae = (e) => typeof e == "number", nae = (e) => e.every(tae);
// node_modules/framer-motion/dist/es/animation/animate/subject.mjs
-function $ie(e, t) {
- return _v(e) || typeof e == "number" || typeof e == "string" && !nS(t);
+function rae(e, t) {
+ return gv(e) || typeof e == "number" || typeof e == "string" && !Qx(t);
}
-function sS(e, t, n, r) {
+function rS(e, t, n, r) {
let i = [];
- if ($ie(e, t)) i.push(py(e, nS(t) && t.default || t, n && (n.default || n)));
+ if (rae(e, t)) i.push(fy(e, Qx(t) && t.default || t, n && (n.default || n)));
else {
if (e == null) return i;
- let a = rS(e, t, r), o = a.length;
+ let a = $x(e, t, r), o = a.length;
for (let e = 0; e < o; e++) {
let r = a[e], s = { ...n };
- "delay" in s && typeof s.delay == "function" && (s.delay = s.delay(e, o)), r instanceof Element ? i.push(...fne(r, t, s, mb.get(r))) : i.push(...kv(Kte(r) ?? pne, r, t, s));
+ "delay" in s && typeof s.delay == "function" && (s.delay = s.delay(e, o)), r instanceof Element ? i.push(...pne(r, t, s, fb.get(r))) : i.push(...Ov(qte(r) ?? mne, r, t, s));
}
}
return i;
}
// node_modules/framer-motion/dist/es/animation/animate/sequence.mjs
-function eae(e, t, n, r) {
+function iae(e, t, n, r) {
let i = [];
- return Jie(e.map((e) => {
+ return Qie(e.map((e) => {
if (Array.isArray(e) && typeof e[0] == "function") {
- let t = e[0], n = cv(0);
+ let t = e[0], n = sv(0);
return n.on("change", t), e.length === 1 ? [n, [0, 1]] : e.length === 2 ? [
n,
[0, 1],
@@ -21695,31 +21695,31 @@ function eae(e, t, n, r) {
];
}
return e;
- }), t, n, { spring: Pg }, r).forEach(({ keyframes: e, transition: t }, n) => {
- i.push(...sS(n, e, t));
+ }), t, n, { spring: Ng }, r).forEach(({ keyframes: e, transition: t }, n) => {
+ i.push(...rS(n, e, t));
}), i;
}
// node_modules/framer-motion/dist/es/animation/timeline/index.mjs
-var cS = 0;
-function tae(e, t) {
+var iS = 0;
+function aae(e, t) {
let n = [...e], r = typeof n[0] == "function" ? Math.max(1, n.length - 1) : 2;
return n[r] = {
...n[r],
at: t
}, n;
}
-var lS = (e, t) => t === void 0 ? e : {
+var aS = (e, t) => t === void 0 ? e : {
name: e,
at: t
};
-function uS(e) {
+function oS(e) {
e.pause(), e.time = 0, e.stop();
}
-var dS = class e {
+var sS = class e {
constructor(e = [], t = {}, n) {
- this.options = t, this.entries = [], this.repeatIndex = 0, this.prevTime = 0, this.markers = [], this.labels = /* @__PURE__ */ new Map(), this.totalDuration = 0, this.isDirty = !1, this.isDone = !1, this.isRebuilding = !1, this.playbackSpeed = 1, this.motionScope = Mv.current, this.isKilled = !1, this.isWrapped = !1, this.stop = () => {
+ this.options = t, this.entries = [], this.repeatIndex = 0, this.prevTime = 0, this.markers = [], this.labels = /* @__PURE__ */ new Map(), this.totalDuration = 0, this.isDirty = !1, this.isDone = !1, this.isRebuilding = !1, this.playbackSpeed = 1, this.motionScope = jv.current, this.isKilled = !1, this.isWrapped = !1, this.stop = () => {
this.flush(), this.group?.stop();
- }, this.isPaused = t.autoplay === !1, this.newFinished(), e.forEach((e) => this.add(e)), n ? (this.isDirty = !1, this.isWrapped = !0, this.group = new nv(n), this.watch()) : (this.invalidate(), this.flush());
+ }, this.isPaused = t.autoplay === !1, this.newFinished(), e.forEach((e) => this.add(e)), n ? (this.isDirty = !1, this.isWrapped = !0, this.group = new tv(n), this.watch()) : (this.invalidate(), this.flush());
let { scope: r } = t;
r && (r.animations.push(this), this.finished.then(() => ym(r.animations, this)));
}
@@ -21734,7 +21734,7 @@ var dS = class e {
item: e,
at: t,
marker: {
- name: "_m" + cS++,
+ name: "_m" + iS++,
time: 0,
callback: e
}
@@ -21745,7 +21745,7 @@ var dS = class e {
item: t || {},
at: e,
marker: {
- name: "_m" + cS++,
+ name: "_m" + iS++,
time: 0,
callback: t,
pause: !0
@@ -21839,50 +21839,50 @@ var dS = class e {
this.isDirty && !this.parent && !this.isKilled && this.build();
}
adopt(e) {
- this.group &&= (uS(this.group), void 0), this.isDirty = !1, this.parent = e;
+ this.group &&= (oS(this.group), void 0), this.isDirty = !1, this.parent = e;
}
build() {
this.isDirty = !1, this.isWrapped = !1;
let e = this.group, t = 0;
- e && (this.isRebuilding = !0, this.scrollTimeline ? (this.detachScroll?.(), e.cancel()) : (t = e.animations.length ? e.time : 0, uS(e)), this.isRebuilding = !1);
+ e && (this.isRebuilding = !0, this.scrollTimeline ? (this.detachScroll?.(), e.cancel()) : (t = e.animations.length ? e.time : 0, oS(e)), this.isRebuilding = !1);
let { defaultTransition: n, onComplete: r, onUpdate: i, onRepeat: a, onReverseComplete: o, autoplay: s, scope: c, ...l } = this.options, u = {};
c?.reduceMotion !== void 0 && (u.reduceMotion = c.reduceMotion), c?.skipAnimations !== void 0 && (u.skipAnimations = c.skipAnimations), Object.assign(u, l);
- let d = /* @__PURE__ */ new Map(), f = {}, p = Mv.current;
- Mv.current = this.motionScope;
+ let d = /* @__PURE__ */ new Map(), f = {}, p = jv.current;
+ jv.current = this.motionScope;
let m;
try {
- m = eae(this.toSequence(d), {
+ m = iae(this.toSequence(d), {
defaultTransition: n,
...u
}, c, f);
} finally {
- Mv.current = p;
+ jv.current = p;
}
let h = f.labels, g = u.duration ?? f.duration, _ = f.duration ? g / f.duration : 1;
if (h.forEach((e, t) => h.set(t, e * _)), this.markers = [], d.forEach((e, t) => {
e.time = h.get(t), h.delete(t), g = Math.max(g, e.time), this.markers.push(e);
}), this.markers.sort((e, t) => e.time - t.time), this.labels = h, this.totalDuration = g, this.clock = this.clockAnimation = void 0, this.markers.length || this.stopAt !== void 0 || i || a) {
- let e = this.clock = cv(0);
- e.on("change", (t) => e === this.clock && this.onClock(t)), m.unshift(this.clockAnimation = py(e, [0, g], {
+ let e = this.clock = sv(0);
+ e.on("change", (t) => e === this.clock && this.onClock(t)), m.unshift(this.clockAnimation = fy(e, [0, g], {
...u,
duration: g,
ease: "linear"
}));
}
- let v = this.group = new nv(m);
+ let v = this.group = new tv(m);
t = Math.min(t, g), this.isDone && t < g && this.newFinished(), this.scrollTimeline ? this.detachScroll = v.attachTimeline(this.scrollTimeline) : (v.speed = this.playbackSpeed, this.isPaused && v.pause(), t && (v.time = t)), this.repeatIndex = this.currentRepeat(), this.prevTime = t || -1, this.watch();
}
toSequence(t) {
- return this.entries.map(({ item: n, at: r, marker: i }) => i ? (t.set(i.name, i), lS(i.name, r)) : n instanceof e ? {
+ return this.entries.map(({ item: n, at: r, marker: i }) => i ? (t.set(i.name, i), aS(i.name, r)) : n instanceof e ? {
sequence: n.toSequence(t),
at: r
- } : typeof n == "string" ? lS(n, r) : r === void 0 ? n : Array.isArray(n) ? tae(n, r) : {
+ } : typeof n == "string" ? aS(n, r) : r === void 0 ? n : Array.isArray(n) ? aae(n, r) : {
...n,
at: r
});
}
resolve(e) {
- return this.flush(), typeof e == "number" ? e : iS(e, this.labels) ?? this.time;
+ return this.flush(), typeof e == "number" ? e : eS(e, this.labels) ?? this.time;
}
currentRepeat() {
let { repeat: e = 0, repeatDelay: t = 0, delay: n = 0 } = this.options, r = this.totalDuration + t, i = (this.clockAnimation?.time ?? 0) - n;
@@ -21930,16 +21930,16 @@ var dS = class e {
}
};
// node_modules/framer-motion/dist/es/animation/animate/index.mjs
-function nae(e) {
+function oae(e) {
return Array.isArray(e) && e.some(Array.isArray);
}
-function rae(e = {}) {
+function sae(e = {}) {
let { scope: t, reduceMotion: n, skipAnimations: r } = e;
function i(e, i, a) {
- let o = Mv.current?.transition, s = {};
+ let o = jv.current?.transition, s = {};
n !== void 0 && (s.reduceMotion = n), r !== void 0 && (s.skipAnimations = r);
let c;
- if (nae(e)) {
+ if (oae(e)) {
let n = {
...s,
...i,
@@ -21948,14 +21948,14 @@ function rae(e = {}) {
o && (n.defaultTransition = {
...o,
...n.defaultTransition
- }), c = new dS(e, n);
+ }), c = new sS(e, n);
} else {
let { onComplete: n, ...r } = a || {}, l = {
...s,
...o,
...r
}, { onUpdate: u } = r;
- c = new dS([typeof e == "number" || typeof e == "string" && (typeof i == "string" || Array.isArray(i)) ? [
+ c = new sS([typeof e == "number" || typeof e == "string" && (typeof i == "string" || Array.isArray(i)) ? [
u || (() => {}),
Array.isArray(i) ? i : [e, i],
{
@@ -21970,29 +21970,29 @@ function rae(e = {}) {
...s,
onComplete: n,
scope: t
- }, sS(e, i, l, t));
+ }, rS(e, i, l, t));
}
return c;
}
return i;
}
-var fS = /* @__PURE__ */ Object.assign(/* @__PURE__ */ rae(), {
- addEffect: Gte,
- removeEffect: Dv
+var cS = /* @__PURE__ */ Object.assign(/* @__PURE__ */ sae(), {
+ addEffect: Kte,
+ removeEffect: Ev
});
// node_modules/framer-motion/dist/es/animation/animators/waapi/animate-elements.mjs
-function iae(e, t, n, r) {
+function cae(e, t, n, r) {
if (e == null) return [];
- let i = Fv(e, r), a = i.length, o = [];
+ let i = Pv(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 = { ...uv(s, e) };
+ let i = { ...lv(s, e) };
i.duration &&= /* @__PURE__ */ Am(i.duration), i.delay &&= /* @__PURE__ */ Am(i.delay);
- let a = _te(r), c = gte(e, i.pseudoElement || ""), l = a.get(c);
+ let a = vte(r), c = _te(e, i.pseudoElement || ""), l = a.get(c);
l && l.stop(), o.push({
map: a,
key: c,
@@ -22008,21 +22008,21 @@ function iae(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] = hx(r, i)), n_(t), Wte(t, i), !a && t.length < 2 && t.unshift(hx(r, i)), n.keyframes = t;
+ !a && t[0] === null && (t[0] = dx(r, i)), t_(t), Gte(t, i), !a && t.length < 2 && t.unshift(dx(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 P_(r);
+ let { map: t, key: n, options: r } = o[e], i = new N_(r);
t.set(n, i), i.finished.finally(() => t.delete(n)), s.push(i);
}
return s;
}
-var aae = /*@__PURE__*/ ((e) => {
+var lae = /*@__PURE__*/ ((e) => {
function t(t, n, r) {
- return new nv(iae(t, n, r, e));
+ return new tv(cae(t, n, r, e));
}
return t;
-})(), pS = zie, mS = class {
+})(), lS = Uie, uS = class {
constructor(e) {
this.value = null, this.level = 0, this.hasChildNodes = !1, this.rendered = null, this.textValue = "", this["aria-label"] = void 0, this.index = 0, this.parentKey = null, this.prevKey = null, this.nextKey = null, this.firstChildKey = null, this.lastChildKey = null, this.props = {}, this.colSpan = null, this.colIndex = null, this.type = this.constructor.type, this.key = e;
}
@@ -22037,22 +22037,22 @@ var aae = /*@__PURE__*/ ((e) => {
let r = this.clone();
return t.addDescendants(r, e), r;
}
-}, hS = class extends mS {
+}, dS = class extends uS {
filter(e, t, n) {
- let [r, i] = yS(e, t, this.firstChildKey, n), a = this.clone();
+ let [r, i] = hS(e, t, this.firstChildKey, n), a = this.clone();
return a.firstChildKey = r, a.lastChildKey = i, a;
}
};
-(class extends mS {
+(class extends uS {
static {
this.type = "header";
}
});
-var gS = class extends mS {
+var fS = class extends uS {
static {
this.type = "loader";
}
-}, _S = class extends hS {
+}, pS = class extends dS {
static {
this.type = "item";
}
@@ -22063,7 +22063,7 @@ var gS = class extends mS {
}
return null;
}
-}, oae = class extends hS {
+}, uae = class extends dS {
static {
this.type = "section";
}
@@ -22075,7 +22075,7 @@ var gS = class extends mS {
}
return null;
}
-}, vS = class {
+}, mS = class {
get size() {
return this.itemCount;
}
@@ -22150,14 +22150,14 @@ var gS = class extends mS {
this.firstKey = e, this.lastKey = t, this.frozen = !n;
}
filter(e) {
- let t = new this.constructor(), [n, r] = yS(this, t, this.firstKey, e);
+ let t = new this.constructor(), [n, r] = hS(this, t, this.firstKey, e);
return t?.commit(n, r), t;
}
constructor() {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.frozen = !1, this.itemCount = 0;
}
};
-function yS(e, t, n, r) {
+function hS(e, t, n, r) {
if (n == null) return [null, null];
let i = null, a = null, o = e.getItem(n);
for (; o != null;) {
@@ -22171,7 +22171,7 @@ function yS(e, t, n, r) {
return [i?.key ?? null, a?.key ?? null];
}
// node_modules/react-aria/dist/private/collections/Document.mjs
-var bS = class {
+var gS = class {
constructor(e) {
this._firstChild = null, this._lastChild = null, this._previousSibling = null, this._nextSibling = null, this._parentNode = null, this._minInvalidChildIndex = null, this.ownerDocument = e;
}
@@ -22252,7 +22252,7 @@ var bS = class {
for (; e && e.isHidden;) e = e.previousSibling;
return e;
}
-}, xS = class e extends bS {
+}, _S = class e extends gS {
constructor(e, t) {
super(t), this.nodeType = 8, this.isMutated = !0, this._index = 0, this.isHidden = !1, this.node = null;
}
@@ -22303,7 +22303,7 @@ var bS = class {
setAttribute() {}
setAttributeNS() {}
removeAttribute() {}
-}, sae = class extends bS {
+}, dae = class extends gS {
constructor(e) {
super(null), this.nodeType = 11, this.ownerDocument = this, this.dirtyNodes = /* @__PURE__ */ new Set(), this.isSSR = !1, this.nodeId = 0, this.nodesByProps = /* @__PURE__ */ new WeakMap(), this.keyOwners = /* @__PURE__ */ new Map(), this.nextCollection = null, this.subscriptions = /* @__PURE__ */ new Set(), this.queuedRender = !1, this.inSubscription = !1, this.collection = e, this.nextCollection = e;
}
@@ -22311,7 +22311,7 @@ var bS = class {
return !0;
}
createElement(e) {
- return new xS(e, this);
+ return new _S(e, this);
}
getMutableCollection() {
return this.nextCollection ||= this.collection.clone(), this.nextCollection;
@@ -22333,8 +22333,8 @@ var bS = class {
return this.inSubscription || (this.queuedRender = !1, this.updateCollection()), this.collection;
}
updateCollection() {
- for (let e of this.dirtyNodes) e instanceof xS && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
- for (let e of this.dirtyNodes) e instanceof xS ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);
+ for (let e of this.dirtyNodes) e instanceof _S && (!e.isConnected || e.isHidden) ? this.removeNode(e) : e.updateChildIndices();
+ for (let e of this.dirtyNodes) e instanceof _S ? (e.isConnected && !e.isHidden && (e.updateNode(), this.addNode(e)), e.node && this.dirtyNodes.delete(e), e.isMutated = !1) : this.dirtyNodes.delete(e);
this.nextCollection && (this.nextCollection.commit(this.firstVisibleChild?.node?.key ?? null, this.lastVisibleChild?.node?.key ?? null, this.isSSR), this.isSSR || (this.collection = this.nextCollection, this.nextCollection = null));
}
queueUpdate() {
@@ -22352,13 +22352,13 @@ var bS = class {
}
};
// node_modules/react-aria/dist/private/collections/useCachedChildren.mjs
-function SS(e) {
+function vS(e) {
let { children: t, items: n, idScope: r, addIdAndValue: i, dependencies: a = [] } = e, o = (0, F.useMemo)(() => void 0, [t]), s = (0, F.useMemo)(() => /* @__PURE__ */ new WeakMap(), [...a, o]);
return (0, F.useMemo)(() => {
if (n && typeof t == "function") {
let e = [];
for (let a of n) {
- let n = cae(a) ? a : null, o = n ? s.get(n) : null;
+ let n = fae(a) ? a : null, o = n ? s.get(n) : null;
if (!o) {
o = t(a);
let c = o.props.id ?? a?.key ?? a?.id;
@@ -22383,7 +22383,7 @@ function SS(e) {
i
]);
}
-function cae(e) {
+function fae(e) {
switch (typeof e) {
case "object": return e != null;
case "function":
@@ -22392,24 +22392,24 @@ function cae(e) {
}
}
// node_modules/react-aria/dist/private/utils/focusWithoutScrolling.mjs
-function CS(e) {
+function yS(e) {
e.focus({ preventScroll: !0 });
}
// node_modules/react-aria/dist/private/utils/domHelpers.mjs
-var wS = (e) => lae(e) ? e.document : uae(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), TS = (e) => wS(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
-function ES(e) {
+var bS = (e) => pae(e) ? e.document : mae(e) ? e : e?.ownerDocument ?? (typeof document < "u" ? document : void 0), xS = (e) => bS(e)?.defaultView ?? (typeof window < "u" ? window : void 0);
+function SS(e) {
return typeof e == "object" && !!e && "nodeType" in e && typeof e.nodeType == "number";
}
-function lae(e) {
+function pae(e) {
return typeof e == "object" && !!e && "window" in e && e.window === e;
}
-function uae(e) {
- return ES(e) && e.nodeType === 9;
+function mae(e) {
+ return SS(e) && e.nodeType === 9;
}
-function DS(e) {
- return ES(e) && e.nodeType === 11 && "host" in e;
+function CS(e) {
+ return SS(e) && e.nodeType === 11 && "host" in e;
}
-function OS(e, t, n, r) {
+function wS(e, t, n, r) {
if (n == null || e == null) return () => {};
let i = Array.isArray(e) ? e : [e];
for (let e of i) e.addEventListener(t, n, r);
@@ -22417,7 +22417,7 @@ function OS(e, t, n, r) {
for (let e of i) e.removeEventListener(t, n, r);
};
}
-function kS(e, t, n, r) {
+function TS(e, t, n, r) {
if (e == null) return () => {};
let i = [], a = Array.isArray(e) ? e : [e];
for (let e of a) {
@@ -22431,70 +22431,70 @@ function kS(e, t, n, r) {
};
}
// node_modules/react-stately/dist/private/flags/flags.mjs
-var dae = !1;
-function AS() {
- return dae;
+var hae = !1;
+function ES() {
+ return hae;
}
// node_modules/react-aria/dist/private/utils/shadowdom/DOMFunctions.mjs
-function jS(e, t) {
- if (!AS()) return t && e ? e.contains(t) : !1;
+function DS(e, t) {
+ if (!ES()) return t && e ? e.contains(t) : !1;
if (!e || !t) return !1;
let n = t;
for (; n != null;) {
if (n === e) return !0;
- n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : DS(n) ? n.host : n.parentNode;
+ n = typeof n.assignedElements != "function" && n.assignedSlot?.parentNode ? n.assignedSlot.parentNode : CS(n) ? n.host : n.parentNode;
}
return !1;
}
-var MS = (e = document) => {
- if (!AS()) return e.activeElement;
+var OS = (e = document) => {
+ if (!ES()) return e.activeElement;
let t = e.activeElement;
for (; t && "shadowRoot" in t && t.shadowRoot?.activeElement;) t = t.shadowRoot.activeElement;
return t;
};
function G(e) {
- if (AS() && e.target instanceof Element && e.target.shadowRoot) {
+ if (ES() && e.target instanceof Element && e.target.shadowRoot) {
if ("composedPath" in e) return e.composedPath()[0] ?? null;
if ("composedPath" in e.nativeEvent) return e.nativeEvent.composedPath()[0] ?? null;
}
return e.target;
}
-function NS(e, t) {
+function kS(e, t) {
if (t === null) return [];
- t ??= TS(e);
+ t ??= xS(e);
let n = [t];
- if (!AS() || !e || e === t) return n;
+ if (!ES() || !e || e === t) return n;
let r = "getRootNode" in t ? t.getRootNode() : null, i = e.getRootNode() ?? null;
- for (; DS(i) && i !== r;) n.push(i), i = i.host.getRootNode();
+ for (; CS(i) && i !== r;) n.push(i), i = i.host.getRootNode();
return n;
}
-function PS(e) {
+function AS(e) {
if (!e) return !1;
- let t = e.getRootNode(), n = TS(e);
+ let t = e.getRootNode(), n = xS(e);
if (!(t instanceof n.Document || t instanceof n.ShadowRoot)) return !1;
let r = t.activeElement;
return r != null && e.contains(r);
}
// node_modules/react-aria/dist/private/utils/isElementVisible.mjs
-var fae = typeof Element < "u" && "checkVisibility" in Element.prototype;
-function pae(e) {
- let t = TS(e);
+var gae = typeof Element < "u" && "checkVisibility" in Element.prototype;
+function _ae(e) {
+ let t = xS(e);
if (!(e instanceof t.HTMLElement) && !(e instanceof t.SVGElement)) return !1;
let { display: n, visibility: r } = e.style, i = n !== "none" && r !== "hidden" && r !== "collapse";
if (i) {
- let { getComputedStyle: t } = TS(e), { display: n, visibility: r } = t(e);
+ let { getComputedStyle: t } = xS(e), { display: n, visibility: r } = t(e);
i = n !== "none" && r !== "hidden" && r !== "collapse";
}
return i;
}
-function mae(e, t) {
+function vae(e, t) {
return !e.hasAttribute("hidden") && !e.hasAttribute("data-react-aria-prevent-focus") && (e.nodeName === "DETAILS" && t && t.nodeName !== "SUMMARY" ? e.hasAttribute("open") : !0);
}
-function FS(e, t) {
- return fae ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && pae(e) && mae(e, t) && (!e.parentElement || FS(e.parentElement, e));
+function jS(e, t) {
+ return gae ? e.checkVisibility({ visibilityProperty: !0 }) && !e.closest("[data-react-aria-prevent-focus]") : e.nodeName !== "#comment" && _ae(e) && vae(e, t) && (!e.parentElement || jS(e.parentElement, e));
}
// node_modules/react-aria/dist/private/utils/isFocusable.mjs
-var IS = [
+var MS = [
"input:not([disabled]):not([type=hidden])",
"select:not([disabled])",
"textarea:not([disabled])",
@@ -22509,39 +22509,39 @@ var IS = [
"video[controls]",
"[contenteditable]:not([contenteditable^=\"false\"])",
"permission"
-], hae = IS.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
-IS.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
-var gae = IS.join(":not([hidden]):not([tabindex=\"-1\"]),");
-function LS(e, t) {
- return e.matches(hae) && !zS(e) && (t?.skipVisibilityCheck || FS(e));
+], yae = MS.join(":not([hidden]),") + ",[tabindex]:not([disabled]):not([hidden])";
+MS.push("[tabindex]:not([tabindex=\"-1\"]):not([disabled])");
+var bae = MS.join(":not([hidden]):not([tabindex=\"-1\"]),");
+function NS(e, t) {
+ return e.matches(yae) && !FS(e) && (t?.skipVisibilityCheck || jS(e));
}
-function RS(e) {
- return e.matches(gae) && FS(e) && !zS(e);
+function PS(e) {
+ return e.matches(bae) && jS(e) && !FS(e);
}
-function zS(e) {
+function FS(e) {
let t = e;
for (; t != null;) {
- if (t instanceof TS(t).HTMLElement && t.inert) return !0;
+ if (t instanceof xS(t).HTMLElement && t.inert) return !0;
t = t.parentElement;
}
return !1;
}
// node_modules/react-aria/dist/private/utils/useLayoutEffect.mjs
-var BS = typeof document < "u" ? F.useLayoutEffect : () => {};
+var IS = typeof document < "u" ? F.useLayoutEffect : () => {};
// node_modules/react-aria/dist/private/interactions/utils.mjs
-function VS(e) {
+function LS(e) {
let t = e;
return t.nativeEvent = e, t.isDefaultPrevented = () => t.defaultPrevented, t.isPropagationStopped = () => t.cancelBubble, t.persist = () => {}, t;
}
-function HS(e, t) {
+function RS(e, t) {
Object.defineProperty(e, "target", { value: t }), Object.defineProperty(e, "currentTarget", { value: t });
}
-function US(e) {
+function zS(e) {
let t = (0, F.useRef)({
isFocused: !1,
observer: null
});
- return BS(() => {
+ return IS(() => {
let e = t.current;
return () => {
e.observer &&= (e.observer.disconnect(), null);
@@ -22553,14 +22553,14 @@ function US(e) {
let n = r;
n.addEventListener("focusout", (r) => {
if (t.current.isFocused = !1, n.disabled) {
- let t = VS(r);
+ let t = LS(r);
e?.(t);
}
t.current.observer && (t.current.observer.disconnect(), t.current.observer = null);
}, { once: !0 }), t.current.observer = new MutationObserver(() => {
if (t.current.isFocused && n.disabled) {
t.current.observer?.disconnect();
- let e = n === MS() ? null : MS();
+ let e = n === OS() ? null : OS();
n.dispatchEvent(new FocusEvent("blur", { relatedTarget: e })), n.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: e
@@ -22573,80 +22573,80 @@ function US(e) {
}
}, [e]);
}
-var WS = !1;
-function _ae(e) {
- for (; e && !LS(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
- let t = MS(TS(e).document);
+var BS = !1;
+function xae(e) {
+ for (; e && !NS(e, { skipVisibilityCheck: !0 });) e = e.parentElement;
+ let t = OS(xS(e).document);
if (!t || t === e) return;
- let n = e?.getRootNode(), r = n != null && DS(n) ? n : TS(e), i = (t) => t === e || ES(t) && jS(e, t), a = (e) => e === t || t != null && ES(e) && jS(t, e);
- WS = !0;
+ let n = e?.getRootNode(), r = n != null && CS(n) ? n : xS(e), i = (t) => t === e || SS(t) && DS(e, t), a = (e) => e === t || t != null && SS(e) && DS(t, e);
+ BS = !0;
let o = !1, s = (e) => {
(a(G(e)) || o) && e.stopImmediatePropagation();
}, c = (n) => {
- (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, CS(t), d()));
+ (a(G(n)) || o) && (n.stopImmediatePropagation(), !e && !o && (o = !0, yS(t), d()));
}, l = (e) => {
(i(G(e)) || o) && e.stopImmediatePropagation();
}, u = (e) => {
- (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, CS(t), d()));
+ (i(G(e)) || o) && (e.stopImmediatePropagation(), o || (o = !0, yS(t), d()));
};
r.addEventListener("blur", s, !0), r.addEventListener("focusout", c, !0), r.addEventListener("focusin", u, !0), r.addEventListener("focus", l, !0);
let d = () => {
- cancelAnimationFrame(f), r.removeEventListener("blur", s, !0), r.removeEventListener("focusout", c, !0), r.removeEventListener("focusin", u, !0), r.removeEventListener("focus", l, !0), WS = !1, o = !1;
+ cancelAnimationFrame(f), r.removeEventListener("blur", s, !0), r.removeEventListener("focusout", c, !0), r.removeEventListener("focusin", u, !0), r.removeEventListener("focus", l, !0), BS = !1, o = !1;
}, f = requestAnimationFrame(d);
return d;
}
// node_modules/react-aria/dist/private/utils/platform.mjs
-function GS(e) {
+function VS(e) {
if (typeof window > "u" || window.navigator == null) return !1;
let t = window.navigator.userAgentData?.brands;
return Array.isArray(t) && t.some((t) => e.test(t.brand)) || e.test(window.navigator.userAgent);
}
-function KS(e) {
+function HS(e) {
return typeof window < "u" && window.navigator != null && e.test(window.navigator.userAgentData?.platform || window.navigator.platform);
}
-function qS(e) {
+function US(e) {
let t = null;
return () => (t ??= e(), t);
}
-var JS = qS(function() {
- return KS(/^Mac/i);
-}), vae = qS(function() {
- return KS(/^iPhone/i);
-}), YS = qS(function() {
- return KS(/^iPad/i) || JS() && navigator.maxTouchPoints > 1;
-}), XS = qS(function() {
- return vae() || YS();
-}), yae = qS(function() {
- return JS() || XS();
-}), ZS = qS(function() {
- return GS(/AppleWebKit/i) && (XS() || !QS());
-}), QS = qS(function() {
- return GS(/Chrome|CriOS|CrMo/i);
-}), $S = qS(function() {
- return GS(/Android/i);
+var WS = US(function() {
+ return HS(/^Mac/i);
+}), Sae = US(function() {
+ return HS(/^iPhone/i);
+}), GS = US(function() {
+ return HS(/^iPad/i) || WS() && navigator.maxTouchPoints > 1;
+}), KS = US(function() {
+ return Sae() || GS();
+}), Cae = US(function() {
+ return WS() || KS();
+}), qS = US(function() {
+ return VS(/AppleWebKit/i) && (KS() || !JS());
+}), JS = US(function() {
+ return VS(/Chrome|CriOS|CrMo/i);
+}), YS = US(function() {
+ return VS(/Android/i);
});
// node_modules/react-aria/dist/private/utils/isVirtualEvent.mjs
-function eC(e) {
- return e.pointerType === "" && e.isTrusted ? !0 : $S() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
+function XS(e) {
+ return e.pointerType === "" && e.isTrusted ? !0 : YS() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
}
-function bae(e) {
- return !$S() && e.width === 0 && e.height === 0 || $S() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";
+function wae(e) {
+ return !YS() && e.width === 0 && e.height === 0 || YS() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse";
}
// node_modules/react-aria/dist/private/utils/openLink.mjs
-var xae = /*#__PURE__*/ (0, F.createContext)({
+var Tae = /*#__PURE__*/ (0, F.createContext)({
isNative: !0,
- open: wae,
+ open: Oae,
useHref: (e) => e
});
-function tC() {
- return (0, F.useContext)(xae);
+function ZS() {
+ return (0, F.useContext)(Tae);
}
-function Sae(e, t) {
+function Eae(e, t) {
let n = e.getAttribute("target");
return (!n || n === "_self") && e.origin === location.origin && !e.hasAttribute("download") && !t.metaKey && !t.ctrlKey && !t.altKey && !t.shiftKey;
}
-function nC(e, t, n = !0) {
- let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = ZS() && JS() && !YS() ? new KeyboardEvent("keydown", {
+function QS(e, t, n = !0) {
+ let { metaKey: r, ctrlKey: i, altKey: a, shiftKey: o } = t, s = qS() && WS() && !GS() ? new KeyboardEvent("keydown", {
keyIdentifier: "Enter",
metaKey: r,
ctrlKey: i,
@@ -22661,21 +22661,21 @@ function nC(e, t, n = !0) {
bubbles: !0,
cancelable: !0
});
- nC.isOpening = n, CS(e), e.dispatchEvent(s), nC.isOpening = !1;
+ QS.isOpening = n, yS(e), e.dispatchEvent(s), QS.isOpening = !1;
}
-nC.isOpening = !1;
-function Cae(e, t) {
+QS.isOpening = !1;
+function Dae(e, t) {
if (e instanceof HTMLAnchorElement) t(e);
else if (e.hasAttribute("data-href")) {
let n = document.createElement("a");
n.href = e.getAttribute("data-href"), e.hasAttribute("data-target") && (n.target = e.getAttribute("data-target")), e.hasAttribute("data-rel") && (n.rel = e.getAttribute("data-rel")), e.hasAttribute("data-download") && (n.download = e.getAttribute("data-download")), e.hasAttribute("data-ping") && (n.ping = e.getAttribute("data-ping")), e.hasAttribute("data-referrer-policy") && (n.referrerPolicy = e.getAttribute("data-referrer-policy")), e.appendChild(n), t(n), e.removeChild(n);
}
}
-function wae(e, t) {
- Cae(e, (e) => nC(e, t));
+function Oae(e, t) {
+ Dae(e, (e) => QS(e, t));
}
-function rC(e) {
- let t = tC().useHref(e.href ?? "");
+function $S(e) {
+ let t = ZS().useHref(e.href ?? "");
return {
"data-href": e.href ? t : void 0,
"data-target": e.target,
@@ -22685,8 +22685,8 @@ function rC(e) {
"data-referrer-policy": e.referrerPolicy
};
}
-function iC(e) {
- let t = tC().useHref(e?.href ?? ""), n = {};
+function eC(e) {
+ let t = ZS().useHref(e?.href ?? ""), n = {};
if (e) for (let r of [
"href",
"target",
@@ -22697,138 +22697,138 @@ function iC(e) {
]) r in e && e[r] !== void 0 && (n[r] = r === "href" ? t : e[r]);
return n;
}
-function Tae(e, t, n, r) {
- !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && Sae(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));
+function kae(e, t, n, r) {
+ !t.isNative && e.currentTarget instanceof HTMLAnchorElement && e.currentTarget.href && !e.isDefaultPrevented() && Eae(e.currentTarget, e) && n && (e.preventDefault(), t.open(e.currentTarget, e, n, r));
}
// node_modules/react-aria/dist/private/ssr/SSRProvider.mjs
-var aC = {
+var tC = {
prefix: String(Math.round(Math.random() * 1e10)),
current: 0
-}, oC = /*#__PURE__*/ F.createContext(aC), Eae = /*#__PURE__*/ F.createContext(!1);
+}, nC = /*#__PURE__*/ F.createContext(tC), Aae = /*#__PURE__*/ F.createContext(!1);
typeof window < "u" && window.document && window.document.createElement;
-var sC = /* @__PURE__ */ new WeakMap();
-function Dae(e = !1) {
- let t = (0, F.useContext)(oC), n = (0, F.useRef)(null);
+var rC = /* @__PURE__ */ new WeakMap();
+function jae(e = !1) {
+ let t = (0, F.useContext)(nC), n = (0, F.useRef)(null);
if (n.current === null && !e) {
let e = F.default.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED?.ReactCurrentOwner?.current;
if (e) {
- let n = sC.get(e);
- n == null ? sC.set(e, {
+ let n = rC.get(e);
+ n == null ? rC.set(e, {
id: t.current,
state: e.memoizedState
- }) : e.memoizedState !== n.state && (t.current = n.id, sC.delete(e));
+ }) : e.memoizedState !== n.state && (t.current = n.id, rC.delete(e));
}
n.current = ++t.current;
}
return n.current;
}
-function Oae(e) {
- let t = (0, F.useContext)(oC), n = Dae(!!e), r = `react-aria${t.prefix}`;
+function Mae(e) {
+ let t = (0, F.useContext)(nC), n = jae(!!e), r = `react-aria${t.prefix}`;
return e || `${r}-${n}`;
}
-function kae(e) {
- let t = F.useId(), [n] = (0, F.useState)(lC()), r = n ? "react-aria" : `react-aria${aC.prefix}`;
+function Nae(e) {
+ let t = F.useId(), [n] = (0, F.useState)(aC()), r = n ? "react-aria" : `react-aria${tC.prefix}`;
return e || `${r}-${t}`;
}
-var Aae = typeof F.useId == "function" ? kae : Oae;
-function jae() {
+var Pae = typeof F.useId == "function" ? Nae : Mae;
+function Fae() {
return !1;
}
-function cC() {
+function Iae() {
return !0;
}
-function Mae(e) {
+function iC(e) {
return () => {};
}
-function lC() {
- return typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore(Mae, jae, cC) : (0, F.useContext)(Eae);
+function aC() {
+ return typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore(iC, Fae, Iae) : (0, F.useContext)(Aae);
}
// node_modules/react-aria/dist/private/interactions/useFocusVisible.mjs
-var uC = null, dC = /* @__PURE__ */ new Set(), fC = /* @__PURE__ */ new Map(), pC = !1, mC = !1, Nae = {
+var oC = null, sC = /* @__PURE__ */ new Set(), cC = /* @__PURE__ */ new Map(), lC = !1, uC = !1, Lae = {
Tab: !0,
Escape: !0
};
-function hC(e, t) {
- for (let n of dC) n(e, t);
+function dC(e, t) {
+ for (let n of sC) n(e, t);
}
-function Pae(e) {
- return !(e.metaKey || !JS() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
+function Rae(e) {
+ return !(e.metaKey || !WS() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
}
-function gC(e) {
- pC = !0, !nC.isOpening && Pae(e) && (uC = "keyboard", hC("keyboard", e));
+function fC(e) {
+ lC = !0, !QS.isOpening && Rae(e) && (oC = "keyboard", dC("keyboard", e));
}
-function _C(e) {
- uC = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (pC = !0, hC("pointer", e));
+function pC(e) {
+ oC = "pointer", "pointerType" in e && e.pointerType, (e.type === "mousedown" || e.type === "pointerdown") && (lC = !0, dC("pointer", e));
}
-function vC(e) {
- !nC.isOpening && eC(e) && (pC = !0, uC = "virtual");
+function mC(e) {
+ !QS.isOpening && XS(e) && (lC = !0, oC = "virtual");
}
-function yC(e) {
- if (WS) return;
- let t = G(e), n = TS(t), r = wS(t);
- t === n ? mC = !0 : t !== r && e.isTrusted && (!pC && !mC && (uC = "virtual", hC("virtual", e)), pC = !1, mC = !1);
+function hC(e) {
+ if (BS) return;
+ let t = G(e), n = xS(t), r = bS(t);
+ t === n ? uC = !0 : t !== r && e.isTrusted && (!lC && !uC && (oC = "virtual", dC("virtual", e)), lC = !1, uC = !1);
}
-function bC() {
- WS || (pC = !1, mC = !0);
+function gC() {
+ BS || (lC = !1, uC = !0);
}
-function xC(e) {
- let t = MS(wS(G(e)));
+function _C(e) {
+ let t = OS(bS(G(e)));
queueMicrotask(() => {
- MS(wS(G(e))) !== t && EC("keyboard");
+ OS(bS(G(e))) !== t && SC("keyboard");
});
}
-function SC(e) {
+function vC(e) {
if (typeof window > "u" || typeof document > "u") return;
- let t = TS(e), n = wS(e);
- if (fC.get(t)) return;
+ let t = xS(e), n = bS(e);
+ if (cC.get(t)) return;
let r = t.HTMLElement.prototype.focus;
Reflect.defineProperty(t.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
value: function() {
- pC = !0, r.apply(this, arguments);
+ lC = !0, r.apply(this, arguments);
}
- }), n.addEventListener("keydown", gC, !0), n.addEventListener("keyup", gC, !0), n.addEventListener("click", vC, !0), n.addEventListener("invalid", xC, !0), t.addEventListener("focus", yC, !0), t.addEventListener("blur", bC, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", _C, !0), n.addEventListener("pointermove", _C, !0), n.addEventListener("pointerup", _C, !0)), t.addEventListener("beforeunload", () => {
- CC(e);
- }, { once: !0 }), fC.set(t, { focus: r });
+ }), n.addEventListener("keydown", fC, !0), n.addEventListener("keyup", fC, !0), n.addEventListener("click", mC, !0), n.addEventListener("invalid", _C, !0), t.addEventListener("focus", hC, !0), t.addEventListener("blur", gC, !1), typeof PointerEvent < "u" && (n.addEventListener("pointerdown", pC, !0), n.addEventListener("pointermove", pC, !0), n.addEventListener("pointerup", pC, !0)), t.addEventListener("beforeunload", () => {
+ yC(e);
+ }, { once: !0 }), cC.set(t, { focus: r });
}
-var CC = (e, t) => {
- let n = TS(e), r = wS(e);
- t && r.removeEventListener("DOMContentLoaded", t), fC.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
+var yC = (e, t) => {
+ let n = xS(e), r = bS(e);
+ t && r.removeEventListener("DOMContentLoaded", t), cC.has(n) && (Reflect.defineProperty(n.HTMLElement.prototype, "focus", {
configurable: !0,
writable: !0,
- value: fC.get(n).focus
- }), r.removeEventListener("keydown", gC, !0), r.removeEventListener("keyup", gC, !0), r.removeEventListener("click", vC, !0), r.removeEventListener("invalid", xC, !0), n.removeEventListener("focus", yC, !0), n.removeEventListener("blur", bC, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", _C, !0), r.removeEventListener("pointermove", _C, !0), r.removeEventListener("pointerup", _C, !0)), fC.delete(n));
+ value: cC.get(n).focus
+ }), r.removeEventListener("keydown", fC, !0), r.removeEventListener("keyup", fC, !0), r.removeEventListener("click", mC, !0), r.removeEventListener("invalid", _C, !0), n.removeEventListener("focus", hC, !0), n.removeEventListener("blur", gC, !1), typeof PointerEvent < "u" && (r.removeEventListener("pointerdown", pC, !0), r.removeEventListener("pointermove", pC, !0), r.removeEventListener("pointerup", pC, !0)), cC.delete(n));
};
-function Fae(e) {
- let t = wS(e), n;
+function zae(e) {
+ let t = bS(e), n;
return t.readyState === "loading" ? (n = () => {
- SC(e);
- }, t.addEventListener("DOMContentLoaded", n)) : SC(e), () => CC(e, n);
+ vC(e);
+ }, t.addEventListener("DOMContentLoaded", n)) : vC(e), () => yC(e, n);
}
-typeof document < "u" && Fae();
-function wC() {
- return uC !== "pointer";
+typeof document < "u" && zae();
+function bC() {
+ return oC !== "pointer";
}
-function TC() {
- return uC;
+function xC() {
+ return oC;
}
-function EC(e) {
- uC = e, hC(e, null);
+function SC(e) {
+ oC = e, dC(e, null);
}
-function DC() {
- SC();
- let [e, t] = (0, F.useState)(uC);
+function CC() {
+ vC();
+ let [e, t] = (0, F.useState)(oC);
return (0, F.useEffect)(() => {
let e = () => {
- t(uC);
+ t(oC);
};
- return dC.add(e), () => {
- dC.delete(e);
+ return sC.add(e), () => {
+ sC.delete(e);
};
- }, []), lC() ? null : e;
+ }, []), aC() ? null : e;
}
-var Iae = /* @__PURE__ */ new Set([
+var Bae = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -22839,107 +22839,107 @@ var Iae = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function Lae(e, t, n) {
- let r = n ? G(n) : void 0, i = wS(r), a = TS(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = MS(i);
- return e = e || u instanceof o && !Iae.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Nae[n.key]);
+function Vae(e, t, n) {
+ let r = n ? G(n) : void 0, i = bS(r), a = xS(r), o = a === void 0 ? HTMLInputElement : a.HTMLInputElement, s = a === void 0 ? HTMLTextAreaElement : a.HTMLTextAreaElement, c = a === void 0 ? HTMLElement : a.HTMLElement, l = a === void 0 ? KeyboardEvent : a.KeyboardEvent, u = OS(i);
+ return e = e || u instanceof o && !Bae.has(u.type) || u instanceof s || u instanceof c && u.isContentEditable, !(e && t === "keyboard" && n instanceof l && !Lae[n.key]);
}
-function OC(e = {}) {
- let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, F.useState)(n || wC());
- return kC((e) => {
+function wC(e = {}) {
+ let { isTextInput: t, autoFocus: n } = e, [r, i] = (0, F.useState)(n || bC());
+ return TC((e) => {
i(e);
}, [t], { isTextInput: t }), { isFocusVisible: r };
}
-function kC(e, t, n) {
- SC(), (0, F.useEffect)(() => {
+function TC(e, t, n) {
+ vC(), (0, F.useEffect)(() => {
if (n?.enabled === !1) return;
let t = (t, r) => {
- Lae(!!n?.isTextInput, t, r) && e(wC());
+ Vae(!!n?.isTextInput, t, r) && e(bC());
};
- return dC.add(t), () => {
- dC.delete(t);
+ return sC.add(t), () => {
+ sC.delete(t);
};
}, t);
}
// node_modules/react-aria/dist/private/utils/runAfterTransition.mjs
-var AC = /* @__PURE__ */ new Map(), jC = /* @__PURE__ */ new Set();
-function MC(e) {
+var EC = /* @__PURE__ */ new Map(), DC = /* @__PURE__ */ new Set();
+function OC(e) {
return "propertyName" in e;
}
-function Rae(e) {
+function Hae(e) {
let t = G(e);
- if (!MC(e) || !t) return;
- let n = AC.get(t);
- n || (n = /* @__PURE__ */ new Set(), AC.set(t, n), t.addEventListener("transitioncancel", NC, { once: !0 })), n.add(e.propertyName);
+ if (!OC(e) || !t) return;
+ let n = EC.get(t);
+ n || (n = /* @__PURE__ */ new Set(), EC.set(t, n), t.addEventListener("transitioncancel", kC, { once: !0 })), n.add(e.propertyName);
}
-function NC(e) {
+function kC(e) {
let t = G(e);
- if (!MC(e) || !t) return;
- let n = AC.get(t);
- if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", NC), AC.delete(t)), AC.size === 0)) for (let e of jC) e(!0), jC.delete(e);
+ if (!OC(e) || !t) return;
+ let n = EC.get(t);
+ if (n && (n.delete(e.propertyName), n.size === 0 && (t.removeEventListener("transitioncancel", kC), EC.delete(t)), EC.size === 0)) for (let e of DC) e(!0), DC.delete(e);
}
-function PC() {
- OS(document, "transitionrun", Rae), OS(document, "transitionend", NC);
+function AC() {
+ wS(document, "transitionrun", Hae), wS(document, "transitionend", kC);
}
-function zae() {
- for (let [e] of AC) "isConnected" in e && !e.isConnected && AC.delete(e);
+function Uae() {
+ for (let [e] of EC) "isConnected" in e && !e.isConnected && EC.delete(e);
}
-typeof document < "u" && (document.readyState === "loading" ? OS(document, "DOMContentLoaded", PC) : PC());
-function FC(e) {
+typeof document < "u" && (document.readyState === "loading" ? wS(document, "DOMContentLoaded", AC) : AC());
+function jC(e) {
let t = window.requestAnimationFrame(() => {
- if (zae(), AC.size === 0) return e(!1);
- jC.add(e);
+ if (Uae(), EC.size === 0) return e(!1);
+ DC.add(e);
});
return () => {
- window.cancelAnimationFrame(t), jC.delete(e);
+ window.cancelAnimationFrame(t), DC.delete(e);
};
}
// node_modules/react-aria/dist/private/interactions/focusSafely.mjs
-function IC(e) {
+function MC(e) {
if (!e.isConnected) return;
- let t = wS(e);
- if (TC() === "virtual") {
- let n = MS(t);
- FC(() => {
- let r = MS(t);
- (r === n || r === t.body) && e.isConnected && CS(e);
+ let t = bS(e);
+ if (xC() === "virtual") {
+ let n = OS(t);
+ jC(() => {
+ let r = OS(t);
+ (r === n || r === t.body) && e.isConnected && yS(e);
});
- } else CS(e);
+ } else yS(e);
}
// node_modules/react-aria/dist/private/utils/chain.mjs
-function LC(...e) {
+function NC(...e) {
return (...t) => {
for (let n of e) typeof n == "function" && n(...t);
};
}
// node_modules/react-aria/dist/private/utils/useValueEffect.mjs
-function Bae(e) {
+function Wae(e) {
let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(t), i = (0, F.useRef)(null), a = (0, F.useRef)(() => {
if (!i.current) return;
let e = i.current.next();
e.done ? i.current = null : r.current === e.value ? a.current() : n(e.value);
});
- return BS(() => {
+ return IS(() => {
r.current = t, i.current && a.current();
}), [t, (0, F.useCallback)((e) => {
i.current = e(r.current), a.current();
}, [a])];
}
// node_modules/react-aria/dist/private/utils/useId.mjs
-var Vae = !!(typeof window < "u" && window.document && window.document.createElement), RC = /* @__PURE__ */ new Map(), zC;
-typeof FinalizationRegistry < "u" && (zC = new FinalizationRegistry((e) => {
- RC.delete(e);
+var Gae = !!(typeof window < "u" && window.document && window.document.createElement), PC = /* @__PURE__ */ new Map(), FC;
+typeof FinalizationRegistry < "u" && (FC = new FinalizationRegistry((e) => {
+ PC.delete(e);
}));
-var BC = /* @__PURE__ */ new WeakMap();
-function VC(e) {
- let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(null), i = Aae(t), a = (0, F.useRef)(null), o = BC.get(a);
- if (zC && o !== i && (o != null && zC.unregister(a), zC.register(a, i, a), BC.set(a, i)), Vae) {
- let e = RC.get(i);
- e && !e.includes(r) ? e.push(r) : RC.set(i, [r]);
- }
- return BS(() => {
+var IC = /* @__PURE__ */ new WeakMap();
+function LC(e) {
+ let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(null), i = Pae(t), a = (0, F.useRef)(null), o = IC.get(a);
+ if (FC && o !== i && (o != null && FC.unregister(a), FC.register(a, i, a), IC.set(a, i)), Gae) {
+ let e = PC.get(i);
+ e && !e.includes(r) ? e.push(r) : PC.set(i, [r]);
+ }
+ return IS(() => {
let e = i;
return () => {
- zC && (zC.unregister(a), BC.delete(a)), RC.delete(e);
+ FC && (FC.unregister(a), IC.delete(a)), PC.delete(e);
};
}, [i]), (0, F.useEffect)(() => {
let e = r.current;
@@ -22948,57 +22948,57 @@ function VC(e) {
};
}), i;
}
-function Hae(e, t) {
+function Kae(e, t) {
if (e === t) return e;
- let n = RC.get(e);
+ let n = PC.get(e);
if (n) return n.forEach((e) => e.current = t), t;
- let r = RC.get(t);
+ let r = PC.get(t);
return r ? (r.forEach((t) => t.current = e), e) : t;
}
-function HC(e = []) {
- let t = VC(), [n, r] = Bae(t), i = (0, F.useCallback)(() => {
+function RC(e = []) {
+ let t = LC(), [n, r] = Wae(t), i = (0, F.useCallback)(() => {
r(function* () {
yield t, yield document.getElementById(t) ? t : void 0;
});
}, [t, r]);
- return BS(i, [
+ return IS(i, [
t,
i,
...e
]), n;
}
// node_modules/react-aria/dist/private/utils/mergeRefs.mjs
-function UC(...e) {
+function zC(...e) {
return e.length === 1 && e[0] ? e[0] : (t) => {
let n = !1, r = e.map((e) => {
- let r = WC(e, t);
+ let r = BC(e, t);
return n ||= typeof r == "function", r;
});
if (n) return () => {
r.forEach((t, n) => {
- typeof t == "function" ? t() : WC(e[n], null);
+ typeof t == "function" ? t() : BC(e[n], null);
});
};
};
}
-function WC(e, t) {
+function BC(e, t) {
if (typeof e == "function") return e(t);
e != null && (e.current = t);
}
// node_modules/clsx/dist/clsx.mjs
-function GC(e) {
+function VC(e) {
var t, n, r = "";
if (typeof e == "string" || typeof e == "number") r += e;
else if (typeof e == "object") {
if (Array.isArray(e)) {
var i = e.length;
- for (t = 0; t < i; t++) e[t] && (n = GC(e[t])) && (r && (r += " "), r += n);
+ for (t = 0; t < i; t++) e[t] && (n = VC(e[t])) && (r && (r += " "), r += n);
} else for (n in e) e[n] && (r && (r += " "), r += n);
}
return r;
}
-function KC() {
- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = GC(e)) && (r && (r += " "), r += t);
+function HC() {
+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = VC(e)) && (r && (r += " "), r += t);
return r;
}
// node_modules/react-aria/dist/private/utils/mergeProps.mjs
@@ -23008,17 +23008,17 @@ function K(...e) {
let r = e[n];
for (let e in r) {
let n = t[e], i = r[e];
- typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = LC(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = KC(n, i) : e === "id" && n && i ? t.id = Hae(n, i) : e === "ref" && n && i ? t.ref = UC(n, i) : t[e] = i === void 0 ? n : i;
+ typeof n == "function" && typeof i == "function" && e[0] === "o" && e[1] === "n" && e.charCodeAt(2) >= 65 && e.charCodeAt(2) <= 90 ? t[e] = NC(n, i) : (e === "className" || e === "UNSAFE_className") && typeof n == "string" && typeof i == "string" ? t[e] = HC(n, i) : e === "id" && n && i ? t.id = Kae(n, i) : e === "ref" && n && i ? t.ref = zC(n, i) : t[e] = i === void 0 ? n : i;
}
}
return t;
}
// node_modules/react-aria/dist/private/interactions/useFocus.mjs
-function qC(e) {
+function UC(e) {
let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: i } = e, a = (0, F.useCallback)((e) => {
if (G(e) === e.currentTarget) return r && r(e), i && i(!1), !0;
- }, [r, i]), o = US(a), s = (0, F.useCallback)((e) => {
- let t = G(e), r = wS(t), a = r ? MS(r) : MS();
+ }, [r, i]), o = zS(a), s = (0, F.useCallback)((e) => {
+ let t = G(e), r = bS(t), a = r ? OS(r) : OS();
t === e.currentTarget && t === a && (n && n(e), i && i(!0), o(e));
}, [
i,
@@ -23031,7 +23031,7 @@ function qC(e) {
} };
}
// node_modules/react-aria/dist/private/interactions/createEventHandler.mjs
-function JC(e) {
+function WC(e) {
if (e) return (t) => {
let n = !0;
e({
@@ -23055,33 +23055,33 @@ function JC(e) {
};
}
// node_modules/react-aria/dist/private/interactions/createKeyboardShortcutHandler.mjs
-var Uae = /* @__PURE__ */ new Set([
+var qae = /* @__PURE__ */ new Set([
"shift",
"alt",
"control",
"meta",
"mod"
-]), Wae = [
+]), Jae = [
"Alt",
"Control",
"Meta",
"Shift"
];
-function Gae(e) {
+function Yae(e) {
let t = /* @__PURE__ */ new Set();
- return e.alt && t.add("Alt"), e.shift && t.add("Shift"), e.ctrl && t.add("Control"), e.meta && t.add("Meta"), e.mod && t.add(JS() ? "Meta" : "Control"), t;
+ return e.alt && t.add("Alt"), e.shift && t.add("Shift"), e.ctrl && t.add("Control"), e.meta && t.add("Meta"), e.mod && t.add(WS() ? "Meta" : "Control"), t;
}
-function Kae(e) {
+function Xae(e) {
let t = /* @__PURE__ */ new Set();
return e.altKey && t.add("Alt"), e.ctrlKey && t.add("Control"), e.metaKey && t.add("Meta"), e.shiftKey && t.add("Shift"), t;
}
-function YC(e) {
- return Wae.filter((t) => e.has(t));
+function GC(e) {
+ return Jae.filter((t) => e.has(t));
}
-function qae(e) {
+function Zae(e) {
let t = e.split("+").reduce((e, t) => {
let n = t.toLowerCase();
- return Uae.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;
+ return qae.has(n) ? n === "shift" ? e.shift = !0 : n === "alt" ? e.alt = !0 : n === "control" ? e.ctrl = !0 : n === "meta" ? e.meta = !0 : n === "mod" && (e.mod = !0) : e.key = t, e;
}, {
shift: !1,
alt: !1,
@@ -23093,10 +23093,10 @@ function qae(e) {
if (t.key === "") throw Error(`Invalid keyboard shortcut: "${e}". Must include exactly one non-modifier key (e.g. "a", "Enter", "ArrowDown"). Combine any of Shift, Alt, Ctrl, Meta, and Mod.`);
return t;
}
-function XC(e) {
+function KC(e) {
return e.toLowerCase();
}
-var Jae = {
+var Qae = {
space: " ",
esc: "escape",
del: "delete",
@@ -23108,26 +23108,26 @@ var Jae = {
pageup: "pageup",
pagedown: "pagedown"
};
-function Yae(e) {
- let t = XC(e);
- return Jae[t] ?? t;
+function $ae(e) {
+ let t = KC(e);
+ return Qae[t] ?? t;
}
-function Xae(e) {
- let t = YC(Gae(e)), n = Yae(e.key);
+function eoe(e) {
+ let t = GC(Yae(e)), n = $ae(e.key);
return t.length > 0 ? `${t.join("+")}+${n}` : n;
}
-function Zae(e) {
- let t = YC(Kae(e)), n = XC(e.key);
+function toe(e) {
+ let t = GC(Xae(e)), n = KC(e.key);
return (t.length > 0 ? `${t.join("+")}+` : "") + n;
}
-function Qae(e) {
+function noe(e) {
let t = /* @__PURE__ */ new Map();
for (let [n, r] of Object.entries(e)) {
- let e = qae(n);
- t.set(Xae(e), r);
+ let e = Zae(n);
+ t.set(eoe(e), r);
}
return (e) => {
- let n = Zae(e), r = t.get(n), i = r?.(e);
+ let n = toe(e), r = t.get(n), i = r?.(e);
i === void 0 && r !== void 0 ? i = {
shouldContinuePropagation: !1,
shouldPreventDefault: !0
@@ -23138,23 +23138,23 @@ function Qae(e) {
};
}
// node_modules/react-aria/dist/private/interactions/useKeyboard.mjs
-function ZC(e) {
+function qC(e) {
let { shortcuts: t, allowRepeats: n = !1, allowComposing: r = !1 } = e, i, a;
if (t) {
- let o = Qae(t), s = JC((e) => {
- jS(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();
- }), c = JC((e) => {
- jS(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();
+ let o = noe(t), s = WC((e) => {
+ DS(e.currentTarget, G(e)) ? e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing && !r ? e.continuePropagation() : o(e) : e.continuePropagation();
+ }), c = WC((e) => {
+ DS(e.currentTarget, G(e)) && (e.nativeEvent?.repeat && !n || e.nativeEvent?.isComposing), e.continuePropagation();
});
- i = e.onKeyDown ? LC(e.onKeyDown, s) : s, a = e.onKeyUp ? LC(e.onKeyUp, c) : c;
- } else i = JC(e.onKeyDown), a = JC(e.onKeyUp);
+ i = e.onKeyDown ? NC(e.onKeyDown, s) : s, a = e.onKeyUp ? NC(e.onKeyUp, c) : c;
+ } else i = WC(e.onKeyDown), a = WC(e.onKeyUp);
return { keyboardProps: e.isDisabled ? {} : {
onKeyDown: i,
onKeyUp: a
} };
}
// node_modules/react-aria/dist/private/utils/useObjectRef.mjs
-function QC(e) {
+function JC(e) {
let t = (0, F.useRef)(null), n = (0, F.useRef)(void 0), r = (0, F.useCallback)((t) => {
if (typeof e == "function") {
let n = e, r = n(t);
@@ -23176,25 +23176,25 @@ function QC(e) {
}), [r]);
}
// node_modules/react-aria/dist/private/utils/useSyncRef.mjs
-function $C(e, t) {
- BS(() => {
+function YC(e, t) {
+ IS(() => {
if (e && e.ref && t) return e.ref.current = t.current, () => {
e.ref && (e.ref.current = null);
};
});
}
// node_modules/react-aria/dist/private/interactions/useFocusable.mjs
-var ew = /*#__PURE__*/ F.createContext(null);
-function $ae(e) {
- let t = (0, F.useContext)(ew) || {};
- $C(t, e);
+var XC = /*#__PURE__*/ F.createContext(null);
+function roe(e) {
+ let t = (0, F.useContext)(XC) || {};
+ YC(t, e);
let { ref: n, ...r } = t;
return r;
}
-function tw(e, t) {
- let { focusProps: n } = qC(e), { keyboardProps: r } = ZC(e), i = K(n, r), a = $ae(t), o = e.isDisabled ? {} : a, s = (0, F.useRef)(e.autoFocus);
+function ZC(e, t) {
+ let { focusProps: n } = UC(e), { keyboardProps: r } = qC(e), i = K(n, r), a = roe(t), o = e.isDisabled ? {} : a, s = (0, F.useRef)(e.autoFocus);
(0, F.useEffect)(() => {
- s.current && t.current && IC(t.current), s.current = !1;
+ s.current && t.current && MC(t.current), s.current = !1;
}, [t]);
let c = e.excludeFromTabOrder ? -1 : 0;
return e.isDisabled && (c = void 0), { focusableProps: K({
@@ -23228,21 +23228,21 @@ typeof HTMLTemplateElement < "u" && (Object.defineProperty(HTMLTemplateElement.p
return this.content.insertBefore(e, t);
}
}));
-var nw = /*#__PURE__*/ (0, F.createContext)(!1);
-function eoe(e) {
- if ((0, F.useContext)(nw)) return /*#__PURE__*/ F.createElement(F.Fragment, null, e.children);
- let t = /*#__PURE__*/ F.createElement(nw.Provider, { value: !0 }, e.children);
+var QC = /*#__PURE__*/ (0, F.createContext)(!1);
+function ioe(e) {
+ if ((0, F.useContext)(QC)) return /*#__PURE__*/ F.createElement(F.Fragment, null, e.children);
+ let t = /*#__PURE__*/ F.createElement(QC.Provider, { value: !0 }, e.children);
return /*#__PURE__*/ F.createElement("template", null, t);
}
-function rw(e) {
- let t = (t, n) => (0, F.useContext)(nw) ? null : e(t, n);
+function $C(e) {
+ let t = (t, n) => (0, F.useContext)(QC) ? null : e(t, n);
return t.displayName = e.displayName || e.name, (0, F.forwardRef)(t);
}
-function iw() {
- return (0, F.useContext)(nw);
+function ew() {
+ return (0, F.useContext)(QC);
}
// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js
-var toe = /* @__PURE__ */ o(((e) => {
+var aoe = /* @__PURE__ */ o(((e) => {
var t = A();
function n(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
@@ -23280,47 +23280,47 @@ var toe = /* @__PURE__ */ o(((e) => {
}
var d = typeof window > "u" || window.document === void 0 || window.document.createElement === void 0 ? u : c;
e.useSyncExternalStore = t.useSyncExternalStore === void 0 ? d : t.useSyncExternalStore;
-})), aw = /* @__PURE__ */ o(((e, t) => {
- t.exports = toe();
-})), noe = aw(), ow = /*#__PURE__*/ (0, F.createContext)(!1), sw = /*#__PURE__*/ (0, F.createContext)(null);
-function cw(e) {
- if ((0, F.useContext)(sw)) return e.content;
- let { collection: t, document: n } = ooe(e.createCollection);
- return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(eoe, null, /*#__PURE__*/ F.createElement(sw.Provider, { value: n }, e.content)), /*#__PURE__*/ F.createElement(roe, {
+})), tw = /* @__PURE__ */ o(((e, t) => {
+ t.exports = aoe();
+})), ooe = tw(), nw = /*#__PURE__*/ (0, F.createContext)(!1), rw = /*#__PURE__*/ (0, F.createContext)(null);
+function iw(e) {
+ if ((0, F.useContext)(rw)) return e.content;
+ let { collection: t, document: n } = uoe(e.createCollection);
+ return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(ioe, null, /*#__PURE__*/ F.createElement(rw.Provider, { value: n }, e.content)), /*#__PURE__*/ F.createElement(soe, {
render: e.children,
collection: t
}));
}
-function roe({ collection: e, render: t }) {
+function soe({ collection: e, render: t }) {
return t(e);
}
-function ioe(e, t, n) {
- let r = lC(), i = (0, F.useRef)(r);
+function coe(e, t, n) {
+ let r = aC(), i = (0, F.useRef)(r);
i.current = r;
let a = (0, F.useCallback)(() => i.current ? n() : t(), [t, n]);
- return (0, noe.useSyncExternalStore)(e, a);
+ return (0, ooe.useSyncExternalStore)(e, a);
}
-var aoe = typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore : ioe;
-function ooe(e) {
- let [t] = (0, F.useState)(() => new sae(e?.() || new vS()));
+var loe = typeof F.useSyncExternalStore == "function" ? F.useSyncExternalStore : coe;
+function uoe(e) {
+ let [t] = (0, F.useState)(() => new dae(e?.() || new mS()));
return {
- collection: aoe((0, F.useCallback)((e) => t.subscribe(e), [t]), (0, F.useCallback)(() => {
+ collection: loe((0, F.useCallback)((e) => t.subscribe(e), [t]), (0, F.useCallback)(() => {
let e = t.getCollection();
return t.isSSR && t.resetAfterSSR(), e;
}, [t]), (0, F.useCallback)(() => (t.isSSR = !0, t.getCollection()), [t])),
document: t
};
}
-var lw = /*#__PURE__*/ (0, F.createContext)(null);
-function soe(e) {
- return class extends mS {
+var aw = /*#__PURE__*/ (0, F.createContext)(null);
+function doe(e) {
+ return class extends uS {
static {
this.type = e;
}
};
}
-function uw(e, t, n, r, i, a) {
- typeof e == "string" && (e = soe(e));
+function ow(e, t, n, r, i, a) {
+ typeof e == "string" && (e = doe(e));
let o = (0, F.useCallback)((i) => {
i?.setProps(t, n, e, r, a);
}, [
@@ -23329,82 +23329,82 @@ function uw(e, t, n, r, i, a) {
r,
a,
e
- ]), s = (0, F.useContext)(lw);
+ ]), s = (0, F.useContext)(aw);
if (s) {
let o = s.ownerDocument.nodesByProps.get(t);
- return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ F.createElement(lw.Provider, { value: o }, i) : null;
+ return o || (o = s.ownerDocument.createElement(e.type), o.setProps(t, n, e, r, a), s.appendChild(o), s.ownerDocument.updateCollection(), s.ownerDocument.nodesByProps.set(t, o)), i ? /*#__PURE__*/ F.createElement(aw.Provider, { value: o }, i) : null;
}
return /*#__PURE__*/ F.createElement(e.type, { ref: o }, i);
}
-function dw(e, t) {
+function sw(e, t) {
let n = ({ node: e }) => t(e.props, e.props.ref, e), r = (0, F.forwardRef)((r, i) => {
- let a = (0, F.useContext)(ew);
- if (!(0, F.useContext)(ow)) {
+ let a = (0, F.useContext)(XC);
+ if (!(0, F.useContext)(nw)) {
if (t.length >= 3) throw Error(t.name + " cannot be rendered outside a collection.");
return t(r, i);
}
- return uw(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ F.createElement(ew.Provider, { value: a }, /*#__PURE__*/ F.createElement(n, { node: e })));
+ return ow(e, r, i, "children" in r ? r.children : null, null, (e) => /*#__PURE__*/ F.createElement(XC.Provider, { value: a }, /*#__PURE__*/ F.createElement(n, { node: e })));
});
return r.displayName = t.name, r;
}
-function fw(e, t, n = pw) {
- let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, F.forwardRef)((t, i) => uw(e, t, i, null, n(t), (e) => /*#__PURE__*/ F.createElement(r, { node: e })) ?? /*#__PURE__*/ F.createElement(F.Fragment, null));
+function cw(e, t, n = lw) {
+ let r = ({ node: e }) => t(e.props, e.props.ref, e), i = (0, F.forwardRef)((t, i) => ow(e, t, i, null, n(t), (e) => /*#__PURE__*/ F.createElement(r, { node: e })) ?? /*#__PURE__*/ F.createElement(F.Fragment, null));
return i.displayName = t.name, i;
}
-function pw(e) {
- return SS({
+function lw(e) {
+ return vS({
...e,
addIdAndValue: !0
});
}
-var mw = /*#__PURE__*/ (0, F.createContext)(null);
-function hw(e) {
- let t = (0, F.useContext)(mw), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = pw({
+var uw = /*#__PURE__*/ (0, F.createContext)(null);
+function dw(e) {
+ let t = (0, F.useContext)(uw), n = (t?.dependencies || []).concat(e.dependencies), r = e.idScope ?? t?.idScope, i = lw({
...e,
idScope: r,
dependencies: n
});
- return (0, F.useContext)(sw) && (i = /*#__PURE__*/ F.createElement(coe, null, i)), t = (0, F.useMemo)(() => ({
+ return (0, F.useContext)(rw) && (i = /*#__PURE__*/ F.createElement(foe, null, i)), t = (0, F.useMemo)(() => ({
dependencies: n,
idScope: r
- }), [r, ...n]), /*#__PURE__*/ F.createElement(mw.Provider, { value: t }, i);
+ }), [r, ...n]), /*#__PURE__*/ F.createElement(uw.Provider, { value: t }, i);
}
-function coe({ children: e }) {
- let t = (0, F.useContext)(sw), n = (0, F.useMemo)(() => /*#__PURE__*/ F.createElement(sw.Provider, { value: null }, /*#__PURE__*/ F.createElement(ow.Provider, { value: !0 }, e)), [e]);
- return lC() ? /*#__PURE__*/ F.createElement(lw.Provider, { value: t }, n) : /*#__PURE__*/ (0, Rt.createPortal)(n, t);
+function foe({ children: e }) {
+ let t = (0, F.useContext)(rw), n = (0, F.useMemo)(() => /*#__PURE__*/ F.createElement(rw.Provider, { value: null }, /*#__PURE__*/ F.createElement(nw.Provider, { value: !0 }, e)), [e]);
+ return aC() ? /*#__PURE__*/ F.createElement(aw.Provider, { value: t }, n) : /*#__PURE__*/ (0, Rt.createPortal)(n, t);
}
// node_modules/react-aria/dist/private/utils/constants.mjs
-var loe = "react-aria-clear-focus", uoe = "react-aria-focus";
+var poe = "react-aria-clear-focus", moe = "react-aria-focus";
// node_modules/react-aria/dist/private/focus/virtualFocus.mjs
-function gw(e) {
- let t = foe(wS(e));
- t !== e && (t && doe(t, e), e && _w(e, t));
+function fw(e) {
+ let t = goe(bS(e));
+ t !== e && (t && hoe(t, e), e && pw(e, t));
}
-function doe(e, t) {
+function hoe(e, t) {
e.dispatchEvent(new FocusEvent("blur", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusout", {
bubbles: !0,
relatedTarget: t
}));
}
-function _w(e, t) {
+function pw(e, t) {
e.dispatchEvent(new FocusEvent("focus", { relatedTarget: t })), e.dispatchEvent(new FocusEvent("focusin", {
bubbles: !0,
relatedTarget: t
}));
}
-function foe(e) {
- let t = MS(e), n = t?.getAttribute("aria-activedescendant");
+function goe(e) {
+ let t = OS(e), n = t?.getAttribute("aria-activedescendant");
return n && e.getElementById(n) || t;
}
// node_modules/react-aria/dist/private/utils/getMetaValue.mjs
-function vw(e, t) {
- let n = TS(t), r = wS(t);
+function mw(e, t) {
+ let n = xS(t), r = bS(t);
if (r == null || n == null) return;
let i, a = `meta[name="${CSS.escape(e)}"], meta[property="${CSS.escape(e)}"]`, o = r.querySelector(a);
return o && o instanceof n.HTMLMetaElement && (e === "csp-nonce" && o.nonce && (i ??= o.nonce || void 0), o.content && (i ??= o.content || void 0)), e === "csp-nonce" && (i ??= n.__webpack_nonce__ || globalThis.__webpack_nonce__ || void 0), i;
}
// node_modules/react-aria/dist/private/utils/keyboard.mjs
-var yw = 100, bw = 600, xw = {
+var hw = 100, gw = 600, _w = {
isOpen: !1,
screenWidth: 0,
screenHeight: 0,
@@ -23414,7 +23414,7 @@ var yw = 100, bw = 600, xw = {
endTimeStamp: 0,
resizeTimeStamp: 0,
resizeTimeout: 0
-}, poe = /* @__PURE__ */ new Set([
+}, _oe = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -23425,7 +23425,7 @@ var yw = 100, bw = 600, xw = {
"submit",
"reset"
]);
-function Sw() {
+function vw() {
let e = Number(window.visualViewport?.width ?? window.innerWidth), t = Number(window.visualViewport?.height ?? window.innerHeight), n = Number(window.visualViewport?.scale ?? 1);
return {
width: e * n,
@@ -23433,58 +23433,58 @@ function Sw() {
angle: window.screen.orientation?.angle ?? 0
};
}
-function moe(e) {
- xw.resizeTimeStamp <= e.timeStamp + 50 && (xw.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(xw.resizeTimeout), xw.resizeTimeout = window.setTimeout(Cw, 150));
+function voe(e) {
+ _w.resizeTimeStamp <= e.timeStamp + 50 && (_w.resizeTimeStamp = e.timeStamp + 150, window.clearTimeout(_w.resizeTimeout), _w.resizeTimeout = window.setTimeout(yw, 150));
}
-function Cw() {
- let e = vw("viewport");
- if ($S() && e?.includes("overlays-content")) return;
- let t = performance.now(), n = Sw(), r = t - xw.startTimeStamp, i = xw.screenHeight - n.height, a = xw.screenAngle - n.angle;
- Math.abs(a) % 180 && xw.screenWidth - n.height < yw && (xw.screenWidth = n.width, xw.screenHeight = n.height, xw.screenAngle = n.angle, i = 0), r > bw && (window.clearTimeout(xw.screenTimeout), xw.screenTimeout = window.setTimeout(() => {
- let e = Ew(document.hasFocus() ? MS() : null), t = Sw();
- Math.abs(xw.screenAngle - t.angle) % 180 || xw.isOpen && e || (xw.screenWidth = t.width, xw.screenHeight = t.height, xw.screenAngle = t.angle, xw.isOpen = !1);
- }, bw)), r <= bw && i >= yw && (xw.endTimeStamp = t), xw.isOpen = i >= yw;
+function yw() {
+ let e = mw("viewport");
+ if (YS() && e?.includes("overlays-content")) return;
+ let t = performance.now(), n = vw(), r = t - _w.startTimeStamp, i = _w.screenHeight - n.height, a = _w.screenAngle - n.angle;
+ Math.abs(a) % 180 && _w.screenWidth - n.height < hw && (_w.screenWidth = n.width, _w.screenHeight = n.height, _w.screenAngle = n.angle, i = 0), r > gw && (window.clearTimeout(_w.screenTimeout), _w.screenTimeout = window.setTimeout(() => {
+ let e = Sw(document.hasFocus() ? OS() : null), t = vw();
+ Math.abs(_w.screenAngle - t.angle) % 180 || _w.isOpen && e || (_w.screenWidth = t.width, _w.screenHeight = t.height, _w.screenAngle = t.angle, _w.isOpen = !1);
+ }, gw)), r <= gw && i >= hw && (_w.endTimeStamp = t), _w.isOpen = i >= hw;
}
-function hoe() {
- let e = Sw(), t = xw.screenAngle - e.angle;
- if (Math.abs(t) % 180 && !xw.isOpen) {
- let e = xw.screenWidth;
- xw.screenWidth = xw.screenHeight, xw.screenHeight = e;
+function yoe() {
+ let e = vw(), t = _w.screenAngle - e.angle;
+ if (Math.abs(t) % 180 && !_w.isOpen) {
+ let e = _w.screenWidth;
+ _w.screenWidth = _w.screenHeight, _w.screenHeight = e;
}
- xw.isOpen || (xw.screenAngle = e.angle);
+ _w.isOpen || (_w.screenAngle = e.angle);
}
-function goe(e) {
- let t = Ew(G(e)), n = performance.now(), r = Sw(), i = xw.screenHeight - r.height;
- i < yw && t && (xw.screenWidth = r.width, xw.screenHeight = r.height, xw.screenAngle = r.angle, xw.startTimeStamp = n), t && window.clearTimeout(xw.screenTimeout), i >= yw && t && (xw.endTimeStamp = n);
+function boe(e) {
+ let t = Sw(G(e)), n = performance.now(), r = vw(), i = _w.screenHeight - r.height;
+ i < hw && t && (_w.screenWidth = r.width, _w.screenHeight = r.height, _w.screenAngle = r.angle, _w.startTimeStamp = n), t && window.clearTimeout(_w.screenTimeout), i >= hw && t && (_w.endTimeStamp = n);
}
-function ww() {
- let e = Sw();
- OS(window.visualViewport, "resize", ZS() ? Cw : moe), OS(window.screen.orientation, "change", hoe), OS(window, "focus", goe, {
+function bw() {
+ let e = vw();
+ wS(window.visualViewport, "resize", qS() ? yw : voe), wS(window.screen.orientation, "change", yoe), wS(window, "focus", boe, {
capture: !0,
passive: !0
- }), xw.screenWidth = e.width, xw.screenHeight = e.height, xw.screenAngle = e.angle;
+ }), _w.screenWidth = e.width, _w.screenHeight = e.height, _w.screenAngle = e.angle;
}
-typeof document < "u" && (document.readyState === "loading" ? OS(document, "DOMContentLoaded", ww) : ww());
-function Tw() {
- let e = vw("viewport");
- return $S() && e?.includes("overlays-content") ? !1 : xw.isOpen ? !0 : xw.startTimeStamp ? xw.endTimeStamp >= xw.startTimeStamp ? !0 : performance.now() - xw.startTimeStamp <= bw ? xw.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;
+typeof document < "u" && (document.readyState === "loading" ? wS(document, "DOMContentLoaded", bw) : bw());
+function xw() {
+ let e = mw("viewport");
+ return YS() && e?.includes("overlays-content") ? !1 : _w.isOpen ? !0 : _w.startTimeStamp ? _w.endTimeStamp >= _w.startTimeStamp ? !0 : performance.now() - _w.startTimeStamp <= gw ? _w.endTimeStamp > 0 || window.navigator.maxTouchPoints > 0 : !1 : window.navigator.maxTouchPoints > 0;
}
-function Ew(e) {
- if (!(e instanceof Element) || !LS(e)) return !1;
- let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !poe.has(e.type);
+function Sw(e) {
+ if (!(e instanceof Element) || !NS(e)) return !1;
+ let t = e instanceof HTMLTextAreaElement, n = e instanceof HTMLElement && e.isContentEditable, r = e instanceof HTMLInputElement && !_oe.has(e.type);
return t || n || r;
}
-function Dw(e) {
- return JS() ? e.metaKey : e.ctrlKey;
+function Cw(e) {
+ return WS() ? e.metaKey : e.ctrlKey;
}
-function Ow() {
- return xw.isOpen;
+function ww() {
+ return _w.isOpen;
}
// node_modules/react-aria/dist/private/utils/useEffectEvent.mjs
-var _oe = F.useInsertionEffect ?? BS;
-function kw(e) {
+var xoe = F.useInsertionEffect ?? IS;
+function Tw(e) {
let t = (0, F.useRef)(null);
- return _oe(() => {
+ return xoe(() => {
t.current = e;
}, [e]), (0, F.useCallback)((...e) => {
let n = t.current;
@@ -23492,10 +23492,10 @@ function kw(e) {
}, []);
}
// node_modules/react-aria/dist/private/utils/useEvent.mjs
-function Aw(e, t, n, r) {
- let i = kw(n), a = n == null;
+function Ew(e, t, n, r) {
+ let i = Tw(n), a = n == null;
(0, F.useEffect)(() => {
- if (!(a || e.current == null)) return OS(e.current, t, i, r);
+ if (!(a || e.current == null)) return wS(e.current, t, i, r);
}, [
e,
t,
@@ -23504,16 +23504,16 @@ function Aw(e, t, n, r) {
]);
}
// node_modules/react-aria/dist/private/utils/useLabels.mjs
-function jw(e, t) {
+function Dw(e, t) {
let { id: n, "aria-label": r, "aria-labelledby": i } = e;
- return n = VC(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {
+ return n = LC(n), i && r ? i = [.../* @__PURE__ */ new Set([n, ...i.trim().split(/\s+/)])].join(" ") : i &&= i.trim().split(/\s+/).join(" "), !r && !i && t && (r = t), {
id: n,
"aria-label": r,
"aria-labelledby": i
};
}
// node_modules/react-aria/dist/private/i18n/utils.mjs
-var voe = /* @__PURE__ */ new Set([
+var Soe = /* @__PURE__ */ new Set([
"Arab",
"Syrc",
"Samr",
@@ -23524,7 +23524,7 @@ var voe = /* @__PURE__ */ new Set([
"Adlm",
"Rohg",
"Hebr"
-]), yoe = /* @__PURE__ */ new Set([
+]), Coe = /* @__PURE__ */ new Set([
"ae",
"ar",
"arc",
@@ -23545,19 +23545,19 @@ var voe = /* @__PURE__ */ new Set([
"ur",
"yi"
]);
-function boe(e) {
+function woe(e) {
if (Intl.Locale) {
let t = new Intl.Locale(e).maximize(), n = typeof t.getTextInfo == "function" ? t.getTextInfo() : t.textInfo;
if (n) return n.direction === "rtl";
- if (t.script) return voe.has(t.script);
+ if (t.script) return Soe.has(t.script);
}
let t = e.split("-")[0];
- return yoe.has(t);
+ return Coe.has(t);
}
// node_modules/react-aria/dist/private/i18n/useDefaultLocale.mjs
-var Mw = Symbol.for("react-aria.i18n.locale");
-function Nw() {
- let e = typeof window < "u" && window[Mw] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
+var Ow = Symbol.for("react-aria.i18n.locale");
+function kw() {
+ let e = typeof window < "u" && window[Ow] || typeof navigator < "u" && (navigator.language || navigator.userLanguage) || "en-US";
try {
Intl.DateTimeFormat.supportedLocalesOf([e]);
} catch {
@@ -23565,31 +23565,31 @@ function Nw() {
}
return {
locale: e,
- direction: boe(e) ? "rtl" : "ltr"
+ direction: woe(e) ? "rtl" : "ltr"
};
}
-var Pw = Nw(), Fw = /* @__PURE__ */ new Set();
-function Iw() {
- Pw = Nw();
- for (let e of Fw) e(Pw);
+var Aw = kw(), jw = /* @__PURE__ */ new Set();
+function Mw() {
+ Aw = kw();
+ for (let e of jw) e(Aw);
}
-function xoe() {
- let e = lC(), [t, n] = (0, F.useState)(Pw);
- return (0, F.useEffect)(() => (Fw.size === 0 && window.addEventListener("languagechange", Iw), Fw.add(n), () => {
- Fw.delete(n), Fw.size === 0 && window.removeEventListener("languagechange", Iw);
+function Toe() {
+ let e = aC(), [t, n] = (0, F.useState)(Aw);
+ return (0, F.useEffect)(() => (jw.size === 0 && window.addEventListener("languagechange", Mw), jw.add(n), () => {
+ jw.delete(n), jw.size === 0 && window.removeEventListener("languagechange", Mw);
}), []), e ? {
- locale: typeof window < "u" && window[Mw] || "en-US",
+ locale: typeof window < "u" && window[Ow] || "en-US",
direction: "ltr"
} : t;
}
// node_modules/react-aria/dist/private/i18n/I18nProvider.mjs
-var Soe = /*#__PURE__*/ F.createContext(null);
-function Lw() {
- let e = xoe();
- return (0, F.useContext)(Soe) || e;
+var Eoe = /*#__PURE__*/ F.createContext(null);
+function Nw() {
+ let e = Toe();
+ return (0, F.useContext)(Eoe) || e;
}
// node_modules/@internationalized/string/dist/private/LocalizedStringDictionary.mjs
-var Coe = Symbol.for("react-aria.i18n.locale"), woe = Symbol.for("react-aria.i18n.strings"), Rw = void 0, zw = class e {
+var Doe = Symbol.for("react-aria.i18n.locale"), Ooe = Symbol.for("react-aria.i18n.strings"), Pw = void 0, Fw = class e {
constructor(e, t = "en-US") {
this.strings = Object.fromEntries(Object.entries(e).filter(([, e]) => e)), this.defaultLocale = t;
}
@@ -23600,38 +23600,38 @@ var Coe = Symbol.for("react-aria.i18n.locale"), woe = Symbol.for("react-aria.i18
}
getStringsForLocale(e) {
let t = this.strings[e];
- return t || (t = Toe(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
+ return t || (t = koe(e, this.strings, this.defaultLocale), this.strings[e] = t), t;
}
static getGlobalDictionaryForPackage(t) {
if (typeof window > "u") return null;
- let n = window[Coe];
- if (Rw === void 0) {
- let t = window[woe];
+ let n = window[Doe];
+ if (Pw === void 0) {
+ let t = window[Ooe];
if (!t) return null;
- Rw = {};
- for (let r in t) Rw[r] = new e({ [n]: t[r] }, n);
+ Pw = {};
+ for (let r in t) Pw[r] = new e({ [n]: t[r] }, n);
}
- let r = Rw?.[t];
+ let r = Pw?.[t];
if (!r) throw Error(`Strings for package "${t}" were not included by LocalizedStringProvider. Please add it to the list passed to createLocalizedStringDictionary.`);
return r;
}
};
-function Toe(e, t, n = "en-US") {
+function koe(e, t, n = "en-US") {
if (t[e]) return t[e];
- let r = Eoe(e), i = Doe(e);
+ let r = Aoe(e), i = joe(e);
if (i && t[`${r}-${i}`]) return t[`${r}-${i}`];
if (t[r]) return t[r];
for (let e in t) if (e.startsWith(r + "-")) return t[e];
return t[n];
}
-function Eoe(e) {
+function Aoe(e) {
return Intl.Locale ? new Intl.Locale(e).language : e.split("-")[0];
}
-function Doe(e) {
+function joe(e) {
if (Intl.Locale) return new Intl.Locale(e).script;
}
// node_modules/@internationalized/string/dist/private/LocalizedStringFormatter.mjs
-var Bw = /* @__PURE__ */ new Map(), Vw = /* @__PURE__ */ new Map(), Ooe = class {
+var Iw = /* @__PURE__ */ new Map(), Lw = /* @__PURE__ */ new Map(), Moe = class {
constructor(e, t) {
this.locale = e, this.strings = t;
}
@@ -23642,36 +23642,36 @@ var Bw = /* @__PURE__ */ new Map(), Vw = /* @__PURE__ */ new Map(), Ooe = class
plural(e, t, n = "cardinal") {
let r = t["=" + e];
if (r) return typeof r == "function" ? r() : r;
- let i = this.locale + ":" + n, a = Bw.get(i);
- return a || (a = new Intl.PluralRules(this.locale, { type: n }), Bw.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
+ let i = this.locale + ":" + n, a = Iw.get(i);
+ return a || (a = new Intl.PluralRules(this.locale, { type: n }), Iw.set(i, a)), r = t[a.select(e)] || t.other, typeof r == "function" ? r() : r;
}
number(e) {
- let t = Vw.get(this.locale);
- return t || (t = new Intl.NumberFormat(this.locale), Vw.set(this.locale, t)), t.format(e);
+ let t = Lw.get(this.locale);
+ return t || (t = new Intl.NumberFormat(this.locale), Lw.set(this.locale, t)), t.format(e);
}
select(e, t) {
let n = e[t] || e.other;
return typeof n == "function" ? n() : n;
}
-}, Hw = /* @__PURE__ */ new WeakMap();
-function koe(e) {
- let t = Hw.get(e);
- return t || (t = new zw(e), Hw.set(e, t)), t;
+}, Rw = /* @__PURE__ */ new WeakMap();
+function Noe(e) {
+ let t = Rw.get(e);
+ return t || (t = new Fw(e), Rw.set(e, t)), t;
}
-function Aoe(e, t) {
- return t && zw.getGlobalDictionaryForPackage(t) || koe(e);
+function Poe(e, t) {
+ return t && Fw.getGlobalDictionaryForPackage(t) || Noe(e);
}
-function Uw(e, t) {
- let { locale: n } = Lw(), r = Aoe(e, t);
- return (0, F.useMemo)(() => new Ooe(n, r), [n, r]);
+function zw(e, t) {
+ let { locale: n } = Nw(), r = Poe(e, t);
+ return (0, F.useMemo)(() => new Moe(n, r), [n, r]);
}
// node_modules/react-aria/dist/private/utils/filterDOMProps.mjs
-var joe = /* @__PURE__ */ new Set(["id"]), Moe = /* @__PURE__ */ new Set([
+var Foe = /* @__PURE__ */ new Set(["id"]), Ioe = /* @__PURE__ */ new Set([
"aria-label",
"aria-labelledby",
"aria-describedby",
"aria-details"
-]), Noe = /* @__PURE__ */ new Set([
+]), Loe = /* @__PURE__ */ new Set([
"href",
"hrefLang",
"target",
@@ -23679,60 +23679,60 @@ var joe = /* @__PURE__ */ new Set(["id"]), Moe = /* @__PURE__ */ new Set([
"download",
"ping",
"referrerPolicy"
-]), Poe = /* @__PURE__ */ new Set([
+]), Roe = /* @__PURE__ */ new Set([
"dir",
"lang",
"hidden",
"inert",
"translate",
"suppressHydrationWarning"
-]), Ww = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), Foe = /^(data-.*)$/;
-function Gw(e, t = {}) {
+]), Bw = /* @__PURE__ */ new Set(/* @__PURE__ */ "onClick.onAuxClick.onContextMenu.onDoubleClick.onMouseDown.onMouseEnter.onMouseLeave.onMouseMove.onMouseOut.onMouseOver.onMouseUp.onTouchCancel.onTouchEnd.onTouchMove.onTouchStart.onPointerDown.onPointerMove.onPointerUp.onPointerCancel.onPointerEnter.onPointerLeave.onPointerOver.onPointerOut.onGotPointerCapture.onLostPointerCapture.onScroll.onWheel.onAnimationStart.onAnimationEnd.onAnimationIteration.onTransitionCancel.onTransitionEnd.onTransitionRun.onTransitionStart".split(".")), zoe = /^(data-.*)$/;
+function Vw(e, t = {}) {
let { labelable: n, isLink: r, global: i, events: a = i, propNames: o } = t, s = {};
- for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (joe.has(t) || n && Moe.has(t) || r && Noe.has(t) || i && Poe.has(t) || a && (Ww.has(t) || t.endsWith("Capture") && Ww.has(t.slice(0, -7))) || o?.has(t) || Foe.test(t)) && (s[t] = e[t]);
+ for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (Foe.has(t) || n && Ioe.has(t) || r && Loe.has(t) || i && Roe.has(t) || a && (Bw.has(t) || t.endsWith("Capture") && Bw.has(t.slice(0, -7))) || o?.has(t) || zoe.test(t)) && (s[t] = e[t]);
return s;
}
// node_modules/react-aria/dist/private/interactions/textSelection.mjs
-var Kw = "default", qw = "", Jw = /* @__PURE__ */ new WeakMap();
-function Yw(e) {
- if (XS() && ZS()) {
- if (Kw === "default") {
- let t = wS(e);
- qw = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
- }
- Kw = "disabled";
+var Hw = "default", Uw = "", Ww = /* @__PURE__ */ new WeakMap();
+function Gw(e) {
+ if (KS() && qS()) {
+ if (Hw === "default") {
+ let t = bS(e);
+ Uw = t.documentElement.style.webkitUserSelect, t.documentElement.style.webkitUserSelect = "none";
+ }
+ Hw = "disabled";
} else if (e instanceof HTMLElement || e instanceof SVGElement) {
let t = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- Jw.set(e, e.style[t]), e.style[t] = "none";
+ Ww.set(e, e.style[t]), e.style[t] = "none";
}
}
-function Xw(e) {
- if (XS() && ZS()) {
- if (Kw !== "disabled") return;
- Kw = "restoring", setTimeout(() => {
- FC(() => {
- if (Kw === "restoring") {
- let t = wS(e);
- t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = qw || ""), qw = "", Kw = "default";
+function Kw(e) {
+ if (KS() && qS()) {
+ if (Hw !== "disabled") return;
+ Hw = "restoring", setTimeout(() => {
+ jC(() => {
+ if (Hw === "restoring") {
+ let t = bS(e);
+ t.documentElement.style.webkitUserSelect === "none" && (t.documentElement.style.webkitUserSelect = Uw || ""), Uw = "", Hw = "default";
}
});
}, 300);
- } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && Jw.has(e)) {
- let t = Jw.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
- e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), Jw.delete(e);
+ } else if ((e instanceof HTMLElement || e instanceof SVGElement) && e && Ww.has(e)) {
+ let t = Ww.get(e), n = "userSelect" in e.style ? "userSelect" : "webkitUserSelect";
+ e.style[n] === "none" && (e.style[n] = t), e.getAttribute("style") === "" && e.removeAttribute("style"), Ww.delete(e);
}
}
// node_modules/react-aria/dist/private/utils/getNonce.mjs
-var Zw = /* @__PURE__ */ new WeakMap();
-function Qw(e) {
- let t = wS(e), n = Zw.get(t);
- return n ??= vw("csp-nonce", t), n !== void 0 && Zw.set(t, n), n;
+var qw = /* @__PURE__ */ new WeakMap();
+function Jw(e) {
+ let t = bS(e), n = qw.get(t);
+ return n ??= mw("csp-nonce", t), n !== void 0 && qw.set(t, n), n;
}
// node_modules/react-aria/dist/private/interactions/context.mjs
-var $w = F.createContext({ register: () => {} });
-$w.displayName = "PressResponderContext";
+var Yw = F.createContext({ register: () => {} });
+Yw.displayName = "PressResponderContext";
// node_modules/react-aria/dist/private/utils/useGlobalListeners.mjs
-function eT() {
+function Xw() {
let e = (0, F.useRef)(/* @__PURE__ */ new Map()), t = (0, F.useCallback)((t, n, r, i) => {
let a = i?.once ? (...t) => {
e.current.delete(r), r(...t);
@@ -23758,15 +23758,15 @@ function eT() {
};
}
// node_modules/react-aria/dist/private/interactions/usePress.mjs
-function Ioe(e) {
- let t = (0, F.useContext)($w);
+function Boe(e) {
+ let t = (0, F.useContext)(Yw);
if (t) {
let { register: n, ref: r, ...i } = t;
e = K(i, e), n();
}
- return $C(t, e.ref), e;
+ return YC(t, e.ref), e;
}
-var tT = class {
+var Zw = class {
#e;
constructor(e, t, n, r) {
this.#e = !0;
@@ -23779,9 +23779,9 @@ var tT = class {
get shouldStopPropagation() {
return this.#e;
}
-}, nT = Symbol("linkClicked"), rT = "react-aria-pressable-style", iT = "data-react-aria-pressable";
-function aT(e) {
- let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = Ioe(e), [m, h] = (0, F.useState)(!1), g = (0, F.useRef)({
+}, Qw = Symbol("linkClicked"), $w = "react-aria-pressable-style", eT = "data-react-aria-pressable";
+function tT(e) {
+ let { onPress: t, onPressChange: n, onPressStart: r, onPressEnd: i, onPressUp: a, onClick: o, isDisabled: s, isPressed: c, preventFocusOnPress: l, shouldCancelOnPointerExit: u, allowTextSelectionOnPress: d, ref: f, ...p } = Boe(e), [m, h] = (0, F.useState)(!1), g = (0, F.useRef)({
isPressed: !1,
ignoreEmulatedMouseEvents: !1,
didFirePressStart: !1,
@@ -23791,12 +23791,12 @@ function aT(e) {
isOverTarget: !1,
pointerType: null,
disposables: []
- }), { addGlobalListener: _, removeAllGlobalListeners: v } = eT(), y = (0, F.useCallback)((e, t) => {
+ }), { addGlobalListener: _, removeAllGlobalListeners: v } = Xw(), y = (0, F.useCallback)((e, t) => {
let i = g.current;
if (s || i.didFirePressStart) return !1;
let a = !0;
if (i.isTriggeringEvent = !0, r) {
- let n = new tT("pressstart", t, e);
+ let n = new Zw("pressstart", t, e);
r(n), a = n.shouldStopPropagation;
}
return n && n(!0), i.isTriggeringEvent = !1, i.didFirePressStart = !0, h(!0), a;
@@ -23810,11 +23810,11 @@ function aT(e) {
o.didFirePressStart = !1, o.isTriggeringEvent = !0;
let c = !0;
if (i) {
- let t = new tT("pressend", r, e);
+ let t = new Zw("pressend", r, e);
i(t), c = t.shouldStopPropagation;
}
if (n && n(!1), h(!1), t && a && !s) {
- let n = new tT("press", r, e);
+ let n = new Zw("press", r, e);
t(n), c &&= n.shouldStopPropagation;
}
return o.isTriggeringEvent = !1, c;
@@ -23823,19 +23823,19 @@ function aT(e) {
i,
n,
t
- ]), x = kw(b), S = kw((0, F.useCallback)((e, t) => {
+ ]), x = Tw(b), S = Tw((0, F.useCallback)((e, t) => {
let n = g.current;
if (s) return !1;
if (a) {
n.isTriggeringEvent = !0;
- let r = new tT("pressup", t, e);
+ let r = new Zw("pressup", t, e);
return a(r), n.isTriggeringEvent = !1, r.shouldStopPropagation;
}
return !0;
}, [s, a])), C = (0, F.useCallback)((e) => {
let t = g.current;
if (t.isPressed && t.target) {
- t.didFirePressStart && t.pointerType != null && b(cT(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || Xw(t.target);
+ t.didFirePressStart && t.pointerType != null && b(iT(t.target, e), t.pointerType, !1), t.isPressed = !1, t.isOverTarget = !1, t.activePointerId = null, t.pointerType = null, v(), d || Kw(t.target);
for (let e of t.disposables) e();
t.disposables = [];
}
@@ -23843,7 +23843,7 @@ function aT(e) {
d,
v,
b
- ]), w = kw(C);
+ ]), w = Tw(C);
(0, F.useEffect)(() => {
s && g.current.isPressed && w({
currentTarget: g.current.target,
@@ -23860,39 +23860,39 @@ function aT(e) {
}, [s, o]), D = (0, F.useCallback)((e, t) => {
if (!s && o) {
let n = new MouseEvent("click", e);
- HS(n, t), o(VS(n));
+ RS(n, t), o(LS(n));
}
}, [s, o]), O = (0, F.useMemo)(() => {
let e = g.current, t = {
onKeyDown(t) {
- if (sT(t.nativeEvent, t.currentTarget) && jS(t.currentTarget, G(t))) {
- lT(G(t), t.key) && t.preventDefault();
+ if (rT(t.nativeEvent, t.currentTarget) && DS(t.currentTarget, G(t))) {
+ aT(G(t), t.key) && t.preventDefault();
let r = !0;
!e.isPressed && !t.repeat && (e.target = t.currentTarget, e.isPressed = !0, e.pointerType = "keyboard", r = y(t, "keyboard"));
let i = t.currentTarget;
- _(wS(t.currentTarget), "keyup", LC((t) => {
- sT(t, i) && !t.repeat && jS(i, G(t)) && e.target && S(cT(e.target, t), "keyboard");
- }, n), !0), r && t.stopPropagation(), t.metaKey && JS() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
+ _(bS(t.currentTarget), "keyup", NC((t) => {
+ rT(t, i) && !t.repeat && DS(i, G(t)) && e.target && S(iT(e.target, t), "keyboard");
+ }, n), !0), r && t.stopPropagation(), t.metaKey && WS() && e.metaKeyEvents?.set(t.key, t.nativeEvent);
} else t.key === "Meta" && (e.metaKeyEvents = /* @__PURE__ */ new Map());
},
onClick(t) {
- if ((!t || jS(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !nC.isOpening) {
+ if ((!t || DS(t.currentTarget, G(t))) && t && t.button === 0 && !e.isTriggeringEvent && !QS.isOpening) {
let n = !0;
- if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || eC(t.nativeEvent))) {
+ if (s && t.preventDefault(), !e.ignoreEmulatedMouseEvents && !e.isPressed && (e.pointerType === "virtual" || XS(t.nativeEvent))) {
let e = y(t, "virtual"), r = S(t, "virtual"), i = x(t, "virtual");
E(t), n = e && r && i;
} else if (e.isPressed && e.pointerType !== "keyboard") {
- let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(cT(t.currentTarget, t), r), a = x(cT(t.currentTarget, t), r, !0);
+ let r = e.pointerType || t.nativeEvent.pointerType || "virtual", i = S(iT(t.currentTarget, t), r), a = x(iT(t.currentTarget, t), r, !0);
n = i && a, e.isOverTarget = !1, E(t), w(t);
}
e.ignoreEmulatedMouseEvents = !1, n && t.stopPropagation();
}
}
}, n = (t) => {
- if (e.isPressed && e.target && sT(t, e.target)) {
- lT(G(t), t.key) && t.preventDefault();
- let n = G(t), r = jS(e.target, n);
- x(cT(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && oT(e.target) && jS(e.target, n) && !t[nT] && (t[nT] = !0, nC(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
+ if (e.isPressed && e.target && rT(t, e.target)) {
+ aT(G(t), t.key) && t.preventDefault();
+ let n = G(t), r = DS(e.target, n);
+ x(iT(e.target, t), "keyboard", r), r && D(t, e.target), v(), t.key !== "Enter" && nT(e.target) && DS(e.target, n) && !t[Qw] && (t[Qw] = !0, QS(e.target, t, !1)), e.isPressed = !1, e.metaKeyEvents?.delete(t.key);
} else if (t.key === "Meta" && e.metaKeyEvents?.size) {
let t = e.metaKeyEvents;
e.metaKeyEvents = void 0;
@@ -23901,39 +23901,39 @@ function aT(e) {
};
if (typeof PointerEvent < "u") {
t.onPointerDown = (t) => {
- if (t.button !== 0 || !jS(t.currentTarget, G(t))) return;
- if (bae(t.nativeEvent)) {
+ if (t.button !== 0 || !DS(t.currentTarget, G(t))) return;
+ if (wae(t.nativeEvent)) {
e.pointerType = "virtual";
return;
}
e.pointerType = t.pointerType;
let i = !0;
if (!e.isPressed) {
- e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || Yw(e.target), i = y(t, e.pointerType);
+ e.isPressed = !0, e.isOverTarget = !0, e.activePointerId = t.pointerId, e.target = t.currentTarget, d || Gw(e.target), i = y(t, e.pointerType);
let a = G(t);
- "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(wS(t.currentTarget), "pointerup", n, !1), _(wS(t.currentTarget), "pointercancel", r, !1);
+ "releasePointerCapture" in a && ("hasPointerCapture" in a ? a.hasPointerCapture(t.pointerId) && a.releasePointerCapture(t.pointerId) : a.releasePointerCapture(t.pointerId)), _(bS(t.currentTarget), "pointerup", n, !1), _(bS(t.currentTarget), "pointercancel", r, !1);
}
i && t.stopPropagation();
}, t.onMouseDown = (t) => {
- if (jS(t.currentTarget, G(t)) && t.button === 0) {
+ if (DS(t.currentTarget, G(t)) && t.button === 0) {
if (l) {
- let n = _ae(t.target);
+ let n = xae(t.target);
n && e.disposables.push(n);
}
t.stopPropagation();
}
}, t.onPointerUp = (t) => {
- jS(t.currentTarget, G(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);
+ DS(t.currentTarget, G(t)) && e.pointerType !== "virtual" && t.button === 0 && !e.isPressed && S(t, e.pointerType || t.pointerType);
}, t.onPointerEnter = (t) => {
- t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(cT(e.target, t), e.pointerType));
+ t.pointerId === e.activePointerId && e.target && !e.isOverTarget && e.pointerType != null && (e.isOverTarget = !0, y(iT(e.target, t), e.pointerType));
}, t.onPointerLeave = (t) => {
- t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(cT(e.target, t), e.pointerType, !1), T(t));
+ t.pointerId === e.activePointerId && e.target && e.isOverTarget && e.pointerType != null && (e.isOverTarget = !1, x(iT(e.target, t), e.pointerType, !1), T(t));
};
let n = (t) => {
if (t.pointerId === e.activePointerId && e.isPressed && t.button === 0 && e.target) {
- if (jS(e.target, G(t)) && e.pointerType != null) {
+ if (DS(e.target, G(t)) && e.pointerType != null) {
let n = !1, r = setTimeout(() => {
- e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (CS(e.target), e.target.click()));
+ e.isPressed && e.target instanceof HTMLElement && (n ? w(t) : (yS(e.target), e.target.click()));
}, 80);
_(t.currentTarget, "click", () => n = !0, !0), e.disposables.push(() => clearTimeout(r));
} else w(t);
@@ -23943,7 +23943,7 @@ function aT(e) {
w(e);
};
t.onDragStart = (e) => {
- jS(e.currentTarget, G(e)) && w(e);
+ DS(e.currentTarget, G(e)) && w(e);
};
}
return t;
@@ -23960,14 +23960,14 @@ function aT(e) {
]);
return (0, F.useEffect)(() => {
if (!f) return;
- let e = wS(f.current);
- if (!e || !e.head || e.getElementById(rT)) return;
+ let e = bS(f.current);
+ if (!e || !e.head || e.getElementById($w)) return;
let t = e.createElement("style");
- t.id = rT;
- let n = Qw(e);
+ t.id = $w;
+ let n = Jw(e);
n && (t.nonce = n), t.textContent = `
@layer {
- [${iT}] {
+ [${eT}] {
touch-action: pan-x pan-y pinch-zoom;
}
}
@@ -23975,23 +23975,23 @@ function aT(e) {
}, [f]), (0, F.useEffect)(() => {
let e = g.current;
return () => {
- d || Xw(e.target ?? void 0);
+ d || Kw(e.target ?? void 0);
for (let t of e.disposables) t();
e.disposables = [];
};
}, [d]), {
isPressed: c || m,
- pressProps: K(p, O, { [iT]: !0 })
+ pressProps: K(p, O, { [eT]: !0 })
};
}
-function oT(e) {
+function nT(e) {
return e.tagName === "A" && e.hasAttribute("href");
}
-function sT(e, t) {
+function rT(e, t) {
let { key: n, code: r } = e, i = t, a = i.getAttribute("role");
- return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof TS(i).HTMLInputElement && !uT(i, n) || i instanceof TS(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && oT(i)) && n !== "Enter");
+ return (n === "Enter" || n === " " || n === "Spacebar" || r === "Space") && !(i instanceof xS(i).HTMLInputElement && !oT(i, n) || i instanceof xS(i).HTMLTextAreaElement || i.isContentEditable) && !((a === "link" || !a && nT(i)) && n !== "Enter");
}
-function cT(e, t) {
+function iT(e, t) {
let n = t.clientX, r = t.clientY;
return {
currentTarget: e,
@@ -24004,13 +24004,13 @@ function cT(e, t) {
key: t.key
};
}
-function Loe(e) {
- return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !oT(e);
+function Voe(e) {
+ return e instanceof HTMLInputElement ? !1 : e instanceof HTMLButtonElement ? e.type !== "submit" && e.type !== "reset" : !nT(e);
}
-function lT(e, t) {
- return JS() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !uT(e, t) : Loe(e);
+function aT(e, t) {
+ return WS() && t === "Enter" ? !1 : e instanceof HTMLInputElement ? t === "Enter" && (e.type === "checkbox" || e.type === "radio") ? !1 : !oT(e, t) : Voe(e);
}
-var Roe = /* @__PURE__ */ new Set([
+var Hoe = /* @__PURE__ */ new Set([
"checkbox",
"radio",
"range",
@@ -24021,11 +24021,11 @@ var Roe = /* @__PURE__ */ new Set([
"submit",
"reset"
]);
-function uT(e, t) {
- return e.type === "checkbox" || e.type === "radio" ? t === " " : Roe.has(e.type);
+function oT(e, t) {
+ return e.type === "checkbox" || e.type === "radio" ? t === " " : Hoe.has(e.type);
}
// node_modules/react-aria/dist/private/button/useButton.mjs
-function zoe(e, t) {
+function Uoe(e, t) {
let { elementType: n = "button", isDisabled: r, onPress: i, onPressStart: a, onPressEnd: o, onPressUp: s, onPressChange: c, preventFocusOnPress: l, allowFocusWhenDisabled: u, onClick: d, href: f, target: p, rel: m, type: h = "button" } = e, g;
g = n === "button" ? {
type: h,
@@ -24047,7 +24047,7 @@ function zoe(e, t) {
"aria-disabled": !r || n === "input" ? void 0 : r,
rel: n === "a" ? m : void 0
};
- let { pressProps: _, isPressed: v } = aT({
+ let { pressProps: _, isPressed: v } = tT({
onPressStart: a,
onPressEnd: o,
onPressChange: c,
@@ -24057,9 +24057,9 @@ function zoe(e, t) {
isDisabled: r,
preventFocusOnPress: l,
ref: t
- }), { focusableProps: y } = tw(e, t);
+ }), { focusableProps: y } = ZC(e, t);
u && (y.tabIndex = r ? -1 : y.tabIndex);
- let b = K(y, _, Gw(e, { labelable: !0 }));
+ let b = K(y, _, Vw(e, { labelable: !0 }));
return {
isPressed: v,
buttonProps: K(g, b, {
@@ -24073,7 +24073,7 @@ function zoe(e, t) {
};
}
// node_modules/react-aria/dist/private/utils/shadowdom/ShadowTreeWalker.mjs
-var Boe = class {
+var Woe = class {
constructor(e, t, n, r) {
this._walkerStack = [], this._currentSetFor = /* @__PURE__ */ new Set(), this._acceptNode = (e) => {
if (e.nodeType === Node.ELEMENT_NODE) {
@@ -24098,7 +24098,7 @@ var Boe = class {
return this._currentNode;
}
set currentNode(e) {
- if (!jS(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");
+ if (!DS(this.root, e)) throw Error("Cannot set currentNode to a node that is not contained by the root node.");
let t = [], n = e, r = e;
for (this._currentNode = e; n && n !== this.root;) if (n.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {
let e = n, i = this._doc.createTreeWalker(e, this.whatToShow, { acceptNode: this._acceptNode });
@@ -24112,7 +24112,7 @@ var Boe = class {
}
firstChild() {
let e = this.currentNode, t = this.nextNode();
- return jS(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);
+ return DS(e, t) ? (t && (this.currentNode = t), t) : (this.currentNode = e, null);
}
lastChild() {
let e = this._walkerStack[0].lastChild();
@@ -24176,44 +24176,44 @@ var Boe = class {
return null;
}
};
-function dT(e, t, n, r) {
- return AS() ? new Boe(e, t, n, r) : e.createTreeWalker(t, n, r);
+function sT(e, t, n, r) {
+ return ES() ? new Woe(e, t, n, r) : e.createTreeWalker(t, n, r);
}
// node_modules/react-aria/dist/private/focus/FocusScope.mjs
-var fT = /*#__PURE__*/ F.createContext(null), pT = "react-aria-focus-scope-restore", mT = null;
-function hT(e) {
- let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)([]), { parentNode: c } = (0, F.useContext)(fT) || {}, l = (0, F.useMemo)(() => new OT({ scopeRef: s }), [s]);
- BS(() => {
- let e = c || kT.root;
- if (kT.getTreeNode(e.scopeRef) && mT && !xT(mT, e.scopeRef)) {
- let t = kT.getTreeNode(mT);
+var cT = /*#__PURE__*/ F.createContext(null), lT = "react-aria-focus-scope-restore", uT = null;
+function dT(e) {
+ let { children: t, contain: n, restoreFocus: r, autoFocus: i } = e, a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)([]), { parentNode: c } = (0, F.useContext)(cT) || {}, l = (0, F.useMemo)(() => new wT({ scopeRef: s }), [s]);
+ IS(() => {
+ let e = c || TT.root;
+ if (TT.getTreeNode(e.scopeRef) && uT && !_T(uT, e.scopeRef)) {
+ let t = TT.getTreeNode(uT);
t && (e = t);
}
- e.addChild(l), kT.addNode(l);
- }, [l, c]), BS(() => {
- let e = kT.getTreeNode(s);
+ e.addChild(l), TT.addNode(l);
+ }, [l, c]), IS(() => {
+ let e = TT.getTreeNode(s);
e && (e.contain = !!n);
- }, [n]), BS(() => {
+ }, [n]), IS(() => {
let e = a.current?.nextSibling, t = [], n = (e) => e.stopPropagation();
- for (; e && e !== o.current;) t.push(e), e.addEventListener(pT, n), e = e.nextSibling;
+ for (; e && e !== o.current;) t.push(e), e.addEventListener(lT, n), e = e.nextSibling;
return s.current = t, () => {
- for (let e of t) e.removeEventListener(pT, n);
+ for (let e of t) e.removeEventListener(lT, n);
};
- }, [t]), qoe(s, r, n), Woe(s, n), Joe(s, r, n), Koe(s, i), (0, F.useEffect)(() => {
- let e = MS(wS(s.current ? s.current[0] : void 0)), t = null;
- if (yT(e, s.current)) {
- for (let n of kT.traverse()) n.scopeRef && yT(e, n.scopeRef.current) && (t = n);
- t === kT.getTreeNode(s) && (mT = t.scopeRef);
- }
- }, [s]), BS(() => () => {
- let e = kT.getTreeNode(s)?.parent?.scopeRef ?? null;
- s !== mT && !xT(s, mT) || e && !kT.getTreeNode(e) || (mT = e), kT.removeTreeNode(s);
+ }, [t]), Zoe(s, r, n), Joe(s, n), Qoe(s, r, n), Xoe(s, i), (0, F.useEffect)(() => {
+ let e = OS(bS(s.current ? s.current[0] : void 0)), t = null;
+ if (hT(e, s.current)) {
+ for (let n of TT.traverse()) n.scopeRef && hT(e, n.scopeRef.current) && (t = n);
+ t === TT.getTreeNode(s) && (uT = t.scopeRef);
+ }
+ }, [s]), IS(() => () => {
+ let e = TT.getTreeNode(s)?.parent?.scopeRef ?? null;
+ s !== uT && !_T(s, uT) || e && !TT.getTreeNode(e) || (uT = e), TT.removeTreeNode(s);
}, [s]);
- let u = (0, F.useMemo)(() => Voe(s), []), d = (0, F.useMemo)(() => ({
+ let u = (0, F.useMemo)(() => Goe(s), []), d = (0, F.useMemo)(() => ({
focusManager: u,
parentNode: l
}), [l, u]);
- return /*#__PURE__*/ F.createElement(fT.Provider, { value: d }, /*#__PURE__*/ F.createElement("span", {
+ return /*#__PURE__*/ F.createElement(cT.Provider, { value: d }, /*#__PURE__*/ F.createElement("span", {
"data-focus-scope-start": !0,
hidden: !0,
ref: a
@@ -24223,154 +24223,154 @@ function hT(e) {
ref: o
}));
}
-function Voe(e) {
+function Goe(e) {
return {
focusNext(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || MS(wS(n[0] ?? void 0)), c = n[0].previousElementSibling, l = DT(gT(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || OS(bS(n[0] ?? void 0)), c = n[0].previousElementSibling, l = CT(fT(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = yT(s, n) ? s : c;
+ l.currentNode = hT(s, n) ? s : c;
let u = l.nextNode();
- return !u && a && (l.currentNode = c, u = l.nextNode()), u && ST(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.nextNode()), u && vT(u, !0), u;
},
focusPrevious(t = {}) {
- let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || MS(wS(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = DT(gT(n), {
+ let n = e.current, { from: r, tabbable: i, wrap: a, accept: o } = t, s = r || OS(bS(n[0] ?? void 0)), c = n[n.length - 1].nextElementSibling, l = CT(fT(n), {
tabbable: i,
accept: o
}, n);
- l.currentNode = yT(s, n) ? s : c;
+ l.currentNode = hT(s, n) ? s : c;
let u = l.previousNode();
- return !u && a && (l.currentNode = c, u = l.previousNode()), u && ST(u, !0), u;
+ return !u && a && (l.currentNode = c, u = l.previousNode()), u && vT(u, !0), u;
},
focusFirst(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = DT(gT(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = CT(fT(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[0].previousElementSibling;
let o = a.nextNode();
- return o && ST(o, !0), o;
+ return o && vT(o, !0), o;
},
focusLast(t = {}) {
- let n = e.current, { tabbable: r, accept: i } = t, a = DT(gT(n), {
+ let n = e.current, { tabbable: r, accept: i } = t, a = CT(fT(n), {
tabbable: r,
accept: i
}, n);
a.currentNode = n[n.length - 1].nextElementSibling;
let o = a.previousNode();
- return o && ST(o, !0), o;
+ return o && vT(o, !0), o;
}
};
}
-function gT(e) {
+function fT(e) {
return e[0].parentElement;
}
-function _T(e) {
- let t = kT.getTreeNode(mT);
+function pT(e) {
+ let t = TT.getTreeNode(uT);
for (; t && t.scopeRef !== e;) {
if (t.contain) return !1;
t = t.parent;
}
return !0;
}
-function Hoe(e) {
- if (!e.form) return Array.from(wS(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
- let t = e.form.elements.namedItem(e.name), n = TS(e);
+function Koe(e) {
+ if (!e.form) return Array.from(bS(e).querySelectorAll(`input[type="radio"][name="${CSS.escape(e.name)}"]`)).filter((e) => !e.form);
+ let t = e.form.elements.namedItem(e.name), n = xS(e);
return t instanceof n.RadioNodeList ? Array.from(t).filter((e) => e instanceof n.HTMLInputElement) : t instanceof n.HTMLInputElement ? [t] : [];
}
-function Uoe(e) {
+function qoe(e) {
if (e.checked) return !0;
- let t = Hoe(e);
+ let t = Koe(e);
return t.length > 0 && !t.some((e) => e.checked);
}
-function Woe(e, t) {
+function Joe(e, t) {
let n = (0, F.useRef)(void 0), r = (0, F.useRef)(void 0);
- BS(() => {
+ IS(() => {
let i = e.current;
if (!t) {
r.current &&= (cancelAnimationFrame(r.current), void 0);
return;
}
- let a = wS(i ? i[0] : void 0), o = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !_T(e) || t.isComposing) return;
- let n = MS(a), r = e.current;
- if (!r || !yT(n, r)) return;
- let i = DT(gT(r), { tabbable: !0 }, r);
+ let a = bS(i ? i[0] : void 0), o = (t) => {
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !pT(e) || t.isComposing) return;
+ let n = OS(a), r = e.current;
+ if (!r || !hT(n, r)) return;
+ let i = CT(fT(r), { tabbable: !0 }, r);
if (!n) return;
i.currentNode = n;
let o = t.shiftKey ? i.previousNode() : i.nextNode();
- o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (ST(o, !0), o instanceof TS(o).HTMLInputElement && o.select());
+ o ||= (i.currentNode = t.shiftKey ? r[r.length - 1].nextElementSibling : r[0].previousElementSibling, t.shiftKey ? i.previousNode() : i.nextNode()), t.preventDefault(), o && (vT(o, !0), o instanceof xS(o).HTMLInputElement && o.select());
}, s = (t) => {
- (!mT || xT(mT, e)) && yT(G(t), e.current) ? (mT = e, n.current = G(t)) : _T(e) && !bT(G(t), e) ? n.current ? ST(n.current) : mT && mT.current && wT(mT.current) : _T(e) && (n.current = G(t));
+ (!uT || _T(uT, e)) && hT(G(t), e.current) ? (uT = e, n.current = G(t)) : pT(e) && !gT(G(t), e) ? n.current ? vT(n.current) : uT && uT.current && bT(uT.current) : pT(e) && (n.current = G(t));
}, c = (t) => {
r.current && cancelAnimationFrame(r.current), r.current = requestAnimationFrame(() => {
- let r = TC(), i = (r === "virtual" || r === null) && $S() && QS(), o = MS(a);
- if (!i && o && _T(e) && !bT(o, e)) {
- mT = e;
+ let r = xC(), i = (r === "virtual" || r === null) && YS() && JS(), o = OS(a);
+ if (!i && o && pT(e) && !gT(o, e)) {
+ uT = e;
let r = G(t);
- r && r.isConnected ? (n.current = r, ST(n.current)) : mT.current && wT(mT.current);
+ r && r.isConnected ? (n.current = r, vT(n.current)) : uT.current && bT(uT.current);
}
});
};
return a.addEventListener("keydown", o, !1), a.addEventListener("focusin", s, !1), i?.forEach((e) => e.addEventListener("focusin", s, !1)), i?.forEach((e) => e.addEventListener("focusout", c, !1)), () => {
a.removeEventListener("keydown", o, !1), a.removeEventListener("focusin", s, !1), i?.forEach((e) => e.removeEventListener("focusin", s, !1)), i?.forEach((e) => e.removeEventListener("focusout", c, !1));
};
- }, [e, t]), BS(() => () => {
+ }, [e, t]), IS(() => () => {
r.current && cancelAnimationFrame(r.current);
}, [r]);
}
-function vT(e) {
- return bT(e);
+function mT(e) {
+ return gT(e);
}
-function yT(e, t) {
- return !e || !t ? !1 : t.some((t) => jS(t, e));
+function hT(e, t) {
+ return !e || !t ? !1 : t.some((t) => DS(t, e));
}
-function bT(e, t = null) {
+function gT(e, t = null) {
if (e instanceof Element && e.closest("[data-react-aria-top-layer]")) return !0;
- for (let { scopeRef: n } of kT.traverse(kT.getTreeNode(t))) if (n && yT(e, n.current)) return !0;
+ for (let { scopeRef: n } of TT.traverse(TT.getTreeNode(t))) if (n && hT(e, n.current)) return !0;
return !1;
}
-function Goe(e) {
- return bT(e, mT);
+function Yoe(e) {
+ return gT(e, uT);
}
-function xT(e, t) {
- let n = kT.getTreeNode(t)?.parent;
+function _T(e, t) {
+ let n = TT.getTreeNode(t)?.parent;
for (; n;) {
if (n.scopeRef === e) return !0;
n = n.parent;
}
return !1;
}
-function ST(e, t = !1) {
+function vT(e, t = !1) {
if (e != null && !t) try {
- IC(e);
+ MC(e);
} catch {}
else if (e != null) try {
e.focus();
} catch {}
}
-function CT(e, t = !0) {
- let n = e[0].previousElementSibling, r = gT(e), i = DT(r, { tabbable: t }, e);
+function yT(e, t = !0) {
+ let n = e[0].previousElementSibling, r = fT(e), i = CT(r, { tabbable: t }, e);
i.currentNode = n;
let a = i.nextNode();
- return t && !a && (r = gT(e), i = DT(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
+ return t && !a && (r = fT(e), i = CT(r, { tabbable: !1 }, e), i.currentNode = n, a = i.nextNode()), a;
}
-function wT(e, t = !0) {
- ST(CT(e, t));
+function bT(e, t = !0) {
+ vT(yT(e, t));
}
-function Koe(e, t) {
+function Xoe(e, t) {
let n = F.useRef(t);
(0, F.useEffect)(() => {
- n.current && (mT = e, !yT(MS(wS(e.current ? e.current[0] : void 0)), mT.current) && e.current && wT(e.current)), n.current = !1;
+ n.current && (uT = e, !hT(OS(bS(e.current ? e.current[0] : void 0)), uT.current) && e.current && bT(e.current)), n.current = !1;
}, [e]);
}
-function qoe(e, t, n) {
- BS(() => {
+function Zoe(e, t, n) {
+ IS(() => {
if (t || n) return;
- let r = e.current, i = wS(r ? r[0] : void 0), a = (t) => {
+ let r = e.current, i = bS(r ? r[0] : void 0), a = (t) => {
let n = G(t);
- yT(n, e.current) ? mT = e : vT(n) || (mT = null);
+ hT(n, e.current) ? uT = e : mT(n) || (uT = null);
};
return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {
i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));
@@ -24381,43 +24381,43 @@ function qoe(e, t, n) {
n
]);
}
-function TT(e) {
- let t = kT.getTreeNode(mT);
+function xT(e) {
+ let t = TT.getTreeNode(uT);
for (; t && t.scopeRef !== e;) {
if (t.nodeToRestore) return !1;
t = t.parent;
}
return t?.scopeRef === e;
}
-function Joe(e, t, n) {
- let r = (0, F.useRef)(typeof document < "u" ? MS(wS(e.current ? e.current[0] : void 0)) : null);
- BS(() => {
- let r = e.current, i = wS(r ? r[0] : void 0);
+function Qoe(e, t, n) {
+ let r = (0, F.useRef)(typeof document < "u" ? OS(bS(e.current ? e.current[0] : void 0)) : null);
+ IS(() => {
+ let r = e.current, i = bS(r ? r[0] : void 0);
if (!t || n) return;
let a = () => {
- (!mT || xT(mT, e)) && yT(MS(i), e.current) && (mT = e);
+ (!uT || _T(uT, e)) && hT(OS(i), e.current) && (uT = e);
};
return i.addEventListener("focusin", a, !1), r?.forEach((e) => e.addEventListener("focusin", a, !1)), () => {
i.removeEventListener("focusin", a, !1), r?.forEach((e) => e.removeEventListener("focusin", a, !1));
};
- }, [e, n]), BS(() => {
- let r = wS(e.current ? e.current[0] : void 0);
+ }, [e, n]), IS(() => {
+ let r = bS(e.current ? e.current[0] : void 0);
if (!t) return;
let i = (t) => {
- if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !_T(e) || t.isComposing) return;
+ if (t.key !== "Tab" || t.altKey || t.ctrlKey || t.metaKey || !pT(e) || t.isComposing) return;
let n = r.activeElement;
- if (!bT(n, e) || !TT(e)) return;
- let i = kT.getTreeNode(e);
+ if (!gT(n, e) || !xT(e)) return;
+ let i = TT.getTreeNode(e);
if (!i) return;
- let a = i.nodeToRestore, o = DT(r.body, { tabbable: !0 });
+ let a = i.nodeToRestore, o = CT(r.body, { tabbable: !0 });
o.currentNode = n;
let s = t.shiftKey ? o.previousNode() : o.nextNode();
- if (a && a.isConnected && a !== r.body || (a = void 0, i.nodeToRestore = void 0), (!s || !bT(s, e)) && a) {
+ if (a && a.isConnected && a !== r.body || (a = void 0, i.nodeToRestore = void 0), (!s || !gT(s, e)) && a) {
o.currentNode = a;
do
s = t.shiftKey ? o.previousNode() : o.nextNode();
- while (bT(s, e));
- t.preventDefault(), t.stopPropagation(), s ? ST(s, !0) : vT(a) ? ST(a, !0) : n.blur();
+ while (gT(s, e));
+ t.preventDefault(), t.stopPropagation(), s ? vT(s, !0) : mT(a) ? vT(a, !0) : n.blur();
}
};
return n || r.addEventListener("keydown", i, !0), () => {
@@ -24427,31 +24427,31 @@ function Joe(e, t, n) {
e,
t,
n
- ]), BS(() => {
- let n = wS(e.current ? e.current[0] : void 0);
+ ]), IS(() => {
+ let n = bS(e.current ? e.current[0] : void 0);
if (!t) return;
- let i = kT.getTreeNode(e);
+ let i = TT.getTreeNode(e);
if (i) return i.nodeToRestore = r.current ?? void 0, () => {
- let r = kT.getTreeNode(e);
+ let r = TT.getTreeNode(e);
if (!r) return;
- let i = r.nodeToRestore, a = MS(n);
- if (t && i && (a && bT(a, e) || a === n.body && TT(e))) {
- let t = kT.clone();
+ let i = r.nodeToRestore, a = OS(n);
+ if (t && i && (a && gT(a, e) || a === n.body && xT(e))) {
+ let t = TT.clone();
requestAnimationFrame(() => {
if (n.activeElement === n.body) {
let n = t.getTreeNode(e);
for (; n;) {
if (n.nodeToRestore && n.nodeToRestore.isConnected) {
- ET(n.nodeToRestore);
+ ST(n.nodeToRestore);
return;
}
n = n.parent;
}
for (n = t.getTreeNode(e); n;) {
- if (n.scopeRef && n.scopeRef.current && kT.getTreeNode(n.scopeRef)) {
- let e = CT(n.scopeRef.current, !0);
+ if (n.scopeRef && n.scopeRef.current && TT.getTreeNode(n.scopeRef)) {
+ let e = yT(n.scopeRef.current, !0);
if (e) {
- ET(e);
+ ST(e);
return;
}
}
@@ -24463,21 +24463,21 @@ function Joe(e, t, n) {
};
}, [e, t]);
}
-function ET(e) {
- e.dispatchEvent(new CustomEvent(pT, {
+function ST(e) {
+ e.dispatchEvent(new CustomEvent(lT, {
bubbles: !0,
cancelable: !0
- })) && ST(e);
+ })) && vT(e);
}
-function DT(e, t, n) {
- let r = t?.tabbable ? RS : LS, i = wS(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = dT(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
- return jS(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!Uoe(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || yT(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
+function CT(e, t, n) {
+ let r = t?.tabbable ? PS : NS, i = bS(e?.nodeType === Node.ELEMENT_NODE ? e : null), a = sT(i, e || i, NodeFilter.SHOW_ELEMENT, { acceptNode(e) {
+ return DS(t?.from, e) || t?.tabbable && e.tagName === "INPUT" && e.getAttribute("type") === "radio" && (!qoe(e) || a.currentNode.tagName === "INPUT" && a.currentNode.type === "radio" && a.currentNode.name === e.name) ? NodeFilter.FILTER_REJECT : r(e) && (!n || hT(e, n)) && (!t?.accept || t.accept(e)) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
} });
return t?.from && (a.currentNode = t.from), a;
}
-var Yoe = class e {
+var $oe = class e {
constructor() {
- this.fastMap = /* @__PURE__ */ new Map(), this.root = new OT({ scopeRef: null }), this.fastMap.set(null, this.root);
+ this.fastMap = /* @__PURE__ */ new Map(), this.root = new wT({ scopeRef: null }), this.fastMap.set(null, this.root);
}
get size() {
return this.fastMap.size;
@@ -24488,7 +24488,7 @@ var Yoe = class e {
addTreeNode(e, t, n) {
let r = this.fastMap.get(t ?? null);
if (!r) return;
- let i = new OT({ scopeRef: e });
+ let i = new wT({ scopeRef: e });
r.addChild(i), i.parent = r, this.fastMap.set(e, i), n && (i.nodeToRestore = n);
}
addNode(e) {
@@ -24499,7 +24499,7 @@ var Yoe = class e {
let t = this.fastMap.get(e);
if (!t) return;
let n = t.parent;
- for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && yT(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);
+ for (let e of this.traverse()) e !== t && t.nodeToRestore && e.nodeToRestore && t.scopeRef && t.scopeRef.current && hT(e.nodeToRestore, t.scopeRef.current) && (e.nodeToRestore = t.nodeToRestore);
let r = t.children;
n && (n.removeChild(t), r.size > 0 && r.forEach((e) => n && n.addChild(e))), this.fastMap.delete(t.scopeRef);
}
@@ -24511,7 +24511,7 @@ var Yoe = class e {
for (let e of this.traverse()) t.addTreeNode(e.scopeRef, e.parent?.scopeRef ?? null, e.nodeToRestore);
return t;
}
-}, OT = class {
+}, wT = class {
constructor(e) {
this.children = /* @__PURE__ */ new Set(), this.contain = !1, this.scopeRef = e.scopeRef;
}
@@ -24521,13 +24521,13 @@ var Yoe = class e {
removeChild(e) {
this.children.delete(e), e.parent = void 0;
}
-}, kT = new Yoe(), AT = 7e3, jT = null;
-function MT(e, t = "assertive", n = AT) {
- jT ? jT.announce(e, t, n) : (jT = new Xoe(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? jT.announce(e, t, n) : setTimeout(() => {
- jT?.isAttached() && jT?.announce(e, t, n);
+}, TT = new $oe(), ET = 7e3, DT = null;
+function OT(e, t = "assertive", n = ET) {
+ DT ? DT.announce(e, t, n) : (DT = new ese(), (typeof IS_REACT_ACT_ENVIRONMENT == "boolean" ? IS_REACT_ACT_ENVIRONMENT : typeof jest < "u") ? DT.announce(e, t, n) : setTimeout(() => {
+ DT?.isAttached() && DT?.announce(e, t, n);
}, 100));
}
-var Xoe = class {
+var ese = class {
constructor() {
this.node = null, this.assertiveLog = null, this.politeLog = null, typeof document < "u" && (this.node = document.createElement("div"), this.node.dataset.liveAnnouncer = "true", Object.assign(this.node.style, {
border: 0,
@@ -24552,7 +24552,7 @@ var Xoe = class {
destroy() {
this.node &&= (document.body.removeChild(this.node), null);
}
- announce(e, t = "assertive", n = AT) {
+ announce(e, t = "assertive", n = ET) {
if (!this.node) return;
let r = document.createElement("div");
typeof e == "object" ? (r.setAttribute("role", "img"), r.setAttribute("aria-labelledby", e["aria-labelledby"])) : r.textContent = e, t === "assertive" ? this.assertiveLog?.appendChild(r) : this.politeLog?.appendChild(r), e !== "" && setTimeout(() => {
@@ -24564,8 +24564,8 @@ var Xoe = class {
}
};
// node_modules/react-aria/dist/private/utils/useUpdateEffect.mjs
-function NT(e, t) {
- let n = (0, F.useRef)(!0), r = (0, F.useRef)(null), i = kw(e);
+function kT(e, t) {
+ let n = (0, F.useRef)(!0), r = (0, F.useRef)(null), i = Tw(e);
(0, F.useEffect)(() => (n.current = !0, () => {
n.current = !1;
}), []), (0, F.useEffect)(() => {
@@ -24574,30 +24574,30 @@ function NT(e, t) {
}, t);
}
// node_modules/react-aria/dist/private/utils/isScrollable.mjs
-function PT(e, t) {
+function AT(e, t) {
if (!e) return !1;
let n = window.getComputedStyle(e), r = document.scrollingElement || document.documentElement, i = /(auto|scroll)/.test(n.overflow + n.overflowX + n.overflowY);
return e === r && n.overflow !== "hidden" && (i = !0), i && t && (i = e.scrollHeight !== e.clientHeight || e.scrollWidth !== e.clientWidth), i;
}
// node_modules/react-aria/dist/private/utils/getScrollParent.mjs
-function FT(e, t) {
+function jT(e, t) {
let n = e;
- for (PT(n, t) && (n = n.parentElement); n && !PT(n, t);) n = n.parentElement;
+ for (AT(n, t) && (n = n.parentElement); n && !AT(n, t);) n = n.parentElement;
return n || document.scrollingElement || document.documentElement;
}
// node_modules/react-aria/dist/private/utils/getScrollParents.mjs
-function IT(e, t) {
+function MT(e, t) {
let n = [], r = document.scrollingElement || document.documentElement;
- for (; e && (PT(e, t) && n.push(e), e !== r);) e = e.parentElement;
+ for (; e && (AT(e, t) && n.push(e), e !== r);) e = e.parentElement;
return n;
}
// node_modules/react-aria/dist/private/utils/scrollIntoView.mjs
-function LT(e, t, n = {}) {
- e !== t && Zoe(e, t, t.getBoundingClientRect(), n);
+function NT(e, t, n = {}) {
+ e !== t && tse(e, t, t.getBoundingClientRect(), n);
}
-function Zoe(e, t, n, r = {}) {
+function tse(e, t, n, r = {}) {
let { block: i = "nearest", inline: a = "nearest" } = r, o = e.scrollTop, s = e.scrollLeft, c = e.getBoundingClientRect(), l = window.getComputedStyle(t), u = window.getComputedStyle(e), d = document.scrollingElement || document.documentElement, f = e === d, p = e === d ? 0 : c.top, m = e === d ? e.clientHeight : c.bottom, h = e === d ? 0 : c.left, g = e === d ? e.clientWidth : c.right, _ = parseFloat(l.scrollMarginTop) || 0, v = parseFloat(l.scrollMarginBottom) || 0, y = parseFloat(l.scrollMarginLeft) || 0, b = parseFloat(l.scrollMarginRight) || 0, x = parseFloat(u.scrollPaddingTop) || 0, S = parseFloat(u.scrollPaddingBottom) || 0, C = parseFloat(u.scrollPaddingLeft) || 0, w = parseFloat(u.scrollPaddingRight) || 0, T = parseFloat(u.borderTopWidth) || 0, E = parseFloat(u.borderBottomWidth) || 0, D = parseFloat(u.borderLeftWidth) || 0, O = parseFloat(u.borderRightWidth) || 0, k = n.top - _, A = n.bottom + v, j = n.left - y, M = n.right + b, ee = e === d ? 0 : D + O, N = e === d ? 0 : T + E, te = e === d ? 0 : e.offsetWidth - e.clientWidth - ee, P = e === d ? 0 : e.offsetHeight - e.clientHeight - N, ne = p + (f ? 0 : T) + x, re = m - (f ? 0 : E) - S - P, F = h + (f ? 0 : D) + C, I = g - (f ? 0 : O) - w;
- XS() && ZS() || u.direction === "ltr" ? I -= te : u.direction === "rtl" && (F += te);
+ KS() && qS() || u.direction === "ltr" ? I -= te : u.direction === "rtl" && (F += te);
let ie = k < ne || A > re, ae = j < F || M > I;
if (ie && i === "start") o += k - ne;
else if (ie && i === "center") o += (k + A) / 2 - (ne + re) / 2;
@@ -24618,7 +24618,7 @@ function Zoe(e, t, n, r = {}) {
top: o
});
}
-function RT(e, t = {}) {
+function PT(e, t = {}) {
let { containingElement: n } = t;
if (e && e.isConnected) {
let t = document.scrollingElement || document.documentElement;
@@ -24631,45 +24631,45 @@ function RT(e, t = {}) {
inline: "center"
}), e.scrollIntoView?.({ block: "nearest" }));
} else {
- let { left: t, top: r } = e.getBoundingClientRect(), i = IT(e, !0);
- for (let t of i) LT(t, e);
+ let { left: t, top: r } = e.getBoundingClientRect(), i = MT(e, !0);
+ for (let t of i) NT(t, e);
let { left: a, top: o } = e.getBoundingClientRect();
if (Math.abs(t - a) > 1 || Math.abs(r - o) > 1) {
- i = n ? IT(n, !0) : [];
- for (let e of i) LT(e, n, {
+ i = n ? MT(n, !0) : [];
+ for (let e of i) NT(e, n, {
block: "center",
inline: "center"
});
- for (let t of IT(e, !0)) LT(t, e);
+ for (let t of MT(e, !0)) NT(t, e);
}
}
}
}
// node_modules/react-aria/dist/private/utils/useDescription.mjs
-var Qoe = 0, zT = /* @__PURE__ */ new Map();
-function BT(e) {
+var nse = 0, FT = /* @__PURE__ */ new Map();
+function IT(e) {
let [t, n] = (0, F.useState)();
- return BS(() => {
+ return IS(() => {
if (!e) return;
- let t = zT.get(e);
+ let t = FT.get(e);
if (t) n(t.element.id);
else {
- let r = `react-aria-description-${Qoe++}`;
+ let r = `react-aria-description-${nse++}`;
n(r);
let i = document.createElement("div");
i.id = r, i.style.display = "none", i.textContent = e, document.body.appendChild(i), t = {
refCount: 0,
element: i
- }, zT.set(e, t);
+ }, FT.set(e, t);
}
return t.refCount++, () => {
- t && --t.refCount === 0 && (t.element.remove(), zT.delete(e));
+ t && --t.refCount === 0 && (t.element.remove(), FT.delete(e));
};
}, [e]), { "aria-describedby": e ? t : void 0 };
}
// node_modules/react-aria/dist/private/utils/useFormReset.mjs
-function VT(e, t, n) {
- let r = kw((e) => {
+function LT(e, t, n) {
+ let r = Tw((e) => {
n && !e.defaultPrevented && n(t);
});
(0, F.useEffect)(() => {
@@ -24680,21 +24680,21 @@ function VT(e, t, n) {
}, [e]);
}
// node_modules/react-aria/dist/private/form/useFormValidation.mjs
-function HT(e, t, n) {
+function RT(e, t, n) {
let { validationBehavior: r, focus: i } = e;
- BS(() => {
+ IS(() => {
if (r === "native" && n?.current && "setCustomValidity" in n.current && !n.current.disabled) {
let e = t.realtimeValidation.isInvalid ? t.realtimeValidation.validationErrors.join(" ") || "Invalid value." : "";
- n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(ese(n.current));
+ n.current.setCustomValidity(e), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(ise(n.current));
}
});
- let a = (0, F.useRef)(!1), o = kw(() => {
+ let a = (0, F.useRef)(!1), o = Tw(() => {
a.current || t.resetValidation();
- }), s = kw((e) => {
+ }), s = Tw((e) => {
t.displayValidation.isInvalid || t.commitValidation();
let r = n?.current?.form;
- !e.defaultPrevented && n && r && tse(r) === n.current && (i ? i() : n.current?.focus(), EC("keyboard")), e.preventDefault();
- }), c = kw(() => {
+ !e.defaultPrevented && n && r && ase(r) === n.current && (i ? i() : n.current?.focus(), SC("keyboard")), e.preventDefault();
+ }), c = Tw(() => {
t.commitValidation();
});
(0, F.useEffect)(() => {
@@ -24708,7 +24708,7 @@ function HT(e, t, n) {
};
}, [n, r]);
}
-function $oe(e) {
+function rse(e) {
let t = e.validity;
return {
badInput: t.badInput,
@@ -24724,14 +24724,14 @@ function $oe(e) {
valid: t.valid
};
}
-function ese(e) {
+function ise(e) {
return {
isInvalid: !e.validity.valid,
- validationDetails: $oe(e),
+ validationDetails: rse(e),
validationErrors: e.validationMessage ? [e.validationMessage] : []
};
}
-function tse(e) {
+function ase(e) {
for (let t = 0; t < e.elements.length; t++) {
let n = e.elements[t];
if (n.validity?.valid === !1) return n;
@@ -24739,23 +24739,23 @@ function tse(e) {
return null;
}
// node_modules/react-aria/dist/private/utils/useSlot.mjs
-function nse(e = !0) {
+function ose(e = !0) {
let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(!1), i = (0, F.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
- return BS(() => {
+ return IS(() => {
r.current || n(!1);
}, []), [i, t];
}
-function UT(e = !0) {
- let t = VC(), [n, r] = nse(e);
+function zT(e = !0) {
+ let t = LC(), [n, r] = ose(e);
return {
id: r ? t : void 0,
ref: n
};
}
// node_modules/react-stately/dist/private/form/useFormValidationState.mjs
-var WT = {
+var BT = {
badInput: !1,
customError: !1,
patternMismatch: !1,
@@ -24767,18 +24767,18 @@ var WT = {
typeMismatch: !1,
valueMissing: !1,
valid: !0
-}, GT = {
- ...WT,
+}, VT = {
+ ...BT,
customError: !0,
valid: !1
-}, KT = {
+}, HT = {
isInvalid: !1,
- validationDetails: WT,
+ validationDetails: BT,
validationErrors: []
-}, rse = (0, F.createContext)({}), qT = "__reactAriaFormValidationState";
-function JT(e) {
+}, sse = (0, F.createContext)({}), UT = "__reactAriaFormValidationState";
+function WT(e) {
if (e.__reactAriaFormValidationState) {
- let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[qT];
+ let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: i, commitValidation: a } = e[UT];
return {
realtimeValidation: t,
displayValidation: n,
@@ -24787,70 +24787,70 @@ function JT(e) {
commitValidation: a
};
}
- return ise(e);
+ return cse(e);
}
-function ise(e) {
+function cse(e) {
let { isInvalid: t, validationState: n, name: r, value: i, builtinValidation: a, validate: o, validationBehavior: s = "aria" } = e;
n && (t ||= n === "invalid");
let c = t === void 0 ? null : {
isInvalid: t,
validationErrors: [],
- validationDetails: GT
- }, l = (0, F.useMemo)(() => !o || i == null ? null : XT(ase(o, i)), [o, i]);
+ validationDetails: VT
+ }, l = (0, F.useMemo)(() => !o || i == null ? null : KT(lse(o, i)), [o, i]);
a?.validationDetails.valid && (a = void 0);
- let u = (0, F.useContext)(rse), d = (0, F.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => YT(u[e])) : YT(u[r]) : [], [u, r]), [f, p] = (0, F.useState)(u), [m, h] = (0, F.useState)(!1);
+ let u = (0, F.useContext)(sse), d = (0, F.useMemo)(() => r ? Array.isArray(r) ? r.flatMap((e) => GT(u[e])) : GT(u[r]) : [], [u, r]), [f, p] = (0, F.useState)(u), [m, h] = (0, F.useState)(!1);
u !== f && (p(u), h(!1));
- let g = (0, F.useMemo)(() => XT(m ? [] : d), [m, d]), _ = (0, F.useRef)(KT), [v, y] = (0, F.useState)(KT), b = (0, F.useRef)(KT), x = () => {
+ let g = (0, F.useMemo)(() => KT(m ? [] : d), [m, d]), _ = (0, F.useRef)(HT), [v, y] = (0, F.useState)(HT), b = (0, F.useRef)(HT), x = () => {
if (!S) return;
C(!1);
let e = l || a || _.current;
- ZT(e, b.current) || (b.current = e, y(e));
+ qT(e, b.current) || (b.current = e, y(e));
}, [S, C] = (0, F.useState)(!1);
return (0, F.useEffect)(x), {
- realtimeValidation: c || g || l || a || KT,
+ realtimeValidation: c || g || l || a || HT,
displayValidation: s === "native" ? c || g || v : c || g || l || a || v,
updateValidation(e) {
- s === "aria" && !ZT(v, e) ? y(e) : _.current = e;
+ s === "aria" && !qT(v, e) ? y(e) : _.current = e;
},
resetValidation() {
- let e = KT;
- ZT(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
+ let e = HT;
+ qT(e, b.current) || (b.current = e, y(e)), s === "native" && C(!1), h(!0);
},
commitValidation() {
s === "native" && C(!0), h(!0);
}
};
}
-function YT(e) {
+function GT(e) {
return e ? Array.isArray(e) ? e : [e] : [];
}
-function ase(e, t) {
+function lse(e, t) {
if (typeof e == "function") {
let n = e(t);
- if (n && typeof n != "boolean") return YT(n);
+ if (n && typeof n != "boolean") return GT(n);
}
return [];
}
-function XT(e) {
+function KT(e) {
return e.length ? {
isInvalid: !0,
validationErrors: e,
- validationDetails: GT
+ validationDetails: VT
} : null;
}
-function ZT(e, t) {
+function qT(e, t) {
return e === t || !!e && !!t && e.isInvalid === t.isInvalid && e.validationErrors.length === t.validationErrors.length && e.validationErrors.every((e, n) => e === t.validationErrors[n]) && Object.entries(e.validationDetails).every(([e, n]) => t.validationDetails[e] === n);
}
// node_modules/react-aria/dist/private/toggle/useToggle.mjs
-function QT(e, t, n) {
- let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = JT({
+function JT(e, t, n) {
+ let { isDisabled: r = !1, isReadOnly: i = !1, value: a, name: o, form: s, children: c, isRequired: l, validationBehavior: u = "aria", "aria-label": d, "aria-labelledby": f, "aria-describedby": p, onPressStart: m, onPressEnd: h, onPressChange: g, onPress: _, onPressUp: v, onClick: y } = e, b = WT({
...e,
value: t.isSelected
}), { isInvalid: x, validationErrors: S, validationDetails: C } = b.displayValidation;
- HT(e, b, n);
+ RT(e, b, n);
let w = (e) => {
e.stopPropagation(), t.setSelected(G(e).checked);
- }, { pressProps: T, isPressed: E } = aT({
+ }, { pressProps: T, isPressed: E } = tT({
onPressStart: m,
onPressEnd: h,
onPressChange: g,
@@ -24858,7 +24858,7 @@ function QT(e, t, n) {
onPressUp: v,
onClick: y,
isDisabled: r
- }), [D, O] = (0, F.useState)(!1), { pressProps: k } = aT({
+ }), [D, O] = (0, F.useState)(!1), { pressProps: k } = tT({
onPressStart(e) {
e.pointerType === "keyboard" || e.pointerType === "virtual" ? e.continuePropagation() : (m?.(e), g?.(!0), O(!0));
},
@@ -24875,13 +24875,13 @@ function QT(e, t, n) {
return;
}
_?.(r), t.toggle(), n.current?.focus();
- let { [qT]: i } = e, { commitValidation: a } = i || b;
+ let { [UT]: i } = e, { commitValidation: a } = i || b;
a();
},
isDisabled: r || i
- }), { focusableProps: A } = tw(e, n), j = K(T, A), M = Gw(e, { labelable: !0 });
- VT(n, t.defaultSelected, t.setSelected);
- let ee = UT(), N = UT();
+ }), { focusableProps: A } = ZC(e, n), j = K(T, A), M = Vw(e, { labelable: !0 });
+ LT(n, t.defaultSelected, t.setSelected);
+ let ee = zT(), N = zT();
return {
labelProps: K(k, { onClick: (e) => e.preventDefault() }),
inputProps: K(M, {
@@ -24917,8 +24917,8 @@ function QT(e, t, n) {
};
}
// node_modules/react-aria/dist/private/checkbox/useCheckbox.mjs
-function $T(e, t, n) {
- let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = QT(e, t, n), { isIndeterminate: m } = e;
+function YT(e, t, n) {
+ let { labelProps: r, inputProps: i, descriptionProps: a, errorMessageProps: o, isSelected: s, isPressed: c, isDisabled: l, isReadOnly: u, isInvalid: d, validationErrors: f, validationDetails: p } = JT(e, t, n), { isIndeterminate: m } = e;
return (0, F.useEffect)(() => {
n.current && (n.current.indeterminate = !!m);
}), {
@@ -24936,17 +24936,17 @@ function $T(e, t, n) {
};
}
// node_modules/react-aria/dist/private/checkbox/utils.mjs
-var ose = /* @__PURE__ */ new WeakMap();
+var use = /* @__PURE__ */ new WeakMap();
// node_modules/react-aria/dist/private/label/useLabel.mjs
-function eE(e) {
+function XT(e) {
let { id: t, label: n, "aria-labelledby": r, "aria-label": i, labelElementType: a = "label" } = e;
- t = VC(t);
- let o = VC(), s = {};
+ t = LC(t);
+ let o = LC(), s = {};
n && (r = r ? `${o} ${r}` : o, s = {
id: o,
htmlFor: a === "label" ? t : void 0
});
- let c = jw({
+ let c = Dw({
id: t,
"aria-label": i,
"aria-labelledby": r
@@ -24957,13 +24957,13 @@ function eE(e) {
};
}
// node_modules/react-aria/dist/private/label/useField.mjs
-function tE(e) {
- let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = eE(e), s = HC([
+function ZT(e) {
+ let { description: t, errorMessage: n, isInvalid: r, validationState: i } = e, { labelProps: a, fieldProps: o } = XT(e), s = RC([
!!t,
!!n,
r,
i
- ]), c = HC([
+ ]), c = RC([
!!t,
!!n,
r,
@@ -24981,26 +24981,26 @@ function tE(e) {
};
}
// node_modules/react-aria/dist/private/interactions/useFocusWithin.mjs
-function nE(e) {
- let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, F.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = eT(), c = (0, F.useCallback)((e) => {
- jS(e.currentTarget, G(e)) && a.current.isFocusWithin && !jS(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
+function QT(e) {
+ let { isDisabled: t, onBlurWithin: n, onFocusWithin: r, onFocusWithinChange: i } = e, a = (0, F.useRef)({ isFocusWithin: !1 }), { addGlobalListener: o, removeAllGlobalListeners: s } = Xw(), c = (0, F.useCallback)((e) => {
+ DS(e.currentTarget, G(e)) && a.current.isFocusWithin && !DS(e.currentTarget, e.relatedTarget) && (a.current.isFocusWithin = !1, s(), n && n(e), i && i(!1));
}, [
n,
i,
a,
s
- ]), l = US(c), u = (0, F.useCallback)((e) => {
- if (!jS(e.currentTarget, G(e))) return;
- let t = G(e), n = wS(t), s = MS(n);
+ ]), l = zS(c), u = (0, F.useCallback)((e) => {
+ if (!DS(e.currentTarget, G(e))) return;
+ let t = G(e), n = bS(t), s = OS(n);
if (!a.current.isFocusWithin && s === t) {
r && r(e), i && i(!0), a.current.isFocusWithin = !0, l(e);
let t = e.currentTarget;
o(n, "focus", (e) => {
let r = G(e);
- if (a.current.isFocusWithin && !jS(t, r)) {
+ if (a.current.isFocusWithin && !DS(t, r)) {
let e = new n.defaultView.FocusEvent("blur", { relatedTarget: r });
- HS(e, t);
- let i = VS(e);
+ RS(e, t);
+ let i = LS(e);
c(i);
}
}, { capture: !0 });
@@ -25021,14 +25021,14 @@ function nE(e) {
} };
}
// node_modules/react-stately/dist/private/utils/useControlledState.mjs
-var sse = F.useInsertionEffect ?? F.useLayoutEffect;
-function rE(e, t, n) {
+var dse = F.useInsertionEffect ?? F.useLayoutEffect;
+function $T(e, t, n) {
let [r, i] = (0, F.useState)(e || t), a = (0, F.useRef)(r), o = (0, F.useRef)(e !== void 0), s = e !== void 0;
(0, F.useEffect)(() => {
o.current, o.current = s;
}, [s]);
let c = s ? e : r;
- sse(() => {
+ dse(() => {
a.current = c;
});
let [, l] = (0, F.useReducer)(() => ({}), {});
@@ -25038,8 +25038,8 @@ function rE(e, t, n) {
}, [n])];
}
// node_modules/react-stately/dist/private/toggle/useToggleState.mjs
-function iE(e = {}) {
- let { isReadOnly: t } = e, [n, r] = rE(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, F.useState)(n);
+function eE(e = {}) {
+ let { isReadOnly: t } = e, [n, r] = $T(e.isSelected, e.defaultSelected || !1, e.onChange), [i] = (0, F.useState)(n);
function a(e) {
t || r(e);
}
@@ -25054,26 +25054,26 @@ function iE(e = {}) {
};
}
// node_modules/react-aria/dist/private/checkbox/useCheckboxGroupItem.mjs
-function cse(e, t, n) {
- let r = iE({
+function fse(e, t, n) {
+ let r = eE({
isReadOnly: e.isReadOnly || t.isReadOnly,
isSelected: t.isSelected(e.value),
defaultSelected: t.defaultValue.includes(e.value),
onChange(n) {
n ? t.addValue(e.value) : t.removeValue(e.value), e.onChange && e.onChange(n);
}
- }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = ose.get(t);
+ }), { name: i, form: a, descriptionId: o, errorMessageId: s, validationBehavior: c } = use.get(t);
c = e.validationBehavior ?? c;
- let { realtimeValidation: l } = JT({
+ let { realtimeValidation: l } = WT({
...e,
value: r.isSelected,
name: void 0,
validationBehavior: "aria"
- }), u = (0, F.useRef)(KT), d = () => {
+ }), u = (0, F.useRef)(HT), d = () => {
t.setInvalid(e.value, l.isInvalid ? l : u.current);
};
(0, F.useEffect)(d);
- let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = $T({
+ let f = t.realtimeValidation.isInvalid ? t.realtimeValidation : l, p = c === "native" ? t.displayValidation : f, m = YT({
...e,
isReadOnly: e.isReadOnly || t.isReadOnly,
isDisabled: e.isDisabled || t.isDisabled,
@@ -25081,7 +25081,7 @@ function cse(e, t, n) {
form: e.form || a,
isRequired: e.isRequired ?? t.isRequired,
validationBehavior: c,
- [qT]: {
+ [UT]: {
realtimeValidation: f,
displayValidation: p,
resetValidation: t.resetValidation,
@@ -25104,10 +25104,10 @@ function cse(e, t, n) {
};
}
// node_modules/react-stately/dist/private/utils/number.mjs
-function aE(e, t = -Infinity, n = Infinity) {
+function tE(e, t = -Infinity, n = Infinity) {
return Math.min(Math.max(e, t), n);
}
-function oE(e, t) {
+function nE(e, t) {
let n = e, r = 0, i = t.toString(), a = i.toLowerCase().indexOf("e-");
if (a > 0) r = Math.abs(Math.floor(Math.log10(Math.abs(t)))) + a;
else {
@@ -25120,23 +25120,23 @@ function oE(e, t) {
}
return n;
}
-function sE(e, t, n, r) {
+function rE(e, t, n, r) {
t = Number(t), n = Number(n);
- let i = (e - (isNaN(t) ? 0 : t)) % r, a = oE(Math.abs(i) * 2 >= r ? e + Math.sign(i) * (r - Math.abs(i)) : e - i, r);
- return isNaN(t) ? !isNaN(n) && a > n && (a = Math.floor(oE(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(oE((n - t) / r, r)) * r), a = oE(a, r), a;
+ let i = (e - (isNaN(t) ? 0 : t)) % r, a = nE(Math.abs(i) * 2 >= r ? e + Math.sign(i) * (r - Math.abs(i)) : e - i, r);
+ return isNaN(t) ? !isNaN(n) && a > n && (a = Math.floor(nE(n / r, r)) * r) : a < t ? a = t : !isNaN(n) && a > n && (a = t + Math.floor(nE((n - t) / r, r)) * r), a = nE(a, r), a;
}
// node_modules/@internationalized/number/dist/private/NumberFormatter.mjs
-var cE = /* @__PURE__ */ new Map(), lE = !1;
+var iE = /* @__PURE__ */ new Map(), aE = !1;
try {
- lE = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";
+ aE = new Intl.NumberFormat("de-DE", { signDisplay: "exceptZero" }).resolvedOptions().signDisplay === "exceptZero";
} catch {}
-var lse = class {
+var pse = class {
constructor(e, t = {}) {
- this.numberFormatter = use(e, t), this.options = t;
+ this.numberFormatter = mse(e, t), this.options = t;
}
format(e) {
let t = "";
- return t = !lE && this.options.signDisplay != null ? dse(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;
+ return t = !aE && this.options.signDisplay != null ? hse(this.numberFormatter, this.options.signDisplay, e) : this.numberFormatter.format(e), t;
}
formatToParts(e) {
return this.numberFormatter.formatToParts(e);
@@ -25168,21 +25168,21 @@ var lse = class {
}
resolvedOptions() {
let e = this.numberFormatter.resolvedOptions();
- return !lE && this.options.signDisplay != null && (e = {
+ return !aE && this.options.signDisplay != null && (e = {
...e,
signDisplay: this.options.signDisplay
}), e;
}
};
-function use(e, t = {}) {
+function mse(e, t = {}) {
let { numberingSystem: n } = t;
n && e.includes("-nu-") && (e.includes("-u-") || (e += "-u-"), e += `-nu-${n}`);
let r = e + (t ? Object.entries(t).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
- if (cE.has(r)) return cE.get(r);
+ if (iE.has(r)) return iE.get(r);
let i = new Intl.NumberFormat(e, t);
- return cE.set(r, i), i;
+ return iE.set(r, i), i;
}
-function dse(e, t, n) {
+function hse(e, t, n) {
if (t === "auto") return e.format(n);
if (t === "never") return e.format(Math.abs(n));
{
@@ -25195,12 +25195,12 @@ function dse(e, t, n) {
}
}
// node_modules/react-aria/dist/private/interactions/useMove.mjs
-function uE(e) {
+function oE(e) {
let { onMoveStart: t, onMove: n, onMoveEnd: r } = e, i = (0, F.useRef)({
didMove: !1,
lastPosition: null,
id: null
- }), { addGlobalListener: a, removeGlobalListener: o } = eT(), s = kw((0, F.useCallback)((e, r, a, o) => {
+ }), { addGlobalListener: a, removeGlobalListener: o } = Xw(), s = Tw((0, F.useCallback)((e, r, a, o) => {
(a !== 0 || o !== 0) && (i.current.didMove || (i.current.didMove = !0, t?.({
type: "movestart",
pointerType: r,
@@ -25222,8 +25222,8 @@ function uE(e) {
t,
n,
i
- ])), c = kw((0, F.useCallback)((e, t) => {
- Xw(), i.current.didMove && r?.({
+ ])), c = Tw((0, F.useCallback)((e, t) => {
+ Kw(), i.current.didMove && r?.({
type: "moveend",
pointerType: t,
shiftKey: e.shiftKey,
@@ -25234,7 +25234,7 @@ function uE(e) {
}, [r, i]));
return { moveProps: (0, F.useMemo)(() => {
let e = {}, t = () => {
- Yw(), i.current.didMove = !1;
+ Gw(), i.current.didMove = !1;
};
{
let n = (e) => {
@@ -25249,7 +25249,7 @@ function uE(e) {
if (e.pointerId === i.current.id) {
let t = e.pointerType || "mouse";
c(e, t), i.current.id = null;
- let a = TS(G(e));
+ let a = xS(G(e));
o(a, "pointermove", n, !1), o(a, "pointerup", r, !1), o(a, "pointercancel", r, !1);
}
};
@@ -25259,7 +25259,7 @@ function uE(e) {
pageX: e.pageX,
pageY: e.pageY
}, i.current.id = e.pointerId;
- let o = TS(G(e));
+ let o = xS(G(e));
a(o, "pointermove", n, !1), a(o, "pointerup", r, !1), a(o, "pointercancel", r, !1);
}
};
@@ -25292,7 +25292,7 @@ function uE(e) {
]) };
}
// node_modules/react-aria/dist/private/visually-hidden/VisuallyHidden.mjs
-var dE = {
+var sE = {
border: 0,
clip: "rect(0 0 0 0)",
clipPath: "inset(50%)",
@@ -25304,37 +25304,37 @@ var dE = {
width: "1px",
whiteSpace: "nowrap"
};
-function fE(e = {}) {
- let { style: t, isFocusable: n } = e, [r, i] = (0, F.useState)(!1), { focusWithinProps: a } = nE({
+function cE(e = {}) {
+ let { style: t, isFocusable: n } = e, [r, i] = (0, F.useState)(!1), { focusWithinProps: a } = QT({
isDisabled: !n,
onFocusWithinChange: (e) => i(e)
}), o = (0, F.useMemo)(() => r ? t : t ? {
- ...dE,
+ ...sE,
...t
- } : dE, [r]);
+ } : sE, [r]);
return { visuallyHiddenProps: {
...a,
style: o
} };
}
-function pE(e) {
- let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = fE(e);
+function lE(e) {
+ let { children: t, elementType: n = "div", isFocusable: r, style: i, ...a } = e, { visuallyHiddenProps: o } = cE(e);
return /*#__PURE__*/ F.createElement(n, K(a, o), t);
}
// node_modules/react-aria/dist/private/textfield/useTextField.mjs
-function fse(e, t) {
- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = rE(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = tw(e, t), d = JT({
+function gse(e, t) {
+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: i = !1, isReadOnly: a = !1, type: o = "text", validationBehavior: s = "aria" } = e, [c, l] = $T(e.value, e.defaultValue || "", e.onChange), { focusableProps: u } = ZC(e, t), d = WT({
...e,
value: c
- }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = tE({
+ }), { isInvalid: f, validationErrors: p, validationDetails: m } = d.displayValidation, { labelProps: h, fieldProps: g, descriptionProps: _, errorMessageProps: v } = ZT({
...e,
isInvalid: f,
errorMessage: e.errorMessage || p
- }), y = Gw(e, { labelable: !0 }), b = {
+ }), y = Vw(e, { labelable: !0 }), b = {
type: o,
pattern: e.pattern
}, [x] = (0, F.useState)(c);
- return VT(t, e.defaultValue ?? x, l), HT(e, d, t), {
+ return LT(t, e.defaultValue ?? x, l), RT(e, d, t), {
labelProps: h,
inputProps: K(y, n === "input" ? b : void 0, {
disabled: r,
@@ -25380,26 +25380,26 @@ function fse(e, t) {
};
}
// node_modules/react-aria/dist/private/i18n/useNumberFormatter.mjs
-function pse(e = {}) {
- let { locale: t } = Lw();
- return (0, F.useMemo)(() => new lse(t, e), [t, e]);
+function _se(e = {}) {
+ let { locale: t } = Nw();
+ return (0, F.useMemo)(() => new pse(t, e), [t, e]);
}
// node_modules/react-aria/dist/private/slider/utils.mjs
-var mE = /* @__PURE__ */ new WeakMap();
-function hE(e, t) {
- let n = mE.get(e);
+var uE = /* @__PURE__ */ new WeakMap();
+function dE(e, t) {
+ let n = uE.get(e);
if (!n) throw Error("Unknown slider state");
return `${n.id}-${t}`;
}
// node_modules/react-aria/dist/private/slider/useSlider.mjs
-function mse(e, t, n) {
- let { labelProps: r, fieldProps: i } = eE(e), a = e.orientation === "vertical";
- mE.set(t, {
+function vse(e, t, n) {
+ let { labelProps: r, fieldProps: i } = XT(e), a = e.orientation === "vertical";
+ uE.set(t, {
id: r.id ?? i.id,
"aria-describedby": e["aria-describedby"],
"aria-details": e["aria-details"]
});
- let { direction: o } = Lw(), { addGlobalListener: s, removeGlobalListener: c } = eT(), l = (0, F.useRef)(null), u = o === "rtl", d = (0, F.useRef)(null), { moveProps: f } = uE({
+ let { direction: o } = Nw(), { addGlobalListener: s, removeGlobalListener: c } = Xw(), l = (0, F.useRef)(null), u = o === "rtl", d = (0, F.useRef)(null), { moveProps: f } = oE({
onMoveStart() {
d.current = null;
},
@@ -25409,7 +25409,7 @@ function mse(e, t, n) {
d.current == null && l.current != null && (d.current = t.getThumbPercent(l.current) * s);
let c = a ? r : e;
if ((a || u) && (c = -c), d.current += c, l.current != null && n.current) {
- let e = aE(d.current / s, 0, 1);
+ let e = tE(d.current / s, 0, 1);
t.setThumbPercent(l.current, e);
}
},
@@ -25433,7 +25433,7 @@ function mse(e, t, n) {
(e.pointerId ?? e.changedTouches?.[0].identifier) === p.current && (l.current != null && (t.setThumbDragging(l.current, !1), l.current = null), c(window, "mouseup", h, !1), c(window, "touchend", h, !1), c(window, "pointerup", h, !1));
};
return "htmlFor" in r && r.htmlFor && (delete r.htmlFor, r.onClick = () => {
- document.getElementById(hE(t, 0))?.focus(), EC("keyboard");
+ document.getElementById(dE(t, 0))?.focus(), SC("keyboard");
}), {
labelProps: r,
groupProps: {
@@ -25456,26 +25456,26 @@ function mse(e, t, n) {
}
}, f),
outputProps: {
- htmlFor: t.values.map((e, n) => hE(t, n)).join(" "),
+ htmlFor: t.values.map((e, n) => dE(t, n)).join(" "),
"aria-live": "off"
}
};
}
// node_modules/react-aria/dist/private/slider/useSliderThumb.mjs
-function hse(e, t) {
- let { index: n = 0, isRequired: r, validationState: i, isInvalid: a, trackRef: o, inputRef: s, orientation: c = t.orientation, name: l, form: u } = e, d = e.isDisabled || t.isDisabled, f = c === "vertical", { direction: p } = Lw(), { addGlobalListener: m, removeGlobalListener: h } = eT(), g = mE.get(t), { labelProps: _, fieldProps: v } = eE({
+function yse(e, t) {
+ let { index: n = 0, isRequired: r, validationState: i, isInvalid: a, trackRef: o, inputRef: s, orientation: c = t.orientation, name: l, form: u } = e, d = e.isDisabled || t.isDisabled, f = c === "vertical", { direction: p } = Nw(), { addGlobalListener: m, removeGlobalListener: h } = Xw(), g = uE.get(t), { labelProps: _, fieldProps: v } = XT({
...e,
- id: hE(t, n),
+ id: dE(t, n),
"aria-labelledby": `${g.id} ${e["aria-labelledby"] ?? ""}`.trim()
}), y = t.values[n], b = (0, F.useCallback)(() => {
- s.current && CS(s.current);
+ s.current && yS(s.current);
}, [s]), x = t.focusedThumb === n;
(0, F.useEffect)(() => {
x && b();
}, [x, b]);
let S = p === "rtl", C = (0, F.useRef)(null), w = (e) => {
t.setThumbDragging(n, !0), e(), t.setThumbDragging(n, !1);
- }, { keyboardProps: T } = ZC({
+ }, { keyboardProps: T } = qC({
shortcuts: {
PageUp: () => w(() => {
t.incrementThumb(n, t.pageSize);
@@ -25491,7 +25491,7 @@ function hse(e, t) {
})
},
allowRepeats: !0
- }), { moveProps: E } = uE({
+ }), { moveProps: E } = oE({
onMoveStart() {
C.current = null, t.setThumbDragging(n, !0);
},
@@ -25502,7 +25502,7 @@ function hse(e, t) {
if (C.current ??= s(n) * g, i === "keyboard") e > 0 && S || e < 0 && !S || r > 0 ? l(n, a ? p : d) : u(n, a ? p : d);
else {
let t = f ? r : e;
- (f || S) && (t = -t), C.current += t, c(n, aE(C.current / g, 0, 1));
+ (f || S) && (t = -t), C.current += t, c(n, tE(C.current / g, 0, 1));
}
},
onMoveEnd() {
@@ -25510,7 +25510,7 @@ function hse(e, t) {
}
});
t.setThumbEditable(n, !d);
- let { focusableProps: D } = tw(K(e, {
+ let { focusableProps: D } = ZC(K(e, {
onFocus: () => t.setFocusedThumb(n),
onBlur: () => t.setFocusedThumb(void 0)
}), s), O = (0, F.useRef)(void 0), k = (e) => {
@@ -25530,7 +25530,7 @@ function hse(e, t) {
k(e.changedTouches[0].identifier);
}
});
- return VT(s, t.defaultValues[n], (e) => {
+ return LT(s, t.defaultValues[n], (e) => {
t.setThumbValue(n, e);
}), {
inputProps: K(D, v, {
@@ -25570,42 +25570,42 @@ function hse(e, t) {
};
}
// node_modules/react-aria/dist/private/overlays/ariaHideOutside.mjs
-var gse = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
-function gE(e) {
+var bse = typeof HTMLElement < "u" && "inert" in HTMLElement.prototype;
+function fE(e) {
return e.dataset.liveAnnouncer === "true" || e.dataset.reactAriaTopLayer !== void 0;
}
-var _E = /* @__PURE__ */ new WeakMap(), vE = [];
-function yE(e, t) {
- let n = TS(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && gse, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {
+var pE = /* @__PURE__ */ new WeakMap(), mE = [];
+function hE(e, t) {
+ let n = xS(e?.[0]), r = t instanceof n.Element ? { root: t } : t, i = r?.root ?? document.body, a = r?.shouldUseInert && bse, o = new Set(e), s = /* @__PURE__ */ new Set(), c = (e) => a && e instanceof n.HTMLElement ? e.inert : e.getAttribute("aria-hidden") === "true", l = (e, t) => {
a && e instanceof n.HTMLElement ? e.inert = t : t ? e.setAttribute("aria-hidden", "true") : (e.removeAttribute("aria-hidden"), e instanceof n.HTMLElement && (e.inert = !1));
}, u = /* @__PURE__ */ new Set();
- if (AS()) {
+ if (ES()) {
let t = i.getRootNode();
for (let n of e) {
let e = n.getRootNode();
- for (; DS(e) && e !== t;) u.add(e), e = e.host.getRootNode();
+ for (; CS(e) && e !== t;) u.add(e), e = e.host.getRootNode();
}
}
let d = (e) => {
for (let t of e.querySelectorAll("[data-live-announcer], [data-react-aria-top-layer]")) o.add(t);
let t = (e) => {
if (s.has(e) || o.has(e) || e.parentElement && s.has(e.parentElement) && e.parentElement.getAttribute("role") !== "row") return NodeFilter.FILTER_REJECT;
- for (let t of o) if (jS(e, t)) return NodeFilter.FILTER_SKIP;
+ for (let t of o) if (DS(e, t)) return NodeFilter.FILTER_SKIP;
return NodeFilter.FILTER_ACCEPT;
- }, n = dT(wS(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
+ }, n = sT(bS(e), e, NodeFilter.SHOW_ELEMENT, { acceptNode: t }), r = t(e);
if (r === NodeFilter.FILTER_ACCEPT && f(e), r !== NodeFilter.FILTER_REJECT) {
let e = n.nextNode();
for (; e != null;) f(e), e = n.nextNode();
}
}, f = (e) => {
- let t = _E.get(e) ?? 0;
- c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), _E.set(e, t + 1));
+ let t = pE.get(e) ?? 0;
+ c(e) && t === 0 || (t === 0 && l(e, !0), s.add(e), pE.set(e, t + 1));
};
- vE.length && vE[vE.length - 1].disconnect(), d(i);
+ mE.length && mE[mE.length - 1].disconnect(), d(i);
let p = new MutationObserver((e) => {
for (let t of e) if (t.type === "childList") {
- if (t.target.isConnected && ![...o, ...s].some((e) => jS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && gE(e) ? o.add(e) : e instanceof Element && d(e);
- if (AS()) {
+ if (t.target.isConnected && ![...o, ...s].some((e) => DS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && fE(e) ? o.add(e) : e instanceof Element && d(e);
+ if (ES()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -25618,11 +25618,11 @@ function yE(e, t) {
subtree: !0
});
let m = /* @__PURE__ */ new Set();
- if (AS()) for (let e of u) {
+ if (ES()) for (let e of u) {
let t = new MutationObserver((e) => {
for (let t of e) if (t.type === "childList") {
- if (t.target.isConnected && ![...o, ...s].some((e) => jS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && gE(e) ? o.add(e) : e instanceof Element && d(e);
- if (AS()) {
+ if (t.target.isConnected && ![...o, ...s].some((e) => DS(e, t.target))) for (let e of t.addedNodes) (e instanceof HTMLElement || e instanceof SVGElement) && fE(e) ? o.add(e) : e instanceof Element && d(e);
+ if (ES()) {
for (let e of u) if (!e.isConnected) {
p.disconnect();
break;
@@ -25648,56 +25648,56 @@ function yE(e, t) {
p.disconnect();
}
};
- return vE.push(h), () => {
- if (p.disconnect(), AS()) for (let e of m) e.disconnect();
+ return mE.push(h), () => {
+ if (p.disconnect(), ES()) for (let e of m) e.disconnect();
for (let e of s) {
- let t = _E.get(e);
- t != null && (t === 1 ? (l(e, !1), _E.delete(e)) : _E.set(e, t - 1));
+ let t = pE.get(e);
+ t != null && (t === 1 ? (l(e, !1), pE.delete(e)) : pE.set(e, t - 1));
}
- h === vE[vE.length - 1] ? (vE.pop(), vE.length && vE[vE.length - 1].observe()) : vE.splice(vE.indexOf(h), 1);
+ h === mE[mE.length - 1] ? (mE.pop(), mE.length && mE[mE.length - 1].observe()) : mE.splice(mE.indexOf(h), 1);
};
}
-function bE(e) {
- let t = vE[vE.length - 1];
+function gE(e) {
+ let t = mE[mE.length - 1];
if (t && !t.visibleNodes.has(e)) return t.visibleNodes.add(e), () => {
t.visibleNodes.delete(e);
};
}
// node_modules/react-aria/dist/private/listbox/utils.mjs
-var xE = /* @__PURE__ */ new WeakMap();
-function _se(e) {
+var _E = /* @__PURE__ */ new WeakMap();
+function xse(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function vse(e, t) {
- let n = xE.get(e);
+function Sse(e, t) {
+ let n = _E.get(e);
if (!n) throw Error("Unknown list");
- return `${n.id}-option-${_se(t)}`;
+ return `${n.id}-option-${xse(t)}`;
}
// node_modules/react-aria/dist/private/selection/utils.mjs
-function SE(e) {
- return yae() ? e.altKey : e.ctrlKey;
+function vE(e) {
+ return Cae() ? e.altKey : e.ctrlKey;
}
-function CE(e, t) {
+function yE(e, t) {
let n = `[data-key="${CSS.escape(String(t))}"]`, r = e.current?.dataset.collection;
return r && (n = `[data-collection="${CSS.escape(r)}"]${n}`), e.current?.querySelector(n);
}
-var wE = /* @__PURE__ */ new WeakMap();
-function yse(e) {
- let t = VC();
- return wE.set(e, t), t;
+var bE = /* @__PURE__ */ new WeakMap();
+function Cse(e) {
+ let t = LC();
+ return bE.set(e, t), t;
}
-function bse(e) {
- return wE.get(e);
+function wse(e) {
+ return bE.get(e);
}
// node_modules/react-aria/dist/private/selection/DOMLayoutDelegate.mjs
-var TE = class {
+var xE = class {
constructor(e) {
this.ref = e;
}
getItemRect(e) {
let t = this.ref.current;
if (!t) return null;
- let n = e == null ? null : CE(this.ref, e);
+ let n = e == null ? null : yE(this.ref, e);
if (!n) return null;
let r = t.getBoundingClientRect(), i = n.getBoundingClientRect();
return {
@@ -25723,12 +25723,12 @@ var TE = class {
height: e?.clientHeight ?? 0
};
}
-}, EE = class {
+}, SE = class {
constructor(...e) {
if (e.length === 1) {
let t = e[0];
- this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new TE(t.ref);
- } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new TE(this.ref);
+ this.collection = t.collection, this.ref = t.ref, this.collator = t.collator, this.disabledKeys = t.disabledKeys || /* @__PURE__ */ new Set(), this.disabledBehavior = t.disabledBehavior || "all", this.orientation = t.orientation || "vertical", this.direction = t.direction, this.layout = t.layout || "stack", this.layoutDelegate = t.layoutDelegate || new xE(t.ref);
+ } else this.collection = e[0], this.disabledKeys = e[1], this.ref = e[2], this.collator = e[3], this.layout = "stack", this.orientation = "vertical", this.disabledBehavior = "all", this.layoutDelegate = new xE(this.ref);
this.layout === "stack" && this.orientation === "vertical" && (this.getKeyLeftOf = void 0, this.getKeyRightOf = void 0);
}
isDisabled(e) {
@@ -25768,14 +25768,14 @@ var TE = class {
return e.x === t.x || e.y !== t.y;
}
isReversed(e) {
- let t = this.getNextKey(e), n = CE(this.ref, e);
+ let t = this.getNextKey(e), n = yE(this.ref, e);
if (t != null) {
- let e = CE(this.ref, t);
+ let e = yE(this.ref, t);
return !n || !e ? !1 : n.getBoundingClientRect().top > e.getBoundingClientRect().top;
}
let r = this.getPreviousKey(e);
if (r != null) {
- let e = CE(this.ref, r);
+ let e = yE(this.ref, r);
return !n || !e ? !1 : e.getBoundingClientRect().top > n.getBoundingClientRect().top;
}
return !1;
@@ -25809,7 +25809,7 @@ var TE = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !PT(t)) return this.getFirstKey();
+ if (t && !AT(t)) return this.getFirstKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.max(0, n.x + n.width - this.layoutDelegate.getVisibleRect().width);
@@ -25824,7 +25824,7 @@ var TE = class {
let t = this.ref.current, n = this.layoutDelegate.getItemRect(e);
if (!n) return null;
let r = this.isReversed(e);
- if (t && !PT(t)) return this.getLastKey();
+ if (t && !AT(t)) return this.getLastKey();
let i = e;
if (this.orientation === "horizontal") {
let e = Math.min(this.layoutDelegate.getContentSize().width, n.x - n.width + this.layoutDelegate.getVisibleRect().width);
@@ -25847,149 +25847,149 @@ var TE = class {
}
return null;
}
-}, DE = {};
-DE = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
+}, CE = {};
+CE = { longPressMessage: "اضغط مطولاً أو اضغط على Alt + السهم لأسفل لفتح القائمة" };
// node_modules/react-aria/dist/private/intl/menu/bg-BG.mjs
-var OE = {};
-OE = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
+var wE = {};
+wE = { longPressMessage: "Натиснете продължително или натиснете Alt+ стрелка надолу, за да отворите менюто" };
// node_modules/react-aria/dist/private/intl/menu/cs-CZ.mjs
-var kE = {};
-kE = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
+var TE = {};
+TE = { longPressMessage: "Dlouhým stiskem nebo stisknutím kláves Alt + šipka dolů otevřete nabídku" };
// node_modules/react-aria/dist/private/intl/menu/da-DK.mjs
-var AE = {};
-AE = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
+var EE = {};
+EE = { longPressMessage: "Langt tryk eller tryk på Alt + pil ned for at åbne menuen" };
// node_modules/react-aria/dist/private/intl/menu/de-DE.mjs
-var jE = {};
-jE = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
+var DE = {};
+DE = { longPressMessage: "Drücken Sie lange oder drücken Sie Alt + Nach-unten, um das Menü zu öffnen" };
// node_modules/react-aria/dist/private/intl/menu/el-GR.mjs
-var ME = {};
-ME = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
+var OE = {};
+OE = { longPressMessage: "Πιέστε παρατεταμένα ή πατήστε Alt + κάτω βέλος για να ανοίξετε το μενού" };
// node_modules/react-aria/dist/private/intl/menu/en-US.mjs
-var NE = {};
-NE = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
+var kE = {};
+kE = { longPressMessage: "Long press or press Alt + ArrowDown to open menu" };
// node_modules/react-aria/dist/private/intl/menu/es-ES.mjs
-var PE = {};
-PE = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
+var AE = {};
+AE = { longPressMessage: "Mantenga pulsado o pulse Alt + flecha abajo para abrir el menú" };
// node_modules/react-aria/dist/private/intl/menu/et-EE.mjs
-var FE = {};
-FE = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
+var jE = {};
+jE = { longPressMessage: "Menüü avamiseks vajutage pikalt või vajutage klahve Alt + allanool" };
// node_modules/react-aria/dist/private/intl/menu/fi-FI.mjs
-var IE = {};
-IE = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
+var ME = {};
+ME = { longPressMessage: "Avaa valikko painamalla pohjassa tai näppäinyhdistelmällä Alt + Alanuoli" };
// node_modules/react-aria/dist/private/intl/menu/fr-FR.mjs
-var LE = {};
-LE = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
+var NE = {};
+NE = { longPressMessage: "Appuyez de manière prolongée ou appuyez sur Alt\xA0+\xA0Flèche vers le bas pour ouvrir le menu." };
// node_modules/react-aria/dist/private/intl/menu/he-IL.mjs
-var RE = {};
-RE = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
+var PE = {};
+PE = { longPressMessage: "לחץ לחיצה ארוכה או הקש Alt + ArrowDown כדי לפתוח את התפריט" };
// node_modules/react-aria/dist/private/intl/menu/hr-HR.mjs
-var zE = {};
-zE = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
+var FE = {};
+FE = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dolje za otvaranje izbornika" };
// node_modules/react-aria/dist/private/intl/menu/hu-HU.mjs
-var BE = {};
-BE = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
+var IE = {};
+IE = { longPressMessage: "Nyomja meg hosszan, vagy nyomja meg az Alt + lefele nyíl gombot a menü megnyitásához" };
// node_modules/react-aria/dist/private/intl/menu/it-IT.mjs
-var VE = {};
-VE = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
+var LE = {};
+LE = { longPressMessage: "Premi a lungo o premi Alt + Freccia giù per aprire il menu" };
// node_modules/react-aria/dist/private/intl/menu/ja-JP.mjs
-var HE = {};
-HE = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
+var RE = {};
+RE = { longPressMessage: "長押しまたは Alt+下矢印キーでメニューを開く" };
// node_modules/react-aria/dist/private/intl/menu/ko-KR.mjs
-var UE = {};
-UE = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
+var zE = {};
+zE = { longPressMessage: "길게 누르거나 Alt + 아래쪽 화살표를 눌러 메뉴 열기" };
// node_modules/react-aria/dist/private/intl/menu/lt-LT.mjs
-var WE = {};
-WE = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
+var BE = {};
+BE = { longPressMessage: "Norėdami atidaryti meniu, nuspaudę palaikykite arba paspauskite „Alt + ArrowDown“." };
// node_modules/react-aria/dist/private/intl/menu/lv-LV.mjs
-var GE = {};
-GE = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
+var VE = {};
+VE = { longPressMessage: "Lai atvērtu izvēlni, turiet nospiestu vai nospiediet taustiņu kombināciju Alt + lejupvērstā bultiņa" };
// node_modules/react-aria/dist/private/intl/menu/nb-NO.mjs
-var KE = {};
-KE = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
+var HE = {};
+HE = { longPressMessage: "Langt trykk eller trykk Alt + PilNed for å åpne menyen" };
// node_modules/react-aria/dist/private/intl/menu/nl-NL.mjs
-var qE = {};
-qE = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
+var UE = {};
+UE = { longPressMessage: "Druk lang op Alt + pijl-omlaag of druk op Alt om het menu te openen" };
// node_modules/react-aria/dist/private/intl/menu/pl-PL.mjs
-var JE = {};
-JE = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
+var WE = {};
+WE = { longPressMessage: "Naciśnij i przytrzymaj lub naciśnij klawisze Alt + Strzałka w dół, aby otworzyć menu" };
// node_modules/react-aria/dist/private/intl/menu/pt-BR.mjs
-var YE = {};
-YE = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
+var GE = {};
+GE = { longPressMessage: "Pressione e segure ou pressione Alt + Seta para baixo para abrir o menu" };
// node_modules/react-aria/dist/private/intl/menu/pt-PT.mjs
-var XE = {};
-XE = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
+var KE = {};
+KE = { longPressMessage: "Prima continuamente ou prima Alt + Seta Para Baixo para abrir o menu" };
// node_modules/react-aria/dist/private/intl/menu/ro-RO.mjs
-var ZE = {};
-ZE = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
+var qE = {};
+qE = { longPressMessage: "Apăsați lung sau apăsați pe Alt + săgeată în jos pentru a deschide meniul" };
// node_modules/react-aria/dist/private/intl/menu/ru-RU.mjs
-var QE = {};
-QE = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
+var JE = {};
+JE = { longPressMessage: "Нажмите и удерживайте или нажмите Alt + Стрелка вниз, чтобы открыть меню" };
// node_modules/react-aria/dist/private/intl/menu/sk-SK.mjs
-var $E = {};
-$E = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
+var YE = {};
+YE = { longPressMessage: "Ponuku otvoríte dlhým stlačením alebo stlačením klávesu Alt + klávesu so šípkou nadol" };
// node_modules/react-aria/dist/private/intl/menu/sl-SI.mjs
-var eD = {};
-eD = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
+var XE = {};
+XE = { longPressMessage: "Za odprtje menija pritisnite in držite gumb ali pritisnite Alt+puščica navzdol" };
// node_modules/react-aria/dist/private/intl/menu/sr-SP.mjs
-var tD = {};
-tD = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
+var ZE = {};
+ZE = { longPressMessage: "Dugo pritisnite ili pritisnite Alt + strelicu prema dole da otvorite meni" };
// node_modules/react-aria/dist/private/intl/menu/sv-SE.mjs
-var nD = {};
-nD = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
+var QE = {};
+QE = { longPressMessage: "Håll nedtryckt eller tryck på Alt + pil nedåt för att öppna menyn" };
// node_modules/react-aria/dist/private/intl/menu/tr-TR.mjs
-var rD = {};
-rD = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
+var $E = {};
+$E = { longPressMessage: "Menüyü açmak için uzun basın veya Alt + Aşağı Ok tuşuna basın" };
// node_modules/react-aria/dist/private/intl/menu/uk-UA.mjs
-var iD = {};
-iD = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
+var eD = {};
+eD = { longPressMessage: "Довго або звичайно натисніть комбінацію клавіш Alt і стрілка вниз, щоб відкрити меню" };
// node_modules/react-aria/dist/private/intl/menu/zh-CN.mjs
-var aD = {};
-aD = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
+var tD = {};
+tD = { longPressMessage: "长按或按 Alt + 向下方向键以打开菜单" };
// node_modules/react-aria/dist/private/intl/menu/zh-TW.mjs
-var oD = {};
-oD = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
+var nD = {};
+nD = { longPressMessage: "長按或按 Alt+向下鍵以開啟功能表" };
// node_modules/react-aria/dist/private/menu/intlStrings.mjs
-var sD = {};
-sD = {
- "ar-AE": DE,
- "bg-BG": OE,
- "cs-CZ": kE,
- "da-DK": AE,
- "de-DE": jE,
- "el-GR": ME,
- "en-US": NE,
- "es-ES": PE,
- "et-EE": FE,
- "fi-FI": IE,
- "fr-FR": LE,
- "he-IL": RE,
- "hr-HR": zE,
- "hu-HU": BE,
- "it-IT": VE,
- "ja-JP": HE,
- "ko-KR": UE,
- "lt-LT": WE,
- "lv-LV": GE,
- "nb-NO": KE,
- "nl-NL": qE,
- "pl-PL": JE,
- "pt-BR": YE,
- "pt-PT": XE,
- "ro-RO": ZE,
- "ru-RU": QE,
- "sk-SK": $E,
- "sl-SI": eD,
- "sr-SP": tD,
- "sv-SE": nD,
- "tr-TR": rD,
- "uk-UA": iD,
- "zh-CN": aD,
- "zh-TW": oD
+var rD = {};
+rD = {
+ "ar-AE": CE,
+ "bg-BG": wE,
+ "cs-CZ": TE,
+ "da-DK": EE,
+ "de-DE": DE,
+ "el-GR": OE,
+ "en-US": kE,
+ "es-ES": AE,
+ "et-EE": jE,
+ "fi-FI": ME,
+ "fr-FR": NE,
+ "he-IL": PE,
+ "hr-HR": FE,
+ "hu-HU": IE,
+ "it-IT": LE,
+ "ja-JP": RE,
+ "ko-KR": zE,
+ "lt-LT": BE,
+ "lv-LV": VE,
+ "nb-NO": HE,
+ "nl-NL": UE,
+ "pl-PL": WE,
+ "pt-BR": GE,
+ "pt-PT": KE,
+ "ro-RO": qE,
+ "ru-RU": JE,
+ "sk-SK": YE,
+ "sl-SI": XE,
+ "sr-SP": ZE,
+ "sv-SE": QE,
+ "tr-TR": $E,
+ "uk-UA": eD,
+ "zh-CN": tD,
+ "zh-TW": nD
};
// node_modules/react-aria/dist/private/interactions/useLongPress.mjs
-var xse = 500;
-function cD(e) {
- let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = xse, accessibilityDescription: s } = e, c = (0, F.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = eT(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = aT({
+var Tse = 500;
+function iD(e) {
+ let { isDisabled: t, pointerType: n, onLongPressStart: r, onLongPressEnd: i, onLongPress: a, threshold: o = Tse, accessibilityDescription: s } = e, c = (0, F.useRef)(void 0), { addGlobalListener: l, removeAllGlobalListeners: u } = Xw(), d = (e) => n ? e.pointerType === n : e.pointerType === "mouse" || e.pointerType === "touch", { pressProps: f } = tT({
isDisabled: t,
onPressStart(e) {
if (e.continuePropagation(), d(e)) {
@@ -25997,12 +25997,12 @@ function cD(e) {
...e,
type: "longpressstart"
}), c.current = setTimeout(() => {
- e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), wS(e.target).activeElement !== e.target && CS(e.target), a && a({
+ e.target.dispatchEvent(new PointerEvent("pointercancel", { bubbles: !0 })), l(e.target, "click", (e) => e.preventDefault(), { once: !0 }), bS(e.target).activeElement !== e.target && yS(e.target), a && a({
...e,
type: "longpress"
}), c.current = void 0;
}, o), e.pointerType === "touch" && l(e.target, "contextmenu", (e) => e.preventDefault(), { once: !0 });
- let t = TS(e.target);
+ let t = xS(e.target);
l(t, "pointerup", () => {
setTimeout(() => {
u();
@@ -26017,11 +26017,11 @@ function cD(e) {
});
}
});
- return { longPressProps: K(f, BT(a && !t ? s : void 0)) };
+ return { longPressProps: K(f, IT(a && !t ? s : void 0)) };
}
// node_modules/react-aria/dist/private/interactions/useContextMenu.mjs
-function Sse(e) {
- let { onContextMenu: t } = e, n = (0, F.useRef)(!1), { longPressProps: r } = cD({
+function Ese(e) {
+ let { onContextMenu: t } = e, n = (0, F.useRef)(!1), { longPressProps: r } = iD({
onLongPressStart() {
n.current = !1;
},
@@ -26033,7 +26033,7 @@ function Sse(e) {
});
}
});
- return t ? { contextMenuProps: K(XS() ? r : {}, {
+ return t ? { contextMenuProps: K(KS() ? r : {}, {
onContextMenu(e) {
e.stopPropagation(), e.preventDefault(), n.current = !0;
let r = e.currentTarget.getBoundingClientRect();
@@ -26044,7 +26044,7 @@ function Sse(e) {
});
},
onKeyDown(e) {
- if (JS() && e.ctrlKey && e.key === "Enter") {
+ if (WS() && e.ctrlKey && e.key === "Enter") {
n.current = !1;
let r = e.currentTarget;
e.stopPropagation(), setTimeout(() => {
@@ -26063,13 +26063,13 @@ function Sse(e) {
}) } : { contextMenuProps: {} };
}
// node_modules/react-aria/dist/private/overlays/useCloseOnScroll.mjs
-var lD = /* @__PURE__ */ new WeakMap();
-function Cse(e) {
+var aD = /* @__PURE__ */ new WeakMap();
+function Dse(e) {
let { triggerRef: t, isOpen: n, onClose: r } = e;
- (0, F.useEffect)(() => !n || r === null ? void 0 : OS(NS(t.current), "scroll", (e) => {
+ (0, F.useEffect)(() => !n || r === null ? void 0 : wS(kS(t.current), "scroll", (e) => {
let n = G(e);
- if (!t.current || n instanceof Node && !jS(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
- let i = r || lD.get(t.current);
+ if (!t.current || n instanceof Node && !DS(n, t.current) || n instanceof HTMLInputElement || n instanceof HTMLTextAreaElement) return;
+ let i = r || aD.get(t.current);
i && i();
}, !0), [
n,
@@ -26078,14 +26078,14 @@ function Cse(e) {
]);
}
// node_modules/react-aria/dist/private/overlays/useOverlayTrigger.mjs
-function wse(e, t, n) {
+function Ose(e, t, n) {
let { type: r } = e, { isOpen: i } = t;
(0, F.useEffect)(() => {
- n && n.current && lD.set(n.current, t.close);
+ n && n.current && aD.set(n.current, t.close);
});
let a;
r === "menu" ? a = !0 : r === "listbox" && (a = "listbox");
- let o = VC();
+ let o = LC();
return {
triggerProps: {
"aria-haspopup": a,
@@ -26097,14 +26097,14 @@ function wse(e, t, n) {
};
}
// node_modules/react-aria/dist/private/menu/useMenuTrigger.mjs
-function Tse(e) {
+function kse(e) {
return e && e.__esModule ? e.default : e;
}
-function uD(e, t, n) {
- let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = VC(), { triggerProps: s, overlayProps: c } = wse({ type: r }, t, n), l = (e, n, r = "first") => {
+function oD(e, t, n) {
+ let { type: r = "menu", isDisabled: i, trigger: a = "press" } = e, o = LC(), { triggerProps: s, overlayProps: c } = Ose({ type: r }, t, n), l = (e, n, r = "first") => {
if (!e || n.isDefaultPrevented()) return !1;
t.toggle(r);
- }, { keyboardProps: u } = ZC({
+ }, { keyboardProps: u } = qC({
isDisabled: i,
shortcuts: {
Enter: (e) => l(a !== "longPress", e, "first"),
@@ -26116,7 +26116,7 @@ function uD(e, t, n) {
"Alt+ArrowDown": (e) => l(!0, e, "first"),
"Alt+ArrowUp": (e) => l(!0, e, "last")
}
- }), d = Uw(Tse(sD), "@react-aria/menu"), { longPressProps: f } = cD({
+ }), d = zw(kse(rD), "@react-aria/menu"), { longPressProps: f } = iD({
isDisabled: i || a !== "longPress",
accessibilityDescription: d.format("longPressMessage"),
onLongPressStart() {
@@ -26128,14 +26128,14 @@ function uD(e, t, n) {
}), p = {
preventFocusOnPress: !0,
onPressStart(e) {
- e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (CS(e.target), t.open(e.pointerType === "virtual" ? "first" : null));
+ e.pointerType !== "touch" && e.pointerType !== "keyboard" && !i && (yS(e.target), t.open(e.pointerType === "virtual" ? "first" : null));
},
onPress(e) {
- e.pointerType === "touch" && !i && (CS(e.target), t.toggle());
+ e.pointerType === "touch" && !i && (yS(e.target), t.toggle());
}
};
delete s.onPress;
- let { contextMenuProps: m } = Sse({ onContextMenu(e) {
+ let { contextMenuProps: m } = Ese({ onContextMenu(e) {
let n = e.target.getBoundingClientRect();
t.setPoint({
x: n.x + e.x,
@@ -26179,8 +26179,8 @@ function uD(e, t, n) {
};
}
// node_modules/react-aria/dist/private/selection/useTypeSelect.mjs
-var dD = 1e3;
-function fD(e) {
+var sD = 1e3;
+function cD(e) {
let { keyboardDelegate: t, selectionManager: n, onTypeSelect: r } = e, i = (0, F.useRef)({
search: "",
timeout: void 0
@@ -26199,12 +26199,12 @@ function fD(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, dD);
+ }, sD);
}
} : void 0,
onKeyDown: t.getKeyForSearch ? (e) => {
- let a = Ese(e.key);
- if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !jS(e.currentTarget, G(e)) || i.current.search.length === 0 && a === " ")) {
+ let a = Ase(e.key);
+ if (!(!a || e.ctrlKey || e.metaKey || e.altKey || !DS(e.currentTarget, G(e)) || i.current.search.length === 0 && a === " ")) {
if (i.current.search += a, t.getKeyForSearch != null) {
let a = t.getKeyForSearch(i.current.search, n.focusedKey);
if (a ??= t.getKeyForSearch(i.current.search), a != null) n.setFocusedKey(a), r && r(a), e.preventDefault(), "continuePropagation" in e || e.stopPropagation();
@@ -26215,32 +26215,32 @@ function fD(e) {
}
clearTimeout(i.current.timeout), i.current.timeout = setTimeout(() => {
i.current.search = "";
- }, dD);
+ }, sD);
}
} : void 0
} };
}
-function Ese(e) {
+function Ase(e) {
return e.length === 1 || !/^[A-Z]/i.test(e) ? e : "";
}
// node_modules/react-aria/dist/private/utils/useUpdateLayoutEffect.mjs
-function pD(e, t) {
+function lD(e, t) {
let n = (0, F.useRef)(!0), r = (0, F.useRef)(null);
- BS(() => (n.current = !0, () => {
+ IS(() => (n.current = !0, () => {
n.current = !1;
- }), []), BS(() => {
+ }), []), IS(() => {
n.current ? n.current = !1 : (!r.current || t.some((e, t) => !Object.is(e, r[t]))) && e(), r.current = t;
}, t);
}
// node_modules/react-aria/dist/private/selection/useSelectableCollection.mjs
-function mD(e) {
- let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = Lw(), _ = tC(), v = (e, n, i) => {
+function uD(e) {
+ let { selectionManager: t, keyboardDelegate: n, ref: r, autoFocus: i = !1, shouldFocusWrap: a = !1, disallowEmptySelection: o = !1, disallowSelectAll: s = !1, escapeKeyBehavior: c = "clearSelection", selectOnFocus: l = t.selectionBehavior === "replace", disallowTypeAhead: u = !1, shouldUseVirtualFocus: d, allowsTabNavigation: f = !1, scrollRef: p = r, linkBehavior: m = "action", UNSTABLE_focusOnEntry: h } = e, { direction: g } = Nw(), _ = ZS(), v = (e, n, i) => {
if (n != null) {
- if (t.isLink(n) && m === "selection" && l && !SE(e)) {
+ if (t.isLink(n) && m === "selection" && l && !vE(e)) {
(0, Rt.flushSync)(() => {
t.setFocusedKey(n, i);
});
- let a = CE(r, n), o = t.getItemProps(n);
+ let a = yE(r, n), o = t.getItemProps(n);
if (a) {
_.open(a, e, o.href, o.routerOptions);
return;
@@ -26252,7 +26252,7 @@ function mD(e) {
t.extendSelection(n);
return;
}
- if (l && !SE(e)) {
+ if (l && !vE(e)) {
t.replaceSelection(n);
return;
}
@@ -26279,9 +26279,9 @@ function mD(e) {
}, x = (e) => {
if (n.getFirstKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getFirstKey(t.focusedKey, Dw(e));
+ let r = n.getFirstKey(t.focusedKey, Cw(e));
if (t.setFocusedKey(r), r != null) {
- if (Dw(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (Cw(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -26313,9 +26313,9 @@ function mD(e) {
}, w = (e) => {
if (n.getLastKey) {
if (t.focusedKey === null && e.shiftKey) return !1;
- let r = n.getLastKey(t.focusedKey, Dw(e));
+ let r = n.getLastKey(t.focusedKey, Cw(e));
if (t.setFocusedKey(r), r != null) {
- if (Dw(e) && e.shiftKey && t.selectionMode === "multiple") {
+ if (Cw(e) && e.shiftKey && t.selectionMode === "multiple") {
t.extendSelection(r);
return;
}
@@ -26346,12 +26346,12 @@ function mD(e) {
else return !1;
}, k = () => {
if (!f && r.current) {
- let e = DT(r.current, { tabbable: !0 }), t, n;
+ let e = CT(r.current, { tabbable: !0 }), t, n;
do
n = e.lastChild(), n && (t = n);
while (n);
- let i = MS();
- t && (!PS(t) || i && !RS(i)) && CS(t);
+ let i = OS();
+ t && (!AS(t) || i && !PS(i)) && yS(t);
}
return {
shouldContinuePropagation: !0,
@@ -26361,11 +26361,11 @@ function mD(e) {
shouldContinuePropagation: !0,
shouldPreventDefault: !1
}), j = (e, t) => ({
- [JS() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
+ [WS() ? e + "+Shift+Alt" : e + "+Shift+Control"]: t,
[e + "+Shift"]: t,
- [JS() ? e + "+Alt" : e + "+Control"]: t,
+ [WS() ? e + "+Alt" : e + "+Control"]: t,
[e]: t
- }), { keyboardProps: M } = ZC({
+ }), { keyboardProps: M } = qC({
shortcuts: {
...j("ArrowDown", y),
...j("ArrowUp", b),
@@ -26375,7 +26375,7 @@ function mD(e) {
...j("PageUp", E)
},
allowRepeats: !0
- }), { keyboardProps: ee } = ZC({ shortcuts: {
+ }), { keyboardProps: ee } = qC({ shortcuts: {
...j("Home", x),
...j("End", w),
"Mod+A": D,
@@ -26386,7 +26386,7 @@ function mD(e) {
top: 0,
left: 0
});
- Aw(p, "scroll", () => {
+ Ew(p, "scroll", () => {
N.current = {
top: p.current?.scrollTop ?? 0,
left: p.current?.scrollLeft ?? 0
@@ -26394,11 +26394,11 @@ function mD(e) {
});
let te = (e) => {
if (t.isFocused) {
- jS(e.currentTarget, G(e)) || t.setFocused(!1);
+ DS(e.currentTarget, G(e)) || t.setFocused(!1);
return;
}
- if (!jS(e.currentTarget, G(e))) return;
- let i = TC();
+ if (!DS(e.currentTarget, G(e))) return;
+ let i = xC();
t.setFocused(!0);
let a = (e) => {
e != null && (t.setFocusedKey(e), l && !t.isSelected(e) && t.replaceSelection(e));
@@ -26409,27 +26409,27 @@ function mD(e) {
r && e.currentTarget.compareDocumentPosition(r) & Node.DOCUMENT_POSITION_FOLLOWING ? a(t.lastSelectedKey ?? n.getLastKey?.()) : a(t.firstSelectedKey ?? n.getFirstKey?.());
} else p.current && (p.current.scrollTop = N.current.top, p.current.scrollLeft = N.current.left);
if (t.focusedKey != null && p.current) {
- let e = CE(r, t.focusedKey);
- e instanceof HTMLElement && (!PS(e) && !d && CS(e), (i === "keyboard" || h && i === "virtual") && RT(e, { containingElement: r.current }));
+ let e = yE(r, t.focusedKey);
+ e instanceof HTMLElement && (!AS(e) && !d && yS(e), (i === "keyboard" || h && i === "virtual") && PT(e, { containingElement: r.current }));
}
}, P = (e) => {
- jS(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
+ DS(e.currentTarget, e.relatedTarget) || t.setFocused(!1);
}, ne = (0, F.useRef)(!1);
- Aw(r, uoe, d ? (e) => {
+ Ew(r, moe, d ? (e) => {
let { detail: n } = e;
e.stopPropagation(), t.setFocused(!0), n?.focusStrategy === "first" && (ne.current = !0);
} : void 0);
let re = n.getFirstKey?.() ?? null;
- pD(() => {
+ lD(() => {
if (ne.current) {
if (re == null) {
- let e = MS();
- gw(r.current), _w(e, null), t.collection.size > 0 && (ne.current = !1);
+ let e = OS();
+ fw(r.current), pw(e, null), t.collection.size > 0 && (ne.current = !1);
} else t.setFocusedKey(re), ne.current = !1;
}
- }, [re, t.collection.size]), pD(() => {
+ }, [re, t.collection.size]), lD(() => {
t.collection.size > 0 && (ne.current = !1);
- }, [t.focusedKey]), Aw(r, loe, d ? (e) => {
+ }, [t.focusedKey]), Ew(r, poe, d ? (e) => {
e.stopPropagation(), t.setFocused(!1), e.detail?.clearFocusKey && t.setFocusedKey(null);
} : void 0);
let I = (0, F.useRef)(i), ie = (0, F.useRef)(!1);
@@ -26444,22 +26444,22 @@ function mD(e) {
break;
}
}
- t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && IC(r.current), t.collection.size > 0 && (I.current = !1, ie.current = !0);
+ t.setFocused(!0), t.setFocusedKey(e), e != null && l && !a.size && t.canSelectItem(e) && t.replaceSelection(e), e == null && !d && r.current && MC(r.current), t.collection.size > 0 && (I.current = !1, ie.current = !0);
}
});
let ae = (0, F.useRef)(t.focusedKey), oe = (0, F.useRef)(null);
(0, F.useEffect)(() => {
if (t.isFocused && t.focusedKey != null && (t.focusedKey !== ae.current || ie.current) && p.current && r.current) {
- let e = TC(), n = CE(r, t.focusedKey);
+ let e = xC(), n = yE(r, t.focusedKey);
if (!(n instanceof HTMLElement)) return;
(e === "keyboard" || ie.current) && (oe.current && cancelAnimationFrame(oe.current), oe.current = requestAnimationFrame(() => {
- p.current && (LT(p.current, n), e !== "virtual" && RT(n, { containingElement: r.current }));
+ p.current && (NT(p.current, n), e !== "virtual" && PT(n, { containingElement: r.current }));
}));
}
- !d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && IC(r.current), ae.current = t.focusedKey, ie.current = !1;
+ !d && t.isFocused && t.focusedKey == null && ae.current != null && r.current && MC(r.current), ae.current = t.focusedKey, ie.current = !1;
}), (0, F.useEffect)(() => () => {
oe.current && cancelAnimationFrame(oe.current);
- }, []), Aw(r, "react-aria-focus-scope-restore", (e) => {
+ }, []), Ew(r, "react-aria-focus-scope-restore", (e) => {
e.preventDefault(), t.setFocused(!0);
});
let se = {
@@ -26469,27 +26469,27 @@ function mD(e) {
onMouseDown(e) {
p.current === G(e) && e.preventDefault();
}
- }, { typeSelectProps: ce } = fD({
+ }, { typeSelectProps: ce } = cD({
keyboardDelegate: n,
selectionManager: t
});
u || (se = K(ce, se));
let le;
d || (le = t.focusedKey == null ? 0 : -1);
- let ue = yse(t.collection);
+ let ue = Cse(t.collection);
return { collectionProps: K(se, {
tabIndex: le,
"data-collection": ue
}) };
}
// node_modules/react-stately/dist/private/collections/getChildNodes.mjs
-function hD(e, t) {
+function dD(e, t) {
return typeof t.getChildren == "function" ? t.getChildren(e.key) : e.childNodes;
}
-function gD(e) {
- return _D(e, 0);
+function fD(e) {
+ return pD(e, 0);
}
-function _D(e, t) {
+function pD(e, t) {
if (t < 0) return;
let n = 0;
for (let r of e) {
@@ -26497,106 +26497,106 @@ function _D(e, t) {
n++;
}
}
-function vD(e) {
+function mD(e) {
let t;
for (let n of e) t = n;
return t;
}
-function yD(e, t, n) {
+function hD(e, t, n) {
if (t.parentKey === n.parentKey) return t.index - n.index;
- let r = [...bD(e, t), t], i = [...bD(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);
+ let r = [...gD(e, t), t], i = [...gD(e, n), n], a = r.slice(0, i.length).findIndex((e, t) => e !== i[t]);
return a === -1 ? r.findIndex((e) => e === n) >= 0 ? 1 : (i.findIndex((e) => e === t), -1) : (t = r[a], n = i[a], t.index - n.index);
}
-function bD(e, t) {
+function gD(e, t) {
let n = [], r = t;
for (; r?.parentKey != null;) r = e.getItem(r.parentKey), r && n.unshift(r);
return n;
}
// node_modules/react-stately/dist/private/collections/getItemCount.mjs
-var xD = /* @__PURE__ */ new WeakMap();
-function SD(e) {
- let t = xD.get(e);
+var _D = /* @__PURE__ */ new WeakMap();
+function vD(e) {
+ let t = _D.get(e);
if (t != null) return t;
let n = 0, r = (t) => {
- for (let i of t) i.type === "section" ? r(hD(i, e)) : i.type === "item" && n++;
+ for (let i of t) i.type === "section" ? r(dD(i, e)) : i.type === "item" && n++;
};
- return r(e), xD.set(e, n), n;
+ return r(e), _D.set(e, n), n;
}
// node_modules/react-aria/dist/private/i18n/useCollator.mjs
-var CD = /* @__PURE__ */ new Map();
-function wD(e) {
- let { locale: t } = Lw(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
- if (CD.has(n)) return CD.get(n);
+var yD = /* @__PURE__ */ new Map();
+function bD(e) {
+ let { locale: t } = Nw(), n = t + (e ? Object.entries(e).sort((e, t) => e[0] < t[0] ? -1 : 1).join() : "");
+ if (yD.has(n)) return yD.get(n);
let r = new Intl.Collator(t, e);
- return CD.set(n, r), r;
+ return yD.set(n, r), r;
}
// node_modules/react-aria/dist/private/interactions/PressResponder.mjs
-var Dse = /*#__PURE__*/ F.forwardRef(({ children: e, ...t }, n) => {
- let r = (0, F.useRef)(!1), i = (0, F.useContext)($w), a = K(i || {}, {
+var jse = /*#__PURE__*/ F.forwardRef(({ children: e, ...t }, n) => {
+ let r = (0, F.useRef)(!1), i = (0, F.useContext)(Yw), a = K(i || {}, {
...t,
register() {
r.current = !0, i && i.register();
}
});
- return a.ref = QC(n || i?.ref), $C(i, a.ref), (0, F.useEffect)(() => {
+ return a.ref = JC(n || i?.ref), YC(i, a.ref), (0, F.useEffect)(() => {
r.current ||= !0;
- }, []), /*#__PURE__*/ F.createElement($w.Provider, { value: a }, e);
+ }, []), /*#__PURE__*/ F.createElement(Yw.Provider, { value: a }, e);
});
-function Ose({ children: e }) {
+function Mse({ children: e }) {
let t = (0, F.useMemo)(() => ({ register: () => {} }), []);
- return /*#__PURE__*/ F.createElement($w.Provider, { value: t }, e);
+ return /*#__PURE__*/ F.createElement(Yw.Provider, { value: t }, e);
}
// node_modules/react-aria/dist/private/overlays/PortalProvider.mjs
-var TD = /*#__PURE__*/ (0, F.createContext)({});
-function ED(e) {
- let { getContainer: t } = e, { getContainer: n } = DD();
- return /*#__PURE__*/ F.createElement(TD.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
+var xD = /*#__PURE__*/ (0, F.createContext)({});
+function SD(e) {
+ let { getContainer: t } = e, { getContainer: n } = CD();
+ return /*#__PURE__*/ F.createElement(xD.Provider, { value: { getContainer: t === null ? void 0 : t ?? n } }, e.children);
}
-function DD() {
- return (0, F.useContext)(TD) ?? {};
+function CD() {
+ return (0, F.useContext)(xD) ?? {};
}
// node_modules/react-aria/dist/private/overlays/Overlay.mjs
-var OD = /*#__PURE__*/ F.createContext(null);
-function kD(e) {
- let t = lC(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => ({
+var wD = /*#__PURE__*/ F.createContext(null);
+function TD(e) {
+ let t = aC(), { portalContainer: n = t ? null : document.body, isExiting: r } = e, [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => ({
contain: i,
setContain: a
- }), [i, a]), { getContainer: s } = DD();
+ }), [i, a]), { getContainer: s } = CD();
if (!e.portalContainer && s && (n = s()), !n) return null;
let c = e.children;
- return e.disableFocusManagement || (c = /*#__PURE__*/ F.createElement(hT, {
+ return e.disableFocusManagement || (c = /*#__PURE__*/ F.createElement(dT, {
restoreFocus: !0,
contain: (e.shouldContainFocus || i) && !r
- }, c)), c = /*#__PURE__*/ F.createElement(OD.Provider, { value: o }, /*#__PURE__*/ F.createElement(Ose, null, /*#__PURE__*/ F.createElement(ew.Provider, { value: null }, c))), /*#__PURE__*/ Rt.createPortal(c, n);
+ }, c)), c = /*#__PURE__*/ F.createElement(wD.Provider, { value: o }, /*#__PURE__*/ F.createElement(Mse, null, /*#__PURE__*/ F.createElement(XC.Provider, { value: null }, c))), /*#__PURE__*/ Rt.createPortal(c, n);
}
-function AD() {
- let e = (0, F.useContext)(OD)?.setContain;
- BS(() => {
+function ED() {
+ let e = (0, F.useContext)(wD)?.setContain;
+ IS(() => {
e?.(!0);
}, [e]);
}
// node_modules/react-aria/dist/private/dialog/useDialog.mjs
-function kse(e, t) {
- let { role: n = "dialog", isEntering: r } = e, i = HC();
+function Nse(e, t) {
+ let { role: n = "dialog", isEntering: r } = e, i = RC();
i = e["aria-label"] ? void 0 : i;
- let a = HC();
+ let a = RC();
a = n === "alertdialog" && !e["aria-describedby"] ? a : void 0;
let o = (0, F.useRef)(!1);
(0, F.useEffect)(() => {
- if (!r && t.current && !PS(t.current)) {
- IC(t.current);
+ if (!r && t.current && !AS(t.current)) {
+ MC(t.current);
let e = setTimeout(() => {
- (MS() === t.current || MS() === document.body) && (o.current = !0, t.current && (t.current.blur(), IC(t.current)), o.current = !1);
+ (OS() === t.current || OS() === document.body) && (o.current = !0, t.current && (t.current.blur(), MC(t.current)), o.current = !1);
}, 500);
return () => {
clearTimeout(e);
};
}
- }, [t, r]), AD(), (0, F.useRef)(!1), (0, F.useEffect)(() => {});
+ }, [t, r]), ED(), (0, F.useRef)(!1), (0, F.useEffect)(() => {});
let s = e["aria-describedby"] ?? a;
return {
dialogProps: {
- ...Gw(e, { labelable: !0 }),
+ ...Vw(e, { labelable: !0 }),
role: n,
tabIndex: -1,
"aria-labelledby": e["aria-labelledby"] ?? i,
@@ -26610,23 +26610,23 @@ function kse(e, t) {
};
}
// node_modules/react-aria/dist/private/focus/useFocusRing.mjs
-function jD(e = {}) {
+function DD(e = {}) {
let { autoFocus: t = !1, isTextInput: n, within: r } = e, i = (0, F.useRef)({
isFocused: !1,
- isFocusVisible: t || wC()
+ isFocusVisible: t || bC()
}), [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(() => i.current.isFocused && i.current.isFocusVisible), l = (0, F.useCallback)(() => c(i.current.isFocused && i.current.isFocusVisible), []), u = (0, F.useCallback)((e) => {
- i.current.isFocused = e, i.current.isFocusVisible = wC(), o(e), l();
+ i.current.isFocused = e, i.current.isFocusVisible = bC(), o(e), l();
}, [l]);
- kC((e) => {
+ TC((e) => {
i.current.isFocusVisible = e, l();
}, [n, a], {
enabled: a,
isTextInput: n
});
- let { focusProps: d } = qC({
+ let { focusProps: d } = UC({
isDisabled: r,
onFocusChange: u
- }), { focusWithinProps: f } = nE({
+ }), { focusWithinProps: f } = QT({
isDisabled: !r,
onFocusWithinChange: u
});
@@ -26637,41 +26637,41 @@ function jD(e = {}) {
};
}
// node_modules/react-aria/dist/private/i18n/useListFormatter.mjs
-function Ase(e = {}) {
- let { locale: t } = Lw();
+function Pse(e = {}) {
+ let { locale: t } = Nw();
return (0, F.useMemo)(() => new Intl.ListFormat(t, e), [t, e]);
}
// node_modules/react-aria/dist/private/interactions/useHover.mjs
-var MD = !1, ND = 0;
-function jse() {
- MD = !0, setTimeout(() => {
- MD = !1;
+var OD = !1, kD = 0;
+function Fse() {
+ OD = !0, setTimeout(() => {
+ OD = !1;
}, 500);
}
-function PD(e) {
- e.pointerType === "touch" && jse();
+function AD(e) {
+ e.pointerType === "touch" && Fse();
}
-function Mse() {
- let e = wS(null);
- if (e !== void 0) return ND === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", PD), ND++, () => {
- ND--, !(ND > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", PD);
+function Ise() {
+ let e = bS(null);
+ if (e !== void 0) return kD === 0 && typeof PointerEvent < "u" && e.addEventListener("pointerup", AD), kD++, () => {
+ kD--, !(kD > 0) && typeof PointerEvent < "u" && e.removeEventListener("pointerup", AD);
};
}
-function FD(e) {
+function jD(e) {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, isDisabled: i } = e, [a, o] = (0, F.useState)(!1), s = (0, F.useRef)({
isHovered: !1,
ignoreEmulatedMouseEvents: !1,
pointerType: "",
target: null
}).current;
- (0, F.useEffect)(Mse, []);
- let { addGlobalListener: c, removeAllGlobalListeners: l } = eT(), { hoverProps: u, triggerHoverEnd: d } = (0, F.useMemo)(() => {
+ (0, F.useEffect)(Ise, []);
+ let { addGlobalListener: c, removeAllGlobalListeners: l } = Xw(), { hoverProps: u, triggerHoverEnd: d } = (0, F.useMemo)(() => {
let e = (e, r) => {
- if (s.pointerType = r, i || r === "touch" || s.isHovered || !jS(e.currentTarget, G(e))) return;
+ if (s.pointerType = r, i || r === "touch" || s.isHovered || !DS(e.currentTarget, G(e))) return;
s.isHovered = !0;
let l = e.currentTarget;
- s.target = l, c(wS(G(e)), "pointerover", (e) => {
- s.isHovered && s.target && !jS(s.target, G(e)) && a(e, e.pointerType);
+ s.target = l, c(bS(G(e)), "pointerover", (e) => {
+ s.isHovered && s.target && !DS(s.target, G(e)) && a(e, e.pointerType);
}, { capture: !0 }), t && t({
type: "hoverstart",
target: l,
@@ -26686,9 +26686,9 @@ function FD(e) {
}), n && n(!1), o(!1));
}, u = {};
return typeof PointerEvent < "u" && (u.onPointerEnter = (t) => {
- MD && t.pointerType === "mouse" || e(t, t.pointerType);
+ OD && t.pointerType === "mouse" || e(t, t.pointerType);
}, u.onPointerLeave = (e) => {
- !i && jS(e.currentTarget, G(e)) && a(e, e.pointerType);
+ !i && DS(e.currentTarget, G(e)) && a(e, e.pointerType);
}), {
hoverProps: u,
triggerHoverEnd: a
@@ -26710,22 +26710,22 @@ function FD(e) {
};
}
// node_modules/react-aria/dist/private/interactions/useInteractOutside.mjs
-function Nse(e) {
+function Lse(e) {
let { ref: t, onInteractOutside: n, isDisabled: r, onInteractOutsideStart: i } = e, a = (0, F.useRef)({
isPointerDown: !1,
ignoreEmulatedMouseEvents: !1
- }), o = kw((e) => {
- n && ID(e, t) && (i && i(e), a.current.isPointerDown = !0);
- }), s = kw((e) => {
+ }), o = Tw((e) => {
+ n && MD(e, t) && (i && i(e), a.current.isPointerDown = !0);
+ }), s = Tw((e) => {
n && n(e);
});
(0, F.useEffect)(() => {
let e = a.current;
if (r) return;
- let n = t.current, i = wS(n);
+ let n = t.current, i = bS(n);
if (typeof PointerEvent < "u") {
let n = (n) => {
- e.isPointerDown && ID(n, t) && s(n), e.isPointerDown = !1;
+ e.isPointerDown && MD(n, t) && s(n), e.isPointerDown = !1;
};
return i.addEventListener("pointerdown", o, !0), i.addEventListener("click", n, !0), () => {
i.removeEventListener("pointerdown", o, !0), i.removeEventListener("click", n, !0);
@@ -26733,28 +26733,28 @@ function Nse(e) {
}
}, [t, r]);
}
-function ID(e, t) {
+function MD(e, t) {
if (e.button > 0) return !1;
let n = G(e);
if (n) {
let e = n.ownerDocument;
- if (!e || !jS(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;
+ if (!e || !DS(e.documentElement, n) || n.closest("[data-react-aria-top-layer]")) return !1;
}
return t.current ? !e.composedPath().includes(t.current) : !1;
}
// node_modules/react-aria/dist/private/gridlist/utils.mjs
-var LD = /* @__PURE__ */ new WeakMap();
-function RD(e, t) {
- let { id: n } = LD.get(e) ?? {};
+var ND = /* @__PURE__ */ new WeakMap();
+function PD(e, t) {
+ let { id: n } = ND.get(e) ?? {};
if (!n) throw Error("Unknown list");
- return `${n}-${Pse(t)}`;
+ return `${n}-${Rse(t)}`;
}
-function Pse(e) {
+function Rse(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
// node_modules/react-aria/dist/private/intl/grid/ar-AE.mjs
-var zD = {};
-zD = {
+var FD = {};
+FD = {
deselectedItem: (e) => `${e.item} \u{63A}\u{64A}\u{631} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`,
longPressToSelect: "اضغط مطولًا للدخول إلى وضع التحديد.",
select: "تحديد",
@@ -26767,8 +26767,8 @@ zD = {
selectedItem: (e) => `${e.item} \u{627}\u{644}\u{645}\u{62D}\u{62F}\u{62F}`
};
// node_modules/react-aria/dist/private/intl/grid/bg-BG.mjs
-var BD = {};
-BD = {
+var ID = {};
+ID = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{435} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`,
longPressToSelect: "Натиснете и задръжте за да влезете в избирателен режим.",
select: "Изберете",
@@ -26781,8 +26781,8 @@ BD = {
selectedItem: (e) => `${e.item} \u{438}\u{437}\u{431}\u{440}\u{430}\u{43D}.`
};
// node_modules/react-aria/dist/private/intl/grid/cs-CZ.mjs
-var VD = {};
-VD = {
+var LD = {};
+LD = {
deselectedItem: (e) => `Polo\u{17E}ka ${e.item} nen\xed vybr\xe1na.`,
longPressToSelect: "Dlouhým stisknutím přejdete do režimu výběru.",
select: "Vybrat",
@@ -26795,8 +26795,8 @@ VD = {
selectedItem: (e) => `Vybr\xe1na polo\u{17E}ka ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/da-DK.mjs
-var HD = {};
-HD = {
+var RD = {};
+RD = {
deselectedItem: (e) => `${e.item} ikke valgt.`,
longPressToSelect: "Lav et langt tryk for at aktivere valgtilstand.",
select: "Vælg",
@@ -26809,8 +26809,8 @@ HD = {
selectedItem: (e) => `${e.item} valgt.`
};
// node_modules/react-aria/dist/private/intl/grid/de-DE.mjs
-var UD = {};
-UD = {
+var zD = {};
+zD = {
deselectedItem: (e) => `${e.item} nicht ausgew\xe4hlt.`,
longPressToSelect: "Gedrückt halten, um Auswahlmodus zu öffnen.",
select: "Auswählen",
@@ -26823,8 +26823,8 @@ UD = {
selectedItem: (e) => `${e.item} ausgew\xe4hlt.`
};
// node_modules/react-aria/dist/private/intl/grid/el-GR.mjs
-var WD = {};
-WD = {
+var BD = {};
+BD = {
deselectedItem: (e) => `\u{394}\u{3B5}\u{3BD} \u{3B5}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`,
longPressToSelect: "Πατήστε παρατεταμένα για να μπείτε σε λειτουργία επιλογής.",
select: "Επιλογή",
@@ -26837,8 +26837,8 @@ WD = {
selectedItem: (e) => `\u{395}\u{3C0}\u{3B9}\u{3BB}\u{3AD}\u{3C7}\u{3B8}\u{3B7}\u{3BA}\u{3B5} \u{3C4}\u{3BF} \u{3C3}\u{3C4}\u{3BF}\u{3B9}\u{3C7}\u{3B5}\u{3AF}\u{3BF} ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/en-US.mjs
-var GD = {};
-GD = {
+var VD = {};
+VD = {
deselectedItem: (e) => `${e.item} not selected.`,
select: "Select",
selectedCount: (e, t) => `${t.plural(e.count, {
@@ -26851,8 +26851,8 @@ GD = {
longPressToSelect: "Long press to enter selection mode."
};
// node_modules/react-aria/dist/private/intl/grid/es-ES.mjs
-var KD = {};
-KD = {
+var HD = {};
+HD = {
deselectedItem: (e) => `${e.item} no seleccionado.`,
longPressToSelect: "Mantenga pulsado para abrir el modo de selección.",
select: "Seleccionar",
@@ -26865,8 +26865,8 @@ KD = {
selectedItem: (e) => `${e.item} seleccionado.`
};
// node_modules/react-aria/dist/private/intl/grid/et-EE.mjs
-var qD = {};
-qD = {
+var UD = {};
+UD = {
deselectedItem: (e) => `${e.item} pole valitud.`,
longPressToSelect: "Valikurežiimi sisenemiseks vajutage pikalt.",
select: "Vali",
@@ -26879,8 +26879,8 @@ qD = {
selectedItem: (e) => `${e.item} valitud.`
};
// node_modules/react-aria/dist/private/intl/grid/fi-FI.mjs
-var JD = {};
-JD = {
+var WD = {};
+WD = {
deselectedItem: (e) => `Kohdetta ${e.item} ei valittu.`,
longPressToSelect: "Siirry valintatilaan painamalla pitkään.",
select: "Valitse",
@@ -26893,8 +26893,8 @@ JD = {
selectedItem: (e) => `${e.item} valittu.`
};
// node_modules/react-aria/dist/private/intl/grid/fr-FR.mjs
-var YD = {};
-YD = {
+var GD = {};
+GD = {
deselectedItem: (e) => `${e.item} non s\xe9lectionn\xe9.`,
longPressToSelect: "Appuyez de manière prolongée pour passer en mode de sélection.",
select: "Sélectionner",
@@ -26907,8 +26907,8 @@ YD = {
selectedItem: (e) => `${e.item} s\xe9lectionn\xe9.`
};
// node_modules/react-aria/dist/private/intl/grid/he-IL.mjs
-var XD = {};
-XD = {
+var KD = {};
+KD = {
deselectedItem: (e) => `${e.item} \u{5DC}\u{5D0} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`,
longPressToSelect: "הקשה ארוכה לכניסה למצב בחירה.",
select: "בחר",
@@ -26921,8 +26921,8 @@ XD = {
selectedItem: (e) => `${e.item} \u{5E0}\u{5D1}\u{5D7}\u{5E8}.`
};
// node_modules/react-aria/dist/private/intl/grid/hr-HR.mjs
-var ZD = {};
-ZD = {
+var qD = {};
+qD = {
deselectedItem: (e) => `Stavka ${e.item} nije odabrana.`,
longPressToSelect: "Dugo pritisnite za ulazak u način odabira.",
select: "Odaberite",
@@ -26935,8 +26935,8 @@ ZD = {
selectedItem: (e) => `Stavka ${e.item} je odabrana.`
};
// node_modules/react-aria/dist/private/intl/grid/hu-HU.mjs
-var QD = {};
-QD = {
+var JD = {};
+JD = {
deselectedItem: (e) => `${e.item} nincs kijel\xf6lve.`,
longPressToSelect: "Nyomja hosszan a kijelöléshez.",
select: "Kijelölés",
@@ -26949,8 +26949,8 @@ QD = {
selectedItem: (e) => `${e.item} kijel\xf6lve.`
};
// node_modules/react-aria/dist/private/intl/grid/it-IT.mjs
-var $D = {};
-$D = {
+var YD = {};
+YD = {
deselectedItem: (e) => `${e.item} non selezionato.`,
longPressToSelect: "Premi a lungo per passare alla modalità di selezione.",
select: "Seleziona",
@@ -26963,8 +26963,8 @@ $D = {
selectedItem: (e) => `${e.item} selezionato.`
};
// node_modules/react-aria/dist/private/intl/grid/ja-JP.mjs
-var eO = {};
-eO = {
+var XD = {};
+XD = {
deselectedItem: (e) => `${e.item} \u{304C}\u{9078}\u{629E}\u{3055}\u{308C}\u{3066}\u{3044}\u{307E}\u{305B}\u{3093}\u{3002}`,
longPressToSelect: "長押しして選択モードを開きます。",
select: "選択",
@@ -26977,8 +26977,8 @@ eO = {
selectedItem: (e) => `${e.item} \u{3092}\u{9078}\u{629E}\u{3057}\u{307E}\u{3057}\u{305F}\u{3002}`
};
// node_modules/react-aria/dist/private/intl/grid/ko-KR.mjs
-var tO = {};
-tO = {
+var ZD = {};
+ZD = {
deselectedItem: (e) => `${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C9C0} \u{C54A}\u{C558}\u{C2B5}\u{B2C8}\u{B2E4}.`,
longPressToSelect: "선택 모드로 들어가려면 길게 누르십시오.",
select: "선택",
@@ -26991,8 +26991,8 @@ tO = {
selectedItem: (e) => `${e.item}\u{C774}(\u{AC00}) \u{C120}\u{D0DD}\u{B418}\u{C5C8}\u{C2B5}\u{B2C8}\u{B2E4}.`
};
// node_modules/react-aria/dist/private/intl/grid/lt-LT.mjs
-var nO = {};
-nO = {
+var QD = {};
+QD = {
deselectedItem: (e) => `${e.item} nepasirinkta.`,
longPressToSelect: "Norėdami įjungti pasirinkimo režimą, paspauskite ir palaikykite.",
select: "Pasirinkti",
@@ -27005,8 +27005,8 @@ nO = {
selectedItem: (e) => `Pasirinkta: ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/lv-LV.mjs
-var rO = {};
-rO = {
+var $D = {};
+$D = {
deselectedItem: (e) => `Vienums ${e.item} nav atlas\u{12B}ts.`,
longPressToSelect: "Ilgi turiet nospiestu. lai ieslēgtu atlases režīmu.",
select: "Atlasīt",
@@ -27019,8 +27019,8 @@ rO = {
selectedItem: (e) => `Atlas\u{12B}ts vienums ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/nb-NO.mjs
-var iO = {};
-iO = {
+var eO = {};
+eO = {
deselectedItem: (e) => `${e.item} er ikke valgt.`,
longPressToSelect: "Bruk et langt trykk for å gå inn i valgmodus.",
select: "Velg",
@@ -27033,8 +27033,8 @@ iO = {
selectedItem: (e) => `${e.item} er valgt.`
};
// node_modules/react-aria/dist/private/intl/grid/nl-NL.mjs
-var aO = {};
-aO = {
+var tO = {};
+tO = {
deselectedItem: (e) => `${e.item} niet geselecteerd.`,
longPressToSelect: "Druk lang om de selectiemodus te openen.",
select: "Selecteren",
@@ -27047,8 +27047,8 @@ aO = {
selectedItem: (e) => `${e.item} geselecteerd.`
};
// node_modules/react-aria/dist/private/intl/grid/pl-PL.mjs
-var oO = {};
-oO = {
+var nO = {};
+nO = {
deselectedItem: (e) => `Nie zaznaczono ${e.item}.`,
longPressToSelect: "Naciśnij i przytrzymaj, aby wejść do trybu wyboru.",
select: "Zaznacz",
@@ -27061,8 +27061,8 @@ oO = {
selectedItem: (e) => `Zaznaczono ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/pt-BR.mjs
-var sO = {};
-sO = {
+var rO = {};
+rO = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Mantenha pressionado para entrar no modo de seleção.",
select: "Selecionar",
@@ -27075,8 +27075,8 @@ sO = {
selectedItem: (e) => `${e.item} selecionado.`
};
// node_modules/react-aria/dist/private/intl/grid/pt-PT.mjs
-var cO = {};
-cO = {
+var iO = {};
+iO = {
deselectedItem: (e) => `${e.item} n\xe3o selecionado.`,
longPressToSelect: "Prima continuamente para entrar no modo de seleção.",
select: "Selecionar",
@@ -27089,8 +27089,8 @@ cO = {
selectedItem: (e) => `${e.item} selecionado.`
};
// node_modules/react-aria/dist/private/intl/grid/ro-RO.mjs
-var lO = {};
-lO = {
+var aO = {};
+aO = {
deselectedItem: (e) => `${e.item} neselectat.`,
longPressToSelect: "Apăsați lung pentru a intra în modul de selectare.",
select: "Selectare",
@@ -27103,8 +27103,8 @@ lO = {
selectedItem: (e) => `${e.item} selectat.`
};
// node_modules/react-aria/dist/private/intl/grid/ru-RU.mjs
-var uO = {};
-uO = {
+var oO = {};
+oO = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Нажмите и удерживайте для входа в режим выбора.",
select: "Выбрать",
@@ -27117,8 +27117,8 @@ uO = {
selectedItem: (e) => `${e.item} \u{432}\u{44B}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`
};
// node_modules/react-aria/dist/private/intl/grid/sk-SK.mjs
-var dO = {};
-dO = {
+var sO = {};
+sO = {
deselectedItem: (e) => `Nevybrat\xe9 polo\u{17E}ky: ${e.item}.`,
longPressToSelect: "Dlhším stlačením prejdite do režimu výberu.",
select: "Vybrať",
@@ -27131,8 +27131,8 @@ dO = {
selectedItem: (e) => `Vybrat\xe9 polo\u{17E}ky: ${e.item}.`
};
// node_modules/react-aria/dist/private/intl/grid/sl-SI.mjs
-var fO = {};
-fO = {
+var cO = {};
+cO = {
deselectedItem: (e) => `Element ${e.item} ni izbran.`,
longPressToSelect: "Za izbirni način pritisnite in dlje časa držite.",
select: "Izberite",
@@ -27145,8 +27145,8 @@ fO = {
selectedItem: (e) => `Element ${e.item} je izbran.`
};
// node_modules/react-aria/dist/private/intl/grid/sr-SP.mjs
-var pO = {};
-pO = {
+var lO = {};
+lO = {
deselectedItem: (e) => `${e.item} nije izabrano.`,
longPressToSelect: "Dugo pritisnite za ulazak u režim biranja.",
select: "Izaberite",
@@ -27159,8 +27159,8 @@ pO = {
selectedItem: (e) => `${e.item} je izabrano.`
};
// node_modules/react-aria/dist/private/intl/grid/sv-SE.mjs
-var mO = {};
-mO = {
+var uO = {};
+uO = {
deselectedItem: (e) => `${e.item} ej markerat.`,
longPressToSelect: "Tryck länge när du vill öppna väljarläge.",
select: "Markera",
@@ -27173,8 +27173,8 @@ mO = {
selectedItem: (e) => `${e.item} markerat.`
};
// node_modules/react-aria/dist/private/intl/grid/tr-TR.mjs
-var hO = {};
-hO = {
+var dO = {};
+dO = {
deselectedItem: (e) => `${e.item} se\xe7ilmedi.`,
longPressToSelect: "Seçim moduna girmek için uzun basın.",
select: "Seç",
@@ -27187,8 +27187,8 @@ hO = {
selectedItem: (e) => `${e.item} se\xe7ildi.`
};
// node_modules/react-aria/dist/private/intl/grid/uk-UA.mjs
-var gO = {};
-gO = {
+var fO = {};
+fO = {
deselectedItem: (e) => `${e.item} \u{43D}\u{435} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`,
longPressToSelect: "Виконайте довге натиснення, щоб перейти в режим вибору.",
select: "Вибрати",
@@ -27201,8 +27201,8 @@ gO = {
selectedItem: (e) => `${e.item} \u{432}\u{438}\u{431}\u{440}\u{430}\u{43D}\u{43E}.`
};
// node_modules/react-aria/dist/private/intl/grid/zh-CN.mjs
-var _O = {};
-_O = {
+var pO = {};
+pO = {
deselectedItem: (e) => `\u{672A}\u{9009}\u{62E9} ${e.item}\u{3002}`,
longPressToSelect: "长按以进入选择模式。",
select: "选择",
@@ -27215,8 +27215,8 @@ _O = {
selectedItem: (e) => `\u{5DF2}\u{9009}\u{62E9} ${e.item}\u{3002}`
};
// node_modules/react-aria/dist/private/intl/grid/zh-TW.mjs
-var vO = {};
-vO = {
+var mO = {};
+mO = {
deselectedItem: (e) => `\u{672A}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`,
longPressToSelect: "長按以進入選擇模式。",
select: "選取",
@@ -27229,54 +27229,54 @@ vO = {
selectedItem: (e) => `\u{5DF2}\u{9078}\u{53D6}\u{300C}${e.item}\u{300D}\u{3002}`
};
// node_modules/react-aria/dist/private/grid/intlStrings.mjs
-var yO = {};
-yO = {
- "ar-AE": zD,
- "bg-BG": BD,
- "cs-CZ": VD,
- "da-DK": HD,
- "de-DE": UD,
- "el-GR": WD,
- "en-US": GD,
- "es-ES": KD,
- "et-EE": qD,
- "fi-FI": JD,
- "fr-FR": YD,
- "he-IL": XD,
- "hr-HR": ZD,
- "hu-HU": QD,
- "it-IT": $D,
- "ja-JP": eO,
- "ko-KR": tO,
- "lt-LT": nO,
- "lv-LV": rO,
- "nb-NO": iO,
- "nl-NL": aO,
- "pl-PL": oO,
- "pt-BR": sO,
- "pt-PT": cO,
- "ro-RO": lO,
- "ru-RU": uO,
- "sk-SK": dO,
- "sl-SI": fO,
- "sr-SP": pO,
- "sv-SE": mO,
- "tr-TR": hO,
- "uk-UA": gO,
- "zh-CN": _O,
- "zh-TW": vO
+var hO = {};
+hO = {
+ "ar-AE": FD,
+ "bg-BG": ID,
+ "cs-CZ": LD,
+ "da-DK": RD,
+ "de-DE": zD,
+ "el-GR": BD,
+ "en-US": VD,
+ "es-ES": HD,
+ "et-EE": UD,
+ "fi-FI": WD,
+ "fr-FR": GD,
+ "he-IL": KD,
+ "hr-HR": qD,
+ "hu-HU": JD,
+ "it-IT": YD,
+ "ja-JP": XD,
+ "ko-KR": ZD,
+ "lt-LT": QD,
+ "lv-LV": $D,
+ "nb-NO": eO,
+ "nl-NL": tO,
+ "pl-PL": nO,
+ "pt-BR": rO,
+ "pt-PT": iO,
+ "ro-RO": aO,
+ "ru-RU": oO,
+ "sk-SK": sO,
+ "sl-SI": cO,
+ "sr-SP": lO,
+ "sv-SE": uO,
+ "tr-TR": dO,
+ "uk-UA": fO,
+ "zh-CN": pO,
+ "zh-TW": mO
};
// node_modules/react-aria/dist/private/grid/useGridSelectionAnnouncement.mjs
-function Fse(e) {
+function zse(e) {
return e && e.__esModule ? e.default : e;
}
-function bO(e, t) {
- let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = Uw(Fse(yO), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, F.useRef)(i), o = (0, F.useCallback)(() => {
+function gO(e, t) {
+ let { getRowText: n = (e) => t.collection.getTextValue?.(e) ?? t.collection.getItem(e)?.textValue } = e, r = zw(zse(hO), "@react-aria/grid"), i = t.selectionManager.rawSelection, a = (0, F.useRef)(i), o = (0, F.useCallback)(() => {
if (!t.selectionManager.isFocused || i === a.current) {
a.current = i;
return;
}
- let e = xO(i, a.current), o = xO(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
+ let e = _O(i, a.current), o = _O(a.current, i), s = t.selectionManager.selectionBehavior === "replace", c = [];
if (t.selectionManager.selectedKeys.size === 1 && s) {
let e = t.selectionManager.selectedKeys.keys().next().value;
if (e != null && t.collection.getItem(e)) {
@@ -27296,7 +27296,7 @@ function bO(e, t) {
t && c.push(r.format("deselectedItem", { item: t }));
}
}
- t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && MT(c.join(" ")), a.current = i;
+ t.selectionManager.selectionMode === "multiple" && (c.length === 0 || i === "all" || i.size > 1 || a.current === "all" || a.current?.size > 1) && c.push(i === "all" ? r.format("selectedAll") : r.format("selectedCount", { count: i.size })), c.length > 0 && OT(c.join(" ")), a.current = i;
}, [
i,
t.selectionManager.selectedKeys,
@@ -27307,7 +27307,7 @@ function bO(e, t) {
n,
r
]);
- NT(() => {
+ kT(() => {
if (t.selectionManager.isFocused) o();
else {
let e = requestAnimationFrame(o);
@@ -27315,20 +27315,20 @@ function bO(e, t) {
}
}, [i, t.selectionManager.isFocused]);
}
-function xO(e, t) {
+function _O(e, t) {
let n = /* @__PURE__ */ new Set();
if (e === "all" || t === "all") return n;
for (let r of e.keys()) t.has(r) || n.add(r);
return n;
}
// node_modules/react-aria/dist/private/focus/useHasTabbableChild.mjs
-function SO(e, t) {
+function vO(e, t) {
let n = t?.isDisabled, [r, i] = (0, F.useState)(!1);
- return BS(() => {
+ return IS(() => {
if (e?.current && !n) {
let t = () => {
if (e.current) {
- let t = DT(e.current, { tabbable: !0 });
+ let t = CT(e.current, { tabbable: !0 });
i(!!t.nextNode());
}
};
@@ -27346,12 +27346,12 @@ function SO(e, t) {
}), !n && r;
}
// node_modules/react-aria/dist/private/grid/useHighlightSelectionDescription.mjs
-function Ise(e) {
+function Bse(e) {
return e && e.__esModule ? e.default : e;
}
-function CO(e) {
- let t = Uw(Ise(yO), "@react-aria/grid"), n = DC(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
- return BT((0, F.useMemo)(() => {
+function yO(e) {
+ let t = zw(Bse(hO), "@react-aria/grid"), n = CC(), r = (n === "pointer" || n === "virtual" || n == null) && typeof window < "u" && "ontouchstart" in window;
+ return IT((0, F.useMemo)(() => {
let n = e.selectionManager.selectionMode, i = e.selectionManager.selectionBehavior, a;
return r && (a = t.format("longPressToSelect")), i === "replace" && n !== "none" && e.hasItemActions ? a : void 0;
}, [
@@ -27363,11 +27363,11 @@ function CO(e) {
]));
}
// node_modules/react-aria/dist/private/selection/useSelectableList.mjs
-function wO(e) {
- let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = wD({
+function bO(e) {
+ let { selectionManager: t, collection: n, disabledKeys: r, ref: i, keyboardDelegate: a, layoutDelegate: o, orientation: s } = e, c = bD({
usage: "search",
sensitivity: "base"
- }), l = t.disabledBehavior, u = (0, F.useMemo)(() => a || new EE({
+ }), l = t.disabledBehavior, u = (0, F.useMemo)(() => a || new SE({
collection: n,
disabledKeys: r,
disabledBehavior: l,
@@ -27384,7 +27384,7 @@ function wO(e) {
c,
l,
s
- ]), { collectionProps: d } = mD({
+ ]), { collectionProps: d } = uD({
...e,
ref: i,
selectionManager: t,
@@ -27393,10 +27393,10 @@ function wO(e) {
return { listProps: d };
}
// node_modules/react-aria/dist/private/gridlist/useGridList.mjs
-function Lse(e, t, n) {
+function Vse(e, t, n) {
let { isVirtualized: r, keyboardDelegate: i, layoutDelegate: a, onAction: o, disallowTypeAhead: s, linkBehavior: c = "action", keyboardNavigationBehavior: l = "arrow", escapeKeyBehavior: u = "clearSelection", shouldSelectOnPressUp: d } = e;
!e["aria-label"] && !e["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
- let { listProps: f } = wO({
+ let { listProps: f } = bO({
selectionManager: t.selectionManager,
collection: t.collection,
disabledKeys: t.disabledKeys,
@@ -27411,30 +27411,30 @@ function Lse(e, t, n) {
autoFocus: e.autoFocus,
escapeKeyBehavior: u,
UNSTABLE_focusOnEntry: e.UNSTABLE_focusOnEntry
- }), p = VC(e.id);
- LD.set(t, {
+ }), p = LC(e.id);
+ ND.set(t, {
id: p,
onAction: o,
linkBehavior: c,
keyboardNavigationBehavior: l,
shouldSelectOnPressUp: d
});
- let m = CO({
+ let m = yO({
selectionManager: t.selectionManager,
hasItemActions: !!o
- }), h = SO(n, { isDisabled: t.collection.size !== 0 }), g = K(Gw(e, { labelable: !0 }), {
+ }), h = vO(n, { isDisabled: t.collection.size !== 0 }), g = K(Vw(e, { labelable: !0 }), {
role: "grid",
id: p,
"aria-multiselectable": t.selectionManager.selectionMode === "multiple" ? "true" : void 0
}, t.collection.size === 0 ? { tabIndex: h ? -1 : 0 } : f, m);
- return r && (g["aria-rowcount"] = t.collection.size, g["aria-colcount"] = 1), bO({}, t), { gridProps: g };
+ return r && (g["aria-rowcount"] = t.collection.size, g["aria-colcount"] = 1), gO({}, t), { gridProps: g };
}
// node_modules/react-aria/dist/private/selection/useSelectableItem.mjs
-function TO(e) {
- let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = tC();
- t = VC(t);
+function xO(e) {
+ let { id: t, selectionManager: n, key: r, ref: i, shouldSelectOnPressUp: a, shouldUseVirtualFocus: o, focus: s, isDisabled: c, onAction: l, allowsDifferentPressOrigin: u, linkBehavior: d = "action" } = e, f = ZS();
+ t = LC(t);
let p = (e) => {
- if (e.pointerType === "keyboard" && SE(e)) n.toggleSelection(r);
+ if (e.pointerType === "keyboard" && vE(e)) n.toggleSelection(r);
else {
if (n.selectionMode === "none") return;
if (n.isLink(r)) {
@@ -27445,11 +27445,11 @@ function TO(e) {
}
if (d === "override" || d === "none") return;
}
- n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (Dw(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);
+ n.selectionMode === "single" ? n.isSelected(r) && !n.disallowEmptySelection ? n.toggleSelection(r) : n.replaceSelection(r) : e && e.shiftKey ? n.extendSelection(r) : n.selectionBehavior === "toggle" || e && (Cw(e) || e.pointerType === "touch" || e.pointerType === "virtual") ? n.toggleSelection(r) : n.replaceSelection(r);
}
};
(0, F.useEffect)(() => {
- r === n.focusedKey && n.isFocused && (o ? gw(i.current) : s ? s() : MS() !== i.current && i.current && IC(i.current));
+ r === n.focusedKey && n.isFocused && (o ? fw(i.current) : s ? s() : OS() !== i.current && i.current && MC(i.current));
}, [
i,
r,
@@ -27477,22 +27477,22 @@ function TO(e) {
l && (l(), i.current?.dispatchEvent(new CustomEvent("react-aria-item-action", { bubbles: !0 }))), _ && i.current && f.open(i.current, e, D.href, D.routerOptions);
}, k = { ref: i };
a ? (k.onPressStart = (e) => {
- C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || DO(e.key)) && p(e);
+ C.current = e.pointerType, T.current = w, e.pointerType === "keyboard" && (!S || CO(e.key)) && p(e);
}, u ? (k.onPressUp = b ? void 0 : (e) => {
e.pointerType === "mouse" && v && p(e);
}, k.onPress = b ? O : (e) => {
e.pointerType !== "keyboard" && e.pointerType !== "mouse" && v && p(e);
}) : k.onPress = (e) => {
if (b || x && e.pointerType !== "mouse") {
- if (e.pointerType === "keyboard" && !EO(e.key)) return;
+ if (e.pointerType === "keyboard" && !SO(e.key)) return;
O(e);
} else e.pointerType !== "keyboard" && v && p(e);
}) : (k.onPressStart = (e) => {
- C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || DO(e.key))) && p(e);
+ C.current = e.pointerType, T.current = w, E.current = b, v && (e.pointerType === "mouse" && !b || e.pointerType === "keyboard" && (!y || CO(e.key))) && p(e);
}, k.onPress = (e) => {
- (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && EO(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));
+ (e.pointerType === "touch" || e.pointerType === "pen" || e.pointerType === "virtual" || e.pointerType === "keyboard" && S && SO(e.key) || e.pointerType === "mouse" && E.current) && (S ? O(e) : v && p(e));
});
- let A = bse(n.collection);
+ let A = wse(n.collection);
if (m["data-collection"] = A, m["data-key"] = r, k.preventFocusOnPress = o, o && (k = K(k, {
onPressStart(e) {
e.pointerType !== "touch" && (n.setFocused(!0), n.setFocusedKey(r));
@@ -27507,10 +27507,10 @@ function TO(e) {
"onPress",
"onPressUp",
"onClick"
- ]) D[e] && (k[e] = LC(k[e], D[e]));
- let { pressProps: j, isPressed: M } = aT(k), ee = x ? (e) => {
+ ]) D[e] && (k[e] = NC(k[e], D[e]));
+ let { pressProps: j, isPressed: M } = tT(k), ee = x ? (e) => {
C.current === "mouse" && (e.stopPropagation(), e.preventDefault(), O(e));
- } : void 0, { longPressProps: N } = cD({
+ } : void 0, { longPressProps: N } = iD({
isDisabled: !w,
onLongPress(e) {
e.pointerType === "touch" && (p(e), n.setSelectionBehavior("toggle"));
@@ -27518,7 +27518,7 @@ function TO(e) {
}), te = (e) => {
C.current === "touch" && T.current && e.preventDefault();
}, P = d !== "none" && n.isLink(r) ? (e) => {
- nC.isOpening || e.preventDefault();
+ QS.isOpening || e.preventDefault();
} : void 0, ne = K(m, v || b || o && !c ? j : {}, w ? N : {}, {
onDoubleClick: ee,
onDragStartCapture: te,
@@ -27531,7 +27531,7 @@ function TO(e) {
if (e != null) return e !== A;
t = t.parentElement;
}
- return RS(e);
+ return PS(e);
}, I = ne.onPointerDown;
ne.onPointerDown = (e) => {
let t = G(e);
@@ -27551,14 +27551,14 @@ function TO(e) {
hasAction: S
};
}
-function EO(e) {
+function SO(e) {
return e === "Enter";
}
-function DO(e) {
+function CO(e) {
return e === " ";
}
// node_modules/react-aria/dist/private/gridlist/useGridListItem.mjs
-var OO = {
+var wO = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -27568,18 +27568,18 @@ var OO = {
rtl: "ArrowRight"
}
};
-function Rse(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = Lw(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = LD.get(t), f = HC(), p = (0, F.useRef)(null), m = () => {
+function Hse(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a = "row", allowsArrowNavigation: o } = e, { direction: s } = Nw(), { onAction: c, linkBehavior: l, keyboardNavigationBehavior: u, shouldSelectOnPressUp: d } = ND.get(t), f = RC(), p = (0, F.useRef)(null), m = () => {
if (n.current !== null) {
if (a === "child") {
- if (PS(n.current) && n.current !== MS(wS(n.current))) return;
- let e = DT(n.current, { tabbable: !0 }).firstChild();
+ if (AS(n.current) && n.current !== OS(bS(n.current))) return;
+ let e = CT(n.current, { tabbable: !0 }).firstChild();
if (e) {
- IC(e), RT(e, { containingElement: FT(e) });
+ MC(e), PT(e, { containingElement: jT(e) });
return;
}
}
- (p.current != null && r.key !== p.current || !PS(n.current)) && IC(n.current);
+ (p.current != null && r.key !== p.current || !AS(n.current)) && MC(n.current);
}
}, h = {}, g = e.hasChildItems, _ = t.selectionManager.isLink(r.key);
if (r != null && "expandedKeys" in t) {
@@ -27589,7 +27589,7 @@ function Rse(e, t, n) {
if (r.level >= 0 && r?.parentKey != null) {
let e = t.collection.getItem(r.parentKey);
if (e) {
- let n = zse(e, t.collection);
+ let n = Use(e, t.collection);
i = [...n].filter((e) => e.type === "item").length, a > 0 && n[0].type !== "item" && --a;
}
} else i = [...t.collection].filter((e) => e.level === 0 && e.type === "item").length;
@@ -27600,75 +27600,75 @@ function Rse(e, t, n) {
"aria-setsize": i
};
}
- let { itemProps: v, ...y } = TO({
+ let { itemProps: v, ...y } = xO({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
isVirtualized: i,
shouldSelectOnPressUp: e.shouldSelectOnPressUp || d,
- onAction: c || r.props?.onAction ? LC(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,
+ onAction: c || r.props?.onAction ? NC(r.props?.onAction, c ? () => c(r.key) : void 0) : void 0,
focus: m,
linkBehavior: l
}), b = (e) => {
- let i = MS(wS(n.current));
- if (!jS(e.currentTarget, G(e)) || !n.current || !i) return;
- let a = DT(n.current);
- if (a.currentNode = i, !kO(e, t, r, g, s, i, n.current, o)) switch (e.key) {
+ let i = OS(bS(n.current));
+ if (!DS(e.currentTarget, G(e)) || !n.current || !i) return;
+ let a = CT(n.current);
+ if (a.currentNode = i, !TO(e, t, r, g, s, i, n.current, o)) switch (e.key) {
case "ArrowLeft":
if (u === "arrow") {
let t = s === "rtl" ? a.nextNode() : a.previousNode();
- if (t) e.preventDefault(), e.stopPropagation(), IC(t), RT(t, { containingElement: FT(n.current) });
- else if (e.preventDefault(), e.stopPropagation(), s === "rtl") IC(n.current), RT(n.current, { containingElement: FT(n.current) });
+ if (t) e.preventDefault(), e.stopPropagation(), MC(t), PT(t, { containingElement: jT(n.current) });
+ else if (e.preventDefault(), e.stopPropagation(), s === "rtl") MC(n.current), PT(n.current, { containingElement: jT(n.current) });
else {
a.currentNode = n.current;
- let e = AO(a);
- e && (IC(e), RT(e, { containingElement: FT(n.current) }));
+ let e = EO(a);
+ e && (MC(e), PT(e, { containingElement: jT(n.current) }));
}
}
break;
case "ArrowRight":
if (u === "arrow") {
let t = s === "rtl" ? a.previousNode() : a.nextNode();
- if (t) e.preventDefault(), e.stopPropagation(), IC(t), RT(t, { containingElement: FT(n.current) });
- else if (e.preventDefault(), e.stopPropagation(), s === "ltr") IC(n.current), RT(n.current, { containingElement: FT(n.current) });
+ if (t) e.preventDefault(), e.stopPropagation(), MC(t), PT(t, { containingElement: jT(n.current) });
+ else if (e.preventDefault(), e.stopPropagation(), s === "ltr") MC(n.current), PT(n.current, { containingElement: jT(n.current) });
else {
a.currentNode = n.current;
- let e = AO(a);
- e && (IC(e), RT(e, { containingElement: FT(n.current) }));
+ let e = EO(a);
+ e && (MC(e), PT(e, { containingElement: jT(n.current) }));
}
}
break;
case "ArrowUp":
- case "ArrowDown": !e.altKey && jS(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
+ case "ArrowDown": !e.altKey && DS(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
}
}, x = (e) => {
- p.current = r.key, G(e) === n.current ? a === "child" && e.relatedTarget && jS(n.current, e.relatedTarget) || requestAnimationFrame(() => {
- a === "child" && MS(wS(n.current)) === n.current && m();
- }) : wC() || t.selectionManager.setFocusedKey(r.key);
+ p.current = r.key, G(e) === n.current ? a === "child" && e.relatedTarget && DS(n.current, e.relatedTarget) || requestAnimationFrame(() => {
+ a === "child" && OS(bS(n.current)) === n.current && m();
+ }) : bC() || t.selectionManager.setFocusedKey(r.key);
}, S = (e) => {
- let i = MS(wS(n.current));
- if (jS(e.currentTarget, G(e)) && n.current && i) {
+ let i = OS(bS(n.current));
+ if (DS(e.currentTarget, G(e)) && n.current && i) {
if (u === "tab") {
if (G(e) !== n.current && e.key !== "Tab") {
e.stopPropagation();
return;
}
- if (kO(e, t, r, g, s, i, n.current, o)) return;
+ if (TO(e, t, r, g, s, i, n.current, o)) return;
}
if (e.key === "Tab" && u === "tab") {
- let t = DT(n.current, { tabbable: !0 });
+ let t = CT(n.current, { tabbable: !0 });
t.currentNode = i, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();
}
}
- }, C = rC(r.props), w = K(v, y.hasAction ? C : {}, {
+ }, C = $S(r.props), w = K(v, y.hasAction ? C : {}, {
role: "row",
onKeyDownCapture: u === "arrow" || o ? b : void 0,
onFocus: x,
"aria-label": r["aria-label"] || r.textValue || void 0,
"aria-selected": t.selectionManager.canSelectItem(r.key) ? t.selectionManager.isSelected(r.key) : void 0,
"aria-disabled": t.selectionManager.isDisabled(r.key) || void 0,
- "aria-labelledby": f && (r["aria-label"] || r.textValue) ? `${RD(t, r.key)} ${f}` : void 0,
- id: RD(t, r.key)
+ "aria-labelledby": f && (r["aria-label"] || r.textValue) ? `${PD(t, r.key)} ${f}` : void 0,
+ id: PD(t, r.key)
});
a === "child" && o && u === "tab" && (w.tabIndex = -1);
let T = w.onKeyDown;
@@ -27689,66 +27689,66 @@ function Rse(e, t, n) {
...y
};
}
-function kO(e, t, n, r, i, a, o, s) {
+function TO(e, t, n, r, i, a, o, s) {
if (!("expandedKeys" in t) || !s && a !== o) return !1;
- if (e.key === OO.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;
- if (e.key === OO.collapse[i] && t.selectionManager.focusedKey === n.key) {
+ if (e.key === wO.expand[i] && t.selectionManager.focusedKey === n.key && r && !t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;
+ if (e.key === wO.collapse[i] && t.selectionManager.focusedKey === n.key) {
if (r && t.expandedKeys.has(n.key)) return t.toggleKey(n.key), e.stopPropagation(), !0;
if (!t.expandedKeys.has(n.key) && n.parentKey && t.collection.getItem(n.parentKey)?.type === "item") return t.selectionManager.setFocusedKey(n.parentKey), e.stopPropagation(), !0;
}
return !1;
}
-function AO(e) {
+function EO(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
while (n);
return t;
}
-function zse(e, t) {
+function Use(e, t) {
let n = t.getChildren?.(e.key), r = n ? Array.from(n) : [], i = r.length > 0 ? r[0] : null, a = [];
for (; i;) a.push(i), i = i.nextKey == null ? null : t.getItem(i.nextKey);
return a;
}
// node_modules/react-aria/dist/private/grid/useGridSelectionCheckbox.mjs
-function Bse(e) {
+function Wse(e) {
return e && e.__esModule ? e.default : e;
}
-function jO(e, t) {
- let { key: n } = e, r = t.selectionManager, i = VC(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
+function DO(e, t) {
+ let { key: n } = e, r = t.selectionManager, i = LC(), a = !t.selectionManager.canSelectItem(n), o = t.selectionManager.isSelected(n);
return { checkboxProps: {
id: i,
- "aria-label": Uw(Bse(yO), "@react-aria/grid").format("select"),
+ "aria-label": zw(Wse(hO), "@react-aria/grid").format("select"),
isSelected: o,
isDisabled: a,
onChange: () => r.toggleSelection(n)
} };
}
// node_modules/react-aria/dist/private/gridlist/useGridListSelectionCheckbox.mjs
-function Vse(e, t) {
- let { key: n } = e, { checkboxProps: r } = jO(e, t);
+function Gse(e, t) {
+ let { key: n } = e, { checkboxProps: r } = DO(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${RD(t, n)}`
+ "aria-labelledby": `${r.id} ${PD(t, n)}`
} };
}
// node_modules/react-aria/dist/private/listbox/useListBox.mjs
-function Hse(e, t, n) {
- let r = Gw(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");
+function Kse(e, t, n) {
+ let r = Vw(e, { labelable: !0 }), i = e.selectionBehavior || "toggle", a = e.orientation || "vertical", o = e.linkBehavior || (i === "replace" ? "action" : "override");
i === "toggle" && o === "action" && (o = "override");
- let { listProps: s } = wO({
+ let { listProps: s } = bO({
...e,
ref: n,
selectionManager: t.selectionManager,
collection: t.collection,
disabledKeys: t.disabledKeys,
linkBehavior: o
- }), { focusWithinProps: c } = nE({
+ }), { focusWithinProps: c } = QT({
onFocusWithin: e.onFocus,
onBlurWithin: e.onBlur,
onFocusWithinChange: e.onFocusChange
- }), l = VC(e.id);
- xE.set(t, {
+ }), l = LC(e.id);
+ _E.set(t, {
id: l,
shouldUseVirtualFocus: e.shouldUseVirtualFocus,
shouldSelectOnPressUp: e.shouldSelectOnPressUp,
@@ -27758,7 +27758,7 @@ function Hse(e, t, n) {
linkBehavior: o,
UNSTABLE_itemBehavior: e.UNSTABLE_itemBehavior
});
- let { labelProps: u, fieldProps: d } = eE({
+ let { labelProps: u, fieldProps: d } = XT({
...e,
id: l,
labelElementType: "span"
@@ -27773,8 +27773,8 @@ function Hse(e, t, n) {
};
}
// node_modules/react-aria/dist/private/listbox/useListBoxSection.mjs
-function Use(e) {
- let { heading: t, "aria-label": n } = e, r = VC();
+function qse(e) {
+ let { heading: t, "aria-label": n } = e, r = LC();
return {
itemProps: { role: "presentation" },
headingProps: t ? {
@@ -27792,8 +27792,8 @@ function Use(e) {
};
}
// node_modules/react-aria/dist/private/listbox/useOption.mjs
-function Wse(e, t, n) {
- let { key: r } = e, i = xE.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = HC(), f = HC(), p = {
+function Jse(e, t, n) {
+ let { key: r } = e, i = _E.get(t), a = e.isDisabled ?? t.selectionManager.isDisabled(r), o = e.isSelected ?? t.selectionManager.isSelected(r), s = e.shouldSelectOnPressUp ?? i?.shouldSelectOnPressUp, c = e.shouldFocusOnHover ?? i?.shouldFocusOnHover, l = e.shouldUseVirtualFocus ?? i?.shouldUseVirtualFocus, u = e.isVirtualized ?? i?.isVirtualized, d = RC(), f = RC(), p = {
role: "option",
"aria-disabled": a || void 0,
"aria-selected": t.selectionManager.selectionMode === "none" ? void 0 : o,
@@ -27803,9 +27803,9 @@ function Wse(e, t, n) {
}, m = t.collection.getItem(r);
if (u) {
let e = Number(m?.index);
- p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = SD(t.collection);
+ p["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, p["aria-setsize"] = vD(t.collection);
}
- let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = vse(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = TO({
+ let h = i?.onAction ? () => i?.onAction?.(r) : void 0, g = Sse(t, r), { itemProps: _, isPressed: v, isFocused: y, hasAction: b, allowsSelection: x } = xO({
selectionManager: t.selectionManager,
key: r,
ref: n,
@@ -27814,18 +27814,18 @@ function Wse(e, t, n) {
isVirtualized: u,
shouldUseVirtualFocus: l,
isDisabled: a,
- onAction: h || m?.props?.onAction ? LC(m?.props?.onAction, h) : void 0,
+ onAction: h || m?.props?.onAction ? NC(m?.props?.onAction, h) : void 0,
linkBehavior: i?.linkBehavior,
UNSTABLE_itemBehavior: i?.UNSTABLE_itemBehavior,
id: g
- }), { hoverProps: S } = FD({
+ }), { hoverProps: S } = jD({
isDisabled: a || !c,
onHoverStart() {
- wC() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
+ bC() || (t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r));
}
- }), C = Gw(m?.props);
+ }), C = Vw(m?.props);
delete C.id;
- let w = iC(m?.props);
+ let w = eC(m?.props);
return {
optionProps: {
...p,
@@ -27835,7 +27835,7 @@ function Wse(e, t, n) {
labelProps: { id: d },
descriptionProps: { id: f },
isFocused: y,
- isFocusVisible: y && t.selectionManager.isFocused && wC(),
+ isFocusVisible: y && t.selectionManager.isFocused && bC(),
isSelected: o,
isDisabled: a,
isPressed: v,
@@ -27844,12 +27844,12 @@ function Wse(e, t, n) {
};
}
// node_modules/react-aria/dist/private/menu/utils.mjs
-var MO = /* @__PURE__ */ new WeakMap();
+var OO = /* @__PURE__ */ new WeakMap();
// node_modules/react-aria/dist/private/menu/useMenu.mjs
-function Gse(e, t, n) {
+function Yse(e, t, n) {
let { shouldFocusWrap: r = !0, onKeyDown: i, onKeyUp: a, ...o } = e;
!e["aria-label"] && e["aria-labelledby"];
- let s = Gw(e, { labelable: !0 }), { listProps: c } = wO({
+ let s = Vw(e, { labelable: !0 }), { listProps: c } = bO({
...o,
ref: n,
selectionManager: t.selectionManager,
@@ -27858,7 +27858,7 @@ function Gse(e, t, n) {
shouldFocusWrap: r,
linkBehavior: "override"
});
- return MO.set(t, {
+ return OO.set(t, {
onClose: e.onClose,
onAction: e.onAction,
shouldUseVirtualFocus: e.shouldUseVirtualFocus
@@ -27874,15 +27874,15 @@ function Gse(e, t, n) {
}) };
}
// node_modules/react-aria/dist/private/menu/useMenuItem.mjs
-function Kse(e, t, n) {
- let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), D = e.isSelected ?? C.isSelected(i), O = MO.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = tC(), M = () => {
+function Xse(e, t, n) {
+ let { id: r, key: i, closeOnSelect: a, shouldCloseOnSelect: o, isVirtualized: s, "aria-haspopup": c, onPressStart: l, onPressUp: u, onPress: d, onPressChange: f, onPressEnd: p, onClick: m, onHoverStart: h, onHoverChange: g, onHoverEnd: _, onKeyDown: v, onKeyUp: y, onFocus: b, onFocusChange: x, onBlur: S, selectionManager: C = t.selectionManager } = e, w = !!c, T = w && e["aria-expanded"] === "true", E = e.isDisabled ?? C.isDisabled(i), D = e.isSelected ?? C.isSelected(i), O = OO.get(t), k = t.collection.getItem(i), A = e.onClose || O.onClose, j = ZS(), M = () => {
if (!w && (k?.props?.onAction ? k.props.onAction() : e.onAction && e.onAction(i), O.onAction)) {
let e = O.onAction;
e(i, k?.value);
}
}, ee = "menuitem";
w || (C.selectionMode === "single" ? ee = "menuitemradio" : C.selectionMode === "multiple" && (ee = "menuitemcheckbox"));
- let N = HC(), te = HC(), P = HC(), ne = {
+ let N = RC(), te = RC(), P = RC(), ne = {
id: r,
"aria-disabled": E || void 0,
role: ee,
@@ -27899,17 +27899,17 @@ function Kse(e, t, n) {
};
if (C.selectionMode !== "none" && !w && (ne["aria-checked"] = D), s) {
let e = Number(k?.index);
- ne["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, ne["aria-setsize"] = SD(t.collection);
+ ne["aria-posinset"] = Number.isNaN(e) ? void 0 : e + 1, ne["aria-setsize"] = vD(t.collection);
}
let re = (0, F.useRef)(!1), I = (e) => {
f?.(e), re.current = e;
}, ie = (0, F.useRef)(null), ae = (e) => {
e.pointerType !== "keyboard" && (ie.current = { pointerType: e.pointerType }), e.pointerType === "mouse" && (re.current || e.target.click()), u?.(e);
}, oe = (e) => {
- m?.(e), M(), Tae(e, j, k.props.href, k?.props.routerOptions);
+ m?.(e), M(), kae(e, j, k.props.href, k?.props.routerOptions);
let t = ie.current?.pointerType === "keyboard" ? ie.current?.key === "Enter" || C.selectionMode === "none" || C.isLink(i) : C.selectionMode !== "multiple" || C.isLink(i);
t = o ?? a ?? t, A && !w && t && A(), ie.current = null;
- }, { itemProps: se, isFocused: ce } = TO({
+ }, { itemProps: se, isFocused: ce } = xO({
id: r,
selectionManager: C,
key: i,
@@ -27918,27 +27918,27 @@ function Kse(e, t, n) {
allowsDifferentPressOrigin: !0,
linkBehavior: "none",
shouldUseVirtualFocus: O.shouldUseVirtualFocus
- }), { pressProps: le, isPressed: ue } = aT({
+ }), { pressProps: le, isPressed: ue } = tT({
onPressStart: l,
onPress: d,
onPressUp: ae,
onPressChange: I,
onPressEnd: p,
isDisabled: E
- }), { hoverProps: de } = FD({
+ }), { hoverProps: de } = jD({
isDisabled: E,
onHoverStart(e) {
- !wC() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);
+ !bC() && !(T && c) && (C.setFocused(!0), C.setFocusedKey(i)), h?.(e);
},
onHoverChange: g,
onHoverEnd: _
- }), { keyboardProps: fe } = ZC({
+ }), { keyboardProps: fe } = qC({
shortcuts: {
" ": (e) => {
ie.current = {
pointerType: "keyboard",
key: " "
- }, G(e).click(), EC("keyboard");
+ }, G(e).click(), SC("keyboard");
},
Enter: (e) => {
ie.current = {
@@ -27946,8 +27946,8 @@ function Kse(e, t, n) {
key: "Enter"
};
let t = G(e);
- if (t.tagName !== "A") t.click(), EC("keyboard");
- else return EC("keyboard"), {
+ if (t.tagName !== "A") t.click(), SC("keyboard");
+ else return SC("keyboard"), {
shouldPreventDefault: !1,
shouldContinuePropagation: !1
};
@@ -27955,13 +27955,13 @@ function Kse(e, t, n) {
},
onKeyDown: v,
onKeyUp: y
- }), { focusableProps: pe } = tw({
+ }), { focusableProps: pe } = ZC({
onBlur: S,
onFocus: b,
onFocusChange: x
- }, n), me = Gw(k?.props);
+ }, n), me = Vw(k?.props);
delete me.id;
- let he = iC(k?.props);
+ let he = eC(k?.props);
return {
menuItemProps: {
...ne,
@@ -27976,15 +27976,15 @@ function Kse(e, t, n) {
descriptionProps: { id: te },
keyboardShortcutProps: { id: P },
isFocused: ce,
- isFocusVisible: ce && C.isFocused && wC() && !T,
+ isFocusVisible: ce && C.isFocused && bC() && !T,
isSelected: D,
isPressed: ue,
isDisabled: E
};
}
// node_modules/react-aria/dist/private/menu/useMenuSection.mjs
-function qse(e) {
- let { heading: t, "aria-label": n } = e, r = VC();
+function Zse(e) {
+ let { heading: t, "aria-label": n } = e, r = LC();
return {
itemProps: { role: "presentation" },
headingProps: t ? {
@@ -27999,15 +27999,15 @@ function qse(e) {
};
}
// node_modules/react-aria/dist/private/utils/useResizeObserver.mjs
-function Jse() {
+function Qse() {
return window.ResizeObserver !== void 0;
}
-function NO(e) {
- let { ref: t, box: n, onResize: r } = e, i = kw(r);
+function kO(e) {
+ let { ref: t, box: n, onResize: r } = e, i = Tw(r);
(0, F.useEffect)(() => {
let e = t?.current;
if (e) {
- if (Jse()) {
+ if (Qse()) {
let t = new window.ResizeObserver((e) => {
e.length && i();
});
@@ -28022,154 +28022,154 @@ function NO(e) {
}, [t, n]);
}
// node_modules/react-aria/dist/private/intl/overlays/ar-AE.mjs
-var PO = {};
-PO = { dismiss: "تجاهل" };
+var AO = {};
+AO = { dismiss: "تجاهل" };
// node_modules/react-aria/dist/private/intl/overlays/bg-BG.mjs
-var FO = {};
-FO = { dismiss: "Отхвърляне" };
+var jO = {};
+jO = { dismiss: "Отхвърляне" };
// node_modules/react-aria/dist/private/intl/overlays/cs-CZ.mjs
-var IO = {};
-IO = { dismiss: "Odstranit" };
+var MO = {};
+MO = { dismiss: "Odstranit" };
// node_modules/react-aria/dist/private/intl/overlays/da-DK.mjs
-var LO = {};
-LO = { dismiss: "Luk" };
+var NO = {};
+NO = { dismiss: "Luk" };
// node_modules/react-aria/dist/private/intl/overlays/de-DE.mjs
-var RO = {};
-RO = { dismiss: "Schließen" };
+var PO = {};
+PO = { dismiss: "Schließen" };
// node_modules/react-aria/dist/private/intl/overlays/el-GR.mjs
-var zO = {};
-zO = { dismiss: "Απόρριψη" };
+var FO = {};
+FO = { dismiss: "Απόρριψη" };
// node_modules/react-aria/dist/private/intl/overlays/en-US.mjs
-var BO = {};
-BO = { dismiss: "Dismiss" };
+var IO = {};
+IO = { dismiss: "Dismiss" };
// node_modules/react-aria/dist/private/intl/overlays/es-ES.mjs
-var VO = {};
-VO = { dismiss: "Descartar" };
+var LO = {};
+LO = { dismiss: "Descartar" };
// node_modules/react-aria/dist/private/intl/overlays/et-EE.mjs
-var HO = {};
-HO = { dismiss: "Lõpeta" };
+var RO = {};
+RO = { dismiss: "Lõpeta" };
// node_modules/react-aria/dist/private/intl/overlays/fi-FI.mjs
-var UO = {};
-UO = { dismiss: "Hylkää" };
+var zO = {};
+zO = { dismiss: "Hylkää" };
// node_modules/react-aria/dist/private/intl/overlays/fr-FR.mjs
-var WO = {};
-WO = { dismiss: "Rejeter" };
+var BO = {};
+BO = { dismiss: "Rejeter" };
// node_modules/react-aria/dist/private/intl/overlays/he-IL.mjs
-var GO = {};
-GO = { dismiss: "התעלם" };
+var VO = {};
+VO = { dismiss: "התעלם" };
// node_modules/react-aria/dist/private/intl/overlays/hr-HR.mjs
-var KO = {};
-KO = { dismiss: "Odbaci" };
+var HO = {};
+HO = { dismiss: "Odbaci" };
// node_modules/react-aria/dist/private/intl/overlays/hu-HU.mjs
-var qO = {};
-qO = { dismiss: "Elutasítás" };
+var UO = {};
+UO = { dismiss: "Elutasítás" };
// node_modules/react-aria/dist/private/intl/overlays/it-IT.mjs
-var JO = {};
-JO = { dismiss: "Ignora" };
+var WO = {};
+WO = { dismiss: "Ignora" };
// node_modules/react-aria/dist/private/intl/overlays/ja-JP.mjs
-var YO = {};
-YO = { dismiss: "閉じる" };
+var GO = {};
+GO = { dismiss: "閉じる" };
// node_modules/react-aria/dist/private/intl/overlays/ko-KR.mjs
-var XO = {};
-XO = { dismiss: "무시" };
+var KO = {};
+KO = { dismiss: "무시" };
// node_modules/react-aria/dist/private/intl/overlays/lt-LT.mjs
-var ZO = {};
-ZO = { dismiss: "Atmesti" };
+var qO = {};
+qO = { dismiss: "Atmesti" };
// node_modules/react-aria/dist/private/intl/overlays/lv-LV.mjs
-var QO = {};
-QO = { dismiss: "Nerādīt" };
+var JO = {};
+JO = { dismiss: "Nerādīt" };
// node_modules/react-aria/dist/private/intl/overlays/nb-NO.mjs
-var $O = {};
-$O = { dismiss: "Lukk" };
+var YO = {};
+YO = { dismiss: "Lukk" };
// node_modules/react-aria/dist/private/intl/overlays/nl-NL.mjs
-var ek = {};
-ek = { dismiss: "Negeren" };
+var XO = {};
+XO = { dismiss: "Negeren" };
// node_modules/react-aria/dist/private/intl/overlays/pl-PL.mjs
-var tk = {};
-tk = { dismiss: "Zignoruj" };
+var ZO = {};
+ZO = { dismiss: "Zignoruj" };
// node_modules/react-aria/dist/private/intl/overlays/pt-BR.mjs
-var nk = {};
-nk = { dismiss: "Descartar" };
+var QO = {};
+QO = { dismiss: "Descartar" };
// node_modules/react-aria/dist/private/intl/overlays/pt-PT.mjs
-var rk = {};
-rk = { dismiss: "Dispensar" };
+var $O = {};
+$O = { dismiss: "Dispensar" };
// node_modules/react-aria/dist/private/intl/overlays/ro-RO.mjs
-var ik = {};
-ik = { dismiss: "Revocare" };
+var ek = {};
+ek = { dismiss: "Revocare" };
// node_modules/react-aria/dist/private/intl/overlays/ru-RU.mjs
-var ak = {};
-ak = { dismiss: "Пропустить" };
+var tk = {};
+tk = { dismiss: "Пропустить" };
// node_modules/react-aria/dist/private/intl/overlays/sk-SK.mjs
-var ok = {};
-ok = { dismiss: "Zrušiť" };
+var nk = {};
+nk = { dismiss: "Zrušiť" };
// node_modules/react-aria/dist/private/intl/overlays/sl-SI.mjs
-var sk = {};
-sk = { dismiss: "Opusti" };
+var rk = {};
+rk = { dismiss: "Opusti" };
// node_modules/react-aria/dist/private/intl/overlays/sr-SP.mjs
-var ck = {};
-ck = { dismiss: "Odbaci" };
+var ik = {};
+ik = { dismiss: "Odbaci" };
// node_modules/react-aria/dist/private/intl/overlays/sv-SE.mjs
-var lk = {};
-lk = { dismiss: "Avvisa" };
+var ak = {};
+ak = { dismiss: "Avvisa" };
// node_modules/react-aria/dist/private/intl/overlays/tr-TR.mjs
-var uk = {};
-uk = { dismiss: "Kapat" };
+var ok = {};
+ok = { dismiss: "Kapat" };
// node_modules/react-aria/dist/private/intl/overlays/uk-UA.mjs
-var dk = {};
-dk = { dismiss: "Скасувати" };
+var sk = {};
+sk = { dismiss: "Скасувати" };
// node_modules/react-aria/dist/private/intl/overlays/zh-CN.mjs
-var fk = {};
-fk = { dismiss: "取消" };
+var ck = {};
+ck = { dismiss: "取消" };
// node_modules/react-aria/dist/private/intl/overlays/zh-TW.mjs
-var pk = {};
-pk = { dismiss: "關閉" };
+var lk = {};
+lk = { dismiss: "關閉" };
// node_modules/react-aria/dist/private/overlays/intlStrings.mjs
-var mk = {};
-mk = {
- "ar-AE": PO,
- "bg-BG": FO,
- "cs-CZ": IO,
- "da-DK": LO,
- "de-DE": RO,
- "el-GR": zO,
- "en-US": BO,
- "es-ES": VO,
- "et-EE": HO,
- "fi-FI": UO,
- "fr-FR": WO,
- "he-IL": GO,
- "hr-HR": KO,
- "hu-HU": qO,
- "it-IT": JO,
- "ja-JP": YO,
- "ko-KR": XO,
- "lt-LT": ZO,
- "lv-LV": QO,
- "nb-NO": $O,
- "nl-NL": ek,
- "pl-PL": tk,
- "pt-BR": nk,
- "pt-PT": rk,
- "ro-RO": ik,
- "ru-RU": ak,
- "sk-SK": ok,
- "sl-SI": sk,
- "sr-SP": ck,
- "sv-SE": lk,
- "tr-TR": uk,
- "uk-UA": dk,
- "zh-CN": fk,
- "zh-TW": pk
+var uk = {};
+uk = {
+ "ar-AE": AO,
+ "bg-BG": jO,
+ "cs-CZ": MO,
+ "da-DK": NO,
+ "de-DE": PO,
+ "el-GR": FO,
+ "en-US": IO,
+ "es-ES": LO,
+ "et-EE": RO,
+ "fi-FI": zO,
+ "fr-FR": BO,
+ "he-IL": VO,
+ "hr-HR": HO,
+ "hu-HU": UO,
+ "it-IT": WO,
+ "ja-JP": GO,
+ "ko-KR": KO,
+ "lt-LT": qO,
+ "lv-LV": JO,
+ "nb-NO": YO,
+ "nl-NL": XO,
+ "pl-PL": ZO,
+ "pt-BR": QO,
+ "pt-PT": $O,
+ "ro-RO": ek,
+ "ru-RU": tk,
+ "sk-SK": nk,
+ "sl-SI": rk,
+ "sr-SP": ik,
+ "sv-SE": ak,
+ "tr-TR": ok,
+ "uk-UA": sk,
+ "zh-CN": ck,
+ "zh-TW": lk
};
// node_modules/react-aria/dist/private/overlays/DismissButton.mjs
-function Yse(e) {
+function $se(e) {
return e && e.__esModule ? e.default : e;
}
-function hk(e) {
- let { onDismiss: t, ...n } = e, r = jw(n, Uw(Yse(mk), "@react-aria/overlays").format("dismiss")), i = () => {
+function dk(e) {
+ let { onDismiss: t, ...n } = e, r = Dw(n, zw($se(uk), "@react-aria/overlays").format("dismiss")), i = () => {
t && t();
};
- return /*#__PURE__*/ F.createElement(pE, null, /*#__PURE__*/ F.createElement("button", {
+ return /*#__PURE__*/ F.createElement(lE, null, /*#__PURE__*/ F.createElement("button", {
...r,
tabIndex: -1,
onClick: i,
@@ -28180,35 +28180,35 @@ function hk(e) {
}));
}
// node_modules/react-aria/dist/private/overlays/useOverlay.mjs
-var gk = [];
-function _k(e, t) {
+var fk = [];
+function pk(e, t) {
let { onClose: n, shouldCloseOnBlur: r, isOpen: i, isDismissable: a = !1, isKeyboardDismissDisabled: o = !1, shouldCloseOnInteractOutside: s } = e, c = (0, F.useRef)(void 0);
(0, F.useEffect)(() => {
- if (i && !gk.includes(t)) return gk.push(t), () => {
- let e = gk.indexOf(t);
- e >= 0 && gk.splice(e, 1);
+ if (i && !fk.includes(t)) return fk.push(t), () => {
+ let e = fk.indexOf(t);
+ e >= 0 && fk.splice(e, 1);
};
}, [i, t]);
let l = () => {
- gk[gk.length - 1] === t && n && n();
+ fk[fk.length - 1] === t && n && n();
}, u = (e) => {
- let n = gk[gk.length - 1];
+ let n = fk[fk.length - 1];
c.current = n, (!s || s(G(e))) && n === t && e.stopPropagation();
}, d = (e) => {
- (!s || s(G(e))) && (gk[gk.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
- }, { keyboardProps: f } = ZC({ shortcuts: { Escape: () => {
+ (!s || s(G(e))) && (fk[fk.length - 1] === t && e.stopPropagation(), c.current === t && l()), c.current = void 0;
+ }, { keyboardProps: f } = qC({ shortcuts: { Escape: () => {
if (!o) l();
else return !1;
} } });
- Nse({
+ Lse({
ref: t,
onInteractOutside: a && i ? d : void 0,
onInteractOutsideStart: u
});
- let { focusWithinProps: p } = nE({
+ let { focusWithinProps: p } = QT({
isDisabled: !r,
onBlurWithin: (e) => {
- e.relatedTarget && !Goe(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();
+ e.relatedTarget && !Yoe(e.relatedTarget) && (!s || s(e.relatedTarget)) && n?.();
}
});
return {
@@ -28220,87 +28220,87 @@ function _k(e, t) {
};
}
// node_modules/react-aria/dist/private/utils/runAfterKeyboard.mjs
-var Xse = 200, Zse = 50, Qse = 600, vk = /* @__PURE__ */ new WeakMap(), yk = /* @__PURE__ */ new Set(), bk = /* @__PURE__ */ new Set();
-function $se(e, t) {
- let n = Ow();
- if (e !== n || t.aborted) for (let e of bk) e(n), bk.delete(e);
- if (!e && n && ZS() && !t.aborted) window.clearInterval(vk.get(window)), vk.set(window, xk(Xse));
+var ece = 200, tce = 50, nce = 600, mk = /* @__PURE__ */ new WeakMap(), hk = /* @__PURE__ */ new Set(), gk = /* @__PURE__ */ new Set();
+function rce(e, t) {
+ let n = ww();
+ if (e !== n || t.aborted) for (let e of gk) e(n), gk.delete(e);
+ if (!e && n && qS() && !t.aborted) window.clearInterval(mk.get(window)), mk.set(window, _k(ece));
else {
- if (e !== n || t.aborted) for (let e of yk) e(n), yk.delete(e);
- (bk.size + yk.size <= 0 || t.aborted) && (window.clearInterval(vk.get(window)), vk.delete(window));
+ if (e !== n || t.aborted) for (let e of hk) e(n), hk.delete(e);
+ (gk.size + hk.size <= 0 || t.aborted) && (window.clearInterval(mk.get(window)), mk.delete(window));
}
}
-function xk(e = Qse) {
- return window.setInterval($se, Zse, Ow(), AbortSignal.timeout(e));
+function _k(e = nce) {
+ return window.setInterval(rce, tce, ww(), AbortSignal.timeout(e));
}
-function Sk(e) {
- if (!Tw()) return e(!1), () => {};
+function vk(e) {
+ if (!xw()) return e(!1), () => {};
let t = window.requestAnimationFrame(() => {
t = window.requestAnimationFrame(() => {
- let t = Ew(document.hasFocus() ? MS() : null);
- if (Ow() === t || Ow() && !t) return e(t);
- bk.add(e), vk.has(window) || vk.set(window, xk());
+ let t = Sw(document.hasFocus() ? OS() : null);
+ if (ww() === t || ww() && !t) return e(t);
+ gk.add(e), mk.has(window) || mk.set(window, _k());
});
});
return () => {
- window.cancelAnimationFrame(t), bk.delete(e);
+ window.cancelAnimationFrame(t), gk.delete(e);
};
}
-function ece(e) {
- if (!Tw()) return e(!1), () => {};
+function ice(e) {
+ if (!xw()) return e(!1), () => {};
let t = window.requestAnimationFrame(() => {
t = window.requestAnimationFrame(() => {
- let t = Ew(document.hasFocus() ? MS() : null);
- if (Ow() === t) return e(t);
- yk.add(e), vk.has(window) || vk.set(window, xk());
+ let t = Sw(document.hasFocus() ? OS() : null);
+ if (ww() === t) return e(t);
+ hk.add(e), mk.has(window) || mk.set(window, _k());
});
});
return () => {
- window.cancelAnimationFrame(t), yk.delete(e);
+ window.cancelAnimationFrame(t), hk.delete(e);
};
}
// node_modules/react-aria/dist/private/overlays/usePreventScroll.mjs
-var Ck = typeof document < "u" && window.visualViewport, wk = 0, Tk;
-function Ek(e = {}) {
+var yk = typeof document < "u" && window.visualViewport, bk = 0, xk;
+function Sk(e = {}) {
let { isDisabled: t, UNSTABLE_overrideFocus: n } = e;
- BS(() => {
- if (!t) return wk++, wk === 1 && (Tk = XS() && ZS() ? nce() : tce(n)), () => {
- wk--, wk === 0 && Tk();
+ IS(() => {
+ if (!t) return bk++, bk === 1 && (xk = KS() && qS() ? oce() : ace(n)), () => {
+ bk--, bk === 0 && xk();
};
}, [t, n]);
}
-function tce(e) {
+function ace(e) {
let t = window.innerWidth - document.documentElement.clientWidth;
- return LC(t > 0 && ("scrollbarGutter" in document.documentElement.style ? kS(document.documentElement, "scrollbar-gutter", "stable") : kS(document.documentElement, "padding-right", `${t}px`)), kS(document.documentElement, "overflow", "hidden"), e && Ok(), e && Tw() && Dk());
+ return NC(t > 0 && ("scrollbarGutter" in document.documentElement.style ? TS(document.documentElement, "scrollbar-gutter", "stable") : TS(document.documentElement, "padding-right", `${t}px`)), TS(document.documentElement, "overflow", "hidden"), e && wk(), e && xw() && Ck());
}
-function nce() {
- let e = kS(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
+function oce() {
+ let e = TS(document.documentElement, "overflow", "hidden"), t, n = !1, r = (e) => {
let r = G(e);
- t = PT(r, !0) ? r : FT(r, !0), n = !1;
+ t = AT(r, !0) ? r : jT(r, !0), n = !1;
let i = r.ownerDocument.defaultView.getSelection();
i && !i.isCollapsed && i.containsNode(r, !0) && (n = !0), e.composedPath().some((e) => e instanceof HTMLInputElement && e.type === "range") && (n = !0), "selectionStart" in r && "selectionEnd" in r && r.selectionStart < r.selectionEnd && r.ownerDocument.activeElement === r && (n = !0);
- }, i = document.createElement("style"), a = Qw();
+ }, i = document.createElement("style"), a = Jw();
a && (i.nonce = a), i.textContent = "@layer {\n * {\n overscroll-behavior: contain;\n }\n}", document.head.prepend(i);
let o = (e) => {
e.touches.length === 2 || n || (!t || t === document.documentElement || t === document.body || t.scrollHeight === t.clientHeight && t.scrollWidth === t.clientWidth) && e.preventDefault();
- }, s = Ok(), c = LC(OS(document, "touchstart", r, {
+ }, s = wk(), c = NC(wS(document, "touchstart", r, {
passive: !1,
capture: !0
- }), OS(document, "touchmove", o, {
+ }), wS(document, "touchmove", o, {
passive: !1,
capture: !0
- }), Dk());
+ }), Ck());
return () => {
e(), c(), i.remove(), s();
};
}
-function Dk() {
- return OS(document, "blur", (e) => {
+function Ck() {
+ return wS(document, "blur", (e) => {
let t = G(e), n = e.relatedTarget;
- n && Ew(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
+ n && Sw(n) ? n.focus() : n || (t.parentElement?.closest("[tabindex]"))?.focus({ preventScroll: !0 });
}, !0);
}
-function Ok() {
+function wk() {
let e = HTMLElement.prototype.focus;
return Reflect.defineProperty(HTMLElement.prototype, "focus", {
configurable: !0,
@@ -28311,9 +28311,9 @@ function Ok() {
preventScroll: !0
}), !t || !t.preventScroll) {
let e = () => {
- MS() === this && rce(this);
+ OS() === this && sce(this);
};
- Sk((t) => t ? e() : ece(() => e()));
+ vk((t) => t ? e() : ice(() => e()));
}
}
}), () => {
@@ -28324,15 +28324,15 @@ function Ok() {
});
};
}
-function rce(e) {
+function sce(e) {
let t = document.scrollingElement || document.documentElement, n = e;
for (; n && n !== t && n.isConnected;) {
- let e = FT(n);
+ let e = jT(n);
if (e !== document.documentElement && e !== document.body && e !== n) {
let t = e.getBoundingClientRect(), r = n.getBoundingClientRect();
if (r.top < t.top || r.bottom > t.top + n.clientHeight) {
let n = t.bottom;
- Ck && (n = Math.min(n, Ck.offsetTop + Ck.height));
+ yk && (n = Math.min(n, yk.offsetTop + yk.height));
let i = r.top - t.top - ((n - t.top) / 2 - r.height / 2);
e.scrollTo({
top: Math.max(0, Math.min(e.scrollHeight - e.clientHeight, e.scrollTop + i)),
@@ -28344,19 +28344,19 @@ function rce(e) {
}
}
// node_modules/react-aria/dist/private/overlays/useModalOverlay.mjs
-function ice(e, t, n) {
- let { overlayProps: r, underlayProps: i } = _k({
+function cce(e, t, n) {
+ let { overlayProps: r, underlayProps: i } = pk({
...e,
isOpen: t.isOpen,
onClose: t.close
}, n);
- Ek({
+ Sk({
isDisabled: !t.isOpen,
UNSTABLE_overrideFocus: e.UNSTABLE_overrideFocus
- }), AD();
+ }), ED();
let { isEntering: a } = e;
return (0, F.useEffect)(() => {
- if (t.isOpen && n.current) return a ? bE(n.current) : yE([n.current], { shouldUseInert: !0 });
+ if (t.isOpen && n.current) return a ? gE(n.current) : hE([n.current], { shouldUseInert: !0 });
}, [
t.isOpen,
a,
@@ -28367,33 +28367,33 @@ function ice(e, t, n) {
};
}
// node_modules/react-aria/dist/private/overlays/calculatePosition.mjs
-var kk = {
+var Tk = {
top: "top",
bottom: "top",
left: "left",
right: "left"
-}, Ak = {
+}, Ek = {
top: "bottom",
bottom: "top",
left: "right",
right: "left"
-}, ace = {
+}, lce = {
top: "left",
left: "top"
-}, jk = {
+}, Dk = {
top: "height",
left: "width"
-}, Mk = {
+}, Ok = {
width: "totalWidth",
height: "totalHeight"
-}, Nk = {}, oce = () => typeof document < "u" ? window.visualViewport : null;
-function Pk(e, t) {
+}, kk = {}, uce = () => typeof document < "u" ? window.visualViewport : null;
+function Ak(e, t) {
let n = 0, r = 0, i = 0, a = 0, o = 0, s = 0, c = {}, l = (t?.scale ?? 1) > 1;
if (e.tagName === "BODY" || e.tagName === "HTML") {
let l = document.documentElement;
i = l.clientWidth, a = l.clientHeight, n = t?.width ?? i, r = t?.height ?? a, c.top = l.scrollTop || e.scrollTop, c.left = l.scrollLeft || e.scrollLeft, t && (o = Math.max(0, t.pageTop - (c.top ?? 0)), s = Math.max(0, t.pageLeft - (c.left ?? 0)));
- } else ({width: n, height: r, top: o, left: s} = Bk(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
- return ZS() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {
+ } else ({width: n, height: r, top: o, left: s} = Ik(e, !1)), c.top = e.scrollTop, c.left = e.scrollLeft, i = n, a = r;
+ return qS() && (e.tagName === "BODY" || e.tagName === "HTML") && l && (c.top = 0, c.left = 0, o = t?.pageTop ?? 0, s = t?.pageLeft ?? 0), {
width: n,
height: r,
totalWidth: i,
@@ -28403,7 +28403,7 @@ function Pk(e, t) {
left: s
};
}
-function sce(e) {
+function dce(e) {
return {
top: e.scrollTop,
left: e.scrollLeft,
@@ -28411,11 +28411,11 @@ function sce(e) {
height: e.scrollHeight
};
}
-function Fk(e, t, n, r, i, a, o) {
- let s = i.scroll[e] ?? 0, c = r[jk[e]], l = o[e] + r.scroll[kk[e]] + a, u = o[e] + r.scroll[kk[e]] + c - a, d = t - s + r.scroll[kk[e]] + o[e] - r[kk[e]], f = t - s + n + r.scroll[kk[e]] + o[e] - r[kk[e]];
+function jk(e, t, n, r, i, a, o) {
+ let s = i.scroll[e] ?? 0, c = r[Dk[e]], l = o[e] + r.scroll[Tk[e]] + a, u = o[e] + r.scroll[Tk[e]] + c - a, d = t - s + r.scroll[Tk[e]] + o[e] - r[Tk[e]], f = t - s + n + r.scroll[Tk[e]] + o[e] - r[Tk[e]];
return d < l ? l - d : f > u ? Math.max(u - f, l - d) : 0;
}
-function cce(e) {
+function fce(e) {
let t = window.getComputedStyle(e);
return {
top: parseInt(t.marginTop, 10) || 0,
@@ -28424,55 +28424,55 @@ function cce(e) {
right: parseInt(t.marginRight, 10) || 0
};
}
-function Ik(e) {
- if (Nk[e]) return Nk[e];
- let [t, n] = e.split(" "), r = kk[t] || "right", i = ace[r];
- kk[n] || (n = "center");
- let a = jk[r], o = jk[i];
- return Nk[e] = {
+function Mk(e) {
+ if (kk[e]) return kk[e];
+ let [t, n] = e.split(" "), r = Tk[t] || "right", i = lce[r];
+ Tk[n] || (n = "center");
+ let a = Dk[r], o = Dk[i];
+ return kk[e] = {
placement: t,
crossPlacement: n,
axis: r,
crossAxis: i,
size: a,
crossSize: o
- }, Nk[e];
+ }, kk[e];
}
-function Lk(e, t, n, r, i, a, o, s, c, l, u) {
+function Nk(e, t, n, r, i, a, o, s, c, l, u) {
let { placement: d, crossPlacement: f, axis: p, crossAxis: m, size: h, crossSize: g } = r, _ = {};
_[m] = e[m] ?? 0, f === "center" ? _[m] += ((e[g] ?? 0) - (n[g] ?? 0)) / 2 : f !== m && (_[m] += (e[g] ?? 0) - (n[g] ?? 0)), _[m] += a;
let v = e[m] - n[g] + c + l, y = e[m] + e[g] - c - l;
- if (_[m] = aE(_[m], v, y), d === p) {
- let t = s ? u[h] : u[Mk[h]];
- _[Ak[p]] = Math.floor(t - e[p] + i);
+ if (_[m] = tE(_[m], v, y), d === p) {
+ let t = s ? u[h] : u[Ok[h]];
+ _[Ek[p]] = Math.floor(t - e[p] + i);
} else _[p] = Math.floor(e[p] + e[h] + i);
return _;
}
-function lce(e, t, n, r, i, a, o, s, c, l, u) {
- let d = (e.top == null ? c[Mk.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
+function pce(e, t, n, r, i, a, o, s, c, l, u) {
+ let d = (e.top == null ? c[Ok.height] - (e.bottom ?? 0) - o : e.top) - (c.scroll.top ?? 0), f = l ? n.top : 0, p = {
top: Math.max(t.top + f, (u?.offsetTop ?? t.top) + f),
bottom: Math.min(t.top + t.height + f, (u?.offsetTop ?? 0) + (u?.height ?? 0))
};
return s === "top" ? Math.max(0, d + o - p.top - ((i.top ?? 0) + (i.bottom ?? 0) + a)) : Math.max(0, p.bottom - d - ((i.top ?? 0) + (i.bottom ?? 0) + a));
}
-function Rk(e, t, n, r, i, a, o, s) {
+function Pk(e, t, n, r, i, a, o, s) {
let { placement: c, axis: l, size: u } = a;
- return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[Ak[l]] - i) : Math.max(0, e[u] + e[l] + (s ? t[l] : 0) - n[l] - n[u] + (o.scroll[l] ?? 0) - (r[l] ?? 0) - r[Ak[l]] - i);
+ return c === l ? Math.max(0, n[l] - (o.scroll[l] ?? 0) - (e[l] + (s ? t[l] : 0)) - (r[l] ?? 0) - r[Ek[l]] - i) : Math.max(0, e[u] + e[l] + (s ? t[l] : 0) - n[l] - n[u] + (o.scroll[l] ?? 0) - (r[l] ?? 0) - r[Ek[l]] - i);
}
-function uce(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
- let v = Ik(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Lk(t, s, n, v, u, d, l, f, m, h, c), T = u, E = Rk(s, l, t, i, a + u, v, c, g);
+function mce(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
+ let v = Mk(e), { size: y, crossAxis: b, crossSize: x, placement: S, crossPlacement: C } = v, w = Nk(t, s, n, v, u, d, l, f, m, h, c), T = u, E = Pk(s, l, t, i, a + u, v, c, g);
if (o && n[y] > E) {
- let e = Ik(`${Ak[S]} ${C}`), r = Lk(t, s, n, e, u, d, l, f, m, h, c);
- Rk(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
+ let e = Mk(`${Ek[S]} ${C}`), r = Nk(t, s, n, e, u, d, l, f, m, h, c);
+ Pk(s, l, t, i, a + u, e, c, g) > E && (v = e, w = r, T = u);
}
let D = "bottom";
v.axis === "top" ? v.placement === "top" ? D = "top" : v.placement === "bottom" && (D = "bottom") : v.crossAxis === "top" && (v.crossPlacement === "top" ? D = "bottom" : v.crossPlacement === "bottom" && (D = "top"));
- let O = Fk(b, w[b], n[x], s, c, a, l);
+ let O = jk(b, w[b], n[x], s, c, a, l);
w[b] += O;
- let k = lce(w, s, l, f, i, a, n.height, D, c, g, _);
- p && p < k && (k = p), n.height = Math.min(n.height, k), w = Lk(t, s, n, v, T, d, l, f, m, h, c), O = Fk(b, w[b], n[x], s, c, a, l), w[b] += O;
- let A = {}, j = t[b] - w[b] - i[kk[b]], M = j + .5 * t[x], ee = m / 2 + h, N = kk[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - N - m / 2 - h;
- A[b] = aE(aE(M, t[b] + m / 2 - (w[b] + i[kk[b]]), t[b] + t[x] - m / 2 - (w[b] + i[kk[b]])), ee, te), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
+ let k = pce(w, s, l, f, i, a, n.height, D, c, g, _);
+ p && p < k && (k = p), n.height = Math.min(n.height, k), w = Nk(t, s, n, v, T, d, l, f, m, h, c), O = jk(b, w[b], n[x], s, c, a, l), w[b] += O;
+ let A = {}, j = t[b] - w[b] - i[Tk[b]], M = j + .5 * t[x], ee = m / 2 + h, N = Tk[b] === "left" ? (i.left ?? 0) + (i.right ?? 0) : (i.top ?? 0) + (i.bottom ?? 0), te = n[x] - N - m / 2 - h;
+ A[b] = tE(tE(M, t[b] + m / 2 - (w[b] + i[Tk[b]]), t[b] + t[x] - m / 2 - (w[b] + i[Tk[b]])), ee, te), {placement: S, crossPlacement: C} = v, m ? j = A[b] : C === "right" ? j += t[x] : C === "center" && (j += t[x] / 2);
let P = S === "left" || S === "top" ? n[y] : 0, ne = {
x: S === "top" || S === "bottom" ? j : P,
y: S === "left" || S === "right" ? j : P
@@ -28486,17 +28486,17 @@ function uce(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _) {
triggerAnchorPoint: ne
};
}
-function dce(e) {
- let { placement: t, targetNode: n, overlayNode: r, scrollNode: i, padding: a, shouldFlip: o, boundaryElement: s, offset: c, crossOffset: l, maxHeight: u, arrowSize: d = 0, arrowBoundaryOffset: f = 0, targetRect: p } = e, m = oce(), h = r instanceof HTMLElement ? fce(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? Bk(n, !1, p) : Vk(n, h, !1, p);
+function hce(e) {
+ let { placement: t, targetNode: n, overlayNode: r, scrollNode: i, padding: a, shouldFlip: o, boundaryElement: s, offset: c, crossOffset: l, maxHeight: u, arrowSize: d = 0, arrowBoundaryOffset: f = 0, targetRect: p } = e, m = uce(), h = r instanceof HTMLElement ? gce(r) : document.documentElement, g = h === document.documentElement, _ = window.getComputedStyle(h).position, v = !!_ && _ !== "static", y = g ? Ik(n, !1, p) : Lk(n, h, !1, p);
if (!g) {
let { marginTop: e, marginLeft: t } = window.getComputedStyle(n);
y.top += parseInt(e, 10) || 0, y.left += parseInt(t, 10) || 0;
}
- let b = Bk(r, !0), x = cce(r);
+ let b = Ik(r, !0), x = fce(r);
b.width += (x.left ?? 0) + (x.right ?? 0), b.height += (x.top ?? 0) + (x.bottom ?? 0);
- let S = sce(i), C = Pk(s, m), w = Pk(h, m), T;
+ let S = dce(i), C = Ak(s, m), w = Ak(h, m), T;
if ((s.tagName === "BODY" || s.tagName === "HTML") && !g) {
- let e = zk(h, !1);
+ let e = Fk(h, !1);
T = {
top: -(e.top - C.top),
left: -(e.left - C.left),
@@ -28508,11 +28508,11 @@ function dce(e) {
left: 0,
width: 0,
height: 0
- } : Vk(s, h, !1);
- let E = jS(s, h);
- return uce(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
+ } : Lk(s, h, !1);
+ let E = DS(s, h);
+ return mce(t, y, b, S, x, a, o, C, w, T, c, l, v, u, d, f, E, m);
}
-function zk(e, t) {
+function Fk(e, t) {
let { top: n, left: r, width: i, height: a } = e.getBoundingClientRect();
return t && e instanceof e.ownerDocument.defaultView.HTMLElement && (i = e.offsetWidth, a = e.offsetHeight), {
top: n,
@@ -28521,8 +28521,8 @@ function zk(e, t) {
height: a
};
}
-function Bk(e, t, n) {
- let { top: r, left: i, width: a, height: o } = n || zk(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
+function Ik(e, t, n) {
+ let { top: r, left: i, width: a, height: o } = n || Fk(e, t), { scrollTop: s, scrollLeft: c, clientTop: l, clientLeft: u } = document.documentElement;
return {
top: r + s - l,
left: i + c - u,
@@ -28530,29 +28530,29 @@ function Bk(e, t, n) {
height: o
};
}
-function Vk(e, t, n, r) {
+function Lk(e, t, n, r) {
let i = window.getComputedStyle(e), a;
- if (i.position === "fixed") a = r || zk(e, n);
+ if (i.position === "fixed") a = r || Fk(e, n);
else {
- a = Bk(e, n, r);
- let i = Bk(t, n), o = window.getComputedStyle(t);
+ a = Ik(e, n, r);
+ let i = Ik(t, n), o = window.getComputedStyle(t);
i.top += (parseInt(o.borderTopWidth, 10) || 0) - t.scrollTop, i.left += (parseInt(o.borderLeftWidth, 10) || 0) - t.scrollLeft, a.top -= i.top, a.left -= i.left;
}
return a.top -= parseInt(i.marginTop, 10) || 0, a.left -= parseInt(i.marginLeft, 10) || 0, a;
}
-function fce(e) {
+function gce(e) {
let t = e.offsetParent;
- if (t && t === document.body && window.getComputedStyle(t).position === "static" && !Hk(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !Hk(t);) t = t.parentElement;
+ if (t && t === document.body && window.getComputedStyle(t).position === "static" && !Rk(t) && (t = document.documentElement), t == null) for (t = e.parentElement; t && !Rk(t);) t = t.parentElement;
return t || document.documentElement;
}
-function Hk(e) {
+function Rk(e) {
let t = window.getComputedStyle(e);
return t.transform !== "none" || /transform|perspective/.test(t.willChange) || t.filter !== "none" || t.contain === "paint" || "backdropFilter" in t && t.backdropFilter !== "none" || "WebkitBackdropFilter" in t && t.WebkitBackdropFilter !== "none";
}
// node_modules/react-aria/dist/private/overlays/useOverlayPosition.mjs
-var Uk = typeof document < "u" ? window.visualViewport : null;
-function pce(e) {
- let { direction: t } = Lw(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, F.useState)(null), x = [
+var zk = typeof document < "u" ? window.visualViewport : null;
+function _ce(e) {
+ let { direction: t } = Nw(), { arrowSize: n, targetRef: r, overlayRef: i, arrowRef: a, scrollRef: o = i, placement: s = "bottom", containerPadding: c = 12, shouldFlip: l = !0, boundaryElement: u = typeof document < "u" ? document.body : null, offset: d = 0, crossOffset: f = 0, shouldUpdatePosition: p = !0, isOpen: m = !0, onClose: h, maxHeight: g, arrowBoundaryOffset: _ = 0, getTargetRect: v } = e, [y, b] = (0, F.useState)(null), x = [
p,
s,
i.current,
@@ -28569,15 +28569,15 @@ function pce(e) {
g,
_,
n
- ], S = (0, F.useRef)(Uk?.scale);
+ ], S = (0, F.useRef)(zk?.scale);
(0, F.useEffect)(() => {
- m && (S.current = Uk?.scale);
+ m && (S.current = zk?.scale);
}, [m]);
let C = (0, F.useCallback)(() => {
- if (p === !1 || !m || !i.current || !r.current || !u || Uk?.scale !== S.current) return;
+ if (p === !1 || !m || !i.current || !r.current || !u || zk?.scale !== S.current) return;
let e = null;
- if (o.current && PS(o.current)) {
- let t = MS()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
+ if (o.current && AS(o.current)) {
+ let t = OS()?.getBoundingClientRect(), n = o.current.getBoundingClientRect();
e = {
type: "top",
offset: (t?.top ?? 0) - n.top
@@ -28585,8 +28585,8 @@ function pce(e) {
}
let h = i.current;
!g && i.current && (h.style.top = "0px", h.style.bottom = "", h.style.maxHeight = (window.visualViewport?.height ?? window.innerHeight) + "px");
- let y = dce({
- placement: hce(s, t),
+ let y = hce({
+ placement: yce(s, t),
overlayNode: i.current,
targetNode: r.current,
scrollNode: o.current || i.current,
@@ -28596,28 +28596,28 @@ function pce(e) {
offset: d,
crossOffset: f,
maxHeight: g,
- arrowSize: n ?? (a?.current ? zk(a.current, !0).width : 0),
+ arrowSize: n ?? (a?.current ? Fk(a.current, !0).width : 0),
arrowBoundaryOffset: _,
targetRect: v?.(r.current)
});
if (!y.position) return;
h.style.top = "", h.style.bottom = "", h.style.left = "", h.style.right = "", Object.keys(y.position).forEach((e) => h.style[e] = y.position[e] + "px"), h.style.maxHeight = y.maxHeight == null ? "" : y.maxHeight + "px";
- let x = MS();
+ let x = OS();
if (e && x && o.current) {
let t = x.getBoundingClientRect(), n = o.current.getBoundingClientRect(), r = t[e.type] - n[e.type];
o.current.scrollTop += r - e.offset;
}
b(y);
}, x);
- BS(C, x), mce(C), NO({
+ IS(C, x), vce(C), kO({
ref: i,
onResize: C
- }), NO({
+ }), kO({
ref: r,
onResize: C
});
let w = (0, F.useRef)(!1);
- BS(() => {
+ IS(() => {
let e, t = () => {
w.current = !0, clearTimeout(e), e = setTimeout(() => {
w.current = !1;
@@ -28625,16 +28625,16 @@ function pce(e) {
}, n = () => {
w.current && t();
};
- Uk?.addEventListener("resize", t), Uk?.addEventListener("scroll", n);
- let r = OS(NS(window), "scroll", n);
+ zk?.addEventListener("resize", t), zk?.addEventListener("scroll", n);
+ let r = wS(kS(window), "scroll", n);
return () => {
- Uk?.removeEventListener("resize", t), Uk?.removeEventListener("scroll", n), r();
+ zk?.removeEventListener("resize", t), zk?.removeEventListener("scroll", n), r();
};
}, [C]);
let T = (0, F.useCallback)(() => {
w.current || h?.();
}, [h, w]);
- return Cse({
+ return Dse({
triggerRef: r,
isOpen: m,
onClose: h && T
@@ -28660,24 +28660,24 @@ function pce(e) {
updatePosition: C
};
}
-function mce(e) {
- BS(() => (window.addEventListener("resize", e, !1), () => {
+function vce(e) {
+ IS(() => (window.addEventListener("resize", e, !1), () => {
window.removeEventListener("resize", e, !1);
}), [e]);
}
-function hce(e, t) {
+function yce(e, t) {
return t === "rtl" ? e.replace("start", "right").replace("end", "left") : e.replace("start", "left").replace("end", "right");
}
// node_modules/react-aria/dist/private/overlays/usePopover.mjs
-function gce(e, t) {
- let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = _k({
+function bce(e, t) {
+ let { triggerRef: n, popoverRef: r, groupRef: i, isNonModal: a, isKeyboardDismissDisabled: o, shouldCloseOnInteractOutside: s, ...c } = e, l = c.trigger === "SubmenuTrigger", { overlayProps: u, underlayProps: d } = pk({
isOpen: t.isOpen,
onClose: t.close,
shouldCloseOnBlur: !0,
isDismissable: !a || l,
isKeyboardDismissDisabled: o,
shouldCloseOnInteractOutside: s
- }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = pce({
+ }, i ?? r), { overlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = _ce({
...c,
targetRef: n,
overlayRef: r,
@@ -28685,15 +28685,15 @@ function gce(e, t) {
onClose: a && !l ? t.close : null,
getTargetRect: c.getTargetRect ?? (t.point ? () => new DOMRect(t.point.x, t.point.y, 0, 0) : void 0)
});
- Ek({ isDisabled: a || !t.isOpen }), (0, F.useEffect)(() => {
- if (t.isOpen && r.current) return a ? bE(i?.current ?? r.current) : yE([i?.current ?? r.current], { shouldUseInert: !0 });
+ Sk({ isDisabled: a || !t.isOpen }), (0, F.useEffect)(() => {
+ if (t.isOpen && r.current) return a ? gE(i?.current ?? r.current) : hE([i?.current ?? r.current], { shouldUseInert: !0 });
}, [
a,
t.isOpen,
r,
i
]);
- let { focusWithinProps: g } = nE(e);
+ let { focusWithinProps: g } = QT(e);
return {
popoverProps: K(u, f, g),
arrowProps: p,
@@ -28703,12 +28703,12 @@ function gce(e, t) {
};
}
// node_modules/react-aria/dist/private/radio/utils.mjs
-var Wk = /* @__PURE__ */ new WeakMap();
+var Bk = /* @__PURE__ */ new WeakMap();
// node_modules/react-aria/dist/private/radio/useRadio.mjs
-function _ce(e, t, n) {
+function xce(e, t, n) {
let { value: r, children: i, "aria-label": a, "aria-labelledby": o, onPressStart: s, onPressEnd: c, onPressChange: l, onPress: u, onPressUp: d, onClick: f } = e, p = e.isDisabled || t.isDisabled, m = t.selectedValue === r, h = (e) => {
e.stopPropagation(), t.setSelectedValue(r);
- }, { pressProps: g, isPressed: _ } = aT({
+ }, { pressProps: g, isPressed: _ } = tT({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -28716,7 +28716,7 @@ function _ce(e, t, n) {
onPressUp: d,
onClick: f,
isDisabled: p
- }), { pressProps: v, isPressed: y } = aT({
+ }), { pressProps: v, isPressed: y } = tT({
onPressStart: s,
onPressEnd: c,
onPressChange: l,
@@ -28726,11 +28726,11 @@ function _ce(e, t, n) {
onPress(e) {
u?.(e), t.setSelectedValue(r), n.current?.focus();
}
- }), { focusableProps: b } = tw(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = Gw(e, { labelable: !0 }), C = -1;
+ }), { focusableProps: b } = ZC(K(e, { onFocus: () => t.setLastFocusedValue(r) }), n), x = K(g, b), S = Vw(e, { labelable: !0 }), C = -1;
t.selectedValue == null ? (t.lastFocusedValue === r || t.lastFocusedValue == null) && (C = 0) : t.selectedValue === r && (C = 0), p && (C = void 0);
- let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = Wk.get(t);
- VT(n, t.defaultSelectedValue, t.setSelectedValue), HT({ validationBehavior: O }, t, n);
- let k = UT();
+ let { name: w, form: T, descriptionId: E, errorMessageId: D, validationBehavior: O } = Bk.get(t);
+ LT(n, t.defaultSelectedValue, t.setSelectedValue), RT({ validationBehavior: O }, t, n);
+ let k = zT();
return {
labelProps: K(v, (0, F.useMemo)(() => ({
onClick: (e) => e.preventDefault(),
@@ -28761,13 +28761,13 @@ function _ce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/radio/useRadioGroup.mjs
-function vce(e, t) {
- let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Lw(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = tE({
+function Sce(e, t) {
+ let { name: n, form: r, isReadOnly: i, isRequired: a, isDisabled: o, orientation: s = "vertical", validationBehavior: c = "aria" } = e, { direction: l } = Nw(), { isInvalid: u, validationErrors: d, validationDetails: f } = t.displayValidation, { labelProps: p, fieldProps: m, descriptionProps: h, errorMessageProps: g } = ZT({
...e,
labelElementType: "span",
isInvalid: t.isInvalid,
errorMessage: e.errorMessage || d
- }), _ = Gw(e, { labelable: !0 }), { focusWithinProps: v } = nE({
+ }), _ = Vw(e, { labelable: !0 }), { focusWithinProps: v } = QT({
onBlurWithin(n) {
e.onBlur?.(n), t.selectedValue || t.setLastFocusedValue(null);
},
@@ -28775,13 +28775,13 @@ function vce(e, t) {
onFocusWithinChange: e.onFocusChange
});
function y(e, n) {
- let r = DT(n.currentTarget, {
+ let r = CT(n.currentTarget, {
from: G(n),
- accept: (e) => e instanceof TS(e).HTMLInputElement && e.type === "radio"
+ accept: (e) => e instanceof xS(e).HTMLInputElement && e.type === "radio"
}), i;
return e === "next" ? (i = r.nextNode(), i ||= (r.currentNode = n.currentTarget, r.firstChild())) : (i = r.previousNode(), i ||= (r.currentNode = n.currentTarget, r.lastChild())), i ? (i.focus(), t.setSelectedValue(i.value), !0) : !1;
}
- let { keyboardProps: b } = ZC({
+ let { keyboardProps: b } = qC({
shortcuts: {
ArrowRight: (e) => y(l === "rtl" && s !== "vertical" ? "prev" : "next", e),
ArrowLeft: (e) => y(l === "rtl" && s !== "vertical" ? "next" : "prev", e),
@@ -28789,8 +28789,8 @@ function vce(e, t) {
ArrowUp: (e) => y("prev", e)
},
allowRepeats: !0
- }), x = VC(n);
- return Wk.set(t, {
+ }), x = LC(n);
+ return Bk.set(t, {
name: x,
form: r,
descriptionId: h.id,
@@ -28818,21 +28818,21 @@ function vce(e, t) {
};
}
// node_modules/react-aria/dist/private/select/useSelect.mjs
-var Gk = /* @__PURE__ */ new WeakMap();
-function yce(e, t, n) {
- let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = wD({
+var Vk = /* @__PURE__ */ new WeakMap();
+function Cce(e, t, n) {
+ let { keyboardDelegate: r, isDisabled: i, isRequired: a, name: o, form: s, validationBehavior: c = "aria" } = e, l = bD({
usage: "search",
sensitivity: "base"
- }), u = (0, F.useMemo)(() => r || new EE(t.collection, t.disabledKeys, n, l), [
+ }), u = (0, F.useMemo)(() => r || new SE(t.collection, t.disabledKeys, n, l), [
r,
t.collection,
t.disabledKeys,
l,
n
- ]), { menuTriggerProps: d, menuProps: f } = uD({
+ ]), { menuTriggerProps: d, menuProps: f } = oD({
isDisabled: i,
type: "listbox"
- }, t, n), { keyboardProps: p } = ZC({
+ }, t, n), { keyboardProps: p } = qC({
shortcuts: {
ArrowLeft: () => {
if (t.selectionManager.selectionMode === "multiple") return !1;
@@ -28848,21 +28848,21 @@ function yce(e, t, n) {
allowRepeats: !0,
onKeyDown: e.onKeyDown,
onKeyUp: e.onKeyUp
- }), { typeSelectProps: m } = fD({
+ }), { typeSelectProps: m } = cD({
keyboardDelegate: u,
selectionManager: t.selectionManager,
onTypeSelect(e) {
t.setSelectedKey(e);
}
- }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = tE({
+ }), { isInvalid: h, validationErrors: g, validationDetails: _ } = t.displayValidation, { labelProps: v, fieldProps: y, descriptionProps: b, errorMessageProps: x } = ZT({
...e,
labelElementType: "span",
isInvalid: h,
errorMessage: e.errorMessage || g
});
t.selectionManager.selectionMode === "multiple" && (m = {});
- let S = Gw(e, { labelable: !0 }), C = K(m, d, y), w = VC();
- return Gk.set(t, {
+ let S = Vw(e, { labelable: !0 }), C = K(m, d, y), w = LC();
+ return Vk.set(t, {
isDisabled: i,
isRequired: a,
name: o,
@@ -28872,13 +28872,13 @@ function yce(e, t, n) {
labelProps: {
...v,
onClick: () => {
- e.isDisabled || (n.current?.focus(), EC("keyboard"));
+ e.isDisabled || (n.current?.focus(), SC("keyboard"));
}
},
triggerProps: K(S, {
...C,
isDisabled: i,
- onKeyDown: LC(C.onKeyDown, p.onKeyDown),
+ onKeyDown: NC(C.onKeyDown, p.onKeyDown),
onKeyUp: p.onKeyUp,
"aria-labelledby": [
w,
@@ -28902,7 +28902,7 @@ function yce(e, t, n) {
disallowEmptySelection: !0,
linkBehavior: "selection",
onBlur: (n) => {
- jS(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));
+ DS(n.currentTarget, n.relatedTarget) || (e.onBlur && e.onBlur(n), e.onFocusChange && e.onFocusChange(!1), t.setFocused(!1));
},
"aria-labelledby": [y["aria-labelledby"], C["aria-label"] && !y["aria-labelledby"] ? C.id : null].filter(Boolean).join(" ")
},
@@ -28922,13 +28922,13 @@ function yce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/select/HiddenSelect.mjs
-function bce(e, t, n) {
- let r = Gk.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = fE({ style: {
+function wce(e, t, n) {
+ let r = Vk.get(t) || {}, { autoComplete: i, name: a = r.name, form: o = r.form, isDisabled: s = r.isDisabled } = e, { validationBehavior: c, isRequired: l } = r, { visuallyHiddenProps: u } = cE({ style: {
position: "fixed",
top: 0,
left: 0
} });
- VT(e.selectRef, t.defaultValue, t.setValue), HT({
+ LT(e.selectRef, t.defaultValue, t.setValue), RT({
validationBehavior: c,
focus: () => n.current?.focus()
}, t, e.selectRef);
@@ -28958,8 +28958,8 @@ function bce(e, t, n) {
}
};
}
-function xce(e) {
- let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, F.useRef)(null), c = (0, F.useRef)(null), { containerProps: l, selectProps: u } = bce({
+function Tce(e) {
+ let { state: t, triggerRef: n, label: r, name: i, form: a, isDisabled: o } = e, s = (0, F.useRef)(null), c = (0, F.useRef)(null), { containerProps: l, selectProps: u } = wce({
...e,
selectRef: t.collection.size <= 300 ? s : c
}, t, n), d = Array.isArray(t.value) ? t.value : [t.value];
@@ -28983,7 +28983,7 @@ function xce(e) {
value: e ?? ""
})))));
if (i) {
- let { validationBehavior: e } = Gk.get(t) || {};
+ let { validationBehavior: e } = Vk.get(t) || {};
d.length === 0 && (d = [null]);
let n = d.map((t, n) => {
let r = {
@@ -29013,8 +29013,8 @@ function xce(e) {
return null;
}
// node_modules/react-aria/dist/private/separator/useSeparator.mjs
-function Sce(e) {
- let t = Gw(e, { labelable: !0 }), n;
+function Ece(e) {
+ let t = Vw(e, { labelable: !0 }), n;
return e.orientation === "vertical" && (n = "vertical"), e.elementType === "hr" ? { separatorProps: t } : { separatorProps: {
...t,
role: "separator",
@@ -29022,8 +29022,8 @@ function Sce(e) {
} };
}
// node_modules/react-aria/dist/private/switch/useSwitch.mjs
-function Cce(e, t, n) {
- let { labelProps: r, inputProps: i, isSelected: a, ...o } = QT(e, t, n);
+function Dce(e, t, n) {
+ let { labelProps: r, inputProps: i, isSelected: a, ...o } = JT(e, t, n);
return {
labelProps: r,
inputProps: {
@@ -29036,10 +29036,10 @@ function Cce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/grid/GridKeyboardDelegate.mjs
-var Kk = class {
+var Hk = class {
constructor(e) {
if (this.collection = e.collection, this.disabledKeys = e.disabledKeys, this.disabledBehavior = e.disabledBehavior || "all", this.direction = e.direction, this.collator = e.collator, !e.layout && !e.ref) throw Error("Either a layout or a ref must be specified.");
- this.layoutDelegate = e.layoutDelegate || (e.layout ? new wce(e.layout) : new TE(e.ref)), this.focusMode = e.focusMode ?? "row";
+ this.layoutDelegate = e.layoutDelegate || (e.layout ? new Oce(e.layout) : new xE(e.ref)), this.focusMode = e.focusMode ?? "row";
}
isCell(e) {
return e.type === "cell";
@@ -29075,7 +29075,7 @@ var Kk = class {
let n = this.collection.getItem(e);
if (!n) return null;
let r = 0;
- for (let e of hD(n, this.collection)) {
+ for (let e of dD(n, this.collection)) {
if (e.colSpan && e.colSpan + r > t || (e.colSpan && (r = r + e.colSpan - 1), r === t)) return e.key ?? null;
r++;
}
@@ -29109,13 +29109,13 @@ var Kk = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = hD(t, this.collection);
- return (this.direction === "rtl" ? vD(e)?.key : gD(e)?.key) ?? null;
+ let e = dD(t, this.collection);
+ return (this.direction === "rtl" ? mD(e)?.key : fD(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = hD(n, this.collection), i = (this.direction === "rtl" ? _D(r, t.index - 1) : _D(r, t.index + 1)) ?? null;
+ let r = dD(n, this.collection), i = (this.direction === "rtl" ? pD(r, t.index - 1) : pD(r, t.index + 1)) ?? null;
return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getFirstKey(e) : this.getLastKey(e)) ?? null;
}
return null;
@@ -29124,13 +29124,13 @@ var Kk = class {
let t = this.collection.getItem(e);
if (!t) return null;
if (this.isRow(t)) {
- let e = hD(t, this.collection);
- return (this.direction === "rtl" ? gD(e)?.key : vD(e)?.key) ?? null;
+ let e = dD(t, this.collection);
+ return (this.direction === "rtl" ? fD(e)?.key : mD(e)?.key) ?? null;
}
if (this.isCell(t) && t.parentKey != null) {
let n = this.collection.getItem(t.parentKey);
if (!n) return null;
- let r = hD(n, this.collection), i = (this.direction === "rtl" ? _D(r, t.index + 1) : _D(r, t.index - 1)) ?? null;
+ let r = dD(n, this.collection), i = (this.direction === "rtl" ? pD(r, t.index + 1) : pD(r, t.index - 1)) ?? null;
return i ? i.key ?? null : this.focusMode === "row" ? t.parentKey ?? null : (this.direction === "rtl" ? this.getLastKey(e) : this.getFirstKey(e)) ?? null;
}
return null;
@@ -29141,13 +29141,13 @@ var Kk = class {
if (r = this.collection.getItem(n), !r) return null;
if (this.isCell(r) && !t && r.parentKey != null) {
let e = this.collection.getItem(r.parentKey);
- return e ? gD(hD(e, this.collection))?.key ?? null : null;
+ return e ? fD(dD(e, this.collection))?.key ?? null : null;
}
}
if (n = this.findNextKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {
let e = this.collection.getItem(n);
if (!e) return null;
- n = gD(hD(e, this.collection))?.key ?? null;
+ n = fD(dD(e, this.collection))?.key ?? null;
}
return n;
}
@@ -29157,13 +29157,13 @@ var Kk = class {
if (r = this.collection.getItem(n), !r) return null;
if (this.isCell(r) && !t && r.parentKey != null) {
let e = this.collection.getItem(r.parentKey);
- return e ? vD(hD(e, this.collection))?.key ?? null : null;
+ return e ? mD(dD(e, this.collection))?.key ?? null : null;
}
}
if (n = this.findPreviousKey(void 0, (e) => e.type === "item"), n != null && (r && this.isCell(r) && t || this.focusMode === "cell")) {
let e = this.collection.getItem(n);
if (!e) return null;
- n = vD(hD(e, this.collection))?.key ?? null;
+ n = mD(dD(e, this.collection))?.key ?? null;
}
return n;
}
@@ -29199,13 +29199,13 @@ var Kk = class {
if (!t) return null;
if (t.textValue) {
let n = t.textValue.slice(0, e.length);
- if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? gD(hD(t, this.collection))?.key ?? null : t.key;
+ if (this.collator.compare(n, e) === 0) return this.isRow(t) && this.focusMode === "cell" ? fD(dD(t, this.collection))?.key ?? null : t.key;
}
n = this.findNextKey(n, (e) => e.type === "item"), n == null && !a && (n = this.getFirstKey(), a = !0);
}
return null;
}
-}, wce = class {
+}, Oce = class {
constructor(e) {
this.layout = e;
}
@@ -29218,15 +29218,15 @@ var Kk = class {
getVisibleRect() {
return this.layout.virtualizer.visibleRect;
}
-}, qk = /* @__PURE__ */ new WeakMap();
+}, Uk = /* @__PURE__ */ new WeakMap();
// node_modules/react-aria/dist/private/grid/useGrid.mjs
-function Tce(e, t, n) {
+function kce(e, t, n) {
let { isVirtualized: r, disallowTypeAhead: i, keyboardDelegate: a, focusMode: o, scrollRef: s, getRowText: c, onRowAction: l, onCellAction: u, escapeKeyBehavior: d = "clearSelection", shouldSelectOnPressUp: f, keyboardNavigationBehavior: p = "arrow" } = e, { selectionManager: m } = t;
!e["aria-label"] && !e["aria-labelledby"] && console.warn("An aria-label or aria-labelledby prop is required for accessibility.");
- let h = wD({
+ let h = bD({
usage: "search",
sensitivity: "base"
- }), { direction: g } = Lw(), _ = t.selectionManager.disabledBehavior, v = (0, F.useMemo)(() => a || new Kk({
+ }), { direction: g } = Nw(), _ = t.selectionManager.disabledBehavior, v = (0, F.useMemo)(() => a || new Hk({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: _,
@@ -29243,7 +29243,7 @@ function Tce(e, t, n) {
g,
h,
o
- ]), { collectionProps: y } = mD({
+ ]), { collectionProps: y } = uD({
ref: n,
selectionManager: m,
keyboardDelegate: v,
@@ -29251,8 +29251,8 @@ function Tce(e, t, n) {
scrollRef: s,
disallowTypeAhead: i,
escapeKeyBehavior: d
- }), b = VC(e.id);
- qk.set(t, {
+ }), b = LC(e.id);
+ Uk.set(t, {
keyboardDelegate: v,
actions: {
onRowAction: l,
@@ -29261,42 +29261,42 @@ function Tce(e, t, n) {
shouldSelectOnPressUp: f,
keyboardNavigationBehavior: p
});
- let x = CO({
+ let x = yO({
selectionManager: m,
hasItemActions: !!(l || u)
- }), S = Gw(e, { labelable: !0 }), C = (0, F.useCallback)((e) => {
- m.isFocused ? jS(e.currentTarget, G(e)) || m.setFocused(!1) : jS(e.currentTarget, G(e)) && m.setFocused(!0);
+ }), S = Vw(e, { labelable: !0 }), C = (0, F.useCallback)((e) => {
+ m.isFocused ? DS(e.currentTarget, G(e)) || m.setFocused(!1) : DS(e.currentTarget, G(e)) && m.setFocused(!0);
}, [m]), w = (0, F.useMemo)(() => ({
onBlur: y.onBlur,
onFocus: C
- }), [C, y.onBlur]), T = SO(n, { isDisabled: t.collection.size !== 0 }), E = K(S, {
+ }), [C, y.onBlur]), T = vO(n, { isDisabled: t.collection.size !== 0 }), E = K(S, {
role: "grid",
id: b,
"aria-multiselectable": m.selectionMode === "multiple" ? "true" : void 0
}, t.isKeyboardNavigationDisabled ? w : y, t.collection.size === 0 && { tabIndex: T ? -1 : 0 } || void 0, x);
- return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), bO({ getRowText: c }, t), { gridProps: E };
+ return r && (E["aria-rowcount"] = t.collection.size, E["aria-colcount"] = t.collection.columnCount), gO({ getRowText: c }, t), { gridProps: E };
}
// node_modules/react-aria/dist/private/table/utils.mjs
-var Jk = /* @__PURE__ */ new WeakMap();
-function Yk(e) {
+var Wk = /* @__PURE__ */ new WeakMap();
+function Gk(e) {
return typeof e == "string" ? e.replace(/\s*/g, "") : "" + e;
}
-function Xk(e, t) {
- let n = Jk.get(e);
+function Kk(e, t) {
+ let n = Wk.get(e);
if (!n) throw Error("Unknown grid");
- return `${n}-${Yk(t)}`;
+ return `${n}-${Gk(t)}`;
}
-function Zk(e, t, n) {
- let r = Jk.get(e);
+function qk(e, t, n) {
+ let r = Wk.get(e);
if (!r) throw Error("Unknown grid");
- return `${r}-${Yk(t)}-${Yk(n)}`;
+ return `${r}-${Gk(t)}-${Gk(n)}`;
}
-function Qk(e, t) {
- return [...e.collection.rowHeaderColumnKeys].map((n) => Zk(e, t, n)).join(" ");
+function Jk(e, t) {
+ return [...e.collection.rowHeaderColumnKeys].map((n) => qk(e, t, n)).join(" ");
}
// node_modules/react-aria/dist/private/intl/table/ar-AE.mjs
-var $k = {};
-$k = {
+var Yk = {};
+Yk = {
ascending: "تصاعدي",
ascendingSort: (e) => `\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62D}\u{633}\u{628} \u{627}\u{644}\u{639}\u{645}\u{648}\u{62F} ${e.columnName} \u{628}\u{62A}\u{631}\u{62A}\u{64A}\u{628} \u{62A}\u{635}\u{627}\u{639}\u{62F}\u{64A}`,
collapse: "طي",
@@ -29310,8 +29310,8 @@ $k = {
sortable: "عمود قابل للترتيب"
};
// node_modules/react-aria/dist/private/intl/table/bg-BG.mjs
-var eA = {};
-eA = {
+var Xk = {};
+Xk = {
ascending: "възходящ",
ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{430}\u{43D}\u{43E} \u{43F}\u{43E} \u{43A}\u{43E}\u{43B}\u{43E}\u{43D}\u{430} ${e.columnName} \u{432}\u{44A}\u{432} \u{432}\u{44A}\u{437}\u{445}\u{43E}\u{434}\u{44F}\u{449} \u{440}\u{435}\u{434}`,
collapse: "Свиване",
@@ -29325,8 +29325,8 @@ eA = {
sortable: "сортираща колона"
};
// node_modules/react-aria/dist/private/intl/table/cs-CZ.mjs
-var tA = {};
-tA = {
+var Zk = {};
+Zk = {
ascending: "vzestupně",
ascendingSort: (e) => `\u{159}azeno vzestupn\u{11B} podle sloupce ${e.columnName}`,
collapse: "Sbalit",
@@ -29340,8 +29340,8 @@ tA = {
sortable: "sloupec s možností řazení"
};
// node_modules/react-aria/dist/private/intl/table/da-DK.mjs
-var nA = {};
-nA = {
+var Qk = {};
+Qk = {
ascending: "stigende",
ascendingSort: (e) => `sorteret efter kolonne ${e.columnName} i stigende r\xe6kkef\xf8lge`,
collapse: "Skjul",
@@ -29355,8 +29355,8 @@ nA = {
sortable: "sorterbar kolonne"
};
// node_modules/react-aria/dist/private/intl/table/de-DE.mjs
-var rA = {};
-rA = {
+var $k = {};
+$k = {
ascending: "aufsteigend",
ascendingSort: (e) => `sortiert nach Spalte ${e.columnName} in aufsteigender Reihenfolge`,
collapse: "Reduzieren",
@@ -29370,8 +29370,8 @@ rA = {
sortable: "sortierbare Spalte"
};
// node_modules/react-aria/dist/private/intl/table/el-GR.mjs
-var iA = {};
-iA = {
+var eA = {};
+eA = {
ascending: "αύξουσα",
ascendingSort: (e) => `\u{3B4}\u{3B9}\u{3B1}\u{3BB}\u{3BF}\u{3B3}\u{3AE} \u{3B1}\u{3BD}\u{3AC} \u{3C3}\u{3C4}\u{3AE}\u{3BB}\u{3B7} ${e.columnName} \u{3C3}\u{3B5} \u{3B1}\u{3CD}\u{3BE}\u{3BF}\u{3C5}\u{3C3}\u{3B1} \u{3C3}\u{3B5}\u{3B9}\u{3C1}\u{3AC}`,
collapse: "Σύμπτυξη",
@@ -29385,8 +29385,8 @@ iA = {
sortable: "Στήλη διαλογής"
};
// node_modules/react-aria/dist/private/intl/table/en-US.mjs
-var aA = {};
-aA = {
+var tA = {};
+tA = {
select: "Select",
selectAll: "Select All",
sortable: "sortable column",
@@ -29400,8 +29400,8 @@ aA = {
collapse: "Collapse"
};
// node_modules/react-aria/dist/private/intl/table/es-ES.mjs
-var oA = {};
-oA = {
+var nA = {};
+nA = {
ascending: "ascendente",
ascendingSort: (e) => `ordenado por columna ${e.columnName} en sentido ascendente`,
collapse: "Contraer",
@@ -29415,8 +29415,8 @@ oA = {
sortable: "columna ordenable"
};
// node_modules/react-aria/dist/private/intl/table/et-EE.mjs
-var sA = {};
-sA = {
+var rA = {};
+rA = {
ascending: "tõusev järjestus",
ascendingSort: (e) => `sorditud veeru j\xe4rgi ${e.columnName} t\xf5usvas j\xe4rjestuses`,
collapse: "Ahenda",
@@ -29430,8 +29430,8 @@ sA = {
sortable: "sorditav veerg"
};
// node_modules/react-aria/dist/private/intl/table/fi-FI.mjs
-var cA = {};
-cA = {
+var iA = {};
+iA = {
ascending: "nouseva",
ascendingSort: (e) => `lajiteltu sarakkeen ${e.columnName} mukaan nousevassa j\xe4rjestyksess\xe4`,
collapse: "Pienennä",
@@ -29445,8 +29445,8 @@ cA = {
sortable: "lajiteltava sarake"
};
// node_modules/react-aria/dist/private/intl/table/fr-FR.mjs
-var lA = {};
-lA = {
+var aA = {};
+aA = {
ascending: "croissant",
ascendingSort: (e) => `tri\xe9 en fonction de la colonne\xa0${e.columnName} par ordre croissant`,
collapse: "Réduire",
@@ -29460,8 +29460,8 @@ lA = {
sortable: "colonne triable"
};
// node_modules/react-aria/dist/private/intl/table/he-IL.mjs
-var uA = {};
-uA = {
+var oA = {};
+oA = {
ascending: "עולה",
ascendingSort: (e) => `\u{5DE}\u{5D5}\u{5D9}\u{5DF} \u{5DC}\u{5E4}\u{5D9} \u{5E2}\u{5DE}\u{5D5}\u{5D3}\u{5D4} ${e.columnName} \u{5D1}\u{5E1}\u{5D3}\u{5E8} \u{5E2}\u{5D5}\u{5DC}\u{5D4}`,
collapse: "כווץ",
@@ -29475,8 +29475,8 @@ uA = {
sortable: "עמודה שניתן למיין"
};
// node_modules/react-aria/dist/private/intl/table/hr-HR.mjs
-var dA = {};
-dA = {
+var sA = {};
+sA = {
ascending: "rastući",
ascendingSort: (e) => `razvrstano po stupcima ${e.columnName} rastu\u{107}em redoslijedom`,
collapse: "Sažmi",
@@ -29490,8 +29490,8 @@ dA = {
sortable: "stupac koji se može razvrstati"
};
// node_modules/react-aria/dist/private/intl/table/hu-HU.mjs
-var fA = {};
-fA = {
+var cA = {};
+cA = {
ascending: "növekvő",
ascendingSort: (e) => `rendezve a(z) ${e.columnName} oszlop szerint, n\xf6vekv\u{151} sorrendben`,
collapse: "Összecsukás",
@@ -29505,8 +29505,8 @@ fA = {
sortable: "rendezendő oszlop"
};
// node_modules/react-aria/dist/private/intl/table/it-IT.mjs
-var pA = {};
-pA = {
+var lA = {};
+lA = {
ascending: "crescente",
ascendingSort: (e) => `in ordine crescente in base alla colonna ${e.columnName}`,
collapse: "Comprimi",
@@ -29520,8 +29520,8 @@ pA = {
sortable: "colonna ordinabile"
};
// node_modules/react-aria/dist/private/intl/table/ja-JP.mjs
-var mA = {};
-mA = {
+var uA = {};
+uA = {
ascending: "昇順",
ascendingSort: (e) => `\u{5217} ${e.columnName} \u{3092}\u{6607}\u{9806}\u{3067}\u{4E26}\u{3079}\u{66FF}\u{3048}`,
collapse: "折りたたむ",
@@ -29535,8 +29535,8 @@ mA = {
sortable: "並べ替え可能な列"
};
// node_modules/react-aria/dist/private/intl/table/ko-KR.mjs
-var hA = {};
-hA = {
+var dA = {};
+dA = {
ascending: "오름차순",
ascendingSort: (e) => `${e.columnName} \u{C5F4}\u{C744} \u{AE30}\u{C900}\u{C73C}\u{B85C} \u{C624}\u{B984}\u{CC28}\u{C21C}\u{C73C}\u{B85C} \u{C815}\u{B82C}\u{B428}`,
collapse: "접기",
@@ -29550,8 +29550,8 @@ hA = {
sortable: "정렬 가능한 열"
};
// node_modules/react-aria/dist/private/intl/table/lt-LT.mjs
-var gA = {};
-gA = {
+var fA = {};
+fA = {
ascending: "didėjančia tvarka",
ascendingSort: (e) => `surikiuota pagal stulpel\u{12F} ${e.columnName} did\u{117}jan\u{10D}ia tvarka`,
collapse: "Sutraukti",
@@ -29565,8 +29565,8 @@ gA = {
sortable: "rikiuojamas stulpelis"
};
// node_modules/react-aria/dist/private/intl/table/lv-LV.mjs
-var _A = {};
-_A = {
+var pA = {};
+pA = {
ascending: "augošā secībā",
ascendingSort: (e) => `k\u{101}rtots p\u{113}c kolonnas ${e.columnName} augo\u{161}\u{101} sec\u{12B}b\u{101}`,
collapse: "Sakļaut",
@@ -29580,8 +29580,8 @@ _A = {
sortable: "kārtojamā kolonna"
};
// node_modules/react-aria/dist/private/intl/table/nb-NO.mjs
-var vA = {};
-vA = {
+var mA = {};
+mA = {
ascending: "stigende",
ascendingSort: (e) => `sortert etter kolonne ${e.columnName} i stigende rekkef\xf8lge`,
collapse: "Skjul",
@@ -29595,8 +29595,8 @@ vA = {
sortable: "kolonne som kan sorteres"
};
// node_modules/react-aria/dist/private/intl/table/nl-NL.mjs
-var yA = {};
-yA = {
+var hA = {};
+hA = {
ascending: "oplopend",
ascendingSort: (e) => `gesorteerd in oplopende volgorde in kolom ${e.columnName}`,
collapse: "Samenvouwen",
@@ -29610,8 +29610,8 @@ yA = {
sortable: "sorteerbare kolom"
};
// node_modules/react-aria/dist/private/intl/table/pl-PL.mjs
-var bA = {};
-bA = {
+var gA = {};
+gA = {
ascending: "rosnąco",
ascendingSort: (e) => `posortowano wed\u{142}ug kolumny ${e.columnName} w porz\u{105}dku rosn\u{105}cym`,
collapse: "Zwiń",
@@ -29625,8 +29625,8 @@ bA = {
sortable: "kolumna z możliwością sortowania"
};
// node_modules/react-aria/dist/private/intl/table/pt-BR.mjs
-var xA = {};
-xA = {
+var _A = {};
+_A = {
ascending: "crescente",
ascendingSort: (e) => `classificado pela coluna ${e.columnName} em ordem crescente`,
collapse: "Recolher",
@@ -29640,8 +29640,8 @@ xA = {
sortable: "coluna classificável"
};
// node_modules/react-aria/dist/private/intl/table/pt-PT.mjs
-var SA = {};
-SA = {
+var vA = {};
+vA = {
ascending: "ascendente",
ascendingSort: (e) => `Ordenar por coluna ${e.columnName} em ordem ascendente`,
collapse: "Colapsar",
@@ -29655,8 +29655,8 @@ SA = {
sortable: "Coluna ordenável"
};
// node_modules/react-aria/dist/private/intl/table/ro-RO.mjs
-var CA = {};
-CA = {
+var yA = {};
+yA = {
ascending: "crescătoare",
ascendingSort: (e) => `sortate dup\u{103} coloana ${e.columnName} \xeen ordine cresc\u{103}toare`,
collapse: "Restrângeți",
@@ -29670,8 +29670,8 @@ CA = {
sortable: "coloană sortabilă"
};
// node_modules/react-aria/dist/private/intl/table/ru-RU.mjs
-var wA = {};
-wA = {
+var bA = {};
+bA = {
ascending: "возрастание",
ascendingSort: (e) => `\u{441}\u{43E}\u{440}\u{442}\u{438}\u{440}\u{43E}\u{432}\u{430}\u{442}\u{44C} \u{441}\u{442}\u{43E}\u{43B}\u{431}\u{435}\u{446} ${e.columnName} \u{432} \u{43F}\u{43E}\u{440}\u{44F}\u{434}\u{43A}\u{435} \u{432}\u{43E}\u{437}\u{440}\u{430}\u{441}\u{442}\u{430}\u{43D}\u{438}\u{44F}`,
collapse: "Свернуть",
@@ -29685,8 +29685,8 @@ wA = {
sortable: "сортируемый столбец"
};
// node_modules/react-aria/dist/private/intl/table/sk-SK.mjs
-var TA = {};
-TA = {
+var xA = {};
+xA = {
ascending: "vzostupne",
ascendingSort: (e) => `zoraden\xe9 zostupne pod\u{13E}a st\u{13A}pca ${e.columnName}`,
collapse: "Zbaliť",
@@ -29700,8 +29700,8 @@ TA = {
sortable: "zoraditeľný stĺpec"
};
// node_modules/react-aria/dist/private/intl/table/sl-SI.mjs
-var EA = {};
-EA = {
+var SA = {};
+SA = {
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",
@@ -29715,8 +29715,8 @@ EA = {
sortable: "razvrstljivi stolpec"
};
// node_modules/react-aria/dist/private/intl/table/sr-SP.mjs
-var DA = {};
-DA = {
+var CA = {};
+CA = {
ascending: "rastući",
ascendingSort: (e) => `sortirano po kolonama ${e.columnName} rastu\u{107}im redosledom`,
collapse: "Skupi",
@@ -29730,8 +29730,8 @@ DA = {
sortable: "kolona koja se može sortirati"
};
// node_modules/react-aria/dist/private/intl/table/sv-SE.mjs
-var OA = {};
-OA = {
+var wA = {};
+wA = {
ascending: "stigande",
ascendingSort: (e) => `sorterat p\xe5 kolumn ${e.columnName} i stigande ordning`,
collapse: "Dölj",
@@ -29745,8 +29745,8 @@ OA = {
sortable: "sorterbar kolumn"
};
// node_modules/react-aria/dist/private/intl/table/tr-TR.mjs
-var kA = {};
-kA = {
+var TA = {};
+TA = {
ascending: "artan sırada",
ascendingSort: (e) => `${e.columnName} s\xfctuna g\xf6re artan d\xfczende s\u{131}rala`,
collapse: "Daralt",
@@ -29760,8 +29760,8 @@ kA = {
sortable: "Sıralanabilir sütun"
};
// node_modules/react-aria/dist/private/intl/table/uk-UA.mjs
-var AA = {};
-AA = {
+var EA = {};
+EA = {
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: "Згорнути",
@@ -29775,8 +29775,8 @@ AA = {
sortable: "сортувальний стовпець"
};
// node_modules/react-aria/dist/private/intl/table/zh-CN.mjs
-var jA = {};
-jA = {
+var DA = {};
+DA = {
ascending: "升序",
ascendingSort: (e) => `\u{6309}\u{5217} ${e.columnName} \u{5347}\u{5E8F}\u{6392}\u{5E8F}`,
collapse: "折叠",
@@ -29790,8 +29790,8 @@ jA = {
sortable: "可排序的列"
};
// node_modules/react-aria/dist/private/intl/table/zh-TW.mjs
-var MA = {};
-MA = {
+var OA = {};
+OA = {
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: "收合",
@@ -29805,45 +29805,45 @@ MA = {
sortable: "可排序的欄"
};
// node_modules/react-aria/dist/private/table/intlStrings.mjs
-var NA = {};
-NA = {
- "ar-AE": $k,
- "bg-BG": eA,
- "cs-CZ": tA,
- "da-DK": nA,
- "de-DE": rA,
- "el-GR": iA,
- "en-US": aA,
- "es-ES": oA,
- "et-EE": sA,
- "fi-FI": cA,
- "fr-FR": lA,
- "he-IL": uA,
- "hr-HR": dA,
- "hu-HU": fA,
- "it-IT": pA,
- "ja-JP": mA,
- "ko-KR": hA,
- "lt-LT": gA,
- "lv-LV": _A,
- "nb-NO": vA,
- "nl-NL": yA,
- "pl-PL": bA,
- "pt-BR": xA,
- "pt-PT": SA,
- "ro-RO": CA,
- "ru-RU": wA,
- "sk-SK": TA,
- "sl-SI": EA,
- "sr-SP": DA,
- "sv-SE": OA,
- "tr-TR": kA,
- "uk-UA": AA,
- "zh-CN": jA,
- "zh-TW": MA
+var kA = {};
+kA = {
+ "ar-AE": Yk,
+ "bg-BG": Xk,
+ "cs-CZ": Zk,
+ "da-DK": Qk,
+ "de-DE": $k,
+ "el-GR": eA,
+ "en-US": tA,
+ "es-ES": nA,
+ "et-EE": rA,
+ "fi-FI": iA,
+ "fr-FR": aA,
+ "he-IL": oA,
+ "hr-HR": sA,
+ "hu-HU": cA,
+ "it-IT": lA,
+ "ja-JP": uA,
+ "ko-KR": dA,
+ "lt-LT": fA,
+ "lv-LV": pA,
+ "nb-NO": mA,
+ "nl-NL": hA,
+ "pl-PL": gA,
+ "pt-BR": _A,
+ "pt-PT": vA,
+ "ro-RO": yA,
+ "ru-RU": bA,
+ "sk-SK": xA,
+ "sl-SI": SA,
+ "sr-SP": CA,
+ "sv-SE": wA,
+ "tr-TR": TA,
+ "uk-UA": EA,
+ "zh-CN": DA,
+ "zh-TW": OA
};
// node_modules/react-aria/dist/private/table/TableKeyboardDelegate.mjs
-var Ece = class extends Kk {
+var Ace = class extends Hk {
isCell(e) {
return e.type === "cell" || e.type === "rowheader" || e.type === "column";
}
@@ -29851,7 +29851,7 @@ var Ece = class extends Kk {
let n = this.collection.getItem(e);
if (!n) return null;
if (n.type === "column") {
- let e = gD(hD(n, this.collection));
+ let e = fD(dD(n, this.collection));
if (e) return e.key;
let t = this.getFirstKey();
return t == null || !this.collection.getItem(t) ? null : super.getKeyForItemInRowByIndex(t, n.index);
@@ -29872,13 +29872,13 @@ var Ece = class extends Kk {
let t = this.findNextKey(e.key, (e) => e.type === "column");
if (t != null) return t;
let n = this.collection.headerRows[e.level];
- for (let e of hD(n, this.collection)) if (e.type === "column") return e.key;
+ for (let e of dD(n, this.collection)) if (e.type === "column") return e.key;
return null;
}
findPreviousColumnKey(e) {
let t = this.findPreviousKey(e.key, (e) => e.type === "column");
if (t != null) return t;
- let n = this.collection.headerRows[e.level], r = [...hD(n, this.collection)];
+ let n = this.collection.headerRows[e.level], r = [...dD(n, this.collection)];
for (let e = r.length - 1; e >= 0; e--) {
let t = r[e];
if (t.type === "column") return t.key;
@@ -29907,7 +29907,7 @@ var Ece = class extends Kk {
let t = o.textValue.slice(0, e.length);
if (this.collator.compare(t, e) === 0) return o.key;
}
- for (let r of hD(o, this.collection)) {
+ for (let r of dD(o, this.collection)) {
let a = n.columns[r.index];
if (n.rowHeaderColumnKeys.has(a.key) && r.textValue) {
let a = r.textValue.slice(0, e.length);
@@ -29920,14 +29920,14 @@ var Ece = class extends Kk {
}
};
// node_modules/react-aria/dist/private/table/useTable.mjs
-function Dce(e) {
+function jce(e) {
return e && e.__esModule ? e.default : e;
}
-function Oce(e, t, n) {
- let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = wD({
+function Mce(e, t, n) {
+ let { keyboardDelegate: r, isVirtualized: i, layoutDelegate: a, layout: o } = e, s = bD({
usage: "search",
sensitivity: "base"
- }), { direction: c } = Lw(), l = t.selectionManager.disabledBehavior, u = (0, F.useMemo)(() => r || new Ece({
+ }), { direction: c } = Nw(), l = t.selectionManager.disabledBehavior, u = (0, F.useMemo)(() => r || new Ace({
collection: t.collection,
disabledKeys: t.disabledKeys,
disabledBehavior: l,
@@ -29946,51 +29946,51 @@ function Oce(e, t, n) {
s,
a,
o
- ]), d = VC(e.id);
- Jk.set(t, d);
- let { gridProps: f } = Tce({
+ ]), d = LC(e.id);
+ Wk.set(t, d);
+ let { gridProps: f } = kce({
...e,
id: d,
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 = Uw(Dce(NA), "@react-aria/table"), g = (0, F.useMemo)(() => {
+ let { column: p, direction: m } = t.sortDescriptor || {}, h = zw(jce(kA), "@react-aria/table"), g = (0, F.useMemo)(() => {
let e = t.collection.columns.find((e) => e.key === p)?.textValue ?? "";
return m && p ? h.format(`${m}Sort`, { columnName: e }) : void 0;
}, [
m,
p,
t.collection.columns
- ]), _ = BT(g);
- return NT(() => {
- g && MT(g, "assertive", 500);
+ ]), _ = IT(g);
+ return kT(() => {
+ g && OT(g, "assertive", 500);
}, [g]), { gridProps: K(f, _, { "aria-describedby": [_["aria-describedby"], f["aria-describedby"]].filter(Boolean).join(" ") }) };
}
// node_modules/react-aria/dist/private/grid/useGridCell.mjs
-function PA(e, t, n) {
- let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Lw(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = qk.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = () => {
+function AA(e, t, n) {
+ let { node: r, isVirtualized: i, focusMode: a, allowsArrowNavigation: o, shouldSelectOnPressUp: s, onAction: c } = e, { direction: l } = Nw(), { keyboardDelegate: u, actions: { onCellAction: d }, keyboardNavigationBehavior: f } = Uk.get(t), p = a ?? (f === "tab" ? "cell" : "child"), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = () => {
if (n.current) {
- let e = DT(n.current);
+ let e = CT(n.current);
if (p === "child") {
- let i = MS(wS(n.current));
- if (PS(n.current) && n.current !== i) return;
- let a = wS(n.current);
+ let i = OS(bS(n.current));
+ if (AS(n.current) && n.current !== i) return;
+ let a = bS(n.current);
if (!i || i === a.body || i === n.current) {
let e = h.current;
- if (e && m.current === r.key && jS(n.current, e)) {
- IC(e);
+ if (e && m.current === r.key && DS(n.current, e)) {
+ MC(e);
return;
}
}
- let o = t.selectionManager.childFocusStrategy === "last" ? FA(e) : e.firstChild();
+ let o = t.selectionManager.childFocusStrategy === "last" ? jA(e) : e.firstChild();
if (o) {
- IC(o);
+ MC(o);
return;
}
}
- (m.current != null && r.key !== m.current || !PS(n.current)) && IC(n.current);
+ (m.current != null && r.key !== m.current || !AS(n.current)) && MC(n.current);
}
- }, { itemProps: _, isPressed: v } = TO({
+ }, { itemProps: _, isPressed: v } = xO({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
@@ -30002,44 +30002,44 @@ function PA(e, t, n) {
}), y = K(_, {
role: "gridcell",
onKeyDownCapture: f !== "tab" || o ? (e) => {
- let i = MS(wS(n.current));
- if (!jS(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
- let a = DT(n.current);
+ let i = OS(bS(n.current));
+ if (!DS(e.currentTarget, G(e)) || t.isKeyboardNavigationDisabled || !n.current || !i) return;
+ let a = CT(n.current);
switch (a.currentNode = i, e.key) {
case "ArrowLeft": {
let t = l === "rtl" ? a.nextNode() : a.previousNode();
- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) IC(t), RT(t, { containingElement: FT(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) MC(t), PT(t, { containingElement: jT(n.current) });
else {
if (u.getKeyLeftOf?.(r.key) !== r.key) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "rtl" ? (IC(n.current), RT(n.current, { containingElement: FT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : FA(a), t && (IC(t), RT(t, { containingElement: FT(n.current) })));
+ p === "cell" && l === "rtl" ? (MC(n.current), PT(n.current, { containingElement: jT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? a.firstChild() : jA(a), t && (MC(t), PT(t, { containingElement: jT(n.current) })));
}
break;
}
case "ArrowRight": {
let t = l === "rtl" ? a.previousNode() : a.nextNode();
- if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) IC(t), RT(t, { containingElement: FT(n.current) });
+ if (p === "child" && t === n.current && (t = null), e.preventDefault(), e.stopPropagation(), t) MC(t), PT(t, { containingElement: jT(n.current) });
else {
if (u.getKeyRightOf?.(r.key) !== r.key) {
n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent));
break;
}
- p === "cell" && l === "ltr" ? (IC(n.current), RT(n.current, { containingElement: FT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? FA(a) : a.firstChild(), t && (IC(t), RT(t, { containingElement: FT(n.current) })));
+ p === "cell" && l === "ltr" ? (MC(n.current), PT(n.current, { containingElement: jT(n.current) })) : (a.currentNode = n.current, t = l === "rtl" ? jA(a) : a.firstChild(), t && (MC(t), PT(t, { containingElement: jT(n.current) })));
}
break;
}
case "ArrowUp":
- case "ArrowDown": !e.altKey && jS(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
+ case "ArrowDown": !e.altKey && DS(n.current, G(e)) && (e.stopPropagation(), e.preventDefault(), n.current.parentElement?.dispatchEvent(new KeyboardEvent(e.nativeEvent.type, e.nativeEvent)));
}
} : void 0,
onKeyDown: f === "tab" ? (e) => {
- let r = MS(wS(n.current));
- if (jS(e.currentTarget, G(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {
+ let r = OS(bS(n.current));
+ if (DS(e.currentTarget, G(e)) && !t.isKeyboardNavigationDisabled && n.current && r) {
if (f === "tab" && G(e) !== n.current && e.key !== "Tab") e.stopPropagation();
else if (e.key === "Tab" && f === "tab") {
- let t = DT(n.current, { tabbable: !0 });
+ let t = CT(n.current, { tabbable: !0 });
t.currentNode = r, (e.shiftKey ? t.previousNode() : t.nextNode()) && e.stopPropagation();
}
}
@@ -30050,9 +30050,9 @@ function PA(e, t, n) {
onFocus: (e) => {
if (m.current = r.key, G(e) !== n.current) {
let i = G(e);
- n.current && jS(n.current, i) && (h.current = i), wC() || t.selectionManager.setFocusedKey(r.key);
- } else p === "child" && e.relatedTarget && jS(n.current, e.relatedTarget) || requestAnimationFrame(() => {
- p === "child" && MS(wS(n.current)) === n.current && g();
+ n.current && DS(n.current, i) && (h.current = i), bC() || t.selectionManager.setFocusedKey(r.key);
+ } else p === "child" && e.relatedTarget && DS(n.current, e.relatedTarget) || requestAnimationFrame(() => {
+ p === "child" && OS(bS(n.current)) === n.current && g();
});
},
...p === "child" && f === "tab" ? { tabIndex: -1 } : {}
@@ -30067,7 +30067,7 @@ function PA(e, t, n) {
isPressed: v
};
}
-function FA(e) {
+function jA(e) {
let t = null, n = null;
do
n = e.lastChild(), n && (t = n);
@@ -30075,32 +30075,32 @@ function FA(e) {
return t;
}
// node_modules/react-aria/dist/private/table/useTableCell.mjs
-function kce(e, t, n) {
- let { gridCellProps: r, isPressed: i } = PA(e, t, n), a = e.node.column?.key;
- return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = Zk(t, e.node.parentKey, a)), {
+function Nce(e, t, n) {
+ let { gridCellProps: r, isPressed: i } = AA(e, t, n), a = e.node.column?.key;
+ return a != null && t.collection.rowHeaderColumnKeys.has(a) && (r.role = "rowheader", r.id = qk(t, e.node.parentKey, a)), {
gridCellProps: r,
isPressed: i
};
}
// node_modules/react-aria/dist/private/table/useTableColumnHeader.mjs
-function Ace(e) {
+function Pce(e) {
return e && e.__esModule ? e.default : e;
}
-function jce(e, t, n) {
- let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = PA({
+function Fce(e, t, n) {
+ let { node: r } = e, i = r.props.allowsSorting, { gridCellProps: a } = AA({
focusMode: "child",
...e
- }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = aT({
+ }, t, n), o = r.props.isSelectionCell && t.selectionManager.selectionMode === "single", { pressProps: s, isPressed: c } = tT({
isDisabled: !i || o,
onPress() {
t.sort(r.key);
},
ref: n
- }), { focusableProps: l } = tw({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
- r.props.allowsSorting && !$S() && (u = d ? f : "none");
- let p = Uw(Ace(NA), "@react-aria/table"), m;
- i && (m = `${p.format("sortable")}`, d && f && $S() && (m = `${m}, ${p.format(f)}`));
- let h = BT(m), g = t.collection.size === 0;
+ }), { focusableProps: l } = ZC({}, n), u, d = t.sortDescriptor?.column === r.key, f = t.sortDescriptor?.direction;
+ r.props.allowsSorting && !YS() && (u = d ? f : "none");
+ let p = zw(Pce(kA), "@react-aria/table"), m;
+ i && (m = `${p.format("sortable")}`, d && f && YS() && (m = `${m}, ${p.format(f)}`));
+ let h = IT(m), g = t.collection.size === 0;
return (0, F.useEffect)(() => {
g && t.selectionManager.focusedKey === r.key && t.selectionManager.setFocusedKey(null);
}, [
@@ -30111,7 +30111,7 @@ function jce(e, t, n) {
columnHeaderProps: {
...K(l, a, s, h, g ? { tabIndex: -1 } : null),
role: "columnheader",
- id: Xk(t, r.key),
+ id: Kk(t, r.key),
"aria-colspan": r.colSpan && r.colSpan > 1 ? r.colSpan : void 0,
"aria-sort": u
},
@@ -30119,17 +30119,17 @@ function jce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/table/useTableColumnResize.mjs
-function Mce(e) {
+function Ice(e) {
return e && e.__esModule ? e.default : e;
}
-function Nce(e, t, n) {
- let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = Uw(Mce(NA), "@react-aria/table"), d = VC(), f = t.resizingColumn === r.key, p = (0, F.useRef)(f), m = (0, F.useRef)(null), h = (0, F.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, F.useState)(!1), { direction: y } = Lw(), b = (0, F.useCallback)((e) => {
+function Lce(e, t, n) {
+ let { column: r, triggerRef: i, isDisabled: a, onResizeStart: o, onResize: s, onResizeEnd: c, "aria-label": l } = e, u = zw(Ice(kA), "@react-aria/table"), d = LC(), f = t.resizingColumn === r.key, p = (0, F.useRef)(f), m = (0, F.useRef)(null), h = (0, F.useRef)(!1), g = t.tableState.isKeyboardNavigationDisabled, [_, v] = (0, F.useState)(!1), { direction: y } = Nw(), b = (0, F.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, F.useCallback)((e, n) => {
let r = t.updateResizedColumns(e.key, n);
s?.(r), m.current = r;
}, [t, s]), S = (0, F.useCallback)((e) => {
- p.current && (m.current ??= t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.endResize(), t.tableState.setKeyboardNavigationDisabled(!1), c?.(m.current), p.current = !1, i?.current && !h.current && IC(i.current)), m.current = null;
+ p.current && (m.current ??= t.updateResizedColumns(e.key, t.getColumnWidth(e.key)), t.endResize(), t.tableState.setKeyboardNavigationDisabled(!1), c?.(m.current), p.current = !1, i?.current && !h.current && MC(i.current)), m.current = null;
}, [
t,
i,
@@ -30137,14 +30137,14 @@ function Nce(e, t, n) {
]), C = () => {
if (g) S(r);
else return !1;
- }, { keyboardProps: w } = ZC({ shortcuts: {
+ }, { keyboardProps: w } = qC({ shortcuts: {
Escape: () => C(),
Enter: () => {
g ? S(r) : b(r);
},
" ": () => C(),
Tab: () => C()
- } }), T = (0, F.useRef)(0), { moveProps: E } = uE({
+ } }), T = (0, F.useRef)(0), { moveProps: E } = oE({
onMoveStart(e) {
T.current = t.getColumnWidth(r.key), e.pointerType === "mouse" && v(!0), b(r);
},
@@ -30160,12 +30160,12 @@ function Nce(e, t, n) {
g && E.onKeyDown?.(e);
}, [g, E]), O = Math.floor(t.getColumnMinWidth(r.key)), k = Math.floor(t.getColumnMaxWidth(r.key));
k === Infinity && (k = 2 ** 53 - 1);
- let A = Math.floor(t.getColumnWidth(r.key)), j = DC();
+ let A = Math.floor(t.getColumnWidth(r.key)), j = CC();
j === "virtual" && typeof window < "u" && "ontouchstart" in window && (j = "touch");
- let M = BT(i?.current == null && (j === "keyboard" || j === "virtual") && !f ? u.format("resizerDescription") : void 0), ee = {
+ let M = IT(i?.current == null && (j === "keyboard" || j === "virtual") && !f ? u.format("resizerDescription") : void 0), ee = {
"aria-label": l,
"aria-orientation": "horizontal",
- "aria-labelledby": `${d} ${Xk(t.tableState, r.key)}`,
+ "aria-labelledby": `${d} ${Kk(t.tableState, r.key)}`,
"aria-valuetext": u.format("columnSize", { value: A }),
type: "range",
min: O,
@@ -30173,11 +30173,11 @@ function Nce(e, t, n) {
value: A,
...M
}, N = (0, F.useCallback)(() => {
- n.current && IC(n.current);
- }, [n]), te = t.resizingColumn, P = (0, F.useRef)(null), ne = kw(b);
+ n.current && MC(n.current);
+ }, [n]), te = t.resizingColumn, P = (0, F.useRef)(null), ne = Tw(b);
(0, F.useEffect)(() => {
if (P.current !== te && te != null && te === r.key) {
- h.current = MS() === n.current, ne(r);
+ h.current = OS() === n.current, ne(r);
let e = setTimeout(() => N(), 0), t = setTimeout(N, 400);
return () => {
clearTimeout(e), clearTimeout(t);
@@ -30193,7 +30193,7 @@ function Nce(e, t, n) {
let re = (e) => {
let n = t.getColumnWidth(r.key), i = parseFloat(G(e).value);
i = i > n ? n + 10 : n - 10, x(r, i);
- }, { pressProps: I } = aT({
+ }, { pressProps: I } = tT({
preventFocusOnPress: !0,
onPressStart: (e) => {
e.ctrlKey || e.altKey || e.metaKey || e.shiftKey || e.pointerType === "keyboard" || (e.pointerType === "virtual" && t.resizingColumn != null ? S(r) : (N(), e.pointerType !== "virtual" && b(r)));
@@ -30201,7 +30201,7 @@ function Nce(e, t, n) {
onPress: (e) => {
(e.pointerType === "touch" && h.current || e.pointerType === "mouse") && t.resizingColumn != null && S(r);
}
- }), { visuallyHiddenProps: ie } = fE();
+ }), { visuallyHiddenProps: ie } = cE();
return {
resizerProps: K(w, {
...E,
@@ -30220,19 +30220,19 @@ function Nce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/table/useTableHeaderRow.mjs
-function Pce(e, t, n) {
+function Rce(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 };
}
// node_modules/react-aria/dist/private/grid/useGridRow.mjs
-function Fce(e, t, n) {
- let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = qk.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = TO({
+function zce(e, t, n) {
+ let { node: r, isVirtualized: i, shouldSelectOnPressUp: a, onAction: o } = e, { actions: s, shouldSelectOnPressUp: c } = Uk.get(t), l = s.onRowAction ? () => s.onRowAction?.(r.key) : o, { itemProps: u, ...d } = xO({
selectionManager: t.selectionManager,
key: r.key,
ref: n,
isVirtualized: i,
shouldSelectOnPressUp: c || a,
- onAction: l || r?.props?.onAction ? LC(r?.props?.onAction, l) : void 0,
+ onAction: l || r?.props?.onAction ? NC(r?.props?.onAction, l) : void 0,
isDisabled: t.collection.size === 0
}), f = t.selectionManager.isSelected(r.key), p = {
role: "row",
@@ -30246,10 +30246,10 @@ function Fce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/table/useTableRow.mjs
-function Ice(e) {
+function Bce(e) {
return e && e.__esModule ? e.default : e;
}
-var IA = {
+var MA = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -30259,21 +30259,21 @@ var IA = {
rtl: "ArrowRight"
}
};
-function Lce(e, t, n) {
- let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = Fce(e, t, n), { direction: s } = Lw();
+function Vce(e, t, n) {
+ let { node: r, isVirtualized: i } = e, { rowProps: a, ...o } = zce(e, t, n), { direction: s } = Nw();
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 = Uw(Ice(NA), "@react-aria/table"), u = jw({
+ let c = t.treeColumn != null && (t.expandedKeys === "all" || t.expandedKeys.has(r.key)), l = zw(Bce(kA), "@react-aria/table"), u = Dw({
"aria-label": c ? l.format("collapse") : l.format("expand"),
- "aria-labelledby": Qk(t, r.key)
+ "aria-labelledby": Jk(t, r.key)
}), d = {}, f = {};
if (t.treeColumn != null) {
let e = t.collection.getItem(r.key);
if (e != null) {
- let n = LA(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 = LA(t.collection, a);
+ let n = NA(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 = NA(t.collection, a);
for (; l && l.type !== "item" && l.prevKey != null;) l = t.collection.getItem(l.prevKey);
d = {
onKeyDown: (n) => {
- n.key === IA.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === IA.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 === MA.expand[s] && t.selectionManager.focusedKey === e.key && i && t.expandedKeys !== "all" && !t.expandedKeys.has(e.key) ? (t.toggleKey(e.key), n.stopPropagation()) : n.key === MA.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,
@@ -30291,42 +30291,42 @@ function Lce(e, t, n) {
};
}
}
- let p = rC(r.props), m = o.hasAction ? p : {};
+ let p = $S(r.props), m = o.hasAction ? p : {};
return {
rowProps: {
...K(a, d, m),
- "aria-labelledby": Qk(t, r.key)
+ "aria-labelledby": Jk(t, r.key)
},
expandButtonProps: f,
...o
};
}
-function LA(e, t) {
+function NA(e, t) {
return "lastChildKey" in t ? t.lastChildKey == null ? null : e.getItem(t.lastChildKey) : Array.from(t.childNodes).findLast((e) => e.parentKey === t.key);
}
// node_modules/react-aria/dist/private/grid/useGridRowGroup.mjs
-function Rce() {
+function Hce() {
return { rowGroupProps: { role: "rowgroup" } };
}
// node_modules/react-aria/dist/private/table/useTableRowGroup.mjs
-function RA() {
- return Rce();
+function PA() {
+ return Hce();
}
// node_modules/react-aria/dist/private/table/useTableSelectionCheckbox.mjs
-function zce(e) {
+function Uce(e) {
return e && e.__esModule ? e.default : e;
}
-function Bce(e, t) {
- let { key: n } = e, { checkboxProps: r } = jO(e, t);
+function Wce(e, t) {
+ let { key: n } = e, { checkboxProps: r } = DO(e, t);
return { checkboxProps: {
...r,
- "aria-labelledby": `${r.id} ${Qk(t, n)}`
+ "aria-labelledby": `${r.id} ${Jk(t, n)}`
} };
}
-function Vce(e) {
+function Gce(e) {
let { isEmpty: t, isSelectAll: n, selectionMode: r } = e.selectionManager;
return { checkboxProps: {
- "aria-label": Uw(zce(NA), "@react-aria/table").format(r === "single" ? "select" : "selectAll"),
+ "aria-label": zw(Uce(kA), "@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,
@@ -30334,22 +30334,22 @@ function Vce(e) {
} };
}
// node_modules/react-aria/dist/private/tabs/utils.mjs
-var zA = /* @__PURE__ */ new WeakMap();
-function BA(e, t, n) {
- return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${zA.get(e)}-${n}-${t}`) : "";
+var FA = /* @__PURE__ */ new WeakMap();
+function IA(e, t, n) {
+ return e ? (typeof t == "string" && (t = t.replace(/\s+/g, "")), `${FA.get(e)}-${n}-${t}`) : "";
}
// node_modules/react-aria/dist/private/tabs/useTab.mjs
-function Hce(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 } = TO({
+function Kce(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 } = xO({
selectionManager: o,
key: r,
ref: n,
isDisabled: l,
shouldSelectOnPressUp: a ?? u?.props.href != null,
linkBehavior: "selection"
- }), p = BA(t, r, "tab"), m = BA(t, r, "tabpanel"), { tabIndex: h } = d, g = Gw(u?.props, { labelable: !0 });
+ }), p = IA(t, r, "tab"), m = IA(t, r, "tabpanel"), { tabIndex: h } = d, g = Vw(u?.props, { labelable: !0 });
delete g.id;
- let _ = iC(u?.props), { focusableProps: v } = tw({
+ let _ = eC(u?.props), { focusableProps: v } = ZC({
...u?.props,
isDisabled: l
}, n);
@@ -30368,7 +30368,7 @@ function Hce(e, t, n) {
};
}
// node_modules/react-aria/dist/private/tabs/TabsKeyboardDelegate.mjs
-var Uce = class {
+var qce = class {
constructor(e, t, n, r = /* @__PURE__ */ new Set()) {
this.collection = e, this.flipDirection = t === "rtl", this.disabledKeys = r, this.tabDirection = n === "horizontal";
}
@@ -30411,11 +30411,11 @@ var Uce = class {
}
};
// node_modules/react-aria/dist/private/tabs/useTabList.mjs
-function Wce(e, t, n) {
- let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Lw(), { collectionProps: l } = mD({
+function Jce(e, t, n) {
+ let { orientation: r = "horizontal", keyboardActivation: i = "automatic" } = e, { collection: a, selectionManager: o, disabledKeys: s } = t, { direction: c } = Nw(), { collectionProps: l } = uD({
ref: n,
selectionManager: o,
- keyboardDelegate: (0, F.useMemo)(() => new Uce(a, c, r, s), [
+ keyboardDelegate: (0, F.useMemo)(() => new qce(a, c, r, s), [
a,
s,
r,
@@ -30425,9 +30425,9 @@ function Wce(e, t, n) {
disallowEmptySelection: !0,
scrollRef: n,
linkBehavior: "selection"
- }), u = VC();
- return zA.set(t, u), { tabListProps: {
- ...K(l, jw({
+ }), u = LC();
+ return FA.set(t, u), { tabListProps: {
+ ...K(l, Dw({
...e,
id: u
})),
@@ -30437,12 +30437,12 @@ function Wce(e, t, n) {
} };
}
// node_modules/react-aria/dist/private/tabs/useTabPanel.mjs
-function Gce(e, t, n) {
- let r = SO(n) ? void 0 : 0, i = BA(t, e.id ?? t?.selectedKey, "tabpanel");
- return { tabPanelProps: K(jw({
+function Yce(e, t, n) {
+ let r = vO(n) ? void 0 : 0, i = IA(t, e.id ?? t?.selectedKey, "tabpanel");
+ return { tabPanelProps: K(Dw({
...e,
id: i,
- "aria-labelledby": BA(t, t?.selectedKey, "tab")
+ "aria-labelledby": IA(t, t?.selectedKey, "tab")
}), {
tabIndex: r,
role: "tabpanel",
@@ -30451,265 +30451,265 @@ function Gce(e, t, n) {
}) };
}
// node_modules/react-aria/dist/private/tree/useTree.mjs
-function Kce(e, t, n) {
- let { gridProps: r } = Lse(e, t, n);
+function Xce(e, t, n) {
+ let { gridProps: r } = Vse(e, t, n);
return r.role = "treegrid", { gridProps: r };
}
// node_modules/react-aria/dist/private/intl/tree/ar-AE.mjs
-var VA = {};
-VA = {
+var LA = {};
+LA = {
collapse: "طي",
expand: "تمديد"
};
// node_modules/react-aria/dist/private/intl/tree/bg-BG.mjs
-var HA = {};
-HA = {
+var RA = {};
+RA = {
collapse: "Свиване",
expand: "Разширяване"
};
// node_modules/react-aria/dist/private/intl/tree/cs-CZ.mjs
-var UA = {};
-UA = {
+var zA = {};
+zA = {
collapse: "Sbalit",
expand: "Roztáhnout"
};
// node_modules/react-aria/dist/private/intl/tree/da-DK.mjs
-var WA = {};
-WA = {
+var BA = {};
+BA = {
collapse: "Skjul",
expand: "Udvid"
};
// node_modules/react-aria/dist/private/intl/tree/de-DE.mjs
-var GA = {};
-GA = {
+var VA = {};
+VA = {
collapse: "Reduzieren",
expand: "Erweitern"
};
// node_modules/react-aria/dist/private/intl/tree/el-GR.mjs
-var KA = {};
-KA = {
+var HA = {};
+HA = {
collapse: "Σύμπτυξη",
expand: "Ανάπτυξη"
};
// node_modules/react-aria/dist/private/intl/tree/en-US.mjs
-var qA = {};
-qA = {
+var UA = {};
+UA = {
expand: "Expand",
collapse: "Collapse"
};
// node_modules/react-aria/dist/private/intl/tree/es-ES.mjs
-var JA = {};
-JA = {
+var WA = {};
+WA = {
collapse: "Contraer",
expand: "Expandir"
};
// node_modules/react-aria/dist/private/intl/tree/et-EE.mjs
-var YA = {};
-YA = {
+var GA = {};
+GA = {
collapse: "Ahenda",
expand: "Laienda"
};
// node_modules/react-aria/dist/private/intl/tree/fi-FI.mjs
-var XA = {};
-XA = {
+var KA = {};
+KA = {
collapse: "Pienennä",
expand: "Laajenna"
};
// node_modules/react-aria/dist/private/intl/tree/fr-FR.mjs
-var ZA = {};
-ZA = {
+var qA = {};
+qA = {
collapse: "Réduire",
expand: "Développer"
};
// node_modules/react-aria/dist/private/intl/tree/he-IL.mjs
-var QA = {};
-QA = {
+var JA = {};
+JA = {
collapse: "כווץ",
expand: "הרחב"
};
// node_modules/react-aria/dist/private/intl/tree/hr-HR.mjs
-var $A = {};
-$A = {
+var YA = {};
+YA = {
collapse: "Sažmi",
expand: "Proširi"
};
// node_modules/react-aria/dist/private/intl/tree/hu-HU.mjs
-var ej = {};
-ej = {
+var XA = {};
+XA = {
collapse: "Összecsukás",
expand: "Kibontás"
};
// node_modules/react-aria/dist/private/intl/tree/it-IT.mjs
-var tj = {};
-tj = {
+var ZA = {};
+ZA = {
collapse: "Comprimi",
expand: "Espandi"
};
// node_modules/react-aria/dist/private/intl/tree/ja-JP.mjs
-var nj = {};
-nj = {
+var QA = {};
+QA = {
collapse: "折りたたむ",
expand: "展開"
};
// node_modules/react-aria/dist/private/intl/tree/ko-KR.mjs
-var rj = {};
-rj = {
+var $A = {};
+$A = {
collapse: "접기",
expand: "펼치기"
};
// node_modules/react-aria/dist/private/intl/tree/lt-LT.mjs
-var ij = {};
-ij = {
+var ej = {};
+ej = {
collapse: "Sutraukti",
expand: "Išskleisti"
};
// node_modules/react-aria/dist/private/intl/tree/lv-LV.mjs
-var aj = {};
-aj = {
+var tj = {};
+tj = {
collapse: "Sakļaut",
expand: "Izvērst"
};
// node_modules/react-aria/dist/private/intl/tree/nb-NO.mjs
-var oj = {};
-oj = {
+var nj = {};
+nj = {
collapse: "Skjul",
expand: "Utvid"
};
// node_modules/react-aria/dist/private/intl/tree/nl-NL.mjs
-var sj = {};
-sj = {
+var rj = {};
+rj = {
collapse: "Samenvouwen",
expand: "Uitvouwen"
};
// node_modules/react-aria/dist/private/intl/tree/pl-PL.mjs
-var cj = {};
-cj = {
+var ij = {};
+ij = {
collapse: "Zwiń",
expand: "Rozwiń"
};
// node_modules/react-aria/dist/private/intl/tree/pt-BR.mjs
-var lj = {};
-lj = {
+var aj = {};
+aj = {
collapse: "Recolher",
expand: "Expandir"
};
// node_modules/react-aria/dist/private/intl/tree/pt-PT.mjs
-var uj = {};
-uj = {
+var oj = {};
+oj = {
collapse: "Colapsar",
expand: "Expandir"
};
// node_modules/react-aria/dist/private/intl/tree/ro-RO.mjs
-var dj = {};
-dj = {
+var sj = {};
+sj = {
collapse: "Restrângeți",
expand: "Extindeți"
};
// node_modules/react-aria/dist/private/intl/tree/ru-RU.mjs
-var fj = {};
-fj = {
+var cj = {};
+cj = {
collapse: "Свернуть",
expand: "Развернуть"
};
// node_modules/react-aria/dist/private/intl/tree/sk-SK.mjs
-var pj = {};
-pj = {
+var lj = {};
+lj = {
collapse: "Zbaliť",
expand: "Rozbaliť"
};
// node_modules/react-aria/dist/private/intl/tree/sl-SI.mjs
-var mj = {};
-mj = {
+var uj = {};
+uj = {
collapse: "Strni",
expand: "Razširi"
};
// node_modules/react-aria/dist/private/intl/tree/sr-SP.mjs
-var hj = {};
-hj = {
+var dj = {};
+dj = {
collapse: " Skupi",
expand: "Proširi"
};
// node_modules/react-aria/dist/private/intl/tree/sv-SE.mjs
-var gj = {};
-gj = {
+var fj = {};
+fj = {
collapse: "Dölj",
expand: "Expandera"
};
// node_modules/react-aria/dist/private/intl/tree/tr-TR.mjs
-var _j = {};
-_j = {
+var pj = {};
+pj = {
collapse: "Daralt",
expand: "Genişlet"
};
// node_modules/react-aria/dist/private/intl/tree/uk-UA.mjs
-var vj = {};
-vj = {
+var mj = {};
+mj = {
collapse: "Згорнути",
expand: "Розгорнути"
};
// node_modules/react-aria/dist/private/intl/tree/zh-CN.mjs
-var yj = {};
-yj = {
+var hj = {};
+hj = {
collapse: "折叠",
expand: "扩展"
};
// node_modules/react-aria/dist/private/intl/tree/zh-TW.mjs
-var bj = {};
-bj = {
+var gj = {};
+gj = {
collapse: "收合",
expand: "展開"
};
// node_modules/react-aria/dist/private/tree/intlStrings.mjs
-var xj = {};
-xj = {
- "ar-AE": VA,
- "bg-BG": HA,
- "cs-CZ": UA,
- "da-DK": WA,
- "de-DE": GA,
- "el-GR": KA,
- "en-US": qA,
- "es-ES": JA,
- "et-EE": YA,
- "fi-FI": XA,
- "fr-FR": ZA,
- "he-IL": QA,
- "hr-HR": $A,
- "hu-HU": ej,
- "it-IT": tj,
- "ja-JP": nj,
- "ko-KR": rj,
- "lt-LT": ij,
- "lv-LV": aj,
- "nb-NO": oj,
- "nl-NL": sj,
- "pl-PL": cj,
- "pt-BR": lj,
- "pt-PT": uj,
- "ro-RO": dj,
- "ru-RU": fj,
- "sk-SK": pj,
- "sl-SI": mj,
- "sr-SP": hj,
- "sv-SE": gj,
- "tr-TR": _j,
- "uk-UA": vj,
- "zh-CN": yj,
- "zh-TW": bj
+var _j = {};
+_j = {
+ "ar-AE": LA,
+ "bg-BG": RA,
+ "cs-CZ": zA,
+ "da-DK": BA,
+ "de-DE": VA,
+ "el-GR": HA,
+ "en-US": UA,
+ "es-ES": WA,
+ "et-EE": GA,
+ "fi-FI": KA,
+ "fr-FR": qA,
+ "he-IL": JA,
+ "hr-HR": YA,
+ "hu-HU": XA,
+ "it-IT": ZA,
+ "ja-JP": QA,
+ "ko-KR": $A,
+ "lt-LT": ej,
+ "lv-LV": tj,
+ "nb-NO": nj,
+ "nl-NL": rj,
+ "pl-PL": ij,
+ "pt-BR": aj,
+ "pt-PT": oj,
+ "ro-RO": sj,
+ "ru-RU": cj,
+ "sk-SK": lj,
+ "sl-SI": uj,
+ "sr-SP": dj,
+ "sv-SE": fj,
+ "tr-TR": pj,
+ "uk-UA": mj,
+ "zh-CN": hj,
+ "zh-TW": gj
};
// node_modules/react-aria/dist/private/tree/useTreeItem.mjs
-function qce(e) {
+function Zce(e) {
return e && e.__esModule ? e.default : e;
}
-function Sj(e, t, n) {
- let { node: r } = e, i = Rse(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = Uw(qce(xj), "@react-aria/tree"), s = {
+function vj(e, t, n) {
+ let { node: r } = e, i = Hse(e, t, n), a = i.rowProps["aria-expanded"] === !0, o = zw(Zce(_j), "@react-aria/tree"), s = {
onPress: () => {
i.isDisabled || (t.toggleKey(r.key), t.selectionManager.setFocused(!0), t.selectionManager.setFocusedKey(r.key));
},
excludeFromTabOrder: !0,
preventFocusOnPress: !0,
"data-react-aria-prevent-focus": !0,
- ...jw({
+ ...Dw({
"aria-label": a ? o.format("collapse") : o.format("expand"),
"aria-labelledby": i.rowProps.id
})
@@ -30720,15 +30720,15 @@ function Sj(e, t, n) {
};
}
// src/react/components/selection-dock.tsx
-var Cj = "(prefers-reduced-motion: reduce)", Jce = () => matchMedia(Cj).matches, Yce = (e) => {
- let t = matchMedia(Cj);
+var yj = "(prefers-reduced-motion: reduce)", Qce = () => matchMedia(yj).matches, $ce = (e) => {
+ let t = matchMedia(yj);
return t.addEventListener("change", e), () => t.removeEventListener("change", e);
-}, wj = /* @__PURE__ */ new Map(), Tj = () => {
+}, bj = /* @__PURE__ */ new Map(), xj = () => {
let e = document.documentElement;
- wj.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...wj.values())}px`) : e.style.removeProperty("--selection-dock-space");
+ bj.size ? e.style.setProperty("--selection-dock-space", `${Math.max(...bj.values())}px`) : e.style.removeProperty("--selection-dock-space");
};
-function Xce({ children: e, count: t, label: n }) {
- let r = (0, F.useRef)(null), i = Ox(), a = (0, F.useSyncExternalStore)(Yce, Jce, () => !1), { isFocusVisible: o } = OC(), s = a || o, c = {
+function ele({ children: e, count: t, label: n }) {
+ let r = (0, F.useRef)(null), i = wx(), a = (0, F.useSyncExternalStore)($ce, Qce, () => !1), { isFocusVisible: o } = wC(), s = a || o, c = {
opacity: 0,
transform: "translate(-50%, 8px)"
};
@@ -30736,12 +30736,12 @@ function Xce({ children: e, count: t, label: n }) {
let e = r.current;
if (!e || !i) return;
let t = () => {
- wj.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), Tj();
+ bj.set(e, Math.ceil(e.offsetHeight + (parseFloat(getComputedStyle(e).bottom) || 0) + 16)), xj();
}, n = new ResizeObserver(t);
return n.observe(e), window.addEventListener("resize", t), t(), () => {
- n.disconnect(), window.removeEventListener("resize", t), wj.delete(e), Tj();
+ n.disconnect(), window.removeEventListener("resize", t), bj.delete(e), xj();
};
- }, [i]), /* @__PURE__ */ (0, I.jsxs)(pS.div, {
+ }, [i]), /* @__PURE__ */ (0, I.jsxs)(lS.div, {
ref: r,
role: "group",
"aria-label": n,
@@ -30774,17 +30774,17 @@ function Xce({ children: e, count: t, label: n }) {
}), e]
});
}
-function Ej({ visible: e, ...t }) {
- return /* @__PURE__ */ (0, I.jsx)(jx, { children: e ? /* @__PURE__ */ (0, I.jsx)(Xce, { ...t }, "selection") : null });
+function Sj({ visible: e, ...t }) {
+ return /* @__PURE__ */ (0, I.jsx)(Dx, { children: e ? /* @__PURE__ */ (0, I.jsx)(ele, { ...t }, "selection") : null });
}
// src/react/batch-dock/batch-dock-api.ts
-var Dj = {
+var Cj = {
group: "clear",
operation: "clear",
label: "取消",
glyph: "x"
};
-function Zce(e, t = !1) {
+function tle(e, t = !1) {
switch (e) {
case "trash": return [
{
@@ -30800,7 +30800,7 @@ function Zce(e, t = !1) {
glyph: "trash",
danger: !0
},
- Dj
+ Cj
];
case "junk": return [
t ? {
@@ -30821,7 +30821,7 @@ function Zce(e, t = !1) {
glyph: "trash",
danger: !0
},
- Dj
+ Cj
];
case "follow": return [
{
@@ -30842,7 +30842,7 @@ function Zce(e, t = !1) {
label: "忽略",
glyph: "eye-off"
},
- Dj
+ Cj
];
default: return [
{
@@ -30876,38 +30876,38 @@ function Zce(e, t = !1) {
glyph: "trash",
danger: !0
},
- Dj
+ Cj
];
}
}
// src/react/batch-dock/batch-dock-island.tsx
-var Oj = null, kj = {
+var wj = null, Tj = {
count: 0,
context: "catalog",
junkDismissed: !1
-}, Aj = /* @__PURE__ */ new Set();
-function Qce(e) {
- return Aj.add(e), () => {
- Aj.delete(e);
+}, Ej = /* @__PURE__ */ new Set();
+function nle(e) {
+ return Ej.add(e), () => {
+ Ej.delete(e);
};
}
-function $ce() {
- for (let e of [...Aj]) e();
+function rle() {
+ for (let e of [...Ej]) e();
}
-var ele = { render(e) {
- kj = e, (0, Rt.flushSync)($ce);
+var ile = { render(e) {
+ Tj = e, (0, Rt.flushSync)(rle);
} };
-function tle(e) {
- return Oj = e, ele;
+function ale(e) {
+ return wj = e, ile;
}
-function nle() {
- let e = (0, F.useSyncExternalStore)(Qce, () => kj);
- return Oj ? /* @__PURE__ */ (0, I.jsx)(rle, {
- host: Oj,
+function ole() {
+ let e = (0, F.useSyncExternalStore)(nle, () => Tj);
+ return wj ? /* @__PURE__ */ (0, I.jsx)(sle, {
+ host: wj,
props: e
}) : null;
}
-function rle({ host: e, props: t }) {
+function sle({ host: e, props: t }) {
let n = t.count > 0;
return (0, F.useLayoutEffect)(() => {
document.body.toggleAttribute("data-batch-dock-open", n);
@@ -30917,11 +30917,11 @@ function rle({ host: e, props: t }) {
className: "peach-react",
"data-batch-scope": "",
"data-context": t.context,
- children: /* @__PURE__ */ (0, I.jsx)(Ej, {
+ children: /* @__PURE__ */ (0, I.jsx)(Sj, {
label: "所选项目操作",
visible: t.count > 0,
count: `已选 ${t.count.toLocaleString()} 项`,
- children: Zce(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, I.jsxs)("button", {
+ children: tle(t.context, t.junkDismissed).map((t) => /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-batch-group": t.group,
"data-batch-action": t.operation,
@@ -30937,11 +30937,11 @@ function rle({ host: e, props: t }) {
});
}
// src/number-setting.ts
-function jj(e, t, n, r) {
+function Dj(e, t, n, r) {
return Number.isInteger(e) && e >= t && e <= n ? e : r;
}
// src/settings-store.ts
-function ile(e, t) {
+function cle(e, t) {
let n = /* @__PURE__ */ new Set(), r = 0, i = () => {
r += 1, n.forEach((e) => e());
};
@@ -30960,7 +30960,7 @@ function ile(e, t) {
};
}
// src/sort-preferences.ts
-var Mj = [
+var Oj = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -30969,7 +30969,7 @@ var Mj = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], Nj = ["release", "发行时间"], Pj = [...Mj, Nj].map(([e]) => e), Fj = {
+], kj = ["release", "发行时间"], Aj = [...Oj, kj].map(([e]) => e), jj = {
rating: ["从高到低", "从低到高"],
o: ["从多到少", "从少到多"],
plays: ["从多到少", "从少到多"],
@@ -30978,43 +30978,43 @@ var Mj = [
new: ["从新到旧", "从旧到新"],
played: ["从近到远", "从远到近"],
release: ["从新到旧", "从旧到新"]
-}, Ij = {
+}, Mj = {
big: ["size", "desc"],
short: ["dur", "asc"],
long: ["dur", "desc"]
-}, Lj = (e, t, n = Fj) => (n[e] || [])[+(t === "asc")] || "", Rj = (e, t = Fj) => t[e] ? "desc" : "";
-function zj(e, t, n, r = Fj) {
+}, Nj = (e, t, n = jj) => (n[e] || [])[+(t === "asc")] || "", Pj = (e, t = jj) => t[e] ? "desc" : "";
+function Fj(e, t, n, r = jj) {
return e === t ? r[e] ? {
sort: e,
dir: n === "asc" ? "desc" : "asc"
} : null : {
sort: e,
- dir: Rj(e, r)
+ dir: Pj(e, r)
};
}
-function Bj(e, t, n) {
+function Ij(e, t, n) {
return e === "seed" ? "" : e === t && n === "asc" ? "asc" : "desc";
}
-function Vj(e, t, n, r, i = n) {
- let a = e ? Ij[e] : void 0, o = a ? a[0] : e, s = o && Pj.includes(o) ? o : i;
- return Fj[s] ? {
+function Lj(e, t, n, r, i = n) {
+ let a = e ? Mj[e] : void 0, o = a ? a[0] : e, s = o && Aj.includes(o) ? o : i;
+ return jj[s] ? {
sort: s,
- dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : Bj(s, n, r)
+ dir: t === "asc" || t === "desc" ? t : a ? a[1] : e ? "desc" : Ij(s, n, r)
} : {
sort: s,
dir: ""
};
}
// src/appearance/home-glow.ts
-var Hj = [
+var Rj = [
"spot1",
"spot2",
"spot3"
-], ale = [
+], lle = [
"光晕一",
"光晕二",
"光晕三"
-], Uj = "native", Wj = [
+], zj = "native", Bj = [
[
"ash",
"灰雾",
@@ -31320,7 +31320,7 @@ var Hj = [
"rose"
],
[
- Uj,
+ zj,
"玻璃原色",
{
spot1: {
@@ -31338,7 +31338,7 @@ var Hj = [
},
"blue"
]
-], Gj = (e) => e === Uj, Kj = [...Wj.map(([e, t]) => [e, t]), ["custom", "自定义"]], ole = (e) => (Kj.find(([t]) => t === e) || Kj[0])[1], qj = (e) => structuredClone((Wj.find(([t]) => t === e) || Wj[0])[2]), Jj = [
+], Vj = (e) => e === zj, Hj = [...Bj.map(([e, t]) => [e, t]), ["custom", "自定义"]], ule = (e) => (Hj.find(([t]) => t === e) || Hj[0])[1], Uj = (e) => structuredClone((Bj.find(([t]) => t === e) || Bj[0])[2]), Wj = [
["red", "红"],
["orange", "橙"],
["amber", "琥珀"],
@@ -31351,7 +31351,7 @@ var Hj = [
["violet", "紫罗兰"],
["fuchsia", "品红"],
["rose", "玫红"]
-], Yj = "blue", Xj = (e) => Jj.some(([t]) => t === e) ? e : Yj, sle = (e) => (Wj.find(([t]) => t === e) || [])[3] || "blue", cle = [
+], Gj = "blue", Kj = (e) => Wj.some(([t]) => t === e) ? e : Gj, dle = (e) => (Bj.find(([t]) => t === e) || [])[3] || "blue", fle = [
["all", "全部"],
["gray", "灰"],
["red", "红"],
@@ -31361,7 +31361,7 @@ var Hj = [
["blue", "蓝"],
["purple", "紫"],
["brown", "棕"]
-], lle = [
+], ple = [
[
"gray",
"云灰",
@@ -31757,11 +31757,11 @@ var Hj = [
"霁蓝",
"#6686b8"
]
-], Zj = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, Qj = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, ule = (e, t) => `rgba(${[
+], qj = (e, t, n, r) => Number.isInteger(e) && e >= t && e <= n ? e : r, Jj = (e, t) => /^#[0-9a-f]{6}$/i.test(String(e)) ? String(e).toLowerCase() : t, mle = (e, t) => `rgba(${[
1,
3,
5
-].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, dle = {
+].map((t) => parseInt(e.slice(t, t + 2), 16)).join(",")},${(t / 100).toFixed(2)})`, hle = {
strength: [
0,
100,
@@ -31787,7 +31787,7 @@ var Hj = [
100,
50
]
-}, $j = {
+}, Yj = {
on: !0,
preset: "ash",
strength: 100,
@@ -31795,56 +31795,56 @@ var Hj = [
speed: 100,
soften: 50,
size: 50,
- ...qj("ash")
+ ...Uj("ash")
};
-function eM(e) {
- let t = e && typeof e == "object" ? e : {}, n = Kj.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = qj(r === "custom" ? "ash" : r), a = {
+function Xj(e) {
+ let t = e && typeof e == "object" ? e : {}, n = Hj.some(([e]) => e === t.preset), r = n ? t.preset : "ash", i = Uj(r === "custom" ? "ash" : r), a = {
on: t.on !== !1,
preset: r
};
- for (let [e, [n, r, i]] of Object.entries(dle)) a[e] = Zj(+t[e], n, r, i);
- for (let e of Hj) {
+ for (let [e, [n, r, i]] of Object.entries(hle)) a[e] = qj(+t[e], n, r, i);
+ for (let e of Rj) {
let r = n && t[e] && typeof t[e] == "object" ? t[e] : {}, o = i[e];
a[e] = {
- color: Qj(r.color, o.color),
- alpha: Zj(+r.alpha, 0, 100, o.alpha)
+ color: Jj(r.color, o.color),
+ alpha: qj(+r.alpha, 0, 100, o.alpha)
};
}
return a;
}
-var fle = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, tM = /* @__PURE__ */ new WeakMap();
-function ple(e, t) {
+var gle = (e) => `conic-gradient(from -90deg,${e.map((t, n) => `${t} ${(n * 100 / e.length).toFixed(3)}% ${((n + 1) * 100 / e.length).toFixed(3)}%`).join(",")})`, Zj = /* @__PURE__ */ new WeakMap();
+function _le(e, t) {
if (!e) return;
- let n = tM.get(e);
- n || (n = /* @__PURE__ */ new Map(), tM.set(e, n));
- let r = t.on && !Gj(t.preset), i = (t, r) => {
+ let n = Zj.get(e);
+ n || (n = /* @__PURE__ */ new Map(), Zj.set(e, n));
+ let r = t.on && !Vj(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"), Hj.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"), Rj.forEach((e, n) => {
let r = t[e];
- i(`--glow-spot-${n + 1}-color`, ule(r.color, r.alpha));
+ i(`--glow-spot-${n + 1}-color`, mle(r.color, r.alpha));
});
}
-function mle(e, t) {
+function vle(e, t) {
if (!e) return;
- let n = !t.on || Gj(t.preset);
+ let n = !t.on || Vj(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));
}
// src/appearance/settings.ts
-var hle = "peach.settings.v1", gle = [
+var yle = "peach.settings.v1", ble = [
"system",
"light",
"dark"
-], nM = [
+], Qj = [
0,
7,
30,
90
-], _le = [
+], xle = [
"feedHideGroupCompilations",
"feedHideSoloCompilations",
"feedHideExcerpts"
-], rM = {
+], $j = {
batchSize: 60,
defaultSort: "seed",
sortDefaultsVersion: 3,
@@ -31865,56 +31865,56 @@ var hle = "peach.settings.v1", gle = [
theme: "system",
groupCollapse: !0,
sidebarOrder: [...Bl],
- homeGlow: $j,
- accent: Yj,
+ homeGlow: Yj,
+ accent: Gj,
performerNameLanguage: "zh-CN"
-}, iM = (e, t, n) => t.includes(e) ? e : n;
-function vle(e) {
+}, eM = (e, t, n) => t.includes(e) ? e : n;
+function Sle(e) {
let t = e && typeof e == "object" ? e : {}, n = {
- ...rM,
+ ...$j,
...t
};
- n.followInitialDays = nM.includes(+n.followInitialDays) ? +n.followInitialDays : 30, delete n.rotateMinutes;
+ n.followInitialDays = Qj.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 = Ij[n.defaultSort];
- return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = jj(+n.batchSize, 1, 200, 60), n.defaultSort = iM(n.defaultSort, Pj, "seed"), n.hoverDelaySeconds = jj(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = jj(+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 = jj(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = jj(+n.relatedLimit, 0, 60, 20), n.feedLimit = jj(+n.feedLimit, 1, 100, 12), Object.assign(n, $a(n)), n.theme = iM(n.theme, gle, "system"), n.performerNameLanguage = iM(n.performerNameLanguage, ["zh-CN", "ja"], "zh-CN"), n.homeGlow = eM(n.homeGlow), n.accent = Xj(n.accent), n.sidebarOrder = Wl(n.sidebarOrder), {
+ let a = Mj[n.defaultSort];
+ return i < 3 && a && (n.defaultSort = a[0], r = !0), n.sortDefaultsVersion = 3, n.batchSize = Dj(+n.batchSize, 1, 200, 60), n.defaultSort = eM(n.defaultSort, Aj, "seed"), n.hoverDelaySeconds = Dj(+n.hoverDelaySeconds, 0, 60, 5), n.seekSeconds = Dj(+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 = Dj(+n.searchHistoryLimit, 0, 50, 10), n.relatedLimit = Dj(+n.relatedLimit, 0, 60, 20), n.feedLimit = Dj(+n.feedLimit, 1, 100, 12), Object.assign(n, $a(n)), n.theme = eM(n.theme, ble, "system"), n.performerNameLanguage = eM(n.performerNameLanguage, ["zh-CN", "ja"], "zh-CN"), n.homeGlow = Xj(n.homeGlow), n.accent = Kj(n.accent), n.sidebarOrder = Wl(n.sidebarOrder), {
settings: n,
migrated: r
};
}
-function yle(e) {
+function Cle(e) {
let t = {};
try {
t = JSON.parse(e.getItem("peach.settings.v1") || "{}");
} catch {}
- return vle(t);
+ return Sle(t);
}
-var aM = null;
-function oM() {
- if (aM) return aM;
- let { settings: e, migrated: t } = yle(localStorage);
- return aM = ile(hle, e), t && aM.save(), aM;
+var tM = null;
+function nM() {
+ if (tM) return tM;
+ let { settings: e, migrated: t } = Cle(localStorage);
+ return tM = cle(yle, e), t && tM.save(), tM;
}
-function sM(e, t, n = oM()) {
+function rM(e, t, n = nM()) {
let r = n.value, i = e?.performerNameLanguage;
(i === "zh-CN" || i === "ja") && i !== r.performerNameLanguage && (r.performerNameLanguage = i, n.save(), t("performerNameLanguage"));
let a = e && e.followInitialDays;
- nM.includes(a) && (r.followInitialDays = a, n.save());
- for (let t of _le) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());
+ Qj.includes(a) && (r.followInitialDays = a, n.save());
+ for (let t of xle) typeof e?.[t] == "boolean" && e[t] !== r[t] && (r[t] = e[t], n.save());
let o = e && e.searchHistoryLimit;
- Number.isInteger(o) && o >= 0 && o <= 50 ? o !== r.searchHistoryLimit && (r.searchHistoryLimit = jj(o, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== rM.searchHistoryLimit && ble(n);
+ Number.isInteger(o) && o >= 0 && o <= 50 ? o !== r.searchHistoryLimit && (r.searchHistoryLimit = Dj(o, 0, 50, 10), n.save(), t("searchHistoryLimit")) : e && e.searchHistoryLimit === null && r.searchHistoryLimit !== $j.searchHistoryLimit && wle(n);
let s = Array.isArray(e && e.sidebarOrder) ? e.sidebarOrder : null;
s && s.length && s.join(",") !== r.sidebarOrder.join(",") && (r.sidebarOrder = s, n.save());
}
-function ble(e = oM()) {
+function wle(e = nM()) {
return Tn("/api/settings", {
method: "POST",
body: JSON.stringify({ searchHistoryLimit: e.value.searchHistoryLimit })
}).catch(() => {});
}
// src/appearance/theme.ts
-var xle = [
+var Tle = [
[
"system",
"跟随系统",
@@ -31930,31 +31930,31 @@ var xle = [
"深色",
"moon"
]
-], Sle = null, cM = () => Sle ??= matchMedia("(prefers-color-scheme: dark)"), lM = null;
-function Cle() {
- return lM || (lM = document.createElement("style"), lM.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), lM.isConnected || document.head.append(lM), () => {
+], Ele = null, iM = () => Ele ??= matchMedia("(prefers-color-scheme: dark)"), aM = null;
+function Dle() {
+ return aM || (aM = document.createElement("style"), aM.textContent = "*:not(.board-theme-thumb),*::before,*::after{transition:none!important}"), aM.isConnected || document.head.append(aM), () => {
getComputedStyle(document.documentElement).opacity;
let e = () => {
- cancelAnimationFrame(t), clearTimeout(n), lM?.remove();
+ cancelAnimationFrame(t), clearTimeout(n), aM?.remove();
}, t = requestAnimationFrame(e), n = setTimeout(e, 100);
};
}
-function uM(e = oM().value.theme) {
- let t = Cle(), n = document.documentElement;
+function oM(e = nM().value.theme) {
+ let t = Dle(), n = document.documentElement;
e === "system" ? delete n.dataset.theme : n.dataset.theme = e;
- let r = e === "dark" || e === "system" && cM().matches;
+ let r = e === "dark" || e === "system" && iM().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 dM = !1;
-function wle() {
- dM || (dM = !0, cM().addEventListener("change", () => {
- oM().value.theme === "system" && uM();
+var sM = !1;
+function Ole() {
+ sM || (sM = !0, iM().addEventListener("change", () => {
+ nM().value.theme === "system" && oM();
}));
}
// src/appearance/layout.ts
-var fM = [[
+var cM = [[
"big",
"大图",
"maximize"
@@ -31962,7 +31962,7 @@ var fM = [[
"small",
"小图",
"layout-grid"
-]], pM = [[
+]], lM = [[
"big",
"大图",
"maximize"
@@ -31970,7 +31970,7 @@ var fM = [[
"small",
"小图",
"layout-grid"
-]], mM = [[
+]], uM = [[
"fixed",
"固定比例",
"layout-grid"
@@ -31978,127 +31978,127 @@ var fM = [[
"masonry",
"瀑布流",
"columns-2"
-]], hM = .75, gM = () => oM().value, _M = (e = gM()) => Qa(e.javLayout), Tle = (e = gM()) => Qa(e.homeLayout), vM = (e, t = gM()) => e ? Tle(t) : _M(t), yM = pM.map(([e]) => e), bM = mM.map(([e]) => e), xM = (e = gM()) => iM(e.photoSize, yM, "small"), SM = (e = gM()) => iM(e.photoLayout, bM, "masonry"), CM = null;
-function wM(e, t = gM()) {
+]], dM = .75, fM = () => nM().value, pM = (e = fM()) => Qa(e.javLayout), kle = (e = fM()) => Qa(e.homeLayout), mM = (e, t = fM()) => e ? kle(t) : pM(t), hM = lM.map(([e]) => e), gM = uM.map(([e]) => e), _M = (e = fM()) => eM(e.photoSize, hM, "small"), vM = (e = fM()) => eM(e.photoLayout, gM, "masonry"), yM = null;
+function bM(e, t = fM()) {
let n = {
active: e.active,
- size: vM(e.home, t),
+ size: mM(e.home, t),
portrait: e.portrait,
javImage: t.javImage
- }, r = CM;
- return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (CM = n), CM;
+ }, r = yM;
+ return (!r || Object.keys(n).some((e) => n[e] !== r[e])) && (yM = n), yM;
}
-function TM(e) {
- return e.portrait ? 9 / 16 : e.active && e.size === "big" ? hM : 16 / 9;
+function xM(e) {
+ return e.portrait ? 9 / 16 : e.active && e.size === "big" ? dM : 16 / 9;
}
-function Ele(e, t = oM()) {
+function Ale(e, t = nM()) {
t.value.homeLayout = Qa(e), t.save();
}
-function EM(e, t = oM()) {
+function SM(e, t = nM()) {
t.value.javLayout = Qa(e), t.save();
}
-function Dle(e, t = oM()) {
+function jle(e, t = nM()) {
t.value.homeLayout = t.value.javLayout = Qa(e), t.save();
}
-function Ole(e, t = oM()) {
- t.value.photoSize = iM(e, yM, "small"), t.save();
+function Mle(e, t = nM()) {
+ t.value.photoSize = eM(e, hM, "small"), t.save();
}
-function DM(e, t = oM()) {
- t.value.photoLayout = iM(e, bM, "masonry"), t.save();
+function CM(e, t = nM()) {
+ t.value.photoLayout = eM(e, gM, "masonry"), t.save();
}
// src/appearance/density.ts
-var OM = "density", kM = {
+var wM = "density", TM = {
big: "336px",
dense: "168px"
-}, AM = () => localStorage.getItem(OM) === "dense" ? "dense" : "big";
-function jM(e, t) {
- let [n, r] = pM;
+}, EM = () => localStorage.getItem(wM) === "dense" ? "dense" : "big";
+function DM(e, t) {
+ let [n, r] = lM;
if (e.querySelector("[data-icon-swap]")) qs(e, t === r[0] ? "b" : "a");
else {
let i = e.querySelector(":scope > [data-glass-drift]");
e.innerHTML = Ks(n[2], r[2], t === r[0] ? "b" : "a"), i && e.append(i);
}
- MM(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");
+ OM(e, "aria-label", t === "big" ? "切换为小图" : "切换为大图");
}
-function MM(e, t, n) {
+function OM(e, t, n) {
e.getAttribute(t) !== n && e.setAttribute(t, n);
}
-var NM = () => document.querySelector("#density");
-function PM(e = AM()) {
+var kM = () => document.querySelector("#density");
+function AM(e = EM()) {
let t = document.documentElement;
- t.style.getPropertyValue("--tile") !== kM[e] && t.style.setProperty("--tile", kM[e]), MM(document.body, "data-density", e);
- let n = NM();
- n && (MM(n, "aria-pressed", String(e === "dense")), MM(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), jM(n, e === "big" ? "big" : "small"));
+ t.style.getPropertyValue("--tile") !== TM[e] && t.style.setProperty("--tile", TM[e]), OM(document.body, "data-density", e);
+ let n = kM();
+ n && (OM(n, "aria-pressed", String(e === "dense")), OM(n, "title", "当前:" + (e === "big" ? "大图" : "密集")), DM(n, e === "big" ? "big" : "small"));
}
-function kle() {
- let e = AM() === "big" ? "dense" : "big";
- localStorage.setItem(OM, e), PM(e);
+function Nle() {
+ let e = EM() === "big" ? "dense" : "big";
+ localStorage.setItem(wM, e), AM(e);
}
-function Ale(e) {
- let t = NM();
- t && (MM(t, "aria-pressed", String(e === "small")), MM(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), jM(t, e));
+function Ple(e) {
+ let t = kM();
+ t && (OM(t, "aria-pressed", String(e === "small")), OM(t, "title", "当前:" + (e === "big" ? "大图" : "小图")), DM(t, e));
}
// src/appearance/glow.ts
-function FM(e = oM()) {
- ple(document.querySelector(".glowlayer"), e.value.homeGlow);
+function jM(e = nM()) {
+ _le(document.querySelector(".glowlayer"), e.value.homeGlow);
}
-var IM = 0;
-function LM(e = oM()) {
- IM ||= requestAnimationFrame(() => {
- IM = 0, FM(e);
+var MM = 0;
+function NM(e = nM()) {
+ MM ||= requestAnimationFrame(() => {
+ MM = 0, jM(e);
});
}
-function RM(e = oM()) {
- mle(document.documentElement, e.value.homeGlow);
+function PM(e = nM()) {
+ vle(document.documentElement, e.value.homeGlow);
}
-function zM(e = oM()) {
+function FM(e = nM()) {
document.documentElement.dataset.accent = e.value.accent;
}
-var BM = (e, t, n) => ({
+var IM = (e, t, n) => ({
key: e,
label: t,
- native: Gj(e),
- fill: Gj(e) ? "" : fle(n)
+ native: Vj(e),
+ fill: Vj(e) ? "" : gle(n)
});
-function jle(e) {
- let t = Wj.map(([e, t, n]) => BM(e, t, Hj.map((e) => n[e].color)));
- return e.preset === "custom" && t.push(BM("custom", "自定义", Hj.map((t) => e[t].color))), t;
+function Fle(e) {
+ let t = Bj.map(([e, t, n]) => IM(e, t, Rj.map((e) => n[e].color)));
+ return e.preset === "custom" && t.push(IM("custom", "自定义", Rj.map((t) => e[t].color))), t;
}
-var Mle = Jj;
-function Nle(e, t = oM()) {
+var Ile = Wj;
+function Lle(e, t = nM()) {
if (e === "custom") return;
let n = t.value.homeGlow;
- n.preset = e, Object.assign(n, qj(e)), t.value.accent = sle(e), t.save(), LM(t), RM(t), zM(t);
+ n.preset = e, Object.assign(n, Uj(e)), t.value.accent = dle(e), t.save(), NM(t), PM(t), FM(t);
}
-function Ple(e, t = oM()) {
- t.value.accent = Xj(e), t.save(), zM(t);
+function Rle(e, t = nM()) {
+ t.value.accent = Kj(e), t.save(), FM(t);
}
-function Fle(e = oM()) {
+function zle(e = nM()) {
let t = e.value.homeGlow;
- t.preset = $j.preset, Object.assign(t, qj(t.preset)), e.value.accent = Yj, e.save(), LM(e), RM(e), zM(e);
+ t.preset = Yj.preset, Object.assign(t, Uj(t.preset)), e.value.accent = Gj, e.save(), NM(e), PM(e), FM(e);
}
-function VM(e, t) {
- e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && Gj(t.preset)), e.toggleAttribute("data-glow-off", !t.on);
+function LM(e, t) {
+ e.style.setProperty("--glow-swatch", t.on ? t.spot1.color : "var(--color-accent-500)"), e.toggleAttribute("data-glow-native", t.on && Vj(t.preset)), e.toggleAttribute("data-glow-off", !t.on);
}
-function Ile(e, t = oM()) {
- return VM(e, t.value.homeGlow), t.subscribe(() => VM(e, t.value.homeGlow));
+function Ble(e, t = nM()) {
+ return LM(e, t.value.homeGlow), t.subscribe(() => LM(e, t.value.homeGlow));
}
// src/react/components/glow-preset-grid.tsx
-function HM({ store: e, label: t, hidden: n }) {
+function RM({ store: e, label: t, hidden: n }) {
let r = e.value.homeGlow;
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-glow-grid": "",
role: "group",
"aria-label": t,
hidden: n,
- children: jle(r).map((t) => /* @__PURE__ */ (0, I.jsx)("button", {
+ children: Fle(r).map((t) => /* @__PURE__ */ (0, I.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: () => Nle(t.key, e),
+ onClick: () => Lle(t.key, e),
children: /* @__PURE__ */ (0, I.jsx)("span", {
"data-glow-ball": "",
"aria-hidden": "true",
@@ -32109,14 +32109,14 @@ function HM({ store: e, label: t, hidden: n }) {
});
}
// src/react/glow-picker/glow-picker-island.tsx
-var UM = null;
-function Lle(e) {
- UM = e;
+var zM = null;
+function Vle(e) {
+ zM = e;
}
-function Rle() {
- return UM ? /* @__PURE__ */ (0, I.jsx)(zle, { host: UM }) : null;
+function Hle() {
+ return zM ? /* @__PURE__ */ (0, I.jsx)(Ule, { host: zM }) : null;
}
-function zle({ host: e }) {
+function Ule({ host: e }) {
let { store: t } = e;
(0, F.useSyncExternalStore)(t.subscribe, t.version);
let { homeGlow: n, accent: r } = t.value;
@@ -32128,11 +32128,11 @@ function zle({ host: e }) {
children: [/* @__PURE__ */ (0, I.jsx)("span", { children: "光晕" }), /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-glow-preset-reset": "",
- onClick: () => Fle(t),
+ onClick: () => zle(t),
children: "重置"
})]
}),
- /* @__PURE__ */ (0, I.jsx)(HM, {
+ /* @__PURE__ */ (0, I.jsx)(RM, {
store: t,
label: "光晕",
hidden: !n.on
@@ -32146,14 +32146,14 @@ function zle({ host: e }) {
"data-accent-grid": "",
role: "group",
"aria-label": "强调色",
- children: Mle.map(([e, n]) => /* @__PURE__ */ (0, I.jsx)("button", {
+ children: Ile.map(([e, n]) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-glow-chip": "",
"data-accent": e,
"aria-pressed": e === r,
title: n,
"aria-label": n,
- onClick: () => Ple(e, t),
+ onClick: () => Rle(e, t),
children: /* @__PURE__ */ (0, I.jsx)("span", {
"data-glow-ball": "",
"aria-hidden": "true",
@@ -32171,31 +32171,31 @@ function zle({ host: e }) {
] });
}
// src/player/host.ts
-var WM = null;
-function Ble(e) {
- WM = e;
+var BM = null;
+function Wle(e) {
+ BM = e;
}
-function GM() {
- if (!WM) throw Error("播放器还没有接上宿主(configurePlayer)");
- return WM;
+function VM() {
+ if (!BM) throw Error("播放器还没有接上宿主(configurePlayer)");
+ return BM;
}
// src/player/menu.ts
-var KM = null;
-function Vle(e) {
- KM = e;
+var HM = null;
+function Gle(e) {
+ HM = e;
}
-function Hle() {
+function Kle() {
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 qM = null, JM = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
-function YM() {
+var UM = null, WM = (e, t) => t ? e.replace("<svg", `<svg ${t}=""`) : e;
+function GM() {
let e = document.getElementById("playerMenu");
e?.matches(":popover-open") && e.hidePopover(), e && e.parentElement !== document.body && document.body.append(e), e && ls(e, () => {
e.innerHTML = "";
- }), qM &&= (qM(), null);
+ }), UM &&= (UM(), null);
}
-async function Ule(e) {
+async function qle(e) {
try {
return await navigator.clipboard.writeText(e), !0;
} catch {
@@ -32208,8 +32208,8 @@ async function Ule(e) {
return t.remove(), n;
}
}
-function Wle(e) {
- let t = !!KM?.inMiniplayer(e), n = e.peachItem, r = KM?.kind(e) ?? "item", i = (t) => {
+function Jle(e) {
+ let t = !!HM?.inMiniplayer(e), n = e.peachItem, r = HM?.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);
@@ -32225,7 +32225,7 @@ function Wle(e) {
}
return t && i.searchParams.set("t", String(Math.floor(e.currentTime() || 0))), i.href;
}, a = (e, t) => {
- Ule(i(e)).then((e) => GM().toast(e ? t : "复制失败,请手动复制地址栏", {
+ qle(i(e)).then((e) => VM().toast(e ? t : "复制失败,请手动复制地址栏", {
timeout: 4e3,
warn: !e
}));
@@ -32237,11 +32237,11 @@ function Wle(e) {
}, t ? {
icon: "maximize-2",
label: "展开",
- run: () => KM?.expand()
+ run: () => HM?.expand()
} : {
icon: "picture-in-picture-2",
label: "迷你播放器",
- run: () => KM?.toMiniplayer()
+ run: () => HM?.toMiniplayer()
}];
document.pictureInPictureEnabled && o.push({
icon: "player-pip",
@@ -32264,29 +32264,29 @@ function Wle(e) {
run: () => s.click()
}), o;
}
-function Gle(e, t, n) {
- let r = Hle();
- YM();
- let i = GM().stage();
+function Yle(e, t, n) {
+ let r = Kle();
+ GM();
+ let i = VM().stage();
i instanceof HTMLDialogElement && i.open && i.append(r), r.setAttribute("popover", "manual");
- let a = Wle(e);
+ let a = Jle(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}">${JM(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? JM(R("check"), "data-player-menu-check") : ""}</button>`;
+ return `<button type="button" role="${n ? "menuitemcheckbox" : "menuitem"}"${n ? ` aria-checked="${e.checked}"` : ""} data-player-menu="${t}">${WM(R(e.icon), e.fill ? "data-player-menu-fill" : "")}<span>${z(e.label)}</span>${n ? WM(R("check"), "data-player-menu-check") : ""}</button>`;
}).join(""), cs(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)];
- YM(), n?.run();
+ GM(), n?.run();
};
});
let s = (e) => {
- r.contains(e.target) || YM();
+ r.contains(e.target) || GM();
}, c = (e) => {
if (e.key === "Escape") {
- e.preventDefault(), e.stopPropagation(), YM();
+ e.preventDefault(), e.stopPropagation(), GM();
return;
}
if (e.key !== "ArrowDown" && e.key !== "ArrowUp") return;
@@ -32294,49 +32294,49 @@ function Gle(e, t, n) {
let t = o.indexOf(document.activeElement);
o[(t + (e.key === "ArrowDown" ? 1 : -1) + o.length) % o.length]?.focus();
}, l = (t) => {
- ds(t, e.el()) && YM();
+ ds(t, e.el()) && GM();
};
setTimeout(() => {
document.addEventListener("pointerdown", s, !0), document.addEventListener("keydown", c, !0), window.addEventListener("scroll", l, {
capture: !0,
passive: !0
});
- }, 0), qM = () => {
+ }, 0), UM = () => {
document.removeEventListener("pointerdown", s, !0), document.removeEventListener("keydown", c, !0), window.removeEventListener("scroll", l, !0);
}, o[0]?.focus();
}
-function Kle(e) {
+function Xle(e) {
e.el().addEventListener("contextmenu", (t) => {
- t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Gle(e, t.clientX, t.clientY));
- }), e.on("dispose", YM);
+ t.target.closest(".vjs-peach-settings-menu") || (t.preventDefault(), Yle(e, t.clientX, t.clientY));
+ }), e.on("dispose", GM);
}
// src/player/registry.ts
-var XM = null, ZM = () => XM;
-function QM(e) {
- XM = e;
+var KM = null, qM = () => KM;
+function JM(e) {
+ KM = e;
}
-function $M(e) {
+function YM(e) {
e && !e.isDisposed() && requestAnimationFrame(() => {
e.isDisposed() || e.trigger("resize");
});
}
// src/player/stats.ts
-function eN(e) {
+function XM(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 qle(e) {
+function Zle(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 tN = 3e3;
-function nN(e, t) {
+var ZM = 3e3;
+function QM(e, t) {
let n = Number(e) || 0, r = qn(t) || 0;
return n > 0 && r > 0 ? n * 8 / r : 0;
}
-function Jle(e) {
+function Qle(e) {
let t = [], n = null, r = 0, i = 0;
return {
bitrate: Number(e) || 0,
@@ -32351,10 +32351,10 @@ function Jle(e) {
},
sample(e) {
if (!e) return i;
- let a = performance.now(), o = qle(e), s = e.currentTime || 0;
+ let a = performance.now(), o = Zle(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 > tN * 2 && (t.length = 0);
+ !i && c > 0 && (r += c), e * 1e3 > ZM * 2 && (t.length = 0);
}
for (n = {
at: a,
@@ -32363,55 +32363,55 @@ function Jle(e) {
}, t.push({
at: a,
advanced: r
- }); t.length > 2 && a - t[0].at > tN;) t.shift();
+ }); t.length > 2 && a - t[0].at > ZM;) 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 rN = 24;
-function iN(e, t) {
- e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > rN && e.splice(0, e.length - rN);
+var $M = 24;
+function eN(e, t) {
+ e.push(Number.isFinite(t) && t > 0 ? t : 0), e.length > $M && e.splice(0, e.length - $M);
}
-var aN = "peach-player-panel";
-function oN(e, t, n, r) {
- let i = [...Array(Math.max(0, rN - e.length)).fill(null), ...e], a = Math.max(1, n || 0), o = i.map((e) => {
+var tN = "peach-player-panel";
+function nN(e, t, n, r) {
+ let i = [...Array(Math.max(0, $M - 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="${z(r)}">${o}</span>`;
}
-function Yle() {
+function $le() {
return `<button data-player-stats-button="" id="playerStatsBtn" aria-label="播放统计" title="播放统计" aria-pressed="false" hidden>${R("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 sN(e, t = "") {
+function rN(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 cN(e, t = "") {
- let n = sN(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 iN(e, t = "") {
+ let n = rN(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 lN(e, t, n = "", r = null) {
+function aN(e, t, n = "", r = null) {
let i = 0;
try {
i = Number(e?.bandwidth?.()) || 0;
} catch {}
- return i > 0 ? i : r ? Number(r.bits) || 0 : cN(t, n);
+ return i > 0 ? i : r ? Number(r.bits) || 0 : iN(t, n);
}
-function uN(e) {
+function oN(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 Xle(e, t) {
- return e > 0 ? uN(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : uN(0);
+function eue(e, t) {
+ return e > 0 ? oN(e) : t > 0 ? `已缓冲 ${Math.round(t)} 秒` : oN(0);
}
// src/player/subtitle-style.ts
-var dN = {
+var sN = {
font: {
label: "字体",
values: [
@@ -32514,7 +32514,7 @@ var dN = {
["shadow", "阴影"]
]
}
-}, fN = {
+}, cN = {
font: "sans",
size: "100",
color: "white",
@@ -32524,7 +32524,7 @@ var dN = {
window: "black",
windowOpacity: "0",
edge: "shadow"
-}, pN = "peach.caption-style.v1", Zle = {
+}, lN = "peach.caption-style.v1", uN = {
white: "255,255,255",
yellow: "255,255,0",
green: "0,255,0",
@@ -32533,7 +32533,7 @@ var dN = {
magenta: "255,0,255",
red: "255,0,0",
black: "0,0,0"
-}, Qle = {
+}, tue = {
sans: "Arial,sans-serif",
mono: "Consolas,monospace",
serif: "Georgia,serif",
@@ -32541,28 +32541,28 @@ var dN = {
casual: "\"Comic Sans MS\",sans-serif",
cursive: "cursive",
"small-caps": "Arial,sans-serif"
-}, $le = {
+}, nue = {
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 eue() {
+function rue() {
let e = {};
try {
- e = JSON.parse(localStorage.getItem(pN) || "{}") || {};
+ e = JSON.parse(localStorage.getItem(lN) || "{}") || {};
} catch {}
- return Object.fromEntries(Object.entries(fN).map(([t, n]) => [t, dN[t].values.some(([n]) => n === e[t]) ? e[t] : n]));
+ return Object.fromEntries(Object.entries(cN).map(([t, n]) => [t, sN[t].values.some(([n]) => n === e[t]) ? e[t] : n]));
}
-function mN(e, t, n, r) {
- let i = eue(), a = /* @__PURE__ */ new Set(), o = document.createElement("div");
+function dN(e, t, n, r) {
+ let i = rue(), a = /* @__PURE__ */ new Set(), o = document.createElement("div");
o.className = "vjs-peach-captions", o.setAttribute("aria-hidden", "true");
let s = document.createElement("div");
s.className = "vjs-peach-caption-window", o.append(s), e.querySelector("media-container").append(o), e.dataset.peachCaptions = "";
let c = () => {
- let t = (e, t) => `rgba(${Zle[e]},${Number(t) / 100})`;
- e.style.setProperty("--peach-caption-font", Qle[i.font]), e.style.setProperty("--peach-caption-scale", String(Number(i.size) / 100)), e.style.setProperty("--peach-caption-color", t(i.color, i.opacity)), e.style.setProperty("--peach-caption-background", t(i.background, i.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(i.window, i.windowOpacity)), e.style.setProperty("--peach-caption-edge", $le[i.edge]), e.style.setProperty("--peach-caption-variant", i.font === "small-caps" ? "small-caps" : "normal");
+ let t = (e, t) => `rgba(${uN[e]},${Number(t) / 100})`;
+ e.style.setProperty("--peach-caption-font", tue[i.font]), e.style.setProperty("--peach-caption-scale", String(Number(i.size) / 100)), e.style.setProperty("--peach-caption-color", t(i.color, i.opacity)), e.style.setProperty("--peach-caption-background", t(i.background, i.backgroundOpacity)), e.style.setProperty("--peach-caption-window", t(i.window, i.windowOpacity)), e.style.setProperty("--peach-caption-edge", nue[i.edge]), e.style.setProperty("--peach-caption-variant", i.font === "small-caps" ? "small-caps" : "normal");
}, l = () => {
s.replaceChildren();
for (let e of t.textTracks) if (e.mode === "showing" && ["subtitles", "captions"].includes(e.kind)) for (let t of Array.from(e.activeCues || [])) {
@@ -32578,15 +32578,15 @@ function mN(e, t, n, r) {
if (!n.aborted) {
if (e.caption_style) {
let t = {
- ...fN,
+ ...cN,
...e.caption_style
};
- for (let e of Object.keys(fN)) a.has(e) || (i[e] = t[e]);
+ for (let e of Object.keys(cN)) a.has(e) || (i[e] = t[e]);
c();
} else {
let e = !1;
try {
- e = !!localStorage.getItem(pN);
+ e = !!localStorage.getItem(lN);
} catch {}
e && !a.size && r.save({ caption_style: i }).catch(() => {});
}
@@ -32594,18 +32594,18 @@ function mN(e, t, n, r) {
}), {
current: () => i,
set(e, t) {
- dN[e].values.some(([e]) => e === t) && (a.add(e), i = {
+ sN[e].values.some(([e]) => e === t) && (a.add(e), i = {
...i,
[e]: t
}, c(), r?.save({ caption_style: { [e]: t } }).catch(() => {}));
},
reset() {
- Object.keys(fN).forEach((e) => a.add(e)), i = { ...fN }, c(), r?.save({ caption_style: i }).catch(() => {});
+ Object.keys(cN).forEach((e) => a.add(e)), i = { ...cN }, c(), r?.save({ caption_style: i }).catch(() => {});
}
};
}
// src/player/memory.ts
-var hN = /* @__PURE__ */ new Map(), gN = /* @__PURE__ */ new WeakMap(), tue = class {
+var fN = /* @__PURE__ */ new Map(), pN = /* @__PURE__ */ new WeakMap(), iue = class {
cleanup = new AbortController();
reading;
listeners = /* @__PURE__ */ new Set();
@@ -32633,7 +32633,7 @@ var hN = /* @__PURE__ */ new Map(), gN = /* @__PURE__ */ new WeakMap(), tue = cl
}
load() {
return this.url ? this.reading ||= (async () => {
- await hN.get(this.url)?.catch(() => {});
+ await fN.get(this.url)?.catch(() => {});
let e = await Tn(this.url, { signal: this.cleanup.signal });
return this.cleanup.signal.aborted || (this.restored = e, this.restorers.forEach((t) => t(e)), this.changed()), e;
})().catch((e) => {
@@ -32645,7 +32645,7 @@ var hN = /* @__PURE__ */ new Map(), gN = /* @__PURE__ */ new WeakMap(), tue = cl
}
save(e) {
if (!this.url) return Promise.resolve();
- let t = (hN.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {
+ let t = (fN.get(this.url) || Promise.resolve()).catch(() => {}).then(async () => {
let t = {
...this.unsaved,
...e,
@@ -32672,8 +32672,8 @@ var hN = /* @__PURE__ */ new Map(), gN = /* @__PURE__ */ new WeakMap(), tue = cl
this.changed();
}
});
- return hN.set(this.url, t), t.finally(() => {
- hN.get(this.url) === t && hN.delete(this.url);
+ return fN.set(this.url, t), t.finally(() => {
+ fN.get(this.url) === t && fN.delete(this.url);
}).catch(() => {}), t;
}
async retry() {
@@ -32682,12 +32682,12 @@ var hN = /* @__PURE__ */ new Map(), gN = /* @__PURE__ */ new WeakMap(), tue = cl
} catch {}
}
};
-function _N(e) {
- let t = gN.get(e);
- return t || (t = new tue(e), gN.set(e, t)), t;
+function mN(e) {
+ let t = pN.get(e);
+ return t || (t = new iue(e), pN.set(e, t)), t;
}
-function vN(e, t) {
- let n = _N(e), r = Number(e.playbackRate()) || 1, i = !1, a = () => {
+function hN(e, t) {
+ let n = mN(e), r = Number(e.playbackRate()) || 1, i = !1, a = () => {
t.defaultPlaybackRate = r, Number(e.playbackRate()) !== r && e.playbackRate(r);
};
return n.restore((t) => {
@@ -32700,7 +32700,7 @@ function vN(e, t) {
};
}
// src/player/subtitle-memory.ts
-var yN = class {
+var gN = class {
player;
video;
changed;
@@ -32711,7 +32711,7 @@ var yN = class {
ready;
error = "";
constructor(e, t, n = () => {}) {
- this.player = e, this.video = t, this.changed = n, this.memory = _N(e);
+ this.player = e, this.video = t, this.changed = n, this.memory = mN(e);
let r = this.cleanup.signal;
t.textTracks.addEventListener("addtrack", () => {
this.apply(), this.changed();
@@ -32808,7 +32808,7 @@ var yN = class {
throw a.remove(), URL.revokeObjectURL(i), e;
}
}
-}, bN = () => "<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>", nue = class {
+}, _N = () => "<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>", aue = class {
player;
video;
panels;
@@ -32827,7 +32827,7 @@ var yN = class {
more = !1;
searched = !1;
constructor(e, t, n) {
- this.player = e, this.video = t, this.panels = n, this.styles = mN(e.el(), t, this.cleanup.signal, _N(e)), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = bN(), this.cc.onclick = () => {
+ this.player = e, this.video = t, this.panels = n, this.styles = dN(e.el(), t, this.cleanup.signal, mN(e)), this.cc = e.el().querySelector(".vjs-subtitles-control > button"), this.cc.innerHTML = _N(), 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", () => {
@@ -32837,7 +32837,7 @@ var yN = class {
this.sync(), this.page === "tracks" && this.show(0);
}, { signal: this.cleanup.signal }), e.on("dispose", () => {
this.hide(), this.cleanup.abort();
- }), this.session = new yN(e, t, () => {
+ }), this.session = new gN(e, t, () => {
this.sync(), this.page === "tracks" && this.show(0);
}), this.sync();
}
@@ -32885,7 +32885,7 @@ var yN = 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(dN).map(([e, n]) => {
+ let t = this.styles.current(), n = this.panel(this.header("字幕选项") + `<div class="vjs-peach-panel-menu">${Object.entries(sN).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>${z(n.label)}</span><b>${z(r)}</b>${R("player-menu-next")}</button>`;
}).join("")}<button type="button" class="vjs-peach-caption-action" data-subtitle-reset>重置</button></div>`, () => this.show(-1), e);
@@ -32897,7 +32897,7 @@ var yN = class {
}
styleOptions(e) {
this.page = "style";
- let t = dN[e];
+ let t = sN[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="${z(t)}"><span class="vjs-peach-option-check">${r ? R("check") : ""}</span><span class="vjs-peach-option-label">${z(n)}</span></button>`;
@@ -33013,7 +33013,7 @@ var yN = class {
}
};
// src/player/timeline.ts
-function rue(e, t) {
+function oue(e, t) {
if (!Number.isFinite(e) || e < 0 || t.frames <= 0) return null;
if (!t.cues?.length) return t.interval > 0 ? Math.min(t.frames - 1, Math.floor(e / t.interval)) : null;
let n = 0, r = t.cues.length;
@@ -33024,9 +33024,84 @@ function rue(e, t) {
let i = n - 1, a = t.cues[i];
return !a || e >= a[1] && (i !== t.cues.length - 1 || e !== a[1]) ? null : i;
}
+function sue(e, t) {
+ let n = oue(e, t);
+ if (n === null) return null;
+ let r = t.columns || 10, i = r * (t.rows || 10), a = Math.floor(n / i);
+ return {
+ page: a,
+ slot: n % i,
+ columns: r,
+ rows: Math.ceil(Math.min(i, t.frames - a * i) / r)
+ };
+}
+function cue(e, t, n, r = 0) {
+ return n + r * 2 >= t ? t / 2 : Math.min(t - r - n / 2, Math.max(r + n / 2, e));
+}
+function lue(e) {
+ if (!e || (e.source || "peach") !== "peach" || e.cues?.length || !(e.interval > 0) || e.frames <= 0) return 0;
+ let t = Math.ceil(e.frames / ((e.columns || 10) * (e.rows || 10)));
+ return t <= 12 ? t : 0;
+}
+function vN(e, t, n = {}) {
+ let r = !!t?.id && n.thumbnail !== !1, i = document.createElement("div");
+ i.className = "vjs-peach-seek-preview", i.dataset.playerSeekPreview = "", i.hidden = !0, i.innerHTML = `${r ? "<i class=\"vjs-peach-seek-frame\" hidden><img alt=\"\"></i>" : ""}<span class="mono">0:00</span>`, e.append(i);
+ let a = i.querySelector(".vjs-peach-seek-frame"), o = i.querySelector("img"), s = i.querySelector("span"), c = encodeURIComponent(String(t?.id ?? "")), l = (e, t) => {
+ a?.style.setProperty("--seek-aspect", String(e / t));
+ };
+ t?.width && t.height && l(t.width, t.height);
+ let u = null, d = "", f = !1, p = -1, m = !1, h = !1, g = t?.has_thumb !== !0, _ = [], v = (e, t) => `/timeline?id=${c}&s=${t}&source=${encodeURIComponent(e.source || "peach")}`, y = () => {
+ if (m && u) for (let e of [u, u.fallback]) for (let t = 0; t < lue(e); t++) {
+ let n = v(e, t);
+ if (_.some((e) => e.dataset.source === n)) continue;
+ let r = new Image();
+ r.decoding = "async", r.dataset.source = n, r.src = n, _.push(r);
+ }
+ };
+ a && Tn(`/api/timeline?id=${c}`).then((e) => {
+ !h && e && e.frames > 0 && (e.interval > 0 || e.cues?.length) && (u = e, y());
+ }).catch(() => {});
+ let b = (e, n) => {
+ let r = sue(e, n);
+ if (!r || !a || !o) return !1;
+ f = !!n.cues, !f && t?.width && t.height && l(t.width, t.height);
+ let i = v(n, r.page);
+ return i !== d && (d = i, o.src = i), a.hidden = !1, o.style.objectFit = "fill", o.style.width = `${r.columns * 100}%`, o.style.height = `${r.rows * 100}%`, o.style.left = `${-(r.slot % r.columns) * 100}%`, o.style.top = `${-Math.floor(r.slot / r.columns) * 100}%`, !0;
+ }, x = (e) => {
+ if (!a || !o) return;
+ if (g) {
+ a.hidden = !0;
+ return;
+ }
+ let t = Math.min(8, Math.floor(e * 9));
+ (t !== p || d !== `poster:${t}`) && (p = t, a.hidden = !1, o.removeAttribute("style"), f = !1, d = `poster:${t}`, o.src = `/poster?id=${c}&c=${t}`);
+ };
+ return o && a && (o.onerror = () => {
+ d.startsWith("poster:") && (g = !0), a.hidden = !0, u = f && u?.fallback || null, d = "", p = -1;
+ }, o.onload = () => {
+ f && o.naturalWidth && o.naturalHeight && l(o.naturalWidth, o.naturalHeight);
+ }), {
+ prime() {
+ m || (m = !0, y());
+ },
+ show(t, r) {
+ if (!r || h) return;
+ let o = Math.min(1, Math.max(0, t)), c = r * o;
+ s.textContent = Yn(c), a && !(u && b(c, u)) && !(u?.fallback && b(c, u.fallback)) && x(o), i.hidden = !1;
+ let l = e.getBoundingClientRect().width;
+ i.style.left = `${cue(o * l, l, i.offsetWidth, n.inset)}px`;
+ },
+ hide() {
+ i.hidden = !0;
+ },
+ dispose() {
+ h = !0, _.length = 0, i.remove();
+ }
+ };
+}
// src/player/rotation.ts
-function xN(e, t) {
- let n = 0, r = !1, i = _N(e), a = e.el(), o = a.querySelector("media-container") || a, s = [
+function yN(e, t) {
+ let n = 0, r = !1, i = mN(e), a = e.el(), o = a.querySelector("media-container") || a, s = [
"width",
"height",
"inset",
@@ -33054,7 +33129,7 @@ function xN(e, t) {
};
}
// src/player/pip.ts
-function iue(e, t, n, r) {
+function uue(e, t, n, r) {
let i = e.el().querySelector("video");
if (!i || !t) return;
let a = t, o = !!document.pictureInPictureEnabled && typeof i.requestPictureInPicture == "function" || typeof i.webkitSetPresentationMode == "function";
@@ -33086,7 +33161,7 @@ function iue(e, t, n, r) {
});
}
// src/player/controls.ts
-function SN(e, t, n = "") {
+function bN(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));
@@ -33097,27 +33172,27 @@ function SN(e, t, n = "") {
};
return o(), o;
}
-function CN(e, t) {
+function xN(e, t) {
e?.closest(".video-js")?.querySelector(`.vjs-control-bar ${t}`)?.click();
}
-function aue(e, t = !0) {
- let n = GM(), r = n.settings();
+function due(e, t = !0) {
+ let n = VM(), 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 wN = /* @__PURE__ */ new WeakMap();
-function TN(e) {
+var SN = /* @__PURE__ */ new WeakMap();
+function CN(e) {
if (!e) return;
- let t = GM().settings().theaterMode;
- e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), wN.get(e)?.(t ? "默认视图" : "影院模式");
+ let t = VM().settings().theaterMode;
+ e.setAttribute("aria-pressed", String(t)), e.querySelector("use")?.setAttribute("href", t ? "#i-theater-exit" : "#i-theater-enter"), SN.get(e)?.(t ? "默认视图" : "影院模式");
}
-function EN(e, t = !0) {
- let n = GM(), r = n.settings();
+function wN(e, t = !0) {
+ let n = VM(), r = n.settings();
r.theaterMode = !!e, t && n.saveSettings();
let i = n.stage();
- i?.toggleAttribute("data-theater", r.theaterMode), TN(i?.querySelector("[data-player-theater]")), $M(ZM());
+ i?.toggleAttribute("data-theater", r.theaterMode), CN(i?.querySelector("[data-player-theater]")), YM(qM());
}
-function oue(e) {
- let t = GM().stage(), n = t?.querySelector("[data-ambient-canvas]");
+function fue(e) {
+ let t = VM().stage(), n = t?.querySelector("[data-ambient-canvas]");
if (!t || !n) return () => {};
let r = n.getContext("2d", { alpha: !1 });
if (!r) return () => {};
@@ -33140,9 +33215,9 @@ function oue(e) {
}, u = (t) => {
e.requestVideoFrameCallback ? e.requestVideoFrameCallback((e) => d(t, e)) : requestAnimationFrame((e) => d(t, e));
}, d = (t, n) => {
- i || t !== o || (GM().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());
+ i || t !== o || (VM().settings().ambientMode ? e.paused || (!document.hidden && n - a > 480 && (a = n, l()), u(t)) : c());
}, f = () => {
- !i && GM().settings().ambientMode && (l(), e.paused || u(++o));
+ !i && VM().settings().ambientMode && (l(), e.paused || u(++o));
}, p = (e) => {
let n = !!e.detail.enabled;
t.toggleAttribute("data-ambient", n), n ? f() : (o++, c());
@@ -33151,7 +33226,7 @@ function oue(e) {
i = !0, o++, document.removeEventListener("peachambientchange", p), e.removeEventListener("play", f), e.removeEventListener("loadeddata", f), c();
};
}
-function DN(e, t, n = 0, r = null) {
+function TN(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");
@@ -33161,8 +33236,8 @@ function DN(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]");
- SN(s, "设置");
- let l = a.querySelector(".vjs-peach-settings-menu"), u = xN(e, t), d = vN(e, t), f = _N(e), p, m = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, h = r, g = "auto", _ = (e, t) => {
+ bN(s, "设置");
+ let l = a.querySelector(".vjs-peach-settings-menu"), u = yN(e, t), d = hN(e, t), f = mN(e), p, m = typeof e.qualityLevels == "function" ? e.qualityLevels() : null, h = r, g = "auto", _ = (e, t) => {
let n = [Number(e), Number(t)].filter((e) => e > 0);
return n.length ? Math.min(...n) : 0;
}, v = () => {
@@ -33201,11 +33276,11 @@ function DN(e, t, n = 0, r = null) {
active: n
};
}, b = () => l.getAttribute("aria-hidden") !== "true", x = (e) => {
- l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || p?.hide(), e && document.dispatchEvent(new CustomEvent(aN, { detail: "settings" }));
+ l.setAttribute("aria-hidden", String(!e)), s.setAttribute("aria-expanded", String(e)), e || p?.hide(), e && document.dispatchEvent(new CustomEvent(tN, { detail: "settings" }));
}, S = () => x(!1), C = (e) => {
e.detail !== "settings" && S();
};
- document.addEventListener(aN, C);
+ document.addEventListener(tN, C);
let w = null, T = 0, E = (e, t) => {
let n = ++T;
w && (clearTimeout(w), w = null, l.classList.remove("vjs-peach-popup-animating"), l.style.height = ""), l.querySelectorAll(".vjs-peach-panel-leaving").forEach((e) => e.remove()), l.scrollTop = 0;
@@ -33221,15 +33296,15 @@ function DN(e, t, n = 0, r = null) {
}), i;
}, D = (e, t) => e.querySelector(t), O = "main", k = (e = 0) => {
O = "main";
- let { active: t } = y(), n = d.current(), r = E(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${GM().settings().ambientMode}">
+ let { active: t } = y(), n = d.current(), r = E(`<div class="vjs-peach-panel-menu"><button type="button" class="vjs-peach-menu-row" role="menuitemcheckbox" data-player-ambient aria-checked="${VM().settings().ambientMode}">
${R("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>${R("player-speed")}<span>播放速度</span><b>${n === 1 ? "正常" : `${n}×`}</b>${R("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">${bN()}</span><span>字幕</span><b>${z(p?.label() || "关闭")}</b>${R("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">${_N()}</span><span>字幕</span><b>${z(p?.label() || "关闭")}</b>${R("player-menu-next")}</button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-rotation>${R("rotate-cw", "vjs-peach-menu-line-icon")}<span>画面旋转</span><b>${u.angle()}°</b>${R("player-menu-next")}</button>
<button type="button" class="vjs-peach-menu-row" role="menuitem" data-player-quality-view>${R("player-quality")}<span>清晰度</span><b>${z(t.label)}</b>${R("player-menu-next")}</button>
<div data-player-memory-error hidden><p class="vjs-peach-subtitle-status" role="status"></p><button type="button" class="vjs-peach-menu-row" data-player-memory-retry>重试保存播放记忆</button></div></div>`, e);
D(r, "[data-player-ambient]").onclick = () => {
- aue(!GM().settings().ambientMode), k();
+ due(!VM().settings().ambientMode), k();
}, D(r, "[data-player-speed]").onclick = () => te(), D(r, "[data-player-subtitles]").onclick = () => p?.show(), D(r, "[data-player-quality-view]").onclick = () => ne(), D(r, "[data-player-rotation]").onclick = () => j(), D(r, "[data-player-memory-retry]").onclick = () => {
f.retry();
}, A();
@@ -33333,8 +33408,8 @@ function DN(e, t, n = 0, r = null) {
A(), re();
});
return e.on("dispose", () => {
- I(), t.removeEventListener("loadedmetadata", re), t.removeEventListener("resize", re), t.removeEventListener("ratechange", re), T++, document.removeEventListener("pointerdown", F), document.removeEventListener(aN, C), w && clearTimeout(w);
- }), p = new nue(e, t, {
+ I(), t.removeEventListener("loadedmetadata", re), t.removeEventListener("resize", re), t.removeEventListener("ratechange", re), T++, document.removeEventListener("pointerdown", F), document.removeEventListener(tN, C), w && clearTimeout(w);
+ }), p = new aue(e, t, {
render: E,
open: () => {
O = "subtitles", x(!0);
@@ -33343,21 +33418,21 @@ function DN(e, t, n = 0, r = null) {
back: () => {
p?.hide(), k(-1);
}
- }), y(), sue(e, a), cue(e), (e) => {
+ }), y(), pue(e, a), mue(e), (e) => {
h = e?.length ? e : null, re();
};
}
-function sue(e, t) {
+function pue(e, t) {
let n = e.el().querySelector(".vjs-control-bar");
if (!n || n.querySelector("[data-player-theater]")) return;
- let r = GM().settings().theaterMode, i = document.createElement("div");
+ let r = VM().settings().theaterMode, i = document.createElement("div");
i.className = "vjs-peach-theater vjs-control", i.innerHTML = `<button type="button" data-player-theater aria-pressed="${r}">${R(r ? "theater-exit" : "theater-enter")}</button>`, n.insertBefore(i, t.nextSibling);
let a = i.querySelector("button");
- wN.set(a, SN(a, "影院模式", "T")), TN(a), a.onclick = (e) => {
- e.stopPropagation(), EN(!GM().settings().theaterMode);
+ SN.set(a, bN(a, "影院模式", "T")), CN(a), a.onclick = (e) => {
+ e.stopPropagation(), wN(!VM().settings().theaterMode);
};
}
-function cue(e) {
+function mue(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");
@@ -33369,7 +33444,7 @@ function cue(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 = SN(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 = bN(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 ? "播放" : "暂停");
};
@@ -33380,7 +33455,7 @@ function cue(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 = SN(p, "静音", "M"), g = () => {
+ let h = bN(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 ? "取消静音" : "静音");
};
@@ -33406,7 +33481,7 @@ function cue(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 = SN(x, "显示剩余时间"), T = () => {
+ let C = x.querySelector(".vjs-peach-time-text"), w = bN(x, "显示剩余时间"), T = () => {
let t = Math.max(0, Number(e.currentTime()) || 0), n = Math.max(0, Number(e.duration()) || 0), r = Yn(Math.max(0, n - t));
C.textContent = `${S ? `-${r}` : Yn(t)} / ${Yn(n)}`, x.dataset.remaining = String(S), w(S ? "显示已播放时间" : "显示剩余时间", S ? `剩余 ${r},总时长 ${Yn(n)};点击显示已播放时间` : `已播放 ${Yn(t)},总时长 ${Yn(n)};点击显示剩余时间`);
};
@@ -33418,10 +33493,10 @@ function cue(e) {
"loadedmetadata"
], T), T(), f ? f.insertAdjacentElement("afterend", x) : t.append(x);
let E = t.querySelector(":scope>.vjs-picture-in-picture-control");
- SN(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip"), iue(e, E, SN(E, "画中画"), (e) => GM().toast(e, { warn: !0 }));
- let D = t.querySelector(":scope>.vjs-fullscreen-control"), O = r(D, "player-fullscreen-enter"), k = SN(D, "全屏", "F"), A = () => {
+ bN(t.querySelector(".vjs-subtitles-control>button"), "字幕"), r(E, "player-pip"), uue(e, E, bN(E, "画中画"), (e) => VM().toast(e, { warn: !0 }));
+ let D = t.querySelector(":scope>.vjs-fullscreen-control"), O = r(D, "player-fullscreen-enter"), k = bN(D, "全屏", "F"), A = () => {
let t = !!e.isFullscreen();
- e.el().toggleAttribute("data-peach-fullscreen", t), O?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), k(t ? "退出全屏" : "全屏"), $M(e);
+ e.el().toggleAttribute("data-peach-fullscreen", t), O?.setAttribute("href", t ? "#i-player-fullscreen-exit" : "#i-player-fullscreen-enter"), k(t ? "退出全屏" : "全屏"), YM(e);
};
e.on([
"fullscreenchange",
@@ -33442,7 +33517,7 @@ function cue(e) {
});
let ee = document.createElement("div");
ee.className = "vjs-peach-expand vjs-control", ee.innerHTML = `<button type="button" data-player-expand aria-expanded="false">${R("player-expand")}</button><span class="vjs-peach-hover" aria-hidden="true"></span>`, M.prepend(ee);
- let N = ee.querySelector("button"), te = SN(N, "展开控件"), P = (t) => {
+ let N = ee.querySelector("button"), te = bN(N, "展开控件"), P = (t) => {
e.el().classList.toggle("vjs-peach-right-expanded", t), N.setAttribute("aria-expanded", String(t)), te(t ? "收起控件" : "展开控件");
};
N.onclick = (t) => {
@@ -33454,49 +33529,36 @@ function cue(e) {
}, re = new ResizeObserver(ne);
re.observe(e.el()), e.on("dispose", () => re.disconnect()), P(!1), ne();
}
-function ON(e, t, n = {}) {
+function EN(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");
- a.className = "vjs-peach-seek-preview", a.dataset.playerSeekPreview = "", a.hidden = !0, a.innerHTML = `${i ? "<i class=\"vjs-peach-seek-frame\" hidden><img alt=\"\"></i>" : ""}<span class="mono">0:00</span>`, r.append(a);
- let o = a.querySelector(".vjs-peach-seek-frame"), s = a.querySelector("img"), c = a.querySelector("span"), l = null, u = "", d = !1;
- o && t?.id && Tn(`/api/timeline?id=${encodeURIComponent(t.id)}`).then((e) => {
- e && e.frames > 0 && (e.interval > 0 || e.cues?.length) && (l = e);
- }).catch(() => {});
- let f = (e, n, r, i) => {
- if (!t) return;
- let a = n.columns || 10, o = a * (n.rows || 10), s = rue(e, n);
- if (s === null) return !1;
- let c = Math.floor(s / o), l = s % o, f = Math.ceil(Math.min(o, n.frames - c * o) / a);
- d = !!n.cues;
- let p = `/timeline?id=${encodeURIComponent(t.id)}&s=${c}&source=${encodeURIComponent(n.source || "peach")}`;
- return p !== u && (u = p, i.src = p), r.hidden = !1, t.width && t.height && (r.style.aspectRatio = `${t.width} / ${t.height}`), i.style.objectFit = "fill", i.style.width = `${a * 100}%`, i.style.height = `${f * 100}%`, i.style.left = `${-(l % a) * 100}%`, i.style.top = `${-Math.floor(l / a) * 100}%`, !0;
- }, p = -1, m = (n) => {
- if (n.pointerType === "touch") return;
- let i = qn(e.duration()) || qn(t?.duration);
- if (!i) return;
- let m = r.getBoundingClientRect(), h = Math.min(1, Math.max(0, (n.clientX - m.left) / m.width)), g = o ? Math.min(240, Math.max(160, m.width * .28)) : 76, _ = Math.min(m.width - g / 2, Math.max(g / 2, n.clientX - m.left));
- if (a.style.left = `${_}px`, a.hidden = !1, c.textContent = Yn(i * h), !o || !s || !t || l && f(i * h, l, o, s) || l?.fallback && f(i * h, l.fallback, o, s)) return;
- let v = Math.min(8, Math.floor(h * 9));
- (v !== p || u !== `poster:${v}`) && (p = v, o.hidden = !1, s.removeAttribute("style"), d = !1, u = `poster:${v}`, s.src = `/poster?id=${encodeURIComponent(t.id)}&c=${v}`);
- }, h = () => {
- a.hidden = !0;
- };
- s && o && (s.onerror = () => {
- o.hidden = !0, l = d && l?.fallback || null, u = "", p = -1;
- }, s.onload = () => {
- d && s.naturalWidth && s.naturalHeight && (o.style.aspectRatio = `${s.naturalWidth} / ${s.naturalHeight}`);
- }), r.addEventListener("pointermove", m), r.addEventListener("pointerleave", h), e.on("dispose", () => {
- r.removeEventListener("pointermove", m), r.removeEventListener("pointerleave", h);
+ let i = vN(r, t, n), a = (n) => {
+ let a = qn(e.duration()) || qn(t?.duration);
+ if (!a) return;
+ let o = r.getBoundingClientRect();
+ i.prime(), i.show((n.clientX - o.left) / o.width, a);
+ }, o = () => i.hide(), s = [
+ ["pointerdown", a],
+ ["pointermove", a],
+ ["pointerleave", o],
+ ["pointerup", (e) => {
+ e.pointerType !== "mouse" && i.hide();
+ }],
+ ["pointercancel", o]
+ ];
+ for (let [e, t] of s) r.addEventListener(e, t);
+ e.on("dispose", () => {
+ for (let [e, t] of s) r.removeEventListener(e, t);
+ i.dispose();
});
}
-function lue(e, t) {
+function hue(e, t) {
let n = navigator.mediaSession;
if (!n || typeof n.setActionHandler != "function") return;
let r = () => qn(e.duration()) || qn(t.duration) || 0, i = (t) => {
let n = r();
e.currentTime(Math.max(0, n ? Math.min(n, t) : t));
- }, a = () => Math.max(1, Number(GM().settings().seekSeconds) || 10), o = [
+ }, a = () => Math.max(1, Number(VM().settings().seekSeconds) || 10), o = [
["play", () => {
e.play();
}],
@@ -33537,11 +33599,11 @@ function lue(e, t) {
} catch {}
});
}
-function kN(e) {
+function DN(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 AN(e, t) {
+function ON(e, t) {
Tn(`/api/assets/${t}/subtitles`).then((t) => {
e && !e.isDisposed() && (t?.subtitles || []).filter((e) => e.playable).forEach((t) => {
e.addRemoteTextTrack({
@@ -33557,35 +33619,35 @@ function AN(e, t) {
}).catch(() => {});
}
// src/player/progress.ts
-var jN = "peach.playback-position.v1", MN = /* @__PURE__ */ new WeakMap();
-function NN(e) {
- MN.get(e)?.(), MN.delete(e);
+var kN = "peach.playback-position.v1", AN = /* @__PURE__ */ new WeakMap();
+function jN(e) {
+ AN.get(e)?.(), AN.delete(e);
}
-function PN(e, t, n = null) {
+function MN(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 uue(e) {
+function gue(e) {
try {
- let t = localStorage.getItem(`${jN}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);
+ let t = localStorage.getItem(`${kN}:${e}`), n = t === null || !t.trim() ? NaN : Number(t);
return Number.isFinite(n) && n >= 0 ? n : null;
} catch {
return null;
}
}
-function due(e, t) {
- let n = uue(e);
+function _ue(e, t) {
+ let n = gue(e);
if (n !== null) return n;
let r = Number(t.leave_ratio);
return r > 0 && r < 1 ? r * qn(t.duration) : 0;
}
-function fue(e, t) {
- NN(t);
+function vue(e, t) {
+ jN(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(`${jN}:${e}`, String(r));
+ localStorage.setItem(`${kN}:${e}`, String(r));
} catch {}
}, i = () => {
n = !0;
@@ -33599,7 +33661,7 @@ function fue(e, t) {
"pause",
"ended"
]) t.addEventListener(e, r);
- window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), MN.set(t, () => {
+ window.addEventListener("pagehide", r), document.addEventListener("visibilitychange", r), AN.set(t, () => {
r(), t.removeEventListener("loadedmetadata", i), t.removeEventListener("emptied", a);
for (let e of [
"timeupdate",
@@ -33611,19 +33673,19 @@ function fue(e, t) {
});
}
// src/player/telemetry.ts
-var FN = /* @__PURE__ */ new WeakMap();
-function IN(e) {
- FN.get(e)?.(), FN.delete(e);
+var NN = /* @__PURE__ */ new WeakMap();
+function PN(e) {
+ NN.get(e)?.(), NN.delete(e);
}
-function LN(e, t, n, r) {
+function FN(e, t, n, r) {
let i = () => t(!1), a = () => {
n(), t(!1);
};
- e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), FN.set(e, () => {
+ e.addEventListener("seeking", r), e.addEventListener("emptied", a), window.addEventListener("pagehide", i), NN.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 RN(e, t, n = {}) {
+function IN(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 = qn(e.duration) || qn(t.duration);
@@ -33664,11 +33726,11 @@ function RN(e, t, n = {}) {
u(), l(!1);
}, t.onended = () => {
u(), l(!0), n.onEnded?.();
- }, LN(t, l, u, () => {
+ }, FN(t, l, u, () => {
a++;
}), c();
}
-function pue(e, t) {
+function yue(e, t) {
let n = 0, r = 0, i = !1, a = null, o = (n) => {
let i = qn(e.duration) || qn(t.duration);
(r || n) && (Tn("/api/follow/activity", {
@@ -33699,22 +33761,22 @@ function pue(e, t) {
s(), o(!1);
}, t.onended = () => {
s(), o(!0);
- }, LN(t, o, s, () => {});
+ }, FN(t, o, s, () => {});
}
// src/player/dispose.ts
-function zN(e) {
+function LN(e) {
if (!e || e.isDisposed()) return;
let t = e.el()?.querySelector("video");
try {
e.pause();
} catch {}
- t && (NN(t), IN(t));
+ t && (jN(t), PN(t));
try {
e.dispose();
} catch {}
}
// src/core/random-id.ts
-function BN() {
+function RN() {
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;
@@ -33722,23 +33784,23 @@ function BN() {
return `${t.slice(0, 8)}-${t.slice(8, 12)}-${t.slice(12, 16)}-${t.slice(16, 20)}-${t.slice(20)}`;
}
// src/player/stream.ts
-function VN() {
- return BN();
+function zN() {
+ return RN();
}
-function HN(e, t) {
+function BN(e, t) {
return {
src: `/stream?id=${e.id}&session=${encodeURIComponent(t)}`,
type: String(e.name || "").toLowerCase().endsWith(".webm") ? "video/webm" : "video/mp4"
};
}
-function mue(e) {
+function bue(e) {
return e.location === "online" && e.follow_item_id ? {
src: `/follow-stream?id=${e.follow_item_id}`,
type: "video/mp4"
} : null;
}
-async function UN(e, t) {
- let n = mue(e);
+async function VN(e, t) {
+ let n = bue(e);
if (n) return n;
try {
let n = await Tn(`/api/stream-plan?id=${e.id}&session=${encodeURIComponent(t)}`);
@@ -33747,9 +33809,9 @@ async function UN(e, t) {
type: n.mime_type || (n.protocol === "hls" ? "application/vnd.apple.mpegurl" : "video/mp4")
};
} catch {}
- return HN(e, t);
+ return BN(e, t);
}
-function WN(e) {
+function HN(e) {
e && fetch(`/api/stream-cancel?session=${encodeURIComponent(e)}`, {
method: "POST",
credentials: "same-origin",
@@ -33758,22 +33820,22 @@ function WN(e) {
document.documentElement.dataset.peachStreamCancel = JSON.stringify(e);
}).catch(() => {});
}
-var GN = "";
-function KN() {
- return GN;
+var UN = "";
+function WN() {
+ return UN;
}
-function qN() {
- return GN ||= VN(), GN;
+function GN() {
+ return UN ||= zN(), UN;
}
-var hue = (e) => HN(e, qN()), gue = (e) => UN(e, qN());
-function JN() {
- let e = GN;
- e && (GN = "", WN(e));
+var xue = (e) => BN(e, GN()), Sue = (e) => VN(e, GN());
+function KN() {
+ let e = UN;
+ e && (UN = "", HN(e));
}
// src/player/v10-player.ts
-var YN = (e) => typeof e == "string" ? [e] : e, _ue = (e, t) => {
+var qN = (e) => typeof e == "string" ? [e] : e, Cue = (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-${BN()}`, n.setAttribute("lang", "zh-CN");
+ n.className = "video-js vjs-paused vjs-user-active", n.id = e.id || `peach-player-${RN()}`, 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 = {
@@ -33868,9 +33930,9 @@ var YN = (e) => typeof e == "string" ? [e] : e, _ue = (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) => YN(e).forEach((e) => o.addEventListener(e, t, { signal: c })),
- off: (e, t) => YN(e).forEach((e) => o.removeEventListener(e, t)),
- one: (e, t) => YN(e).forEach((e) => o.addEventListener(e, t, {
+ on: (e, t) => qN(e).forEach((e) => o.addEventListener(e, t, { signal: c })),
+ off: (e, t) => qN(e).forEach((e) => o.removeEventListener(e, t)),
+ one: (e, t) => qN(e).forEach((e) => o.addEventListener(e, t, {
once: !0,
signal: c
})),
@@ -33925,7 +33987,7 @@ var YN = (e) => typeof e == "string" ? [e] : e, _ue = (e, t) => {
n.id = String(t.id || ""), t.legacyId && (n.dataset.subtitleAlias = String(t.legacyId)), n.kind = String(t.kind || "subtitles"), n.src = String(t.src || ""), n.srclang = String(t.srclang || ""), n.label = String(t.label || ""), e.append(n);
}
};
-}, vue = "/vendor/videojs/10.2.0/", yue = [
+}, wue = "/vendor/videojs/10.2.0/", Tue = [
"video-player.js",
"media/hlsjs-video.js",
"media/dash-video.js",
@@ -33943,17 +34005,17 @@ var YN = (e) => typeof e == "string" ? [e] : e, _ue = (e, t) => {
"ui/slider-value.js",
"i18n.js",
"locales/zh-CN.js"
-], XN = null;
-function ZN() {
- return XN ??= Promise.all(yue.map((e) => import(
+], JN = null;
+function YN() {
+ return JN ??= Promise.all(Tue.map((e) => import(
/* @vite-ignore */
- `${vue}${e}`
-))).then(() => _ue).catch((e) => {
- throw XN = null, e;
- }), XN;
+ `${wue}${e}`
+))).then(() => Cue).catch((e) => {
+ throw JN = null, e;
+ }), JN;
}
// src/player/immerse-player.ts
-var bue = {
+var Eue = {
controls: !1,
preload: "auto",
posterImage: !1,
@@ -33965,45 +34027,45 @@ var bue = {
errorDisplay: !1,
textTrackSettings: !1
};
-function xue(e, t) {
+function Due(e, t) {
let { item: n, session: r } = t, i = null, a = !1;
- return Promise.all([UN(n, r), ZN().catch(() => null)]).then(([o, s]) => {
+ return Promise.all([VN(n, r), YN().catch(() => null)]).then(([o, s]) => {
if (a) return;
- let c = HN(n, r), l = String(o.type || "").includes("mpegurl");
+ let c = BN(n, r), l = String(o.type || "").includes("mpegurl");
if (!s) e.src = (l ? c : o).src;
else {
- let t = s(e, bue);
- i = t, t.peachItem = n, t.peachPlaybackKey = PN("item", n);
+ let t = s(e, Eue);
+ i = t, t.peachItem = n, t.peachPlaybackKey = MN("item", n);
let r = new AbortController();
- mN(t.el(), e, r.signal, _N(t)), xN(t, e), vN(t, e), t.on("dispose", () => r.abort()), new yN(t, e), AN(t, n.id), l && t.one("error", () => {
+ dN(t.el(), e, r.signal, mN(t)), yN(t, e), hN(t, e), t.on("dispose", () => r.abort()), new gN(t, e), ON(t, n.id), l && t.one("error", () => {
a || t.src(c);
}), t.src(o);
}
- RN(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
+ IN(n, e, t.onEnded ? { onEnded: t.onEnded } : {}), t.onLoaded?.();
}), () => {
- a || (a = !0, WN(r), i ? zN(i) : (e.pause(), IN(e), e.removeAttribute("src"), e.load()));
+ a || (a = !0, HN(r), i ? LN(i) : (e.pause(), PN(e), e.removeAttribute("src"), e.load()));
};
}
// src/player/guide-preview.ts
-var QN = !1, $N = () => QN;
-function Sue() {
- return QN = !0, () => {
- QN = !1;
+var XN = !1, ZN = () => XN;
+function Oue() {
+ return XN = !0, () => {
+ XN = !1;
};
}
// src/player/detail-player.ts
-var eP = /* @__PURE__ */ new WeakMap(), tP = null, nP = null, rP = null;
-function iP() {
- tP &&= (clearInterval(tP), null), nP &&= (clearInterval(nP), null), rP &&= (clearTimeout(rP), null);
+var QN = /* @__PURE__ */ new WeakMap(), $N = null, eP = null, tP = null;
+function nP() {
+ $N &&= (clearInterval($N), null), eP &&= (clearInterval(eP), null), tP &&= (clearTimeout(tP), null);
}
-async function Cue(e, t, n, r = {}) {
- let i = ZM();
+async function kue(e, t, n, r = {}) {
+ let i = qM();
if (i && !i.isDisposed()) return i;
- let a = GM(), o = r.resume ?? null;
+ let a = VM(), o = r.resume ?? null;
o?.autoplay && (n = !0), r.guidePreview && (n = !1);
- let s = () => r.source ? Promise.resolve(r.source) : gue(e), c;
+ let s = () => r.source ? Promise.resolve(r.source) : Sue(e), c;
try {
- c = await ZN();
+ c = await YN();
} catch {
return t.controls = !0, r.guidePreview || s().then((e) => {
t.addEventListener("loadedmetadata", () => {
@@ -34029,7 +34091,7 @@ async function Cue(e, t, n, r = {}) {
} }
}
});
- QM(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || PN("item", e), Kle(l), l.on("loadedmetadata", () => {
+ JM(l), l.peachItem = e, l.peachPlaybackKey = r.playbackKey || MN("item", e), Xle(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}`);
});
@@ -34037,7 +34099,7 @@ async function Cue(e, t, n, r = {}) {
speed: [],
activity: [],
buffer: []
- }, f = Number(r.size ?? e.size) || 0, p = Jle(nN(f, e.duration)), m = 0, h = !1, g = () => ZM() === l && !l.isDisposed(), _ = () => {
+ }, f = Number(r.size ?? e.size) || 0, p = Qle(QM(f, e.duration)), m = 0, h = !1, g = () => qM() === 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(() => {
@@ -34048,15 +34110,15 @@ async function Cue(e, t, n, r = {}) {
ready: !1,
updateStats: () => {}
};
- eP.set(l, y), y.updateStats = () => {
+ QN.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 = KN(), h = s ? sN(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 = WN(), h = s ? rN(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 = lN(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 = aN(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 = eN(t);
- iN(d.speed, x), iN(d.activity, C), iN(d.buffer, w);
+ let w = XM(t);
+ eN(d.speed, x), eN(d.activity, C), eN(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 ? [
"网络活动",
`${_ ? Xn(_) : "—"} · ${h.length} 请求`,
@@ -34074,17 +34136,17 @@ async function Cue(e, t, n, r = {}) {
[
"连接速度",
D,
- oN(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)
+ nN(d.speed, "speed", Math.max(1e7, ...d.speed), `连接速度 ${D === "—" ? "暂无数据" : D}`)
],
[
k[0],
k[1],
- oN(d.activity, "activity", Math.max(1, ...d.activity), k[2])
+ nN(d.activity, "activity", Math.max(1, ...d.activity), k[2])
],
[
"缓冲健康",
`${w.toFixed(1)} 秒`,
- oN(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
+ nN(d.buffer, "buffer", 30, `当前可连续播放 ${w.toFixed(1)} 秒`)
],
["播放时间", `${Yn(t.currentTime)} / ${Yn(u || l.duration())}`],
["日期", (/* @__PURE__ */ new Date()).toLocaleString()]
@@ -34100,15 +34162,15 @@ async function Cue(e, t, n, r = {}) {
if (!n || l.isDisposed()) return;
let r = v();
r || p.sample(t);
- let i = lN(l, e.id, KN(), r ? null : p), a = r ? uN(i) : Xle(i, eN(t));
+ let i = aN(l, e.id, WN(), r ? null : p), a = r ? oN(i) : eue(i, XM(t));
n.innerHTML = `${R("gauge")}<span class="sr-only">加载速度</span><span>${z(a)}</span>`;
}, C = () => {
let e = y.chrome?.netBadge;
- e && e.isConnected && (e.hidden = !1, S(), nP && clearInterval(nP), nP = setInterval(S, 500));
+ e && e.isConnected && (e.hidden = !1, S(), eP && clearInterval(eP), eP = setInterval(S, 500));
}, w = () => {
let e = y.chrome?.netBadge;
- e && (rP && clearTimeout(rP), rP = setTimeout(() => {
- e.hidden = !0, nP &&= (clearInterval(nP), null);
+ e && (tP && clearTimeout(tP), tP = setTimeout(() => {
+ e.hidden = !0, eP &&= (clearInterval(eP), null);
}, 1400));
};
return l.on([
@@ -34119,7 +34181,7 @@ async function Cue(e, t, n, r = {}) {
], C), l.on(["canplay", "playing"], () => {
S(), w();
}), l.on("error", () => {
- b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(hue(e)), n && l.play()?.catch(() => {})) : r.checkSourceStatus !== !1 && a.loadSourceStatus().then((t) => {
+ b && !x && !l.isDisposed() ? (x = !0, b = !1, l.src(xue(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))}`
@@ -34127,13 +34189,13 @@ async function Cue(e, t, n, r = {}) {
});
}), l.ready(() => {
_();
- let n = DN(l, t, e.height, r.qualities ?? null);
+ let n = TN(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 = nN(r, e.duration));
- }).catch(() => {}), ON(l, e, { thumbnail: !r.source }), r.guidePreview || lue(l, e), kN(l), r.source || AN(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);
+ r > 0 && !f && (f = r, p.bitrate = QM(r, e.duration));
+ }).catch(() => {}), EN(l, e, { thumbnail: !r.source }), r.guidePreview || hue(l, e), DN(l), r.source || ON(l, e.id), y.ready = !0, y.chrome?.statsButton && (y.chrome.statsButton.hidden = !1);
}), r.guidePreview || s().then((e) => {
g() && (b = String(e.type || "").includes("mpegurl"), o && o.time > 0 && l.one("loadedmetadata", () => {
if (l.isDisposed()) return;
@@ -34142,16 +34204,16 @@ async function Cue(e, t, n, r = {}) {
}), l.src(e), _(), setTimeout(_, 0), setTimeout(_, 250), n && l.play()?.catch(() => {}));
}).catch(() => {}), l;
}
-var wue = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
-function aP(e, t = null) {
- if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", wue), e.querySelector("#playerStatsBtn")) return;
+var Aue = "<canvas data-ambient-canvas=\"\" width=\"32\" height=\"18\"></canvas>";
+function rP(e, t = null) {
+ if (e.querySelector(":scope > [data-ambient-canvas]") || e.insertAdjacentHTML("afterbegin", Aue), e.querySelector("#playerStatsBtn")) return;
let n = document.createElement("template");
- n.innerHTML = Yle();
+ n.innerHTML = $le();
let r = e.querySelector(":scope > [data-player-toolbar]");
r && (r.querySelector("[data-player-stats-slot]").append(n.content.querySelector("#playerStatsBtn")), r.querySelector("[data-player-net-slot]").append(n.content.querySelector("#playerNet"))), e.insertBefore(n.content, t);
}
-function oP(e, t) {
- let n = eP.get(e);
+function iP(e, t) {
+ let n = QN.get(e);
if (!n || e.isDisposed()) return () => {};
let r = (e) => t.querySelector(`#${e}`), i = {
statsButton: r("playerStatsBtn"),
@@ -34163,30 +34225,30 @@ function oP(e, t) {
if (a && o) {
a.hidden = !n.ready;
let e = () => {
- o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), tP &&= (clearInterval(tP), null));
+ o.hidden || (o.hidden = !0, a.setAttribute("aria-pressed", "false"), $N &&= (clearInterval($N), null));
};
a.onclick = () => {
- o.hidden ? (document.dispatchEvent(new CustomEvent(aN, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), tP && clearInterval(tP), tP = setInterval(n.updateStats, 1e3)) : e();
+ o.hidden ? (document.dispatchEvent(new CustomEvent(tN, { detail: "stats" })), o.hidden = !1, a.setAttribute("aria-pressed", "true"), n.updateStats(), $N && clearInterval($N), $N = setInterval(n.updateStats, 1e3)) : e();
};
let t = (t) => {
t.detail !== "stats" && e();
};
- document.addEventListener(aN, t), s = () => document.removeEventListener(aN, t);
+ document.addEventListener(tN, t), s = () => document.removeEventListener(tN, t);
}
- let c = e.el().querySelector("video"), l = c ? oue(c) : () => {}, u = !0, d = () => {
- u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, iP()));
+ let c = e.el().querySelector("video"), l = c ? fue(c) : () => {}, u = !0, d = () => {
+ u && (u = !1, s(), l(), n.chrome === i && (n.chrome = null, nP()));
};
return e.one("dispose", d), d;
}
-function sP(e, t) {
- if (t.kind === "immerse") return xue(e, t);
- let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = $N(), c = GM(), l = t.chrome === !1 ? null : e.parentElement;
- l && aP(l, e);
- let u = PN(n, r, i?.index ?? null), d = {
+function aP(e, t) {
+ if (t.kind === "immerse") return Due(e, t);
+ let { kind: n, item: r, media: i = null, handedOff: a, onPlayer: o } = t, s = ZN(), c = VM(), l = t.chrome === !1 ? null : e.parentElement;
+ l && rP(l, e);
+ let u = MN(n, r, i?.index ?? null), d = {
guidePreview: s,
playbackKey: u,
resume: s ? null : t.resume ?? {
- time: due(u, r),
+ time: _ue(u, r),
autoplay: !1
}
};
@@ -34206,36 +34268,36 @@ function sP(e, t) {
t && (e.poster = t);
}
let f = null, p = !1, m = () => {}, h = e, g = () => {
- m(), !(f && a?.(f)) && (NN(h), f ? (ZM() === f && (QM(null), iP()), zN(f)) : IN(h));
+ m(), !(f && a?.(f)) && (jN(h), f ? (qM() === f && (JM(null), nP()), LN(f)) : PN(h));
};
- return Cue(r, e, s ? !1 : t.autoplay ?? c.settings().detailAutoplay, d).then((t) => {
- f = t, p ? g() : (h = t?.el().querySelector("video") ?? e, s ? (t?.el().setAttribute("data-player-guide", ""), o?.(t)) : (fue(u, h), n === "follow" ? pue(r, h) : (h.addEventListener("play", () => {
+ return kue(r, e, s ? !1 : t.autoplay ?? c.settings().detailAutoplay, d).then((t) => {
+ f = t, p ? g() : (h = t?.el().querySelector("video") ?? e, s ? (t?.el().setAttribute("data-player-guide", ""), o?.(t)) : (vue(u, h), n === "follow" ? yue(r, h) : (h.addEventListener("play", () => {
Tn("/api/play", {
method: "POST",
body: JSON.stringify({ id: r.id })
}).catch(() => {});
- }, { once: !0 }), RN(r, h, {
+ }, { once: !0 }), IN(r, h, {
watched: "#watched",
mark: "#mark",
ratio: "#ratioTxt"
- })), t ? (l && (m = oP(t, l)), o?.(t)) : o?.(null)));
+ })), t ? (l && (m = iP(t, l)), o?.(t)) : o?.(null)));
}), () => {
p = !0, g();
};
}
// src/player/playback.ts
-function cP(e) {
+function oP(e) {
e && (e.paused ? e.play()?.catch(() => {}) : e.pause());
}
-function lP(e, t) {
+function sP(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);
}
// src/player/preview-player.ts
-function Tue(e, t, n) {
+function jue(e, t, n) {
e.controls = !1;
let r = !1, i = null;
- return ZN().then((a) => {
+ return YN().then((a) => {
if (r) return;
i = a(e, {
controls: !0,
@@ -34260,30 +34322,30 @@ function Tue(e, t, n) {
o.on("error", () => {
r || n();
}), o.ready(() => {
- r || o.isDisposed() || (DN(o, e), ON(o, null, { thumbnail: !1 }), kN(o));
+ r || o.isDisposed() || (TN(o, e), EN(o, null, { thumbnail: !1 }), DN(o));
}), o.src(t);
}).catch(() => {
r || n();
}), () => {
- r = !0, zN(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());
+ r = !0, LN(i), i || (e.pause(), e.removeAttribute("src"), e.load(), e.remove());
};
}
-function uP(e, t) {
+function cP(e, t) {
let n = new URLSearchParams(Object.entries(e).filter(([, e]) => e));
return t && n.set("exclude_vertical", "1"), n.toString();
}
-var Eue = (e, t) => [
+var Mue = (e, t) => [
"catalog-grid",
"catalog",
e,
t
-], Due = (e, t) => [
+], Nue = (e, t) => [
"catalog-grid",
"entity",
e,
t
];
-async function Oue(e, t, n, r, i) {
+async function Pue(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 B(`/api/items?${a}`, i), s = {
@@ -34293,22 +34355,22 @@ async function Oue(e, t, n, r, i) {
};
return t || s.items.length || r || (s.libraryEmpty = (await B("/api/items?limit=1&thumb=0", i)).total === 0), s;
}
-var kue = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, Aue = (e, t) => {
+var Fue = (e) => (t) => (t.offset === 0 ? t.items.length < (t.total || 0) : t.has_more) ? t.offset + e : void 0, Iue = (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 jue(e) {
- let t = uP(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
+function Lue(e) {
+ let t = cP(e.filters || {}, !!e.excludeVertical), n = e.batchSize || 60, r = e.filters?.state === "trash";
return {
- queryKey: Eue(t, e.revision || 0),
- queryFn: ({ pageParam: e, signal: i }) => Oue(t, e, n, r, i),
+ queryKey: Mue(t, e.revision || 0),
+ queryFn: ({ pageParam: e, signal: i }) => Pue(t, e, n, r, i),
initialPageParam: 0,
- getNextPageParam: kue(n)
+ getNextPageParam: Fue(n)
};
}
-function Mue(e) {
+function Rue(e) {
return {
- queryKey: Due(e.entityKey || "", e.revision || 0),
+ queryKey: Nue(e.entityKey || "", e.revision || 0),
queryFn: async ({ pageParam: t, signal: n }) => {
if (!e.fetchPage) return {
items: [],
@@ -34323,14 +34385,14 @@ function Mue(e) {
};
},
initialPageParam: 0,
- getNextPageParam: Aue
+ getNextPageParam: Iue
};
}
-function dP(e) {
+function lP(e) {
let t = JSON.stringify(e);
return H.getQueryCache().findAll({ queryKey: e.slice(0, -1) }).filter((e) => JSON.stringify(e.queryKey) !== t && !e.state.isInvalidated && Array.isArray(e.state.data?.pages)).sort((e, t) => t.state.dataUpdatedAt - e.state.dataUpdatedAt)[0]?.state.data;
}
-function fP(e, t, n) {
+function uP(e, t, n) {
return n ? e.filter((e) => {
let n = e.part_group?.key;
if (n) {
@@ -34345,24 +34407,24 @@ function fP(e, t, n) {
return !0;
}) : [...e];
}
-var pP = (e, t) => !!e && !!to(e, t);
-function Nue(e, t) {
- let n = (e) => pP(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) => pP(e, t)) || e[e.length - 1];
+var dP = (e, t) => !!e && !!to(e, t);
+function zue(e, t) {
+ let n = (e) => dP(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) => dP(e, t)) || e[e.length - 1];
}
-function Pue(e, { collapse: t, mix: n, javImage: r }) {
+function Bue(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 = fP(c.items.filter((e) => !a.has(e.id) && !!a.add(e.id)), i, t), l = e.map((e) => ({
+ let e = uP(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 = Nue(e, r);
+ let t = zue(e, r);
t && l.splice(7, 0, {
kind: "mix",
seed: t
@@ -34375,16 +34437,16 @@ function Pue(e, { collapse: t, mix: n, javImage: r }) {
pageStarts: s
};
}
-function Fue(e, t, n) {
+function Vue(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 Iue(e, t) {
+function Hue(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 Lue(e, t) {
+function Uue(e, t) {
let n = [...t].sort((e, t) => e.at - t.at), r = [], i = 0;
for (let t of n) r.push({
start: i,
@@ -34397,10 +34459,10 @@ function Lue(e, t) {
strip: null
}), r;
}
-function mP(e, t) {
- hP((t) => t.id === e, t);
+function fP(e, t) {
+ pP((t) => t.id === e, t);
}
-function hP(e, t) {
+function pP(e, t) {
H.setQueriesData({ queryKey: ["catalog-short-layout"] }, (n) => !n || !n.cuts.some((t) => t.items.some(e)) ? n : {
...n,
cuts: n.cuts.map((n) => ({
@@ -34430,34 +34492,34 @@ function hP(e, t) {
} : n)
});
}
-var gP = (e) => Math.min(Math.max(e || 0, 0), 100), _P = (e) => Math.round(gP(e) / 20), Rue = (e) => {
- let t = _P(e);
+var mP = (e) => Math.min(Math.max(e || 0, 0), 100), hP = (e) => Math.round(mP(e) / 20), Wue = (e) => {
+ let t = hP(e);
return t ? `${t} 星` : "未评分";
-}, vP = (e, t) => t === _P(e) ? 0 : t * 20, yP = (e) => ["item", e], bP = (e) => [
+}, gP = (e, t) => t === hP(e) ? 0 : t * 20, _P = (e) => ["item", e], vP = (e) => [
"item-queue",
e.kind,
e.kind === "playlist" ? e.playlistId : e.seedId
-], zue = (e, t) => [
+], Gue = (e, t) => [
"item-related",
e,
t
-], Bue = (e) => `/api/item?id=${e}`, Vue = (e, t) => `/api/related?id=${e}&limit=${t}`, xP = "/api/playlist", SP = "/api/feedback", CP = "/api/item-tag", wP = "/api/watch-later", TP = "/api/quality-goal", EP = "/api/preference", DP = class extends Error {};
-async function OP(e, t) {
- let n = await B(Bue(e), t);
- if (n.error) throw new DP(n.error);
+], Kue = (e) => `/api/item?id=${e}`, que = (e, t) => `/api/related?id=${e}&limit=${t}`, yP = "/api/playlist", bP = "/api/feedback", xP = "/api/item-tag", SP = "/api/watch-later", CP = "/api/quality-goal", wP = "/api/preference", TP = class extends Error {};
+async function EP(e, t) {
+ let n = await B(Kue(e), t);
+ if (n.error) throw new TP(n.error);
return n;
}
-async function kP(e, t, n) {
+async function DP(e, t, n) {
if (e.kind === "mix") {
- let r = e.seedId, [i, a] = await Promise.all([OP(r, n), t.mixRelated(r)]);
- return H.setQueryData(yP(i.id), i), {
+ let r = e.seedId, [i, a] = await Promise.all([EP(r, n), t.mixRelated(r)]);
+ return H.setQueryData(_P(i.id), i), {
kind: "mix",
seedId: r,
title: `Mix · ${Mo(i, t.tagLabel)}`,
items: [i, ...a.filter((e) => e.id !== i.id)]
};
}
- if (e.kind === "playlist") return AP(await B(`${xP}?id=${e.playlistId}`, n));
+ if (e.kind === "playlist") return OP(await B(`${yP}?id=${e.playlistId}`, n));
let r = await B(`/api/${e.kind}?id=${e.seedId}`, n);
if (r.error || !r.items?.length) throw Error(r.error || "这一组已不存在");
return {
@@ -34468,19 +34530,19 @@ async function kP(e, t, n) {
versionCount: e.kind === "editions" ? r.count : void 0
};
}
-var AP = (e) => ({
+var OP = (e) => ({
kind: "playlist",
playlistId: e.id,
title: e.name,
items: e.items || [],
currentAssetId: e.current_asset_id
-}), jP = (e) => e.disposal === "vanished";
-function MP(e, t) {
+}), kP = (e) => e.disposal === "vanished";
+function AP(e, t) {
if (e.kind === "mix") return t;
- let n = e.kind === "playlist" ? e.items.filter((e) => !jP(e)) : e.items;
+ let n = e.kind === "playlist" ? e.items.filter((e) => !kP(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 Hue(e, t) {
+function Jue(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 : {
@@ -34488,20 +34550,20 @@ function Hue(e, t) {
part_label: n
};
}
-function NP(e, t) {
+function jP(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 PP(e, t) {
+async function MP(e, t) {
let { queue: n, actions: r } = e, i = null, a = !1;
if (n) {
- let o = bP(n);
+ let o = vP(n);
try {
let r = n.fresh ? void 0 : H.getQueryData(o);
a = !r && n.kind === "mix", i = r || await H.fetchQuery({
queryKey: o,
- queryFn: () => kP(n, e.helpers, t),
+ queryFn: () => DP(n, e.helpers, t),
staleTime: 0
});
} catch (n) {
@@ -34513,21 +34575,21 @@ async function PP(e, t) {
return;
}
}
- let o = i ? MP(i, e.id) : e.id;
+ let o = i ? AP(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 ? H.getQueryData(yP(o)) : void 0;
+ let s, c = a && o === i?.seedId ? H.getQueryData(_P(o)) : void 0;
try {
s = c || await H.fetchQuery({
- queryKey: yP(o),
- queryFn: () => OP(o, t),
+ queryKey: _P(o),
+ queryFn: () => EP(o, t),
staleTime: 0
});
} catch (e) {
if (t.aborted) throw e;
- if (e instanceof DP) {
+ if (e instanceof TP) {
r.redirect({ kind: "gone" });
return;
}
@@ -34538,7 +34600,7 @@ async function PP(e, t) {
id: Number(s.follow_item_id)
});
}
-function Uue(e) {
+function Yue(e) {
let t = e.entity_refs || {}, n = /* @__PURE__ */ new Set(), r = (e) => {
let t = Un(e.name);
return !e.name || n.has(t) ? !1 : (n.add(t), !0);
@@ -34560,35 +34622,35 @@ function Uue(e) {
unowned: !i.length && !c.length && !String(e.creator || "").trim()
};
}
-function Wue(e, t) {
+function Xue(e, t) {
let n = /* @__PURE__ */ new Map();
return (e.tags || []).filter((e) => !t.isDurationTag(e.k)).forEach((e) => {
let r = Un(t.tagLabel(e.k)), i = n.get(r);
(!i || Un(e.k) === r && Un(i.k) !== r) && n.set(r, e);
}), [...n.values()].slice(0, 40);
}
-var FP = (e, t) => (e.tags || []).some((e) => Un(e.k) === Un(t)), IP = (e, t) => ({
+var NP = (e, t) => (e.tags || []).some((e) => Un(e.k) === Un(t)), PP = (e, t) => ({
...e,
tags: (e.tags || []).filter((e) => Un(e.k) !== Un(t))
-}), LP = (e, t) => FP(e, t.k) ? e : {
+}), FP = (e, t) => NP(e, t.k) ? e : {
...e,
tags: [...e.tags || [], t]
-}, RP = "peach.recentTags";
-function zP() {
+}, IP = "peach.recentTags";
+function LP() {
try {
- let e = JSON.parse(localStorage.getItem(RP) || "[]");
+ let e = JSON.parse(localStorage.getItem(IP) || "[]");
return Array.isArray(e) ? e.map(String) : [];
} catch {
return [];
}
}
-function BP(e) {
+function RP(e) {
try {
- let t = zP().filter((t) => Un(t) !== Un(e));
- localStorage.setItem(RP, JSON.stringify([e, ...t].slice(0, 12)));
+ let t = LP().filter((t) => Un(t) !== Un(e));
+ localStorage.setItem(IP, JSON.stringify([e, ...t].slice(0, 12)));
} catch {}
}
-function Gue(e, t, n) {
+function Zue(e, t, n) {
let r = Un(e), i = new Map(t.map((e) => [Un(e.k), e])), a = t.filter((e) => !r || Un(e.k).includes(r)).slice(0, 120), o = r ? [] : n.map((e) => i.get(Un(e)) || {
k: e,
n: 0
@@ -34599,72 +34661,72 @@ function Gue(e, t, n) {
create: r && !s ? e.trim() : ""
};
}
-var Kue = {
+var Que = {
中字: "subtitle",
无码: "uncensored",
无码破解: "cracked",
有码: "censored"
-}, que = {
+}, $ue = {
mix: "Mix",
parts: "分卷",
editions: "版本",
playlist: "播放列表"
};
-function Jue(e) {
+function ede(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: que[e.kind],
+ title: $ue[e.kind],
summary: e.kind === "editions" ? n : `${e.title} · ${n}`
};
}
-var VP = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, Yue = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(VP(e.part_label))}</small>` : "";
-function Xue(e, t, n, r) {
+var zP = (e = "") => /^\d+$/.test(e) ? `第 ${e} 卷` : /^[a-h]$/i.test(e) ? `${e.toUpperCase()} 卷` : e, tde = (e, t) => (t?.kind === "parts" || t?.kind === "editions") && e.part_label ? `<small class="javedition partlabel">${z(zP(e.part_label))}</small>` : "";
+function nde(e, t, n, r) {
let i = e.filter((e) => e !== t), a = i.indexOf(n);
return i.splice(a + +!!r, 0, t), i;
}
-var Zue = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
-function Que(e, t) {
+var rde = (e, t) => e.length === t.length && e.every((e, n) => e === t[n]);
+function ide(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 $ue(e) {
+function ade(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 HP(e, t) {
+function BP(e, t) {
return e === "dislike" ? t.feedback === "dislike" ? "已标记不合口味" : "已取消不合口味" : e === "seen" ? t.feedback === "seen" ? "已标记看过" : "已取消看过" : e === "dispose" ? t.disposal === "trash" ? "已移入回收站" : "已移出回收站" : "已记录一次高潮";
}
// src/react/immerse/immerse.ts
-var ede = (e, t, n) => [
+var ode = (e, t, n) => [
"immerse-list",
e,
t,
n
];
-function tde(e) {
+function sde(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 nde = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));
-function rde(e, t = Math.random) {
+var cde = (e, t) => e.cost !== "metered" && !!e.duration && !t(String(e.root_id || e.location || ""));
+function lde(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 ide(e, t) {
- return rde(((await B(`/api/items?${e}`)).items || []).filter((e) => nde(e, t)));
+async function ude(e, t) {
+ return lde(((await B(`/api/items?${e}`)).items || []).filter((e) => cde(e, t)));
}
-var UP = (e) => H.ensureQueryData({
- queryKey: yP(e),
- queryFn: ({ signal: t }) => OP(e, t)
+var VP = (e) => H.ensureQueryData({
+ queryKey: _P(e),
+ queryFn: ({ signal: t }) => EP(e, t)
});
-function ade(e, t) {
+function dde(e, t) {
let n = new Set(e.map((e) => e.id));
return e.concat(t.filter((e) => !n.has(e.id)));
}
-function ode(e) {
+function fde(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,
@@ -34673,237 +34735,241 @@ function ode(e) {
ref: r && e.entity_refs?.[r]?.[0] || null
};
}
-function sde(e, t, n) {
+function pde(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 cde(e, t) {
+function mde(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 lde = 15e3, WP = {
+var hde = 15e3, HP = {
open: !1,
idle: !1,
wide: !1,
loading: null,
shown: null
-}, GP = null, KP = null, qP = WP, JP = /* @__PURE__ */ new Set(), YP = 0, XP = 0, ZP = 0, QP = "", $P = [], eF = 0, tF = !1, nF = !1, rF = null, iF = /* @__PURE__ */ new Set(), aF = "", oF = null, sF = 0, cF = null, lF = !1;
-function uF() {
- if (!GP) throw Error("沉浸模式还没有接上宿主(configureImmerse)");
- return GP;
+}, UP = null, WP = null, GP = HP, KP = /* @__PURE__ */ new Set(), qP = 0, JP = 0, YP = 0, XP = "", ZP = [], QP = 0, $P = !1, eF = !1, tF = null, nF = /* @__PURE__ */ new Set(), rF = "", iF = null, aF = 0, oF = null, sF = !1, cF = null;
+function lF() {
+ if (!UP) throw Error("沉浸模式还没有接上宿主(configureImmerse)");
+ return UP;
}
-function ude(e) {
- return JP.add(e), () => {
- JP.delete(e);
+function gde(e) {
+ return KP.add(e), () => {
+ KP.delete(e);
};
}
-function dde() {
- for (let e of [...JP]) e();
+function _de() {
+ for (let e of [...KP]) e();
}
-function dF() {
- (0, Rt.flushSync)(dde);
+function uF() {
+ (0, Rt.flushSync)(_de);
}
-function fF() {
- let e = oF ? cN(oF.id) : 0;
- return e ? `${aF} · ${uN(e)}` : aF;
+function dF() {
+ let e = iF ? iN(iF.id) : 0;
+ return e ? `${rF} · ${oN(e)}` : rF;
}
-function pF(e, t = null) {
- clearInterval(sF), sF = 0, e === null ? (qP = {
- ...qP,
+function fF(e, t = null) {
+ clearInterval(aF), aF = 0, e === null ? (GP = {
+ ...GP,
loading: null
- }, dF()) : (aF = e, oF = t, qP = {
- ...qP,
- loading: fF()
- }, dF(), sF = window.setInterval(() => {
- oF = $P[eF] ?? null, qP = {
- ...qP,
- loading: fF()
- }, dF();
+ }, uF()) : (rF = e, iF = t, GP = {
+ ...GP,
+ loading: dF()
+ }, uF(), aF = window.setInterval(() => {
+ iF = ZP[QP] ?? null, GP = {
+ ...GP,
+ loading: dF()
+ }, uF();
}, 500));
}
-function fde(e) {
+function vde(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), KP.track.append(t);
- let r = VN(), i = () => {}, a = {
+ n.className = "video-js", n.playsInline = !0, n.preload = "auto", t.append(n), WP.track.append(t);
+ let r = zN(), i = () => {}, a = {
el: t,
video: n,
session: r,
- release: () => WN(r),
+ release: () => HN(r),
disposed: !1,
gone: new Promise((e) => {
i = e;
}),
leave: i
};
- return iF.add(a), a;
+ return nF.add(a), a;
}
-function pde(e, t) {
+function yde(e, t) {
return new Promise((n) => {
- e.release = sP(e.video, {
+ e.release = aP(e.video, {
kind: "immerse",
item: t,
session: e.session,
onLoaded: n,
onEnded: () => {
- qP.open && bF(1);
+ GP.open && bF(1);
}
}), e.gone.then(n);
});
}
-function mF(e) {
- e && !e.disposed && (e.disposed = !0, iF.delete(e), e.leave(), e.release(), e.el.remove(), rF === e && (rF = null));
+function pF(e) {
+ e && !e.disposed && (e.disposed = !0, nF.delete(e), e.leave(), e.release(), e.el.remove(), tF === e && (tF = null));
}
-var hF = [
+var mF = [
"loadeddata",
"canplay",
"error"
];
-function mde(e) {
+function bde(e) {
let { video: t } = e;
return t.readyState >= 3 ? Promise.resolve() : new Promise((n) => {
let r = !1, i = () => {
- r || (r = !0, clearTimeout(a), hF.forEach((e) => t.removeEventListener(e, i)), n());
+ r || (r = !0, clearTimeout(a), mF.forEach((e) => t.removeEventListener(e, i)), n());
};
- hF.forEach((e) => t.addEventListener(e, i, { once: !0 }));
- let a = setTimeout(i, lde);
+ mF.forEach((e) => t.addEventListener(e, i, { once: !0 }));
+ let a = setTimeout(i, hde);
e.gone.then(i);
});
}
-function gF(e) {
- let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = sde(e.videoWidth, e.videoHeight, n);
+function hF(e) {
+ let t = e.closest("[data-immerse-track]"), n = t && t.clientWidth && t.clientHeight ? t.clientWidth / t.clientHeight : window.innerWidth / window.innerHeight, r = pde(e.videoWidth, e.videoHeight, n);
r === "contain" ? e.dataset.fit = "contain" : r && delete e.dataset.fit;
}
-var _F = () => KP?.track.querySelectorAll("video").forEach(gF);
-function hde(e) {
- delete e.dataset.fit, e.readyState >= 1 ? gF(e) : e.addEventListener("loadedmetadata", () => gF(e), { once: !0 });
+var gF = () => WP?.track.querySelectorAll("video").forEach(hF);
+function xde(e) {
+ delete e.dataset.fit, e.readyState >= 1 ? hF(e) : e.addEventListener("loadedmetadata", () => hF(e), { once: !0 });
}
-function gde(e) {
- qP = {
- ...qP,
+function Sde(e) {
+ GP = {
+ ...GP,
wide: e
- }, dF(), _F();
+ }, uF(), gF();
}
-var vF = () => {
- let e = QP;
+var _F = () => {
+ let e = XP;
return H.fetchQuery({
- queryKey: ede(e, XP, ZP),
- queryFn: () => ide(e, uF().sourceOffline),
+ queryKey: ode(e, JP, YP),
+ queryFn: () => ude(e, lF().sourceOffline),
staleTime: Infinity
});
};
-function _de(e, t) {
+function Cde(e, t) {
let n = () => qn(e.duration) || qn(t.duration);
e.addEventListener("timeupdate", () => {
let t = n();
- t && KP && (KP.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
- }), cF = {
+ t && WP && (WP.progress.style.width = `${(e.currentTime / t * 100).toFixed(2)}%`);
+ }), oF = {
video: e,
duration: n
- };
+ }, cF?.dispose(), cF = WP ? vN(WP.bar, t, { inset: 12 }) : null;
+}
+function vF(e) {
+ let t = oF?.duration();
+ cF && t && (cF.prime(), cF.show(e, t));
}
async function yF(e = 0) {
- let t = $P[eF];
- if (!t || tF) return;
- let n = YP;
- uF().route(t.id), tF = !0, pF(e ? "切换中" : "加载中", t);
+ let t = ZP[QP];
+ if (!t || $P) return;
+ let n = qP;
+ lF().route(t.id), $P = !0, fF(e ? "切换中" : "加载中", t);
let r = null;
try {
- if (await UP(t.id).catch((e) => {
- if (!(e instanceof DP)) throw e;
- }), n !== YP) return;
- let i = rF, a = !!(e && i);
- a || mF(i);
- let o = fde(a ? e > 0 ? 100 : -100 : 0);
- if (r = o, hde(o.video), await pde(o, t), await mde(o), o.disposed || (gde(cde(o.video, t)), a && i && (requestAnimationFrame(() => requestAnimationFrame(() => {
+ if (await VP(t.id).catch((e) => {
+ if (!(e instanceof TP)) throw e;
+ }), n !== qP) return;
+ let i = tF, a = !!(e && i);
+ a || pF(i);
+ let o = vde(a ? e > 0 ? 100 : -100 : 0);
+ if (r = o, xde(o.video), await yde(o, t), await bde(o), o.disposed || (Sde(mde(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)), mF(i), o.el.style.transform = ""), o.disposed)) return;
- rF = o, r = null, o.video.play()?.catch(() => {}), qP = {
- ...qP,
+ })), await new Promise((e) => setTimeout(e, 210)), pF(i), o.el.style.transform = ""), o.disposed)) return;
+ tF = o, r = null, o.video.play()?.catch(() => {}), GP = {
+ ...GP,
idle: !1,
shown: {
item: t,
- index: eF,
- length: $P.length
+ index: QP,
+ length: ZP.length
}
- }, _de(o.video, t), V("/api/play", { id: t.id }).catch(() => {}), pF(null);
+ }, Cde(o.video, t), V("/api/play", { id: t.id }).catch(() => {}), fF(null);
} catch {
- mF(r), n === YP && pF(null);
+ pF(r), n === qP && fF(null);
} finally {
- n === YP && (tF = !1);
+ n === qP && ($P = !1);
}
}
async function bF(e) {
- if (tF || !qP.open) return;
- let t = YP;
- if (eF += e, pF("切换中", $P[eF] ?? null), eF >= $P.length - 3 && !nF) {
- nF = !0;
+ if ($P || !GP.open) return;
+ let t = qP;
+ if (QP += e, fF("切换中", ZP[QP] ?? null), QP >= ZP.length - 3 && !eF) {
+ eF = !0;
try {
- ZP += 1;
- let e = await vF();
- t === YP && ($P = ade($P, e));
+ YP += 1;
+ let e = await _F();
+ t === qP && (ZP = dde(ZP, e));
} catch {} finally {
- nF = !1;
+ eF = !1;
}
}
- t === YP && (eF >= $P.length && (eF = 0), eF < 0 && (eF = $P.length - 1), await yF(e));
+ t === qP && (QP >= ZP.length && (QP = 0), QP < 0 && (QP = ZP.length - 1), await yF(e));
}
-async function vde(e) {
- let t = ++YP;
- xF(), XP += 1, ZP = 0, QP = tde(uF().filters()), H.removeQueries({ queryKey: ["immerse-list"] }), qP = {
- ...qP,
+async function wde(e) {
+ let t = ++qP;
+ xF(), JP += 1, YP = 0, XP = sde(lF().filters()), H.removeQueries({ queryKey: ["immerse-list"] }), GP = {
+ ...GP,
open: !0,
idle: !0,
shown: null
- }, document.body.setAttribute("data-immerse-open", ""), pF("加载内容");
+ }, document.body.setAttribute("data-immerse-open", ""), fF("加载内容");
try {
- let n = await vF();
+ let n = await _F();
if (e && !n.some((t) => t.id === e)) {
- let t = await UP(e).catch((e) => {
- if (e instanceof DP) return null;
+ let t = await VP(e).catch((e) => {
+ if (e instanceof TP) return null;
throw e;
});
t?.id && (n = [t, ...n.filter((t) => t.id !== e)]);
}
- if (t !== YP) return;
- if ($P = n, !$P.length) {
- SF(), uF().warn("当前筛选下没有可直接播放的内容");
+ if (t !== qP) return;
+ if (ZP = n, !ZP.length) {
+ SF(), lF().warn("当前筛选下没有可直接播放的内容");
return;
}
- eF = Math.max(0, $P.findIndex((t) => t.id === e)), await yF();
+ QP = Math.max(0, ZP.findIndex((t) => t.id === e)), await yF();
} catch {
- if (t !== YP) return;
- pF(null), SF();
+ if (t !== qP) return;
+ fF(null), SF();
}
}
function xF() {
- clearInterval(sF), sF = 0, OF(), EF = null, cF = null, lF = !1, [...iF].forEach(mF), tF = !1;
+ clearInterval(aF), aF = 0, OF(), EF = null, oF = null, sF = !1, cF?.dispose(), cF = null, [...nF].forEach(pF), $P = !1;
}
function SF() {
- qP.open && (YP++, xF(), qP = WP, document.body.removeAttribute("data-immerse-open"), dF(), uF().closed());
+ GP.open && (qP++, xF(), GP = HP, document.body.removeAttribute("data-immerse-open"), uF(), lF().closed());
}
var CF = 0, wF = null, TF = 0, EF = null, DF = 0;
function OF() {
clearTimeout(CF), CF = 0, wF = null;
}
-function yde(e) {
- let t = rF?.video;
+function Tde(e) {
+ let t = tF?.video;
if (!t) return;
let n = e < window.innerWidth / 2 ? -1 : 1, r = Date.now();
- wF && wF.side === n && r - wF.at <= 280 ? (OF(), lP(t, uF().seekSeconds() * n)) : (CF && (clearTimeout(CF), CF = 0, cP(t)), wF = {
+ wF && wF.side === n && r - wF.at <= 280 ? (OF(), sP(t, lF().seekSeconds() * n)) : (CF && (clearTimeout(CF), CF = 0, oP(t)), wF = {
side: n,
at: r
}, CF = window.setTimeout(() => {
- CF = 0, wF = null, qP.open && cP(rF?.video);
+ CF = 0, wF = null, GP.open && oP(tF?.video);
}, 280));
}
-function bde() {
- Date.now() < TF || cP(rF?.video);
+function Ede() {
+ Date.now() < TF || oP(tF?.video);
}
-var kF = (e) => KP?.bar.toggleAttribute("data-scrubbing", e);
+var kF = (e) => WP?.bar.toggleAttribute("data-scrubbing", e);
function AF(e) {
- KP && (KP.progress.style.width = `${(e * 100).toFixed(2)}%`);
+ WP && (WP.progress.style.width = `${(e * 100).toFixed(2)}%`);
}
function jF(e) {
let t = e.target;
@@ -34911,7 +34977,7 @@ function jF(e) {
EF = null;
return;
}
- let n = rF?.video;
+ let n = tF?.video;
EF = {
x: e.touches[0].clientX,
y: e.touches[0].clientY,
@@ -34927,52 +34993,55 @@ function MF(e) {
EF.axis = Math.abs(t) > Math.abs(n) ? "x" : "y", EF.axis === "x" && kF(!0);
}
if (EF.axis !== "x") return;
- let r = rF?.video, i = r && r.duration || 0;
- i && (e.preventDefault(), EF.to = Math.min(i, Math.max(0, EF.from + t / window.innerWidth * i)), AF(EF.to / i));
+ let r = tF?.video, i = r && r.duration || 0;
+ i && (e.preventDefault(), EF.to = Math.min(i, Math.max(0, EF.from + t / window.innerWidth * i)), AF(EF.to / i), vF(EF.to / i));
}
function NF(e) {
if (!EF) return;
let t = EF;
- if (EF = null, TF = Date.now() + 700, kF(!1), t.axis === "x") {
- let e = rF?.video;
+ if (EF = null, TF = Date.now() + 700, kF(!1), cF?.hide(), t.axis === "x") {
+ let e = tF?.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 ? (OF(), bF(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), yde(n.clientX));
+ Math.abs(i) > 60 ? (OF(), bF(i > 0 ? 1 : -1)) : Math.abs(r) <= 14 && Math.abs(i) <= 14 && (e.preventDefault(), Tde(n.clientX));
}
function PF() {
- EF = null, kF(!1);
+ EF = null, kF(!1), cF?.hide();
}
function FF(e) {
let t = Date.now();
t - DF < 260 || (DF = t, bF(e.deltaY > 0 ? 1 : -1));
}
function IF(e) {
- let t = KP.bar.getBoundingClientRect();
+ let t = WP.bar.getBoundingClientRect();
return Math.min(1, Math.max(0, (e.clientX - t.left) / t.width));
}
-function xde(e) {
- cF?.duration() && (lF = !0, kF(!0), e.currentTarget.setPointerCapture(e.pointerId), AF(IF(e)), e.preventDefault());
+function Dde(e) {
+ oF?.duration() && (sF = !0, kF(!0), e.currentTarget.setPointerCapture(e.pointerId), AF(IF(e)), vF(IF(e)), e.preventDefault());
}
-function Sde(e) {
- lF && AF(IF(e));
+function Ode(e) {
+ sF && AF(IF(e)), vF(IF(e));
+}
+function kde(e) {
+ if (e.pointerType !== "mouse" && cF?.hide(), !sF) return;
+ sF = !1, kF(!1);
+ let t = oF?.duration();
+ oF && t && (oF.video.currentTime = t * IF(e));
}
-function Cde(e) {
- if (!lF) return;
- lF = !1, kF(!1);
- let t = cF?.duration();
- cF && t && (cF.video.currentTime = t * IF(e));
+function Ade() {
+ sF = !1, kF(!1), cF?.hide();
}
-function wde() {
- lF = !1, kF(!1);
+function jde() {
+ sF || cF?.hide();
}
async function LF(e, t) {
- let n = await V(SP, {
+ let n = await V(bP, {
id: e,
kind: t
- }), r = H.getQueryData(yP(e));
- if (!r) return mP(e, {
+ }), r = H.getQueryData(_P(e));
+ if (!r) return fP(e, {
feedback: n.feedback ?? void 0,
o_count: n.o_count
}), n;
@@ -34981,7 +35050,7 @@ async function LF(e, t) {
feedback: n.feedback ?? void 0,
o_count: n.o_count
};
- return H.setQueryData(yP(e), i), mP(e, {
+ return H.setQueryData(_P(e), i), fP(e, {
feedback: i.feedback,
disposal: i.disposal,
watch_later: i.watch_later,
@@ -34989,7 +35058,7 @@ async function LF(e, t) {
o_count: i.o_count
}), n;
}
-var Tde = [
+var Mde = [
{
kind: "dislike",
glyph: "thumbs-down",
@@ -35008,29 +35077,29 @@ var Tde = [
];
function RF(e) {
return Ft({
- queryKey: yP(e ?? 0),
- queryFn: ({ signal: t }) => OP(e, t),
+ queryKey: _P(e ?? 0),
+ queryFn: ({ signal: t }) => EP(e, t),
enabled: e != null,
staleTime: Infinity
}).data;
}
-function Ede({ kind: e, glyph: t, label: n, id: r }) {
+function Nde({ kind: e, glyph: t, label: n, id: r }) {
let i = RF(r), a = It({
mutationFn: async (t) => {
- let n = H.getQueryData(yP(t))?.feedback || null;
+ let n = H.getQueryData(_P(t))?.feedback || null;
return {
result: await LF(t, e),
before: n
};
},
onSuccess: ({ result: t, before: n }, r) => {
- uF().toast(HP(e, t), { undo: async () => {
+ lF().toast(BP(e, t), { undo: async () => {
e === "o" ? await LF(r, "o-undo") : (t.feedback && await LF(r, t.feedback), n && await LF(r, n));
} }), e === "dislike" && t.feedback === "dislike" && setTimeout(() => {
bF(1);
}, 260);
},
- onError: (e) => uF().failure("更新反馈", e)
+ onError: (e) => lF().failure("更新反馈", e)
}), o = a.isPending, s = e !== "o" && i ? i.feedback === e ? "true" : "false" : void 0;
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-immerse-action": "",
@@ -35061,8 +35130,8 @@ function Ede({ kind: e, glyph: t, label: n, id: r }) {
})]
});
}
-function Dde({ shown: e }) {
- let t = e?.item ?? null, n = RF(t?.id ?? null), r = n ? ode(n) : null, i = uF(), a = (e) => {
+function Pde({ shown: e }) {
+ let t = e?.item ?? null, n = RF(t?.id ?? null), r = n ? fde(n) : null, i = lF(), a = (e) => {
e.preventDefault(), n && (SF(), n.performers?.[0] ? i.openEntity("performer", n.performers[0]) : n.creator ? i.openEntity("creator", n.creator) : i.openUnowned());
}, o = () => {
t && (SF(), i.openItem(t.id));
@@ -35094,18 +35163,18 @@ function Dde({ shown: e }) {
})]
});
}
-var Ode = { __html: Bs("媒体加载中") };
-function kde({ view: e }) {
+var Fde = { __html: Bs("媒体加载中") };
+function Ide({ view: e }) {
let t = (0, F.useRef)(null), n = (0, F.useRef)(null), r = (0, F.useRef)(null), i = (0, F.useRef)(null);
(0, F.useLayoutEffect)(() => {
let e = t.current;
- return KP = {
+ return WP = {
root: e,
track: n.current,
bar: r.current,
progress: i.current
}, e.addEventListener("touchstart", jF, { passive: !0 }), e.addEventListener("touchmove", MF, { passive: !1 }), e.addEventListener("touchend", NF, { passive: !1 }), e.addEventListener("touchcancel", PF, { passive: !0 }), e.addEventListener("wheel", FF, { passive: !0 }), () => {
- e.removeEventListener("touchstart", jF), e.removeEventListener("touchmove", MF), e.removeEventListener("touchend", NF), e.removeEventListener("touchcancel", PF), e.removeEventListener("wheel", FF), KP = null;
+ e.removeEventListener("touchstart", jF), e.removeEventListener("touchmove", MF), e.removeEventListener("touchend", NF), e.removeEventListener("touchcancel", PF), e.removeEventListener("wheel", FF), WP = null;
};
}, []);
let a = e.shown?.item.id ?? null, o = (e) => e ? "" : void 0;
@@ -35122,10 +35191,10 @@ function kde({ view: e }) {
children: [/* @__PURE__ */ (0, I.jsx)("div", {
ref: n,
"data-immerse-track": "",
- onClick: bde
+ onClick: Ede
}), /* @__PURE__ */ (0, I.jsx)("div", {
"data-immerse-actions": "",
- children: Tde.map((e) => /* @__PURE__ */ (0, I.jsx)(Ede, {
+ children: Mde.map((e) => /* @__PURE__ */ (0, I.jsx)(Nde, {
...e,
id: a
}, e.kind))
@@ -35138,7 +35207,7 @@ function kde({ view: e }) {
hidden: e.loading === null,
children: [/* @__PURE__ */ (0, I.jsx)("span", {
"data-immerse-spinner": "",
- dangerouslySetInnerHTML: Ode
+ dangerouslySetInnerHTML: Fde
}), /* @__PURE__ */ (0, I.jsx)("span", { children: e.loading ?? "" })]
}),
/* @__PURE__ */ (0, I.jsx)("button", {
@@ -35155,38 +35224,39 @@ function kde({ view: e }) {
/* @__PURE__ */ (0, I.jsx)("div", {
ref: r,
"data-immerse-bar": "",
- onPointerDown: xde,
- onPointerMove: Sde,
- onPointerUp: Cde,
- onPointerCancel: wde,
+ onPointerDown: Dde,
+ onPointerMove: Ode,
+ onPointerUp: kde,
+ onPointerCancel: Ade,
+ onPointerLeave: jde,
children: /* @__PURE__ */ (0, I.jsx)("i", { ref: i })
}),
- /* @__PURE__ */ (0, I.jsx)(Dde, { shown: e.shown })
+ /* @__PURE__ */ (0, I.jsx)(Pde, { shown: e.shown })
]
});
}
-var Ade = {
- open: vde,
+var Lde = {
+ open: wde,
close: SF,
- isOpen: () => qP.open,
- activeVideo: () => qP.open ? rF?.video ?? null : null
+ isOpen: () => GP.open,
+ activeVideo: () => GP.open ? tF?.video ?? null : null
};
-function jde(e) {
- if (!qP.open) return;
+function Rde(e) {
+ if (!GP.open) return;
let t = e.target;
t && (t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) || e.ctrlKey || e.metaKey || e.altKey || (e.key === "ArrowDown" && bF(1), e.key === "ArrowUp" && bF(-1));
}
-function Mde(e) {
- let t = !GP;
- return GP = e, t && (document.addEventListener("keydown", jde), addEventListener("resize", () => {
- qP.open && _F();
+function zde(e) {
+ let t = !UP;
+ return UP = e, t && (document.addEventListener("keydown", Rde), addEventListener("resize", () => {
+ GP.open && gF();
}), addEventListener("pagehide", () => {
- iF.forEach((e) => WN(e.session));
- })), Ade;
+ nF.forEach((e) => HN(e.session));
+ })), Lde;
}
-function Nde() {
- let e = (0, F.useSyncExternalStore)(ude, () => qP);
- return GP ? /* @__PURE__ */ (0, I.jsx)(kde, { view: e }) : null;
+function Bde() {
+ let e = (0, F.useSyncExternalStore)(gde, () => GP);
+ return UP ? /* @__PURE__ */ (0, I.jsx)(Ide, { view: e }) : null;
}
// src/manage-header.ts
var zF = {
@@ -35197,24 +35267,24 @@ var zF = {
"/trash": "回收站",
"/quality-goals": "高清版",
"/sources": "来源和凭证"
-}, Pde = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);
-function Fde(e) {
+}, Vde = /* @__PURE__ */ new Set(["/data-cleanup", "/sources"]);
+function Hde(e) {
let t = zF[e.path] ? "cleanup" : e.section;
return e.menu.some(([e]) => e === t) ? t : "";
}
-var Ide = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;
+var Ude = ({ total: e, shown: t }) => `${e.toLocaleString()} 个符合 · 显示 ${t.toLocaleString()}`;
function BF(e) {
let t = e.sections.find(([t]) => t === e.section);
if (!t) return null;
let n = zF[e.path] ?? "";
return {
title: e.section === "cleanup" && n || t[1],
- pressed: Fde(e),
+ pressed: Hde(e),
crumb: n,
- compact: Pde.has(e.path) || e.section === "configuration",
+ compact: Vde.has(e.path) || e.section === "configuration",
lede: e.section === "trash" ? e.trash ? {
kind: "count",
- text: Ide(e.trash),
+ text: Ude(e.trash),
total: e.trash.total
} : { kind: "skeleton" } : { kind: "none" }
};
@@ -35226,16 +35296,16 @@ var VF = (e) => e.replace(/[&<>"']/g, (e) => ({
"\"": "&quot;",
"'": "&#39;"
})[e]), HF = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${VF(e)}"/></svg>`, UF = "<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 Lde(e) {
+function Wde(e) {
let t = BF(e);
if (!t) return "";
let n = e.menu.map(([e, n, r]) => {
let i = e === t.pressed;
return `<button type="button" data-manage="${VF(e)}" data-pill-variant="gray" aria-pressed="${i}"${i ? " aria-current=\"page\" data-pill-selected=\"\"" : ""}>${HF(r)}<span>${VF(n)}</span></button>`;
- }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${HF("chevron-right")}</li><li aria-current="true"><span>${VF(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? UF : `<span data-lede-text="">${VF(t.lede.text)}</span>${t.lede.total ? Rde : ""}`}</p>`;
+ }).join(""), r = t.crumb ? `<nav data-manage-crumb="" aria-label="Breadcrumb"><ol><li><a href="/data-cleanup">数据管理</a>${HF("chevron-right")}</li><li aria-current="true"><span>${VF(t.crumb)}</span></li></ol></nav>` : "", i = t.lede.kind === "none" ? "" : `<p class="mono" data-manage-lede="">${t.lede.kind === "skeleton" ? UF : `<span data-lede-text="">${VF(t.lede.text)}</span>${t.lede.total ? Gde : ""}`}</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=\"\"" : ""}>${VF(t.title)}</h2>` + i;
}
-var Rde = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";
+var Gde = "<button type=\"button\" data-empty-trash=\"\" title=\"永久删除回收站内容\">清空回收站</button>";
// src/react/settings-panel/icon.tsx
function WF({ name: e }) {
let { wide: t, viewBox: n } = Cn(e);
@@ -35246,7 +35316,7 @@ function WF({ name: e }) {
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
}
-function zde({ name: e }) {
+function Kde({ name: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -35254,30 +35324,30 @@ function zde({ name: e }) {
});
}
// node_modules/tailwind-merge/dist/bundle-mjs.mjs
-var Bde = (e, t) => {
+var qde = (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;
-}, Vde = (e, t) => ({
+}, Jde = (e, t) => ({
classGroupId: e,
validator: t
}), GF = (e = /* @__PURE__ */ new Map(), t = null, n) => ({
nextPart: e,
validators: t,
classGroupId: n
-}), KF = "-", qF = [], Hde = "arbitrary..", Ude = (e) => {
- let t = Gde(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
+}), KF = "-", qF = [], Yde = "arbitrary..", Xde = (e) => {
+ let t = Qde(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
return {
getClassGroupId: (e) => {
- if (e.startsWith("[") && e.endsWith("]")) return Wde(e);
+ if (e.startsWith("[") && e.endsWith("]")) return Zde(e);
let n = e.split(KF);
return JF(n, +(n[0] === "" && n.length > 1), t);
},
getConflictingClassGroupIds: (e, t) => {
if (t) {
let t = r[e], i = n[e];
- return t ? i ? Bde(i, t) : t : i || qF;
+ return t ? i ? qde(i, t) : t : i || qF;
}
return n[e] || qF;
}
@@ -35296,13 +35366,13 @@ var Bde = (e, t) => {
let t = a[e];
if (t.validator(o)) return t.classGroupId;
}
-}, Wde = (e) => e.slice(1, -1).indexOf(":") === -1 ? void 0 : (() => {
+}, Zde = (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 ? Hde + r : void 0;
-})(), Gde = (e) => {
+ return r ? Yde + r : void 0;
+})(), Qde = (e) => {
let { theme: t, classGroups: n } = e;
- return Kde(n, t);
-}, Kde = (e, t) => {
+ return $de(n, t);
+}, $de = (e, t) => {
let n = GF();
for (let r in e) {
let i = e[r];
@@ -35313,16 +35383,16 @@ var Bde = (e, t) => {
let i = e.length;
for (let a = 0; a < i; a++) {
let i = e[a];
- qde(i, t, n, r);
+ efe(i, t, n, r);
}
-}, qde = (e, t, n, r) => {
- typeof e == "string" ? Jde(e, t, n) : typeof e == "function" ? Yde(e, t, n, r) : Xde(e, t, n, r);
-}, Jde = (e, t, n) => {
+}, efe = (e, t, n, r) => {
+ typeof e == "string" ? tfe(e, t, n) : typeof e == "function" ? nfe(e, t, n, r) : rfe(e, t, n, r);
+}, tfe = (e, t, n) => {
let r = e === "" ? t : XF(t, e);
r.classGroupId = n;
-}, Yde = (e, t, n, r) => {
- Zde(e) ? YF(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(Vde(n, e)));
-}, Xde = (e, t, n, r) => {
+}, nfe = (e, t, n, r) => {
+ ife(e) ? YF(e(r), t, n, r) : (t.validators === null && (t.validators = []), t.validators.push(Jde(n, e)));
+}, rfe = (e, t, n, r) => {
let i = Object.entries(e), a = i.length;
for (let e = 0; e < a; e++) {
let [a, o] = i[e];
@@ -35335,7 +35405,7 @@ var Bde = (e, t) => {
i || (i = GF(), n.nextPart.set(t, i)), n = i;
}
return n;
-}, Zde = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, Qde = (e) => {
+}, ife = (e) => "isThemeGetter" in e && e.isThemeGetter === !0, afe = (e) => {
if (e < 1) return {
get: () => void 0,
set: () => {}
@@ -35353,13 +35423,13 @@ var Bde = (e, t) => {
e in n ? n[e] = t : i(e, t);
}
};
-}, ZF = "!", QF = ":", $de = [], $F = (e, t, n, r, i) => ({
+}, ZF = "!", QF = ":", ofe = [], $F = (e, t, n, r, i) => ({
modifiers: e,
hasImportantModifier: t,
baseClassName: n,
maybePostfixModifierPosition: r,
isExternal: i
-}), efe = (e) => {
+}), sfe = (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++) {
@@ -35383,7 +35453,7 @@ var Bde = (e, t) => {
};
if (t) {
let e = t + QF, n = r;
- r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : $F($de, !1, t, void 0, !0);
+ r = (t) => t.startsWith(e) ? n(t.slice(e.length)) : $F(ofe, !1, t, void 0, !0);
}
if (n) {
let e = r;
@@ -35393,7 +35463,7 @@ var Bde = (e, t) => {
});
}
return r;
-}, tfe = (e) => {
+}, cfe = (e) => {
let t = /* @__PURE__ */ new Map();
return e.orderSensitiveModifiers.forEach((e, n) => {
t.set(e, 1e6 + n);
@@ -35405,18 +35475,18 @@ var Bde = (e, t) => {
}
return r.length > 0 && (r.sort(), n.push(...r)), n;
};
-}, nfe = (e) => ({
- cache: Qde(e.cacheSize),
- parseClassName: efe(e),
- sortModifiers: tfe(e),
- postfixLookupClassGroupIds: rfe(e),
- ...Ude(e)
-}), rfe = (e) => {
+}, lfe = (e) => ({
+ cache: afe(e.cacheSize),
+ parseClassName: sfe(e),
+ sortModifiers: cfe(e),
+ postfixLookupClassGroupIds: ufe(e),
+ ...Xde(e)
+}), ufe = (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;
-}, ife = /\s+/, afe = (e, t) => {
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(ife), l = "";
+}, dfe = /\s+/, ffe = (e, t) => {
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i, sortModifiers: a, postfixLookupClassGroupIds: o } = t, s = [], c = e.trim().split(dfe), 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) {
@@ -35447,7 +35517,7 @@ var Bde = (e, t) => {
l = t + (l.length > 0 ? " " + l : l);
}
return l;
-}, ofe = (...e) => {
+}, pfe = (...e) => {
let t = 0, n, r, i = "";
for (; t < e.length;) (n = e[t++]) && (r = eI(n)) && (i && (i += " "), i += r);
return i;
@@ -35457,23 +35527,23 @@ var Bde = (e, t) => {
for (let r = 0; r < e.length; r++) e[r] && (t = eI(e[r])) && (n && (n += " "), n += t);
return n;
}, tI = (e, ...t) => {
- let n, r, i, a, o = (o) => (n = nfe(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o)), s = (e) => {
+ let n, r, i, a, o = (o) => (n = lfe(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 = afe(e, n);
+ let a = ffe(e, n);
return i(e, a), a;
};
- return a = o, (...e) => a(ofe(...e));
-}, sfe = [], nI = (e) => {
- let t = (t) => t[e] || sfe;
+ return a = o, (...e) => a(pfe(...e));
+}, mfe = [], nI = (e) => {
+ let t = (t) => t[e] || mfe;
return t.isThemeGetter = !0, t.themeKey = e, t;
-}, rI = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, iI = /^\((?:(\w[\w-]*):)?(.+)\)$/i, cfe = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, lfe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ufe = /\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$/, dfe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, ffe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, pfe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, aI = (e) => cfe.test(e), oI = (e) => !!e && !Number.isNaN(Number(e)), sI = (e) => !!e && Number.isInteger(Number(e)), cI = (e) => e.endsWith("%") && oI(e.slice(0, -1)), lI = (e) => lfe.test(e), uI = () => !0, mfe = (e) => ufe.test(e) && !dfe.test(e), dI = () => !1, hfe = (e) => ffe.test(e), gfe = (e) => pfe.test(e), _fe = (e) => !fI(e) && !_I(e), vfe = (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)), yfe = (e) => SI(e, EI, dI), fI = (e) => rI.test(e), pI = (e) => SI(e, DI, mfe), mI = (e) => SI(e, Efe, oI), bfe = (e) => SI(e, kI, uI), xfe = (e) => SI(e, OI, dI), hI = (e) => SI(e, wI, dI), Sfe = (e) => SI(e, TI, gfe), gI = (e) => SI(e, AI, hfe), _I = (e) => iI.test(e), vI = (e) => CI(e, DI), yI = (e) => CI(e, OI), bI = (e) => CI(e, wI), Cfe = (e) => CI(e, EI), wfe = (e) => CI(e, TI), xI = (e) => CI(e, AI, !0), Tfe = (e) => CI(e, kI, !0), SI = (e, t, n) => {
+}, rI = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, iI = /^\((?:(\w[\w-]*):)?(.+)\)$/i, hfe = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/, gfe = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, _fe = /\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$/, vfe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix|color|light-dark)\(.+\)$/, yfe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, bfe = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, aI = (e) => hfe.test(e), oI = (e) => !!e && !Number.isNaN(Number(e)), sI = (e) => !!e && Number.isInteger(Number(e)), cI = (e) => e.endsWith("%") && oI(e.slice(0, -1)), lI = (e) => gfe.test(e), uI = () => !0, xfe = (e) => _fe.test(e) && !vfe.test(e), dI = () => !1, Sfe = (e) => yfe.test(e), Cfe = (e) => bfe.test(e), wfe = (e) => !fI(e) && !_I(e), Tfe = (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)), Efe = (e) => xI(e, TI, dI), fI = (e) => rI.test(e), pI = (e) => xI(e, EI, xfe), mI = (e) => xI(e, Pfe, oI), Dfe = (e) => xI(e, OI, uI), Ofe = (e) => xI(e, DI, dI), hI = (e) => xI(e, CI, dI), kfe = (e) => xI(e, wI, Cfe), gI = (e) => xI(e, kI, Sfe), _I = (e) => iI.test(e), vI = (e) => SI(e, EI), Afe = (e) => SI(e, DI), yI = (e) => SI(e, CI), jfe = (e) => SI(e, TI), Mfe = (e) => SI(e, wI), bI = (e) => SI(e, kI, !0), Nfe = (e) => SI(e, OI, !0), xI = (e, t, n) => {
let r = rI.exec(e);
return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
-}, CI = (e, t, n = !1) => {
+}, SI = (e, t, n = !1) => {
let r = iI.exec(e);
return r ? r[1] ? t(r[1]) : n : !1;
-}, wI = (e) => e === "position" || e === "percentage", TI = (e) => e === "image" || e === "url", EI = (e) => e === "length" || e === "size" || e === "bg-size", DI = (e) => e === "length", Efe = (e) => e === "number", OI = (e) => e === "family-name", kI = (e) => e === "number" || e === "weight", AI = (e) => e === "shadow", jI = () => {
+}, CI = (e) => e === "position" || e === "percentage", wI = (e) => e === "image" || e === "url", TI = (e) => e === "length" || e === "size" || e === "bg-size", EI = (e) => e === "length", Pfe = (e) => e === "number", DI = (e) => e === "family-name", OI = (e) => e === "number" || e === "weight", kI = (e) => e === "shadow", AI = () => {
let e = nI("color"), t = nI("font"), n = nI("text"), r = nI("font-weight"), i = nI("tracking"), a = nI("leading"), o = nI("breakpoint"), s = nI("container"), c = nI("spacing"), l = nI("radius"), u = nI("shadow"), d = nI("inset-shadow"), f = nI("text-shadow"), p = nI("drop-shadow"), m = nI("blur"), h = nI("perspective"), g = nI("aspect"), _ = nI("ease"), v = nI("animate"), y = () => [
"auto",
"avoid",
@@ -35611,7 +35681,7 @@ var Bde = (e, t) => {
fI
], ne = () => [
...b(),
- bI,
+ yI,
hI,
{ position: [_I, fI] }
], re = () => ["no-repeat", { repeat: [
@@ -35624,8 +35694,8 @@ var Bde = (e, t) => {
"auto",
"cover",
"contain",
- Cfe,
- yfe,
+ jfe,
+ Efe,
{ size: [_I, fI] }
], I = () => [
cI,
@@ -35668,7 +35738,7 @@ var Bde = (e, t) => {
], ce = () => [
oI,
cI,
- bI,
+ yI,
hI
], le = () => [
"",
@@ -35715,7 +35785,7 @@ var Bde = (e, t) => {
"out",
"in-out"
],
- font: [_fe],
+ font: [wfe],
"font-weight": [
"thin",
"extralight",
@@ -35775,7 +35845,7 @@ var Bde = (e, t) => {
_I,
fI
] }],
- "container-named": [vfe],
+ "container-named": [Tfe],
columns: [{ columns: [
oI,
"auto",
@@ -36040,8 +36110,8 @@ var Bde = (e, t) => {
"font-style": ["italic", "not-italic"],
"font-weight": [{ font: [
r,
- Tfe,
- bfe
+ Nfe,
+ Dfe
] }],
"font-stretch": [{ "font-stretch": [
"ultra-condensed",
@@ -36057,8 +36127,8 @@ var Bde = (e, t) => {
fI
] }],
"font-family": [{ font: [
- yI,
- xfe,
+ Afe,
+ Ofe,
t
] }],
"font-features": [{ "font-features": [fI] }],
@@ -36241,8 +36311,8 @@ var Bde = (e, t) => {
fI
]
},
- wfe,
- Sfe
+ Mfe,
+ kfe
] }],
"bg-color": [{ bg: P() }],
"gradient-from-pos": [{ from: I() }],
@@ -36325,14 +36395,14 @@ var Bde = (e, t) => {
"inner",
"none",
u,
- xI,
+ bI,
gI
] }],
"shadow-color": [{ shadow: P() }],
"inset-shadow": [{ "inset-shadow": [
"none",
d,
- xI,
+ bI,
gI
] }],
"inset-shadow-color": [{ "inset-shadow": P() }],
@@ -36346,7 +36416,7 @@ var Bde = (e, t) => {
"text-shadow": [{ "text-shadow": [
"none",
f,
- xI,
+ bI,
gI
] }],
"text-shadow-color": [{ "text-shadow": P() }],
@@ -36463,7 +36533,7 @@ var Bde = (e, t) => {
"",
"none",
p,
- xI,
+ bI,
gI
] }],
"drop-shadow-color": [{ "drop-shadow": P() }],
@@ -37027,16 +37097,16 @@ var Bde = (e, t) => {
"selection"
]
};
-}, Dfe = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (MI(e, "cacheSize", t), MI(e, "prefix", n), MI(e, "experimentalParseClassName", r), NI(e.theme, a.theme), NI(e.classGroups, a.classGroups), NI(e.conflictingClassGroups, a.conflictingClassGroups), NI(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), MI(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), MI(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), PI(e.theme, i.theme), PI(e.classGroups, i.classGroups), PI(e.conflictingClassGroups, i.conflictingClassGroups), PI(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), FI(e, i, "postfixLookupClassGroups"), FI(e, i, "orderSensitiveModifiers"), e), MI = (e, t, n) => {
+}, Ffe = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (jI(e, "cacheSize", t), jI(e, "prefix", n), jI(e, "experimentalParseClassName", r), MI(e.theme, a.theme), MI(e.classGroups, a.classGroups), MI(e.conflictingClassGroups, a.conflictingClassGroups), MI(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), jI(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), jI(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), NI(e.theme, i.theme), NI(e.classGroups, i.classGroups), NI(e.conflictingClassGroups, i.conflictingClassGroups), NI(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), PI(e, i, "postfixLookupClassGroups"), PI(e, i, "orderSensitiveModifiers"), e), jI = (e, t, n) => {
n !== void 0 && (e[t] = n);
+}, MI = (e, t) => {
+ if (t) for (let n in t) jI(e, n, t[n]);
}, NI = (e, t) => {
- if (t) for (let n in t) MI(e, n, t[n]);
-}, PI = (e, t) => {
- if (t) for (let n in t) FI(e, t, n);
-}, FI = (e, t, n) => {
+ if (t) for (let n in t) PI(e, t, n);
+}, PI = (e, t, n) => {
let r = t[n];
r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);
-}, Ofe = (e, ...t) => typeof e == "function" ? tI(jI, e, ...t) : tI(() => Dfe(jI(), e), ...t), kfe = [
+}, Ife = (e, ...t) => typeof e == "function" ? tI(AI, e, ...t) : tI(() => Ffe(AI(), e), ...t), Lfe = [
"large-title",
"display-1",
"display-2",
@@ -37050,17 +37120,17 @@ var Bde = (e, t) => {
"body-2",
"caption-1",
"caption-2"
-], Afe = [
+], Rfe = [
"regular",
"medium",
"semibold",
"bold"
-], q = Ofe({ extend: { classGroups: { "font-size": [{ text: kfe.flatMap((e) => Afe.map((t) => `${e}-${t}`)) }] } } });
-function II(e) {
+], q = Ife({ extend: { classGroups: { "font-size": [{ text: Lfe.flatMap((e) => Rfe.map((t) => `${e}-${t}`)) }] } } });
+function FI(e) {
return e;
}
// src/react/components/pill-tab.tsx
-var jfe = typeof window < "u" ? F.useLayoutEffect : F.useEffect, LI = II({
+var zfe = typeof window < "u" ? F.useLayoutEffect : F.useEffect, II = FI({
radius: {
blue: "rounded-full",
gray: "rounded-2lg"
@@ -37082,9 +37152,9 @@ var jfe = typeof window < "u" ? F.useLayoutEffect : F.useEffect, LI = II({
gray: "text-text-primary"
}
});
-function RI({ children: e, className: t, ref: n, container: r, ...i }) {
+function LI({ children: e, className: t, ref: n, container: r, ...i }) {
let a = (0, F.useRef)(null), [o, s] = (0, F.useState)(null);
- jfe(() => {
+ zfe(() => {
let e = r === void 0 ? a.current : r;
if (!e) return;
let t = () => {
@@ -37120,7 +37190,7 @@ function RI({ children: e, className: t, ref: n, container: r, ...i }) {
}, l = o && /* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
"data-pill-thumb": "",
- className: q("pointer-events-none absolute left-0 top-0", LI.radius[o.variant], LI.thumb[o.variant]),
+ className: q("pointer-events-none absolute left-0 top-0", II.radius[o.variant], II.thumb[o.variant]),
style: {
"--pill-left": `${o.left}px`,
"--pill-top": `${o.top}px`,
@@ -37137,37 +37207,37 @@ function RI({ children: e, className: t, ref: n, container: r, ...i }) {
}) : r ? (0, Rt.createPortal)(l, r) : null;
}
// src/react/manage-header/manage-header-island.tsx
-var zI = null, BI = null, VI = /* @__PURE__ */ new Set();
-function Mfe(e) {
- return VI.add(e), () => {
- VI.delete(e);
+var RI = null, zI = null, BI = /* @__PURE__ */ new Set();
+function Bfe(e) {
+ return BI.add(e), () => {
+ BI.delete(e);
};
}
-function Nfe() {
- for (let e of [...VI]) e();
+function Vfe() {
+ for (let e of [...BI]) e();
}
-var Pfe = { render(e) {
- BI = e, (0, Rt.flushSync)(Nfe);
+var Hfe = { render(e) {
+ zI = e, (0, Rt.flushSync)(Vfe);
} };
-function Ffe(e) {
- return zI = e, BI = null, Pfe;
+function Ufe(e) {
+ return RI = e, zI = null, Hfe;
}
-function Ife() {
- let e = (0, F.useSyncExternalStore)(Mfe, () => BI);
- return zI && e ? /* @__PURE__ */ (0, I.jsx)(Lfe, {
- host: zI,
+function Wfe() {
+ let e = (0, F.useSyncExternalStore)(Bfe, () => zI);
+ return RI && e ? /* @__PURE__ */ (0, I.jsx)(Gfe, {
+ host: RI,
props: e
}) : null;
}
-function Lfe({ host: e, props: t }) {
+function Gfe({ host: e, props: t }) {
let n = BF(t);
return n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(Rfe, {
+ /* @__PURE__ */ (0, I.jsx)(Kfe, {
host: e,
pressed: n.pressed,
menu: t.menu
}),
- n.crumb ? /* @__PURE__ */ (0, I.jsx)(zfe, {
+ n.crumb ? /* @__PURE__ */ (0, I.jsx)(qfe, {
host: e,
label: n.crumb
}) : null,
@@ -37176,13 +37246,13 @@ function Lfe({ host: e, props: t }) {
"data-compact": n.compact ? "" : void 0,
children: n.title
}),
- n.lede.kind === "none" ? null : /* @__PURE__ */ (0, I.jsx)(Bfe, {
+ n.lede.kind === "none" ? null : /* @__PURE__ */ (0, I.jsx)(Jfe, {
host: e,
lede: n.lede
})
] }) : null;
}
-function Rfe({ host: e, pressed: t, menu: n }) {
+function Kfe({ host: e, pressed: t, menu: n }) {
let r = (0, F.useRef)(null);
return (0, F.useLayoutEffect)(() => {
let e = r.current, t = e?.querySelector("button[aria-pressed=\"true\"]");
@@ -37192,7 +37262,7 @@ function Rfe({ host: e, pressed: t, menu: n }) {
}, [t, n]), /* @__PURE__ */ (0, I.jsx)("nav", {
"data-manage-bar": "",
"aria-label": "管理",
- children: /* @__PURE__ */ (0, I.jsx)(RI, {
+ children: /* @__PURE__ */ (0, I.jsx)(LI, {
ref: r,
"data-manage-menu": "",
"data-pill-nav": "",
@@ -37212,7 +37282,7 @@ function Rfe({ host: e, pressed: t, menu: n }) {
})
});
}
-function zfe({ host: e, label: t }) {
+function qfe({ host: e, label: t }) {
return /* @__PURE__ */ (0, I.jsx)("nav", {
"data-manage-crumb": "",
"aria-label": "当前位置",
@@ -37228,14 +37298,14 @@ function zfe({ host: e, label: t }) {
})] })
});
}
-function Bfe({ host: e, lede: t }) {
+function Jfe({ host: e, lede: t }) {
return /* @__PURE__ */ (0, I.jsx)("p", {
className: "mono",
"data-manage-lede": "",
children: t.kind === "skeleton" ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-trash-lede-skeletons": "",
dangerouslySetInnerHTML: { __html: UF }
- }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Vfe, { text: t.text }), t.total ? /* @__PURE__ */ (0, I.jsx)("button", {
+ }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Yfe, { text: t.text }), t.total ? /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-empty-trash": "",
"data-danger": "",
@@ -37245,7 +37315,7 @@ function Bfe({ host: e, lede: t }) {
}) : null] })
});
}
-function Vfe({ text: e }) {
+function Yfe({ text: e }) {
let t = (0, F.useRef)(null);
return (0, F.useLayoutEffect)(() => {
Js(t.current, e);
@@ -37255,29 +37325,29 @@ function Vfe({ text: e }) {
});
}
// src/core/text-lang.ts
-var Hfe = /[぀-ヿㇰ-ㇿヲ-゚]/, Ufe = /[㐀-鿿豈-﫿]/, Wfe = /[A-Za-z]/;
-function HI(e) {
+var Xfe = /[぀-ヿㇰ-ㇿヲ-゚]/, Zfe = /[㐀-鿿豈-﫿]/, Qfe = /[A-Za-z]/;
+function VI(e) {
let t = String(e ?? "");
- if (Hfe.test(t)) return "ja";
- if (!Ufe.test(t) && Wfe.test(t)) return "en";
+ if (Xfe.test(t)) return "ja";
+ if (!Zfe.test(t) && Qfe.test(t)) return "en";
}
-var Gfe = (e) => {
- let t = HI(e);
+var $fe = (e) => {
+ let t = VI(e);
return t ? ` lang="${t}"` : "";
-}, Kfe = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, qfe = (e, t = e?.name) => {
+}, epe = /\.(?:mp4|mkv|avi|wmv|mov|m4v|webm|ts|m2ts|mts|mpg|mpeg|flv|rm|rmvb|iso)$/i, tpe = (e, t = e?.name) => {
let n = String(t || "").trim();
- return e?.is_jav ? n.replace(Kfe, "") : n;
-}, Jfe = (e) => /[぀-ヿ㐀-鿿]/.test(String(e || "")), Yfe = (e) => {
+ return e?.is_jav ? n.replace(epe, "") : n;
+}, npe = (e) => /[぀-ヿ㐀-鿿]/.test(String(e || "")), rpe = (e) => {
let t = [e?.catalog_title, e?.original_title].map((e) => String(e || "").trim()).filter(Boolean);
- return t.find(Jfe) || t[0] || "";
+ return t.find(npe) || t[0] || "";
};
-function UI(e, t = e?.name) {
- let n = qfe(e, t), r = String(e?.code || "").trim().toUpperCase();
+function HI(e, t = e?.name) {
+ let n = tpe(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 = Yfe(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 = rpe(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) => [
"中字",
"无码",
"无码破解"
@@ -37288,23 +37358,23 @@ function UI(e, t = e?.name) {
badges: f
};
}
-var WI = (e, t = e?.name) => {
- let { code: n, title: r, badges: i = [] } = UI(e, t);
+var UI = (e, t = e?.name) => {
+ let { code: n, title: r, badges: i = [] } = HI(e, t);
return n ? [
n,
...i,
r
].filter(Boolean).join(" ") : r;
};
-function GI(e, t = e?.name) {
- let { code: n, title: r, badges: i = [] } = UI(e, t);
+function WI(e, t = e?.name) {
+ let { code: n, title: r, badges: i = [] } = HI(e, t);
if (!n) return z(r);
let a = i.map((e) => `<small class="javedition ${e === "中字" ? "subtitle" : e === "无码" ? "uncensored" : e === "无码破解" ? "cracked" : "quality"}">${z(e)}</small>`).join("");
- return `<span class="ui-javidentity"><strong class="ui-javcode">${z(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle"${Gfe(r)}>${z(r)}</span>` : ""}`;
+ return `<span class="ui-javidentity"><strong class="ui-javcode">${z(n)}</strong>${a}</span>${r ? ` <span class="ui-javtitle"${$fe(r)}>${z(r)}</span>` : ""}`;
}
// src/react/activity/tasks.ts
-var KI = "/api/tasks", qI = ["tasks"];
-function Xfe(e, t) {
+var GI = "/api/tasks", KI = ["tasks"];
+function ipe(e, t) {
let n = 0, r = 0, i = 0, a = 0;
for (let o of t) for (let [t, s] of Object.entries(e?.[String(o.id)] || {})) n += s, (t === "pending" || t === "running") && (r += s), (t === "failed" || t === "interrupted") && (i += s), t === "cancelled" && (a += s);
return {
@@ -37315,7 +37385,7 @@ function Xfe(e, t) {
settled: n - r
};
}
-function Zfe(e) {
+function ape(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
let e = t.get(n.task_key);
@@ -37326,11 +37396,11 @@ function Zfe(e) {
}
return [...t.values()];
}
-var Qfe = (e, t) => B(`${KI}?${new URLSearchParams({
+var ope = (e, t) => B(`${GI}?${new URLSearchParams({
before_finished_at: e.finished_at || "",
before_id: String(e.id)
})}`, t);
-function $fe(...e) {
+function spe(...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) => {
@@ -37338,26 +37408,26 @@ function $fe(...e) {
return n === r ? t.id - e.id : n < r ? 1 : -1;
});
}
-var epe = 2e3, tpe = 1e4, JI = (e) => e?.running?.length ? epe : tpe, YI = (e) => B(KI, e), npe = (e, t, n) => V(`${KI}/${e}/control`, { action: t }, "POST", n);
-async function rpe(e) {
+var cpe = 2e3, lpe = 1e4, qI = (e) => e?.running?.length ? cpe : lpe, JI = (e) => B(GI, e), upe = (e, t, n) => V(`${GI}/${e}/control`, { action: t }, "POST", n);
+async function dpe(e) {
await H.fetchQuery({
- queryKey: qI,
- queryFn: () => YI(e)
+ queryKey: KI,
+ queryFn: () => JI(e)
});
}
-var ipe = {
+var fpe = {
manual: "手动",
scheduled: "定时",
startup: "启动",
cli: "命令行"
-}, ape = {
+}, ppe = {
pending: "排队中",
running: "进行中",
succeeded: "已完成",
failed: "失败",
cancelled: "已取消",
interrupted: "意外中断"
-}, ope = (e) => ape[e] || e, XI = {
+}, mpe = (e) => ppe[e] || e, YI = {
checked: "已检查",
total: "总数",
scanned: "已扫描",
@@ -37434,7 +37504,7 @@ var ipe = {
without_code: "未识别番号",
incomplete: "资料或封面未取得",
result: "结果"
-}, spe = [
+}, hpe = [
"gone_count",
"unclear_count",
"source_failed",
@@ -37456,14 +37526,14 @@ var ipe = {
"paused_count",
"miss",
"incomplete"
-], cpe = ["face_match_unavailable"], ZI = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || cpe.some((t) => e.result_summary?.[t] === !0) || spe.some((t) => Number(e.result_summary?.[t]) > 0);
-function lpe(e) {
+], gpe = ["face_match_unavailable"], XI = (e) => e.result_summary?.ok === !1 || !!e.result_summary?.error || gpe.some((t) => e.result_summary?.[t] === !0) || hpe.some((t) => Number(e.result_summary?.[t]) > 0);
+function _pe(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 QI = /* @__PURE__ */ new Set(["library-processing"]);
-function upe(e, t = !0) {
- if (!ZI(e) && e.status !== "failed" || QI.has(e.task_key) && !t) return null;
+var ZI = /* @__PURE__ */ new Set(["library-processing"]);
+function vpe(e, t = !0) {
+ if (!XI(e) && e.status !== "failed" || ZI.has(e.task_key) && !t) return null;
let n = {
"link-check": ["/data-cleanup#link-manager", "查看有问题的链接"],
"link-prune": ["/data-cleanup#link-manager", "查看有问题的链接"],
@@ -37481,19 +37551,19 @@ function upe(e, t = !0) {
label: n[1]
} : null;
}
-function dpe(e) {
+function ype(e) {
let t = e.result_summary?.asset_id, n = e.result_summary?.name;
return typeof t == "number" && Number.isInteger(t) && t > 0 && typeof n == "string" && n ? {
href: `/assets/${t}`,
label: n
} : null;
}
-function fpe(e) {
+function bpe(e) {
let t = /* @__PURE__ */ new Map();
- for (let n of e) QI.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) ZI.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 ppe(e) {
+function xpe(e) {
let t = /* @__PURE__ */ new Map();
for (let n of e) {
if (!n.followup_key || n.parent_run_id == null) continue;
@@ -37502,7 +37572,7 @@ function ppe(e) {
}
return t;
}
-function mpe(e, t) {
+function Spe(e, t) {
let n = [], r = /* @__PURE__ */ new Map();
for (let i of e) {
if (!t(i)) {
@@ -37524,12 +37594,12 @@ function mpe(e, t) {
}
return n;
}
-var hpe = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !ZI(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), $I = (e) => e.status === "pending" || e.status === "running";
-function gpe(e) {
+var Cpe = (e) => e.trigger === "scheduled" && e.status === "succeeded" && !e.error && !XI(e) && !(Number(e.result_summary?.added) > 0) && !(Number(e.result_summary?.followups) > 0), QI = (e) => e.status === "pending" || e.status === "running";
+function wpe(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, nL(e.error) || Cpe(o) || ($I(e) && i > 0 ? `${tL(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");
+ return [r, tL(e.error) || jpe(o) || (QI(e) && i > 0 ? `${eL(e.progress_current, i)} 项` : "")].filter(Boolean).join(" · ");
}
-function eL(e) {
+function $I(e) {
if (typeof e != "number" || !Number.isFinite(e) || e < 0) return "";
let t = Math.floor(e);
if (t < 60) return `${t} 秒`;
@@ -37538,19 +37608,19 @@ function eL(e) {
let r = Math.floor(n / 60);
return r < 48 ? `${r} 小时 ${n % 60} 分` : `${Math.floor(r / 24).toLocaleString()} 天 ${r % 24} 小时`;
}
-function tL(e, t) {
+function eL(e, t) {
let n = Math.max(0, Number(t) || 0);
return `${Math.min(n, Math.max(0, Number(e) || 0)).toLocaleString()} / ${n.toLocaleString()}`;
}
-function _pe(e) {
+function Tpe(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 nL(e) {
- let t = _pe(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);
+function tL(e) {
+ let t = Tpe(e), n = t.match(/^(?:[\w.]*Error|Exception):\s*(.*)$/);
return n ? xn(n[1]) : t;
}
-var vpe = {
+var Epe = {
partial: "处理已结束,部分项目需处理",
complete: "处理完成",
interrupted: "处理已中断",
@@ -37568,11 +37638,11 @@ var vpe = {
三站都没对上她: "三个来源均未找到与该人物相符的资料页",
已有身份: "已有创作者分类",
已变: "资料已被其他操作修改,本次未保存"
-}, rL = {
+}, nL = {
avwikidb: "AVWikiDB",
javdb: "JavDB",
"minnano-av": "みんなのAV"
-}, ype = {
+}, Dpe = {
like: "标记喜欢",
seen: "标记看过",
later: "加入稍后看",
@@ -37583,8 +37653,8 @@ var vpe = {
"dismiss-junk": "确认不是垃圾",
"reconsider-junk": "重新判定垃圾",
region: "判定产地"
-}, bpe = (e) => vpe[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${rL[t.toLowerCase()]} 资料页` : `已保存来自 ${rL[t.toLowerCase()]} 的资料`);
-function iL(e) {
+}, Ope = (e) => Epe[e] || e.replace(/(avwikidb|javdb|minnano-av) (绑定|写入)/gi, (e, t, n) => n === "绑定" ? `已关联 ${nL[t.toLowerCase()]} 资料页` : `已保存来自 ${nL[t.toLowerCase()]} 的资料`);
+function rL(e) {
if (!e) return "";
let t = new Date(e);
return Number.isNaN(t.getTime()) ? "" : t.toLocaleString(void 0, {
@@ -37594,7 +37664,7 @@ function iL(e) {
minute: "2-digit"
});
}
-var xpe = /* @__PURE__ */ new Set([
+var kpe = /* @__PURE__ */ new Set([
"blocked_by",
"status",
"run_id",
@@ -37603,20 +37673,20 @@ var xpe = /* @__PURE__ */ new Set([
"completed_at",
"finished_at"
]);
-function aL(e) {
- let t = Spe(e);
+function iL(e) {
+ let t = Ape(e);
return e?.face_match_unavailable === !0 && !t.some((e) => /不可用|未生效/.test(e)) && t.push("人脸模型不可用,未做人脸核对"), t;
}
-function Spe(e) {
- return Object.entries(e || {}).filter(([e, t]) => !xpe.has(e) && (e in XI || 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" ? nL(String(t)) : e === "outcome" || e === "result" ? bpe(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${XI[e]} ${Xn(Number(t))}` : e === "operation" ? `操作:${ype[String(t)] || "批量操作"}` : `${XI[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);
+function Ape(e) {
+ return Object.entries(e || {}).filter(([e, t]) => !kpe.has(e) && (e in YI || 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" ? tL(String(t)) : e === "outcome" || e === "result" ? Ope(String(t)) : e === "cache_bytes" || e === "bytes_reclaimed" ? `${YI[e]} ${Xn(Number(t))}` : e === "operation" ? `操作:${Dpe[String(t)] || "批量操作"}` : `${YI[e]} ${typeof t == "number" ? t.toLocaleString() : t}`);
}
-var Cpe = (e) => aL(e).join(" · ");
+var jpe = (e) => iL(e).join(" · ");
// src/react/use-entity-names.ts
-function oL() {
+function aL() {
return (0, F.useSyncExternalStore)(Yt, Jt, Jt);
}
// src/react/components/async-text.tsx
-function sL({ text: e, busy: t, placeholder: n }) {
+function oL({ text: e, busy: t, placeholder: n }) {
let r = (0, F.useRef)(null), i = (0, F.useRef)(e), a = e ?? i.current;
return (0, F.useLayoutEffect)(() => {
e === void 0 ? a === void 0 && pc(r.current) : i.current = e;
@@ -37637,7 +37707,7 @@ function sL({ text: e, busy: t, placeholder: n }) {
});
}
// src/react/boardui/components/base/buttons/icon-button.tsx
-var cL = II({
+var sL = FI({
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",
size: {
medium: "size-9",
@@ -37648,20 +37718,20 @@ var cL = II({
small: "size-4 shrink-0"
}
});
-function lL({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
+function cL({ icon: e, size: t = "medium", className: n, type: r = "button", ref: i, ...a }) {
return /* @__PURE__ */ (0, I.jsx)("button", {
ref: i,
type: r,
- className: q(cL.base, cL.size[t], n),
+ className: q(sL.base, sL.size[t], n),
...a,
children: /* @__PURE__ */ (0, I.jsx)(e, {
- className: cL.icon[t],
+ className: sL.icon[t],
"aria-hidden": !0
})
});
}
// src/react/components/glass-drift.tsx
-function uL() {
+function lL() {
return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-glass-drift": "",
"aria-hidden": "true",
@@ -37675,7 +37745,7 @@ function uL() {
});
}
// src/react/components/use-stuck.ts
-function dL(e) {
+function uL(e) {
(0, F.useEffect)(() => {
let t = e.current;
if (!t) return;
@@ -37692,7 +37762,7 @@ function dL(e) {
}, [e]);
}
// src/react/components/use-horizontal-scroller.ts
-function fL(e, t = !0) {
+function dL(e, t = !0) {
let [n, r] = (0, F.useState)(null), i = (0, F.useCallback)((t) => {
r(t), typeof e == "function" ? e(t) : e && (e.current = t);
}, [e]);
@@ -37706,17 +37776,17 @@ function fL(e, t = !0) {
}, [n, t]), i;
}
// src/react/components/filter-glass.tsx
-var wpe = ({ className: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var Mpe = ({ className: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
className: e,
dangerouslySetInnerHTML: { __html: Bs("正在处理") }
});
-function pL({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {
- return /* @__PURE__ */ (0, I.jsx)(lL, {
+function fL({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress: i, ...a }) {
+ return /* @__PURE__ */ (0, I.jsx)(cL, {
...a,
"data-filter-action": "",
size: "small",
- icon: n && r === "spinner" ? wpe : t,
+ icon: n && r === "spinner" ? Mpe : t,
"aria-label": e,
title: a.title || e,
"aria-busy": n || void 0,
@@ -37726,9 +37796,9 @@ function pL({ label: e, icon: t, busy: n = !1, busyStyle: r = "spinner", onPress
}
});
}
-function Tpe({ title: e, children: t }) {
+function Npe({ title: e, children: t }) {
let n = (0, F.useRef)(null);
- return dL(n), /* @__PURE__ */ (0, I.jsxs)("div", {
+ return uL(n), /* @__PURE__ */ (0, I.jsxs)("div", {
ref: n,
role: "group",
"aria-label": e,
@@ -37741,13 +37811,13 @@ function Tpe({ title: e, children: t }) {
children: e
}),
t,
- /* @__PURE__ */ (0, I.jsx)(uL, {})
+ /* @__PURE__ */ (0, I.jsx)(lL, {})
]
});
}
-function mL({ 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, F.useRef)(null), f = fL(), p = fL(u);
- return dL(d), /* @__PURE__ */ (0, I.jsxs)("div", {
+function pL({ 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, F.useRef)(null), f = dL(), p = dL(u);
+ return uL(d), /* @__PURE__ */ (0, I.jsxs)("div", {
ref: d,
role: "group",
"aria-label": e,
@@ -37772,27 +37842,27 @@ function mL({ label: e, topLabel: t, top: n, bottom: r, className: i, topClassNa
className: q("flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2", o),
children: r
}),
- /* @__PURE__ */ (0, I.jsx)(uL, {})
+ /* @__PURE__ */ (0, I.jsx)(lL, {})
]
});
}
-var Epe = "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 hL({ children: e, pressed: t, onPress: n, className: r, ...i }) {
+var Ppe = "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 mL({ children: e, pressed: t, onPress: n, className: r, ...i }) {
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
...i,
"aria-pressed": t,
- className: q(Epe, r),
+ className: q(Ppe, r),
onClick: n,
children: e
});
}
-var Dpe = "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 gL({ children: e, onPress: t, busy: n = !1 }) {
+var Fpe = "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 hL({ children: e, onPress: t, busy: n = !1 }) {
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-glass-pill": "",
- className: Dpe,
+ className: Fpe,
"aria-busy": n || void 0,
"aria-disabled": n || void 0,
onClick: () => {
@@ -37802,13 +37872,13 @@ function gL({ children: e, onPress: t, busy: n = !1 }) {
});
}
// src/react/components/use-view-glide.ts
-var _L = (e, t) => [
+var gL = (e, t) => [
"x",
"y",
"w",
"h"
].every((n) => e[n] === t[n]);
-function vL(e, t, n) {
+function _L(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;
@@ -37832,17 +37902,17 @@ function vL(e, t, n) {
h: e.offsetHeight
};
}
-function yL(e, t, n, r, { axis: i = "x" } = {}) {
+function vL(e, t, n, r, { axis: i = "x" } = {}) {
let a = (0, F.useRef)(null), o = (0, F.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 ? vL(u, l, i) : null;
+ let u = c && c.offsetWidth ? r ?? c.querySelector(n) : null, d = u && l ? _L(u, l, i) : null;
if (!d || !d.w || !d.h) {
Kc(s), s.hidden = !0, a.current = null;
return;
}
let f = s.hidden ? null : a.current;
- s.hidden = !1, a.current = d, !(o && f && _L(f, d)) && Wc(s, o ? f : null, d, i);
+ s.hidden = !1, a.current = d, !(o && f && gL(f, d)) && Wc(s, o ? f : null, d, i);
}, [
e,
t,
@@ -37863,8 +37933,8 @@ function yL(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 ? vL(o, r, i) : null, l = a.current;
- s && l && _L(s, l) || c();
+ let e = t.current, o = e?.offsetWidth ? e.querySelector(n) : null, s = o && r ? _L(o, r, i) : null, l = a.current;
+ s && l && gL(s, l) || c();
}), u = t.current;
if (u && r) {
l.observe(u);
@@ -37895,7 +37965,7 @@ function yL(e, t, n, r, { axis: i = "x" } = {}) {
};
}
// src/react/boardui/components/base/buttons/button.tsx
-var bL = II({
+var yL = FI({
base: "inline-flex items-center justify-center gap-0.5 whitespace-nowrap overflow-hidden font-sans select-none cursor-pointer button-press-motion outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring disabled:cursor-not-allowed aria-disabled:cursor-not-allowed",
size: {
medium: "h-9 rounded-2lg p-2 text-body-medium",
@@ -37928,52 +37998,52 @@ function J({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadi
return /* @__PURE__ */ (0, I.jsxs)("button", {
ref: c,
type: s,
- className: q(bL.base, bL.size[t], bL.variant[e], n && bL.iconOnlySize[t], o),
+ className: q(yL.base, yL.size[t], yL.variant[e], n && yL.iconOnlySize[t], o),
...l,
children: [
r ? /* @__PURE__ */ (0, I.jsx)(r, {
- className: bL.icon[t],
+ className: yL.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, I.jsx)("span", {
- className: bL.label[t],
+ className: yL.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, I.jsx)(i, {
- className: bL.icon[t],
+ className: yL.icon[t],
"aria-hidden": !0
}) : null
]
});
}
-function xL({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
+function bL({ variant: e = "primary", size: t = "medium", iconOnly: n = !1, leadingIcon: r, trailingIcon: i, children: a, className: o, ref: s, ...c }) {
return /* @__PURE__ */ (0, I.jsxs)("a", {
ref: s,
- className: q(bL.base, bL.size[t], bL.variant[e], n && bL.iconOnlySize[t], o),
+ className: q(yL.base, yL.size[t], yL.variant[e], n && yL.iconOnlySize[t], o),
...c,
children: [
r ? /* @__PURE__ */ (0, I.jsx)(r, {
- className: bL.icon[t],
+ className: yL.icon[t],
"aria-hidden": !0
}) : null,
!n && a != null && /* @__PURE__ */ (0, I.jsx)("span", {
- className: bL.label[t],
+ className: yL.label[t],
children: a
}),
!n && i ? /* @__PURE__ */ (0, I.jsx)(i, {
- className: bL.icon[t],
+ className: yL.icon[t],
"aria-hidden": !0
}) : null
]
});
}
// node_modules/react-aria-components/dist/private/utils.mjs
-var SL = Symbol("default");
-function CL({ values: e, children: t }) {
+var xL = Symbol("default");
+function SL({ values: e, children: t }) {
for (let [n, r] of e) t = /*#__PURE__*/ F.createElement(n.Provider, { value: r }, t);
return t;
}
-function wL(e) {
+function CL(e) {
let { className: t, style: n, children: r, defaultClassName: i, defaultChildren: a, defaultStyle: o, values: s, render: c } = e;
return (0, F.useMemo)(() => {
let e, l, u;
@@ -38007,11 +38077,11 @@ function wL(e) {
c
]);
}
-function TL(e, t) {
+function wL(e, t) {
let n = (0, F.useContext)(e);
if (t === null) return null;
if (n && typeof n == "object" && "slots" in n && n.slots) {
- let e = t || SL;
+ let e = t || xL;
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}.`);
@@ -38020,8 +38090,8 @@ function TL(e, t) {
}
return n;
}
-function EL(e, t, n) {
- let { ref: r, ...i } = TL(n, e.slot) || {}, a = QC((0, F.useMemo)(() => UC(t, r), [t, r])), o = K(i, e);
+function TL(e, t, n) {
+ let { ref: r, ...i } = wL(n, e.slot) || {}, a = JC((0, F.useMemo)(() => zC(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,
@@ -38039,42 +38109,42 @@ function EL(e, t, n) {
...e.style
}), [o, a];
}
-function DL(e = !0) {
+function EL(e = !0) {
let [t, n] = (0, F.useState)(e), r = (0, F.useRef)(!1), i = (0, F.useCallback)((e) => {
r.current = !0, n(!!e);
}, []);
- return BS(() => {
+ return IS(() => {
r.current || n(!1);
}, []), [i, t];
}
-function OL(e) {
+function DL(e) {
let t = /^(data-.*)$/, n = {};
for (let r in e) t.test(r) || (n[r] = e[r]);
return n;
}
-function Ope(e, t, n) {
- let { render: r, ...i } = t, a = (0, F.useRef)(null), o = (0, F.useMemo)(() => UC(n, a), [n, a]);
- BS(() => {}, [e, r]);
+function Ipe(e, t, n) {
+ let { render: r, ...i } = t, a = (0, F.useRef)(null), o = (0, F.useMemo)(() => zC(n, a), [n, a]);
+ IS(() => {}, [e, r]);
let s = {
...i,
ref: o
};
return r ? r(s, void 0) : /*#__PURE__*/ F.createElement(e, s);
}
-var kL = {}, AL = new Proxy({}, { get(e, t) {
+var OL = {}, kL = new Proxy({}, { get(e, t) {
if (typeof t != "string") return;
- let n = kL[t];
- return n || (n = /*#__PURE__*/ (0, F.forwardRef)(Ope.bind(null, t)), kL[t] = n), n;
-} }), jL = /*#__PURE__*/ (0, F.createContext)(null), ML = /*#__PURE__*/ (0, F.createContext)(null), NL = /*#__PURE__*/ (0, F.createContext)(null), PL = {
+ let n = OL[t];
+ return n || (n = /*#__PURE__*/ (0, F.forwardRef)(Ipe.bind(null, t)), OL[t] = n), n;
+} }), AL = /*#__PURE__*/ (0, F.createContext)(null), jL = /*#__PURE__*/ (0, F.createContext)(null), ML = /*#__PURE__*/ (0, F.createContext)(null), NL = {
CollectionRoot({ collection: e, renderDropIndicator: t }) {
- return FL(e, null, t);
+ return PL(e, null, t);
},
CollectionBranch({ collection: e, parent: t, renderDropIndicator: n }) {
- return FL(e, t, n);
+ return PL(e, t, n);
}
};
-function FL(e, t, n) {
- return SS({
+function PL(e, t, n) {
+ return vS({
items: t ? e.getChildren(t.key) : e,
dependencies: [n],
children(t) {
@@ -38084,11 +38154,11 @@ function FL(e, t, n) {
type: "item",
key: t.key,
dropPosition: "before"
- }), r, kpe(e, t, n));
+ }), r, Lpe(e, t, n));
}
});
}
-function kpe(e, t, n) {
+function Lpe(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);
@@ -38107,24 +38177,24 @@ function kpe(e, t, n) {
}
return s;
}
-var IL = /*#__PURE__*/ (0, F.createContext)(PL);
-function LL(e) {
+var FL = /*#__PURE__*/ (0, F.createContext)(NL);
+function IL(e) {
return (0, F.useMemo)(() => e == null ? null : /* @__PURE__ */ new Set([e]), [e]);
}
// node_modules/react-aria-components/dist/private/Label.mjs
-var RL = /*#__PURE__*/ (0, F.createContext)({}), zL = /*#__PURE__*/ rw(function(e, t) {
- [e, t] = EL(e, t, RL);
- let { elementType: n = "label", ...r } = e, i = AL[n];
+var LL = /*#__PURE__*/ (0, F.createContext)({}), RL = /*#__PURE__*/ $C(function(e, t) {
+ [e, t] = TL(e, t, LL);
+ let { elementType: n = "label", ...r } = e, i = kL[n];
return /*#__PURE__*/ F.createElement(i, {
className: "react-aria-Label",
...r,
ref: t
});
-}), Ape = /*#__PURE__*/ (0, F.createContext)(null), BL = /*#__PURE__*/ (0, F.createContext)({}), VL = /*#__PURE__*/ rw(function(e, t) {
- [e, t] = EL(e, t, BL);
- let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = zoe(e, t);
- i = Mpe(i, r);
- let { focusProps: o, isFocused: s, isFocusVisible: c } = jD(e), { hoverProps: l, isHovered: u } = FD({
+}), Rpe = /*#__PURE__*/ (0, F.createContext)(null), zL = /*#__PURE__*/ (0, F.createContext)({}), BL = /*#__PURE__*/ $C(function(e, t) {
+ [e, t] = TL(e, t, zL);
+ let n = e, { isPending: r } = n, { buttonProps: i, isPressed: a } = Uoe(e, t);
+ i = Bpe(i, r);
+ let { focusProps: o, isFocused: s, isFocusVisible: c } = DD(e), { hoverProps: l, isHovered: u } = jD({
...e,
isDisabled: e.isDisabled || r
}), d = {
@@ -38134,24 +38204,24 @@ var RL = /*#__PURE__*/ (0, F.createContext)({}), zL = /*#__PURE__*/ rw(function(
isFocusVisible: c,
isDisabled: e.isDisabled || !1,
isPending: r ?? !1
- }, f = wL({
+ }, f = CL({
...e,
values: d,
defaultClassName: "react-aria-Button"
- }), p = VC(i.id), m = VC(), h = i["aria-labelledby"];
+ }), p = LC(i.id), m = LC(), h = i["aria-labelledby"];
r && (h ? h = `${h} ${m}` : i["aria-label"] && (h = `${p} ${m}`));
let g = (0, F.useRef)(r);
(0, F.useEffect)(() => {
let e = { "aria-labelledby": h || p };
- (!g.current && s && r || g.current && s && !r) && MT(e, "assertive"), g.current = r;
+ (!g.current && s && r || g.current && s && !r) && OT(e, "assertive"), g.current = r;
}, [
r,
s,
h,
p
]);
- let _ = Gw(e, { global: !0 });
- return delete _.onClick, /*#__PURE__*/ F.createElement(AL.button, {
+ let _ = Vw(e, { global: !0 });
+ return delete _.onClick, /*#__PURE__*/ F.createElement(kL.button, {
...K(_, f, i, o, l),
type: i.type === "submit" && r ? "button" : i.type,
id: p,
@@ -38165,61 +38235,61 @@ var RL = /*#__PURE__*/ (0, F.createContext)({}), zL = /*#__PURE__*/ rw(function(
"data-focused": s || void 0,
"data-pending": r || void 0,
"data-focus-visible": c || void 0
- }, /*#__PURE__*/ F.createElement(Ape.Provider, { value: { id: m } }, f.children));
-}), jpe = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
-function Mpe(e, t) {
+ }, /*#__PURE__*/ F.createElement(Rpe.Provider, { value: { id: m } }, f.children));
+}), zpe = /Focus|Blur|Hover|Pointer(Enter|Leave|Over|Out)|Mouse(Enter|Leave|Over|Out)/;
+function Bpe(e, t) {
if (t) {
- for (let t in e) t.startsWith("on") && !jpe.test(t) && (e[t] = void 0);
+ for (let t in e) t.startsWith("on") && !zpe.test(t) && (e[t] = void 0);
e.href = void 0, e.target = void 0;
}
return e;
}
// node_modules/react-aria-components/dist/private/Heading.mjs
-var HL = /*#__PURE__*/ (0, F.createContext)({}), UL = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = EL(e, t, HL);
- let { children: n, level: r = 3, className: i, ...a } = e, o = AL[`h${r}`];
+var VL = /*#__PURE__*/ (0, F.createContext)({}), HL = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = TL(e, t, VL);
+ let { children: n, level: r = 3, className: i, ...a } = e, o = kL[`h${r}`];
return /*#__PURE__*/ F.createElement(o, {
...a,
ref: t,
className: i ?? "react-aria-Heading"
}, n);
-}), WL = /*#__PURE__*/ (0, F.createContext)({}), Npe = /*#__PURE__*/ rw(function(e, t) {
- [e, t] = EL(e, t, WL);
- let { elementType: n = "span", ...r } = e, i = AL[n];
+}), UL = /*#__PURE__*/ (0, F.createContext)({}), Vpe = /*#__PURE__*/ $C(function(e, t) {
+ [e, t] = TL(e, t, UL);
+ let { elementType: n = "span", ...r } = e, i = kL[n];
return /*#__PURE__*/ F.createElement(i, {
className: "react-aria-Text",
...r,
ref: t
});
-}), GL = /*#__PURE__*/ (0, F.createContext)(null), KL = /*#__PURE__*/ (0, F.createContext)(null), qL = /*#__PURE__*/ (0, F.createContext)(null), JL = /*#__PURE__*/ (0, F.createContext)(null), Ppe = /*#__PURE__*/ (0, F.createContext)(null), YL = /*#__PURE__*/ (0, F.createContext)(null);
-function Fpe(e, t) {
- let { validationBehavior: n } = TL(KL) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useContext)(Ppe), a = QC((0, F.useMemo)(() => UC(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
- ...OL(e),
+}), WL = /*#__PURE__*/ (0, F.createContext)(null), GL = /*#__PURE__*/ (0, F.createContext)(null), KL = /*#__PURE__*/ (0, F.createContext)(null), qL = /*#__PURE__*/ (0, F.createContext)(null), Hpe = /*#__PURE__*/ (0, F.createContext)(null), JL = /*#__PURE__*/ (0, F.createContext)(null);
+function Upe(e, t) {
+ let { validationBehavior: n } = wL(GL) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useContext)(Hpe), a = JC((0, F.useMemo)(() => zC(t, e.inputRef === void 0 ? null : e.inputRef), [t, e.inputRef])), o = {
+ ...DL(e),
children: typeof e.children == "function" || e.children,
value: e.value,
validationBehavior: r
};
- return [i ? cse(o, i, a) : $T(o, iE(e), a), a];
+ return [i ? fse(o, i, a) : YT(o, eE(e), a), a];
}
-var Ipe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+var Wpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = EL(r, t, qL);
- let [i, a] = Fpe(e, n);
- return /*#__PURE__*/ F.createElement(YL.Provider, { value: {
+ [e, t] = TL(r, t, KL);
+ let [i, a] = Upe(e, n);
+ return /*#__PURE__*/ F.createElement(JL.Provider, { value: {
...i,
inputRef: a,
defaultClassName: "react-aria-Checkbox",
isIndeterminate: e.isIndeterminate,
isRequired: e.isRequired
- } }, /*#__PURE__*/ F.createElement(Lpe, {
+ } }, /*#__PURE__*/ F.createElement(Gpe, {
...e,
ref: t
}));
-}), Lpe = /*#__PURE__*/ (0, F.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, F.useContext)(YL), { isFocused: p, isFocusVisible: m, focusProps: h } = jD(), g = a || o, { hoverProps: _, isHovered: v } = FD({
+}), Gpe = /*#__PURE__*/ (0, F.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, F.useContext)(JL), { isFocused: p, isFocusVisible: m, focusProps: h } = DD(), g = a || o, { hoverProps: _, isHovered: v } = jD({
...e,
isDisabled: g
- }), y = wL({
+ }), y = CL({
...e,
defaultClassName: u,
values: {
@@ -38234,8 +38304,8 @@ var Ipe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
isInvalid: c,
isRequired: f || !1
}
- }), b = Gw(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(AL.label, {
+ }), b = Vw(e, { global: !0 });
+ return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(kL.label, {
...K(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -38249,20 +38319,20 @@ var Ipe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": f || void 0
- }, /*#__PURE__*/ F.createElement(pE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {
+ }, /*#__PURE__*/ F.createElement(lE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {
...K(r, h),
ref: l
})), y.children);
-}), XL = /*#__PURE__*/ (0, F.createContext)({}), ZL = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = EL(e, t, XL);
+}), YL = /*#__PURE__*/ (0, F.createContext)({}), XL = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = TL(e, t, YL);
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 } = FD({
+ let { hoverProps: l, isHovered: u } = jD({
onHoverStart: a,
onHoverChange: o,
onHoverEnd: s,
isDisabled: n
- }), { isFocused: d, isFocusVisible: f, focusProps: p } = jD({ within: !0 }), m = wL({
+ }), { isFocused: d, isFocusVisible: f, focusProps: p } = DD({ within: !0 }), m = CL({
...e,
values: {
isHovered: u,
@@ -38273,7 +38343,7 @@ var Ipe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Group"
});
- return /*#__PURE__*/ F.createElement(AL.div, {
+ return /*#__PURE__*/ F.createElement(kL.div, {
...K(c, p, l),
...m,
ref: t,
@@ -38286,18 +38356,18 @@ var Ipe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
"data-invalid": r || void 0,
"data-readonly": i || void 0
}, m.children);
-}), QL = /*#__PURE__*/ (0, F.createContext)({}), Rpe = (e) => {
+}), ZL = /*#__PURE__*/ (0, F.createContext)({}), Kpe = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, zpe = /*#__PURE__*/ rw(function(e, t) {
- [e, t] = EL(e, t, QL);
- let { hoverProps: n, isHovered: r } = FD({
+}, qpe = /*#__PURE__*/ $C(function(e, t) {
+ [e, t] = TL(e, t, ZL);
+ let { hoverProps: n, isHovered: r } = jD({
...e,
isDisabled: e.disabled
- }), { isFocused: i, isFocusVisible: a, focusProps: o } = jD({
+ }), { isFocused: i, isFocusVisible: a, focusProps: o } = DD({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = wL({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = CL({
...e,
values: {
isHovered: r,
@@ -38308,8 +38378,8 @@ var Ipe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
},
defaultClassName: "react-aria-Input"
});
- return /*#__PURE__*/ F.createElement(AL.input, {
- ...K(Rpe(e), o, n),
+ return /*#__PURE__*/ F.createElement(kL.input, {
+ ...K(Kpe(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -38318,24 +38388,24 @@ var Ipe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), Bpe = 0, Vpe = 100, Hpe = 1;
-function Upe(e) {
- let { isDisabled: t = !1, minValue: n = Bpe, maxValue: r = Vpe, numberFormatter: i, step: a = Hpe, orientation: o = "horizontal" } = e, s = (0, F.useMemo)(() => {
+}), Jpe = 0, Ype = 100, Xpe = 1;
+function Zpe(e) {
+ let { isDisabled: t = !1, minValue: n = Jpe, maxValue: r = Ype, numberFormatter: i, step: a = Xpe, orientation: o = "horizontal" } = e, s = (0, F.useMemo)(() => {
let e = (r - n) / 10;
- return e = sE(e, 0, e + a, a), Math.max(e, a);
+ return e = rE(e, 0, e + a, a), Math.max(e, a);
}, [
a,
r,
n
- ]), c = (0, F.useCallback)((e) => e?.map((t, i) => sE(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [
+ ]), c = (0, F.useCallback)((e) => e?.map((t, i) => rE(t, i === 0 ? n : e[i - 1], i === e.length - 1 ? r : e[i + 1], a)), [
n,
r,
a
- ]), l = (0, F.useMemo)(() => c(eR(e.value)), [e.value, c]), u = (0, F.useMemo)(() => c(eR(e.defaultValue) ?? [n]), [
+ ]), l = (0, F.useMemo)(() => c($L(e.value)), [e.value, c]), u = (0, F.useMemo)(() => c($L(e.defaultValue) ?? [n]), [
e.defaultValue,
n,
c
- ]), d = tR(e.value, e.defaultValue, e.onChange), f = tR(e.value, e.defaultValue, e.onChangeEnd), [p, m] = rE(l, u, d), [h] = (0, F.useState)(p), [g, _] = (0, F.useState)(Array(p.length).fill(!1)), v = (0, F.useRef)(Array(p.length).fill(!0)), [y, b] = (0, F.useState)(void 0), x = (0, F.useRef)(p), S = (0, F.useRef)(g), C = (e) => {
+ ]), d = eR(e.value, e.defaultValue, e.onChange), f = eR(e.value, e.defaultValue, e.onChangeEnd), [p, m] = $T(l, u, d), [h] = (0, F.useState)(p), [g, _] = (0, F.useState)(Array(p.length).fill(!1)), v = (0, F.useRef)(Array(p.length).fill(!0)), [y, b] = (0, F.useState)(void 0), x = (0, F.useRef)(p), S = (0, F.useRef)(g), C = (e) => {
x.current = e, m(e);
}, w = (e) => {
S.current = e, _(e);
@@ -38358,15 +38428,15 @@ function Upe(e) {
function A(e, n) {
if (t || !O(e)) return;
let r = E(e), i = D(e);
- n = sE(n, r, i, a);
- let o = $L(x.current, e, n);
+ n = rE(n, r, i, a);
+ let o = QL(x.current, e, n);
C(o);
}
function j(e, n) {
if (t || !O(e)) return;
n && (x.current = p);
let r = S.current[e];
- S.current = $L(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);
+ S.current = QL(S.current, e, n), w(S.current), f && r && !S.current.some(Boolean) && f(x.current);
}
let M = (0, F.useRef)(null);
function ee(e = p) {
@@ -38387,15 +38457,15 @@ function Upe(e) {
return Math.round((e - n) / a) * a + n;
}
function P(e) {
- return aE(te(e * (r - n) + n), n, r);
+ return tE(te(e * (r - n) + n), n, r);
}
function ne(e, t = 1) {
let i = Math.max(t, a);
- A(e, sE(p[e] + i, n, r, a));
+ A(e, rE(p[e] + i, n, r, a));
}
function re(e, t = 1) {
let i = Math.max(t, a);
- A(e, sE(p[e] - i, n, r, a));
+ A(e, rE(p[e] - i, n, r, a));
}
return {
values: p,
@@ -38424,31 +38494,31 @@ function Upe(e) {
isDisabled: t
};
}
-function $L(e, t, n) {
+function QL(e, t, n) {
return e[t] === n ? e : [
...e.slice(0, t),
n,
...e.slice(t + 1)
];
}
-function eR(e) {
+function $L(e) {
if (e != null) return Array.isArray(e) ? e : [e];
}
-function tR(e, t, n) {
+function eR(e, t, n) {
return (r) => {
typeof e == "number" || typeof t == "number" ? n?.(r[0]) : n?.(r);
};
}
// node_modules/react-aria-components/dist/private/Slider.mjs
-var Wpe = /*#__PURE__*/ (0, F.createContext)(null), nR = /*#__PURE__*/ (0, F.createContext)(null), rR = /*#__PURE__*/ (0, F.createContext)(null), Gpe = /*#__PURE__*/ (0, F.createContext)(null), Kpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = EL(e, t, Wpe);
- let n = (0, F.useRef)(null), r = pse(e.formatOptions), i = Upe({
+var Qpe = /*#__PURE__*/ (0, F.createContext)(null), tR = /*#__PURE__*/ (0, F.createContext)(null), nR = /*#__PURE__*/ (0, F.createContext)(null), $pe = /*#__PURE__*/ (0, F.createContext)(null), eme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = TL(e, t, Qpe);
+ let n = (0, F.useRef)(null), r = _se(e.formatOptions), i = Zpe({
...e,
numberFormatter: r
- }), [a, o] = DL(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = mse({
+ }), [a, o] = EL(!e["aria-label"] && !e["aria-labelledby"]), { groupProps: s, trackProps: c, labelProps: l, outputProps: u } = vse({
...e,
label: o
- }, i, n), d = wL({
+ }, i, n), d = CL({
...e,
values: {
orientation: i.orientation,
@@ -38456,32 +38526,32 @@ var Wpe = /*#__PURE__*/ (0, F.createContext)(null), nR = /*#__PURE__*/ (0, F.cre
state: i
},
defaultClassName: "react-aria-Slider"
- }), f = Gw(e, { global: !0 });
- return delete f.id, /*#__PURE__*/ F.createElement(CL, { values: [
- [nR, i],
- [rR, {
+ }), f = Vw(e, { global: !0 });
+ return delete f.id, /*#__PURE__*/ F.createElement(SL, { values: [
+ [tR, i],
+ [nR, {
...c,
ref: n
}],
- [Gpe, u],
- [RL, {
+ [$pe, u],
+ [LL, {
...l,
ref: a
}]
- ] }, /*#__PURE__*/ F.createElement(AL.div, {
+ ] }, /*#__PURE__*/ F.createElement(kL.div, {
...K(f, d, s),
ref: t,
slot: e.slot || void 0,
"data-orientation": i.orientation,
"data-disabled": i.isDisabled || void 0
}));
-}), qpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = EL(e, t, rR);
- let n = (0, F.useContext)(nR), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = FD({
+}), tme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = TL(e, t, nR);
+ let n = (0, F.useContext)(tR), { onHoverStart: r, onHoverEnd: i, onHoverChange: a, ...o } = e, { hoverProps: s, isHovered: c } = jD({
onHoverStart: r,
onHoverEnd: i,
onHoverChange: a
- }), l = wL({
+ }), l = CL({
...e,
defaultClassName: "react-aria-SliderTrack",
values: {
@@ -38491,7 +38561,7 @@ var Wpe = /*#__PURE__*/ (0, F.createContext)(null), nR = /*#__PURE__*/ (0, F.cre
state: n
}
});
- return /*#__PURE__*/ F.createElement(AL.div, {
+ return /*#__PURE__*/ F.createElement(kL.div, {
...K(o, s),
...l,
ref: t,
@@ -38499,14 +38569,14 @@ var Wpe = /*#__PURE__*/ (0, F.createContext)(null), nR = /*#__PURE__*/ (0, F.cre
"data-orientation": n.orientation || void 0,
"data-disabled": n.isDisabled || void 0
});
-}), Jpe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { inputRef: n = null } = e, r = (0, F.useContext)(nR), { ref: i } = TL(rR), { index: a = 0 } = e, o = (0, F.useRef)(null), s = n || o, [c, l] = DL(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = hse({
+}), nme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { inputRef: n = null } = e, r = (0, F.useContext)(tR), { ref: i } = wL(nR), { index: a = 0 } = e, o = (0, F.useRef)(null), s = n || o, [c, l] = EL(!e["aria-label"] && !e["aria-labelledby"]), { thumbProps: u, inputProps: d, labelProps: f, isDragging: p, isFocused: m, isDisabled: h } = yse({
...e,
index: a,
trackRef: i,
inputRef: s,
label: l
- }, r), { focusProps: g, isFocusVisible: _ } = jD(), { hoverProps: v, isHovered: y } = FD(e), b = wL({
+ }, r), { focusProps: g, isFocusVisible: _ } = DD(), { hoverProps: v, isHovered: y } = jD(e), b = CL({
...e,
defaultClassName: "react-aria-SliderThumb",
values: {
@@ -38517,8 +38587,8 @@ var Wpe = /*#__PURE__*/ (0, F.createContext)(null), nR = /*#__PURE__*/ (0, F.cre
isFocusVisible: _,
isDisabled: h
}
- }), x = Gw(e, { global: !0 });
- return delete x.id, /*#__PURE__*/ F.createElement(AL.div, {
+ }), x = Vw(e, { global: !0 });
+ return delete x.id, /*#__PURE__*/ F.createElement(kL.div, {
...K(x, u, v),
...b,
ref: t,
@@ -38531,330 +38601,330 @@ var Wpe = /*#__PURE__*/ (0, F.createContext)(null), nR = /*#__PURE__*/ (0, F.cre
"data-focused": m || void 0,
"data-focus-visible": _ || void 0,
"data-disabled": h || void 0
- }, /*#__PURE__*/ F.createElement(pE, null, /*#__PURE__*/ F.createElement("input", {
+ }, /*#__PURE__*/ F.createElement(lE, null, /*#__PURE__*/ F.createElement("input", {
ref: s,
...K(d, g)
- })), /*#__PURE__*/ F.createElement(CL, { values: [[RL, {
+ })), /*#__PURE__*/ F.createElement(SL, { values: [[LL, {
...f,
ref: c
}]] }, b.children));
-}), iR = {};
-iR = {
+}), rR = {};
+rR = {
colorSwatchPicker: "تغييرات الألوان",
dropzoneLabel: "DropZone",
selectPlaceholder: "حدد عنصرًا",
tableResizer: "أداة تغيير الحجم"
};
// node_modules/react-aria-components/dist/private/intl/bg-BG.mjs
-var aR = {};
-aR = {
+var iR = {};
+iR = {
colorSwatchPicker: "Цветови мостри",
dropzoneLabel: "DropZone",
selectPlaceholder: "Изберете предмет",
tableResizer: "Преоразмерител"
};
// node_modules/react-aria-components/dist/private/intl/cs-CZ.mjs
-var oR = {};
-oR = {
+var aR = {};
+aR = {
colorSwatchPicker: "Vzorky barev",
dropzoneLabel: "Místo pro přetažení",
selectPlaceholder: "Vyberte položku",
tableResizer: "Změna velikosti"
};
// node_modules/react-aria-components/dist/private/intl/da-DK.mjs
-var sR = {};
-sR = {
+var oR = {};
+oR = {
colorSwatchPicker: "Farveprøver",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vælg et element",
tableResizer: "Størrelsesændring"
};
// node_modules/react-aria-components/dist/private/intl/de-DE.mjs
-var cR = {};
-cR = {
+var sR = {};
+sR = {
colorSwatchPicker: "Farbfelder",
dropzoneLabel: "Ablegebereich",
selectPlaceholder: "Element wählen",
tableResizer: "Größenanpassung"
};
// node_modules/react-aria-components/dist/private/intl/el-GR.mjs
-var lR = {};
-lR = {
+var cR = {};
+cR = {
colorSwatchPicker: "Χρωματικά δείγματα",
dropzoneLabel: "DropZone",
selectPlaceholder: "Επιλέξτε ένα αντικείμενο",
tableResizer: "Αλλαγή μεγέθους"
};
// node_modules/react-aria-components/dist/private/intl/en-US.mjs
-var uR = {};
-uR = {
+var lR = {};
+lR = {
selectPlaceholder: "Select an item",
tableResizer: "Resizer",
dropzoneLabel: "DropZone",
colorSwatchPicker: "Color swatches"
};
// node_modules/react-aria-components/dist/private/intl/es-ES.mjs
-var dR = {};
-dR = {
+var uR = {};
+uR = {
colorSwatchPicker: "Muestras de colores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Seleccionar un artículo",
tableResizer: "Cambiador de tamaño"
};
// node_modules/react-aria-components/dist/private/intl/et-EE.mjs
-var fR = {};
-fR = {
+var dR = {};
+dR = {
colorSwatchPicker: "Värvinäidised",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valige üksus",
tableResizer: "Suuruse muutja"
};
// node_modules/react-aria-components/dist/private/intl/fi-FI.mjs
-var pR = {};
-pR = {
+var fR = {};
+fR = {
colorSwatchPicker: "Värimallit",
dropzoneLabel: "DropZone",
selectPlaceholder: "Valitse kohde",
tableResizer: "Koon muuttaja"
};
// node_modules/react-aria-components/dist/private/intl/fr-FR.mjs
-var mR = {};
-mR = {
+var pR = {};
+pR = {
colorSwatchPicker: "Échantillons de couleurs",
dropzoneLabel: "DropZone",
selectPlaceholder: "Sélectionner un élément",
tableResizer: "Redimensionneur"
};
// node_modules/react-aria-components/dist/private/intl/he-IL.mjs
-var hR = {};
-hR = {
+var mR = {};
+mR = {
colorSwatchPicker: "דוגמיות צבע",
dropzoneLabel: "DropZone",
selectPlaceholder: "בחר פריט",
tableResizer: "שינוי גודל"
};
// node_modules/react-aria-components/dist/private/intl/hr-HR.mjs
-var gR = {};
-gR = {
+var hR = {};
+hR = {
colorSwatchPicker: "Uzorci boja",
dropzoneLabel: "Zona spuštanja",
selectPlaceholder: "Odaberite stavku",
tableResizer: "Promjena veličine"
};
// node_modules/react-aria-components/dist/private/intl/hu-HU.mjs
-var _R = {};
-_R = {
+var gR = {};
+gR = {
colorSwatchPicker: "Színtárak",
dropzoneLabel: "DropZone",
selectPlaceholder: "Válasszon ki egy elemet",
tableResizer: "Átméretező"
};
// node_modules/react-aria-components/dist/private/intl/it-IT.mjs
-var vR = {};
-vR = {
+var _R = {};
+_R = {
colorSwatchPicker: "Campioni di colore",
dropzoneLabel: "Zona di rilascio",
selectPlaceholder: "Seleziona un elemento",
tableResizer: "Ridimensionamento"
};
// node_modules/react-aria-components/dist/private/intl/ja-JP.mjs
-var yR = {};
-yR = {
+var vR = {};
+vR = {
colorSwatchPicker: "カラースウォッチ",
dropzoneLabel: "ドロップゾーン",
selectPlaceholder: "項目を選択",
tableResizer: "サイズ変更ツール"
};
// node_modules/react-aria-components/dist/private/intl/ko-KR.mjs
-var bR = {};
-bR = {
+var yR = {};
+yR = {
colorSwatchPicker: "색상 견본",
dropzoneLabel: "드롭 영역",
selectPlaceholder: "항목 선택",
tableResizer: "크기 조정기"
};
// node_modules/react-aria-components/dist/private/intl/lt-LT.mjs
-var xR = {};
-xR = {
+var bR = {};
+bR = {
colorSwatchPicker: "Spalvų pavyzdžiai",
dropzoneLabel: "„DropZone“",
selectPlaceholder: "Pasirinkite elementą",
tableResizer: "Dydžio keitiklis"
};
// node_modules/react-aria-components/dist/private/intl/lv-LV.mjs
-var SR = {};
-SR = {
+var xR = {};
+xR = {
colorSwatchPicker: "Krāsu paraugi",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izvēlēties vienumu",
tableResizer: "Izmēra mainītājs"
};
// node_modules/react-aria-components/dist/private/intl/nb-NO.mjs
-var CR = {};
-CR = {
+var SR = {};
+SR = {
colorSwatchPicker: "Fargekart",
dropzoneLabel: "Droppsone",
selectPlaceholder: "Velg et element",
tableResizer: "Størrelsesendrer"
};
// node_modules/react-aria-components/dist/private/intl/nl-NL.mjs
-var wR = {};
-wR = {
+var CR = {};
+CR = {
colorSwatchPicker: "kleurstalen",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecteer een item",
tableResizer: "Resizer"
};
// node_modules/react-aria-components/dist/private/intl/pl-PL.mjs
-var TR = {};
-TR = {
+var wR = {};
+wR = {
colorSwatchPicker: "Próbki kolorów",
dropzoneLabel: "Strefa upuszczania",
selectPlaceholder: "Wybierz element",
tableResizer: "Zmiana rozmiaru"
};
// node_modules/react-aria-components/dist/private/intl/pt-BR.mjs
-var ER = {};
-ER = {
+var TR = {};
+TR = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
tableResizer: "Redimensionador"
};
// node_modules/react-aria-components/dist/private/intl/pt-PT.mjs
-var DR = {};
-DR = {
+var ER = {};
+ER = {
colorSwatchPicker: "Amostras de cores",
dropzoneLabel: "DropZone",
selectPlaceholder: "Selecione um item",
tableResizer: "Redimensionador"
};
// node_modules/react-aria-components/dist/private/intl/ro-RO.mjs
-var OR = {};
-OR = {
+var DR = {};
+DR = {
colorSwatchPicker: "Specimene de culoare",
dropzoneLabel: "Zonă de plasare",
selectPlaceholder: "Selectați un element",
tableResizer: "Instrument de redimensionare"
};
// node_modules/react-aria-components/dist/private/intl/ru-RU.mjs
-var kR = {};
-kR = {
+var OR = {};
+OR = {
colorSwatchPicker: "Цветовые образцы",
dropzoneLabel: "DropZone",
selectPlaceholder: "Выберите элемент",
tableResizer: "Средство изменения размера"
};
// node_modules/react-aria-components/dist/private/intl/sk-SK.mjs
-var AR = {};
-AR = {
+var kR = {};
+kR = {
colorSwatchPicker: "Vzorkovníky farieb",
dropzoneLabel: "DropZone",
selectPlaceholder: "Vyberte položku",
tableResizer: "Nástroj na zmenu veľkosti"
};
// node_modules/react-aria-components/dist/private/intl/sl-SI.mjs
-var jR = {};
-jR = {
+var AR = {};
+AR = {
colorSwatchPicker: "Barvne palete",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izberite element",
tableResizer: "Spreminjanje velikosti"
};
// node_modules/react-aria-components/dist/private/intl/sr-SP.mjs
-var MR = {};
-MR = {
+var jR = {};
+jR = {
colorSwatchPicker: "Uzorci boje",
dropzoneLabel: "DropZone",
selectPlaceholder: "Izaberite stavku",
tableResizer: "Promena veličine"
};
// node_modules/react-aria-components/dist/private/intl/sv-SE.mjs
-var NR = {};
-NR = {
+var MR = {};
+MR = {
colorSwatchPicker: "Färgrutor",
dropzoneLabel: "DropZone",
selectPlaceholder: "Välj en artikel",
tableResizer: "Storleksändrare"
};
// node_modules/react-aria-components/dist/private/intl/tr-TR.mjs
-var PR = {};
-PR = {
+var NR = {};
+NR = {
colorSwatchPicker: "Renk örnekleri",
dropzoneLabel: "Bırakma Bölgesi",
selectPlaceholder: "Bir öğe seçin",
tableResizer: "Yeniden boyutlandırıcı"
};
// node_modules/react-aria-components/dist/private/intl/uk-UA.mjs
-var FR = {};
-FR = {
+var PR = {};
+PR = {
colorSwatchPicker: "Зразки кольорів",
dropzoneLabel: "DropZone",
selectPlaceholder: "Виберіть елемент",
tableResizer: "Засіб змінення розміру"
};
// node_modules/react-aria-components/dist/private/intl/zh-CN.mjs
-var IR = {};
-IR = {
+var FR = {};
+FR = {
colorSwatchPicker: "颜色色板",
dropzoneLabel: "放置区域",
selectPlaceholder: "选择一个项目",
tableResizer: "尺寸调整器"
};
// node_modules/react-aria-components/dist/private/intl/zh-TW.mjs
-var LR = {};
-LR = {
+var IR = {};
+IR = {
colorSwatchPicker: "色票",
dropzoneLabel: "放置區",
selectPlaceholder: "選取項目",
tableResizer: "大小調整器"
};
// node_modules/react-aria-components/dist/private/intlStrings.mjs
-var RR = {};
-RR = {
- "ar-AE": iR,
- "bg-BG": aR,
- "cs-CZ": oR,
- "da-DK": sR,
- "de-DE": cR,
- "el-GR": lR,
- "en-US": uR,
- "es-ES": dR,
- "et-EE": fR,
- "fi-FI": pR,
- "fr-FR": mR,
- "he-IL": hR,
- "hr-HR": gR,
- "hu-HU": _R,
- "it-IT": vR,
- "ja-JP": yR,
- "ko-KR": bR,
- "lt-LT": xR,
- "lv-LV": SR,
- "nb-NO": CR,
- "nl-NL": wR,
- "pl-PL": TR,
- "pt-BR": ER,
- "pt-PT": DR,
- "ro-RO": OR,
- "ru-RU": kR,
- "sk-SK": AR,
- "sl-SI": jR,
- "sr-SP": MR,
- "sv-SE": NR,
- "tr-TR": PR,
- "uk-UA": FR,
- "zh-CN": IR,
- "zh-TW": LR
+var LR = {};
+LR = {
+ "ar-AE": rR,
+ "bg-BG": iR,
+ "cs-CZ": aR,
+ "da-DK": oR,
+ "de-DE": sR,
+ "el-GR": cR,
+ "en-US": lR,
+ "es-ES": uR,
+ "et-EE": dR,
+ "fi-FI": fR,
+ "fr-FR": pR,
+ "he-IL": mR,
+ "hr-HR": hR,
+ "hu-HU": gR,
+ "it-IT": _R,
+ "ja-JP": vR,
+ "ko-KR": yR,
+ "lt-LT": bR,
+ "lv-LV": xR,
+ "nb-NO": SR,
+ "nl-NL": CR,
+ "pl-PL": wR,
+ "pt-BR": TR,
+ "pt-PT": ER,
+ "ro-RO": DR,
+ "ru-RU": OR,
+ "sk-SK": kR,
+ "sl-SI": AR,
+ "sr-SP": jR,
+ "sv-SE": MR,
+ "tr-TR": NR,
+ "uk-UA": PR,
+ "zh-CN": FR,
+ "zh-TW": IR
};
// node_modules/react-aria-components/dist/private/DragAndDrop.mjs
-var zR = /*#__PURE__*/ (0, F.createContext)({}), BR = /*#__PURE__*/ (0, F.createContext)(null), Ype = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { render: n } = (0, F.useContext)(BR);
+var RR = /*#__PURE__*/ (0, F.createContext)({}), zR = /*#__PURE__*/ (0, F.createContext)(null), rme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { render: n } = (0, F.useContext)(zR);
return /*#__PURE__*/ F.createElement(F.Fragment, null, n(e, t));
});
-function VR(e, t) {
+function BR(e, t) {
let n = e?.renderDropIndicator, r = e?.isVirtualDragging?.(), i = (0, F.useCallback)((e) => {
- if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ F.createElement(Ype, { target: e });
+ if (r || t?.isDropTarget(e)) return n ? n(e) : /*#__PURE__*/ F.createElement(rme, { target: e });
}, [
t?.target,
r,
@@ -38862,7 +38932,7 @@ function VR(e, t) {
]);
return e?.useDropIndicator ? i : void 0;
}
-function HR(e, t, n) {
+function VR(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;
@@ -38883,13 +38953,13 @@ function HR(e, t, n) {
return (0, F.useMemo)(() => new Set([r, i].filter((e) => e != null)), [r, i]);
}
// node_modules/react-aria-components/dist/private/Header.mjs
-var UR = /*#__PURE__*/ (0, F.createContext)({}), Xpe = /*#__PURE__*/ (0, F.createContext)(null);
-function WR(e) {
+var HR = /*#__PURE__*/ (0, F.createContext)({}), ime = /*#__PURE__*/ (0, F.createContext)(null);
+function UR(e) {
let t = (0, F.useRef)({});
- return /*#__PURE__*/ F.createElement(Xpe.Provider, { value: t }, e.children);
+ return /*#__PURE__*/ F.createElement(ime.Provider, { value: t }, e.children);
}
// node_modules/react-aria-components/dist/private/SelectionIndicator.mjs
-var GR = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), KR = /*#__PURE__*/ (0, F.createContext)({}), Zpe = /*#__PURE__*/ dw(class extends mS {
+var WR = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), GR = /*#__PURE__*/ (0, F.createContext)({}), ame = /*#__PURE__*/ sw(class extends uS {
static {
this.type = "separator";
}
@@ -38902,14 +38972,14 @@ var GR = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), KR = /*#__PURE_
return null;
}
}, function(e, t) {
- [e, t] = EL(e, t, KR);
+ [e, t] = TL(e, t, GR);
let { elementType: n, orientation: r, style: i, className: a, slot: o, ...s } = e, c = n || "hr";
c === "hr" && r === "vertical" && (c = "div");
- let l = AL[c], { separatorProps: u } = Sce({
+ let l = kL[c], { separatorProps: u } = Ece({
...s,
elementType: n,
orientation: r
- }), d = Gw(e, { global: !0 });
+ }), d = Vw(e, { global: !0 });
return /*#__PURE__*/ F.createElement(l, {
render: e.render,
...K(d, u),
@@ -38920,12 +38990,12 @@ var GR = /*#__PURE__*/ (0, F.createContext)({ isSelected: !1 }), KR = /*#__PURE_
});
});
// node_modules/react-aria/dist/private/utils/inertValue.mjs
-function qR(e) {
+function KR(e) {
let t = F.version.split(".");
return parseInt(t[0], 10) >= 19 ? e : e ? "true" : void 0;
}
// node_modules/react-stately/dist/private/list/ListCollection.mjs
-var JR = class {
+var qR = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.firstKey = null, this.lastKey = null, this.iterable = e;
let t = (e) => {
@@ -38969,19 +39039,19 @@ var JR = class {
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, YR = class e extends Set {
+}, JR = 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);
}
};
// node_modules/react-stately/dist/private/selection/useMultipleSelectionState.mjs
-function Qpe(e, t) {
+function ome(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
-function XR(e) {
- let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, F.useRef)(!1), [, s] = (0, F.useState)(!1), c = (0, F.useRef)(null), l = (0, F.useRef)(null), [, u] = (0, F.useState)(null), [d, f] = rE((0, F.useMemo)(() => ZR(e.selectedKeys), [e.selectedKeys]), (0, F.useMemo)(() => ZR(e.defaultSelectedKeys, new YR()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, F.useState)(i);
+function YR(e) {
+ let { selectionMode: t = "none", disallowEmptySelection: n = !1, allowDuplicateSelectionEvents: r, selectionBehavior: i = "toggle", disabledBehavior: a = "all" } = e, o = (0, F.useRef)(!1), [, s] = (0, F.useState)(!1), c = (0, F.useRef)(null), l = (0, F.useRef)(null), [, u] = (0, F.useState)(null), [d, f] = $T((0, F.useMemo)(() => XR(e.selectedKeys), [e.selectedKeys]), (0, F.useMemo)(() => XR(e.defaultSelectedKeys, new JR()), [e.defaultSelectedKeys]), e.onSelectionChange), p = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), [m, h] = (0, F.useState)(i);
i === "replace" && m === "toggle" && typeof d == "object" && d.size === 0 && h("replace");
let g = (0, F.useRef)(i);
return (0, F.useEffect)(() => {
@@ -39008,17 +39078,17 @@ function XR(e) {
},
selectedKeys: d,
setSelectedKeys(e) {
- (r || !Qpe(e, d)) && f(e);
+ (r || !ome(e, d)) && f(e);
},
disabledKeys: p,
disabledBehavior: a
};
}
-function ZR(e, t) {
- return e ? e === "all" ? "all" : new YR(e) : t;
+function XR(e, t) {
+ return e ? e === "all" ? "all" : new JR(e) : t;
}
// node_modules/react-stately/dist/private/selection/SelectionManager.mjs
-var QR = class e {
+var ZR = 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;
}
@@ -39074,7 +39144,7 @@ var QR = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && yD(this.collection, n, e) < 0) && (e = n);
+ (!e || n && hD(this.collection, n, e) < 0) && (e = n);
}
return e?.key ?? null;
}
@@ -39082,7 +39152,7 @@ var QR = class e {
let e = null;
for (let t of this.state.selectedKeys) {
let n = this.collection.getItem(t);
- (!e || n && yD(this.collection, n, e) > 0) && (e = n);
+ (!e || n && hD(this.collection, n, e) > 0) && (e = n);
}
return e?.key ?? null;
}
@@ -39101,10 +39171,10 @@ var QR = class e {
let t = this.getKey(e);
if (t == null) return;
let n;
- if (this.state.selectedKeys === "all") n = new YR([t], t, t);
+ if (this.state.selectedKeys === "all") n = new JR([t], t, t);
else {
let e = this.state.selectedKeys, r = e.anchorKey ?? t;
- n = new YR(e, r, t);
+ n = new JR(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);
}
@@ -39112,7 +39182,7 @@ var QR = class e {
}
getKeyRange(e, t) {
let n = this.collection.getItem(e), r = this.collection.getItem(t);
- return n && r ? yD(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
+ return n && r ? hD(this.collection, n, r) <= 0 ? this.getKeyRangeInternal(e, t) : this.getKeyRangeInternal(t, e) : [];
}
getKeyRangeInternal(e, t) {
if (this.layoutDelegate?.getKeyRange) return this.layoutDelegate.getKeyRange(e, t);
@@ -39138,19 +39208,19 @@ var QR = class e {
}
let t = this.getKey(e);
if (t == null) return;
- let n = new YR(this.state.selectedKeys === "all" ? this.getSelectAllKeys() : this.state.selectedKeys);
+ let n = new JR(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 YR([t], t, t) : new YR();
+ let n = this.canSelectItem(t) ? new JR([t], t, t) : new JR();
this.state.setSelectedKeys(n);
}
setSelectedKeys(e) {
if (this.selectionMode === "none") return;
- let t = new YR();
+ let t = new JR();
for (let n of e) {
let e = this.getKey(n);
if (e != null && (t.add(e), this.selectionMode === "single")) break;
@@ -39162,7 +39232,7 @@ var QR = class e {
for (; r != null;) {
if (this.canSelectItemIn(r, e)) {
let i = e.getItem(r);
- i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(gD(hD(i, e))?.key ?? null);
+ i?.type === "item" && t.push(r), i?.hasChildNodes && (this.allowsCellSelection || i.type !== "item") && n(fD(dD(i, e))?.key ?? null);
}
r = e.getKeyAfter(r);
}
@@ -39173,7 +39243,7 @@ var QR = 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 YR());
+ !this.disallowEmptySelection && (this.state.selectedKeys === "all" || this.state.selectedKeys.size > 0) && this.state.setSelectedKeys(new JR());
}
toggleSelectAll() {
this.isSelectAll ? this.clearSelection() : this.selectAll();
@@ -39214,9 +39284,9 @@ var QR = class e {
fullCollection: this.fullCollection ?? this.collection
});
}
-}, $pe = class {
+}, sme = class {
build(e, t) {
- return this.context = t, $R(() => this.iterateCollection(e));
+ return this.context = t, QR(() => this.iterateCollection(e));
}
*iterateCollection(e) {
let { children: t, items: n } = e;
@@ -39298,10 +39368,10 @@ var QR = class e {
...a,
key: l,
index: s,
- wrapper: eme(e.wrapper, a.wrapper)
+ wrapper: cme(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 <${ez(t.type)}> in <${ez(r?.type ?? "unknown parent type")}>. Only <${ez(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 <${$R(t.type)}> in <${$R(r?.type ?? "unknown parent type")}>. Only <${$R(e.type)}> is supported.`);
s++, yield t;
}
c = o.next(u);
@@ -39323,7 +39393,7 @@ var QR = class e {
wrapper: e.wrapper,
shouldInvalidate: e.shouldInvalidate,
hasChildNodes: e.hasChildNodes || !1,
- childNodes: $R(function* () {
+ childNodes: QR(function* () {
if (!e.hasChildNodes || !e.childNodes) return;
let n = 0;
for (let r of e.childNodes()) {
@@ -39342,7 +39412,7 @@ var QR = class e {
this.cache = /* @__PURE__ */ new WeakMap();
}
};
-function $R(e) {
+function QR(e) {
let t = [], n = null;
return { *[Symbol.iterator]() {
for (let e of t) yield e;
@@ -39350,17 +39420,17 @@ function $R(e) {
for (let e of n) t.push(e), yield e;
} };
}
-function eme(e, t) {
+function cme(e, t) {
if (e && t) return (n) => e(t(n));
if (e) return e;
if (t) return t;
}
-function ez(e) {
+function $R(e) {
return e[0].toUpperCase() + e.slice(1);
}
// node_modules/react-stately/dist/private/collections/useCollection.mjs
-function tz(e, t, n) {
- let r = (0, F.useMemo)(() => new $pe(), []), { children: i, items: a, collection: o } = e;
+function ez(e, t, n) {
+ let r = (0, F.useMemo)(() => new sme(), []), { children: i, items: a, collection: o } = e;
return (0, F.useMemo)(() => o || t(r.build({
children: i,
items: a
@@ -39374,27 +39444,27 @@ function tz(e, t, n) {
]);
}
// node_modules/react-stately/dist/private/list/useListState.mjs
-function nz(e) {
- let { filter: t, layoutDelegate: n } = e, r = XR(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = tz(e, (0, F.useCallback)((e) => t ? new JR(t(e)) : new JR(e), [t]), (0, F.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, F.useMemo)(() => new QR(a, r, { layoutDelegate: n }), [
+function tz(e) {
+ let { filter: t, layoutDelegate: n } = e, r = YR(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = ez(e, (0, F.useCallback)((e) => t ? new qR(t(e)) : new qR(e), [t]), (0, F.useMemo)(() => ({ suppressTextValueWarning: e.suppressTextValueWarning }), [e.suppressTextValueWarning])), o = (0, F.useMemo)(() => new ZR(a, r, { layoutDelegate: n }), [
a,
r,
n
]);
- return rz(a, o), {
+ return nz(a, o), {
collection: a,
disabledKeys: i,
selectionManager: o
};
}
-function tme(e, t) {
+function lme(e, t) {
let n = (0, F.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
- return rz(n, r), {
+ return nz(n, r), {
collection: n,
selectionManager: r,
disabledKeys: e.disabledKeys
};
}
-function rz(e, t) {
+function nz(e, t) {
let n = (0, F.useRef)(null);
(0, F.useEffect)(() => {
if (t.focusedKey != null && !e.getItem(t.focusedKey) && n.current) {
@@ -39421,15 +39491,15 @@ function rz(e, t) {
}, [e, t]);
}
// node_modules/react-aria/dist/private/utils/useLoadMoreSentinel.mjs
-function iz(e, t) {
- let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, F.useRef)(null), s = kw((e) => {
+function rz(e, t) {
+ let { collection: n, onLoadMore: r, scrollOffset: i = 1, direction: a = "end" } = e, o = (0, F.useRef)(null), s = Tw((e) => {
for (let t of e) t.isIntersecting && r && r();
});
- BS(() => {
+ IS(() => {
if (t.current) {
let e = 100 * i, n = a === "start" ? `${e}% 0px 0px 0px` : `0px ${e}% ${e}% ${e}%`;
o.current = new IntersectionObserver(s, {
- root: FT(t?.current),
+ root: jT(t?.current),
rootMargin: n
}), o.current.observe(t.current);
}
@@ -39444,42 +39514,42 @@ function iz(e, t) {
]);
}
// node_modules/react-aria-components/dist/private/ListBox.mjs
-var az = /*#__PURE__*/ (0, F.createContext)(null), oz = /*#__PURE__*/ (0, F.createContext)(null), nme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = EL(e, t, az);
- let n = (0, F.useContext)(oz);
- return n ? /*#__PURE__*/ F.createElement(sz, {
+var iz = /*#__PURE__*/ (0, F.createContext)(null), az = /*#__PURE__*/ (0, F.createContext)(null), ume = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = TL(e, t, iz);
+ let n = (0, F.useContext)(az);
+ return n ? /*#__PURE__*/ F.createElement(oz, {
state: n,
props: e,
listBoxRef: t
- }) : /*#__PURE__*/ F.createElement(cw, { content: /*#__PURE__*/ F.createElement(hw, e) }, (n) => /*#__PURE__*/ F.createElement(rme, {
+ }) : /*#__PURE__*/ F.createElement(iw, { content: /*#__PURE__*/ F.createElement(dw, e) }, (n) => /*#__PURE__*/ F.createElement(dme, {
props: e,
listBoxRef: t,
collection: n
}));
});
-function rme({ props: e, listBoxRef: t, collection: n }) {
+function dme({ props: e, listBoxRef: t, collection: n }) {
e = {
...e,
collection: n,
children: null,
items: null
};
- let { layoutDelegate: r } = (0, F.useContext)(IL), i = nz({
+ let { layoutDelegate: r } = (0, F.useContext)(FL), i = tz({
...e,
layoutDelegate: r
});
- return /*#__PURE__*/ F.createElement(sz, {
+ return /*#__PURE__*/ F.createElement(oz, {
state: i,
props: e,
listBoxRef: t
});
}
-function sz({ state: e, props: t, listBoxRef: n }) {
- [t, n] = EL(t, n, jL);
- let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = tme(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Lw(), { disabledBehavior: p, disabledKeys: m } = l, h = wD({
+function oz({ state: e, props: t, listBoxRef: n }) {
+ [t, n] = TL(t, n, AL);
+ let { dragAndDropHooks: r, layout: i = "stack", orientation: a = "vertical", filter: o } = t, s = lme(e, o), { collection: c, selectionManager: l } = s, u = !!r?.useDraggableCollectionState, d = !!r?.useDroppableCollectionState, { direction: f } = Nw(), { disabledBehavior: p, disabledKeys: m } = l, h = bD({
usage: "search",
sensitivity: "base"
- }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, F.useContext)(IL), b = (0, F.useMemo)(() => t.keyboardDelegate || new EE({
+ }), { isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v, CollectionRoot: y } = (0, F.useContext)(FL), b = (0, F.useMemo)(() => t.keyboardDelegate || new SE({
collection: c,
collator: h,
ref: n,
@@ -39500,7 +39570,7 @@ function sz({ state: e, props: t, listBoxRef: n }) {
t.keyboardDelegate,
i,
_
- ]), { listBoxProps: x } = Hse({
+ ]), { listBoxProps: x } = Kse({
...t,
shouldSelectOnPressUp: u || t.shouldSelectOnPressUp,
keyboardDelegate: b,
@@ -39532,7 +39602,7 @@ function sz({ state: e, props: t, listBoxRef: n }) {
dropTargetDelegate: e
}, C, n), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: O, isFocused: k, isFocusVisible: A } = jD(), j = s.collection.size === 0, M = {
+ let { focusProps: O, isFocused: k, isFocusVisible: A } = DD(), j = s.collection.size === 0, M = {
isDropTarget: T,
isEmpty: j,
isFocused: k,
@@ -39540,7 +39610,7 @@ function sz({ state: e, props: t, listBoxRef: n }) {
layout: t.layout || "stack",
orientation: a,
state: s
- }, ee = wL({
+ }, ee = CL({
...t,
children: void 0,
defaultClassName: "react-aria-ListBox",
@@ -39550,8 +39620,8 @@ function sz({ state: e, props: t, listBoxRef: n }) {
role: "option",
style: { display: "contents" }
}, t.renderEmptyState(M)));
- let te = Gw(t, { global: !0 });
- return /*#__PURE__*/ F.createElement(hT, null, /*#__PURE__*/ F.createElement(AL.div, {
+ let te = Vw(t, { global: !0 });
+ return /*#__PURE__*/ F.createElement(dT, null, /*#__PURE__*/ F.createElement(kL.div, {
...K(te, ee, x, O, w?.collectionProps),
ref: n,
slot: t.slot || void 0,
@@ -39562,60 +39632,60 @@ function sz({ state: e, props: t, listBoxRef: n }) {
"data-focus-visible": A || void 0,
"data-layout": t.layout || "stack",
"data-orientation": a
- }, /*#__PURE__*/ F.createElement(CL, { values: [
- [az, t],
- [oz, s],
- [zR, {
+ }, /*#__PURE__*/ F.createElement(SL, { values: [
+ [iz, t],
+ [az, s],
+ [RR, {
dragAndDropHooks: r,
dragState: S,
dropState: C
}],
- [KR, { elementType: "div" }],
- [BR, { render: ome }],
- [NL, {
+ [GR, { elementType: "div" }],
+ [zR, { render: mme }],
+ [ML, {
name: "ListBoxSection",
- render: ime
+ render: fme
}]
- ] }, /*#__PURE__*/ F.createElement(WR, null, /*#__PURE__*/ F.createElement(y, {
+ ] }, /*#__PURE__*/ F.createElement(UR, null, /*#__PURE__*/ F.createElement(y, {
collection: c,
scrollRef: n,
- persistedKeys: HR(l, r, C),
- renderDropIndicator: VR(r, C)
+ persistedKeys: VR(l, r, C),
+ renderDropIndicator: BR(r, C)
}))), N, E));
}
-function ime(e, t, n, r = "react-aria-ListBoxSection") {
- let i = (0, F.useContext)(oz), { dragAndDropHooks: a, dropState: o } = (0, F.useContext)(zR), { CollectionBranch: s } = (0, F.useContext)(IL), [c, l] = DL(), { headingProps: u, groupProps: d } = Use({
+function fme(e, t, n, r = "react-aria-ListBoxSection") {
+ let i = (0, F.useContext)(az), { dragAndDropHooks: a, dropState: o } = (0, F.useContext)(RR), { CollectionBranch: s } = (0, F.useContext)(FL), [c, l] = EL(), { headingProps: u, groupProps: d } = qse({
heading: l,
"aria-label": e["aria-label"] ?? void 0
- }), f = wL({
+ }), f = CL({
...e,
id: void 0,
children: void 0,
defaultClassName: r,
values: void 0
- }), p = Gw(e, { global: !0 });
- return delete p.id, /*#__PURE__*/ F.createElement(AL.section, {
+ }), p = Vw(e, { global: !0 });
+ return delete p.id, /*#__PURE__*/ F.createElement(kL.section, {
...K(p, f, d),
ref: t
- }, /*#__PURE__*/ F.createElement(UR.Provider, { value: {
+ }, /*#__PURE__*/ F.createElement(HR.Provider, { value: {
...u,
ref: c
} }, /*#__PURE__*/ F.createElement(s, {
collection: i.collection,
parent: n,
- renderDropIndicator: VR(a, o)
+ renderDropIndicator: BR(a, o)
})));
}
-var ame = /*#__PURE__*/ dw(_S, function(e, t, n) {
- let r = QC(t), i = (0, F.useContext)(oz), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(zR), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Wse({
+var pme = /*#__PURE__*/ sw(pS, function(e, t, n) {
+ let r = JC(t), i = (0, F.useContext)(az), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(RR), c = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { optionProps: l, labelProps: u, descriptionProps: d, ...f } = Jse({
key: n.key,
"aria-label": e?.["aria-label"]
- }, i, r), { hoverProps: p, isHovered: m } = FD({
+ }, i, r), { hoverProps: p, isHovered: m } = jD({
isDisabled: !f.allowsSelection && !f.hasAction && !c,
onHoverStart: n.props.onHoverStart,
onHoverChange: n.props.onHoverChange,
onHoverEnd: n.props.onHoverEnd
- }), { keyboardProps: h } = ZC(e), { focusProps: g } = qC(e), _ = null;
+ }), { keyboardProps: h } = qC(e), { focusProps: g } = UC(e), _ = null;
o && a && (_ = a.useDraggableItem({
key: n.key,
hasAction: f.hasAction
@@ -39626,7 +39696,7 @@ var ame = /*#__PURE__*/ dw(_S, function(e, t, n) {
key: n.key,
dropPosition: "on"
} }, s, r));
- let y = o && o.isDragging(n.key), b = wL({
+ let y = o && o.isDragging(n.key), b = CL({
...e,
id: void 0,
children: e.children,
@@ -39644,7 +39714,7 @@ var ame = /*#__PURE__*/ dw(_S, function(e, t, n) {
(0, F.useEffect)(() => {
n.textValue;
}, [n.textValue]);
- let x = e.href ? AL.a : AL.div, S = Gw(e, { global: !0 });
+ let x = e.href ? kL.a : kL.div, S = Vw(e, { global: !0 });
return delete S.id, delete S.onClick, e.href && l.tabIndex == null && (l.tabIndex = -1), /*#__PURE__*/ F.createElement(x, {
...K(S, b, l, p, h, g, _?.dragProps, v?.dropProps),
ref: r,
@@ -39658,29 +39728,29 @@ var ame = /*#__PURE__*/ dw(_S, 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__*/ F.createElement(CL, { values: [[WL, { slots: {
- [SL]: u,
+ }, /*#__PURE__*/ F.createElement(SL, { values: [[UL, { slots: {
+ [xL]: u,
label: u,
description: d
- } }], [GR, { isSelected: f.isSelected }]] }, b.children));
+ } }], [WR, { isSelected: f.isSelected }]] }, b.children));
});
-function ome(e, t) {
- t = QC(t);
- let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(zR), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
- return a ? null : /*#__PURE__*/ F.createElement(cme, {
+function mme(e, t) {
+ t = JC(t);
+ let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(RR), { dropIndicatorProps: i, isHidden: a, isDropTarget: o } = n.useDropIndicator(e, r, t);
+ return a ? null : /*#__PURE__*/ F.createElement(gme, {
...e,
dropIndicatorProps: i,
isDropTarget: o,
ref: t
});
}
-function sme(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = wL({
+function hme(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, ...i } = e, a = CL({
...i,
defaultClassName: "react-aria-DropIndicator",
values: { isDropTarget: r }
});
- return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(AL.div, {
+ return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(kL.div, {
...n,
...a,
role: "option",
@@ -39688,10 +39758,10 @@ function sme(e, t) {
"data-drop-target": r || void 0
}));
}
-var cme = /*#__PURE__*/ (0, F.forwardRef)(sme);
-dw(gS, function(e, t, n) {
- let r = (0, F.useContext)(oz), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);
- iz((0, F.useMemo)(() => ({
+var gme = /*#__PURE__*/ (0, F.forwardRef)(hme);
+sw(fS, function(e, t, n) {
+ let r = (0, F.useContext)(az), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);
+ rz((0, F.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -39701,7 +39771,7 @@ dw(gS, function(e, t, n) {
o,
r?.collection
]), c);
- let l = wL({
+ let l = CL({
...s,
id: void 0,
children: n.rendered,
@@ -39714,7 +39784,7 @@ dw(gS, function(e, t, n) {
width: 0,
height: 0
},
- inert: qR(!0)
+ inert: KR(!0)
}, /*#__PURE__*/ F.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -39723,18 +39793,18 @@ dw(gS, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(AL.div, {
- ...K(Gw(e, { global: !0 }), { tabIndex: -1 }),
+ })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(kL.div, {
+ ...K(Vw(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "option",
ref: t
}, l.children)));
});
// node_modules/react-aria-components/dist/private/OverlayArrow.mjs
-var lme = /*#__PURE__*/ (0, F.createContext)({ placement: "bottom" });
+var _me = /*#__PURE__*/ (0, F.createContext)({ placement: "bottom" });
// node_modules/react-stately/dist/private/overlays/useOverlayTriggerState.mjs
-function cz(e) {
- let [t, n] = rE(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, F.useState)(null);
+function sz(e) {
+ let [t, n] = $T(e.isOpen, e.defaultOpen || !1, e.onOpenChange), [r, i] = (0, F.useState)(null);
return {
isOpen: t,
setOpen: n,
@@ -39752,15 +39822,15 @@ function cz(e) {
};
}
// node_modules/react-aria/dist/private/utils/animation.mjs
-function lz(e, t = !0, n) {
+function cz(e, t = !0, n) {
let [r, i] = (0, F.useState)(!0), a = r && t;
- return BS(() => {
- if (!t && e.current) return LC(kS(e.current, "opacity", "0"), kS(e.current, "clip", "rect(0 0 0 0)"), kS(e.current, "clip-path", "inset(50%)"), kS(e.current, "mask-image", "linear-gradient(#0000, #0000)"));
- }, [e, t]), BS(() => {
+ return IS(() => {
+ if (!t && e.current) return NC(TS(e.current, "opacity", "0"), TS(e.current, "clip", "rect(0 0 0 0)"), TS(e.current, "clip-path", "inset(50%)"), TS(e.current, "mask-image", "linear-gradient(#0000, #0000)"));
+ }, [e, t]), IS(() => {
if (a && e.current && "getAnimations" in e.current) for (let t of e.current.getAnimations()) t instanceof CSSTransition && t.cancel();
- }, [e, a]), dz(e, a, n, (0, F.useCallback)(() => i(!1), [])), a;
+ }, [e, a]), uz(e, a, n, (0, F.useCallback)(() => i(!1), [])), a;
}
-function uz(e, t, n) {
+function lz(e, t, n) {
let [r, i] = (0, F.useState)(t ? "open" : "closed");
switch (r) {
case "open":
@@ -39770,13 +39840,13 @@ function uz(e, t, n) {
case "exiting": t && i("open");
}
let a = r === "exiting";
- return dz(e, a, n, (0, F.useCallback)(() => {
+ return uz(e, a, n, (0, F.useCallback)(() => {
i((e) => e === "exiting" ? "closed" : e);
}, [])), a;
}
-function dz(e, t, n, r) {
- let i = (0, F.useRef)(null), a = kw(n);
- BS(() => {
+function uz(e, t, n, r) {
+ let i = (0, F.useRef)(null), a = Tw(n);
+ IS(() => {
if (t && e.current && i.current !== t) {
if (i.current = t, !("getAnimations" in e.current)) {
r();
@@ -39801,9 +39871,9 @@ function dz(e, t, n, r) {
]);
}
// node_modules/react-aria-components/dist/private/Popover.mjs
-var fz = /*#__PURE__*/ (0, F.createContext)(null), pz = /*#__PURE__*/ (0, F.createContext)(null), mz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = EL(e, t, fz);
- let n = (0, F.useContext)(Ez), r = cz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = uz(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = iw(), { direction: c } = Lw();
+var dz = /*#__PURE__*/ (0, F.createContext)(null), fz = /*#__PURE__*/ (0, F.createContext)(null), pz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = TL(e, t, dz);
+ let n = (0, F.useContext)(Tz), r = sz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = lz(t, i.isOpen), o = e.isExiting || !e.shouldSkipAnimation && a || !1, s = ew(), { direction: c } = Nw();
if (s) {
let t = e.children;
return typeof t == "function" && (t = t({
@@ -39814,7 +39884,7 @@ var fz = /*#__PURE__*/ (0, F.createContext)(null), pz = /*#__PURE__*/ (0, F.crea
defaultChildren: null
})), /*#__PURE__*/ F.createElement(F.Fragment, null, t);
}
- return i && !i.isOpen && !o ? null : /*#__PURE__*/ F.createElement(ume, {
+ return i && !i.isOpen && !o ? null : /*#__PURE__*/ F.createElement(vme, {
...e,
triggerRef: e.triggerRef,
state: i,
@@ -39823,13 +39893,13 @@ var fz = /*#__PURE__*/ (0, F.createContext)(null), pz = /*#__PURE__*/ (0, F.crea
dir: c
});
});
-function ume({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
- let a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useContext)(pz), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, F.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = gce({
+function vme({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContexts: r, ...i }) {
+ let a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useContext)(fz), c = s && i.trigger === "SubmenuTrigger", [l, u] = (0, F.useState)(!1), { popoverProps: d, underlayProps: f, arrowProps: p, placement: m, triggerAnchorPoint: h } = bce({
...i,
offset: i.offset ?? 8,
arrowRef: a,
groupRef: c ? s : o
- }, e), g = i.popoverRef, _ = lz(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = wL({
+ }, e), g = i.popoverRef, _ = cz(g, !!m && l), v = i.isEntering || !i.shouldSkipAnimation && _ || !1, y = CL({
...i,
defaultClassName: "react-aria-Popover",
values: {
@@ -39839,10 +39909,10 @@ function ume({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
isExiting: t
}
}), b = !i.isNonModal || i.trigger === "SubmenuTrigger" || i.trigger === "PreviewTrigger", [x, S] = (0, F.useState)(i.trigger === "PreviewTrigger");
- BS(() => {
+ IS(() => {
g.current && S(b && !g.current.querySelector("[role=dialog]"));
}, [g, b]), (0, F.useEffect)(() => {
- x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || TC() !== "pointer") && g.current && !PS(g.current) && IC(g.current);
+ x && i.trigger !== "PreviewTrigger" && (i.trigger !== "SubmenuTrigger" || xC() !== "pointer") && g.current && !AS(g.current) && MC(g.current);
}, [
x,
g,
@@ -39850,12 +39920,12 @@ function ume({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
]);
let C = (0, F.useMemo)(() => {
let e = y.children;
- for (let t of [fz, ...r ?? []]) e = /*#__PURE__*/ F.createElement(t.Provider, { value: null }, e);
+ for (let t of [dz, ...r ?? []]) e = /*#__PURE__*/ F.createElement(t.Provider, { value: null }, e);
return e;
}, [y.children, r]), [w, T] = (0, F.useState)(null), E = (0, F.useCallback)(() => {
i.triggerRef.current && T(i.triggerRef.current.getBoundingClientRect().width + "px");
}, [i.triggerRef]);
- BS(E, [E]), NO({
+ IS(E, [E]), kO({
ref: y.style?.["--trigger-width"] ? void 0 : i.triggerRef,
onResize: E
});
@@ -39865,9 +39935,9 @@ function ume({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
...y.style,
"--trigger-width": y.style?.["--trigger-width"] || w
};
- BS(() => Sk(() => u(!0)), []);
- let O = /*#__PURE__*/ F.createElement(AL.div, {
- ...K(Gw(i, { global: !0 }), d),
+ IS(() => vk(() => u(!0)), []);
+ let O = /*#__PURE__*/ F.createElement(kL.div, {
+ ...K(Vw(i, { global: !0 }), d),
...y,
id: x ? i.id : void 0,
role: x ? "dialog" : void 0,
@@ -39882,17 +39952,17 @@ function ume({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
"data-placement": m,
"data-entering": v || void 0,
"data-exiting": t || void 0
- }, !i.isNonModal && /*#__PURE__*/ F.createElement(hk, { onDismiss: e.close }), /*#__PURE__*/ F.createElement(lme.Provider, { value: {
+ }, !i.isNonModal && /*#__PURE__*/ F.createElement(dk, { onDismiss: e.close }), /*#__PURE__*/ F.createElement(_me.Provider, { value: {
...p,
placement: m,
ref: a
- } }, C), /*#__PURE__*/ F.createElement(hk, { onDismiss: e.close }));
- return c ? /*#__PURE__*/ F.createElement(kD, {
+ } }, C), /*#__PURE__*/ F.createElement(dk, { onDismiss: e.close }));
+ return c ? /*#__PURE__*/ F.createElement(TD, {
...i,
shouldContainFocus: x && i.trigger !== "PreviewTrigger",
isExiting: t,
portalContainer: n ?? s?.current ?? void 0
- }, O) : /*#__PURE__*/ F.createElement(kD, {
+ }, O) : /*#__PURE__*/ F.createElement(TD, {
...i,
shouldContainFocus: x && i.trigger !== "PreviewTrigger",
isExiting: t,
@@ -39907,13 +39977,13 @@ function ume({ state: e, isExiting: t, UNSTABLE_portalContainer: n, clearContext
}), /*#__PURE__*/ F.createElement("div", {
ref: o,
style: { display: "contents" }
- }, /*#__PURE__*/ F.createElement(pz.Provider, { value: o }, O)));
+ }, /*#__PURE__*/ F.createElement(fz.Provider, { value: o }, O)));
}
// node_modules/react-aria-components/dist/private/Keyboard.mjs
-var dme = /*#__PURE__*/ (0, F.createContext)({});
+var yme = /*#__PURE__*/ (0, F.createContext)({});
// node_modules/react-stately/dist/private/menu/useMenuTriggerState.mjs
-function hz(e) {
- let t = cz(e), [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)([]), o = () => {
+function mz(e) {
+ let t = sz(e), [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)([]), o = () => {
a([]), t.close();
}, s = (e, t) => {
a((n) => t > n.length ? n : [...n.slice(0, t), e]);
@@ -39938,7 +40008,7 @@ function hz(e) {
};
}
// node_modules/react-stately/dist/private/tree/TreeCollection.mjs
-var fme = class {
+var bme = 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) => {
@@ -39981,8 +40051,8 @@ var fme = class {
}
};
// node_modules/react-stately/dist/private/tree/useTreeState.mjs
-function gz(e) {
- let { onExpandedChange: t } = e, [n, r] = rE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = XR(e), a = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = tz(e, (0, F.useCallback)((e) => new fme(e, { expandedKeys: n }), [n]), null);
+function hz(e) {
+ let { onExpandedChange: t } = e, [n, r] = $T(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), t), i = YR(e), a = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), o = ez(e, (0, F.useCallback)((e) => new bme(e, { expandedKeys: n }), [n]), null);
return (0, F.useEffect)(() => {
i.focusedKey != null && !o.getItem(i.focusedKey) && i.setFocusedKey(null);
}, [o, i.focusedKey]), {
@@ -39990,31 +40060,31 @@ function gz(e) {
expandedKeys: n,
disabledKeys: a,
toggleKey: (e) => {
- r(pme(n, e));
+ r(xme(n, e));
},
setExpandedKeys: r,
- selectionManager: new QR(o, i)
+ selectionManager: new ZR(o, i)
};
}
-function pme(e, t) {
+function xme(e, t) {
let n = new Set(e);
return n.has(t) ? n.delete(t) : n.add(t), n;
}
// node_modules/react-aria-components/dist/private/Menu.mjs
-var _z = /*#__PURE__*/ (0, F.createContext)(null), vz = /*#__PURE__*/ (0, F.createContext)(null), yz = /*#__PURE__*/ (0, F.createContext)(null), bz = /*#__PURE__*/ (0, F.createContext)(null);
-function mme(e) {
- let t = hz(e), n = (0, F.useRef)(null), { menuTriggerProps: r, menuProps: i } = uD({
+var gz = /*#__PURE__*/ (0, F.createContext)(null), _z = /*#__PURE__*/ (0, F.createContext)(null), vz = /*#__PURE__*/ (0, F.createContext)(null), yz = /*#__PURE__*/ (0, F.createContext)(null);
+function Sme(e) {
+ let t = mz(e), n = (0, F.useRef)(null), { menuTriggerProps: r, menuProps: i } = oD({
...e,
type: "menu"
}, t, n), a = (0, F.useRef)(null);
- return iw() ? null : /*#__PURE__*/ F.createElement(CL, { values: [
- [_z, {
+ return ew() ? null : /*#__PURE__*/ F.createElement(SL, { values: [
+ [gz, {
...i,
ref: a
}],
- [Ez, t],
- [yz, t],
- [fz, {
+ [Tz, t],
+ [vz, t],
+ [dz, {
trigger: "MenuTrigger",
triggerRef: n,
scrollRef: a,
@@ -40022,14 +40092,14 @@ function mme(e) {
"aria-labelledby": i["aria-labelledby"],
offset: e.trigger === "contextMenu" ? 0 : void 0
}]
- ] }, /*#__PURE__*/ F.createElement(Dse, {
+ ] }, /*#__PURE__*/ F.createElement(jse, {
...r,
ref: n,
isPressed: t.isOpen
}, e.children));
}
-var hme = /*#__PURE__*/ (0, F.createContext)(null);
-(class extends mS {
+var Cme = /*#__PURE__*/ (0, F.createContext)(null);
+(class extends uS {
static {
this.type = "submenutrigger";
}
@@ -40042,24 +40112,24 @@ var hme = /*#__PURE__*/ (0, F.createContext)(null);
return null;
}
});
-var gme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- return [e, t] = EL(e, t, _z), /*#__PURE__*/ F.createElement(cw, { content: /*#__PURE__*/ F.createElement(hw, e) }, (n) => /*#__PURE__*/ F.createElement(_me, {
+var wme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ return [e, t] = TL(e, t, gz), /*#__PURE__*/ F.createElement(iw, { content: /*#__PURE__*/ F.createElement(dw, e) }, (n) => /*#__PURE__*/ F.createElement(Tme, {
props: e,
collection: n,
menuRef: t
}));
});
-function _me({ props: e, collection: t, menuRef: n }) {
- [e, n] = EL(e, n, jL);
- let { filter: r, ...i } = e, a = (0, F.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = gz({
+function Tme({ props: e, collection: t, menuRef: n }) {
+ [e, n] = TL(e, n, AL);
+ let { filter: r, ...i } = e, a = (0, F.useMemo)(() => r ? t.filter(r) : t, [t, r]), o = hz({
...e,
collection: a,
children: void 0
- }), s = (0, F.useContext)(yz), { isVirtualized: c, CollectionRoot: l } = (0, F.useContext)(IL), { menuProps: u } = Gse({
+ }), s = (0, F.useContext)(vz), { isVirtualized: c, CollectionRoot: l } = (0, F.useContext)(FL), { menuProps: u } = Yse({
...e,
isVirtualized: c,
onClose: e.onClose || s?.close
- }, o, n), d = wL({
+ }, o, n), d = CL({
...e,
children: void 0,
defaultClassName: "react-aria-Menu",
@@ -40069,36 +40139,36 @@ function _me({ props: e, collection: t, menuRef: n }) {
role: "menuitem",
style: { display: "contents" }
}, e.renderEmptyState()));
- let p = Gw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(hT, null, /*#__PURE__*/ F.createElement(AL.div, {
+ let p = Vw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(dT, null, /*#__PURE__*/ F.createElement(kL.div, {
...K(p, d, u),
ref: n,
slot: e.slot || void 0,
"data-empty": o.collection.size === 0 || void 0,
onScroll: e.onScroll
- }, /*#__PURE__*/ F.createElement(CL, { values: [
- [vz, o],
- [KR, { elementType: "div" }],
- [NL, {
+ }, /*#__PURE__*/ F.createElement(SL, { values: [
+ [_z, o],
+ [GR, { elementType: "div" }],
+ [ML, {
name: "MenuSection",
- render: xz
+ render: bz
}],
- [hme, {
+ [Cme, {
parentMenuRef: n,
shouldUseVirtualFocus: i?.shouldUseVirtualFocus
}],
- [Cz, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
+ [Sz, { shouldCloseOnSelect: e.shouldCloseOnSelect }],
+ [AL, null],
[jL, null],
- [ML, null],
- [bz, o.selectionManager],
- [yz, s ?? hz({})]
- ] }, /*#__PURE__*/ F.createElement(WR, null, /*#__PURE__*/ F.createElement(l, {
+ [yz, o.selectionManager],
+ [vz, s ?? mz({})]
+ ] }, /*#__PURE__*/ F.createElement(UR, null, /*#__PURE__*/ F.createElement(l, {
collection: o.collection,
- persistedKeys: LL(o.selectionManager.focusedKey),
+ persistedKeys: IL(o.selectionManager.focusedKey),
scrollRef: n
}))), f));
}
-var vme = class extends QR {
+var Eme = class extends ZR {
constructor(e, t) {
super(e.collection, t), this.parent = e;
}
@@ -40118,11 +40188,11 @@ var vme = class extends QR {
return this.parent.childFocusStrategy;
}
};
-function xz(e, t, n, r = "react-aria-MenuSection") {
- let i = (0, F.useContext)(vz), { CollectionBranch: a } = (0, F.useContext)(IL), [o, s] = DL(), { headingProps: c, groupProps: l } = qse({
+function bz(e, t, n, r = "react-aria-MenuSection") {
+ let i = (0, F.useContext)(_z), { CollectionBranch: a } = (0, F.useContext)(FL), [o, s] = EL(), { headingProps: c, groupProps: l } = Zse({
heading: s,
"aria-label": n.props["aria-label"] ?? void 0
- }), u = wL({
+ }), u = CL({
...e,
id: void 0,
children: void 0,
@@ -40130,31 +40200,31 @@ function xz(e, t, n, r = "react-aria-MenuSection") {
className: n.props?.className,
style: n.props?.style,
values: void 0
- }), d = (0, F.useContext)(bz), f = XR(e), p = e.selectionMode == null ? d : new vme(d, f), m = TL(Cz)?.shouldCloseOnSelect, h = Gw(e, { global: !0 });
- return delete h.id, /*#__PURE__*/ F.createElement(AL.section, {
+ }), d = (0, F.useContext)(yz), f = YR(e), p = e.selectionMode == null ? d : new Eme(d, f), m = wL(Sz)?.shouldCloseOnSelect, h = Vw(e, { global: !0 });
+ return delete h.id, /*#__PURE__*/ F.createElement(kL.section, {
...K(h, u, l),
ref: t
- }, /*#__PURE__*/ F.createElement(CL, { values: [
- [UR, {
+ }, /*#__PURE__*/ F.createElement(SL, { values: [
+ [HR, {
...c,
ref: o
}],
- [bz, p],
- [Cz, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
+ [yz, p],
+ [Sz, { shouldCloseOnSelect: e.shouldCloseOnSelect ?? m }]
] }, /*#__PURE__*/ F.createElement(a, {
collection: i.collection,
parent: n
})));
}
-var Sz = /*#__PURE__*/ fw(oae, xz), Cz = /*#__PURE__*/ (0, F.createContext)(null), wz = /*#__PURE__*/ dw(_S, function(e, t, n) {
- [e, t] = EL(e, t, Cz);
- let r = TL(Cz)?.id, i = (0, F.useContext)(vz), a = QC(t), o = (0, F.useContext)(bz), { isVirtualized: s } = (0, F.useContext)(IL), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Kse({
+var xz = /*#__PURE__*/ cw(uae, bz), Sz = /*#__PURE__*/ (0, F.createContext)(null), Cz = /*#__PURE__*/ sw(pS, function(e, t, n) {
+ [e, t] = TL(e, t, Sz);
+ let r = wL(Sz)?.id, i = (0, F.useContext)(_z), a = JC(t), o = (0, F.useContext)(yz), { isVirtualized: s } = (0, F.useContext)(FL), { menuItemProps: c, labelProps: l, descriptionProps: u, keyboardShortcutProps: d, ...f } = Xse({
...e,
id: r,
key: n.key,
selectionManager: o,
isVirtualized: s
- }, i, a), { hoverProps: p, isHovered: m } = FD({ isDisabled: f.isDisabled }), h = wL({
+ }, i, a), { hoverProps: p, isHovered: m } = jD({ isDisabled: f.isDisabled }), h = CL({
...e,
id: void 0,
children: n.rendered,
@@ -40168,7 +40238,7 @@ var Sz = /*#__PURE__*/ fw(oae, xz), Cz = /*#__PURE__*/ (0, F.createContext)(null
hasSubmenu: !!e["aria-haspopup"],
isOpen: e["aria-expanded"] === "true"
}
- }), g = e.href ? AL.a : AL.div, _ = Gw(e, { global: !0 });
+ }), g = e.href ? kL.a : kL.div, _ = Vw(e, { global: !0 });
return delete _.id, delete _.onClick, /*#__PURE__*/ F.createElement(g, {
...K(_, h, c, p),
ref: a,
@@ -40181,19 +40251,19 @@ var Sz = /*#__PURE__*/ fw(oae, xz), Cz = /*#__PURE__*/ (0, F.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__*/ F.createElement(CL, { values: [
- [WL, { slots: {
- [SL]: l,
+ }, /*#__PURE__*/ F.createElement(SL, { values: [
+ [UL, { slots: {
+ [xL]: l,
label: l,
description: u
} }],
- [dme, d],
- [GR, { isSelected: f.isSelected }]
+ [yme, d],
+ [WR, { isSelected: f.isSelected }]
] }, h.children));
});
-dw(gS, function(e, t, n) {
- let r = (0, F.useContext)(vz), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);
- iz((0, F.useMemo)(() => ({
+sw(fS, function(e, t, n) {
+ let r = (0, F.useContext)(_z), { isLoading: i, onLoadMore: a, scrollOffset: o, ...s } = e, c = (0, F.useRef)(null);
+ rz((0, F.useMemo)(() => ({
onLoadMore: a,
collection: r?.collection,
sentinelRef: c,
@@ -40203,7 +40273,7 @@ dw(gS, function(e, t, n) {
o,
r?.collection
]), c);
- let l = wL({
+ let l = CL({
...s,
id: void 0,
children: n.rendered,
@@ -40216,7 +40286,7 @@ dw(gS, function(e, t, n) {
width: 0,
height: 0
},
- inert: qR(!0)
+ inert: KR(!0)
}, /*#__PURE__*/ F.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: c,
@@ -40225,89 +40295,89 @@ dw(gS, function(e, t, n) {
height: 1,
width: 1
}
- })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(AL.div, {
- ...K(Gw(e, { global: !0 }), { tabIndex: -1 }),
+ })), i && l.children && /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(kL.div, {
+ ...K(Vw(e, { global: !0 }), { tabIndex: -1 }),
...l,
role: "menuitem",
ref: t
}, l.children)));
});
// node_modules/react-aria-components/dist/private/Dialog.mjs
-var Tz = /*#__PURE__*/ (0, F.createContext)(null), Ez = /*#__PURE__*/ (0, F.createContext)(null), Dz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+var wz = /*#__PURE__*/ (0, F.createContext)(null), Tz = /*#__PURE__*/ (0, F.createContext)(null), Ez = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let n = e["aria-labelledby"];
- [e, t] = EL(e, t, Tz);
- let { dialogProps: r, titleProps: i, contentProps: a } = kse({
+ [e, t] = TL(e, t, wz);
+ let { dialogProps: r, titleProps: i, contentProps: a } = Nse({
...e,
"aria-labelledby": n
- }, t), o = (0, F.useContext)(Ez);
+ }, t), o = (0, F.useContext)(Tz);
!r["aria-label"] && !r["aria-labelledby"] && e["aria-labelledby"] && (r["aria-labelledby"] = e["aria-labelledby"]);
- let s = wL({
+ let s = CL({
defaultClassName: "react-aria-Dialog",
className: e.className,
style: e.style,
children: e.children,
values: { close: o?.close || (() => {}) }
- }), c = Gw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(AL.section, {
+ }), c = Vw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(kL.section, {
...K(c, s, r),
render: e.render,
ref: t,
slot: e.slot || void 0
- }, /*#__PURE__*/ F.createElement(CL, { values: [
- [HL, { slots: {
- [SL]: {},
+ }, /*#__PURE__*/ F.createElement(SL, { values: [
+ [VL, { slots: {
+ [xL]: {},
title: {
...i,
level: 2
}
} }],
- [WL, { slots: {
- [SL]: {},
+ [UL, { slots: {
+ [xL]: {},
description: a
} }],
- [BL, { slots: {
- [SL]: {},
+ [zL, { slots: {
+ [xL]: {},
close: { onPress: () => o?.close() }
} }]
] }, s.children));
-}), Oz = typeof document < "u" && window.visualViewport;
-function yme() {
- let e = lC(), t = (0, F.useRef)(null), [n, r] = (0, F.useState)(() => e ? {
+}), Dz = typeof document < "u" && window.visualViewport;
+function Dme() {
+ let e = aC(), t = (0, F.useRef)(null), [n, r] = (0, F.useState)(() => e ? {
width: 0,
height: 0
- } : kz());
+ } : Oz());
return (0, F.useEffect)(() => {
let e = (e) => {
r((t) => e.width === t.width && e.height === t.height ? t : e);
}, n = () => {
- Oz && Oz.scale > 1 || e(kz());
+ Dz && Dz.scale > 1 || e(Oz());
}, i = (n) => {
- Oz && Oz.scale > 1 || Ew(G(n)) && (t.current = Sk((t) => {
+ Dz && Dz.scale > 1 || Sw(G(n)) && (t.current = vk((t) => {
t || e({
width: document.documentElement.clientWidth,
height: document.documentElement.clientHeight
});
}));
};
- return e(kz()), XS() && ZS() && window.addEventListener("blur", i, !0), Oz ? Oz.addEventListener("resize", n) : window.addEventListener("resize", n), () => {
- t.current?.(), XS() && ZS() && window.removeEventListener("blur", i, !0), Oz ? Oz.removeEventListener("resize", n) : window.removeEventListener("resize", n);
+ return e(Oz()), KS() && qS() && window.addEventListener("blur", i, !0), Dz ? Dz.addEventListener("resize", n) : window.addEventListener("resize", n), () => {
+ t.current?.(), KS() && qS() && window.removeEventListener("blur", i, !0), Dz ? Dz.removeEventListener("resize", n) : window.removeEventListener("resize", n);
};
}, []), n;
}
-function kz() {
+function Oz() {
return {
- width: Oz ? Math.min(Oz.width * Oz.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
- height: Oz ? Oz.height * Oz.scale : document.documentElement.clientHeight
+ width: Dz ? Math.min(Dz.width * Dz.scale, document.documentElement.clientWidth) : document.documentElement.clientWidth,
+ height: Dz ? Dz.height * Dz.scale : document.documentElement.clientHeight
};
}
// node_modules/react-aria-components/dist/private/Modal.mjs
-var bme = /*#__PURE__*/ (0, F.createContext)(null), Az = /*#__PURE__*/ (0, F.createContext)(null), xme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- if ((0, F.useContext)(Az)) return /*#__PURE__*/ F.createElement(Mz, {
+var Ome = /*#__PURE__*/ (0, F.createContext)(null), kz = /*#__PURE__*/ (0, F.createContext)(null), kme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ if ((0, F.useContext)(kz)) return /*#__PURE__*/ F.createElement(jz, {
...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__*/ F.createElement(jz, {
+ return /*#__PURE__*/ F.createElement(Az, {
isDismissable: n,
isKeyboardDismissDisabled: r,
isOpen: i,
@@ -40317,15 +40387,15 @@ var bme = /*#__PURE__*/ (0, F.createContext)(null), Az = /*#__PURE__*/ (0, F.cre
isExiting: l,
UNSTABLE_portalContainer: u,
shouldCloseOnInteractOutside: d
- }, /*#__PURE__*/ F.createElement(Mz, {
+ }, /*#__PURE__*/ F.createElement(jz, {
...f,
modalRef: t
}, s));
});
-function Sme(e, t) {
- [e, t] = EL(e, t, bme);
- let n = (0, F.useContext)(Ez), r = cz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = QC(t), o = (0, F.useRef)(null), s = uz(a, i.isOpen, e.onExit), c = (0, F.useRef)(null), l = uz(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = lC();
- return !i.isOpen && !u || d ? null : /*#__PURE__*/ F.createElement(Cme, {
+function Ame(e, t) {
+ [e, t] = TL(e, t, Ome);
+ let n = (0, F.useContext)(Tz), r = sz(e), i = e.isOpen != null || e.defaultOpen != null || !n ? r : n, a = JC(t), o = (0, F.useRef)(null), s = lz(a, i.isOpen, e.onExit), c = (0, F.useRef)(null), l = lz(o, i.isOpen, (e) => c.current?.(e)), u = s || l || e.isExiting || !1, d = aC();
+ return !i.isOpen && !u || d ? null : /*#__PURE__*/ F.createElement(jme, {
...e,
state: i,
isExiting: u,
@@ -40334,12 +40404,12 @@ function Sme(e, t) {
onExitRef: c
});
}
-var jz = /*#__PURE__*/ (0, F.forwardRef)(Sme);
-function Cme({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {
- let r = n.modalRef, { state: i } = n, [a, o] = (0, F.useState)(!1), s = lz(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = ice({
+var Az = /*#__PURE__*/ (0, F.forwardRef)(Ame);
+function jme({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n }) {
+ let r = n.modalRef, { state: i } = n, [a, o] = (0, F.useState)(!1), s = cz(n.overlayRef, a, n.onEnter) || n.isEntering || !1, c = !!t && (!a || s), { modalProps: l, underlayProps: u } = cce({
...n,
isEntering: c
- }, i, r), d = (0, F.useContext)(Tz), f = t ? wme(d, { isEntering: c }) : d, p = wL({
+ }, i, r), d = (0, F.useContext)(wz), f = t ? Mme(d, { isEntering: c }) : d, p = CL({
...n,
defaultClassName: "react-aria-ModalOverlay",
values: {
@@ -40347,9 +40417,9 @@ function Cme({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
isExiting: n.isExiting,
state: i
}
- }), m = yme(), h, g;
+ }), m = Dme(), h, g;
if (typeof document < "u") {
- let e = PT(document.body) ? document.body : document.scrollingElement || document.documentElement, t = e.getBoundingClientRect().width % 1, n = e.getBoundingClientRect().height % 1;
+ let e = AT(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;
}
let _ = {
@@ -40359,18 +40429,18 @@ function Cme({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
"--page-width": h === void 0 ? void 0 : h + "px",
"--page-height": g === void 0 ? void 0 : g + "px"
};
- return BS(() => Sk(() => o(!0)), []), /*#__PURE__*/ F.createElement(kD, {
+ return IS(() => vk(() => o(!0)), []), /*#__PURE__*/ F.createElement(TD, {
isExiting: n.isExiting,
portalContainer: e
- }, /*#__PURE__*/ F.createElement(AL.div, {
- ...K(Gw(n, { global: !0 }), u),
+ }, /*#__PURE__*/ F.createElement(kL.div, {
+ ...K(Vw(n, { global: !0 }), u),
...p,
style: _,
ref: n.overlayRef,
"data-entering": s || void 0,
"data-exiting": n.isExiting || void 0
- }, /*#__PURE__*/ F.createElement(CL, { values: [
- [Az, {
+ }, /*#__PURE__*/ F.createElement(SL, { values: [
+ [kz, {
modalProps: l,
modalRef: r,
isExiting: n.isExiting,
@@ -40378,11 +40448,11 @@ function Cme({ UNSTABLE_portalContainer: e, UNSTABLE_deferUntilEntered: t, ...n
isOpen: a,
isDismissable: n.isDismissable
}],
- [Ez, i],
- [Tz, f]
+ [Tz, i],
+ [wz, f]
] }, p.children)));
}
-function wme(e, t) {
+function Mme(e, t) {
if (e && "slots" in e && e.slots) {
let n = {};
for (let r in e.slots) n[r] = {
@@ -40399,8 +40469,8 @@ function wme(e, t) {
...t
};
}
-function Mz(e) {
- let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, F.useContext)(Az), s = (0, F.useContext)(Ez), c = QC((0, F.useMemo)(() => UC(e.modalRef, n), [e.modalRef, n])), l = lz(c, o, e.onEnter), u = wL({
+function jz(e) {
+ let { modalProps: t, modalRef: n, isExiting: r, onExitRef: i, isDismissable: a, isOpen: o } = (0, F.useContext)(kz), s = (0, F.useContext)(Tz), c = JC((0, F.useMemo)(() => zC(e.modalRef, n), [e.modalRef, n])), l = cz(c, o, e.onEnter), u = CL({
...e,
defaultClassName: "react-aria-Modal",
values: {
@@ -40409,20 +40479,20 @@ function Mz(e) {
state: s
}
});
- return BS(() => {
+ return IS(() => {
i && (i.current = e.onExit);
- }), /*#__PURE__*/ F.createElement(AL.div, {
- ...K(Gw(e, { global: !0 }), t),
+ }), /*#__PURE__*/ F.createElement(kL.div, {
+ ...K(Vw(e, { global: !0 }), t),
...u,
ref: c,
"data-entering": l || void 0,
"data-exiting": r || void 0
- }, a && /*#__PURE__*/ F.createElement(hk, { onDismiss: s.close }), u.children);
+ }, a && /*#__PURE__*/ F.createElement(dk, { onDismiss: s.close }), u.children);
}
// node_modules/react-stately/dist/private/radio/useRadioGroupState.mjs
-var Tme = Math.round(Math.random() * 1e10), Eme = 0;
-function Dme(e) {
- let t = (0, F.useMemo)(() => e.name || `radio-group-${Tme}-${++Eme}`, [e.name]), [n, r] = rE(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, F.useState)(n), [a, o] = (0, F.useState)(null), s = JT({
+var Nme = Math.round(Math.random() * 1e10), Pme = 0;
+function Fme(e) {
+ let t = (0, F.useMemo)(() => e.name || `radio-group-${Nme}-${++Pme}`, [e.name]), [n, r] = $T(e.value, e.defaultValue ?? null, e.onChange), [i] = (0, F.useState)(n), [a, o] = (0, F.useState)(null), s = WT({
...e,
value: n
}), c = (t) => {
@@ -40444,16 +40514,16 @@ function Dme(e) {
};
}
// node_modules/react-aria-components/dist/private/RadioGroup.mjs
-var Ome = /*#__PURE__*/ (0, F.createContext)(null), kme = /*#__PURE__*/ (0, F.createContext)(null), Nz = /*#__PURE__*/ (0, F.createContext)(null), Pz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = EL(e, t, Ome);
- let { validationBehavior: n } = TL(KL) || {}, r = e.validationBehavior ?? n ?? "native", i = Dme({
+var Ime = /*#__PURE__*/ (0, F.createContext)(null), Lme = /*#__PURE__*/ (0, F.createContext)(null), Mz = /*#__PURE__*/ (0, F.createContext)(null), Nz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = TL(e, t, Ime);
+ let { validationBehavior: n } = wL(GL) || {}, r = e.validationBehavior ?? n ?? "native", i = Fme({
...e,
validationBehavior: r
- }), [a, o] = DL(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = vce({
+ }), [a, o] = EL(!e["aria-label"] && !e["aria-labelledby"]), { radioGroupProps: s, labelProps: c, descriptionProps: l, errorMessageProps: u, ...d } = Sce({
...e,
label: o,
validationBehavior: r
- }, i), f = wL({
+ }, i), f = CL({
...e,
values: {
orientation: e.orientation || "vertical",
@@ -40464,8 +40534,8 @@ var Ome = /*#__PURE__*/ (0, F.createContext)(null), kme = /*#__PURE__*/ (0, F.cr
state: i
},
defaultClassName: "react-aria-RadioGroup"
- }), p = Gw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(AL.div, {
+ }), p = Vw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(kL.div, {
...K(p, f, s),
ref: t,
slot: e.slot || void 0,
@@ -40474,39 +40544,39 @@ var Ome = /*#__PURE__*/ (0, F.createContext)(null), kme = /*#__PURE__*/ (0, F.cr
"data-disabled": i.isDisabled || void 0,
"data-readonly": i.isReadOnly || void 0,
"data-required": i.isRequired || void 0
- }, /*#__PURE__*/ F.createElement(CL, { values: [
- [Nz, i],
- [RL, {
+ }, /*#__PURE__*/ F.createElement(SL, { values: [
+ [Mz, i],
+ [LL, {
...c,
ref: a,
elementType: "span"
}],
- [WL, { slots: {
+ [UL, { slots: {
description: l,
errorMessage: u
} }],
- [GL, d]
- ] }, /*#__PURE__*/ F.createElement(WR, null, f.children)));
-}), Fz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [WL, d]
+ ] }, /*#__PURE__*/ F.createElement(UR, null, f.children)));
+}), Pz = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = EL(r, t, kme);
- let i = F.useContext(Nz), a = QC((0, F.useMemo)(() => UC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = _ce({
- ...OL(e),
+ [e, t] = TL(r, t, Lme);
+ let i = F.useContext(Mz), a = JC((0, F.useMemo)(() => zC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), o = xce({
+ ...DL(e),
children: typeof e.children == "function" || e.children
}, i, a);
- return /*#__PURE__*/ F.createElement(Iz.Provider, { value: {
+ return /*#__PURE__*/ F.createElement(Fz.Provider, { value: {
...o,
inputRef: a,
defaultClassName: "react-aria-Radio"
- } }, /*#__PURE__*/ F.createElement(Ame, {
+ } }, /*#__PURE__*/ F.createElement(Rme, {
...e,
ref: t
}));
-}), Iz = /*#__PURE__*/ (0, F.createContext)(null), Ame = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, F.useContext)(Iz), l = F.useContext(Nz), { isFocused: u, isFocusVisible: d, focusProps: f } = jD(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = FD({
+}), Fz = /*#__PURE__*/ (0, F.createContext)(null), Rme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { labelProps: n, inputProps: r, isSelected: i, isDisabled: a, isPressed: o, defaultClassName: s, inputRef: c } = (0, F.useContext)(Fz), l = F.useContext(Mz), { isFocused: u, isFocusVisible: d, focusProps: f } = DD(), p = a || l.isReadOnly, { hoverProps: m, isHovered: h } = jD({
...e,
isDisabled: p
- }), g = wL({
+ }), g = CL({
...e,
defaultClassName: s,
values: {
@@ -40520,8 +40590,8 @@ var Ome = /*#__PURE__*/ (0, F.createContext)(null), kme = /*#__PURE__*/ (0, F.cr
isInvalid: l.isInvalid,
isRequired: l.isRequired
}
- }), _ = Gw(e, { global: !0 });
- return delete _.id, delete _.onClick, /*#__PURE__*/ F.createElement(AL.label, {
+ }), _ = Vw(e, { global: !0 });
+ return delete _.id, delete _.onClick, /*#__PURE__*/ F.createElement(kL.label, {
...K(_, n, m, g),
ref: t,
"data-selected": i || void 0,
@@ -40533,18 +40603,18 @@ var Ome = /*#__PURE__*/ (0, F.createContext)(null), kme = /*#__PURE__*/ (0, F.cr
"data-readonly": l.isReadOnly || void 0,
"data-invalid": l.isInvalid || void 0,
"data-required": l.isRequired || void 0
- }, /*#__PURE__*/ F.createElement(pE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {
+ }, /*#__PURE__*/ F.createElement(lE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {
...K(r, f),
ref: c
})), g.children);
});
// node_modules/react-stately/dist/private/select/useSelectState.mjs
-function jme(e) {
- let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = cz(e), [i, a] = (0, F.useState)(null), o = (0, F.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
+function zme(e) {
+ let { selectionMode: t = "single", shouldCloseOnSelect: n = t === "single" } = e, r = sz(e), [i, a] = (0, F.useState)(null), o = (0, F.useMemo)(() => e.defaultValue === void 0 ? t === "single" ? e.defaultSelectedKey ?? null : [] : e.defaultValue, [
e.defaultValue,
e.defaultSelectedKey,
t
- ]), [s, c] = rE((0, F.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
+ ]), [s, c] = $T((0, F.useMemo)(() => e.value === void 0 ? t === "single" ? e.selectedKey : void 0 : e.value, [
e.value,
e.selectedKey,
t
@@ -40556,12 +40626,12 @@ function jme(e) {
let e = [];
Array.isArray(n) ? e = n : n != null && (e = [n]), c(e);
}
- }, d = nz({
+ }, d = tz({
...e,
selectionMode: t,
disallowEmptySelection: t === "single",
allowDuplicateSelectionEvents: !0,
- selectedKeys: (0, F.useMemo)(() => Mme(l), [l]),
+ selectedKeys: (0, F.useMemo)(() => Bme(l), [l]),
onSelectionChange: (e) => {
if (e !== "all") {
if (t === "single") {
@@ -40571,7 +40641,7 @@ function jme(e) {
n && r.close(), m.commitValidation();
}
}
- }), f = d.selectionManager.firstSelectedKey, p = (0, F.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = JT({
+ }), f = d.selectionManager.firstSelectedKey, p = (0, F.useMemo)(() => [...d.selectionManager.selectedKeys].map((e) => d.collection.getItem(e)).filter((e) => e != null), [d.selectionManager.selectedKeys, d.collection]), m = WT({
...e,
value: Array.isArray(l) && l.length === 0 ? null : l
}), [h, g] = (0, F.useState)(!1), [_] = (0, F.useState)(l);
@@ -40598,15 +40668,15 @@ function jme(e) {
setFocused: g
};
}
-function Mme(e) {
+function Bme(e) {
if (e !== void 0) return e === null ? [] : Array.isArray(e) ? e : [e];
}
// node_modules/react-aria-components/dist/private/Select.mjs
-function Nme(e) {
+function Vme(e) {
return e && e.__esModule ? e.default : e;
}
-var Lz = /*#__PURE__*/ (0, F.createContext)(null), Rz = /*#__PURE__*/ (0, F.createContext)(null), Pme = /*#__PURE__*/ rw(function(e, t) {
- [e, t] = EL(e, t, Lz);
+var Iz = /*#__PURE__*/ (0, F.createContext)(null), Lz = /*#__PURE__*/ (0, F.createContext)(null), Hme = /*#__PURE__*/ $C(function(e, t) {
+ [e, t] = TL(e, t, Iz);
let { children: n, isDisabled: r = !1, isInvalid: i = !1, isRequired: a = !1 } = e, o = (0, F.useMemo)(() => typeof n == "function" ? n({
isOpen: !1,
isDisabled: r,
@@ -40621,24 +40691,24 @@ var Lz = /*#__PURE__*/ (0, F.createContext)(null), Rz = /*#__PURE__*/ (0, F.crea
i,
a
]);
- return /*#__PURE__*/ F.createElement(cw, { content: o }, (n) => /*#__PURE__*/ F.createElement(Ime, {
+ return /*#__PURE__*/ F.createElement(iw, { content: o }, (n) => /*#__PURE__*/ F.createElement(Wme, {
props: e,
collection: n,
selectRef: t
}));
-}), Fme = [
- RL,
- BL,
- WL
+}), Ume = [
+ LL,
+ zL,
+ UL
];
-function Ime({ props: e, selectRef: t, collection: n }) {
- let { validationBehavior: r } = TL(KL) || {}, i = e.validationBehavior ?? r ?? "native", a = jme({
+function Wme({ props: e, selectRef: t, collection: n }) {
+ let { validationBehavior: r } = wL(GL) || {}, i = e.validationBehavior ?? r ?? "native", a = zme({
...e,
collection: n,
children: void 0,
validationBehavior: i
- }), { isFocusVisible: o, focusProps: s } = jD({ within: !0 }), c = (0, F.useRef)(null), [l, u] = DL(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = yce({
- ...OL(e),
+ }), { isFocusVisible: o, focusProps: s } = DD({ within: !0 }), c = (0, F.useRef)(null), [l, u] = EL(!e["aria-label"] && !e["aria-labelledby"]), { labelProps: d, triggerProps: f, valueProps: p, menuProps: m, descriptionProps: h, errorMessageProps: g, hiddenSelectProps: _, ...v } = Cce({
+ ...DL(e),
label: u,
validationBehavior: i
}, a, c), y = (0, F.useMemo)(() => ({
@@ -40655,48 +40725,48 @@ function Ime({ props: e, selectRef: t, collection: n }) {
e.isDisabled,
v.isInvalid,
e.isRequired
- ]), b = wL({
+ ]), b = CL({
...e,
values: y,
defaultClassName: "react-aria-Select"
- }), x = Gw(e, { global: !0 });
+ }), x = Vw(e, { global: !0 });
delete x.id;
let S = (0, F.useRef)(null);
- return /*#__PURE__*/ F.createElement(CL, { values: [
- [Lz, e],
- [Rz, a],
- [zz, p],
- [RL, {
+ return /*#__PURE__*/ F.createElement(SL, { values: [
+ [Iz, e],
+ [Lz, a],
+ [Rz, p],
+ [LL, {
...d,
ref: l,
elementType: "span"
}],
- [BL, {
+ [zL, {
...f,
ref: c,
isPressed: a.isOpen,
autoFocus: e.autoFocus
}],
- [Ez, a],
- [fz, {
+ [Tz, a],
+ [dz, {
trigger: "Select",
triggerRef: c,
scrollRef: S,
placement: "bottom start",
"aria-labelledby": m["aria-labelledby"],
- clearContexts: Fme
+ clearContexts: Ume
}],
- [az, {
+ [iz, {
...m,
ref: S
}],
- [oz, a],
- [WL, { slots: {
+ [az, a],
+ [UL, { slots: {
description: h,
errorMessage: g
} }],
- [GL, v]
- ] }, /*#__PURE__*/ F.createElement(AL.div, {
+ [WL, v]
+ ] }, /*#__PURE__*/ F.createElement(kL.div, {
...K(x, b, s),
ref: t,
slot: e.slot || void 0,
@@ -40706,14 +40776,14 @@ function Ime({ props: e, selectRef: t, collection: n }) {
"data-disabled": e.isDisabled || void 0,
"data-invalid": v.isInvalid || void 0,
"data-required": e.isRequired || void 0
- }, b.children, /*#__PURE__*/ F.createElement(xce, {
+ }, b.children, /*#__PURE__*/ F.createElement(Tce, {
..._,
autoComplete: e.autoComplete
})));
}
-for (var zz = /*#__PURE__*/ (0, F.createContext)(null), Lme = /*#__PURE__*/ rw(function(e, t) {
- [e, t] = EL(e, t, zz);
- let n = (0, F.useContext)(Rz), { placeholder: r } = TL(Lz), i = n.selectedItems.map((e) => {
+for (var Rz = /*#__PURE__*/ (0, F.createContext)(null), Gme = /*#__PURE__*/ $C(function(e, t) {
+ [e, t] = TL(e, t, Rz);
+ let n = (0, F.useContext)(Lz), { placeholder: r } = wL(Iz), i = n.selectedItems.map((e) => {
let t = e.props?.children;
return typeof t == "function" && (t = t({
isHovered: !1,
@@ -40725,7 +40795,7 @@ for (var zz = /*#__PURE__*/ (0, F.createContext)(null), Lme = /*#__PURE__*/ rw(f
selectionMode: "single",
selectionBehavior: "toggle"
})), t;
- }), a = Ase(), o = (0, F.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, F.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
+ }), a = Pse(), o = (0, F.useMemo)(() => n.selectedItems.map((e) => e?.textValue), [n.selectedItems]), s = n.selectionManager.selectionMode, c = (0, F.useMemo)(() => s === "single" ? o[0] ?? "" : a.format(o), [
s,
a,
o
@@ -40740,7 +40810,7 @@ for (var zz = /*#__PURE__*/ (0, F.createContext)(null), Lme = /*#__PURE__*/ rw(f
a,
o,
i
- ]), u = Uw(Nme(RR), "react-aria-components"), d = wL({
+ ]), u = zw(Vme(LR), "react-aria-components"), d = CL({
...e,
defaultChildren: l ?? r ?? u.format("selectPlaceholder"),
defaultClassName: "react-aria-SelectValue",
@@ -40751,33 +40821,33 @@ for (var zz = /*#__PURE__*/ (0, F.createContext)(null), Lme = /*#__PURE__*/ rw(f
isPlaceholder: n.selectedItems.length === 0,
state: n
}
- }), f = Gw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(AL.span, {
+ }), f = Vw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(kL.span, {
ref: t,
...f,
...d,
"data-placeholder": n.selectedItems.length === 0 || void 0
- }, /*#__PURE__*/ F.createElement(WL.Provider, { value: void 0 }, d.children));
-}), Rme = /*#__PURE__*/ (0, F.createContext)(null), Bz = /*#__PURE__*/ (0, F.createContext)(null), zme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ }, /*#__PURE__*/ F.createElement(UL.Provider, { value: void 0 }, d.children));
+}), Kme = /*#__PURE__*/ (0, F.createContext)(null), zz = /*#__PURE__*/ (0, F.createContext)(null), qme = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
let { inputRef: n = null, ...r } = e;
- [e, t] = EL(r, t, Rme);
- let i = QC((0, F.useMemo)(() => UC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = iE(e), o = Cce({
- ...OL(e),
+ [e, t] = TL(r, t, Kme);
+ let i = JC((0, F.useMemo)(() => zC(n, e.inputRef === void 0 ? null : e.inputRef), [n, e.inputRef])), a = eE(e), o = Dce({
+ ...DL(e),
children: typeof e.children == "function" || e.children
}, a, i);
- return /*#__PURE__*/ F.createElement(CL, { values: [[Bz, a], [Vz, {
+ return /*#__PURE__*/ F.createElement(SL, { values: [[zz, a], [Bz, {
...o,
inputRef: i,
defaultClassName: "react-aria-Switch"
- }]] }, /*#__PURE__*/ F.createElement(Bme, {
+ }]] }, /*#__PURE__*/ F.createElement(Jme, {
...e,
ref: t
}));
-}), Vz = /*#__PURE__*/ (0, F.createContext)(null), Bme = /*#__PURE__*/ (0, F.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, F.useContext)(Vz), { isFocused: f, isFocusVisible: p, focusProps: m } = jD(), h = a || o, g = (0, F.useContext)(Bz), { hoverProps: _, isHovered: v } = FD({
+}), Bz = /*#__PURE__*/ (0, F.createContext)(null), Jme = /*#__PURE__*/ (0, F.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, F.useContext)(Bz), { isFocused: f, isFocusVisible: p, focusProps: m } = DD(), h = a || o, g = (0, F.useContext)(zz), { hoverProps: _, isHovered: v } = jD({
...e,
isDisabled: h
- }), y = wL({
+ }), y = CL({
...e,
defaultClassName: u,
values: {
@@ -40792,8 +40862,8 @@ for (var zz = /*#__PURE__*/ (0, F.createContext)(null), Lme = /*#__PURE__*/ rw(f
isRequired: d || !1,
state: g
}
- }), b = Gw(e, { global: !0 });
- return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(AL.label, {
+ }), b = Vw(e, { global: !0 });
+ return delete b.id, delete b.onClick, /*#__PURE__*/ F.createElement(kL.label, {
...K(b, n, _, y),
ref: t,
slot: e.slot || void 0,
@@ -40806,11 +40876,11 @@ for (var zz = /*#__PURE__*/ (0, F.createContext)(null), Lme = /*#__PURE__*/ rw(f
"data-readonly": o || void 0,
"data-invalid": c || void 0,
"data-required": d || void 0
- }, /*#__PURE__*/ F.createElement(pE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {
+ }, /*#__PURE__*/ F.createElement(lE, { elementType: "span" }, /*#__PURE__*/ F.createElement("input", {
...K(r, m),
ref: l
})), y.children);
-}), Hz = 10, Uz = 5, Wz = class {
+}), Vz = 10, Hz = 5, Uz = class {
setup(e, t, n) {
this.delegate = e, this.state = t, this.direction = n;
}
@@ -40820,7 +40890,7 @@ for (var zz = /*#__PURE__*/ (0, F.createContext)(null), Lme = /*#__PURE__*/ rw(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) > Uz && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > Hz && (c = o > 0 ? "right" : "left", i.xDirection = c, i.lastX = t), e.dropPosition === "before") {
+ if (Math.abs(a) > Hz && (s = a > 0 ? "down" : "up", i.yDirection = s, i.lastY = n), Math.abs(o) > Vz && (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);
@@ -40899,11 +40969,11 @@ for (var zz = /*#__PURE__*/ (0, F.createContext)(null), Lme = /*#__PURE__*/ rw(f
lastSwitchX: n
});
let c = o.boundaryContext, l = Math.abs(n - c.lastSwitchX);
- if (Math.abs(r - c.lastSwitchY) > Uz && i) {
+ if (Math.abs(r - c.lastSwitchY) > Hz && 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 > Hz && a) {
+ if (l > Vz && 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;
}
@@ -40918,7 +40988,7 @@ for (var zz = /*#__PURE__*/ (0, F.createContext)(null), Lme = /*#__PURE__*/ rw(f
boundaryContext: null
};
}
-}, Vme = class {
+}, Yme = class {
constructor(e) {
this.keyMap = /* @__PURE__ */ new Map(), this.keyMap = /* @__PURE__ */ new Map(), this.columnCount = e?.columnCount, this.rows = [];
let t = (r) => {
@@ -40988,8 +41058,8 @@ for (var zz = /*#__PURE__*/ (0, F.createContext)(null), Lme = /*#__PURE__*/ rw(f
getChildren(e) {
return this.keyMap.get(e)?.childNodes || [];
}
-}, Gz = "row-header-column-" + Math.random().toString(36).slice(2), Kz = "row-header-column-" + Math.random().toString(36).slice(2); Gz === Kz;) Kz = "row-header-column-" + Math.random().toString(36).slice(2);
-function qz(e, t) {
+}, Wz = "row-header-column-" + Math.random().toString(36).slice(2), Gz = "row-header-column-" + Math.random().toString(36).slice(2); Wz === Gz;) Gz = "row-header-column-" + Math.random().toString(36).slice(2);
+function Kz(e, t) {
if (t.length === 0) return [];
let n = [], r = /* @__PURE__ */ new Map();
for (let i of t) {
@@ -41073,13 +41143,13 @@ function qz(e, t) {
textValue: ""
}));
}
-var Hme = class extends Vme {
+var Xme = class extends Yme {
constructor(e, t, n) {
let r = /* @__PURE__ */ new Set(), i = null, a = [];
if (n?.showSelectionCheckboxes) {
let e = {
type: "column",
- key: Gz,
+ key: Wz,
value: null,
textValue: "",
level: 0,
@@ -41094,7 +41164,7 @@ var Hme = class extends Vme {
if (n?.showDragButtons) {
let e = {
type: "column",
- key: Kz,
+ key: Gz,
value: null,
textValue: "",
level: 0,
@@ -41121,7 +41191,7 @@ var Hme = class extends Vme {
for (let t of e.childNodes) c(t);
};
for (let t of e) c(t);
- let l = qz(s, a);
+ let l = Kz(s, a);
if (l.forEach((e, t) => o.splice(t, 0, e)), super({
columnCount: a.length,
items: o,
@@ -41147,10 +41217,10 @@ var Hme = class extends Vme {
return this.keyMap.get(e)?.nextKey ?? null;
}
getFirstKey() {
- return gD(this.body.childNodes)?.key ?? null;
+ return fD(this.body.childNodes)?.key ?? null;
}
getLastKey() {
- return vD(this.body.childNodes)?.key ?? null;
+ return mD(this.body.childNodes)?.key ?? null;
}
getItem(e) {
return e === this.body.key ? this.body : this.keyMap.get(e) ?? null;
@@ -41181,15 +41251,15 @@ var Hme = class extends Vme {
}
};
// node_modules/react-stately/dist/private/table/TableUtils.mjs
-function Ume(e) {
+function Zme(e) {
return e != null && (!isNaN(e) || String(e).match(/^(\d+)(?=%$)/) !== null);
}
-function Wme(e) {
+function Qme(e) {
if (!e || typeof e == "number") return 1;
let t = e.match(/^(.+)(?=fr$)/);
return t ? parseFloat(t[0]) : 1;
}
-function Jz(e, t) {
+function qz(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");
@@ -41197,19 +41267,19 @@ function Jz(e, t) {
}
return e;
}
-function Yz(e, t) {
- return e == null ? 2 ** 53 - 1 : Jz(e, t);
+function Jz(e, t) {
+ return e == null ? 2 ** 53 - 1 : qz(e, t);
}
-function Xz(e, t) {
- return e == null ? 0 : Jz(e, t);
+function Yz(e, t) {
+ return e == null ? 0 : qz(e, t);
}
-function Gme(e, t, n, r, i) {
+function $me(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;
- Ume(o) ? (l = Jz(o, e), s = !0) : (u = Wme(o), u <= 0 && (s = !0));
- let f = Xz(t.minWidth ?? i?.(a) ?? 0, e), p = Yz(t.maxWidth, e), m = Math.max(f, Math.min(l, p));
+ Zme(o) ? (l = qz(o, e), s = !0) : (u = Qme(o), u <= 0 && (s = !0));
+ let f = Yz(t.minWidth ?? i?.(a) ?? 0, e), p = Jz(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,
@@ -41243,14 +41313,14 @@ function Gme(e, t, n, r, i) {
i === 0 || Math.sign(i) === Math.sign(e.violation) ? e.frozen = !0 : e.frozen || (c = !0);
});
}
- let u = Kme(l);
+ let u = ehe(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 Kme(e) {
+function ehe(e) {
let t = 0, n = 0, r = [];
return e.forEach(function(e) {
let i = e.targetMainSize, a = Math.round(i + t) - n;
@@ -41258,7 +41328,7 @@ function Kme(e) {
}), r;
}
// node_modules/react-stately/dist/private/table/TableColumnLayout.mjs
-var qme = class {
+var the = 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);
}
@@ -41287,18 +41357,18 @@ var qme = class {
}), o;
}
buildColumnWidths(e, t, n) {
- return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), Gme(e, t.columns.map((e) => ({
+ return this.columnWidths = /* @__PURE__ */ new Map(), this.columnMinWidths = /* @__PURE__ */ new Map(), this.columnMaxWidths = /* @__PURE__ */ new Map(), $me(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, Xz(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, Yz(a.props.maxWidth, e));
+ this.columnWidths.set(i, n), this.columnMinWidths.set(i, Yz(a.props.minWidth ?? this.getDefaultMinWidth(a), e)), this.columnMaxWidths.set(i, Jz(a.props.maxWidth, e));
}), this.columnWidths;
}
};
// node_modules/react-stately/dist/private/table/useTableColumnResizeState.mjs
-function Jme(e, t) {
- let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, F.useState)(null), s = (0, F.useMemo)(() => new qme({
+function nhe(e, t) {
+ let { getDefaultWidth: n, getDefaultMinWidth: r, tableWidth: i = 0 } = e, [a, o] = (0, F.useState)(null), s = (0, F.useMemo)(() => new the({
getDefaultWidth: n,
getDefaultMinWidth: r
}), [n, r]), [c, l] = (0, F.useMemo)(() => s.splitColumnsIntoControlledAndUncontrolled(t.collection.columns), [t.collection.columns, s]), [u, d] = (0, F.useState)(() => s.getInitialUncontrolledWidths(l)), [f, p] = (0, F.useState)(t.collection.columns);
@@ -41349,19 +41419,19 @@ function Jme(e, t) {
]);
}
// node_modules/react-stately/dist/private/grid/useGridState.mjs
-function Yme(e) {
- let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || XR(e), i = (0, F.useMemo)(() => e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set(), [e.disabledKeys]), a = r.setFocusedKey;
+function rhe(e) {
+ let { collection: t, focusMode: n } = e, r = e.UNSAFE_selectionState || YR(e), i = (0, F.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);
if (n?.type === "item") {
- let i = hD(n, t);
- e = r === "last" ? vD(i)?.key ?? null : gD(i)?.key ?? null;
+ let i = dD(n, t);
+ e = r === "last" ? mD(i)?.key ?? null : fD(i)?.key ?? null;
}
}
a(e, r);
};
- let o = (0, F.useMemo)(() => new QR(t, r), [t, r]), s = (0, F.useRef)(null);
+ let o = (0, F.useMemo)(() => new ZR(t, r), [t, r]), s = (0, F.useRef)(null);
return (0, F.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;
@@ -41381,7 +41451,7 @@ function Yme(e) {
}
}
if (u) {
- let i = u.hasChildNodes ? [...hD(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;
+ let i = u.hasChildNodes ? [...dD(u, t)] : [], a = u.hasChildNodes && n !== e && e && e.index < i.length ? i[e.index].key : u.key;
r.setFocusedKey(a);
} else r.setFocusedKey(null);
}
@@ -41399,11 +41469,11 @@ function Yme(e) {
};
}
// node_modules/react-stately/dist/private/table/useTableState.mjs
-var Xme = {
+var ihe = {
ascending: "descending",
descending: "ascending"
};
-function Zme(e) {
+function ahe(e) {
let [t, n] = (0, F.useState)(!1), { selectionMode: r = "none", showSelectionCheckboxes: i, showDragButtons: a, treeColumn: o = null } = e, s = (0, F.useMemo)(() => ({
showSelectionCheckboxes: i && r !== "none",
showDragButtons: a,
@@ -41414,11 +41484,11 @@ function Zme(e) {
i,
r,
a
- ]), c = tz(e, (0, F.useCallback)((e) => new Hme(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = Yme({
+ ]), c = ez(e, (0, F.useCallback)((e) => new Xme(e, null, s), [s]), s), { disabledKeys: l, selectionManager: u } = rhe({
...e,
collection: c,
disabledBehavior: e.disabledBehavior || "selection"
- }), [d, f] = rE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+ }), [d, f] = $T(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
return {
collection: c,
disabledKeys: l,
@@ -41430,7 +41500,7 @@ function Zme(e) {
sort(t, n) {
e.onSortChange?.({
column: t,
- direction: n ?? (e.sortDescriptor?.column === t ? Xme[e.sortDescriptor.direction] : "ascending")
+ direction: n ?? (e.sortDescriptor?.column === t ? ihe[e.sortDescriptor.direction] : "ascending")
});
},
expandedKeys: d,
@@ -41443,7 +41513,7 @@ function Zme(e) {
treeColumn: o
};
}
-function Qme(e, t) {
+function ohe(e, t) {
let n = (0, F.useMemo)(() => t ? e.collection.filter(t) : e.collection, [e.collection, t]), r = e.selectionManager.withCollection(n);
return {
...e,
@@ -41452,10 +41522,10 @@ function Qme(e, t) {
};
}
// node_modules/react-aria-components/dist/private/Table.mjs
-function $me(e) {
+function she(e) {
return e && e.__esModule ? e.default : e;
}
-var ehe = class extends vS {
+var che = class extends mS {
withExpandedKeys(e) {
let t = this.clone();
return t.expandedKeys = e, t.frozen = this.frozen, t.rows = Array.from(t.getRows()), t;
@@ -41470,7 +41540,7 @@ var ehe = class extends vS {
}
get body() {
for (let e of this) if (e.type === "tablebody") return e;
- return new aB(-2);
+ return new iB(-2);
}
commit(e, t, n = !1) {
this.updateColumns(n), this.firstKey = e, this.lastKey = t, this.rows = [];
@@ -41496,7 +41566,7 @@ var ehe = class extends vS {
for (let t of this.getChildren(e.key)) n(t);
};
for (let e of this.getChildren(this.head.key)) n(e);
- if (this.headerRows = qz(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 = Kz(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;
@@ -41577,28 +41647,28 @@ var ehe = class extends vS {
return r.join(" ");
}
constructor(...e) {
- super(...e), this.headerRows = [], this.columns = [], this.rows = [], this.rowHeaderColumnKeys = /* @__PURE__ */ new Set(), this.head = new tB(-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 eB(-1), this.columnsDirty = !0, this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, Zz = /*#__PURE__*/ (0, F.createContext)(null), the = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let n = QC(t), r = (0, F.useRef)(null), i = (0, F.useRef)(null), [a, o] = (0, F.useState)(0);
- BS(() => {
+}, Xz = /*#__PURE__*/ (0, F.createContext)(null), lhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let n = JC(t), r = (0, F.useRef)(null), i = (0, F.useRef)(null), [a, o] = (0, F.useState)(0);
+ IS(() => {
let e = r.current;
- for (; e && e !== n.current && !PT(e);) e = e.parentElement;
+ for (; e && e !== n.current && !AT(e);) e = e.parentElement;
i.current = e;
- }, [n]), NO({
+ }, [n]), kO({
ref: i,
box: "border-box",
onResize() {
o(i.current?.clientWidth ?? 0);
}
- }), BS(() => {
+ }), IS(() => {
o(i.current?.clientWidth ?? 0);
}, []);
let s = (0, F.useMemo)(() => ({
tableRef: r,
scrollRef: i,
tableWidth: a,
- useTableColumnResizeState: Jme,
+ useTableColumnResizeState: nhe,
onResizeStart: e.onResizeStart,
onResize: e.onResize,
onResizeEnd: e.onResizeEnd
@@ -41609,17 +41679,17 @@ var ehe = class extends vS {
e.onResize,
e.onResizeEnd
]);
- return /*#__PURE__*/ F.createElement(AL.div, {
+ return /*#__PURE__*/ F.createElement(kL.div, {
render: e.render,
- ...Gw(e, { global: !0 }),
+ ...Vw(e, { global: !0 }),
ref: n,
className: e.className || "react-aria-ResizableTableContainer",
style: e.style,
onScroll: e.onScroll
- }, /*#__PURE__*/ F.createElement(Zz.Provider, { value: s }, e.children));
-}), nhe = /*#__PURE__*/ (0, F.createContext)(null), Qz = /*#__PURE__*/ (0, F.createContext)(null), $z = /*#__PURE__*/ (0, F.createContext)(null), rhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = EL(e, t, nhe);
- let n = XR(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, F.useMemo)(() => ({
+ }, /*#__PURE__*/ F.createElement(Xz.Provider, { value: s }, e.children));
+}), uhe = /*#__PURE__*/ (0, F.createContext)(null), Zz = /*#__PURE__*/ (0, F.createContext)(null), Qz = /*#__PURE__*/ (0, F.createContext)(null), dhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = TL(e, t, uhe);
+ let n = YR(e), { selectionBehavior: r, selectionMode: i, disallowEmptySelection: a } = n, o = !!e.dragAndDropHooks?.useDraggableCollectionState, s = (0, F.useMemo)(() => ({
selectionBehavior: i === "none" ? null : r,
selectionMode: i,
disallowEmptySelection: a,
@@ -41629,26 +41699,26 @@ var ehe = class extends vS {
i,
a,
o
- ]), c = /*#__PURE__*/ F.createElement(ohe.Provider, { value: s }, /*#__PURE__*/ F.createElement(hw, e));
- return /*#__PURE__*/ F.createElement(cw, {
+ ]), c = /*#__PURE__*/ F.createElement(mhe.Provider, { value: s }, /*#__PURE__*/ F.createElement(dw, e));
+ return /*#__PURE__*/ F.createElement(iw, {
content: c,
- createCollection: () => new ehe()
- }, (r) => /*#__PURE__*/ F.createElement(ahe, {
+ createCollection: () => new che()
+ }, (r) => /*#__PURE__*/ F.createElement(phe, {
props: e,
forwardedRef: t,
selectionState: n,
collection: r
}));
-}), ihe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(IL);
- return n ? /*#__PURE__*/ F.createElement(AL.div, {
+}), fhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(FL);
+ return n ? /*#__PURE__*/ F.createElement(kL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(AL.table, {
+ }) : /*#__PURE__*/ F.createElement(kL.table, {
...e,
ref: t
});
-}), eB = {
+}), $z = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -41658,26 +41728,26 @@ var ehe = class extends vS {
rtl: "ArrowRight"
}
};
-function ahe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
- [e, t] = EL(e, t, jL);
- let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, F.useContext)(Zz);
- t = QC((0, F.useMemo)(() => UC(t, c?.tableRef), [t, c?.tableRef]));
- let [l, u] = rE(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
+function phe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
+ [e, t] = TL(e, t, AL);
+ let { shouldUseVirtualFocus: i, disallowTypeAhead: a, filter: o, ...s } = e, c = (0, F.useContext)(Xz);
+ t = JC((0, F.useMemo)(() => zC(t, c?.tableRef), [t, c?.tableRef]));
+ let [l, u] = $T(e.expandedKeys ? new Set(e.expandedKeys) : void 0, e.defaultExpandedKeys ? new Set(e.defaultExpandedKeys) : /* @__PURE__ */ new Set(), e.onExpandedChange);
r = (0, F.useMemo)(() => r.withExpandedKeys(l), [r, l]);
- let d = Zme({
+ let d = ahe({
...s,
collection: r,
children: void 0,
UNSAFE_selectionState: n,
expandedKeys: l,
onExpandedChange: u
- }), f = Qme(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, F.useContext)(IL), { dragAndDropHooks: _ } = e, { gridProps: v } = Oce({
+ }), f = ohe(d, o), { isVirtualized: p, layoutDelegate: m, dropTargetDelegate: h, CollectionRoot: g } = (0, F.useContext)(FL), { dragAndDropHooks: _ } = e, { gridProps: v } = Mce({
...s,
layoutDelegate: m,
isVirtualized: p
}, f, t), y = f.selectionManager, b = !!_?.useDraggableCollectionState, x = !!_?.useDroppableCollectionState;
(0, F.useRef)(b), (0, F.useRef)(x), (0, F.useEffect)(() => {}, [b, x]);
- let S, C, w, T = !1, E = null, D = (0, F.useRef)(null), { direction: O } = Lw(), [k] = (0, F.useState)(() => new Wz());
+ let S, C, w, T = !1, E = null, D = (0, F.useRef)(null), { direction: O } = Nw(), [k] = (0, F.useState)(() => new Uz());
if (b && _) {
S = _.useDraggableCollectionState({
collection: f.collection,
@@ -41692,7 +41762,7 @@ function ahe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
collection: f.collection,
selectionManager: y
});
- let e = new EE({
+ let e = new SE({
collection: f.collection,
disabledKeys: y.disabledKeys,
disabledBehavior: y.disabledBehavior,
@@ -41712,12 +41782,12 @@ function ahe({ 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 === eB.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === eB.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
+ (e.key === $z.expand[O] && n?.hasChildNodes && !d.expandedKeys.has(t.key) || e.key === $z.collapse[O] && n?.hasChildNodes && d.expandedKeys.has(t.key)) && d.toggleKey(t.key);
}
}
}, C, t), T = C.isDropTarget({ type: "root" });
}
- let { focusProps: A, isFocused: j, isFocusVisible: M } = jD(), ee = wL({
+ let { focusProps: A, isFocused: j, isFocusVisible: M } = DD(), ee = CL({
...e,
children: void 0,
defaultClassName: "react-aria-Table",
@@ -41733,19 +41803,19 @@ function ahe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
tableLayout: "fixed",
width: "min-content"
}));
- let ne = Gw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(CL, { values: [
- [Qz, f],
- [$z, P],
- [zR, {
+ let ne = Vw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(SL, { values: [
+ [Zz, f],
+ [Qz, P],
+ [RR, {
dragAndDropHooks: _,
dragState: S,
dropState: C
}],
- [BR, { render: ghe }],
- [jL, null],
- [ML, null]
- ] }, /*#__PURE__*/ F.createElement(hT, null, /*#__PURE__*/ F.createElement(ihe, {
+ [zR, { render: whe }],
+ [AL, null],
+ [jL, null]
+ ] }, /*#__PURE__*/ F.createElement(dT, null, /*#__PURE__*/ F.createElement(fhe, {
...K(ne, ee, v, A, w?.collectionProps),
style: te,
ref: t,
@@ -41755,55 +41825,55 @@ function ahe({ props: e, forwardedRef: t, selectionState: n, collection: r }) {
"data-drop-target": T || void 0,
"data-focused": j || void 0,
"data-focus-visible": M || void 0
- }, /*#__PURE__*/ F.createElement(WR, null, /*#__PURE__*/ F.createElement(g, {
+ }, /*#__PURE__*/ F.createElement(UR, null, /*#__PURE__*/ F.createElement(g, {
collection: f.collection,
scrollRef: c?.scrollRef ?? t,
- persistedKeys: HR(y, _, C)
+ persistedKeys: VR(y, _, C)
})))), E);
}
-var ohe = /*#__PURE__*/ (0, F.createContext)(null), tB = class extends mS {
+var mhe = /*#__PURE__*/ (0, F.createContext)(null), eB = class extends uS {
static {
this.type = "tableheader";
}
-}, she = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(IL);
- return n ? /*#__PURE__*/ F.createElement(AL.div, {
+}, hhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(FL);
+ return n ? /*#__PURE__*/ F.createElement(kL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(AL.thead, {
+ }) : /*#__PURE__*/ F.createElement(kL.thead, {
...e,
ref: t
});
-}), nB = /*#__PURE__*/ fw(tB, (e, t) => {
- let n = (0, F.useContext)(Qz).collection, r = SS({
+}), tB = /*#__PURE__*/ cw(eB, (e, t) => {
+ let n = (0, F.useContext)(Zz).collection, r = vS({
items: n.headerRows,
children: (0, F.useCallback)((e) => {
switch (e.type) {
- case "headerrow": return /*#__PURE__*/ F.createElement(lhe, { item: e });
+ case "headerrow": return /*#__PURE__*/ F.createElement(_he, { item: e });
default: throw Error("Unsupported node type in TableHeader: " + e.type);
}
}, [])
- }), { rowGroupProps: i } = RA(), { hoverProps: a, isHovered: o } = FD({
+ }), { rowGroupProps: i } = PA(), { hoverProps: a, isHovered: o } = jD({
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), s = wL({
+ }), s = CL({
...e,
children: void 0,
defaultClassName: "react-aria-TableHeader",
values: { isHovered: o }
});
- return /*#__PURE__*/ F.createElement(she, {
- ...K(Gw(e, { global: !0 }), i, a),
+ return /*#__PURE__*/ F.createElement(hhe, {
+ ...K(Vw(e, { global: !0 }), i, a),
...s,
ref: t,
"data-hovered": o || void 0
}, r);
-}, (e) => /*#__PURE__*/ F.createElement(hw, {
+}, (e) => /*#__PURE__*/ F.createElement(dw, {
dependencies: e.dependencies,
items: e.columns
-}, e.children)), che = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(IL);
+}, e.children)), ghe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(FL);
return n ? /*#__PURE__*/ F.createElement("div", {
...e,
ref: t
@@ -41812,41 +41882,41 @@ var ohe = /*#__PURE__*/ (0, F.createContext)(null), tB = class extends mS {
ref: t
});
});
-function lhe({ item: e }) {
- let t = (0, F.useRef)(null), n = (0, F.useContext)(Qz), { isVirtualized: r, CollectionBranch: i } = (0, F.useContext)(IL), { rowProps: a } = Pce({
+function _he({ item: e }) {
+ let t = (0, F.useRef)(null), n = (0, F.useContext)(Zz), { isVirtualized: r, CollectionBranch: i } = (0, F.useContext)(FL), { rowProps: a } = Rce({
node: e,
isVirtualized: r
- }, n, t), { checkboxProps: o } = Vce(n);
- return /*#__PURE__*/ F.createElement(che, {
+ }, n, t), { checkboxProps: o } = Gce(n);
+ return /*#__PURE__*/ F.createElement(ghe, {
...a,
ref: t
- }, /*#__PURE__*/ F.createElement(CL, { values: [[qL, { slots: { selection: o } }], [JL, { slots: { selection: o } }]] }, /*#__PURE__*/ F.createElement(i, {
+ }, /*#__PURE__*/ F.createElement(SL, { values: [[KL, { slots: { selection: o } }], [qL, { slots: { selection: o } }]] }, /*#__PURE__*/ F.createElement(i, {
collection: n.collection,
parent: e
})));
}
-var uhe = class extends mS {
+var vhe = class extends uS {
static {
this.type = "column";
}
-}, dhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(IL);
- return n ? /*#__PURE__*/ F.createElement(AL.div, {
+}, yhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(FL);
+ return n ? /*#__PURE__*/ F.createElement(kL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(AL.th, {
+ }) : /*#__PURE__*/ F.createElement(kL.th, {
...e,
ref: t
});
-}), rB = /*#__PURE__*/ dw(uhe, (e, t, n) => {
- let r = QC(t), i = (0, F.useContext)(Qz), { isVirtualized: a } = (0, F.useContext)(IL), { columnHeaderProps: o, isPressed: s } = jce({
+}), nB = /*#__PURE__*/ sw(vhe, (e, t, n) => {
+ let r = JC(t), i = (0, F.useContext)(Zz), { isVirtualized: a } = (0, F.useContext)(FL), { columnHeaderProps: o, isPressed: s } = Fce({
node: n,
isVirtualized: a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = jD(), d = (0, F.useContext)($z), f = !1;
+ }, i, r), { isFocused: c, isFocusVisible: l, focusProps: u } = DD(), d = (0, F.useContext)(Qz), f = !1;
d && (f = d.resizingColumn === n.key);
- let { hoverProps: p, isHovered: m } = FD({ isDisabled: !e.allowsSorting }), h = wL({
+ let { hoverProps: p, isHovered: m } = jD({ isDisabled: !e.allowsSorting }), h = CL({
...e,
id: void 0,
children: n.rendered,
@@ -41872,8 +41942,8 @@ var uhe = class extends mS {
...g,
width: d.getColumnWidth(n.key)
});
- let _ = Gw(e, { global: !0 });
- return delete _.id, /*#__PURE__*/ F.createElement(dhe, {
+ let _ = Vw(e, { global: !0 });
+ return delete _.id, /*#__PURE__*/ F.createElement(yhe, {
...K(_, o, u, p),
...h,
style: g,
@@ -41885,29 +41955,29 @@ var uhe = class extends mS {
"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__*/ F.createElement(CL, { values: [[iB, {
+ }, /*#__PURE__*/ F.createElement(SL, { values: [[rB, {
column: n,
triggerRef: r
- }], [IL, PL]] }, h.children));
-}), iB = /*#__PURE__*/ (0, F.createContext)(null), fhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let n = (0, F.useContext)($z);
+ }], [FL, NL]] }, h.children));
+}), rB = /*#__PURE__*/ (0, F.createContext)(null), bhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let n = (0, F.useContext)(Qz);
if (!n) throw Error("Wrap your <Table> in a <ResizableTableContainer> to enable column resizing");
- let r = Uw($me(RR), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, F.useContext)(Zz), { column: s, triggerRef: c } = (0, F.useContext)(iB), l = (0, F.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Nce({
+ let r = zw(she(LR), "react-aria-components"), { onResizeStart: i, onResize: a, onResizeEnd: o } = (0, F.useContext)(Xz), { column: s, triggerRef: c } = (0, F.useContext)(rB), l = (0, F.useRef)(null), { resizerProps: u, inputProps: d, isResizing: f, isMouseResizing: p } = Lce({
column: s,
"aria-label": e["aria-label"] || r.format("tableResizer"),
onResizeStart: i,
onResize: a,
onResizeEnd: o,
triggerRef: c
- }, n, l), { focusProps: m, isFocused: h, isFocusVisible: g } = jD(), { hoverProps: _, isHovered: v } = FD(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = Lw(), S = "both";
+ }, n, l), { focusProps: m, isFocused: h, isFocusVisible: g } = DD(), { hoverProps: _, isHovered: v } = jD(e), y = n.getColumnMinWidth(s.key) >= n.getColumnWidth(s.key), b = n.getColumnMaxWidth(s.key) <= n.getColumnWidth(s.key), { direction: x } = Nw(), S = "both";
S = y ? x === "rtl" ? "right" : "left" : b ? x === "rtl" ? "left" : "right" : "both";
- let C = QC(t), [w, T] = (0, F.useState)("");
+ let C = JC(t), [w, T] = (0, F.useState)("");
(0, F.useEffect)(() => {
if (!C.current) return;
let e = window.getComputedStyle(C.current);
T(e.cursor);
}, [C, S]);
- let E = wL({
+ let E = CL({
...e,
defaultClassName: "react-aria-ColumnResizer",
values: {
@@ -41917,8 +41987,8 @@ var uhe = class extends mS {
isHovered: v,
resizableDirection: S
}
- }), D = Gw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(AL.div, {
+ }), D = Vw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(kL.div, {
ref: C,
role: "presentation",
...K(D, E, u, _),
@@ -41941,24 +42011,24 @@ var uhe = class extends mS {
},
"data-testid": "cursor-overlay"
}), document.body));
-}), aB = class extends hS {
+}), iB = class extends dS {
static {
this.type = "tablebody";
}
-}, phe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(IL);
- return n ? /*#__PURE__*/ F.createElement(AL.div, {
+}, xhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(FL);
+ return n ? /*#__PURE__*/ F.createElement(kL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(AL.tbody, {
+ }) : /*#__PURE__*/ F.createElement(kL.tbody, {
...e,
ref: t
});
-}), oB = /*#__PURE__*/ fw(aB, (e, t, n) => {
- let r = (0, F.useContext)(Qz), { isVirtualized: i } = (0, F.useContext)(IL), a = r.collection, { CollectionBranch: o } = (0, F.useContext)(IL), { dragAndDropHooks: s, dropState: c } = (0, F.useContext)(zR), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
+}), aB = /*#__PURE__*/ cw(iB, (e, t, n) => {
+ let r = (0, F.useContext)(Zz), { isVirtualized: i } = (0, F.useContext)(FL), a = r.collection, { CollectionBranch: o } = (0, F.useContext)(FL), { dragAndDropHooks: s, dropState: c } = (0, F.useContext)(RR), l = !!s?.useDroppableCollectionState && !c?.isDisabled, u = l && !!c && (c.isDropTarget({ type: "root" }) ?? !1), d = a.size === 0, f = {
isDropTarget: u,
isEmpty: d
- }, p = wL({
+ }, p = CL({
...e,
id: void 0,
children: void 0,
@@ -41967,33 +42037,33 @@ var uhe = class extends mS {
}), 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__*/ F.createElement(cB, {
+ i ? (n["aria-colspan"] = h, r = { display: "contents" }) : n.colSpan = h, m = /*#__PURE__*/ F.createElement(sB, {
role: "row",
...t,
style: r
- }, /*#__PURE__*/ F.createElement(uB, {
+ }, /*#__PURE__*/ F.createElement(lB, {
role: "rowheader",
...n,
style: r
}, e.renderEmptyState(f)));
}
- let { rowGroupProps: g } = RA(), _ = Gw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(phe, {
+ let { rowGroupProps: g } = PA(), _ = Vw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(xhe, {
...K(_, p, g),
ref: t,
"data-empty": d || void 0
- }, l && /*#__PURE__*/ F.createElement(xhe, null), /*#__PURE__*/ F.createElement(o, {
+ }, l && /*#__PURE__*/ F.createElement(khe, null), /*#__PURE__*/ F.createElement(o, {
collection: a,
parent: n,
- renderDropIndicator: VR(s, c)
+ renderDropIndicator: BR(s, c)
}), m);
});
-(class extends hS {
+(class extends dS {
static {
this.type = "tablefooter";
}
});
-var sB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), mhe = class extends mS {
+var oB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), She = class extends uS {
static {
this.type = "item";
}
@@ -42005,31 +42075,31 @@ var sB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), mh
}
return null;
}
-}, cB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(IL);
- return n ? /*#__PURE__*/ F.createElement(AL.div, {
+}, sB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(FL);
+ return n ? /*#__PURE__*/ F.createElement(kL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(AL.tr, {
+ }) : /*#__PURE__*/ F.createElement(kL.tr, {
...e,
ref: t
});
-}), lB = /*#__PURE__*/ fw(mhe, (e, t, n) => {
- let r = QC(t), i = (0, F.useContext)(Qz), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(zR), { isVirtualized: c, CollectionBranch: l } = (0, F.useContext)(IL), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Lce({
+}), cB = /*#__PURE__*/ cw(She, (e, t, n) => {
+ let r = JC(t), i = (0, F.useContext)(Zz), { dragAndDropHooks: a, dragState: o, dropState: s } = (0, F.useContext)(RR), { isVirtualized: c, CollectionBranch: l } = (0, F.useContext)(FL), u = o && !(o.isDisabled || o.selectionManager.isDisabled(n.key)), { rowProps: d, expandButtonProps: f, ...p } = Vce({
node: n,
shouldSelectOnPressUp: !!o,
isVirtualized: c
- }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = jD(), { isFocusVisible: _, focusProps: v } = jD({ within: !0 }), { hoverProps: y, isHovered: b } = FD({
+ }, i, r), { isFocused: m, isFocusVisible: h, focusProps: g } = DD(), { isFocusVisible: _, focusProps: v } = DD({ within: !0 }), { hoverProps: y, isHovered: b } = jD({
isDisabled: !p.allowsSelection && !p.hasAction && !u,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { checkboxProps: x } = Bce({ key: n.key }, i), S;
+ }), { checkboxProps: x } = Wce({ key: n.key }, i), S;
o && a && (S = a.useDraggableItem({
key: n.key,
hasDragButton: !0
}, o));
- let C, w = (0, F.useRef)(null), { visuallyHiddenProps: T } = fE();
+ let C, w = (0, F.useRef)(null), { visuallyHiddenProps: T } = cE();
s && a && (C = a.useDropIndicator({ target: {
type: "item",
key: n.key,
@@ -42039,7 +42109,7 @@ var sB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), mh
(0, F.useEffect)(() => {
o && E.current;
}, []);
- let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = wL({
+ let D = o && o.isDragging(n.key), { children: O, ...k } = e, A = e.hasChildItems || i.collection.getItem(n.lastChildKey)?.type !== "cell", j = A && i.expandedKeys.has(n.key), M = CL({
...k,
id: void 0,
defaultClassName: "react-aria-Row",
@@ -42060,11 +42130,11 @@ var sB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), mh
isExpanded: j,
level: n.level + 1
}
- }), ee = Gw(e, { global: !0 });
- return delete ee.id, delete ee.onClick, /*#__PURE__*/ F.createElement(F.Fragment, null, C && !C.isHidden && /*#__PURE__*/ F.createElement(cB, {
+ }), ee = Vw(e, { global: !0 });
+ return delete ee.id, delete ee.onClick, /*#__PURE__*/ F.createElement(F.Fragment, null, C && !C.isHidden && /*#__PURE__*/ F.createElement(sB, {
role: "row",
style: { height: 0 }
- }, /*#__PURE__*/ F.createElement(uB, {
+ }, /*#__PURE__*/ F.createElement(lB, {
role: "gridcell",
colSpan: i.collection.columnCount,
style: { padding: 0 }
@@ -42073,7 +42143,7 @@ var sB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), mh
...T,
...C.dropIndicatorProps,
ref: w
- }))), /*#__PURE__*/ F.createElement(cB, {
+ }))), /*#__PURE__*/ F.createElement(sB, {
...K(ee, M, d, g, y, S?.dragProps, v),
ref: r,
"data-disabled": p.isDisabled || void 0,
@@ -42089,17 +42159,17 @@ var sB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), mh
"data-expanded": j || void 0,
"data-has-child-items": A || void 0,
"data-level": n.level + 1
- }, /*#__PURE__*/ F.createElement(CL, { values: [
- [qL, { slots: {
- [SL]: {},
+ }, /*#__PURE__*/ F.createElement(SL, { values: [
+ [KL, { slots: {
+ [xL]: {},
selection: x
} }],
- [JL, { slots: {
- [SL]: {},
+ [qL, { slots: {
+ [xL]: {},
selection: x
} }],
- [BL, { slots: {
- [SL]: {},
+ [zL, { slots: {
+ [xL]: {},
chevron: f,
drag: {
...S?.dragButtonProps,
@@ -42107,8 +42177,8 @@ var sB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), mh
style: { pointerEvents: "none" }
}
} }],
- [GR, { isSelected: p.isSelected }],
- [sB, { isFocusVisibleWithinRow: _ }]
+ [WR, { isSelected: p.isSelected }],
+ [oB, { isFocusVisibleWithinRow: _ }]
] }, /*#__PURE__*/ F.createElement(l, {
collection: i.collection,
parent: n
@@ -42116,34 +42186,34 @@ var sB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), mh
}, (e) => {
if (e.id == null && typeof e.children == "function") throw Error("No id detected for the Row element. The Row element requires a id to be provided to it when the cells are rendered dynamically.");
let t = [e.value].concat(e.dependencies);
- return /*#__PURE__*/ F.createElement(hw, {
+ return /*#__PURE__*/ F.createElement(dw, {
dependencies: t,
items: e.columns,
idScope: e.id
}, e.children);
-}), hhe = class extends mS {
+}), Che = class extends uS {
static {
this.type = "cell";
}
-}, uB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(IL);
- return n ? /*#__PURE__*/ F.createElement(AL.div, {
+}, lB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(FL);
+ return n ? /*#__PURE__*/ F.createElement(kL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(AL.td, {
+ }) : /*#__PURE__*/ F.createElement(kL.td, {
...e,
ref: t
});
-}), dB = /*#__PURE__*/ dw(hhe, (e, t, n) => {
- let r = QC(t), i = (0, F.useContext)(Qz), { dragState: a } = (0, F.useContext)(zR), { isVirtualized: o } = (0, F.useContext)(IL);
+}), uB = /*#__PURE__*/ sw(Che, (e, t, n) => {
+ let r = JC(t), i = (0, F.useContext)(Zz), { dragState: a } = (0, F.useContext)(RR), { isVirtualized: o } = (0, F.useContext)(FL);
n.column = i.collection.columns[n.index];
- let { gridCellProps: s, isPressed: c } = kce({
+ let { gridCellProps: s, isPressed: c } = Nce({
node: n,
shouldSelectOnPressUp: !!a,
isVirtualized: o,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = jD(), { hoverProps: f, isHovered: p } = FD({}), { isFocusVisibleWithinRow: m } = (0, F.useContext)(sB), 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 = wL({
+ }, i, r), { isFocused: l, isFocusVisible: u, focusProps: d } = DD(), { hoverProps: f, isHovered: p } = jD({}), { isFocusVisibleWithinRow: m } = (0, F.useContext)(oB), 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 = CL({
...e,
id: void 0,
defaultClassName: "react-aria-Cell",
@@ -42162,8 +42232,8 @@ var sB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), mh
level: _.level + 1,
isTreeColumn: n.column.key === i.treeColumn
}
- }), S = Gw(e, { global: !0 });
- return delete S.id, /*#__PURE__*/ F.createElement(uB, {
+ }), S = Vw(e, { global: !0 });
+ return delete S.id, /*#__PURE__*/ F.createElement(lB, {
...K(S, x, s, d, f),
ref: r,
"data-focused": l || void 0,
@@ -42177,14 +42247,14 @@ var sB = /*#__PURE__*/ (0, F.createContext)({ isFocusVisibleWithinRow: !1 }), mh
"data-level": _.level + 1,
"data-tree-column": n.column.key === i.treeColumn || void 0,
"data-disabled": b || void 0
- }, /*#__PURE__*/ F.createElement(IL.Provider, { value: PL }, x.children));
+ }, /*#__PURE__*/ F.createElement(FL.Provider, { value: NL }, x.children));
});
-function ghe(e, t) {
- t = QC(t);
- let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(zR), i = (0, F.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+function whe(e, t) {
+ t = JC(t);
+ let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(RR), i = (0, F.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__*/ F.createElement(bhe, {
+ return /*#__PURE__*/ F.createElement(Ohe, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -42193,40 +42263,40 @@ function ghe(e, t) {
ref: t
});
}
-var _he = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(IL);
- return n ? /*#__PURE__*/ F.createElement(AL.div, {
+var The = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(FL);
+ return n ? /*#__PURE__*/ F.createElement(kL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(AL.tr, {
+ }) : /*#__PURE__*/ F.createElement(kL.tr, {
...e,
ref: t
});
-}), vhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- let { isVirtualized: n } = (0, F.useContext)(IL);
- return n ? /*#__PURE__*/ F.createElement(AL.div, {
+}), Ehe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ let { isVirtualized: n } = (0, F.useContext)(FL);
+ return n ? /*#__PURE__*/ F.createElement(kL.div, {
...e,
ref: t
- }) : /*#__PURE__*/ F.createElement(AL.td, {
+ }) : /*#__PURE__*/ F.createElement(kL.td, {
...e,
ref: t
});
});
-function yhe(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, F.useContext)(Qz), { visuallyHiddenProps: c } = fE(), l = wL({
+function Dhe(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, s = (0, F.useContext)(Zz), { visuallyHiddenProps: c } = cE(), l = CL({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: { "--table-row-level": a + 1 },
values: { isDropTarget: r }
});
- return /*#__PURE__*/ F.createElement(_he, {
- ...Gw(e, { global: !0 }),
+ return /*#__PURE__*/ F.createElement(The, {
+ ...Vw(e, { global: !0 }),
...l,
role: "row",
ref: t,
"data-drop-target": r || void 0,
"aria-level": a
- }, /*#__PURE__*/ F.createElement(vhe, {
+ }, /*#__PURE__*/ F.createElement(Ehe, {
role: "gridcell",
colSpan: s.collection.columnCount,
style: { padding: 0 }
@@ -42237,14 +42307,14 @@ function yhe(e, t) {
ref: i
}), l.children));
}
-var bhe = /*#__PURE__*/ (0, F.forwardRef)(yhe);
-function xhe() {
- let e = (0, F.useContext)(Qz), { dragAndDropHooks: t, dropState: n } = (0, F.useContext)(zR), r = (0, F.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = fE();
- return !a && i["aria-hidden"] ? null : /*#__PURE__*/ F.createElement(cB, {
+var Ohe = /*#__PURE__*/ (0, F.forwardRef)(Dhe);
+function khe() {
+ let e = (0, F.useContext)(Zz), { dragAndDropHooks: t, dropState: n } = (0, F.useContext)(RR), r = (0, F.useRef)(null), { dropIndicatorProps: i } = t.useDropIndicator({ target: { type: "root" } }, n, r), a = n.isDropTarget({ type: "root" }), { visuallyHiddenProps: o } = cE();
+ return !a && i["aria-hidden"] ? null : /*#__PURE__*/ F.createElement(sB, {
role: "row",
"aria-hidden": i["aria-hidden"],
style: { height: 0 }
- }, /*#__PURE__*/ F.createElement(uB, {
+ }, /*#__PURE__*/ F.createElement(lB, {
role: "gridcell",
colSpan: e.collection.columnCount,
style: { padding: 0 }
@@ -42255,9 +42325,9 @@ function xhe() {
ref: r
})));
}
-dw(gS, function(e, t, n) {
- let r = (0, F.useContext)(Qz), { isVirtualized: i } = (0, F.useContext)(IL), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, F.useRef)(null);
- iz((0, F.useMemo)(() => ({
+sw(fS, function(e, t, n) {
+ let r = (0, F.useContext)(Zz), { isVirtualized: i } = (0, F.useContext)(FL), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = r.collection.columns.length, u = (0, F.useRef)(null);
+ rz((0, F.useMemo)(() => ({
onLoadMore: o,
collection: r?.collection,
sentinelRef: u,
@@ -42267,7 +42337,7 @@ dw(gS, function(e, t, n) {
s,
r?.collection
]), u);
- let d = wL({
+ let d = CL({
...c,
id: void 0,
children: n.rendered,
@@ -42275,10 +42345,10 @@ dw(gS, 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__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(cB, {
+ return i ? (p["aria-colspan"] = l, m = { display: "contents" }) : p.colSpan = l, /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(sB, {
style: { height: 0 },
- inert: qR(!0)
- }, /*#__PURE__*/ F.createElement(uB, { style: {
+ inert: KR(!0)
+ }, /*#__PURE__*/ F.createElement(lB, { style: {
padding: 0,
border: 0
} }, /*#__PURE__*/ F.createElement("div", {
@@ -42289,22 +42359,22 @@ dw(gS, function(e, t, n) {
height: 1,
width: 1
}
- }))), a && d.children && /*#__PURE__*/ F.createElement(cB, {
- ...K(Gw(e, { global: !0 }), f),
+ }))), a && d.children && /*#__PURE__*/ F.createElement(sB, {
+ ...K(Vw(e, { global: !0 }), f),
...d,
role: "row",
ref: t,
"aria-level": n.level + 1,
"data-level": n.level + 1
- }, /*#__PURE__*/ F.createElement(uB, {
+ }, /*#__PURE__*/ F.createElement(lB, {
role: "rowheader",
...p,
style: m
}, d.children)));
});
// node_modules/react-stately/dist/private/list/useSingleSelectListState.mjs
-function She(e) {
- let [t, n] = rE(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, F.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = nz({
+function Ahe(e) {
+ let [t, n] = $T(e.selectedKey, e.defaultSelectedKey ?? null, e.onSelectionChange), r = (0, F.useMemo)(() => t == null ? [] : [t], [t]), { collection: i, disabledKeys: a, selectionManager: o } = tz({
...e,
selectionMode: "single",
disallowEmptySelection: !0,
@@ -42326,24 +42396,24 @@ function She(e) {
};
}
// node_modules/react-stately/dist/private/tabs/useTabListState.mjs
-function Che(e) {
- let t = She({
+function jhe(e) {
+ let t = Ahe({
...e,
onSelectionChange: e.onSelectionChange ? (t) => {
t != null && e.onSelectionChange?.(t);
} : void 0,
suppressTextValueWarning: !0,
- defaultSelectedKey: e.defaultSelectedKey ?? fB(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
+ defaultSelectedKey: e.defaultSelectedKey ?? dB(e.collection, e.disabledKeys ? new Set(e.disabledKeys) : /* @__PURE__ */ new Set()) ?? void 0
}), { selectionManager: n, collection: r, selectedKey: i } = t, a = (0, F.useRef)(i);
return (0, F.useEffect)(() => {
let o = i;
- e.selectedKey == null && (n.isEmpty || o == null || !r.getItem(o)) && (o = fB(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 = dB(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 fB(e, t) {
+function dB(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);
@@ -42352,24 +42422,24 @@ function fB(e, t) {
return n;
}
// node_modules/react-aria-components/dist/private/Tabs.mjs
-var pB = /*#__PURE__*/ (0, F.createContext)(null), mB = /*#__PURE__*/ (0, F.createContext)(null), whe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = EL(e, t, pB);
+var fB = /*#__PURE__*/ (0, F.createContext)(null), pB = /*#__PURE__*/ (0, F.createContext)(null), Mhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = TL(e, t, fB);
let { children: n, orientation: r = "horizontal" } = e;
return n = (0, F.useMemo)(() => typeof n == "function" ? n({
orientation: r,
defaultChildren: null
- }) : n, [n, r]), /*#__PURE__*/ F.createElement(cw, { content: n }, (n) => /*#__PURE__*/ F.createElement(The, {
+ }) : n, [n, r]), /*#__PURE__*/ F.createElement(iw, { content: n }, (n) => /*#__PURE__*/ F.createElement(Nhe, {
props: e,
collection: n,
tabsRef: t
}));
});
-function The({ props: e, tabsRef: t, collection: n }) {
- let { orientation: r = "horizontal" } = e, i = Che({
+function Nhe({ props: e, tabsRef: t, collection: n }) {
+ let { orientation: r = "horizontal" } = e, i = jhe({
...e,
collection: n,
children: void 0
- }), { focusProps: a, isFocused: o, isFocusVisible: s } = jD({ within: !0 }), c = (0, F.useMemo)(() => ({
+ }), { focusProps: a, isFocused: o, isFocusVisible: s } = DD({ within: !0 }), c = (0, F.useMemo)(() => ({
orientation: r,
isFocusWithin: o,
isFocusVisible: s
@@ -42377,12 +42447,12 @@ function The({ props: e, tabsRef: t, collection: n }) {
r,
o,
s
- ]), l = wL({
+ ]), l = CL({
...e,
defaultClassName: "react-aria-Tabs",
values: c
- }), u = Gw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(AL.div, {
+ }), u = Vw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(kL.div, {
...K(u, l, a),
ref: t,
slot: e.slot || void 0,
@@ -42390,20 +42460,20 @@ function The({ props: e, tabsRef: t, collection: n }) {
"data-orientation": r,
"data-focus-visible": s || void 0,
"data-disabled": i.isDisabled || void 0
- }, /*#__PURE__*/ F.createElement(CL, { values: [[pB, e], [mB, i]] }, l.children));
+ }, /*#__PURE__*/ F.createElement(SL, { values: [[fB, e], [pB, i]] }, l.children));
}
-var hB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- return (0, F.useContext)(mB) ? /*#__PURE__*/ F.createElement(Ehe, {
+var mB = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ return (0, F.useContext)(pB) ? /*#__PURE__*/ F.createElement(Phe, {
props: e,
forwardedRef: t
- }) : /*#__PURE__*/ F.createElement(hw, e);
+ }) : /*#__PURE__*/ F.createElement(dw, e);
});
-function Ehe({ props: e, forwardedRef: t }) {
- let n = (0, F.useContext)(mB), { CollectionRoot: r } = (0, F.useContext)(IL), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = TL(pB), o = QC(t), { tabListProps: s } = Wce({
+function Phe({ props: e, forwardedRef: t }) {
+ let n = (0, F.useContext)(pB), { CollectionRoot: r } = (0, F.useContext)(FL), { orientation: i = "horizontal", keyboardActivation: a = "automatic" } = wL(fB), o = JC(t), { tabListProps: s } = Jce({
...e,
orientation: i,
keyboardActivation: a
- }, n, o), c = wL({
+ }, n, o), c = CL({
...e,
children: null,
defaultClassName: "react-aria-TabList",
@@ -42411,30 +42481,30 @@ function Ehe({ props: e, forwardedRef: t }) {
orientation: i,
state: n
}
- }), l = Gw(e, { global: !0 });
- return delete l.id, /*#__PURE__*/ F.createElement(AL.div, {
+ }), l = Vw(e, { global: !0 });
+ return delete l.id, /*#__PURE__*/ F.createElement(kL.div, {
...K(l, c, s),
ref: o,
"data-orientation": i || void 0
- }, /*#__PURE__*/ F.createElement(WR, null, /*#__PURE__*/ F.createElement(r, {
+ }, /*#__PURE__*/ F.createElement(UR, null, /*#__PURE__*/ F.createElement(r, {
collection: n.collection,
- persistedKeys: LL(n.selectionManager.focusedKey)
+ persistedKeys: IL(n.selectionManager.focusedKey)
})));
}
-var Dhe = /*#__PURE__*/ dw(class extends mS {
+var Fhe = /*#__PURE__*/ sw(class extends uS {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, F.useContext)(mB), i = QC(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Hce({
+ let r = (0, F.useContext)(pB), i = JC(t), { tabProps: a, isSelected: o, isDisabled: s, isPressed: c } = Kce({
key: n.key,
...e
- }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = jD(), { hoverProps: f, isHovered: p } = FD({
+ }, r, i), { focusProps: l, isFocused: u, isFocusVisible: d } = DD(), { hoverProps: f, isHovered: p } = jD({
isDisabled: s,
onHoverStart: e.onHoverStart,
onHoverEnd: e.onHoverEnd,
onHoverChange: e.onHoverChange
- }), m = wL({
+ }), m = CL({
...e,
id: void 0,
children: n.rendered,
@@ -42447,7 +42517,7 @@ var Dhe = /*#__PURE__*/ dw(class extends mS {
isPressed: c,
isHovered: p
}
- }), h = n.props.href ? AL.a : AL.div, g = Gw(e, { global: !0 });
+ }), h = n.props.href ? kL.a : kL.div, g = Vw(e, { global: !0 });
return delete g.id, delete g.onClick, /*#__PURE__*/ F.createElement(h, {
...K(g, m, a, l, f),
ref: i,
@@ -42457,54 +42527,54 @@ var Dhe = /*#__PURE__*/ dw(class extends mS {
"data-focus-visible": d || void 0,
"data-pressed": c || void 0,
"data-hovered": p || void 0
- }, /*#__PURE__*/ F.createElement(GR.Provider, { value: { isSelected: o } }, m.children));
-}), Ohe = /*#__PURE__*/ rw(function(e, t) {
- let n = (0, F.useContext)(mB), r = QC(t), i = n.selectedKey === e.id, [a, o] = (0, F.useState)(n.selectedKey == null ? null : i);
+ }, /*#__PURE__*/ F.createElement(WR.Provider, { value: { isSelected: o } }, m.children));
+}), Ihe = /*#__PURE__*/ $C(function(e, t) {
+ let n = (0, F.useContext)(pB), r = JC(t), i = n.selectedKey === e.id, [a, o] = (0, F.useState)(n.selectedKey == null ? null : i);
a == null && n.selectedKey != null ? o(i) : !i && a && o(!1);
- let s = uz(r, i);
- return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ F.createElement(khe, {
+ let s = lz(r, i);
+ return !i && !e.shouldForceMount && !s ? null : /*#__PURE__*/ F.createElement(Lhe, {
...e,
tabPanelRef: r,
isInitiallySelected: a || !1,
isExiting: s
});
});
-function khe(e) {
- let t = (0, F.useContext)(mB), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Gce(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = jD(), d = t.selectedKey === e.id, f = lz(r) && !i, p = wL({
+function Lhe(e) {
+ let t = (0, F.useContext)(pB), { id: n, tabPanelRef: r, isInitiallySelected: i, isExiting: a, ...o } = e, { tabPanelProps: s } = Yce(e, t, r), { focusProps: c, isFocused: l, isFocusVisible: u } = DD(), d = t.selectedKey === e.id, f = cz(r) && !i, p = CL({
...e,
defaultClassName: "react-aria-TabPanel",
values: {
isFocused: l,
isFocusVisible: u,
- isInert: qR(!d),
+ isInert: KR(!d),
isEntering: f,
isExiting: a,
state: t
}
- }), m = Gw(o, { global: !0 });
+ }), m = Vw(o, { global: !0 });
delete m.id;
let h = d ? K(m, s, c, p) : K(m, p);
- return /*#__PURE__*/ F.createElement(AL.div, {
+ return /*#__PURE__*/ F.createElement(kL.div, {
...h,
ref: r,
"data-focused": l || void 0,
"data-focus-visible": u || void 0,
- inert: qR(!d || e.inert),
+ inert: KR(!d || e.inert),
"data-inert": d ? void 0 : "true",
"data-entering": f || void 0,
"data-exiting": a || void 0
- }, /*#__PURE__*/ F.createElement(CL, { values: [[pB, null], [mB, null]] }, /*#__PURE__*/ F.createElement(IL.Provider, { value: PL }, p.children)));
+ }, /*#__PURE__*/ F.createElement(SL, { values: [[fB, null], [pB, null]] }, /*#__PURE__*/ F.createElement(FL.Provider, { value: NL }, p.children)));
}
// node_modules/react-aria-components/dist/private/TextArea.mjs
-var gB = /*#__PURE__*/ (0, F.createContext)({}), Ahe = (e) => {
+var hB = /*#__PURE__*/ (0, F.createContext)({}), Rhe = (e) => {
let { onHoverStart: t, onHoverChange: n, onHoverEnd: r, ...i } = e;
return i;
-}, jhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- [e, t] = EL(e, t, gB);
- let { hoverProps: n, isHovered: r } = FD(e), { isFocused: i, isFocusVisible: a, focusProps: o } = jD({
+}, zhe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ [e, t] = TL(e, t, hB);
+ let { hoverProps: n, isHovered: r } = jD(e), { isFocused: i, isFocusVisible: a, focusProps: o } = DD({
isTextInput: !0,
autoFocus: e.autoFocus
- }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = wL({
+ }), s = !!e["aria-invalid"] && e["aria-invalid"] !== "false", c = CL({
...e,
values: {
isHovered: r,
@@ -42515,8 +42585,8 @@ var gB = /*#__PURE__*/ (0, F.createContext)({}), Ahe = (e) => {
},
defaultClassName: "react-aria-TextArea"
});
- return /*#__PURE__*/ F.createElement(AL.textarea, {
- ...K(Ahe(e), o, n),
+ return /*#__PURE__*/ F.createElement(kL.textarea, {
+ ...K(Rhe(e), o, n),
...c,
ref: t,
"data-focused": i || void 0,
@@ -42525,18 +42595,18 @@ var gB = /*#__PURE__*/ (0, F.createContext)({}), Ahe = (e) => {
"data-focus-visible": a || void 0,
"data-invalid": s || void 0
});
-}), Mhe = /*#__PURE__*/ (0, F.createContext)(null), Nhe = /*#__PURE__*/ rw(function(e, t) {
- [e, t] = EL(e, t, Mhe);
- let { validationBehavior: n } = TL(KL) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useRef)(null);
- [e, i] = EL(e, i, ML);
- let [a, o] = DL(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, F.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = fse({
- ...OL(e),
+}), Bhe = /*#__PURE__*/ (0, F.createContext)(null), Vhe = /*#__PURE__*/ $C(function(e, t) {
+ [e, t] = TL(e, t, Bhe);
+ let { validationBehavior: n } = wL(GL) || {}, r = e.validationBehavior ?? n ?? "native", i = (0, F.useRef)(null);
+ [e, i] = TL(e, i, jL);
+ let [a, o] = EL(!e["aria-label"] && !e["aria-labelledby"]), [s, c] = (0, F.useState)("input"), { labelProps: l, inputProps: u, descriptionProps: d, errorMessageProps: f, ...p } = gse({
+ ...DL(e),
inputElementType: s,
label: o,
validationBehavior: r
}, i), m = (0, F.useCallback)((e) => {
i.current = e, e && c(e instanceof HTMLTextAreaElement ? "textarea" : "input");
- }, [i]), h = wL({
+ }, [i]), h = CL({
...e,
values: {
isDisabled: e.isDisabled || !1,
@@ -42545,8 +42615,8 @@ var gB = /*#__PURE__*/ (0, F.createContext)({}), Ahe = (e) => {
isRequired: e.isRequired || !1
},
defaultClassName: "react-aria-TextField"
- }), g = Gw(e, { global: !0 });
- return delete g.id, /*#__PURE__*/ F.createElement(AL.div, {
+ }), g = Vw(e, { global: !0 });
+ return delete g.id, /*#__PURE__*/ F.createElement(kL.div, {
...g,
...h,
ref: t,
@@ -42555,31 +42625,31 @@ var gB = /*#__PURE__*/ (0, F.createContext)({}), Ahe = (e) => {
"data-invalid": p.isInvalid || void 0,
"data-readonly": e.isReadOnly || void 0,
"data-required": e.isRequired || void 0
- }, /*#__PURE__*/ F.createElement(CL, { values: [
- [RL, {
+ }, /*#__PURE__*/ F.createElement(SL, { values: [
+ [LL, {
...l,
ref: a
}],
- [QL, {
+ [ZL, {
...u,
ref: m
}],
- [gB, {
+ [hB, {
...u,
ref: m
}],
- [XL, {
+ [YL, {
role: "presentation",
isInvalid: p.isInvalid,
isDisabled: e.isDisabled || !1
}],
- [WL, { slots: {
+ [UL, { slots: {
description: d,
errorMessage: f
} }],
- [GL, p]
+ [WL, p]
] }, h.children));
-}), Phe = class e extends vS {
+}), Hhe = class e extends mS {
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;
@@ -42651,16 +42721,16 @@ var gB = /*#__PURE__*/ (0, F.createContext)({}), Ahe = (e) => {
constructor(...e) {
super(...e), this.expandedKeys = /* @__PURE__ */ new Set();
}
-}, Fhe = /*#__PURE__*/ (0, F.createContext)(null), _B = /*#__PURE__*/ (0, F.createContext)(null), Ihe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
- return [e, t] = EL(e, t, Fhe), /*#__PURE__*/ F.createElement(cw, {
- content: /*#__PURE__*/ F.createElement(hw, e),
- createCollection: () => new Phe()
- }, (n) => /*#__PURE__*/ F.createElement(Lhe, {
+}, Uhe = /*#__PURE__*/ (0, F.createContext)(null), gB = /*#__PURE__*/ (0, F.createContext)(null), Whe = /*#__PURE__*/ (0, F.forwardRef)(function(e, t) {
+ return [e, t] = TL(e, t, Uhe), /*#__PURE__*/ F.createElement(iw, {
+ content: /*#__PURE__*/ F.createElement(dw, e),
+ createCollection: () => new Hhe()
+ }, (n) => /*#__PURE__*/ F.createElement(Ghe, {
props: e,
collection: n,
treeRef: t
}));
-}), vB = {
+}), _B = {
expand: {
ltr: "ArrowRight",
rtl: "ArrowLeft"
@@ -42670,17 +42740,17 @@ var gB = /*#__PURE__*/ (0, F.createContext)({}), Ahe = (e) => {
rtl: "ArrowRight"
}
};
-function Lhe({ props: e, collection: t, treeRef: n }) {
- let { dragAndDropHooks: r } = e, { direction: i } = Lw(), a = wD({
+function Ghe({ props: e, collection: t, treeRef: n }) {
+ let { dragAndDropHooks: r } = e, { direction: i } = Nw(), a = bD({
usage: "search",
sensitivity: "base"
}), o = !!r?.useDraggableCollectionState, s = !!r?.useDroppableCollectionState, c = (0, F.useRef)(o), l = (0, F.useRef)(s);
(0, F.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, F.useContext)(IL), [y, b] = rE(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, F.useState)(t), [C, w] = (0, F.useState)(y), [T, E] = (0, F.useState)(() => t.withExpandedKeys(C, y));
- Whe(C, y) && t === x || (E(t.withExpandedKeys(C, y)), S(t), w(y));
- let D = gz({
+ let { selectionMode: u = "none", expandedKeys: d, defaultExpandedKeys: f, onExpandedChange: p, disabledBehavior: m = "all" } = e, { CollectionRoot: h, isVirtualized: g, layoutDelegate: _, dropTargetDelegate: v } = (0, F.useContext)(FL), [y, b] = $T(d ? new Set(d) : void 0, f ? new Set(f) : /* @__PURE__ */ new Set(), p), [x, S] = (0, F.useState)(t), [C, w] = (0, F.useState)(y), [T, E] = (0, F.useState)(() => t.withExpandedKeys(C, y));
+ Qhe(C, y) && t === x || (E(t.withExpandedKeys(C, y)), S(t), w(y));
+ let D = hz({
...e,
selectionMode: u,
expandedKeys: y,
@@ -42688,7 +42758,7 @@ function Lhe({ props: e, collection: t, treeRef: n }) {
collection: T,
children: void 0,
disabledBehavior: m
- }), { gridProps: O } = Kce({
+ }), { gridProps: O } = Xce({
...e,
isVirtualized: g,
layoutDelegate: _
@@ -42702,7 +42772,7 @@ function Lhe({ props: e, collection: t, treeRef: n }) {
let e = r.DragPreview;
ee = r.renderDragPreview ? /*#__PURE__*/ F.createElement(e, { ref: N }, r.renderDragPreview) : null;
}
- let [te] = (0, F.useState)(() => new Wz());
+ let [te] = (0, F.useState)(() => new Uz());
if (s && r) {
A = r.useDroppableCollectionState({
collection: D.collection,
@@ -42710,7 +42780,7 @@ function Lhe({ props: e, collection: t, treeRef: n }) {
});
let e = r.dropTargetDelegate || v || new r.ListDropTargetDelegate(D.collection, n, { direction: i });
te.setup(e, D, i);
- let t = new EE({
+ let t = new SE({
collection: D.collection,
collator: a,
ref: n,
@@ -42732,12 +42802,12 @@ function Lhe({ props: e, collection: t, treeRef: n }) {
let t = A?.target;
if (t && t.type === "item" && t.dropPosition === "on") {
let n = D.collection.getItem(t.key);
- (e.key === vB.expand[i] && n?.hasChildNodes && !D.expandedKeys.has(t.key) || e.key === vB.collapse[i] && n?.hasChildNodes && D.expandedKeys.has(t.key)) && D.toggleKey(t.key);
+ (e.key === _B.expand[i] && n?.hasChildNodes && !D.expandedKeys.has(t.key) || e.key === _B.collapse[i] && n?.hasChildNodes && D.expandedKeys.has(t.key)) && D.toggleKey(t.key);
}
}
}, A, n), M = A.isDropTarget({ type: "root" });
}
- let P = !(!o || k?.isDisabled), { focusProps: ne, isFocused: re, isFocusVisible: I } = jD(), ie = {
+ let P = !(!o || k?.isDisabled), { focusProps: ne, isFocused: re, isFocusVisible: I } = DD(), ie = {
isEmpty: D.collection.size === 0,
isFocused: re,
isFocusVisible: I,
@@ -42745,7 +42815,7 @@ function Lhe({ props: e, collection: t, treeRef: n }) {
selectionMode: D.selectionManager.selectionMode,
allowsDragging: !!P,
state: D
- }, ae = wL({
+ }, ae = CL({
...e,
children: void 0,
defaultClassName: "react-aria-Tree",
@@ -42762,8 +42832,8 @@ function Lhe({ props: e, collection: t, treeRef: n }) {
style: { display: "contents" }
}, r));
}
- let se = Gw(e, { global: !0 });
- return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(hT, null, /*#__PURE__*/ F.createElement(AL.div, {
+ let se = Vw(e, { global: !0 });
+ return /*#__PURE__*/ F.createElement(F.Fragment, null, /*#__PURE__*/ F.createElement(dT, null, /*#__PURE__*/ F.createElement(kL.div, {
...K(se, ae, O, ne, j?.collectionProps),
ref: n,
slot: e.slot || void 0,
@@ -42773,54 +42843,54 @@ function Lhe({ props: e, collection: t, treeRef: n }) {
"data-focus-visible": I || void 0,
"data-selection-mode": D.selectionManager.selectionMode === "none" ? void 0 : D.selectionManager.selectionMode,
"data-allows-dragging": !!P || void 0
- }, /*#__PURE__*/ F.createElement(CL, { values: [
- [_B, D],
- [zR, {
+ }, /*#__PURE__*/ F.createElement(SL, { values: [
+ [gB, D],
+ [RR, {
dragAndDropHooks: r,
dragState: k,
dropState: A
}],
- [BR, { render: Bhe }]
- ] }, s && /*#__PURE__*/ F.createElement(Uhe, null), /*#__PURE__*/ F.createElement(WR, null, /*#__PURE__*/ F.createElement(h, {
+ [zR, { render: Jhe }]
+ ] }, s && /*#__PURE__*/ F.createElement(Zhe, null), /*#__PURE__*/ F.createElement(UR, null, /*#__PURE__*/ F.createElement(h, {
collection: D.collection,
- persistedKeys: HR(D.selectionManager, r, A),
+ persistedKeys: VR(D.selectionManager, r, A),
scrollRef: n,
- renderDropIndicator: VR(r, A)
+ renderDropIndicator: BR(r, A)
}))), oe)), ee);
}
-var Rhe = /*#__PURE__*/ dw(class extends mS {
+var Khe = /*#__PURE__*/ sw(class extends uS {
static {
this.type = "content";
}
}, function(e) {
- let t = (0, F.useContext)(yB), n = wL({
+ let t = (0, F.useContext)(vB), n = CL({
children: e.children,
values: t
});
- return /*#__PURE__*/ F.createElement(IL.Provider, { value: PL }, n.children);
-}), yB = /*#__PURE__*/ (0, F.createContext)(null), zhe = /*#__PURE__*/ fw(class extends mS {
+ return /*#__PURE__*/ F.createElement(FL.Provider, { value: NL }, n.children);
+}), vB = /*#__PURE__*/ (0, F.createContext)(null), qhe = /*#__PURE__*/ cw(class extends uS {
static {
this.type = "item";
}
}, (e, t, n) => {
- let r = (0, F.useContext)(_B);
- t = QC(t);
- let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, F.useContext)(zR), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = Sj({
+ let r = (0, F.useContext)(gB);
+ t = JC(t);
+ let { dragAndDropHooks: i, dragState: a, dropState: o } = (0, F.useContext)(RR), s = a && !(a.isDisabled || a.selectionManager.isDisabled(n.key)), { rowProps: c, gridCellProps: l, expandButtonProps: u, descriptionProps: d, ...f } = vj({
node: n,
shouldSelectOnPressUp: !!a,
focusMode: e.focusMode,
allowsArrowNavigation: e.allowsArrowNavigation
- }, r, t), p = c["aria-expanded"] === !0, m = e.hasChildItems || [...r.collection.getChildren(n.key)].length > 1, h = c["aria-level"] || 1, { hoverProps: g, isHovered: _ } = FD({
+ }, r, t), p = c["aria-expanded"] === !0, m = e.hasChildItems || [...r.collection.getChildren(n.key)].length > 1, h = c["aria-level"] || 1, { hoverProps: g, isHovered: _ } = jD({
isDisabled: !f.allowsSelection && !f.hasAction && !s,
onHoverStart: e.onHoverStart,
onHoverChange: e.onHoverChange,
onHoverEnd: e.onHoverEnd
- }), { isFocusVisible: v, focusProps: y } = jD(), { isFocusVisible: b, focusProps: x } = jD({ within: !0 }), { checkboxProps: S } = Vse({ key: n.key }, r), C = null;
+ }), { isFocusVisible: v, focusProps: y } = DD(), { isFocusVisible: b, focusProps: x } = DD({ within: !0 }), { checkboxProps: S } = Gse({ key: n.key }, r), C = null;
a && i && (C = i.useDraggableItem({
key: n.key,
hasDragButton: !0
}, a));
- let w = null, T = (0, F.useRef)(null), E = (0, F.useRef)(null), D = (0, F.useRef)(null), { visuallyHiddenProps: O } = fE();
+ let w = null, T = (0, F.useRef)(null), E = (0, F.useRef)(null), D = (0, F.useRef)(null), { visuallyHiddenProps: O } = cE();
o && i && (w = i.useDropIndicator({
target: {
type: "item",
@@ -42859,7 +42929,7 @@ var Rhe = /*#__PURE__*/ dw(class extends mS {
A,
M,
j
- ]), N = wL({
+ ]), N = CL({
...e,
id: void 0,
children: n.rendered,
@@ -42876,7 +42946,7 @@ var Rhe = /*#__PURE__*/ dw(class extends mS {
(0, F.useEffect)(() => {
a && te.current;
}, []);
- let P = SS({
+ let P = vS({
items: r.collection.getChildren(n.key),
children: (e) => {
switch (e.type) {
@@ -42886,7 +42956,7 @@ var Rhe = /*#__PURE__*/ dw(class extends mS {
default: throw Error("Unsupported element type in TreeRow: " + e.type);
}
}
- }), ne = VC(), re = Gw(e, { global: !0 });
+ }), ne = LC(), re = Vw(e, { global: !0 });
return delete re.id, delete re.onClick, /*#__PURE__*/ F.createElement(F.Fragment, null, w && !w.isHidden && /*#__PURE__*/ F.createElement("div", {
role: "row",
"aria-level": c["aria-level"],
@@ -42909,7 +42979,7 @@ var Rhe = /*#__PURE__*/ dw(class extends mS {
"aria-labelledby": `${ne} ${c.id}`,
tabIndex: -1,
ref: D
- }))), /*#__PURE__*/ F.createElement(AL.div, {
+ }))), /*#__PURE__*/ F.createElement(kL.div, {
...K(re, c, y, g, x, C?.dragProps),
...N,
ref: t,
@@ -42929,17 +42999,17 @@ var Rhe = /*#__PURE__*/ dw(class extends mS {
}, /*#__PURE__*/ F.createElement("div", {
...l,
style: { display: "contents" }
- }, /*#__PURE__*/ F.createElement(CL, { values: [
- [qL, { slots: {
- [SL]: {},
+ }, /*#__PURE__*/ F.createElement(SL, { values: [
+ [KL, { slots: {
+ [xL]: {},
selection: S
} }],
- [JL, { slots: {
- [SL]: {},
+ [qL, { slots: {
+ [xL]: {},
selection: S
} }],
- [BL, { slots: {
- [SL]: {},
+ [zL, { slots: {
+ [xL]: {},
chevron: {
...u,
ref: T
@@ -42950,13 +43020,13 @@ var Rhe = /*#__PURE__*/ dw(class extends mS {
style: { pointerEvents: "none" }
}
} }],
- [yB, { ...ee }],
- [GR, { isSelected: f.isSelected }]
+ [vB, { ...ee }],
+ [WR, { isSelected: f.isSelected }]
] }, P))));
});
-dw(gS, function(e, t, n) {
- let { isVirtualized: r } = (0, F.useContext)(IL), i = (0, F.useContext)(_B), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, F.useRef)(null);
- iz((0, F.useMemo)(() => ({
+sw(fS, function(e, t, n) {
+ let { isVirtualized: r } = (0, F.useContext)(FL), i = (0, F.useContext)(gB), { isLoading: a, onLoadMore: o, scrollOffset: s, ...c } = e, l = (0, F.useRef)(null);
+ rz((0, F.useMemo)(() => ({
onLoadMore: o,
collection: i?.collection,
sentinelRef: l,
@@ -42965,11 +43035,11 @@ dw(gS, function(e, t, n) {
o,
s,
i?.collection
- ]), l), t = QC(t);
- let { rowProps: u, gridCellProps: d } = Sj({ node: n }, i, t), f = u["aria-level"] || 1, p = {
+ ]), l), t = JC(t);
+ let { rowProps: u, gridCellProps: d } = vj({ node: n }, i, t), f = u["aria-level"] || 1, p = {
role: "row",
"aria-level": u["aria-level"]
- }, m = wL({
+ }, m = CL({
...c,
id: void 0,
children: n.rendered,
@@ -42982,7 +43052,7 @@ dw(gS, function(e, t, n) {
width: 0,
height: 0
},
- inert: qR(!0)
+ inert: KR(!0)
}, /*#__PURE__*/ F.createElement("div", {
"data-testid": "loadMoreSentinel",
ref: l,
@@ -42991,9 +43061,9 @@ dw(gS, function(e, t, n) {
height: 1,
width: 1
}
- })), a && m.children && /*#__PURE__*/ F.createElement(AL.div, {
+ })), a && m.children && /*#__PURE__*/ F.createElement(kL.div, {
ref: t,
- ...K(Gw(e), p),
+ ...K(Vw(e), p),
...m,
"data-level": f
}, /*#__PURE__*/ F.createElement("div", {
@@ -43001,12 +43071,12 @@ dw(gS, function(e, t, n) {
style: h
}, m.children)));
});
-function Bhe(e, t) {
- t = QC(t);
- let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(zR), i = (0, F.useRef)(null), { dropIndicatorProps: a, isHidden: o, isDropTarget: s } = n.useDropIndicator(e, r, i);
+function Jhe(e, t) {
+ t = JC(t);
+ let { dragAndDropHooks: n, dropState: r } = (0, F.useContext)(RR), i = (0, F.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__*/ F.createElement(Hhe, {
+ return /*#__PURE__*/ F.createElement(Xhe, {
...e,
dropIndicatorProps: a,
isDropTarget: s,
@@ -43015,8 +43085,8 @@ function Bhe(e, t) {
level: c
});
}
-function Vhe(e, t) {
- let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = fE(), c = wL({
+function Yhe(e, t) {
+ let { dropIndicatorProps: n, isDropTarget: r, buttonRef: i, level: a, ...o } = e, { visuallyHiddenProps: s } = cE(), c = CL({
...o,
defaultClassName: "react-aria-DropIndicator",
defaultStyle: {
@@ -43025,7 +43095,7 @@ function Vhe(e, t) {
},
values: { isDropTarget: r }
});
- return /*#__PURE__*/ F.createElement(AL.div, {
+ return /*#__PURE__*/ F.createElement(kL.div, {
...c,
role: "row",
"aria-level": a,
@@ -43038,9 +43108,9 @@ function Vhe(e, t) {
ref: i
}), c.children));
}
-var Hhe = /*#__PURE__*/ (0, F.forwardRef)(Vhe);
-function Uhe() {
- let { dragAndDropHooks: e, dropState: t } = (0, F.useContext)(zR), n = (0, F.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = fE();
+var Xhe = /*#__PURE__*/ (0, F.forwardRef)(Yhe);
+function Zhe() {
+ let { dragAndDropHooks: e, dropState: t } = (0, F.useContext)(RR), n = (0, F.useRef)(null), { dropIndicatorProps: r } = e.useDropIndicator({ target: { type: "root" } }, t, n), i = t.isDropTarget({ type: "root" }), { visuallyHiddenProps: a } = cE();
return !i && r["aria-hidden"] ? null : /*#__PURE__*/ F.createElement("div", {
role: "row",
"aria-hidden": r["aria-hidden"],
@@ -43052,13 +43122,13 @@ function Uhe() {
ref: n
})));
}
-function Whe(e, t) {
+function Qhe(e, t) {
if (e.size !== t.size) return !1;
for (let n of e) if (!t.has(n)) return !1;
return !0;
}
// node_modules/@remixicon/react/index.mjs
-var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+var $he = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43066,7 +43136,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), Khe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M11 11V5H13V11H19V13H13V19H11V13H5V11H11Z" })), ege = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43074,7 +43144,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M6.38231 3.9681C7.92199 2.73647 9.87499 2 12 2C14.125 2 16.078 2.73647 17.6177 3.9681L19.0711 2.51472L20.4853 3.92893L19.0319 5.38231C20.2635 6.92199 21 8.87499 21 11V12H3V11C3 8.87499 3.73647 6.92199 4.9681 5.38231L3.51472 3.92893L4.92893 2.51472L6.38231 3.9681ZM3 14H21V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V14ZM9 9C9.55228 9 10 8.55228 10 8C10 7.44772 9.55228 7 9 7C8.44772 7 8 7.44772 8 8C8 8.55228 8.44772 9 9 9ZM15 9C15.5523 9 16 8.55228 16 8C16 7.44772 15.5523 7 15 7C14.4477 7 14 7.44772 14 8C14 8.55228 14.4477 9 15 9Z" })), qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M6.38231 3.9681C7.92199 2.73647 9.87499 2 12 2C14.125 2 16.078 2.73647 17.6177 3.9681L19.0711 2.51472L20.4853 3.92893L19.0319 5.38231C20.2635 6.92199 21 8.87499 21 11V12H3V11C3 8.87499 3.73647 6.92199 4.9681 5.38231L3.51472 3.92893L4.92893 2.51472L6.38231 3.9681ZM3 14H21V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V14ZM9 9C9.55228 9 10 8.55228 10 8C10 7.44772 9.55228 7 9 7C8.44772 7 8 7.44772 8 8C8 8.55228 8.44772 9 9 9ZM15 9C15.5523 9 16 8.55228 16 8C16 7.44772 15.5523 7 15 7C14.4477 7 14 7.44772 14 8C14 8.55228 14.4477 9 15 9Z" })), tge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43082,7 +43152,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M11.6734 7.22198C10.7974 7.22198 9.44138 6.22598 8.01338 6.26198C6.12938 6.28598 4.40138 7.35397 3.42938 9.04597C1.47338 12.442 2.92538 17.458 4.83338 20.218C5.76938 21.562 6.87338 23.074 8.33738 23.026C9.74138 22.966 10.2694 22.114 11.9734 22.114C13.6654 22.114 14.1454 23.026 15.6334 22.99C17.1454 22.966 18.1054 21.622 19.0294 20.266C20.0974 18.706 20.5414 17.194 20.5654 17.11C20.5294 17.098 17.6254 15.982 17.5894 12.622C17.5654 9.81397 19.8814 8.46998 19.9894 8.40998C18.6694 6.47798 16.6414 6.26198 15.9334 6.21398C14.0854 6.06998 12.5374 7.22198 11.6734 7.22198ZM14.7934 4.38998C15.5734 3.45398 16.0894 2.14598 15.9454 0.849976C14.8294 0.897976 13.4854 1.59398 12.6814 2.52998C11.9614 3.35798 11.3374 4.68998 11.5054 5.96198C12.7414 6.05798 14.0134 5.32598 14.7934 4.38998Z" })), Jhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M11.6734 7.22198C10.7974 7.22198 9.44138 6.22598 8.01338 6.26198C6.12938 6.28598 4.40138 7.35397 3.42938 9.04597C1.47338 12.442 2.92538 17.458 4.83338 20.218C5.76938 21.562 6.87338 23.074 8.33738 23.026C9.74138 22.966 10.2694 22.114 11.9734 22.114C13.6654 22.114 14.1454 23.026 15.6334 22.99C17.1454 22.966 18.1054 21.622 19.0294 20.266C20.0974 18.706 20.5414 17.194 20.5654 17.11C20.5294 17.098 17.6254 15.982 17.5894 12.622C17.5654 9.81397 19.8814 8.46998 19.9894 8.40998C18.6694 6.47798 16.6414 6.26198 15.9334 6.21398C14.0854 6.06998 12.5374 7.22198 11.6734 7.22198ZM14.7934 4.38998C15.5734 3.45398 16.0894 2.14598 15.9454 0.849976C14.8294 0.897976 13.4854 1.59398 12.6814 2.52998C11.9614 3.35798 11.3374 4.68998 11.5054 5.96198C12.7414 6.05798 14.0134 5.32598 14.7934 4.38998Z" })), nge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43090,7 +43160,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), bB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), yB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43098,7 +43168,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), xB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), bB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43106,7 +43176,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), SB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), xB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43114,7 +43184,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), Yhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), rge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43122,7 +43192,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), CB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), SB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43130,7 +43200,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), wB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M11.9999 10.8284L7.0502 15.7782L5.63599 14.364L11.9999 8L18.3639 14.364L16.9497 15.7782L11.9999 10.8284Z" })), CB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43138,7 +43208,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M3 12H5V21H3V12ZM19 8H21V21H19V8ZM11 2H13V21H11V2Z" })), TB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M3 12H5V21H3V12ZM19 8H21V21H19V8ZM11 2H13V21H11V2Z" })), wB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43146,7 +43216,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), Xhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), ige = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43154,7 +43224,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), Zhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), age = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43162,7 +43232,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), Qhe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), oge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43170,7 +43240,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), $he = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43178,7 +43248,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), ege = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), cge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43186,7 +43256,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), tge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), lge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43194,7 +43264,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), EB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), TB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43202,7 +43272,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), DB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), EB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43210,7 +43280,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), nge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), uge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43218,7 +43288,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), OB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), DB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43226,7 +43296,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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 20ZM16.5 7.5L14 14L7.5 16.5L10 10L16.5 7.5ZM12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13Z" })), rge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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 20ZM16.5 7.5L14 14L7.5 16.5L10 10L16.5 7.5ZM12 13C12.5523 13 13 12.5523 13 12C13 11.4477 12.5523 11 12 11C11.4477 11 11 11.4477 11 12C11 12.5523 11.4477 13 12 13Z" })), dge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43234,7 +43304,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), ige = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), fge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43242,7 +43312,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M4 16H20V5H4V16ZM13 18V20H17V22H7V20H11V18H2.9918C2.44405 18 2 17.5511 2 16.9925V4.00748C2 3.45107 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44892 22 4.00748V16.9925C22 17.5489 21.5447 18 21.0082 18H13Z" })), kB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M4 16H20V5H4V16ZM13 18V20H17V22H7V20H11V18H2.9918C2.44405 18 2 17.5511 2 16.9925V4.00748C2 3.45107 2.45531 3 2.9918 3H21.0082C21.556 3 22 3.44892 22 4.00748V16.9925C22 17.5489 21.5447 18 21.0082 18H13Z" })), OB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43250,7 +43320,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), age = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), pge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43258,7 +43328,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), oge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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 }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43266,7 +43336,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M19 8H21C21.5523 8 22 8.44772 22 9V21C22 21.5523 21.5523 22 21 22H13C12.4477 22 12 21.5523 12 21V20H4C3.44772 20 3 19.5523 3 19V3C3 2.44772 3.44772 2 4 2H18C18.5523 2 19 2.44772 19 3V8ZM17 8V4H5V18H12V9C12 8.44772 12.4477 8 13 8H17ZM14 10V20H20V10H14Z" })), sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M19 8H21C21.5523 8 22 8.44772 22 9V21C22 21.5523 21.5523 22 21 22H13C12.4477 22 12 21.5523 12 21V20H4C3.44772 20 3 19.5523 3 19V3C3 2.44772 3.44772 2 4 2H18C18.5523 2 19 2.44772 19 3V8ZM17 8V4H5V18H12V9C12 8.44772 12.4477 8 13 8H17ZM14 10V20H20V10H14Z" })), hge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43274,7 +43344,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M13 13V18.585L14.8284 16.7574L16.2426 18.1716L12 22.4142L7.75736 18.1716L9.17157 16.7574L11 18.585V13H13ZM12 2C15.5934 2 18.5544 4.70761 18.9541 8.19395C21.2858 8.83154 23 10.9656 23 13.5C23 16.3688 20.8036 18.7246 18.0006 18.9776L18.0009 16.9644C19.6966 16.7214 21 15.2629 21 13.5C21 11.567 19.433 10 17.5 10C17.2912 10 17.0867 10.0183 16.8887 10.054C16.9616 9.7142 17 9.36158 17 9C17 6.23858 14.7614 4 12 4C9.23858 4 7 6.23858 7 9C7 9.36158 7.03838 9.7142 7.11205 10.0533C6.91331 10.0183 6.70879 10 6.5 10C4.567 10 3 11.567 3 13.5C3 15.2003 4.21241 16.6174 5.81986 16.934L6.00005 16.9646L6.00039 18.9776C3.19696 18.7252 1 16.3692 1 13.5C1 10.9656 2.71424 8.83154 5.04648 8.19411C5.44561 4.70761 8.40661 2 12 2Z" })), AB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M13 13V18.585L14.8284 16.7574L16.2426 18.1716L12 22.4142L7.75736 18.1716L9.17157 16.7574L11 18.585V13H13ZM12 2C15.5934 2 18.5544 4.70761 18.9541 8.19395C21.2858 8.83154 23 10.9656 23 13.5C23 16.3688 20.8036 18.7246 18.0006 18.9776L18.0009 16.9644C19.6966 16.7214 21 15.2629 21 13.5C21 11.567 19.433 10 17.5 10C17.2912 10 17.0867 10.0183 16.8887 10.054C16.9616 9.7142 17 9.36158 17 9C17 6.23858 14.7614 4 12 4C9.23858 4 7 6.23858 7 9C7 9.36158 7.03838 9.7142 7.11205 10.0533C6.91331 10.0183 6.70879 10 6.5 10C4.567 10 3 11.567 3 13.5C3 15.2003 4.21241 16.6174 5.81986 16.934L6.00005 16.9646L6.00039 18.9776C3.19696 18.7252 1 16.3692 1 13.5C1 10.9656 2.71424 8.83154 5.04648 8.19411C5.44561 4.70761 8.40661 2 12 2Z" })), kB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43282,7 +43352,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M1 14.5C1 12.1716 2.22429 10.1291 4.06426 8.9812C4.56469 5.044 7.92686 2 12 2C16.0731 2 19.4353 5.044 19.9357 8.9812C21.7757 10.1291 23 12.1716 23 14.5C23 17.9216 20.3562 20.7257 17 20.9811L7 21C3.64378 20.7257 1 17.9216 1 14.5ZM16.8483 18.9868C19.1817 18.8093 21 16.8561 21 14.5C21 12.927 20.1884 11.4962 18.8771 10.6781L18.0714 10.1754L17.9517 9.23338C17.5735 6.25803 15.0288 4 12 4C8.97116 4 6.42647 6.25803 6.0483 9.23338L5.92856 10.1754L5.12288 10.6781C3.81156 11.4962 3 12.927 3 14.5C3 16.8561 4.81833 18.8093 7.1517 18.9868L7.325 19H16.675L16.8483 18.9868ZM13 12H16L12 17L8 12H11V8H13V12Z" })), cge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M1 14.5C1 12.1716 2.22429 10.1291 4.06426 8.9812C4.56469 5.044 7.92686 2 12 2C16.0731 2 19.4353 5.044 19.9357 8.9812C21.7757 10.1291 23 12.1716 23 14.5C23 17.9216 20.3562 20.7257 17 20.9811L7 21C3.64378 20.7257 1 17.9216 1 14.5ZM16.8483 18.9868C19.1817 18.8093 21 16.8561 21 14.5C21 12.927 20.1884 11.4962 18.8771 10.6781L18.0714 10.1754L17.9517 9.23338C17.5735 6.25803 15.0288 4 12 4C8.97116 4 6.42647 6.25803 6.0483 9.23338L5.92856 10.1754L5.12288 10.6781C3.81156 11.4962 3 12.927 3 14.5C3 16.8561 4.81833 18.8093 7.1517 18.9868L7.325 19H16.675L16.8483 18.9868ZM13 12H16L12 17L8 12H11V8H13V12Z" })), gge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43290,7 +43360,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), jB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), AB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43298,7 +43368,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), MB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), jB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43306,7 +43376,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), lge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), _ge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43314,7 +43384,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), uge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43322,7 +43392,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), dge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43330,7 +43400,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), fge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), bge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43338,7 +43408,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), pge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), xge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43346,7 +43416,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M15 4H5V20H19V8H15V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H16L20.9997 7L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918ZM13.529 14.4464C11.9951 15.3524 9.98633 15.1464 8.66839 13.8284C7.1063 12.2663 7.1063 9.73367 8.66839 8.17157C10.2305 6.60948 12.7631 6.60948 14.3252 8.17157C15.6432 9.48951 15.8492 11.4983 14.9432 13.0322L17.1537 15.2426L15.7395 16.6569L13.529 14.4464ZM12.911 12.4142C13.6921 11.6332 13.6921 10.3668 12.911 9.58579C12.13 8.80474 10.8637 8.80474 10.0826 9.58579C9.30156 10.3668 9.30156 11.6332 10.0826 12.4142C10.8637 13.1953 12.13 13.1953 12.911 12.4142Z" })), NB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M15 4H5V20H19V8H15V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H16L20.9997 7L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918ZM13.529 14.4464C11.9951 15.3524 9.98633 15.1464 8.66839 13.8284C7.1063 12.2663 7.1063 9.73367 8.66839 8.17157C10.2305 6.60948 12.7631 6.60948 14.3252 8.17157C15.6432 9.48951 15.8492 11.4983 14.9432 13.0322L17.1537 15.2426L15.7395 16.6569L13.529 14.4464ZM12.911 12.4142C13.6921 11.6332 13.6921 10.3668 12.911 9.58579C12.13 8.80474 10.8637 8.80474 10.0826 9.58579C9.30156 10.3668 9.30156 11.6332 10.0826 12.4142C10.8637 13.1953 12.13 13.1953 12.911 12.4142Z" })), MB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43354,7 +43424,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M2 3.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.9918C2.44405 21 2 20.5551 2 20.0066V3.9934ZM8 5V19H16V5H8ZM4 5V7H6V5H4ZM18 5V7H20V5H18ZM4 9V11H6V9H4ZM18 9V11H20V9H18ZM4 13V15H6V13H4ZM18 13V15H20V13H18ZM4 17V19H6V17H4ZM18 17V19H20V17H18Z" })), mge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M2 3.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.9918C2.44405 21 2 20.5551 2 20.0066V3.9934ZM8 5V19H16V5H8ZM4 5V7H6V5H4ZM18 5V7H20V5H18ZM4 9V11H6V9H4ZM18 9V11H20V9H18ZM4 13V15H6V13H4ZM18 13V15H20V13H18ZM4 17V19H6V17H4ZM18 17V19H20V17H18Z" })), Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43362,7 +43432,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), PB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M10 18H14V16H10V18ZM3 6V8H21V6H3ZM6 13H18V11H6V13Z" })), NB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43370,7 +43440,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), FB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), PB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43378,7 +43448,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M4 5V19H20V7H11.5858L9.58579 5H4ZM12.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 5Z" })), IB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M4 5V19H20V7H11.5858L9.58579 5H4ZM12.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 5Z" })), FB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43386,7 +43456,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), hge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), Cge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43394,7 +43464,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), LB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), IB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43402,7 +43472,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), RB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), LB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43410,7 +43480,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), gge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), wge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43418,7 +43488,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M16.5 3C19.5376 3 22 5.5 22 9C22 16 14.5 20 12 21.5C9.5 20 2 16 2 9C2 5.5 4.5 3 7.5 3C9.35997 3 11 4 12 5C13 4 14.64 3 16.5 3ZM12.9339 18.6038C13.8155 18.0485 14.61 17.4955 15.3549 16.9029C18.3337 14.533 20 11.9435 20 9C20 6.64076 18.463 5 16.5 5C15.4241 5 14.2593 5.56911 13.4142 6.41421L12 7.82843L10.5858 6.41421C9.74068 5.56911 8.5759 5 7.5 5C5.55906 5 4 6.6565 4 9C4 11.9435 5.66627 14.533 8.64514 16.9029C9.39 17.4955 10.1845 18.0485 11.0661 18.6038C11.3646 18.7919 11.6611 18.9729 12 19.1752C12.3389 18.9729 12.6354 18.7919 12.9339 18.6038Z" })), _ge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M16.5 3C19.5376 3 22 5.5 22 9C22 16 14.5 20 12 21.5C9.5 20 2 16 2 9C2 5.5 4.5 3 7.5 3C9.35997 3 11 4 12 5C13 4 14.64 3 16.5 3ZM12.9339 18.6038C13.8155 18.0485 14.61 17.4955 15.3549 16.9029C18.3337 14.533 20 11.9435 20 9C20 6.64076 18.463 5 16.5 5C15.4241 5 14.2593 5.56911 13.4142 6.41421L12 7.82843L10.5858 6.41421C9.74068 5.56911 8.5759 5 7.5 5C5.55906 5 4 6.6565 4 9C4 11.9435 5.66627 14.533 8.64514 16.9029C9.39 17.4955 10.1845 18.0485 11.0661 18.6038C11.3646 18.7919 11.6611 18.9729 12 19.1752C12.3389 18.9729 12.6354 18.7919 12.9339 18.6038Z" })), Tge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43426,7 +43496,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), Ege = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43434,7 +43504,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M5 11.1005L7 9.1005L12.5 14.6005L16 11.1005L19 14.1005V5H5V11.1005ZM5 13.9289V19H8.1005L11.0858 16.0147L7 11.9289L5 13.9289ZM10.9289 19H19V16.9289L16 13.9289L10.9289 19ZM4 3H20C20.5523 3 21 3.44772 21 4V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3ZM15.5 10C14.6716 10 14 9.32843 14 8.5C14 7.67157 14.6716 7 15.5 7C16.3284 7 17 7.67157 17 8.5C17 9.32843 16.3284 10 15.5 10Z" })), zB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M5 11.1005L7 9.1005L12.5 14.6005L16 11.1005L19 14.1005V5H5V11.1005ZM5 13.9289V19H8.1005L11.0858 16.0147L7 11.9289L5 13.9289ZM10.9289 19H19V16.9289L16 13.9289L10.9289 19ZM4 3H20C20.5523 3 21 3.44772 21 4V20C21 20.5523 20.5523 21 20 21H4C3.44772 21 3 20.5523 3 20V4C3 3.44772 3.44772 3 4 3ZM15.5 10C14.6716 10 14 9.32843 14 8.5C14 7.67157 14.6716 7 15.5 7C16.3284 7 17 7.67157 17 8.5C17 9.32843 16.3284 10 15.5 10Z" })), RB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43442,7 +43512,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), yge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), Dge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43450,7 +43520,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), bge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), Oge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43458,7 +43528,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), xge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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 }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43466,7 +43536,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), BB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), zB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43474,7 +43544,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), Sge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), Age = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43482,7 +43552,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), Cge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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 }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43490,7 +43560,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M13.0607 8.11097L14.4749 9.52518C17.2086 12.2589 17.2086 16.691 14.4749 19.4247L14.1214 19.7782C11.3877 22.5119 6.95555 22.5119 4.22188 19.7782C1.48821 17.0446 1.48821 12.6124 4.22188 9.87874L5.6361 11.293C3.68348 13.2456 3.68348 16.4114 5.6361 18.364C7.58872 20.3166 10.7545 20.3166 12.7072 18.364L13.0607 18.0105C15.0133 16.0578 15.0133 12.892 13.0607 10.9394L11.6465 9.52518L13.0607 8.11097ZM19.7782 14.1214L18.364 12.7072C20.3166 10.7545 20.3166 7.58872 18.364 5.6361C16.4114 3.68348 13.2456 3.68348 11.293 5.6361L10.9394 5.98965C8.98678 7.94227 8.98678 11.1081 10.9394 13.0607L12.3536 14.4749L10.9394 15.8891L9.52518 14.4749C6.79151 11.7413 6.79151 7.30911 9.52518 4.57544L9.87874 4.22188C12.6124 1.48821 17.0446 1.48821 19.7782 4.22188C22.5119 6.95555 22.5119 11.3877 19.7782 14.1214Z" })), wge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M13.0607 8.11097L14.4749 9.52518C17.2086 12.2589 17.2086 16.691 14.4749 19.4247L14.1214 19.7782C11.3877 22.5119 6.95555 22.5119 4.22188 19.7782C1.48821 17.0446 1.48821 12.6124 4.22188 9.87874L5.6361 11.293C3.68348 13.2456 3.68348 16.4114 5.6361 18.364C7.58872 20.3166 10.7545 20.3166 12.7072 18.364L13.0607 18.0105C15.0133 16.0578 15.0133 12.892 13.0607 10.9394L11.6465 9.52518L13.0607 8.11097ZM19.7782 14.1214L18.364 12.7072C20.3166 10.7545 20.3166 7.58872 18.364 5.6361C16.4114 3.68348 13.2456 3.68348 11.293 5.6361L10.9394 5.98965C8.98678 7.94227 8.98678 11.1081 10.9394 13.0607L12.3536 14.4749L10.9394 15.8891L9.52518 14.4749C6.79151 11.7413 6.79151 7.30911 9.52518 4.57544L9.87874 4.22188C12.6124 1.48821 17.0446 1.48821 19.7782 4.22188C22.5119 6.95555 22.5119 11.3877 19.7782 14.1214Z" })), Mge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43498,7 +43568,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), VB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), BB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43506,7 +43576,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M12 2C17.5222 2 22 5.97778 22 10.8889C22 13.9556 19.5111 16.4444 16.4444 16.4444H14.4778C13.5556 16.4444 12.8111 17.1889 12.8111 18.1111C12.8111 18.5333 12.9778 18.9222 13.2333 19.2111C13.5 19.5111 13.6667 19.9 13.6667 20.3333C13.6667 21.2556 12.9 22 12 22C6.47778 22 2 17.5222 2 12C2 6.47778 6.47778 2 12 2ZM10.8111 18.1111C10.8111 16.0843 12.451 14.4444 14.4778 14.4444H16.4444C18.4065 14.4444 20 12.851 20 10.8889C20 7.1392 16.4677 4 12 4C7.58235 4 4 7.58235 4 12C4 16.19 7.2226 19.6285 11.324 19.9718C10.9948 19.4168 10.8111 18.7761 10.8111 18.1111ZM7.5 12C6.67157 12 6 11.3284 6 10.5C6 9.67157 6.67157 9 7.5 9C8.32843 9 9 9.67157 9 10.5C9 11.3284 8.32843 12 7.5 12ZM16.5 12C15.6716 12 15 11.3284 15 10.5C15 9.67157 15.6716 9 16.5 9C17.3284 9 18 9.67157 18 10.5C18 11.3284 17.3284 12 16.5 12ZM12 9C11.1716 9 10.5 8.32843 10.5 7.5C10.5 6.67157 11.1716 6 12 6C12.8284 6 13.5 6.67157 13.5 7.5C13.5 8.32843 12.8284 9 12 9Z" })), HB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M12 2C17.5222 2 22 5.97778 22 10.8889C22 13.9556 19.5111 16.4444 16.4444 16.4444H14.4778C13.5556 16.4444 12.8111 17.1889 12.8111 18.1111C12.8111 18.5333 12.9778 18.9222 13.2333 19.2111C13.5 19.5111 13.6667 19.9 13.6667 20.3333C13.6667 21.2556 12.9 22 12 22C6.47778 22 2 17.5222 2 12C2 6.47778 6.47778 2 12 2ZM10.8111 18.1111C10.8111 16.0843 12.451 14.4444 14.4778 14.4444H16.4444C18.4065 14.4444 20 12.851 20 10.8889C20 7.1392 16.4677 4 12 4C7.58235 4 4 7.58235 4 12C4 16.19 7.2226 19.6285 11.324 19.9718C10.9948 19.4168 10.8111 18.7761 10.8111 18.1111ZM7.5 12C6.67157 12 6 11.3284 6 10.5C6 9.67157 6.67157 9 7.5 9C8.32843 9 9 9.67157 9 10.5C9 11.3284 8.32843 12 7.5 12ZM16.5 12C15.6716 12 15 11.3284 15 10.5C15 9.67157 15.6716 9 16.5 9C17.3284 9 18 9.67157 18 10.5C18 11.3284 17.3284 12 16.5 12ZM12 9C11.1716 9 10.5 8.32843 10.5 7.5C10.5 6.67157 11.1716 6 12 6C12.8284 6 13.5 6.67157 13.5 7.5C13.5 8.32843 12.8284 9 12 9Z" })), VB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43514,7 +43584,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), UB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M6 5H8V19H6V5ZM16 5H18V19H16V5Z" })), HB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43522,7 +43592,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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 20ZM10.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" })), WB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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 20ZM10.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" })), UB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43530,7 +43600,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), GB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), WB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43538,7 +43608,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), Tge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), Nge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43546,7 +43616,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M9 7.53861L15 21.5386L18.6594 13H23V11H17.3406L15 16.4614L9 2.46143L5.3406 11H1V13H6.6594L9 7.53861Z" })), KB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M9 7.53861L15 21.5386L18.6594 13H23V11H17.3406L15 16.4614L9 2.46143L5.3406 11H1V13H6.6594L9 7.53861Z" })), GB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43554,7 +43624,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), Ege = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), Pge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43562,7 +43632,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M4.99958 12.9999C4.99958 7.91198 7.90222 3.5636 11.9996 1.81799C16.0969 3.5636 18.9996 7.91198 18.9996 12.9999C18.9996 13.8229 18.9236 14.6264 18.779 15.4027L20.7194 17.2353C20.8845 17.3913 20.9238 17.6389 20.815 17.8383L18.3196 22.4133C18.1873 22.6557 17.8836 22.7451 17.6412 22.6128C17.5993 22.59 17.5608 22.5612 17.5271 22.5274L15.2925 20.2928C15.1049 20.1053 14.8506 19.9999 14.5854 19.9999H9.41379C9.14857 19.9999 8.89422 20.1053 8.70668 20.2928L6.47209 22.5274C6.27683 22.7227 5.96025 22.7227 5.76498 22.5274C5.73122 22.4937 5.70246 22.4552 5.67959 22.4133L3.18412 17.8383C3.07537 17.6389 3.11464 17.3913 3.27975 17.2353L5.22014 15.4027C5.07551 14.6264 4.99958 13.8229 4.99958 12.9999ZM6.47542 19.6957L7.29247 18.8786C7.85508 18.316 8.61814 17.9999 9.41379 17.9999H14.5854C15.381 17.9999 16.1441 18.316 16.7067 18.8786L17.5237 19.6957L18.5056 17.8955L17.4058 16.8568C16.9117 16.3901 16.6884 15.7045 16.8128 15.0364C16.9366 14.3722 16.9996 13.6911 16.9996 12.9999C16.9996 9.13037 15.0045 5.69965 11.9996 4.04033C8.99462 5.69965 6.99958 9.13037 6.99958 12.9999C6.99958 13.6911 7.06255 14.3722 7.18631 15.0364C7.31078 15.7045 7.08746 16.3901 6.59338 16.8568L5.49353 17.8955L6.47542 19.6957ZM11.9996 12.9999C10.895 12.9999 9.99958 12.1045 9.99958 10.9999C9.99958 9.89537 10.895 8.99994 11.9996 8.99994C13.1041 8.99994 13.9996 9.89537 13.9996 10.9999C13.9996 12.1045 13.1041 12.9999 11.9996 12.9999Z" })), Dge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M4.99958 12.9999C4.99958 7.91198 7.90222 3.5636 11.9996 1.81799C16.0969 3.5636 18.9996 7.91198 18.9996 12.9999C18.9996 13.8229 18.9236 14.6264 18.779 15.4027L20.7194 17.2353C20.8845 17.3913 20.9238 17.6389 20.815 17.8383L18.3196 22.4133C18.1873 22.6557 17.8836 22.7451 17.6412 22.6128C17.5993 22.59 17.5608 22.5612 17.5271 22.5274L15.2925 20.2928C15.1049 20.1053 14.8506 19.9999 14.5854 19.9999H9.41379C9.14857 19.9999 8.89422 20.1053 8.70668 20.2928L6.47209 22.5274C6.27683 22.7227 5.96025 22.7227 5.76498 22.5274C5.73122 22.4937 5.70246 22.4552 5.67959 22.4133L3.18412 17.8383C3.07537 17.6389 3.11464 17.3913 3.27975 17.2353L5.22014 15.4027C5.07551 14.6264 4.99958 13.8229 4.99958 12.9999ZM6.47542 19.6957L7.29247 18.8786C7.85508 18.316 8.61814 17.9999 9.41379 17.9999H14.5854C15.381 17.9999 16.1441 18.316 16.7067 18.8786L17.5237 19.6957L18.5056 17.8955L17.4058 16.8568C16.9117 16.3901 16.6884 15.7045 16.8128 15.0364C16.9366 14.3722 16.9996 13.6911 16.9996 12.9999C16.9996 9.13037 15.0045 5.69965 11.9996 4.04033C8.99462 5.69965 6.99958 9.13037 6.99958 12.9999C6.99958 13.6911 7.06255 14.3722 7.18631 15.0364C7.31078 15.7045 7.08746 16.3901 6.59338 16.8568L5.49353 17.8955L6.47542 19.6957ZM11.9996 12.9999C10.895 12.9999 9.99958 12.1045 9.99958 10.9999C9.99958 9.89537 10.895 8.99994 11.9996 8.99994C13.1041 8.99994 13.9996 9.89537 13.9996 10.9999C13.9996 12.1045 13.1041 12.9999 11.9996 12.9999Z" })), Fge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43570,7 +43640,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M4 15V8.5C4 6.01472 6.01472 4 8.5 4C10.9853 4 13 6.01472 13 8.5V15.5C13 16.8807 14.1193 18 15.5 18C16.8807 18 18 16.8807 18 15.5V8.82929C16.8348 8.41746 16 7.30622 16 6C16 4.34315 17.3431 3 19 3C20.6569 3 22 4.34315 22 6C22 7.30622 21.1652 8.41746 20 8.82929V15.5C20 17.9853 17.9853 20 15.5 20C13.0147 20 11 17.9853 11 15.5V8.5C11 7.11929 9.88071 6 8.5 6C7.11929 6 6 7.11929 6 8.5V15H9L5 20L1 15H4ZM19 7C19.5523 7 20 6.55228 20 6C20 5.44772 19.5523 5 19 5C18.4477 5 18 5.44772 18 6C18 6.55228 18.4477 7 19 7Z" })), qB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M4 15V8.5C4 6.01472 6.01472 4 8.5 4C10.9853 4 13 6.01472 13 8.5V15.5C13 16.8807 14.1193 18 15.5 18C16.8807 18 18 16.8807 18 15.5V8.82929C16.8348 8.41746 16 7.30622 16 6C16 4.34315 17.3431 3 19 3C20.6569 3 22 4.34315 22 6C22 7.30622 21.1652 8.41746 20 8.82929V15.5C20 17.9853 17.9853 20 15.5 20C13.0147 20 11 17.9853 11 15.5V8.5C11 7.11929 9.88071 6 8.5 6C7.11929 6 6 7.11929 6 8.5V15H9L5 20L1 15H4ZM19 7C19.5523 7 20 6.55228 20 6C20 5.44772 19.5523 5 19 5C18.4477 5 18 5.44772 18 6C18 6.55228 18.4477 7 19 7Z" })), KB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43578,7 +43648,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), JB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), qB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43586,7 +43656,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), YB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), JB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43594,7 +43664,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M3.33946 17.0002C2.90721 16.2515 2.58277 15.4702 2.36133 14.6741C3.3338 14.1779 3.99972 13.1668 3.99972 12.0002C3.99972 10.8345 3.3348 9.824 2.36353 9.32741C2.81025 7.71651 3.65857 6.21627 4.86474 4.99001C5.7807 5.58416 6.98935 5.65534 7.99972 5.072C9.01009 4.48866 9.55277 3.40635 9.4962 2.31604C11.1613 1.8846 12.8847 1.90004 14.5031 2.31862C14.4475 3.40806 14.9901 4.48912 15.9997 5.072C17.0101 5.65532 18.2187 5.58416 19.1346 4.99007C19.7133 5.57986 20.2277 6.25151 20.66 7.00021C21.0922 7.7489 21.4167 8.53025 21.6381 9.32628C20.6656 9.82247 19.9997 10.8336 19.9997 12.0002C19.9997 13.166 20.6646 14.1764 21.6359 14.673C21.1892 16.2839 20.3409 17.7841 19.1347 19.0104C18.2187 18.4163 17.0101 18.3451 15.9997 18.9284C14.9893 19.5117 14.4467 20.5941 14.5032 21.6844C12.8382 22.1158 11.1148 22.1004 9.49633 21.6818C9.55191 20.5923 9.00929 19.5113 7.99972 18.9284C6.98938 18.3451 5.78079 18.4162 4.86484 19.0103C4.28617 18.4205 3.77172 17.7489 3.33946 17.0002ZM8.99972 17.1964C10.0911 17.8265 10.8749 18.8227 11.2503 19.9659C11.7486 20.0133 12.2502 20.014 12.7486 19.9675C13.1238 18.8237 13.9078 17.8268 14.9997 17.1964C16.0916 16.5659 17.347 16.3855 18.5252 16.6324C18.8146 16.224 19.0648 15.7892 19.2729 15.334C18.4706 14.4373 17.9997 13.2604 17.9997 12.0002C17.9997 10.74 18.4706 9.5632 19.2729 8.6665C19.1688 8.4405 19.0538 8.21822 18.9279 8.00021C18.802 7.78219 18.667 7.57148 18.5233 7.36842C17.3457 7.61476 16.0911 7.43414 14.9997 6.80405C13.9083 6.17395 13.1246 5.17768 12.7491 4.03455C12.2509 3.98714 11.7492 3.98646 11.2509 4.03292C10.8756 5.17671 10.0916 6.17364 8.99972 6.80405C7.9078 7.43447 6.65245 7.61494 5.47428 7.36803C5.18485 7.77641 4.93463 8.21117 4.72656 8.66637C5.52881 9.56311 5.99972 10.74 5.99972 12.0002C5.99972 13.2604 5.52883 14.4372 4.72656 15.3339C4.83067 15.5599 4.94564 15.7822 5.07152 16.0002C5.19739 16.2182 5.3324 16.4289 5.47612 16.632C6.65377 16.3857 7.90838 16.5663 8.99972 17.1964ZM11.9997 15.0002C10.3429 15.0002 8.99972 13.6571 8.99972 12.0002C8.99972 10.3434 10.3429 9.00021 11.9997 9.00021C13.6566 9.00021 14.9997 10.3434 14.9997 12.0002C14.9997 13.6571 13.6566 15.0002 11.9997 15.0002ZM11.9997 13.0002C12.552 13.0002 12.9997 12.5525 12.9997 12.0002C12.9997 11.4479 12.552 11.0002 11.9997 11.0002C11.4474 11.0002 10.9997 11.4479 10.9997 12.0002C10.9997 12.5525 11.4474 13.0002 11.9997 13.0002Z" })), Oge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M3.33946 17.0002C2.90721 16.2515 2.58277 15.4702 2.36133 14.6741C3.3338 14.1779 3.99972 13.1668 3.99972 12.0002C3.99972 10.8345 3.3348 9.824 2.36353 9.32741C2.81025 7.71651 3.65857 6.21627 4.86474 4.99001C5.7807 5.58416 6.98935 5.65534 7.99972 5.072C9.01009 4.48866 9.55277 3.40635 9.4962 2.31604C11.1613 1.8846 12.8847 1.90004 14.5031 2.31862C14.4475 3.40806 14.9901 4.48912 15.9997 5.072C17.0101 5.65532 18.2187 5.58416 19.1346 4.99007C19.7133 5.57986 20.2277 6.25151 20.66 7.00021C21.0922 7.7489 21.4167 8.53025 21.6381 9.32628C20.6656 9.82247 19.9997 10.8336 19.9997 12.0002C19.9997 13.166 20.6646 14.1764 21.6359 14.673C21.1892 16.2839 20.3409 17.7841 19.1347 19.0104C18.2187 18.4163 17.0101 18.3451 15.9997 18.9284C14.9893 19.5117 14.4467 20.5941 14.5032 21.6844C12.8382 22.1158 11.1148 22.1004 9.49633 21.6818C9.55191 20.5923 9.00929 19.5113 7.99972 18.9284C6.98938 18.3451 5.78079 18.4162 4.86484 19.0103C4.28617 18.4205 3.77172 17.7489 3.33946 17.0002ZM8.99972 17.1964C10.0911 17.8265 10.8749 18.8227 11.2503 19.9659C11.7486 20.0133 12.2502 20.014 12.7486 19.9675C13.1238 18.8237 13.9078 17.8268 14.9997 17.1964C16.0916 16.5659 17.347 16.3855 18.5252 16.6324C18.8146 16.224 19.0648 15.7892 19.2729 15.334C18.4706 14.4373 17.9997 13.2604 17.9997 12.0002C17.9997 10.74 18.4706 9.5632 19.2729 8.6665C19.1688 8.4405 19.0538 8.21822 18.9279 8.00021C18.802 7.78219 18.667 7.57148 18.5233 7.36842C17.3457 7.61476 16.0911 7.43414 14.9997 6.80405C13.9083 6.17395 13.1246 5.17768 12.7491 4.03455C12.2509 3.98714 11.7492 3.98646 11.2509 4.03292C10.8756 5.17671 10.0916 6.17364 8.99972 6.80405C7.9078 7.43447 6.65245 7.61494 5.47428 7.36803C5.18485 7.77641 4.93463 8.21117 4.72656 8.66637C5.52881 9.56311 5.99972 10.74 5.99972 12.0002C5.99972 13.2604 5.52883 14.4372 4.72656 15.3339C4.83067 15.5599 4.94564 15.7822 5.07152 16.0002C5.19739 16.2182 5.3324 16.4289 5.47612 16.632C6.65377 16.3857 7.90838 16.5663 8.99972 17.1964ZM11.9997 15.0002C10.3429 15.0002 8.99972 13.6571 8.99972 12.0002C8.99972 10.3434 10.3429 9.00021 11.9997 9.00021C13.6566 9.00021 14.9997 10.3434 14.9997 12.0002C14.9997 13.6571 13.6566 15.0002 11.9997 15.0002ZM11.9997 13.0002C12.552 13.0002 12.9997 12.5525 12.9997 12.0002C12.9997 11.4479 12.552 11.0002 11.9997 11.0002C11.4474 11.0002 10.9997 11.4479 10.9997 12.0002C10.9997 12.5525 11.4474 13.0002 11.9997 13.0002Z" })), Ige = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43602,7 +43672,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), XB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), YB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43610,7 +43680,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M7 4V20H17V4H7ZM6 2H18C18.5523 2 19 2.44772 19 3V21C19 21.5523 18.5523 22 18 22H6C5.44772 22 5 21.5523 5 21V3C5 2.44772 5.44772 2 6 2ZM12 17C12.5523 17 13 17.4477 13 18C13 18.5523 12.5523 19 12 19C11.4477 19 11 18.5523 11 18C11 17.4477 11.4477 17 12 17Z" })), kge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M7 4V20H17V4H7ZM6 2H18C18.5523 2 19 2.44772 19 3V21C19 21.5523 18.5523 22 18 22H6C5.44772 22 5 21.5523 5 21V3C5 2.44772 5.44772 2 6 2ZM12 17C12.5523 17 13 17.4477 13 18C13 18.5523 12.5523 19 12 19C11.4477 19 11 18.5523 11 18C11 17.4477 11.4477 17 12 17Z" })), Lge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43618,7 +43688,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), ZB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), XB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43626,7 +43696,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M7 7V17H17V7H7ZM6 5H18C18.5523 5 19 5.44772 19 6V18C19 18.5523 18.5523 19 18 19H6C5.44772 19 5 18.5523 5 18V6C5 5.44772 5.44772 5 6 5Z" })), Age = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M7 7V17H17V7H7ZM6 5H18C18.5523 5 19 5.44772 19 6V18C19 18.5523 18.5523 19 18 19H6C5.44772 19 5 18.5523 5 18V6C5 5.44772 5.44772 5 6 5Z" })), Rge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43634,7 +43704,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), jge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), zge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43642,7 +43712,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M6 4V20H18V4H6ZM5 2H19C19.5523 2 20 2.44772 20 3V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V3C4 2.44772 4.44772 2 5 2ZM12 17C12.5523 17 13 17.4477 13 18C13 18.5523 12.5523 19 12 19C11.4477 19 11 18.5523 11 18C11 17.4477 11.4477 17 12 17Z" })), Mge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M6 4V20H18V4H6ZM5 2H19C19.5523 2 20 2.44772 20 3V21C20 21.5523 19.5523 22 19 22H5C4.44772 22 4 21.5523 4 21V3C4 2.44772 4.44772 2 5 2ZM12 17C12.5523 17 13 17.4477 13 18C13 18.5523 12.5523 19 12 19C11.4477 19 11 18.5523 11 18C11 17.4477 11.4477 17 12 17Z" })), Bge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43650,7 +43720,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M19 4H5V20H19V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H19.9997C20.5519 2 20.9996 2.44772 20.9997 3L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918ZM11.2929 13.1213L15.5355 8.87868L16.9497 10.2929L11.2929 15.9497L7.40381 12.0607L8.81802 10.6464L11.2929 13.1213Z" })), Nge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M19 4H5V20H19V4ZM3 2.9918C3 2.44405 3.44749 2 3.9985 2H19.9997C20.5519 2 20.9996 2.44772 20.9997 3L21 20.9925C21 21.5489 20.5551 22 20.0066 22H3.9934C3.44476 22 3 21.5447 3 21.0082V2.9918ZM11.2929 13.1213L15.5355 8.87868L16.9497 10.2929L11.2929 15.9497L7.40381 12.0607L8.81802 10.6464L11.2929 13.1213Z" })), Vge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43658,7 +43728,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), Pge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), Hge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43666,7 +43736,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), QB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), ZB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43674,7 +43744,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M5.32943 3.27158C6.56252 2.8332 7.9923 3.10749 8.97927 4.09446C10.1002 5.21537 10.3019 6.90741 9.5843 8.23385L20.293 18.9437L18.8788 20.3579L8.16982 9.64875C6.84325 10.3669 5.15069 10.1654 4.02952 9.04421C3.04227 8.05696 2.7681 6.62665 3.20701 5.39332L5.44373 7.63C6.02952 8.21578 6.97927 8.21578 7.56505 7.63C8.15084 7.04421 8.15084 6.09446 7.56505 5.50868L5.32943 3.27158ZM15.6968 5.15512L18.8788 3.38736L20.293 4.80157L18.5252 7.98355L16.7574 8.3371L14.6361 10.4584L13.2219 9.04421L15.3432 6.92289L15.6968 5.15512ZM8.97927 13.2868L10.3935 14.7011L5.09018 20.0044C4.69966 20.3949 4.06649 20.3949 3.67597 20.0044C3.31334 19.6417 3.28744 19.0699 3.59826 18.6774L3.67597 18.5902L8.97927 13.2868Z" })), Fge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M5.32943 3.27158C6.56252 2.8332 7.9923 3.10749 8.97927 4.09446C10.1002 5.21537 10.3019 6.90741 9.5843 8.23385L20.293 18.9437L18.8788 20.3579L8.16982 9.64875C6.84325 10.3669 5.15069 10.1654 4.02952 9.04421C3.04227 8.05696 2.7681 6.62665 3.20701 5.39332L5.44373 7.63C6.02952 8.21578 6.97927 8.21578 7.56505 7.63C8.15084 7.04421 8.15084 6.09446 7.56505 5.50868L5.32943 3.27158ZM15.6968 5.15512L18.8788 3.38736L20.293 4.80157L18.5252 7.98355L16.7574 8.3371L14.6361 10.4584L13.2219 9.04421L15.3432 6.92289L15.6968 5.15512ZM8.97927 13.2868L10.3935 14.7011L5.09018 20.0044C4.69966 20.3949 4.06649 20.3949 3.67597 20.0044C3.31334 19.6417 3.28744 19.0699 3.59826 18.6774L3.67597 18.5902L8.97927 13.2868Z" })), Uge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43682,7 +43752,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), $B = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M3 19H21V21H3V19ZM13 5.82843V17H11V5.82843L4.92893 11.8995L3.51472 10.4853L12 2L20.4853 10.4853L19.0711 11.8995L13 5.82843Z" })), QB = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43690,7 +43760,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M20 22H18V20C18 18.3431 16.6569 17 15 17H9C7.34315 17 6 18.3431 6 20V22H4V20C4 17.2386 6.23858 15 9 15H15C17.7614 15 20 17.2386 20 20V22ZM12 13C8.68629 13 6 10.3137 6 7C6 3.68629 8.68629 1 12 1C15.3137 1 18 3.68629 18 7C18 10.3137 15.3137 13 12 13ZM12 11C14.2091 11 16 9.20914 16 7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7C8 9.20914 9.79086 11 12 11Z" })), eV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M20 22H18V20C18 18.3431 16.6569 17 15 17H9C7.34315 17 6 18.3431 6 20V22H4V20C4 17.2386 6.23858 15 9 15H15C17.7614 15 20 17.2386 20 20V22ZM12 13C8.68629 13 6 10.3137 6 7C6 3.68629 8.68629 1 12 1C15.3137 1 18 3.68629 18 7C18 10.3137 15.3137 13 12 13ZM12 11C14.2091 11 16 9.20914 16 7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7C8 9.20914 9.79086 11 12 11Z" })), $B = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43698,7 +43768,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), tV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), eV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43706,7 +43776,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), Ige = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), Wge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43714,7 +43784,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.createElement("path", { d: "M3.00098 5.47902L10.3778 4.4625V11.5902H3.00098V5.47902ZM3.00098 18.521L10.3778 19.5375V12.4982H3.00098V18.521ZM11.1894 19.646L21.001 21V12.4982H11.1894V19.646ZM11.1894 4.35402V11.5902H21.001V3L11.1894 4.35402Z" })), Lge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.createElement("path", { d: "M3.00098 5.47902L10.3778 4.4625V11.5902H3.00098V5.47902ZM3.00098 18.521L10.3778 19.5375V12.4982H3.00098V18.521ZM11.1894 19.646L21.001 21V12.4982H11.1894V19.646ZM11.1894 4.35402V11.5902H21.001V3L11.1894 4.35402Z" })), Gge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43722,7 +43792,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), nV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), tV = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43730,7 +43800,7 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
fill: e,
...r,
className: "remixicon " + (n || "")
-}, F.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" })), Rge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
+}, F.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" })), Kge = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F.createElement("svg", {
viewBox: "0 0 24 24",
xmlns: "http://www.w3.org/2000/svg",
width: t,
@@ -43740,8 +43810,8 @@ var Ghe = ({ color: e = "currentColor", size: t = 24, className: n, ...r }) => F
className: "remixicon " + (n || "")
}, F.createElement("path", { d: "M8.00008 6V9H5.00008V6H8.00008ZM3.00008 4V11H10.0001V4H3.00008ZM13.0001 4H21.0001V6H13.0001V4ZM13.0001 11H21.0001V13H13.0001V11ZM13.0001 18H21.0001V20H13.0001V18ZM10.7072 16.2071L9.29297 14.7929L6.00008 18.0858L4.20718 16.2929L2.79297 17.7071L6.00008 20.9142L10.7072 16.2071Z" }));
// src/react/boardui/components/base/input/label.tsx
-function rV({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, I.jsxs)(zL, {
+function nV({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, I.jsxs)(RL, {
"data-label": "true",
...a,
className: q("flex cursor-default items-center gap-0.5", "text-body-medium text-text-primary", r),
@@ -43752,7 +43822,7 @@ function rV({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
className: "text-body-medium text-text-error-primary",
children: "*"
}),
- n && /* @__PURE__ */ (0, I.jsx)(yge, {
+ n && /* @__PURE__ */ (0, I.jsx)(Dge, {
className: "size-4 shrink-0 text-foreground-icon-quaternary",
"aria-hidden": !0
})
@@ -43760,23 +43830,23 @@ function rV({ isRequired: e = !1, isInvalid: t, tooltip: n, className: r, childr
});
}
// src/react/boardui/components/base/input/hint-text.tsx
-function iV({ isInvalid: e = !1, className: t, ...n }) {
- return /* @__PURE__ */ (0, I.jsx)(Npe, {
+function rV({ isInvalid: e = !1, className: t, ...n }) {
+ return /* @__PURE__ */ (0, I.jsx)(Vpe, {
slot: e ? "errorMessage" : "description",
...n,
className: q("pt-px text-caption-1-medium text-text-secondary", e && "text-text-error-primary", t)
});
}
// src/react/boardui/components/base/input/input.tsx
-var aV = (0, F.createContext)({});
-function oV({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
- return /* @__PURE__ */ (0, I.jsx)(aV.Provider, {
+var iV = (0, F.createContext)({});
+function aV({ size: e = "medium", fieldClassName: t, inputClassName: n, className: r, children: i, ...a }) {
+ return /* @__PURE__ */ (0, I.jsx)(iV.Provider, {
value: {
size: e,
fieldClassName: t,
inputClassName: n
},
- children: /* @__PURE__ */ (0, I.jsx)(Nhe, {
+ children: /* @__PURE__ */ (0, I.jsx)(Vhe, {
...a,
"data-input-size": e,
className: q("group flex h-max w-full flex-col items-start gap-1", r),
@@ -43784,8 +43854,8 @@ function oV({ size: e = "medium", fieldClassName: t, inputClassName: n, classNam
})
});
}
-oV.displayName = "TextField";
-var sV = II({
+aV.displayName = "TextField";
+var oV = FI({
field: "relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent transition-[background-color,box-shadow,color] duration-[var(--input-transition-ms)] ease",
fieldSize: {
medium: "p-2",
@@ -43800,44 +43870,44 @@ var sV = II({
input: "min-w-0 flex-1 bg-transparent border-0 outline-none p-0 m-0 font-sans text-body-regular text-text-primary pl-1 placeholder:text-text-tertiary focus:placeholder:text-text-primary disabled:text-input-disabled-text disabled:placeholder:text-input-disabled-text disabled:cursor-not-allowed aria-invalid:placeholder:text-text-error-placeholder",
icon: "size-5 shrink-0"
});
-function cV({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
- let l = (0, F.useContext)(aV), u = e ?? l.size ?? "medium", d = r != null;
- return /* @__PURE__ */ (0, I.jsx)(ZL, {
+function sV({ size: e, leadingIcon: t, trailingIcon: n, leadingAddon: r, fieldClassName: i, className: a, ref: o, groupRef: s, ...c }) {
+ let l = (0, F.useContext)(iV), u = e ?? l.size ?? "medium", d = r != null;
+ return /* @__PURE__ */ (0, I.jsx)(XL, {
ref: s,
- className: ({ isFocusWithin: e, isHovered: t, isDisabled: n, isInvalid: r }) => q(sV.field, d ? sV.fieldWithAddonSize[u] : sV.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 }) => q(oV.field, d ? oV.fieldWithAddonSize[u] : oV.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, I.jsxs)("div", {
- className: sV.content,
+ className: oV.content,
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
- className: sV.leftSection,
+ className: oV.leftSection,
children: [d ? r : t ? /* @__PURE__ */ (0, I.jsx)(t, {
- className: sV.icon,
+ className: oV.icon,
"aria-hidden": !0
- }) : null, /* @__PURE__ */ (0, I.jsx)(zpe, {
+ }) : null, /* @__PURE__ */ (0, I.jsx)(qpe, {
ref: o,
...c,
- className: q(sV.input, l.inputClassName, a)
+ className: q(oV.input, l.inputClassName, a)
})]
}), n ? /* @__PURE__ */ (0, I.jsx)(n, {
- className: sV.icon,
+ className: oV.icon,
"aria-hidden": !0
}) : null]
})
});
}
-cV.displayName = "InputBase";
-function lV({ 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, I.jsx)(oV, {
+sV.displayName = "InputBase";
+function cV({ 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, I.jsx)(aV, {
...d,
className: u,
"aria-label": d["aria-label"] ?? (!e && typeof r == "string" ? r : void 0),
children: ({ isRequired: u, isInvalid: d }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- e && /* @__PURE__ */ (0, I.jsx)(rV, {
+ e && /* @__PURE__ */ (0, I.jsx)(nV, {
isRequired: u,
isInvalid: d,
tooltip: n,
children: e
}),
- /* @__PURE__ */ (0, I.jsx)(cV, {
+ /* @__PURE__ */ (0, I.jsx)(sV, {
ref: c,
groupRef: l,
placeholder: r,
@@ -43846,25 +43916,25 @@ function lV({ label: e, hint: t, tooltip: n, placeholder: r, leadingIcon: i, tra
leadingAddon: o,
fieldClassName: s
}),
- t && /* @__PURE__ */ (0, I.jsx)(iV, {
+ t && /* @__PURE__ */ (0, I.jsx)(rV, {
isInvalid: d,
children: t
})
] })
});
}
-lV.displayName = "Input";
+cV.displayName = "Input";
// src/react/components/modal-frame.tsx
-var zge = {
+var qge = {
"avatar-picker": "max-w-avatar-picker",
"cover-crop": "max-w-cover-crop",
form: "max-w-form-modal",
collections: "max-w-4xl",
tutorial: "max-w-2xl"
};
-function uV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfaceClassName: a = "" }) {
- let { isFocusVisible: o } = OC();
- return /* @__PURE__ */ (0, I.jsx)(jz, {
+function lV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfaceClassName: a = "" }) {
+ let { isFocusVisible: o } = wC();
+ return /* @__PURE__ */ (0, I.jsx)(Az, {
isOpen: e,
onOpenChange: t,
isDismissable: !0,
@@ -43872,11 +43942,11 @@ function uV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfa
"data-modal-kind": n,
"data-motion-instant": o || void 0,
className: "fixed inset-0 z-dialog flex items-center justify-center bg-scrim p-4",
- children: /* @__PURE__ */ (0, I.jsx)(xme, {
+ children: /* @__PURE__ */ (0, I.jsx)(kme, {
"data-modal-surface": "",
"data-modal-width": n,
- className: q("flex max-h-full w-full flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown", zge[n], a),
- children: /* @__PURE__ */ (0, I.jsx)(Dz, {
+ className: q("flex max-h-full w-full flex-col overflow-hidden rounded-2-5xl border border-separator-border bg-background-full shadow-dropdown", qge[n], a),
+ children: /* @__PURE__ */ (0, I.jsx)(Ez, {
"aria-label": r,
className: "flex min-h-0 flex-col overflow-y-auto overscroll-contain outline-none",
children: i
@@ -43884,7 +43954,7 @@ function uV({ isOpen: e, onOpenChange: t, width: n, label: r, children: i, surfa
})
});
}
-function dV({ children: e }) {
+function uV({ children: e }) {
return /* @__PURE__ */ (0, I.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",
@@ -43892,7 +43962,7 @@ function dV({ children: e }) {
});
}
// src/react/components/note.tsx
-function fV({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {
+function dV({ tone: e, title: t, action: n, extra: r, children: i, actionLayout: a = "inline", className: o }) {
let s = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-note-layout": "",
className: q("flex gap-3", a === "inline" ? "flex-wrap items-center justify-between" : "flex-col items-start"),
@@ -43940,11 +44010,11 @@ function fV({ tone: e, title: t, action: n, extra: r, children: i, actionLayout:
}
}
// src/react/components/empty-state.tsx
-var Bge = {
+var Jge = {
standard: "min-h-80 px-6 py-12",
compact: "min-h-60 px-4 py-6"
};
-function Vge({ target: e, children: t }) {
+function Yge({ target: e, children: t }) {
return /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
variant: "secondary",
@@ -43952,11 +44022,11 @@ function Vge({ target: e, children: t }) {
children: t
});
}
-function pV({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {
+function fV({ icon: e, title: t, actions: n, children: r, size: i = "standard" }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-empty-state": "",
"data-empty-size": i,
- className: `col-span-full flex w-full 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 ${Bge[i]}`,
+ className: `col-span-full flex w-full 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 ${Jge[i]}`,
children: [
/* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
@@ -43982,9 +44052,9 @@ function pV({ icon: e, title: t, actions: n, children: r, size: i = "standard" }
});
}
// src/react/components/sprite-glyph.tsx
-var mV = /* @__PURE__ */ new Map();
-function hV(e) {
- let t = mV.get(e);
+var pV = /* @__PURE__ */ new Map();
+function mV(e) {
+ let t = pV.get(e);
if (t) return t;
let { wide: n, viewBox: r } = Cn(e), i = n ? ({ className: t }) => /* @__PURE__ */ (0, I.jsx)("svg", {
"aria-hidden": !0,
@@ -44000,10 +44070,10 @@ function hV(e) {
className: `shrink-0 stroke-current stroke-2 ${t ?? "size-4"}`,
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
- return i.displayName = `SpriteGlyph(${e})`, mV.set(e, i), i;
+ return i.displayName = `SpriteGlyph(${e})`, pV.set(e, i), i;
}
// src/react/components/settings-dialog-close.tsx
-function gV({ label: e, id: t, onPress: n }) {
+function hV({ label: e, id: t, onPress: n }) {
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
id: t,
@@ -44018,60 +44088,60 @@ function gV({ label: e, id: t, onPress: n }) {
});
}
// src/react/settings/busy-props.ts
-function _V(e) {
+function gV(e) {
return e ? {
"aria-busy": !0,
"aria-disabled": !0
} : {};
}
// src/react/library-shortcuts/library-shortcuts.ts
-var vV = ["library-shortcuts"], yV = "/api/library-shortcuts";
-function bV(e = !0) {
+var _V = ["library-shortcuts"], vV = "/api/library-shortcuts";
+function yV(e = !0) {
return Ft({
- queryKey: vV,
- queryFn: ({ signal: e }) => B(yV, e),
+ queryKey: _V,
+ queryFn: ({ signal: e }) => B(vV, e),
enabled: e,
refetchOnMount: e ? "always" : !1
});
}
-function xV() {
+function bV() {
return It({
- mutationKey: vV,
- mutationFn: (e) => V(yV, e),
+ mutationKey: _V,
+ mutationFn: (e) => V(vV, e),
onSuccess: (e, t) => {
- H.setQueryData(vV, e), t.action === "favorite" && t.scope === "online" && (H.invalidateQueries({ queryKey: ["follow", "tags"] }), H.invalidateQueries({ queryKey: ["tag-management"] }));
+ H.setQueryData(_V, e), t.action === "favorite" && t.scope === "online" && (H.invalidateQueries({ queryKey: ["follow", "tags"] }), H.invalidateQueries({ queryKey: ["tag-management"] }));
}
});
}
-function SV(e, t) {
+function xV(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 Hge(e) {
+function Xge(e) {
return e.scope === "online" ? `/follow?${new URLSearchParams({ tag: e.name })}` : Pn(e.kind, e.name, e.entity_id);
}
// src/react/library-shortcuts/shortcut-controls.tsx
-var CV = hV("star"), Uge = hV("bookmark-plus"), wV = hV("chevron-right"), TV = {
+var SV = mV("star"), Zge = mV("bookmark-plus"), CV = mV("chevron-right"), wV = {
performer: "艺人",
creator: "创作者",
studio: "片商与厂牌",
series: "系列",
agency: "事务所",
tag: "标签"
-}, EV = {
- all: hV("star"),
- performer: hV("user-round"),
- creator: hV("user-round"),
- studio: hV("clapperboard"),
- series: hV("film"),
- agency: hV("briefcase"),
- tag: hV("tags"),
- filters: hV("list-filter")
-}, DV = [
+}, TV = {
+ all: mV("star"),
+ performer: mV("user-round"),
+ creator: mV("user-round"),
+ studio: mV("clapperboard"),
+ series: mV("film"),
+ agency: mV("briefcase"),
+ tag: mV("tags"),
+ filters: mV("list-filter")
+}, EV = [
["all", "全部"],
- ...Object.entries(TV),
+ ...Object.entries(wV),
["filters", "保存的筛选"]
];
-function OV({ label: e, children: t, ...n }) {
+function DV({ label: e, children: t, ...n }) {
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
...n,
@@ -44081,20 +44151,20 @@ function OV({ label: e, children: t, ...n }) {
children: t
});
}
-function kV({ item: e }) {
- return /* @__PURE__ */ (0, I.jsx)(Wge, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);
+function OV({ item: e }) {
+ return /* @__PURE__ */ (0, I.jsx)(Qge, { item: e }, `${e.scope || "local"}:${e.kind}:${e.tag_id || e.entity_id}:${e.name}`);
}
-function Wge({ item: e }) {
- oL();
- let t = bV(!1), n = (0, F.useRef)(t.data), r = xV(), i = t.data && t.data !== n.current ? SV(t.data.favorites || [], e) : e.favorite ?? (t.data ? SV(t.data.favorites || [], e) : !1);
+function Qge({ item: e }) {
+ aL();
+ let t = yV(!1), n = (0, F.useRef)(t.data), r = bV(), i = t.data && t.data !== n.current ? xV(t.data.favorites || [], e) : e.favorite ?? (t.data ? xV(t.data.favorites || [], e) : !1);
return /* @__PURE__ */ (0, I.jsxs)("span", {
className: "inline-flex min-w-0 flex-col gap-1",
children: [
- /* @__PURE__ */ (0, I.jsx)(OV, {
+ /* @__PURE__ */ (0, I.jsx)(DV, {
"data-favorite": "",
"aria-pressed": !!i,
label: `${i ? "取消收藏" : "收藏"}${nn(e.kind, e.name, e.entity_id)}`,
- ..._V(r.isPending),
+ ...gV(r.isPending),
onClick: () => {
r.isPending || r.mutate({
action: "favorite",
@@ -44105,9 +44175,9 @@ function Wge({ item: e }) {
children: r.isPending ? /* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
dangerouslySetInnerHTML: { __html: Bs("") }
- }) : /* @__PURE__ */ (0, I.jsx)(CV, {})
+ }) : /* @__PURE__ */ (0, I.jsx)(SV, {})
}),
- r.isError ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ r.isError ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "error",
children: lr(r.error)
}) : null,
@@ -44121,38 +44191,38 @@ function Wge({ item: e }) {
]
});
}
-function AV({ currentHref: e, kind: t }) {
+function kV({ currentHref: e, kind: t }) {
let [n, r] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {
"data-shortcuts-entry": "",
- children: /* @__PURE__ */ (0, I.jsx)(pL, {
+ children: /* @__PURE__ */ (0, I.jsx)(fL, {
"data-shortcuts-trigger": "",
label: "我的收藏",
- icon: CV,
+ icon: SV,
"aria-haspopup": "dialog",
"aria-expanded": n,
onPress: () => r(!0)
})
- }), /* @__PURE__ */ (0, I.jsx)(uV, {
+ }), /* @__PURE__ */ (0, I.jsx)(lV, {
isOpen: n,
onOpenChange: r,
width: "collections",
label: "我的收藏",
- children: n ? /* @__PURE__ */ (0, I.jsx)(Gge, {
+ children: n ? /* @__PURE__ */ (0, I.jsx)($ge, {
currentHref: e,
kind: t,
close: () => r(!1)
}) : null
})] });
}
-function Gge({ currentHref: e, kind: t, close: n }) {
- oL();
- let r = bV(), i = xV(), [a, o] = (0, F.useState)(""), [s, c] = (0, F.useState)(t || "all"), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(""), p = (0, F.useId)(), [m, h] = (0, F.useState)(() => matchMedia("(max-width: 760px)").matches);
+function $ge({ currentHref: e, kind: t, close: n }) {
+ aL();
+ let r = yV(), i = bV(), [a, o] = (0, F.useState)(""), [s, c] = (0, F.useState)(t || "all"), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(""), p = (0, F.useId)(), [m, h] = (0, F.useState)(() => matchMedia("(max-width: 760px)").matches);
(0, F.useEffect)(() => {
let e = matchMedia("(max-width: 760px)"), t = () => h(e.matches);
return e.addEventListener("change", t), () => e.removeEventListener("change", t);
}, []);
- let g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(s), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = yL(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });
+ let g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(s), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = vL(y, g, "[role=\"tab\"][aria-selected=\"true\"]", s, { axis: "y" });
(0, F.useLayoutEffect)(() => {
b.current && (x.current = Ro(b.current) || null);
}, []), (0, F.useLayoutEffect)(() => {
@@ -44165,7 +44235,7 @@ function Gge({ currentHref: e, kind: t, close: n }) {
}, [s]), (0, F.useLayoutEffect)(() => {
x.current?.();
});
- let C = DV.find(([e]) => e === s)?.[1] || "全部", w = (e) => {
+ let C = EV.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;
@@ -44188,7 +44258,7 @@ function Gge({ currentHref: e, kind: t, close: n }) {
children: [/* @__PURE__ */ (0, I.jsx)("h2", {
className: "text-title-2-semibold text-text-primary",
children: C
- }), /* @__PURE__ */ (0, I.jsx)(gV, {
+ }), /* @__PURE__ */ (0, I.jsx)(hV, {
label: "关闭我的收藏",
onPress: n
})]
@@ -44218,8 +44288,8 @@ function Gge({ currentHref: e, kind: t, close: n }) {
role: "presentation",
children: "我的收藏"
}),
- DV.map(([e, t]) => {
- let n = EV[e] || CV, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;
+ EV.map(([e, t]) => {
+ let n = TV[e] || SV, r = e === "filters" ? E?.filters.length || 0 : (E?.favorites || []).filter((t) => e === "all" || t.kind === e).length;
return /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
role: "tab",
@@ -44251,17 +44321,17 @@ function Gge({ currentHref: e, kind: t, close: n }) {
href: "/flagged",
onClick: n,
children: [
- /* @__PURE__ */ (0, I.jsx)(CV, { "aria-hidden": !0 }),
+ /* @__PURE__ */ (0, I.jsx)(SV, { "aria-hidden": !0 }),
"已标记",
- /* @__PURE__ */ (0, I.jsx)(wV, { "aria-hidden": !0 })
+ /* @__PURE__ */ (0, I.jsx)(CV, { "aria-hidden": !0 })
]
}), /* @__PURE__ */ (0, I.jsxs)("a", {
href: "/watch-later",
onClick: n,
children: [
- /* @__PURE__ */ (0, I.jsx)(Uge, { "aria-hidden": !0 }),
+ /* @__PURE__ */ (0, I.jsx)(Zge, { "aria-hidden": !0 }),
"稍后看",
- /* @__PURE__ */ (0, I.jsx)(wV, { "aria-hidden": !0 })
+ /* @__PURE__ */ (0, I.jsx)(CV, { "aria-hidden": !0 })
]
})]
})]
@@ -44280,7 +44350,7 @@ function Gge({ currentHref: e, kind: t, close: n }) {
"data-skeleton": "",
className: "h-12 animate-pulse rounded-lg bg-background-secondary-default"
}) : null,
- r.isError ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ r.isError ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "error",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -44289,16 +44359,16 @@ function Gge({ currentHref: e, kind: t, close: n }) {
}),
children: lr(r.error)
}) : null,
- i.isError ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ i.isError ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "error",
children: lr(i.error)
}) : null,
E ? s === "filters" ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- E.filters.length ? null : /* @__PURE__ */ (0, I.jsx)(pV, {
+ E.filters.length ? null : /* @__PURE__ */ (0, I.jsx)(fV, {
size: "compact",
- icon: hV("list-filter"),
+ icon: mV("list-filter"),
title: "还没有保存的筛选",
- actions: /* @__PURE__ */ (0, I.jsx)(xL, {
+ actions: /* @__PURE__ */ (0, I.jsx)(bL, {
size: "small",
href: "/",
onClick: n,
@@ -44317,7 +44387,7 @@ function Gge({ currentHref: e, kind: t, close: n }) {
variant: "secondary",
size: "small",
"aria-label": `删除筛选${e.name}`,
- ..._V(i.isPending),
+ ...gV(i.isPending),
onClick: () => {
i.isPending || i.mutate({
action: "delete_filter",
@@ -44332,7 +44402,7 @@ function Gge({ currentHref: e, kind: t, close: n }) {
className: "flex flex-col gap-3",
"aria-label": "保存当前筛选",
children: [
- /* @__PURE__ */ (0, I.jsx)(lV, {
+ /* @__PURE__ */ (0, I.jsx)(cV, {
label: "筛选名称",
value: a,
onChange: o,
@@ -44341,7 +44411,7 @@ function Gge({ currentHref: e, kind: t, close: n }) {
/* @__PURE__ */ (0, I.jsx)(J, {
type: "submit",
disabled: !a.trim(),
- ..._V(i.isPending),
+ ...gV(i.isPending),
children: "保存当前筛选"
}),
d ? /* @__PURE__ */ (0, I.jsx)("span", {
@@ -44352,16 +44422,16 @@ function Gge({ currentHref: e, kind: t, close: n }) {
]
}) : null
] }) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(lV, {
+ /* @__PURE__ */ (0, I.jsx)(cV, {
"aria-label": "搜索收藏",
placeholder: "搜索收藏",
- leadingIcon: hV("search"),
+ leadingIcon: mV("search"),
value: l,
onChange: u
}),
- O.length ? null : /* @__PURE__ */ (0, I.jsx)(pV, {
+ O.length ? null : /* @__PURE__ */ (0, I.jsx)(fV, {
size: "compact",
- icon: CV,
+ icon: SV,
title: l ? "没有匹配的收藏" : E.favorites.length ? "还没有此类收藏" : "还没有收藏",
actions: l ? /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
@@ -44371,7 +44441,7 @@ function Gge({ currentHref: e, kind: t, close: n }) {
size: "small",
onClick: () => c("all"),
children: "查看全部收藏"
- }) : /* @__PURE__ */ (0, I.jsx)(xL, {
+ }) : /* @__PURE__ */ (0, I.jsx)(bL, {
size: "small",
href: "/",
onClick: n,
@@ -44385,25 +44455,25 @@ function Gge({ currentHref: e, kind: t, close: n }) {
"data-shortcuts-row": "",
className: "flex min-w-0 items-center justify-between gap-3",
children: [/* @__PURE__ */ (0, I.jsxs)("a", {
- href: Hge(e),
+ href: Xge(e),
"aria-label": nn(e.kind, e.name, e.entity_id),
onClick: n,
className: "flex min-w-0 flex-1 items-center gap-3 text-body-regular text-text-primary",
- children: [/* @__PURE__ */ (0, I.jsx)(Kge, { item: e }, e.image_url), /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(e_e, { item: e }, e.image_url), /* @__PURE__ */ (0, I.jsxs)("span", {
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "truncate",
children: nn(e.kind, e.name, e.entity_id)
}), /* @__PURE__ */ (0, I.jsx)("span", {
className: "text-caption-1-regular text-text-secondary",
- children: e.scope === "online" ? "在线标签" : TV[e.kind]
+ children: e.scope === "online" ? "在线标签" : wV[e.kind]
})]
})]
}), /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
"aria-label": `取消收藏${nn(e.kind, e.name, e.entity_id)}`,
- ..._V(i.isPending),
+ ...gV(i.isPending),
onClick: () => {
i.isPending || i.mutate({
action: "favorite",
@@ -44421,8 +44491,8 @@ function Gge({ currentHref: e, kind: t, close: n }) {
]
});
}
-function Kge({ item: e }) {
- let t = EV[e.kind] || CV;
+function e_e({ item: e }) {
+ let t = TV[e.kind] || SV;
return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-shortcuts-avatar": "",
title: e.image_label || e.name,
@@ -44440,11 +44510,11 @@ function Kge({ item: e }) {
});
}
// src/react/components/board-navigation-link.tsx
-function qge(e) {
+function t_e(e) {
return /* @__PURE__ */ (0, I.jsx)("a", { ...e });
}
// src/react/boardui/components/foundations/icons/chevrons.tsx
-function Jge(e) {
+function n_e(e) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 16 16",
fill: "none",
@@ -44458,7 +44528,7 @@ function Jge(e) {
})
});
}
-function Yge(e) {
+function r_e(e) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 12 12",
fill: "none",
@@ -44472,7 +44542,7 @@ function Yge(e) {
})
});
}
-function jV(e) {
+function AV(e) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
fill: "none",
@@ -44485,7 +44555,7 @@ function jV(e) {
});
}
// src/react/boardui/components/base/breadcrumb/breadcrumb.tsx
-function Xge({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {
+function i_e({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r }) {
let i = F.Children.toArray(e).filter(F.isValidElement);
return /* @__PURE__ */ (0, I.jsx)("nav", {
ref: r,
@@ -44493,14 +44563,14 @@ function Xge({ children: e, "aria-label": t = "Breadcrumb", className: n, ref: r
className: q("flex w-full items-center overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden", n),
children: /* @__PURE__ */ (0, I.jsx)("ol", {
className: "flex items-center gap-2.5 px-1",
- children: i.map((e, t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, I.jsx)(Yge, {
+ children: i.map((e, t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [t > 0 && /* @__PURE__ */ (0, I.jsx)(r_e, {
className: "size-3 shrink-0 text-text-tertiary",
"aria-hidden": !0
}), e] }, e.key ?? t))
})
});
}
-function MV({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {
+function jV({ children: e, icon: t, href: n, onClick: r, current: i = !1, className: a }) {
let o = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [t && /* @__PURE__ */ (0, I.jsx)(t, {
className: "size-4 shrink-0",
"aria-hidden": !0
@@ -44513,7 +44583,7 @@ function MV({ children: e, icon: t, href: n, onClick: r, current: i = !1, classN
let s = q("-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, I.jsx)("li", {
className: "flex items-center",
- children: n ? /* @__PURE__ */ (0, I.jsx)(qge, {
+ children: n ? /* @__PURE__ */ (0, I.jsx)(t_e, {
href: n,
className: s,
children: o
@@ -44526,14 +44596,14 @@ function MV({ children: e, icon: t, href: n, onClick: r, current: i = !1, classN
});
}
// src/react/boardui/components/foundations/direction/direction.tsx
-function NV() {
- return Lw().direction;
+function MV() {
+ return Nw().direction;
}
// src/react/boardui/components/base/dropdown/menu-styles.ts
-var PV = "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 data-[entering]:opacity-0 data-[entering]:scale-95 data-[entering]:blur-[2px] 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", Zge = "w-[266px]", Qge = "flex w-full flex-col gap-1 outline-none", FV = "flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left text-text-primary outline-none transition-colors", IV = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
+var NV = "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 data-[entering]:opacity-0 data-[entering]:scale-95 data-[entering]:blur-[2px] 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", a_e = "w-[266px]", o_e = "flex w-full flex-col gap-1 outline-none", PV = "flex w-full cursor-pointer items-center gap-2 rounded-2lg p-2 text-left text-text-primary outline-none transition-colors", FV = "hover:bg-dropdown-item-hover-background focus-visible:bg-dropdown-item-hover-background";
// src/react/boardui/components/base/tree-view/tree-view.tsx
-function $ge({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {
- let c = NV(), l = (0, F.useContext)(IL), u = l === PL && !s.dragAndDropHooks ? RV : l;
+function s_e({ size: e = "md", showGuides: t = !0, selectionMode: n = "single", renderEmptyState: r = () => "No items.", className: i, onKeyDownCapture: a, ref: o, ...s }) {
+ let c = MV(), l = (0, F.useContext)(FL), u = l === NL && !s.dragAndDropHooks ? LV : l;
return /* @__PURE__ */ (0, I.jsx)("div", {
className: "contents",
onKeyDownCapture: (e) => {
@@ -44550,23 +44620,23 @@ function $ge({ size: e = "md", showGuides: t = !0, selectionMode: n = "single",
}
}
},
- children: /* @__PURE__ */ (0, I.jsx)(IL.Provider, {
+ children: /* @__PURE__ */ (0, I.jsx)(FL.Provider, {
value: u,
- children: /* @__PURE__ */ (0, I.jsx)(Ihe, {
+ children: /* @__PURE__ */ (0, I.jsx)(Whe, {
...s,
ref: o,
selectionMode: n,
"data-size": e,
"data-show-guides": t,
renderEmptyState: r,
- className: (e) => q("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 === RV ? "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) => q("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 === LV ? "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 LV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {
- let d = NV();
- return /* @__PURE__ */ (0, I.jsxs)(zhe, {
+function IV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassName: i, trailingContent: a, children: o, className: s, style: c, ref: l, ...u }) {
+ let d = MV();
+ return /* @__PURE__ */ (0, I.jsxs)(qhe, {
...u,
ref: l,
textValue: t,
@@ -44575,10 +44645,10 @@ function LV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam
...typeof c == "function" ? c(e) : c
}),
className: (e) => q("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, I.jsx)(Rhe, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {
- let f = n === null ? null : o && r ? r : n ?? (t ? o ? IB : PB : uge);
+ children: [/* @__PURE__ */ (0, I.jsx)(Khe, { children: ({ hasChildItems: t, isExpanded: o, isDisabled: s, level: c, state: l, id: u }) => {
+ let f = n === null ? null : o && r ? r : n ?? (t ? o ? FB : NB : vge);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(t_e, {
+ /* @__PURE__ */ (0, I.jsx)(l_e, {
state: l,
id: u,
level: c,
@@ -44588,11 +44658,11 @@ function LV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam
}),
/* @__PURE__ */ (0, I.jsxs)("span", {
className: "flex shrink-0 items-center gap-1",
- children: [t ? /* @__PURE__ */ (0, I.jsx)(VL, {
+ children: [t ? /* @__PURE__ */ (0, I.jsx)(BL, {
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, I.jsx)(SB, {
+ children: /* @__PURE__ */ (0, I.jsx)(xB, {
"aria-hidden": !0,
className: q("size-4 opacity-50 transition-transform duration-150 motion-reduce:transition-none", o ? "rotate-90" : d === "rtl" && "rotate-180")
})
@@ -44616,24 +44686,24 @@ function LV({ label: e, textValue: t = e, icon: n, expandedIcon: r, iconClassNam
} }), o]
});
}
-var RV = {
- ...PL,
- CollectionRoot: e_e
+var LV = {
+ ...NL,
+ CollectionRoot: c_e
};
-function e_e({ collection: e, ...t }) {
- let n = (0, F.useContext)(_B);
- return n ? /* @__PURE__ */ (0, I.jsx)(jx, {
+function c_e({ collection: e, ...t }) {
+ let n = (0, F.useContext)(gB);
+ return n ? /* @__PURE__ */ (0, I.jsx)(Dx, {
initial: !1,
- children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, I.jsx)(n_e, {
+ children: Array.from(e).filter((e) => e.type !== "content").map((e) => /* @__PURE__ */ (0, I.jsx)(u_e, {
state: n,
children: e.render?.(e)
}, e.key))
- }) : /* @__PURE__ */ (0, I.jsx)(PL.CollectionRoot, {
+ }) : /* @__PURE__ */ (0, I.jsx)(NL.CollectionRoot, {
collection: e,
...t
});
}
-function t_e({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction: a }) {
+function l_e({ 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;
@@ -44692,9 +44762,9 @@ function t_e({ state: e, id: t, level: n, expanded: r, branchWidth: i, direction
]
});
}
-function n_e({ state: e, children: t }) {
- let n = Ox(), r = tS(), [i, a] = (0, F.useState)(e);
- return n && i !== e && a(e), /* @__PURE__ */ (0, I.jsx)(pS.div, {
+function u_e({ state: e, children: t }) {
+ let n = wx(), r = Zx(), [i, a] = (0, F.useState)(e);
+ return n && i !== e && a(e), /* @__PURE__ */ (0, I.jsx)(lS.div, {
role: "presentation",
className: "relative min-w-0 shrink-0 overflow-hidden",
"data-tree-view-exiting": !n || void 0,
@@ -44733,14 +44803,14 @@ function n_e({ state: e, children: t }) {
1
]
},
- children: /* @__PURE__ */ (0, I.jsx)(_B.Provider, {
+ children: /* @__PURE__ */ (0, I.jsx)(gB.Provider, {
value: n ? e : i,
children: t
})
});
}
// src/react/boardui/components/base/checkbox/checkbox-glyph.tsx
-var zV = {
+var RV = {
md: {
box: "size-4",
glyph: "size-4",
@@ -44754,8 +44824,8 @@ var zV = {
gap: "gap-1.5"
}
};
-function BV({ state: e, size: t = "md" }) {
- let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = zV[t], c = n || r, l = o && !a;
+function zV({ state: e, size: t = "md" }) {
+ let { isSelected: n, isIndeterminate: r, isFocusVisible: i, isDisabled: a, isHovered: o } = e, s = RV[t], c = n || r, l = o && !a;
return /* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
className: q("flex shrink-0 items-center justify-center rounded-sm", "transition-[background-color,border-color,box-shadow] duration-150 ease", s.box, c ? q("bg-linear-to-b shadow-checkbox-selected", l ? "from-accent-400 to-accent-500" : "from-accent-500 to-accent-600") : q("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"),
@@ -44781,13 +44851,13 @@ function BV({ state: e, size: t = "md" }) {
});
}
// src/react/boardui/components/base/checkbox/checkbox.tsx
-function VV({ className: e, children: t, size: n = "md", ref: r, ...i }) {
- let a = zV[n];
- return /* @__PURE__ */ (0, I.jsx)(Ipe, {
+function BV({ className: e, children: t, size: n = "md", ref: r, ...i }) {
+ let a = RV[n];
+ return /* @__PURE__ */ (0, I.jsx)(Wpe, {
ref: r,
...i,
className: (t) => q("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, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(BV, {
+ children: (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(zV, {
state: e,
size: n
}), t != null && /* @__PURE__ */ (0, I.jsx)("span", {
@@ -44797,7 +44867,7 @@ function VV({ className: e, children: t, size: n = "md", ref: r, ...i }) {
});
}
// src/react/components/overlay-scrollbar.ts
-function HV() {
+function VV() {
let e = (0, F.useRef)(null), t = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
t.current?.node !== e.current && (t.current?.control?.destroy(), t.current = e.current ? {
@@ -44809,43 +44879,43 @@ function HV() {
}, []), e;
}
// src/react/providers.tsx
-var UV = null;
-function r_e() {
- return UV?.isConnected || (UV = document.createElement("div"), UV.className = "peach-react", UV.dataset.reactOverlays = "", document.body.append(UV)), UV;
+var HV = null;
+function d_e() {
+ return HV?.isConnected || (HV = document.createElement("div"), HV.className = "peach-react", HV.dataset.reactOverlays = "", document.body.append(HV)), HV;
}
-function WV({ children: e }) {
+function UV({ children: e }) {
return /* @__PURE__ */ (0, I.jsx)(oe, {
client: H,
- children: /* @__PURE__ */ (0, I.jsx)(Qre, {
+ children: /* @__PURE__ */ (0, I.jsx)(nie, {
reducedMotion: "user",
- children: /* @__PURE__ */ (0, I.jsx)(ED, {
- getContainer: r_e,
+ children: /* @__PURE__ */ (0, I.jsx)(SD, {
+ getContainer: d_e,
children: e
})
})
});
}
// node_modules/sonner/dist/index.mjs
-function i_e(e) {
+function f_e(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 a_e = (e) => {
+var p_e = (e) => {
switch (e) {
- case "success": return c_e;
- case "info": return u_e;
- case "warning": return l_e;
- case "error": return d_e;
+ case "success": return g_e;
+ case "info": return v_e;
+ case "warning": return __e;
+ case "error": return y_e;
default: return null;
}
-}, o_e = Array(12).fill(0), s_e = ({ visible: e, className: t }) => /*#__PURE__*/ F.createElement("div", {
+}, m_e = Array(12).fill(0), h_e = ({ visible: e, className: t }) => /*#__PURE__*/ F.createElement("div", {
className: ["sonner-loading-wrapper", t].filter(Boolean).join(" "),
"data-visible": e
-}, /*#__PURE__*/ F.createElement("div", { className: "sonner-spinner" }, o_e.map((e, t) => /*#__PURE__*/ F.createElement("div", {
+}, /*#__PURE__*/ F.createElement("div", { className: "sonner-spinner" }, m_e.map((e, t) => /*#__PURE__*/ F.createElement("div", {
className: "sonner-loading-bar",
key: `spinner-bar-${t}`
-})))), c_e = /*#__PURE__*/ F.createElement("svg", {
+})))), g_e = /*#__PURE__*/ F.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -44856,7 +44926,7 @@ var a_e = (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"
-})), l_e = /*#__PURE__*/ F.createElement("svg", {
+})), __e = /*#__PURE__*/ F.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 24 24",
fill: "currentColor",
@@ -44867,7 +44937,7 @@ var a_e = (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"
-})), u_e = /*#__PURE__*/ F.createElement("svg", {
+})), v_e = /*#__PURE__*/ F.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -44878,7 +44948,7 @@ var a_e = (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"
-})), d_e = /*#__PURE__*/ F.createElement("svg", {
+})), y_e = /*#__PURE__*/ F.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
@@ -44889,7 +44959,7 @@ var a_e = (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"
-})), f_e = /*#__PURE__*/ F.createElement("svg", {
+})), b_e = /*#__PURE__*/ F.createElement("svg", {
xmlns: "http://www.w3.org/2000/svg",
width: "12",
height: "12",
@@ -44910,7 +44980,7 @@ var a_e = (e) => {
y1: "6",
x2: "18",
y2: "18"
-})), p_e = () => {
+})), x_e = () => {
let [e, t] = F.useState(document.hidden);
return F.useEffect(() => {
let e = () => {
@@ -44918,7 +44988,7 @@ var a_e = (e) => {
};
return document.addEventListener("visibilitychange", e), () => document.removeEventListener("visibilitychange", e);
}, []), e;
-}, m_e = 1, h_e = 100, GV = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : m_e++, KV = new class {
+}, S_e = 1, C_e = 100, WV = (e) => typeof e?.id == "number" || e?.id?.length > 0 ? e.id : S_e++, GV = new class {
constructor() {
this.subscribe = (e) => (this.subscribers.push(e), this.getActiveToasts().forEach((t) => e(t)), () => {
let t = this.subscribers.indexOf(e);
@@ -44928,10 +44998,10 @@ var a_e = (e) => {
}, this.addToast = (e) => {
this.publish(e), this.toasts = [...this.toasts, e], this.trimHistory();
}, this.trimHistory = () => {
- let e = this.toasts.length - h_e;
+ let e = this.toasts.length - C_e;
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 = GV(e), i = this.pendingDismissals.get(r);
+ let { message: t, ...n } = e, r = WV(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({
@@ -45006,7 +45076,7 @@ var a_e = (e) => {
type: "default",
message: e
});
- else if (__e(e) && !e.ok) {
+ else if (T_e(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" && !F.isValidElement(r) ? r : { message: r };
this.create({
@@ -45050,7 +45120,7 @@ var a_e = (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 = GV(t);
+ let n = WV(t);
return this.create({
...t,
jsx: e(n),
@@ -45059,34 +45129,34 @@ var a_e = (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();
}
-}(), g_e = (e, t) => KV.message(e, t), __e = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", qV = Object.assign(g_e, {
- success: KV.success,
- info: KV.info,
- warning: KV.warning,
- error: KV.error,
- custom: KV.custom,
- message: KV.message,
- promise: KV.promise,
- dismiss: KV.dismiss,
- loading: KV.loading
+}(), w_e = (e, t) => GV.message(e, t), T_e = (e) => e && typeof e == "object" && "ok" in e && typeof e.ok == "boolean" && "status" in e && typeof e.status == "number", KV = Object.assign(w_e, {
+ success: GV.success,
+ info: GV.info,
+ warning: GV.warning,
+ error: GV.error,
+ custom: GV.custom,
+ message: GV.message,
+ promise: GV.promise,
+ dismiss: GV.dismiss,
+ loading: GV.loading
}, {
- getHistory: () => KV.toasts,
- getToasts: () => KV.getActiveToasts()
+ getHistory: () => GV.toasts,
+ getToasts: () => GV.getActiveToasts()
});
-i_e("[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 JV(e) {
+f_e("[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 qV(e) {
return e.label !== void 0;
}
-var v_e = 3, y_e = "24px", b_e = "16px", YV = 4e3, x_e = 356, S_e = 14, C_e = 45, w_e = 200;
-function XV(...e) {
+var E_e = 3, D_e = "24px", O_e = "16px", JV = 4e3, k_e = 356, A_e = 14, j_e = 45, M_e = 200;
+function YV(...e) {
return e.filter(Boolean).join(" ");
}
-function T_e(e) {
+function N_e(e) {
let [t, n] = e.split("-"), r = [];
return t && r.push(t), n && r.push(n), r;
}
-var E_e = (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, [E, D] = F.useState(null), [O, k] = F.useState(null), [A, j] = F.useState(!1), [M, ee] = F.useState(!1), [N, te] = F.useState(!1), [P, ne] = F.useState(!1), [re, I] = F.useState(!1), [ie, ae] = F.useState(0), [oe, se] = F.useState(0), ce = F.useRef(n.duration || y || YV), le = F.useRef(null), ue = F.useRef(null), de = c === 0, fe = c + 1 <= o, pe = n.type, me = pe ?? "default", he = n.dismissible !== !1, ge = n.className || "", _e = n.descriptionClassName || "", ve = F.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = F.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = F.useMemo(() => n.duration || y || YV, [n.duration, y]), xe = F.useRef(0), Se = F.useRef(0), Ce = F.useRef(0), we = F.useRef(null), [Te, Ee] = b.split("-"), De = F.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = p_e(), ke = F.useMemo(() => e.swipeDirections ?? T_e(b), [e.swipeDirections, b]), Ae = n.invert || t, je = pe === "loading";
+var P_e = (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, [E, D] = F.useState(null), [O, k] = F.useState(null), [A, j] = F.useState(!1), [M, ee] = F.useState(!1), [N, te] = F.useState(!1), [P, ne] = F.useState(!1), [re, I] = F.useState(!1), [ie, ae] = F.useState(0), [oe, se] = F.useState(0), ce = F.useRef(n.duration || y || JV), le = F.useRef(null), ue = F.useRef(null), de = c === 0, fe = c + 1 <= o, pe = n.type, me = pe ?? "default", he = n.dismissible !== !1, ge = n.className || "", _e = n.descriptionClassName || "", ve = F.useMemo(() => s.findIndex((e) => e.toastId === n.id) || 0, [s, n.id]), ye = F.useMemo(() => n.closeButton ?? p, [n.closeButton, p]), be = F.useMemo(() => n.duration || y || JV, [n.duration, y]), xe = F.useRef(0), Se = F.useRef(0), Ce = F.useRef(0), we = F.useRef(null), [Te, Ee] = b.split("-"), De = F.useMemo(() => s.reduce((e, t, n) => n >= ve ? e : e + t.height, 0), [s, ve]), Oe = x_e(), ke = F.useMemo(() => e.swipeDirections ?? N_e(b), [e.swipeDirections, b]), Ae = n.invert || t, je = pe === "loading";
Se.current = F.useMemo(() => ve * x + De, [ve, De]), F.useEffect(() => {
ce.current = be;
}, [be]), F.useEffect(() => {
@@ -45127,7 +45197,7 @@ var E_e = (e) => {
let Me = F.useCallback(() => {
ee(!0), ae(Se.current), a((e) => e.filter((e) => e.toastId !== n.id)), setTimeout(() => {
d(n);
- }, w_e);
+ }, M_e);
}, [
n,
d,
@@ -45158,18 +45228,18 @@ var E_e = (e) => {
}, [Me, n.delete]);
function Ne() {
return w?.loading ? /*#__PURE__*/ F.createElement("div", {
- className: XV(C?.loader, n?.classNames?.loader, "sonner-loader"),
+ className: YV(C?.loader, n?.classNames?.loader, "sonner-loader"),
"data-visible": pe === "loading"
- }, w.loading) : /*#__PURE__*/ F.createElement(s_e, {
- className: XV(C?.loader, n?.classNames?.loader),
+ }, w.loading) : /*#__PURE__*/ F.createElement(h_e, {
+ className: YV(C?.loader, n?.classNames?.loader),
visible: pe === "loading"
});
}
- let Pe = n.icon || w?.[pe] || a_e(pe);
+ let Pe = n.icon || w?.[pe] || p_e(pe);
return /*#__PURE__*/ F.createElement("li", {
tabIndex: 0,
ref: ue,
- className: XV(_, ge, C?.toast, n?.classNames?.toast, C?.[me], n?.classNames?.[me]),
+ className: YV(_, ge, C?.toast, n?.classNames?.toast, C?.[me], n?.classNames?.[me]),
"data-sonner-toast": "",
"data-rich-colors": n.richColors ?? f,
"data-styled": !(n.jsx || n.unstyled || r),
@@ -45212,7 +45282,7 @@ var E_e = (e) => {
if (P || !he) return;
we.current = null;
let e = Number(ue.current?.style.getPropertyValue("--swipe-amount-x").replace("px", "") || 0), t = Number(ue.current?.style.getPropertyValue("--swipe-amount-y").replace("px", "") || 0), r = (/* @__PURE__ */ new Date()).getTime() - le.current?.getTime(), i = E === "x" ? e : t, a = Math.abs(i) / r;
- if ((E === "x" ? ke.includes(e > 0 ? "right" : "left") : ke.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= C_e || a > .11)) ae(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Me(), ne(!0);
+ if ((E === "x" ? ke.includes(e > 0 ? "right" : "left") : ke.includes(t > 0 ? "bottom" : "top")) && (Math.abs(i) >= j_e || a > .11)) ae(Se.current), n.onDismiss == null || n.onDismiss.call(n, n), k(E === "x" ? e > 0 ? "right" : "left" : t > 0 ? "down" : "up"), Me(), ne(!0);
else {
var o, s;
(o = ue.current) == null || o.style.setProperty("--swipe-amount-x", "0px"), (s = ue.current) == null || s.style.setProperty("--swipe-amount-y", "0px"), I(!1), te(!1), D(null);
@@ -45251,46 +45321,46 @@ var E_e = (e) => {
onClick: je || !he ? () => {} : () => {
Me(), n.onDismiss == null || n.onDismiss.call(n, n);
},
- className: XV(C?.closeButton, n?.classNames?.closeButton)
- }, w?.close ?? f_e) : null, (pe || n.icon || n.promise) && n.icon !== null && (w?.[pe] !== null || n.icon) ? /*#__PURE__*/ F.createElement("div", {
+ className: YV(C?.closeButton, n?.classNames?.closeButton)
+ }, w?.close ?? b_e) : null, (pe || n.icon || n.promise) && n.icon !== null && (w?.[pe] !== null || n.icon) ? /*#__PURE__*/ F.createElement("div", {
"data-icon": "",
- className: XV(C?.icon, n?.classNames?.icon)
+ className: YV(C?.icon, n?.classNames?.icon)
}, pe === "loading" ? n.icon || Ne() : n.promise ? Ne() : null, pe === "loading" ? null : Pe) : null, /*#__PURE__*/ F.createElement("div", {
"data-content": "",
- className: XV(C?.content, n?.classNames?.content)
+ className: YV(C?.content, n?.classNames?.content)
}, /*#__PURE__*/ F.createElement("div", {
"data-title": "",
- className: XV(C?.title, n?.classNames?.title)
+ className: YV(C?.title, n?.classNames?.title)
}, n.jsx ? n.jsx : typeof n.title == "function" ? n.title() : n.title), n.description ? /*#__PURE__*/ F.createElement("div", {
"data-description": "",
- className: XV(v, _e, C?.description, n?.classNames?.description)
- }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ F.isValidElement(n.cancel) ? n.cancel : n.cancel && JV(n.cancel) ? /*#__PURE__*/ F.createElement("button", {
+ className: YV(v, _e, C?.description, n?.classNames?.description)
+ }, typeof n.description == "function" ? n.description() : n.description) : null), /*#__PURE__*/ F.isValidElement(n.cancel) ? n.cancel : n.cancel && qV(n.cancel) ? /*#__PURE__*/ F.createElement("button", {
"data-button": !0,
"data-cancel": !0,
style: n.cancelButtonStyle || h,
onClick: (e) => {
- JV(n.cancel) && he && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Me());
+ qV(n.cancel) && he && (n.cancel.onClick == null || n.cancel.onClick.call(n.cancel, e), Me());
},
- className: XV(C?.cancelButton, n?.classNames?.cancelButton)
- }, n.cancel.label) : null, /*#__PURE__*/ F.isValidElement(n.action) ? n.action : n.action && JV(n.action) ? /*#__PURE__*/ F.createElement("button", {
+ className: YV(C?.cancelButton, n?.classNames?.cancelButton)
+ }, n.cancel.label) : null, /*#__PURE__*/ F.isValidElement(n.action) ? n.action : n.action && qV(n.action) ? /*#__PURE__*/ F.createElement("button", {
"data-button": !0,
"data-action": !0,
style: n.actionButtonStyle || g,
onClick: (e) => {
- JV(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Me());
+ qV(n.action) && (n.action.onClick == null || n.action.onClick.call(n.action, e), !e.defaultPrevented && Me());
},
- className: XV(C?.actionButton, n?.classNames?.actionButton)
+ className: YV(C?.actionButton, n?.classNames?.actionButton)
}, n.action.label) : null);
};
-function ZV() {
+function XV() {
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 D_e(e, t) {
+function F_e(e, t) {
let n = {};
return [e, t].forEach((e, t) => {
- let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? b_e : y_e;
+ let r = t === 1, i = r ? "--mobile-offset" : "--offset", a = r ? O_e : D_e;
function o(e) {
[
"top",
@@ -45311,11 +45381,11 @@ function D_e(e, t) {
}) : o(a);
}), n;
}
-var QV = /*#__PURE__*/ F.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 = v_e, toastOptions: g, dir: _ = ZV(), gap: v = S_e, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = F.useState([]), w = F.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = F.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = F.useState([]), [O, k] = F.useState(!1), [A, j] = F.useState(!1), [M, ee] = F.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), N = F.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = F.useRef(null), ne = F.useRef(!1), re = F.useCallback((e) => {
- C((t) => (t.find((t) => t.id === e.id)?.delete || KV.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
+var ZV = /*#__PURE__*/ F.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 = E_e, toastOptions: g, dir: _ = XV(), gap: v = A_e, icons: y, customAriaLabel: b, containerAriaLabel: x = "Notifications" } = e, [S, C] = F.useState([]), w = F.useMemo(() => n ? S.filter((e) => e.toasterId === n) : S.filter((e) => !e.toasterId), [S, n]), T = F.useMemo(() => Array.from(new Set([i].concat(w.filter((e) => e.position).map((e) => e.position)))), [w, i]), [E, D] = F.useState([]), [O, k] = F.useState(!1), [A, j] = F.useState(!1), [M, ee] = F.useState(d === "system" ? typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : d), N = F.useRef(null), te = a.join("+").replace(/Key/g, "").replace(/Digit/g, ""), P = F.useRef(null), ne = F.useRef(!1), re = F.useCallback((e) => {
+ C((t) => (t.find((t) => t.id === e.id)?.delete || GV.dismiss(e.id), t.filter(({ id: t }) => t !== e.id)));
}, []);
- return F.useEffect(() => KV.subscribe((e) => {
+ return F.useEffect(() => GV.subscribe((e) => {
e.dismiss ? requestAnimationFrame(() => {
C((t) => t.map((t) => t.id === e.id ? {
...t,
@@ -45384,7 +45454,7 @@ var QV = /*#__PURE__*/ F.forwardRef(function(e, t) {
let [i, a] = t.split("-");
return w.length ? /*#__PURE__*/ F.createElement("ol", {
key: t,
- dir: _ === "auto" ? ZV() : _,
+ dir: _ === "auto" ? XV() : _,
tabIndex: -1,
ref: N,
className: c,
@@ -45394,10 +45464,10 @@ var QV = /*#__PURE__*/ F.forwardRef(function(e, t) {
"data-x-position": a,
style: {
"--front-toast-height": `${E[0]?.height || 0}px`,
- "--width": `${x_e}px`,
+ "--width": `${k_e}px`,
"--gap": `${v}px`,
...m,
- ...D_e(l, u)
+ ...F_e(l, u)
},
onBlur: (e) => {
ne.current && !e.currentTarget.contains(e.relatedTarget) && (ne.current = !1, P.current &&= (P.current.focus({ preventScroll: !0 }), null));
@@ -45415,7 +45485,7 @@ var QV = /*#__PURE__*/ F.forwardRef(function(e, t) {
e.target instanceof HTMLElement && e.target.dataset.dismissible === "false" || j(!0);
},
onPointerUp: () => j(!1)
- }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ F.createElement(E_e, {
+ }, w.filter((e) => !e.position && n === 0 || e.position === t).map((n, i) => /*#__PURE__*/ F.createElement(P_e, {
key: n.id,
icons: y,
index: i,
@@ -45445,35 +45515,35 @@ var QV = /*#__PURE__*/ F.forwardRef(function(e, t) {
swipeDirections: e.swipeDirections
}))) : null;
}));
-}), $V = "/api/library-processing", eH = ["library-processing"], O_e = (e, t, n) => {
+}), QV = "/api/library-processing", $V = ["library-processing"], I_e = (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)), e.scope && r.set("scope", e.scope), e.incremental && r.set("incremental", "1"), n && r.set("inventory", n), B(`${$V}?${r}`, t);
-}, k_e = {
+ return e.asset_ids && r.set("asset_ids", JSON.stringify(e.asset_ids)), e.scope && r.set("scope", e.scope), e.incremental && r.set("incremental", "1"), n && r.set("inventory", n), B(`${QV}?${r}`, t);
+}, L_e = {
fetching_cover: "封面",
querying_metadata: "资料"
};
-function tH(e) {
+function eH(e) {
if (e?.status !== "running" || e.current_asset_id == null) return null;
- let t = k_e[e.current_action || ""];
+ let t = L_e[e.current_action || ""];
return !t || (e.waited_seconds || 0) < 120 ? null : {
what: t,
source: e.current_source
};
}
-function nH({ what: e, source: t }) {
+function tH({ what: e, source: t }) {
return `${`${t?.label ? `${t.label} ` : "外部来源"}迟迟没有返回${e}`}。可以先跳过这部,任务结束后再重试。`;
}
-var rH = (e) => !!e && [
+var nH = (e) => !!e && [
"running",
"pausing",
"paused",
"stopping"
-].includes(e.status), iH = (e) => e?.status === "failed" && e.outcome === "partial", aH = "已入库的视频可在全部内容中浏览,未完成项可单独重试。", oH = "/?loc=&thumb=0";
-function sH(e) {
- if (!rH(e)) return "";
+].includes(e.status), rH = (e) => e?.status === "failed" && e.outcome === "partial", iH = "已入库的视频可在全部内容中浏览,未完成项可单独重试。", aH = "/?loc=&thumb=0";
+function oH(e) {
+ if (!nH(e)) return "";
if (e.status === "stopping") return "正在取消,等待当前步骤退出;已取得的结果会保留";
if (e.status === "paused") return "已暂停,继续后更新预估";
if (e.status === "pausing") return "正在暂停,当前步骤结束后暂停";
@@ -45484,30 +45554,30 @@ function sH(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 cH = (e) => B($V, e);
-async function lH(e) {
+var sH = (e) => B(QV, e);
+async function cH(e) {
await H.fetchQuery({
- queryKey: eH,
- queryFn: () => cH(e)
+ queryKey: $V,
+ queryFn: () => sH(e)
});
}
-var A_e = 2e3, j_e = 1e4, uH = "连接中断,正在重新读取处理进度", M_e = {
+var R_e = 2e3, z_e = 1e4, lH = "连接中断,正在重新读取处理进度", B_e = {
manual: "在网页发起",
scheduled: "定时发起",
startup: "服务启动时自动发起",
cli: "由命令行或托盘发起"
};
-function N_e(e, t) {
+function V_e(e, t) {
return `保存后 Peach 会重新启动。${e.trigger === "cli" ? "这个任务由命令行或托盘发起,在独立进程里运行,不受重启影响。" : e.status === "paused" ? "已暂停的任务会保持暂停,重启后点继续即可接着处理。" : "正在进行的任务会随重启中断,重启后从中断处继续。"}${t ? "勾选的「保存后扫描并补全资料」会排在当前任务之后。" : ""}`;
}
-function P_e(e) {
- let t = M_e[e.trigger || ""];
+function H_e(e) {
+ let t = B_e[e.trigger || ""];
return `当前的扫描与采集任务${t ? `(${t})` : ""}还没结束,等它完成或取消后再开始新的同步`;
}
-function dH(e, t) {
- return rH(e) ? A_e : t ? j_e : !1;
+function uH(e, t) {
+ return nH(e) ? R_e : t ? z_e : !1;
}
-var F_e = {
+var U_e = {
scanning_files: "扫描文件",
reading_local: "检查配套文件",
reading_local_cover: "读取配套图片",
@@ -45516,25 +45586,25 @@ var F_e = {
skipped: "已跳过",
generating_preview: "生成视频预览",
writing_candidates: "保存待确认资料"
-}, fH = {
+}, dH = {
querying_metadata: "没有资料",
fetching_cover: "没有封面"
};
-function I_e(e) {
- let t = Object.entries(e).filter(([e, t]) => fH[e] && t > 0).map(([e, t]) => `${fH[e]} ${t.toLocaleString()} 部`);
+function W_e(e) {
+ let t = Object.entries(e).filter(([e, t]) => dH[e] && t > 0).map(([e, t]) => `${dH[e]} ${t.toLocaleString()} 部`);
return t.length ? `外部来源${t.join("、")},7 天内不再问。` : "";
}
-function L_e(e) {
+function G_e(e) {
if (e.status === "paused") return "已暂停";
if (e.status === "pausing") return "正在暂停";
- let t = F_e[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${eL(e.waited_seconds)}` : "";
+ let t = U_e[e.current_action || ""] || e.stage || "正在处理", n = e.waited_seconds ? ` · 已等待 ${$I(e.waited_seconds)}` : "";
return e.current_asset_name ? `当前:${e.current_asset_name} · ${t}${n}` : t + n;
}
-function R_e(e) {
- let t = e.total ? `${tL(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";
- return L_e(e) + (t ? ` · ${t}` : "");
+function K_e(e) {
+ let t = e.total ? `${eL(e.checked, e.total)} 项` : e.current_action === "scanning_files" || e.stage === "扫描文件" ? `已发现 ${(e.scanned || 0).toLocaleString()} 个文件` : "";
+ return G_e(e) + (t ? ` · ${t}` : "");
}
-function z_e(e) {
+function q_e(e) {
let t = e.issue_preview || [];
return t.length ? {
label: e.issues_truncated ? `问题清单:共 ${e.issue_count || 0} 项,展开查看前 ${t.length} 项` : `问题清单:共 ${e.issue_count || 0} 项`,
@@ -45548,22 +45618,22 @@ function z_e(e) {
log: e.issues_log || ""
} : null;
}
-var pH = "peach.library-processing.announced", B_e = 120;
-function mH(e) {
+var fH = "peach.library-processing.announced", J_e = 120;
+function pH(e) {
let t = e.completed_at == null ? Infinity : Date.now() / 1e3 - e.completed_at;
- return !!e.job_id && t >= 0 && t < B_e;
+ return !!e.job_id && t >= 0 && t < J_e;
}
-function V_e(e, t, n) {
- if (e.status === "complete" && (n || mH(e))) {
+function Y_e(e, t, n) {
+ if (e.status === "complete" && (n || pH(e))) {
try {
- if (e.job_id && localStorage.getItem(pH) === e.job_id) return;
- e.job_id && localStorage.setItem(pH, e.job_id);
+ if (e.job_id && localStorage.getItem(fH) === e.job_id) return;
+ e.job_id && localStorage.setItem(fH, 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} 部视频预览` : ""));
}
}
// src/react/boardui/components/base/buttons/link-button.tsx
-var hH = II({
+var mH = FI({
base: "inline-flex items-center justify-center gap-1 whitespace-nowrap font-sans select-none cursor-pointer rounded-sm underline-offset-3 hover:underline transition-colors duration-150 ease outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-focus-ring disabled:cursor-not-allowed disabled:no-underline aria-disabled:cursor-not-allowed aria-disabled:no-underline",
size: {
medium: "text-body-medium",
@@ -45580,15 +45650,15 @@ var hH = II({
secondary: "text-text-secondary active:text-text-primary disabled:text-text-tertiary aria-disabled:text-text-tertiary"
}
});
-function gH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
- let c = q(hH.base, hH.size[t], hH.variant[e], a), l = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
+function hH({ variant: e = "primary", size: t = "medium", leadingIcon: n, trailingIcon: r, children: i, className: a, disabled: o = !1, ...s }) {
+ let c = q(mH.base, mH.size[t], mH.variant[e], a), l = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
n ? /* @__PURE__ */ (0, I.jsx)(n, {
- className: hH.icon[t],
+ className: mH.icon[t],
"aria-hidden": !0
}) : null,
i != null && /* @__PURE__ */ (0, I.jsx)("span", { children: i }),
r ? /* @__PURE__ */ (0, I.jsx)(r, {
- className: hH.icon[t],
+ className: mH.icon[t],
"aria-hidden": !0
}) : null
] });
@@ -45614,7 +45684,7 @@ function gH({ variant: e = "primary", size: t = "medium", leadingIcon: n, traili
});
}
// src/react/settings/use-action.ts
-function _H(e = "") {
+function gH(e = "") {
let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(""), [i, a] = (0, F.useState)(e);
(0, F.useEffect)(() => () => t.current?.abort(), []);
async function o(e, n, i, o) {
@@ -45639,10 +45709,10 @@ function _H(e = "") {
};
}
// src/react/library-processing/slow-item.tsx
-function vH({ state: e }) {
- let t = _H(), n = (e) => {
- t.busy || t.run(e.action, (t) => V($V, e, "POST", t), (e) => {
- H.setQueryData(eH, e), H.invalidateQueries({ queryKey: eH });
+function _H({ state: e }) {
+ let t = gH(), n = (e) => {
+ t.busy || t.run(e.action, (t) => V(QV, e, "POST", t), (e) => {
+ H.setQueryData($V, e), H.invalidateQueries({ queryKey: $V });
});
};
return /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -45654,7 +45724,7 @@ function vH({ state: e }) {
size: "small",
variant: "secondary",
disabled: e.skip_requested,
- ..._V(t.busy === "skip_current"),
+ ...gV(t.busy === "skip_current"),
onClick: () => {
e.job_id && e.current_asset_id != null && n({
action: "skip_current",
@@ -45678,37 +45748,37 @@ function vH({ state: e }) {
]
});
}
-function H_e({ state: e, slow: t }) {
- return /* @__PURE__ */ (0, I.jsx)(fV, {
+function X_e({ state: e, slow: t }) {
+ return /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "warning",
- action: /* @__PURE__ */ (0, I.jsx)(vH, { state: e }),
- children: nH(t)
+ action: /* @__PURE__ */ (0, I.jsx)(_H, { state: e }),
+ children: tH(t)
});
}
-function U_e({ state: e, slow: t }) {
+function Z_e({ state: e, slow: t }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-processing-slow": "",
className: "flex min-w-0 flex-wrap items-center justify-between gap-3",
children: [/* @__PURE__ */ (0, I.jsx)("p", {
className: "min-w-0 flex-auto text-body-2-regular wrap-anywhere",
- children: nH(t)
- }), /* @__PURE__ */ (0, I.jsx)(vH, { state: e })]
+ children: tH(t)
+ }), /* @__PURE__ */ (0, I.jsx)(_H, { state: e })]
});
}
// src/react/components/use-moving-surface.ts
-var W_e = {
+var Q_e = {
selection: {
- type: Pg,
+ type: Ng,
duration: .16,
bounce: 0
},
hover: {
- type: Pg,
+ type: Ng,
duration: .08,
bounce: 0
}
};
-function yH(e) {
+function vH(e) {
let [t, n] = (0, F.useState)(null);
return (0, F.useLayoutEffect)(() => {
if (!t) return;
@@ -45729,7 +45799,7 @@ function yH(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 = aae(n, { transform: [r, E] }, W_e[e]);
+ l = lae(n, { transform: [r, E] }, Q_e[e]);
} else n.style.transform = E;
s = h, c = w, t.dataset.surfaceReady = "";
}, m = (t) => {
@@ -45765,24 +45835,24 @@ function yH(e) {
}, [t, e]), n;
}
// src/react/components/menu-dialog.tsx
-function bH(e) {
- let t = yH("hover");
- return /* @__PURE__ */ (0, I.jsx)(Dz, {
+function yH(e) {
+ let t = vH("hover");
+ return /* @__PURE__ */ (0, I.jsx)(Ez, {
...e,
ref: t
});
}
// src/react/library-processing/processing-effort.tsx
-var xH = [
+var bH = [
"low",
"standard",
"high"
-], SH = [
+], xH = [
"低占用",
"标准",
"全速"
-], CH = hV("snail"), wH = hV("zap");
-function TH({ className: e }) {
+], SH = mV("snail"), CH = mV("zap");
+function wH({ className: e }) {
return /* @__PURE__ */ (0, I.jsxs)("svg", {
className: `processing-effort-double ${e ?? ""}`,
"aria-hidden": "true",
@@ -45813,12 +45883,12 @@ function TH({ className: e }) {
]
});
}
-var G_e = [
+var $_e = [
+ SH,
CH,
- wH,
- TH
+ wH
];
-function K_e({ animate: e }) {
+function eve({ animate: e }) {
let [t, n] = (0, F.useState)(document.hidden);
return (0, F.useEffect)(() => {
let e = () => n(document.hidden);
@@ -45850,8 +45920,8 @@ function K_e({ animate: e }) {
} }, t))]
});
}
-function EH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
- let i = Math.max(0, xH.indexOf(e)), [a, o] = (0, F.useState)(i);
+function TH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
+ let i = Math.max(0, bH.indexOf(e)), [a, o] = (0, F.useState)(i);
return (0, F.useEffect)(() => {
t || o(i);
}, [i, t]), /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -45862,7 +45932,7 @@ function EH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "text-text-tertiary",
children: "处理强度 "
- }), SH[a]]
+ }), xH[a]]
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "processing-effort-scale text-caption-1-regular text-text-tertiary",
@@ -45870,19 +45940,19 @@ function EH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
children: [
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-selected": a === 0 || void 0,
- children: [/* @__PURE__ */ (0, I.jsx)(CH, {}), "最慢"]
+ children: [/* @__PURE__ */ (0, I.jsx)(SH, {}), "最慢"]
}),
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-selected": a === 1 || void 0,
- children: [/* @__PURE__ */ (0, I.jsx)(wH, {}), "标准"]
+ children: [/* @__PURE__ */ (0, I.jsx)(CH, {}), "标准"]
}),
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-selected": a === 2 || void 0,
- children: [/* @__PURE__ */ (0, I.jsx)(TH, {}), "最快"]
+ children: [/* @__PURE__ */ (0, I.jsx)(wH, {}), "最快"]
})
]
}),
- /* @__PURE__ */ (0, I.jsxs)(Kpe, {
+ /* @__PURE__ */ (0, I.jsxs)(eme, {
"aria-label": "处理速度",
minValue: 0,
maxValue: 2,
@@ -45891,10 +45961,10 @@ function EH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
isDisabled: t,
onChange: o,
onChangeEnd: (e) => {
- e !== i && n(xH[e]);
+ e !== i && n(bH[e]);
},
className: "processing-effort-slider",
- children: [/* @__PURE__ */ (0, I.jsx)(zL, {
+ children: [/* @__PURE__ */ (0, I.jsx)(RL, {
className: "processing-effort-label",
children: "处理速度"
}), /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -45914,11 +45984,11 @@ function EH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
/* @__PURE__ */ (0, I.jsx)("i", {})
]
}),
- a === 2 ? /* @__PURE__ */ (0, I.jsx)(K_e, { animate: r }) : null,
- /* @__PURE__ */ (0, I.jsx)(qpe, {
+ a === 2 ? /* @__PURE__ */ (0, I.jsx)(eve, { animate: r }) : null,
+ /* @__PURE__ */ (0, I.jsx)(tme, {
className: "processing-effort-hit",
- children: /* @__PURE__ */ (0, I.jsx)(Jpe, {
- "aria-label": SH[a],
+ children: /* @__PURE__ */ (0, I.jsx)(nme, {
+ "aria-label": xH[a],
className: "processing-effort-thumb"
})
})
@@ -45932,8 +46002,8 @@ function EH({ value: e, busy: t, onChange: n, animate: r = !0 }) {
]
});
}
-function q_e({ value: e, busy: t, onChange: n, animate: r = !0 }) {
- let i = (0, F.useRef)(null), [a, o] = (0, F.useState)(!1), s = Math.max(0, xH.indexOf(e));
+function tve({ value: e, busy: t, onChange: n, animate: r = !0 }) {
+ let i = (0, F.useRef)(null), [a, o] = (0, F.useState)(!1), s = Math.max(0, bH.indexOf(e));
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "processing-effort-trigger",
"data-speed": e,
@@ -45941,28 +46011,28 @@ function q_e({ value: e, busy: t, onChange: n, animate: r = !0 }) {
ref: i,
size: "small",
variant: "secondary",
- "aria-label": `处理速度:${SH[s]}`,
+ "aria-label": `处理速度:${xH[s]}`,
"aria-haspopup": "dialog",
"aria-expanded": a,
"aria-disabled": t,
- leadingIcon: G_e[s],
- trailingIcon: bB,
+ leadingIcon: $_e[s],
+ trailingIcon: yB,
onClick: () => {
t || o(!a);
},
- children: SH[s]
+ children: xH[s]
})
- }), /* @__PURE__ */ (0, I.jsx)(mz, {
+ }), /* @__PURE__ */ (0, I.jsx)(pz, {
triggerRef: i,
isOpen: a,
onOpenChange: o,
placement: "top start",
offset: 8,
- className: PV,
- children: /* @__PURE__ */ (0, I.jsx)(bH, {
+ className: NV,
+ children: /* @__PURE__ */ (0, I.jsx)(yH, {
"aria-label": "处理速度",
className: "outline-none",
- children: /* @__PURE__ */ (0, I.jsx)(EH, {
+ children: /* @__PURE__ */ (0, I.jsx)(TH, {
value: e,
busy: t,
onChange: n,
@@ -45972,10 +46042,10 @@ function q_e({ value: e, busy: t, onChange: n, animate: r = !0 }) {
})] });
}
// src/react/library-processing/processing-controls.tsx
-function DH({ state: e, disabled: t = !1 }) {
- let n = _H(), r = (0, F.useRef)(!1), i = rH(e), a = e.status === "stopping", o = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", s = a ? "正在取消" : "取消任务", c = (e) => {
- t || n.busy || n.run(e.action, (t) => V($V, e, "POST", t), (e) => {
- H.setQueryData(eH, e), H.invalidateQueries({ queryKey: eH });
+function EH({ state: e, disabled: t = !1 }) {
+ let n = gH(), r = (0, F.useRef)(!1), i = nH(e), a = e.status === "stopping", o = e.status === "paused" ? "继续" : e.status === "pausing" ? "正在暂停" : "暂停", s = a ? "正在取消" : "取消任务", c = (e) => {
+ t || n.busy || n.run(e.action, (t) => V(QV, e, "POST", t), (e) => {
+ H.setQueryData($V, e), H.invalidateQueries({ queryKey: $V });
});
}, l = () => {
let i = e.job_id;
@@ -45999,7 +46069,7 @@ function DH({ state: e, disabled: t = !1 }) {
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- /* @__PURE__ */ (0, I.jsx)(q_e, {
+ /* @__PURE__ */ (0, I.jsx)(tve, {
value: e.speed_mode || "standard",
busy: t || !!n.busy || a,
animate: e.status !== "paused" && e.status !== "pausing",
@@ -46013,11 +46083,11 @@ function DH({ state: e, disabled: t = !1 }) {
size: "small",
variant: "secondary",
iconOnly: !0,
- leadingIcon: e.status === "paused" ? WB : HB,
+ leadingIcon: e.status === "paused" ? UB : VB,
"aria-label": o,
title: o,
disabled: t || !e.job_id || e.status === "pausing" || a,
- ..._V(n.busy === "pause" || n.busy === "resume"),
+ ...gV(n.busy === "pause" || n.busy === "resume"),
onClick: () => {
e.job_id && c({
action: e.status === "paused" ? "resume" : "pause",
@@ -46029,11 +46099,11 @@ function DH({ state: e, disabled: t = !1 }) {
size: "small",
variant: "secondary",
iconOnly: !0,
- leadingIcon: ZB,
+ leadingIcon: XB,
"aria-label": s,
title: s,
disabled: t || !e.job_id || a,
- ..._V(n.busy === "cancel"),
+ ...gV(n.busy === "cancel"),
onClick: l
}) : null
]
@@ -46045,11 +46115,11 @@ function DH({ state: e, disabled: t = !1 }) {
});
}
// src/react/library-processing/use-library-processing.ts
-function OH({ toast: e, mode: t, monitor: n }) {
+function DH({ toast: e, mode: t, monitor: n }) {
let r = t === "notice" || !!n, i = Ft({
- queryKey: eH,
- queryFn: ({ signal: e }) => cH(e),
- refetchInterval: (e) => dH(e.state.data, r)
+ queryKey: $V,
+ queryFn: ({ signal: e }) => sH(e),
+ refetchInterval: (e) => uH(e.state.data, r)
}), [a, o] = (0, F.useState)(null), s = (0, F.useRef)(void 0), c = i.data;
return (0, F.useEffect)(() => {
if (!c) return;
@@ -46060,8 +46130,8 @@ function OH({ toast: e, mode: t, monitor: n }) {
"pausing",
"paused",
"stopping"
- ].includes(n) && !rH(c);
- r && o(c), (r || t === "notice") && V_e(c, e, r);
+ ].includes(n) && !nH(c);
+ r && o(c), (r || t === "notice") && Y_e(c, e, r);
}, [
c,
t,
@@ -46073,7 +46143,7 @@ function OH({ toast: e, mode: t, monitor: n }) {
};
}
// src/react/components/loading-dots.tsx
-function kH({ label: e }) {
+function OH({ label: e }) {
return /* @__PURE__ */ (0, I.jsxs)("p", {
role: "status",
className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
@@ -46092,21 +46162,21 @@ function kH({ label: e }) {
});
}
// src/react/components/progress.tsx
-var AH = 100, J_e = .4;
-function jH({ label: e, value: t, max: n = 100, stops: r = [], tinted: i = !1 }) {
- let a = n > 0 ? n : 1, o = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), a), s = (e) => o(e) / a * AH;
+var kH = 100, nve = .4;
+function AH({ label: e, value: t, max: n = 100, stops: r = [], tinted: i = !1 }) {
+ let a = n > 0 ? n : 1, o = (e) => Math.min(Math.max(Number.isFinite(e) ? e : 0, 0), a), s = (e) => o(e) / a * kH;
return /* @__PURE__ */ (0, I.jsxs)("svg", {
role: "progressbar",
"aria-label": e,
"aria-valuemin": 0,
"aria-valuemax": a,
"aria-valuenow": o(t),
- viewBox: `0 0 ${AH} 1`,
+ viewBox: `0 0 ${kH} 1`,
preserveAspectRatio: "none",
className: "h-1.5 w-full overflow-hidden rounded-full",
children: [
/* @__PURE__ */ (0, I.jsx)("rect", {
- width: AH,
+ width: kH,
height: 1,
className: i ? "fill-text-primary/10" : "fill-background-tertiary-default"
}),
@@ -46117,7 +46187,7 @@ function jH({ label: e, value: t, max: n = 100, stops: r = [], tinted: i = !1 })
}),
r.map((e) => /* @__PURE__ */ (0, I.jsx)("rect", {
x: s(e),
- width: J_e,
+ width: nve,
height: 1,
className: "fill-background-secondary-default"
}, e))
@@ -46125,11 +46195,11 @@ function jH({ label: e, value: t, max: n = 100, stops: r = [], tinted: i = !1 })
});
}
// src/react/components/task-progress.tsx
-function MH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
+function jH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-task-progress": r ? "embedded" : "framed",
className: q("flex flex-col gap-1.5", !r && "gap-2 rounded-2lg bg-background-tertiary-default px-4 py-3 text-text-secondary"),
- children: n && n > 0 ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(jH, {
+ children: n && n > 0 ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(AH, {
label: e,
value: t,
max: n,
@@ -46137,11 +46207,11 @@ function MH({ label: e, value: t = 0, total: n, embedded: r = !1 }) {
}), /* @__PURE__ */ (0, I.jsx)("p", {
className: "text-caption-1-regular text-text-secondary wrap-anywhere",
children: e
- })] }) : /* @__PURE__ */ (0, I.jsx)(kH, { label: e })
+ })] }) : /* @__PURE__ */ (0, I.jsx)(OH, { label: e })
});
}
// src/react/library-processing/processing-line.tsx
-function NH(e) {
+function MH(e) {
let [t, n] = (0, F.useState)({
snapshot: e,
seconds: 0
@@ -46157,17 +46227,17 @@ function NH(e) {
return () => window.clearInterval(r);
}, [e, i]);
let a = i && t.snapshot === e ? t.seconds : 0;
- return R_e(a ? {
+ return K_e(a ? {
...e,
waited_seconds: r + a
} : e);
}
-function Y_e({ state: e }) {
- return NH(e);
+function rve({ state: e }) {
+ return MH(e);
}
-function X_e({ state: e }) {
- let t = NH(e);
- return /* @__PURE__ */ (0, I.jsx)(MH, {
+function ive({ state: e }) {
+ let t = MH(e);
+ return /* @__PURE__ */ (0, I.jsx)(jH, {
embedded: !0,
label: t,
value: Math.min(e.checked || 0, e.total || 0),
@@ -46175,7 +46245,7 @@ function X_e({ state: e }) {
});
}
// src/react/components/collapse-region.tsx
-function PH({ open: e, children: t, ...n }) {
+function NH({ open: e, children: t, ...n }) {
let r = (0, F.useRef)(null), i = (0, F.useRef)(!1);
return (0, F.useLayoutEffect)(() => {
let t = r.current;
@@ -46186,7 +46256,7 @@ function PH({ open: e, children: t, ...n }) {
children: t
});
}
-function FH(e) {
+function PH(e) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
...e,
"aria-hidden": !0,
@@ -46201,19 +46271,19 @@ function FH(e) {
});
}
// src/react/boardui/components/application/settings/settings-rows.tsx
-function IH({ className: e, children: t }) {
+function FH({ className: e, children: t }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
className: q("flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3", e),
children: t
});
}
-function LH({ className: e, children: t }) {
+function IH({ className: e, children: t }) {
return /* @__PURE__ */ (0, I.jsx)("p", {
className: q("w-full px-3 text-body-2-medium text-text-secondary", e),
children: t
});
}
-function Z_e({ label: e, description: t, children: n }) {
+function ave({ label: e, description: t, children: n }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: q("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, I.jsxs)("div", {
@@ -46229,7 +46299,7 @@ function Z_e({ label: e, description: t, children: n }) {
});
}
// src/react/settings/section.tsx
-function Q_e({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, children: o }) {
+function ove({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, children: o }) {
let s = n ? /* @__PURE__ */ (0, I.jsxs)("span", {
className: "inline-flex items-center gap-1.5",
children: [n, e]
@@ -46237,12 +46307,12 @@ function Q_e({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, childr
className: "flex w-full flex-wrap items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, I.jsx)("div", {
className: "min-w-40 flex-1",
- children: /* @__PURE__ */ (0, I.jsx)(LH, { children: s })
+ children: /* @__PURE__ */ (0, I.jsx)(IH, { children: s })
}), /* @__PURE__ */ (0, I.jsx)("div", {
className: "flex min-w-0 max-w-full",
children: i
})]
- }) : /* @__PURE__ */ (0, I.jsx)(LH, { children: s }), /* @__PURE__ */ (0, I.jsx)(IH, { children: o })] });
+ }) : /* @__PURE__ */ (0, I.jsx)(IH, { children: s }), /* @__PURE__ */ (0, I.jsx)(FH, { children: o })] });
return a ? /* @__PURE__ */ (0, I.jsx)("form", {
id: r,
"data-guide-target": t,
@@ -46259,13 +46329,13 @@ function Q_e({ title: e, guide: t, icon: n, id: r, aside: i, onSubmit: a, childr
children: c
});
}
-function $_e({ children: e }) {
+function sve({ children: e }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
className: "ui-settings-rows flex flex-col empty:hidden",
children: e
});
}
-function eve({ divided: e = !1, children: t }) {
+function cve({ divided: e = !1, children: t }) {
return e ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "flex flex-col gap-4 border-t border-separator-border py-4 pr-3 empty:hidden [&>.ui-settings-facts]:-mr-3",
children: t
@@ -46274,7 +46344,7 @@ function eve({ divided: e = !1, children: t }) {
children: t
});
}
-function tve({ label: e, html: t }) {
+function lve({ label: e, html: t }) {
let [n] = (0, F.useState)(t);
return /* @__PURE__ */ (0, I.jsx)("div", {
className: "contents",
@@ -46284,7 +46354,7 @@ function tve({ label: e, html: t }) {
dangerouslySetInnerHTML: { __html: n }
});
}
-function nve({ status: e, children: t }) {
+function uve({ status: e, children: t }) {
return /* @__PURE__ */ (0, I.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, I.jsx)("div", {
@@ -46293,34 +46363,34 @@ function nve({ status: e, children: t }) {
}) : null, t]
});
}
-function RH({ role: e, children: t }) {
+function LH({ role: e, children: t }) {
return /* @__PURE__ */ (0, I.jsx)("p", {
role: e,
className: "text-body-2-regular text-text-secondary",
children: t
});
}
-function zH({ children: e }) {
+function RH({ children: e }) {
return /* @__PURE__ */ (0, I.jsx)("p", {
role: "alert",
className: "text-body-2-regular text-text-error-primary",
children: e
});
}
-function BH({ children: e }) {
+function zH({ children: e }) {
return /* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-medium text-text-primary",
children: e
});
}
-function rve({ href: e, children: t, leadingIcon: n }) {
- return /* @__PURE__ */ (0, I.jsx)(gH, {
+function dve({ href: e, children: t, leadingIcon: n }) {
+ return /* @__PURE__ */ (0, I.jsx)(hH, {
href: e,
target: "_blank",
rel: "noopener noreferrer",
size: "small",
leadingIcon: n,
- trailingIcon: jB,
+ trailingIcon: AB,
className: "min-w-0 max-w-full",
children: /* @__PURE__ */ (0, I.jsx)("span", {
className: "min-w-0 whitespace-normal break-all",
@@ -46328,22 +46398,22 @@ function rve({ href: e, children: t, leadingIcon: n }) {
})
});
}
-function ive() {
- return /* @__PURE__ */ (0, I.jsx)(gH, {
+function fve() {
+ return /* @__PURE__ */ (0, I.jsx)(hH, {
href: "/tasks",
size: "small",
- trailingIcon: xB,
+ trailingIcon: bB,
className: "self-start",
children: "在任务中心查看进度"
});
}
-function ave({ children: e }) {
+function pve({ children: e }) {
return /* @__PURE__ */ (0, I.jsx)("dl", {
className: "ui-settings-facts flex flex-col empty:hidden",
children: e
});
}
-function ove({ term: e, children: t }) {
+function mve({ term: e, children: t }) {
return /* @__PURE__ */ (0, I.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, I.jsx)("dt", {
@@ -46355,7 +46425,7 @@ function ove({ term: e, children: t }) {
})]
});
}
-function VH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {
+function BH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing: i = !1, onOpenChange: a, contentClassName: o }) {
let s = (0, F.useId)(), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(!1), [d, f] = (0, F.useState)(n ?? t);
return (0, F.useLayoutEffect)(() => {
n !== void 0 && n !== d && c.current && l.current && (Bo(c.current, l.current, n), f(n));
@@ -46371,12 +46441,12 @@ function VH({ 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, I.jsx)(SB, {
+ i ? null : /* @__PURE__ */ (0, I.jsx)(xB, {
"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, I.jsx)(SB, {
+ i ? /* @__PURE__ */ (0, I.jsx)(xB, {
"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
@@ -46392,7 +46462,7 @@ function VH({ summary: e, defaultOpen: t = !1, isOpen: n, children: r, trailing:
})]
});
}
-function sve({ name: e }) {
+function hve({ name: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
"aria-hidden": !0,
"data-source-mark": e,
@@ -46402,59 +46472,62 @@ function sve({ name: e }) {
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
}
-function HH({ mark: e }) {
+function VH({ mark: e }) {
return e.startsWith("data:image/png;base64,") ? /* @__PURE__ */ (0, I.jsx)("img", {
src: e,
alt: "",
width: 16,
height: 16,
className: "size-(--icon-inline) shrink-0"
- }) : /* @__PURE__ */ (0, I.jsx)(sve, { name: e });
+ }) : /* @__PURE__ */ (0, I.jsx)(hve, { name: e });
}
// src/react/components/source-label.tsx
-var UH = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, cve = Object.fromEntries(Object.entries(_s).map(([e, t]) => [e, function({ className: e }) {
+var HH = (e) => e.startsWith("clouddrive:") ? e.split(":")[1] : e, gve = Object.fromEntries(Object.entries(_s).map(([e, t]) => [e, function({ className: e }) {
return /* @__PURE__ */ (0, I.jsx)("span", {
className: e,
- children: /* @__PURE__ */ (0, I.jsx)(HH, { mark: t })
+ children: /* @__PURE__ */ (0, I.jsx)(VH, { mark: t })
});
}]));
-function lve({ className: e }) {
+function _ve({ className: e }) {
return /* @__PURE__ */ (0, I.jsx)("span", {
className: e,
- children: /* @__PURE__ */ (0, I.jsx)(HH, { mark: "database" })
+ children: /* @__PURE__ */ (0, I.jsx)(VH, { mark: "database" })
});
}
-var WH = (e) => cve[UH(e)] ?? lve;
-function uve({ site: e, label: t }) {
- let [n, r] = (0, F.useState)(!1), i = e === "javdb" ? "/site-mark?source=javdb" : e === "missav" ? "/site-mark?domain=missav.com" : null;
+var UH = (e) => gve[HH(e)] ?? _ve;
+function vve({ site: e, label: t }) {
+ let [n, r] = (0, F.useState)(!1), i = e === "javdb" || e === "dmm" ? `/site-mark?source=${e}` : e === "missav" ? "/site-mark?domain=missav.com" : null;
return /* @__PURE__ */ (0, I.jsxs)("span", {
className: "inline-flex min-w-0 items-center gap-1.5",
- children: [n || !i ? /* @__PURE__ */ (0, I.jsx)(HH, { mark: "globe" }) : /* @__PURE__ */ (0, I.jsx)("img", {
+ children: [n || !i ? /* @__PURE__ */ (0, I.jsx)(VH, { mark: "globe" }) : /* @__PURE__ */ (0, I.jsx)("img", {
src: i,
alt: "",
className: "size-(--icon-inline) shrink-0 object-contain",
onError: () => r(!0)
- }), /* @__PURE__ */ (0, I.jsx)("span", { children: t })]
+ }), /* @__PURE__ */ (0, I.jsx)("span", {
+ className: "min-w-0 truncate",
+ children: t
+ })]
});
}
-function GH({ source: e, label: t }) {
- let n = UH(e);
+function WH({ source: e, label: t }) {
+ let n = HH(e);
return /* @__PURE__ */ (0, I.jsxs)("span", {
className: "inline-flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, I.jsx)(HH, { mark: _s[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(VH, { mark: _s[n] || (n === "local" ? "hard-drive" : "database") }), /* @__PURE__ */ (0, I.jsx)("span", {
className: "min-w-0 truncate",
children: t
})]
});
}
// src/react/library-processing/processing-traffic.tsx
-var KH = (e) => Xn(e).replace(/\s/g, ""), qH = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : KH(e), dve = (e, t) => {
- if (e === t) return KH(t);
+var GH = (e) => Xn(e).replace(/\s/g, ""), KH = (e) => e >= 1024 ** 2 && e < 1024 ** 3 ? `${Number((e / 1024 ** 2).toFixed(1))}MB` : GH(e), yve = (e, t) => {
+ if (e === t) return GH(t);
let [n, r] = Xn(e).split(" "), [i, a] = Xn(t).split(" ");
- return r === a ? `${n}-${i}${a}` : `${KH(e)}-${KH(t)}`;
-}, JH = (e, t, n) => e === void 0 ? dve(t, n) : `${e > 0 ? "约 " : ""}${KH(e)}`;
-function YH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDetailsChange: i }) {
- let a = HV(), [o, s] = (0, F.useState)(!1), c = (0, F.useId)(), l = r ?? o;
+ return r === a ? `${n}-${i}${a}` : `${GH(e)}-${GH(t)}`;
+}, qH = (e, t, n) => e === void 0 ? yve(t, n) : `${e > 0 ? "约 " : ""}${GH(e)}`;
+function JH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDetailsChange: i }) {
+ let a = VV(), [o, s] = (0, F.useState)(!1), c = (0, F.useId)(), l = r ?? o;
if (!e) return null;
let u = (e) => e.toLocaleString("zh-CN"), d = !!e.workload || !(!e.inventory || e.inventory.complete) || !!(e.unknown_files && e.inventory?.complete !== !1) || !!e.inventory?.errors;
return /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -46491,7 +46564,7 @@ function YH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe
children: "部分目录无法读取,数量和预估不完整"
}) : null
]
- }), /* @__PURE__ */ (0, I.jsx)(PH, {
+ }), /* @__PURE__ */ (0, I.jsx)(NH, {
open: !n,
"data-processing-estimate": "",
children: /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -46505,25 +46578,25 @@ function YH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe
children: [
/* @__PURE__ */ (0, I.jsxs)("p", {
className: "inline-flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, I.jsx)(LB, {
+ children: [/* @__PURE__ */ (0, I.jsx)(IB, {
"aria-hidden": !0,
className: "size-(--icon-inline) shrink-0"
}), e.inventory && !e.inventory.complete ? "已识别流量" : "预计流量"]
}),
/* @__PURE__ */ (0, I.jsx)("p", {
className: "text-title-3-semibold text-text-primary",
- children: JH(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)
+ children: qH(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)
}),
/* @__PURE__ */ (0, I.jsxs)("p", { children: [
e.unknown_route_estimated_bytes ? "已确认代理" : "代理",
" ",
- JH(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)
+ qH(e.metered_estimated_bytes, e.metered_estimated_min_bytes, e.metered_estimated_max_bytes)
] }),
t ? null : /* @__PURE__ */ (0, I.jsxs)("p", { children: [
"已用 ",
- /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.partial ? "约 " : "", KH(e.used_bytes)] }),
+ /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.partial ? "约 " : "", GH(e.used_bytes)] }),
" · 代理 ",
- KH(e.metered_used_bytes)
+ GH(e.metered_used_bytes)
] })
]
}), e.disk ? /* @__PURE__ */ (0, I.jsxs)("section", {
@@ -46532,25 +46605,25 @@ function YH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe
children: [
/* @__PURE__ */ (0, I.jsxs)("p", {
className: "inline-flex items-center gap-1.5",
- children: [/* @__PURE__ */ (0, I.jsx)(nV, {
+ children: [/* @__PURE__ */ (0, I.jsx)(tV, {
"aria-hidden": !0,
className: "size-(--icon-inline) shrink-0"
}), e.inventory && !e.inventory.complete ? "已识别占用" : "预计占用"]
}),
/* @__PURE__ */ (0, I.jsxs)("p", {
className: "text-title-3-semibold text-text-primary",
- children: ["约 ", KH(e.disk.estimated_bytes)]
+ children: ["约 ", GH(e.disk.estimated_bytes)]
}),
- e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, I.jsxs)("p", { children: ["抽帧临时文件约 ", qH(e.disk.temporary_bytes)] }) : null,
+ e.disk.temporary_bytes > 0 ? /* @__PURE__ */ (0, I.jsxs)("p", { children: ["抽帧临时文件约 ", KH(e.disk.temporary_bytes)] }) : null,
e.disk.volumes.map((e) => /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, I.jsxs)("p", { children: [
e.path,
" 剩余 ",
- e.free_bytes == null ? "未取得" : KH(e.free_bytes)
+ e.free_bytes == null ? "未取得" : GH(e.free_bytes)
] }), e.can_fit === !1 ? /* @__PURE__ */ (0, I.jsxs)("p", {
role: "status",
- children: ["空间不足,还差 ", KH(e.shortfall_bytes || 0)]
+ children: ["空间不足,还差 ", GH(e.shortfall_bytes || 0)]
}) : null]
}, e.path)),
e.disk.cache_unknown ? /* @__PURE__ */ (0, I.jsx)("p", {
@@ -46566,7 +46639,7 @@ function YH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe
className: "self-start",
"aria-expanded": l,
"aria-controls": c,
- trailingIcon: l ? CB : bB,
+ trailingIcon: l ? SB : yB,
onClick: () => {
s(!l), i?.(!l);
},
@@ -46585,12 +46658,12 @@ function YH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 items-start justify-between gap-2",
- children: [e.root ? /* @__PURE__ */ (0, I.jsx)(GH, {
+ children: [e.root ? /* @__PURE__ */ (0, I.jsx)(WH, {
source: e.location,
label: e.label
}) : /* @__PURE__ */ (0, I.jsxs)("span", {
className: "inline-flex min-w-0 items-center gap-1.5",
- children: [/* @__PURE__ */ (0, I.jsx)(HH, { mark: "globe" }), e.label]
+ children: [/* @__PURE__ */ (0, I.jsx)(VH, { mark: "globe" }), e.label]
}), /* @__PURE__ */ (0, I.jsx)("span", {
className: "shrink-0",
children: e.connection === "system" ? "跟随系统" : e.connection === "unknown" ? "连接待确认" : e.metered ? "代理" : "直连"
@@ -46612,7 +46685,7 @@ function YH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe
"待补资料 ",
u(e.workload.pending_jav_titles),
" 部 · 平均约 ",
- qH(e.workload.metadata_average_bytes || 0),
+ KH(e.workload.metadata_average_bytes || 0),
"/部"
]
}) : null,
@@ -46622,8 +46695,8 @@ function YH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe
"已用",
e.unobserved.length ? "约" : "",
" ",
- KH(e.used_bytes)
- ] }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["预计 ", JH(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]
+ GH(e.used_bytes)
+ ] }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["预计 ", qH(e.estimated_bytes, e.estimated_min_bytes, e.estimated_max_bytes)] })]
})
]
}, e.key))
@@ -46636,15 +46709,15 @@ function YH({ traffic: e, initial: t = !1, compact: n = !1, detailsOpen: r, onDe
});
}
// src/react/library-processing/library-processing-notice.tsx
-var XH = "peach.library-processing.collapsed";
-function ZH(e) {
+var YH = "peach.library-processing.collapsed";
+function XH(e) {
try {
- return !e || sessionStorage.getItem(XH) !== e;
+ return !e || sessionStorage.getItem(YH) !== e;
} catch {
return !0;
}
}
-function fve({ value: e, max: t }) {
+function bve({ value: e, max: t }) {
let n = Math.max(0, Math.min(100, e / t * 100));
return /* @__PURE__ */ (0, I.jsxs)("svg", {
role: "progressbar",
@@ -46674,17 +46747,17 @@ function fve({ value: e, max: t }) {
})]
});
}
-function QH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
- let [i, a] = (0, F.useState)(() => ZH(e?.job_id)), [o, s] = (0, F.useState)(!1), c = (0, F.useRef)(!1), l = (0, F.useRef)(0), u = i && !o, d = (0, F.useRef)(u);
+function ZH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
+ let [i, a] = (0, F.useState)(() => XH(e?.job_id)), [o, s] = (0, F.useState)(!1), c = (0, F.useRef)(!1), l = (0, F.useRef)(0), u = i && !o, d = (0, F.useRef)(u);
d.current = u;
- let f = (0, F.useId)(), [p, m] = (0, F.useState)(!1), h = (0, F.useRef)(null), g = !t && iH(e), _ = e?.status === "failed" && !g, v = rH(e);
+ let f = (0, F.useId)(), [p, m] = (0, F.useState)(!1), h = (0, F.useRef)(null), g = !t && rH(e), _ = e?.status === "failed" && !g, v = nH(e);
(0, F.useEffect)(() => {
- a(ZH(e?.job_id)), m(!1);
+ a(XH(e?.job_id)), m(!1);
}, [e?.job_id]);
let y = () => {
if (!(o && (c.current = !0, s(!1), i))) {
try {
- i && e?.job_id ? sessionStorage.setItem(XH, e.job_id) : sessionStorage.removeItem(XH);
+ i && e?.job_id ? sessionStorage.setItem(YH, e.job_id) : sessionStorage.removeItem(YH);
} catch {}
i && m(!1), a(!i);
}
@@ -46714,7 +46787,7 @@ function QH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
r = !0, o.disconnect(), u.disconnect(), window.removeEventListener("resize", a), t.style.removeProperty("--processing-toast-space");
};
}, [n]), e?.archived && !t || !t && !v && !_ && !g) return null;
- let b = t ? null : tH(e), x = !!t || !!e?.stalled || g || !!b, S = g ? "处理已结束,部分项目需处理" : _ ? "扫描与采集已中断" : e?.status === "paused" ? "扫描与采集已暂停" : "扫描与采集";
+ let b = t ? null : eH(e), x = !!t || !!e?.stalled || g || !!b, S = g ? "处理已结束,部分项目需处理" : _ ? "扫描与采集已中断" : e?.status === "paused" ? "扫描与采集已暂停" : "扫描与采集";
return /* @__PURE__ */ (0, I.jsxs)("aside", {
ref: h,
"data-processing-dock": "",
@@ -46728,13 +46801,13 @@ function QH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 items-center gap-3",
children: [
- v && e?.total ? /* @__PURE__ */ (0, I.jsx)(fve, {
+ v && e?.total ? /* @__PURE__ */ (0, I.jsx)(bve, {
value: e.checked || 0,
max: e.total
- }) : _ || x ? /* @__PURE__ */ (0, I.jsx)(cge, {
+ }) : _ || x ? /* @__PURE__ */ (0, I.jsx)(gge, {
"aria-hidden": !0,
className: "size-5 shrink-0"
- }) : /* @__PURE__ */ (0, I.jsx)(bge, {
+ }) : /* @__PURE__ */ (0, I.jsx)(Oge, {
"aria-hidden": !0,
className: "size-5 shrink-0"
}),
@@ -46746,14 +46819,14 @@ function QH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
}), v ? /* @__PURE__ */ (0, I.jsx)("p", {
"data-processing-eta": "",
className: "text-caption-1-regular text-text-secondary tabular-nums wrap-anywhere",
- children: sH(e)
+ children: oH(e)
}) : null]
}),
/* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
variant: "secondary",
iconOnly: !0,
- leadingIcon: FH,
+ leadingIcon: PH,
"data-processing-toggle": "",
"data-collapse-upward": "",
"aria-label": u ? "收起任务详情" : "展开任务详情",
@@ -46765,24 +46838,24 @@ function QH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
size: "small",
variant: "secondary",
iconOnly: !0,
- leadingIcon: DB,
+ leadingIcon: EB,
"aria-label": "隐藏任务提示",
onClick: r
}) : null
]
}),
- /* @__PURE__ */ (0, I.jsx)(YH, {
+ /* @__PURE__ */ (0, I.jsx)(JH, {
traffic: e?.traffic,
compact: !u,
detailsOpen: p,
onDetailsChange: m
}),
- b ? /* @__PURE__ */ (0, I.jsx)(U_e, {
+ b ? /* @__PURE__ */ (0, I.jsx)(Z_e, {
state: e,
slow: b
}) : null
]
- }), /* @__PURE__ */ (0, I.jsx)(PH, {
+ }), /* @__PURE__ */ (0, I.jsx)(NH, {
id: f,
open: u,
"data-processing-body": "",
@@ -46799,14 +46872,14 @@ function QH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
"aria-current": e.status === "current" ? "step" : void 0,
className: q("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, I.jsx)(ege, {
+ e.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(cge, {
"aria-hidden": !0,
className: "size-(--icon-inline) shrink-0"
- }) : /* @__PURE__ */ (0, I.jsx)(tge, {
+ }) : /* @__PURE__ */ (0, I.jsx)(lge, {
"aria-hidden": !0,
className: q("size-(--icon-inline) shrink-0", e.status === "current" && "text-border-focus-ring")
}),
- /* @__PURE__ */ (0, I.jsx)(pE, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),
+ /* @__PURE__ */ (0, I.jsx)(lE, { children: e.status === "complete" ? "已完成:" : e.status === "current" ? "当前:" : "待处理:" }),
e.status === "complete" ? /* @__PURE__ */ (0, I.jsx)("s", {
className: "wrap-anywhere",
children: e.label
@@ -46819,11 +46892,11 @@ function QH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
}) : null,
/* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-2-regular wrap-anywhere",
- children: t || (_ || g ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, I.jsx)(Y_e, { state: e }))
+ children: t || (_ || g ? e?.error || "请查看并处理未完成项" : /* @__PURE__ */ (0, I.jsx)(rve, { state: e }))
}),
g ? /* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-2-regular wrap-anywhere",
- children: aH
+ children: iH
}) : null,
v && e?.stage && !e.steps?.length ? /* @__PURE__ */ (0, I.jsxs)("p", {
className: "text-caption-1-regular text-text-tertiary",
@@ -46837,20 +46910,20 @@ function QH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
}), /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-wrap items-center justify-between gap-2 pt-3",
children: [
- /* @__PURE__ */ (0, I.jsx)(gH, {
+ /* @__PURE__ */ (0, I.jsx)(hH, {
href: "/data-cleanup#libraryProcessing",
variant: "secondary",
size: "small",
- trailingIcon: xB,
+ trailingIcon: bB,
children: t || _ || g ? "打开扫描与采集" : "任务详情"
}),
- g ? /* @__PURE__ */ (0, I.jsx)(gH, {
- href: oH,
+ g ? /* @__PURE__ */ (0, I.jsx)(hH, {
+ href: aH,
size: "small",
- trailingIcon: xB,
+ trailingIcon: bB,
children: "查看全部内容"
}) : null,
- v ? /* @__PURE__ */ (0, I.jsx)(DH, {
+ v ? /* @__PURE__ */ (0, I.jsx)(EH, {
state: e,
disabled: !!t
}) : null
@@ -46860,67 +46933,67 @@ function QH({ state: e, problem: t = "", measure: n = !1, onHide: r }) {
})]
});
}
-function pve(e) {
- let { job: t } = OH(e);
- return /* @__PURE__ */ (0, I.jsx)(QH, {
+function xve(e) {
+ let { job: t } = DH(e);
+ return /* @__PURE__ */ (0, I.jsx)(ZH, {
state: t.data,
- problem: t.isError ? t.data ? uH : lr(t.error) : ""
+ problem: t.isError ? t.data ? lH : lr(t.error) : ""
});
}
// src/react/library-processing/processing-notice-visibility.ts
-var $H = "peach.library-processing.visibility", eU = /* @__PURE__ */ new Set(), tU = "";
-function mve() {
+var QH = "peach.library-processing.visibility", $H = /* @__PURE__ */ new Set(), eU = "";
+function Sve() {
try {
- return sessionStorage.getItem($H) || "";
+ return sessionStorage.getItem(QH) || "";
} catch {
- return tU;
+ return eU;
}
}
-function hve(e) {
- return eU.add(e), () => {
- eU.delete(e);
+function Cve(e) {
+ return $H.add(e), () => {
+ $H.delete(e);
};
}
-function nU(e, t) {
- tU = `${t ? "shown" : "hidden"}:${e}`;
+function tU(e, t) {
+ eU = `${t ? "shown" : "hidden"}:${e}`;
try {
- sessionStorage.setItem($H, tU);
+ sessionStorage.setItem(QH, eU);
} catch {}
- eU.forEach((e) => e());
+ $H.forEach((e) => e());
}
-function rU(e) {
- let t = (0, F.useSyncExternalStore)(hve, mve, () => "");
+function nU(e) {
+ let t = (0, F.useSyncExternalStore)(Cve, Sve, () => "");
return {
hidden: t === `hidden:${e}`,
requested: t === `shown:${e}`
};
}
// src/react/library-processing/library-processing-dock.tsx
-var iU = "peach-library-processing";
-function gve({ toast: e }) {
- let { job: t, settled: n } = OH({
+var rU = "peach-library-processing";
+function wve({ toast: e }) {
+ let { job: t, settled: n } = DH({
toast: e,
mode: "notice"
- }), r = (0, F.useRef)(!1), i = t.data, a = i?.job_id || "unavailable", { hidden: o, requested: s } = rU(a), c = t.isError ? i ? uH : lr(t.error) : "";
+ }), r = (0, F.useRef)(!1), i = t.data, a = i?.job_id || "unavailable", { hidden: o, requested: s } = nU(a), c = t.isError ? i ? lH : lr(t.error) : "";
return (0, F.useEffect)(() => {
- let e = rH(i), t = i?.status === "failed" && (n?.job_id === i.job_id || mH(i));
- o || i?.archived && !c || !e && !c && !t && !(s && i?.status === "failed") ? (r.current && qV.dismiss(iU), r.current = !1) : (qV.custom(() => /* @__PURE__ */ (0, I.jsx)("div", {
+ let e = nH(i), t = i?.status === "failed" && (n?.job_id === i.job_id || pH(i));
+ o || i?.archived && !c || !e && !c && !t && !(s && i?.status === "failed") ? (r.current && KV.dismiss(rU), r.current = !1) : (KV.custom(() => /* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-react",
- children: /* @__PURE__ */ (0, I.jsx)(QH, {
+ children: /* @__PURE__ */ (0, I.jsx)(ZH, {
state: i,
problem: c,
measure: !0,
- onHide: () => nU(a, !1)
+ onHide: () => tU(a, !1)
})
}), {
- id: iU,
+ id: rU,
toasterId: "processing",
duration: Infinity,
dismissible: !1,
closeButton: !1,
className: "processing-task-toast",
onDismiss: () => {
- nU(a, !1), r.current = !1;
+ tU(a, !1), r.current = !1;
}
}), r.current = !0);
}, [
@@ -46931,19 +47004,19 @@ function gve({ toast: e }) {
o,
s
]), (0, F.useEffect)(() => () => {
- r.current && qV.dismiss(iU), r.current = !1;
+ r.current && KV.dismiss(rU), r.current = !1;
}, []), null;
}
// src/react/network-banner.tsx
-var _ve = ["network-status"], vve = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";
-function yve(e) {
+var Tve = ["network-status"], Eve = "Peach 连不上外网,资料采集、关注更新和在线来源暂不可用;本机媒体照常浏览和播放。";
+function Dve(e) {
return e?.state === "online" ? 12e4 : 3e4;
}
-function bve() {
+function Ove() {
let e = Ft({
- queryKey: _ve,
+ queryKey: Tve,
queryFn: ({ signal: e }) => B("/api/network-status", e),
- refetchInterval: (e) => yve(e.state.data),
+ refetchInterval: (e) => Dve(e.state.data),
retry: !1
}), t = document.querySelector("[data-network-banner]");
return e.data?.state !== "offline" || !t ? null : (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsxs)("aside", {
@@ -46954,56 +47027,56 @@ function bve() {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-alert" })
- }), /* @__PURE__ */ (0, I.jsx)("p", { children: vve })] }), /* @__PURE__ */ (0, I.jsx)("a", {
+ }), /* @__PURE__ */ (0, I.jsx)("p", { children: Eve })] }), /* @__PURE__ */ (0, I.jsx)("a", {
href: "/settings/network#peachProxy",
children: "检查 Peach 代理"
})]
}), t);
}
// src/react/components/segmented.tsx
-function xve(e) {
- let t = fL(yH("selection"));
- return /* @__PURE__ */ (0, I.jsx)(hB, {
+function kve(e) {
+ let t = dL(vH("selection"));
+ return /* @__PURE__ */ (0, I.jsx)(mB, {
...e,
ref: t
});
}
-function aU(e) {
- let t = fL(yH("selection"));
- return /* @__PURE__ */ (0, I.jsx)(Pz, {
+function iU(e) {
+ let t = dL(vH("selection"));
+ return /* @__PURE__ */ (0, I.jsx)(Nz, {
...e,
ref: t
});
}
-var oU = "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", sU = "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", Sve = "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", cU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", lU = "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)", uU = [
+var aU = "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", oU = "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", Ave = "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", sU = "inline-flex w-max max-w-full flex-none items-center gap-0.5 rounded-lg", cU = "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)", lU = [
["library", "馆藏"],
["releases", "新作"],
["discover", "发现"],
["wants", "想要"]
-], dU = (e) => uU.some(([t]) => t === e) ? e : "library", fU = (e) => dU(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
-function Cve(e) {
+], uU = (e) => lU.some(([t]) => t === e) ? e : "library", dU = (e) => uU(e) === "library" ? "/?jav=1" : `/jav?tab=${e}`;
+function jve(e) {
let t = new URLSearchParams(e);
return t.delete("tab"), t.set("jav", "1"), "/?" + t;
}
// src/onboarding/guide-catalog.ts
-var pU = (e, t, n, r, i, a) => ({
+var fU = (e, t, n, r, i, a) => ({
id: e,
title: t,
body: n,
route: r,
target: i,
scope: a
-}), mU = (e, t, n, r, i) => pU(e, t, n, r, i), hU = [
+}), pU = (e, t, n, r, i) => fU(e, t, n, r, i), mU = [
{
id: "basics",
kind: "interface",
title: "认识界面",
summary: "4 步认识搜索、导航、作品详情和设置。",
steps: [
- mU("search", "搜索馆藏", "输入作品名、番号、艺人、厂牌或标签。搜索结果来自已经入库的内容。", "/", "#q, #searchBtn"),
- mU("navigation", "切换浏览入口", "在侧栏按人物、厂牌和标签浏览。手机上用导航按钮展开侧栏;入口与顺序可以在设置里调整。", "/", "#filterBtn, [data-sidebar-nav]"),
- mU("cards", "打开作品详情", "选择作品查看资料、版本和播放入口。首次扫描尚未入库时,可以先继续认识导航。", "/", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),
- mU("preferences", "调整自己的界面", "侧栏底部的设置包含显示与播放偏好;手机上先展开侧栏。媒体目录、网络和后台服务放在其中的 Peach 配置入口。", "/", "#settingsBtn, #filterBtn")
+ pU("search", "搜索馆藏", "输入作品名、番号、艺人、厂牌或标签。搜索结果来自已经入库的内容。", "/", "#q, #searchBtn"),
+ pU("navigation", "切换浏览入口", "在侧栏按人物、厂牌和标签浏览。手机上用导航按钮展开侧栏;入口与顺序可以在设置里调整。", "/", "#filterBtn, [data-sidebar-nav]"),
+ pU("cards", "打开作品详情", "选择作品查看资料、版本和播放入口。首次扫描尚未入库时,可以先继续认识导航。", "/", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),
+ pU("preferences", "调整自己的界面", "侧栏底部的设置包含显示与播放偏好;手机上先展开侧栏。媒体目录、网络和后台服务放在其中的 Peach 配置入口。", "/", "#settingsBtn, #filterBtn")
]
},
{
@@ -47012,23 +47085,23 @@ var pU = (e, t, n, r, i, a) => ({
title: "找到并播放",
summary: "搜索、筛选、详情、版本、字幕和播放器。",
steps: [
- mU("library", "选择媒体库", "导航顶部可以切换全部媒体库或某个媒体库;手机上先展开侧栏。媒体库把不同目录组织成一组。", "/", "#brandHome, #filterBtn"),
- mU("search", "按关键词找内容", "输入作品、番号或人物名称,结合筛选与排序定位内容。搜索记录数量可在搜索与推荐中设置。", "/", "#q, #searchBtn"),
- mU("filter", "筛选与清除", "多个筛选条件会共同缩小结果。找不到内容时先检查媒体库和筛选条件。", "/", "[data-catalog-frame]"),
+ pU("library", "选择媒体库", "导航顶部可以切换全部媒体库或某个媒体库;手机上先展开侧栏。媒体库把不同目录组织成一组。", "/", "#brandHome, #filterBtn"),
+ pU("search", "按关键词找内容", "输入作品、番号或人物名称,结合筛选与排序定位内容。搜索记录数量可在搜索与推荐中设置。", "/", "#q, #searchBtn"),
+ pU("filter", "筛选与清除", "多个筛选条件会共同缩小结果。找不到内容时先检查媒体库和筛选条件。", "/", "[data-catalog-frame]"),
{
- ...pU("detail", "作品详情", "这里显示当前作品的标题和源文件工具。评分、人物和标签在下方;有分卷或版本的作品可从馆藏卡片进入相应队列。", "/", "[data-item-title]"),
+ ...fU("detail", "作品详情", "这里显示当前作品的标题和源文件工具。评分、人物和标签在下方;有分卷或版本的作品可从馆藏卡片进入相应队列。", "/", "[data-item-title]"),
surface: "detail"
},
{
- ...pU("player", "播放器控件", "底部控制条提供播放、进度、音量和全屏。右侧齿轮打开播放速度、字幕、画面旋转和清晰度等选项。", "/", "#stage .vjs-control-bar"),
+ ...fU("player", "播放器控件", "底部控制条提供播放、进度、音量和全屏。右侧齿轮打开播放速度、字幕、画面旋转和清晰度等选项。", "/", "#stage .vjs-control-bar"),
surface: "player"
},
{
- ...pU("subtitles", "字幕与播放选项", "从播放器齿轮菜单进入字幕,可以选择已有字幕、加载本地字幕文件或搜索字幕;播放速度和清晰度也在这个菜单中。", "/", "#stage [data-player-subtitles]"),
+ ...fU("subtitles", "字幕与播放选项", "从播放器齿轮菜单进入字幕,可以选择已有字幕、加载本地字幕文件或搜索字幕;播放速度和清晰度也在这个菜单中。", "/", "#stage [data-player-subtitles]"),
surface: "subtitles"
},
{
- ...pU("external", "外部播放器", "在这里选择本地播放器、M3U 播放列表或网络播放地址,再点打开。另一台设备需要能访问当前 Peach 地址。", "/", "#stage [data-local-playback-row]"),
+ ...fU("external", "外部播放器", "在这里选择本地播放器、M3U 播放列表或网络播放地址,再点打开。另一台设备需要能访问当前 Peach 地址。", "/", "#stage [data-local-playback-row]"),
surface: "detail"
}
]
@@ -47040,15 +47113,15 @@ var pU = (e, t, n, r, i, a) => ({
summary: "评分、标记、播放列表与当前播放队列。",
steps: [
{
- ...mU("marks", "评分", "点击星星给作品评分;下方的喜欢、稍后看和加入播放列表用于保存感兴趣的内容。", "/", "#stage [data-item-rating]"),
+ ...pU("marks", "评分", "点击星星给作品评分;下方的喜欢、稍后看和加入播放列表用于保存感兴趣的内容。", "/", "#stage [data-item-rating]"),
surface: "detail"
},
{
- ...mU("mark-actions", "标记与加入列表", "喜欢影响口味推荐,稍后看便于回找;加入播放列表可把作品整理到自己的列表。", "/", "#stage [data-item-feedback]"),
+ ...pU("mark-actions", "标记与加入列表", "喜欢影响口味推荐,稍后看便于回找;加入播放列表可把作品整理到自己的列表。", "/", "#stage [data-item-feedback]"),
surface: "detail"
},
- mU("lists", "建立播放列表", "在这里输入名称,创建自己的播放列表。之后从作品详情的加入播放列表按钮添加内容。", "/playlists", "[data-playlist-create]"),
- mU("queue", "从列表开始播放", "选择一张播放列表卡片进入队列,查看和调整播放顺序。没有列表时先创建,再加入作品。", "/playlists", "[data-playlist-card]")
+ pU("lists", "建立播放列表", "在这里输入名称,创建自己的播放列表。之后从作品详情的加入播放列表按钮添加内容。", "/playlists", "[data-playlist-create]"),
+ pU("queue", "从列表开始播放", "选择一张播放列表卡片进入队列,查看和调整播放顺序。没有列表时先创建,再加入作品。", "/playlists", "[data-playlist-card]")
]
},
{
@@ -47057,10 +47130,10 @@ var pU = (e, t, n, r, i, a) => ({
title: "按人物与主题浏览",
summary: "从人物、厂牌和标签继续发现相关馆藏。",
steps: [
- mU("people", "艺人与创作者", "选择人物卡片进入资料页,查看相关作品、照片与已连接的来源。上方可以切换艺人、卖家与在线人物。", "/performers", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),
- mU("studios", "厂牌", "选择厂牌卡片集中查看作品。资料页中的作品仍会受到当前媒体库范围影响。", "/studios", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),
- mU("tags", "标签与主题", "选择标签继续浏览相关馆藏;本地与在线使用不同的标签词表。", "/tags", "[data-index-body] [data-alpha-tag], [data-index-body] [data-tag-chip], [data-index-body] [data-empty-state]"),
- mU("manage-tags", "管理标签", "铅笔按钮打开标签管理,用于整理标签名称和关系;再次点击返回浏览。", "/tags", "[data-tag-mode]")
+ pU("people", "艺人与创作者", "选择人物卡片进入资料页,查看相关作品、照片与已连接的来源。上方可以切换艺人、卖家与在线人物。", "/performers", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),
+ pU("studios", "厂牌", "选择厂牌卡片集中查看作品。资料页中的作品仍会受到当前媒体库范围影响。", "/studios", "[data-index-body] [data-index-cell], [data-index-body] [data-empty-state]"),
+ pU("tags", "标签与主题", "选择标签继续浏览相关馆藏;本地与在线使用不同的标签词表。", "/tags", "[data-index-body] [data-alpha-tag], [data-index-body] [data-tag-chip], [data-index-body] [data-empty-state]"),
+ pU("manage-tags", "管理标签", "铅笔按钮打开标签管理,用于整理标签名称和关系;再次点击返回浏览。", "/tags", "[data-tag-mode]")
]
},
{
@@ -47069,10 +47142,10 @@ var pU = (e, t, n, r, i, a) => ({
title: "JAV 与追新",
summary: "馆藏、新作、想要清单与高清版。",
steps: [
- mU("library", "JAV 馆藏", "按番号、出演者和厂牌查找已入库的作品,可以选择官方封面或预览图。", fU("library"), "[data-catalog-frame]"),
- mU("new", "发现推荐", "发现页按口味推荐作品。在这里切换馆藏或外部内容,并按标签筛选。", fU("discover"), "[data-jav-filter] [data-catalog-views]"),
- mU("wants", "查看想要清单", "喜欢的外部作品可以加入想要清单;在这里切换馆藏、发现与想要。", fU("discover"), "[aria-label=\"JAV 分区\"]"),
- mU("quality", "高清版", "待升级卡片列出当前版本信息和判定原因,可以查看版本或查找资源;没有目标时这里显示空状态。", "/quality-goals", "[data-goal-id], #main [data-empty-state]")
+ pU("library", "JAV 馆藏", "按番号、出演者和厂牌查找已入库的作品,可以选择官方封面或预览图。", dU("library"), "[data-catalog-frame]"),
+ pU("new", "发现推荐", "发现页按口味推荐作品。在这里切换馆藏或外部内容,并按标签筛选。", dU("discover"), "[data-jav-filter] [data-catalog-views]"),
+ pU("wants", "查看想要清单", "喜欢的外部作品可以加入想要清单;在这里切换馆藏、发现与想要。", dU("discover"), "[aria-label=\"JAV 分区\"]"),
+ pU("quality", "高清版", "待升级卡片列出当前版本信息和判定原因,可以查看版本或查找资源;没有目标时这里显示空状态。", "/quality-goals", "[data-goal-id], #main [data-empty-state]")
]
},
{
@@ -47081,9 +47154,9 @@ var pU = (e, t, n, r, i, a) => ({
title: "关注创作者",
summary: "多来源更新、同作品合并和来源状态。",
steps: [
- mU("feed", "集中看关注更新", "来自不同来源的创作者更新汇集在这里,选择一项更新查看内容;尚未关注来源时,按空状态中的入口添加。", "/follow", "[data-follow-item], [data-follow-empty] [data-empty-state]"),
- mU("sources", "管理关注来源", "从列表查看启用状态、采集结果和失败原因;切换到添加区域,添加创作者或订阅来源。", "/subscriptions", "[aria-label=\"关注管理区域\"]"),
- mU("credentials", "按需配置凭据", "部分来源需要登录凭据;先确认要启用的来源,再展开对应站点,填写其要求的信息。", "/settings/subscriptions", "[data-guide-target=\"credentials\"]")
+ pU("feed", "集中看关注更新", "来自不同来源的创作者更新汇集在这里,选择一项更新查看内容;尚未关注来源时,按空状态中的入口添加。", "/follow", "[data-follow-item], [data-follow-empty] [data-empty-state]"),
+ pU("sources", "管理关注来源", "从列表查看启用状态、采集结果和失败原因;切换到添加区域,添加创作者或订阅来源。", "/subscriptions", "[aria-label=\"关注管理区域\"]"),
+ pU("credentials", "按需配置凭据", "部分来源需要登录凭据;先确认要启用的来源,再展开对应站点,填写其要求的信息。", "/settings/subscriptions", "[data-guide-target=\"credentials\"]")
]
},
{
@@ -47092,9 +47165,9 @@ var pU = (e, t, n, r, i, a) => ({
title: "专注观看",
summary: "播放墙、沉浸模式与详情小窗。",
steps: [
- mU("wall", "播放墙", "播放墙提供多画面观看入口。结束导览后点击进入,再选择要播放的内容。", "/", "#wallBtn"),
- mU("immerse", "沉浸模式", "沉浸模式适合连续观看。点击入口会进入观看流程,请在准备好播放时使用。", "/", "#immerseBtn"),
- mU("mini", "离开详情后继续看", "开启小窗播放后,离开详情可以继续观看。自动播放、小窗和快进步长都在浏览与播放设置中。", "/settings/playback", "#miniplayerSetting")
+ pU("wall", "播放墙", "播放墙提供多画面观看入口。结束导览后点击进入,再选择要播放的内容。", "/", "#wallBtn"),
+ pU("immerse", "沉浸模式", "沉浸模式适合连续观看。点击入口会进入观看流程,请在准备好播放时使用。", "/", "#immerseBtn"),
+ pU("mini", "离开详情后继续看", "开启小窗播放后,离开详情可以继续观看。自动播放、小窗和快进步长都在浏览与播放设置中。", "/settings/playback", "#miniplayerSetting")
]
},
{
@@ -47103,11 +47176,11 @@ var pU = (e, t, n, r, i, a) => ({
title: "整理与维护",
summary: "扫描、补资料、复核、文件整理与回收站。",
steps: [
- mU("scan", "扫描与补资料", "在媒体库处理区域选择扫描和资料处理范围。读取策略取决于媒体库配置;导览不会启动任务。", "/data-cleanup", "#libraryProcessing"),
- mU("review", "人工复核", "先按分类找到待复核资料,再查看项目的来源和证据后作决定。", "/review", "[aria-labelledby=\"reviewcategories\"]"),
- mU("organize", "文件整理", "文件整理先查看预览,确认命名与目标目录再执行。资料整理和真实文件操作有不同的影响范围。", "/data-cleanup", "[data-cleanup-organize]"),
- mU("trash", "回收站", "查看已移入回收站的作品,按需要恢复或处理。永久删除前认真核对确认框中的范围。", "/trash", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),
- mU("tasks", "任务与失败原因", "任务记录显示处理状态;展开记录查看详情与失败原因。还没有任务时,这里会说明哪些操作会留下记录。", "/tasks", "[data-run-id], #main [data-empty-state]")
+ pU("scan", "扫描与补资料", "在媒体库处理区域选择扫描和资料处理范围。读取策略取决于媒体库配置;导览不会启动任务。", "/data-cleanup", "#libraryProcessing"),
+ pU("review", "人工复核", "先按分类找到待复核资料,再查看项目的来源和证据后作决定。", "/review", "[aria-labelledby=\"reviewcategories\"]"),
+ pU("organize", "文件整理", "文件整理先查看预览,确认命名与目标目录再执行。资料整理和真实文件操作有不同的影响范围。", "/data-cleanup", "[data-cleanup-organize]"),
+ pU("trash", "回收站", "查看已移入回收站的作品,按需要恢复或处理。永久删除前认真核对确认框中的范围。", "/trash", "[data-media-grid] > [data-id], [data-catalog-row], [data-media-empty]"),
+ pU("tasks", "任务与失败原因", "任务记录显示处理状态;展开记录查看详情与失败原因。还没有任务时,这里会说明哪些操作会留下记录。", "/tasks", "[data-run-id], #main [data-empty-state]")
]
},
{
@@ -47116,10 +47189,10 @@ var pU = (e, t, n, r, i, a) => ({
title: "了解自己的馆藏",
summary: "统计、口味,以及浏览历史和书签来源。",
steps: [
- mU("stats", "馆藏统计", "选择统计视图查看馆藏、存储和观看情况,各视图中的入口可继续查看相关作品。", "/stats", "[aria-label=\"统计视图\"]"),
- mU("taste", "口味与记录", "在这里切换浏览器记录与 Peach 观看评价,分析各自的口味。", "/taste", "[aria-label=\"口味分析的数据来源\"]"),
- mU("import", "取得浏览历史与书签", "读取浏览器记录需要在运行 Peach 的电脑操作;更多方式菜单可以导入历史或书签文件,适合其它设备。", "/taste", "[data-guide-target=\"history-import\"]"),
- mU("history", "管理记录来源", "已取得的记录来源集中列在这里,可以停用本机浏览器读取或移除已导入的数据源;导览不会修改这些记录。", "/taste", "section[aria-label=\"数据源\"]")
+ pU("stats", "馆藏统计", "选择统计视图查看馆藏、存储和观看情况,各视图中的入口可继续查看相关作品。", "/stats", "[aria-label=\"统计视图\"]"),
+ pU("taste", "口味与记录", "在这里切换浏览器记录与 Peach 观看评价,分析各自的口味。", "/taste", "[aria-label=\"口味分析的数据来源\"]"),
+ pU("import", "取得浏览历史与书签", "读取浏览器记录需要在运行 Peach 的电脑操作;更多方式菜单可以导入历史或书签文件,适合其它设备。", "/taste", "[data-guide-target=\"history-import\"]"),
+ pU("history", "管理记录来源", "已取得的记录来源集中列在这里,可以停用本机浏览器读取或移除已导入的数据源;导览不会修改这些记录。", "/taste", "section[aria-label=\"数据源\"]")
]
},
{
@@ -47128,9 +47201,9 @@ var pU = (e, t, n, r, i, a) => ({
title: "从外部加入内容",
summary: "云下载、目录映射与浏览器添加。",
steps: [
- mU("downloads", "配置下载渠道", "先连接支持的渠道,再指定云端目标目录与本地媒体目录。下载完成后按目录规则入库。", "/settings/downloads", "[data-guide-target=\"download\"]"),
- mU("search", "搜索资源", "资源搜索使用配置的索引器。查到结果后还需要你主动选择下载。", "/settings/subscriptions", "[data-guide-target=\"indexers\"]"),
- mU("browser", "浏览器添加 JAV", "用户脚本与 Peach 配对后可从浏览器添加作品。专用令牌、默认渠道和开关在下载渠道里管理。", "/settings/downloads", "[data-guide-target=\"browser\"]")
+ pU("downloads", "配置下载渠道", "先连接支持的渠道,再指定云端目标目录与本地媒体目录。下载完成后按目录规则入库。", "/settings/downloads", "[data-guide-target=\"download\"]"),
+ pU("search", "搜索资源", "资源搜索使用配置的索引器。查到结果后还需要你主动选择下载。", "/settings/subscriptions", "[data-guide-target=\"indexers\"]"),
+ pU("browser", "浏览器添加 JAV", "用户脚本与 Peach 配对后可从浏览器添加作品。专用令牌、默认渠道和开关在下载渠道里管理。", "/settings/downloads", "[data-guide-target=\"browser\"]")
]
},
{
@@ -47139,18 +47212,18 @@ var pU = (e, t, n, r, i, a) => ({
title: "手机与其他设备",
summary: "访问地址、密码、局域网和公网入口。",
steps: [
- mU("address", "找到访问地址", "同一局域网的设备使用 Peach 的局域网地址。仅本机访问时,其它设备无法连接。", "/settings/network", "[data-guide-target=\"port\"]"),
- mU("password", "访问密码", "能连接到 Peach 的设备按访问密码登录。显示偏好与访问权限是不同的设置。", "/settings/network", "[data-guide-target=\"access\"]"),
- mU("tunnel", "需要时启用公网入口", "Cloudflare 公网入口适合离开局域网后访问,需要按实际部署配置连接信息。", "/settings/network", "[data-guide-target=\"tunnel\"]")
+ pU("address", "找到访问地址", "同一局域网的设备使用 Peach 的局域网地址。仅本机访问时,其它设备无法连接。", "/settings/network", "[data-guide-target=\"port\"]"),
+ pU("password", "访问密码", "能连接到 Peach 的设备按访问密码登录。显示偏好与访问权限是不同的设置。", "/settings/network", "[data-guide-target=\"access\"]"),
+ pU("tunnel", "需要时启用公网入口", "Cloudflare 公网入口适合离开局域网后访问,需要按实际部署配置连接信息。", "/settings/network", "[data-guide-target=\"tunnel\"]")
]
}
-], wve = "当前浏览器 · 修改后自动保存", gU = "跟随馆藏 · 修改后自动保存", _U = "运行 Peach 的电脑 · 确认后保存配置", vU = (e, t, n = wve) => t.map(([t, r, i, a, o]) => pU(t, r, i, `/settings/${e}`, a || `[data-guide-target="${t}"]`, o || n)), yU = [
+], Mve = "当前浏览器 · 修改后自动保存", hU = "跟随馆藏 · 修改后自动保存", gU = "运行 Peach 的电脑 · 确认后保存配置", _U = (e, t, n = Mve) => t.map(([t, r, i, a, o]) => fU(t, r, i, `/settings/${e}`, a || `[data-guide-target="${t}"]`, o || n)), vU = [
{
id: "appearance",
kind: "settings",
title: Of.appearance,
summary: "主题、光晕与导航入口。",
- steps: vU("appearance", [
+ steps: _U("appearance", [
[
"theme",
"主题",
@@ -47180,7 +47253,7 @@ var pU = (e, t, n, r, i, a) => ({
"导航入口与顺序",
"把常用入口放到侧栏,拖动调整顺序。",
"[data-sidebar-setting]",
- gU
+ hU
]
])
},
@@ -47189,7 +47262,7 @@ var pU = (e, t, n, r, i, a) => ({
kind: "settings",
title: Of.playback,
summary: "列表呈现、悬停预览与播放行为。",
- steps: vU("playback", [
+ steps: _U("playback", [
[
"batch",
"每批作品",
@@ -47245,13 +47318,13 @@ var pU = (e, t, n, r, i, a) => ({
kind: "settings",
title: Of.jav,
summary: "封面与新作筛选。",
- steps: vU("jav", [
+ steps: _U("jav", [
[
"names",
"女优名称",
"选择中文或日文名称;偏好跟随馆藏,其他设备读取同一份设置。",
"#performerNameLanguageSetting",
- gU
+ hU
],
[
"image",
@@ -47276,21 +47349,21 @@ var pU = (e, t, n, r, i, a) => ({
"隐藏大合集",
"过滤新作中的大合集,只影响新作展示,馆藏仍可查找。",
"#feedHideGroupSetting",
- gU
+ hU
],
[
"solo-compilations",
"隐藏单人合集",
"过滤新作中的单人合集,只影响新作展示,馆藏仍可查找。",
"#feedHideSoloSetting",
- gU
+ hU
],
[
"excerpts",
"隐藏切片",
"过滤新作中的切片,只影响新作展示,馆藏仍可查找。",
"#feedHideExcerptSetting",
- gU
+ hU
]
])
},
@@ -47299,12 +47372,12 @@ var pU = (e, t, n, r, i, a) => ({
kind: "settings",
title: Of.search,
summary: "搜索记录、推荐数量与口味入口。",
- steps: [...vU("search", [[
+ steps: [..._U("search", [[
"history",
"搜索记录",
"设置保留的搜索记录上限,0 表示不记录。",
"#searchHistoryLimitSetting"
- ]], gU), ...vU("search", [[
+ ]], hU), ..._U("search", [[
"related",
"相关推荐数量",
"决定详情中显示多少项相关推荐。口味和记录来源在口味页面管理。",
@@ -47316,7 +47389,7 @@ var pU = (e, t, n, r, i, a) => ({
kind: "settings",
title: Of.content,
summary: "SFW 模式与画面显示。",
- steps: vU("content", [[
+ steps: _U("content", [[
"sfw",
"SFW 模式",
"隐藏敏感画面并停止悬停预览,适合需要遮挡画面的环境。访问控制请另设访问密码。",
@@ -47328,7 +47401,7 @@ var pU = (e, t, n, r, i, a) => ({
kind: "settings",
title: kf.library,
summary: "媒体库、目录、读取与处理方式。",
- steps: vU("library", [
+ steps: _U("library", [
[
"media",
"媒体库名称与外观",
@@ -47379,14 +47452,14 @@ var pU = (e, t, n, r, i, a) => ({
"视频预览",
"生成视频预览会读取视频并产生缓存。时间轴预览的开关与采集间隔控制本机磁盘缩略图;抽帧解码方式决定生成预览使用的解码器。修改后自动保存,并受媒体库处理方式与读取策略约束。"
]
- ], _U)
+ ], gU)
},
{
id: "subscriptions",
kind: "settings",
title: kf.subscriptions,
summary: "资料来源、关注、索引器与站点入口。",
- steps: vU("subscriptions", [
+ steps: _U("subscriptions", [
[
"sources",
"采集来源与登录状态",
@@ -47413,14 +47486,14 @@ var pU = (e, t, n, r, i, a) => ({
"作品资料站点",
"配置资料站点和镜像入口,用于打开相关作品页面。地址和登录凭据分别管理。"
]
- ], _U)
+ ], gU)
},
{
id: "downloads",
kind: "settings",
title: kf.downloads,
summary: "云下载目录、账号与浏览器配对。",
- steps: vU("downloads", [
+ steps: _U("downloads", [
[
"download",
"云下载",
@@ -47436,14 +47509,14 @@ var pU = (e, t, n, r, i, a) => ({
"浏览器添加 JAV",
"安装用户脚本并配对 Peach。默认渠道决定提交到哪里;启用开关控制功能,专用令牌可更新或关闭,脚本检测帮助确认配对。"
]
- ], _U)
+ ], gU)
},
{
id: "network",
kind: "settings",
title: kf.network,
summary: "访问端口、代理、密码和公网入口。",
- steps: vU("network", [
+ steps: _U("network", [
[
"port",
"访问地址与端口",
@@ -47464,14 +47537,14 @@ var pU = (e, t, n, r, i, a) => ({
"Cloudflare 公网入口",
"临时链接用于临时连接,命名隧道使用主机名与隧道令牌。连接状态显示是否已可用,按需要启用。"
]
- ], _U)
+ ], gU)
},
{
id: "app-maintenance",
kind: "settings",
title: kf.maintenance,
summary: "更新、存储、数据选择与应用维护。",
- steps: vU("maintenance", [
+ steps: _U("maintenance", [
[
"updates",
"检查更新",
@@ -47497,6 +47570,11 @@ var pU = (e, t, n, r, i, a) => ({
"存储空间",
"查看占用,按需要清理缓存和旧备份。迁移数据目录会移动资料与缓存;媒体文件目录单独管理。"
],
+ [
+ "ledger-backups",
+ "账本备份",
+ "立即备份当前账本,或从列表里的一份备份恢复。恢复会替换当前账本,替换前先另存一份;只有写入端能恢复。"
+ ],
[
"reporting",
"数据上传",
@@ -47512,14 +47590,14 @@ var pU = (e, t, n, r, i, a) => ({
"卸载 Peach",
"卸载移除程序;完全卸载还移除设置、资料库、记录、凭据和缓存。执行前核对页面列出的数据目录与确认内容。"
]
- ], _U)
+ ], gU)
},
{
id: "diagnostics",
kind: "settings",
title: kf.diagnostics,
summary: "遇到问题时查看检查项与诊断报告。",
- steps: vU("diagnostics", [
+ steps: _U("diagnostics", [
[
"attention",
"需要关注的检查项",
@@ -47544,7 +47622,7 @@ var pU = (e, t, n, r, i, a) => ({
]
], "只读检查 · 重新检查与下载由你主动执行")
}
-], Tve = {
+], Nve = {
glow: [
["配色预设", "一次应用一组配色和参数,适合先挑选整体外观。"],
["强度", "控制光晕的明亮程度;太抢眼时降低。"],
@@ -47651,8 +47729,8 @@ var pU = (e, t, n, r, i, a) => ({
["上传预览", "查看本次会包含的内容,再决定是否启用明细上传。"]
]
};
-for (let e of yU) for (let t of e.steps) t.details = Tve[t.id], (t.id === "preview" || t.id === "transcode") && (t.scope = "运行 Peach 的电脑 · 修改后自动保存"), (t.id === "follow-options" || t.id === "sources" || t.id === "reporting" || t.id === "storage") && (t.scope = "按页面中各项的保存或确认动作生效");
-var bU = [...hU, ...yU], Eve = [
+for (let e of vU) for (let t of e.steps) t.details = Nve[t.id], (t.id === "preview" || t.id === "transcode") && (t.scope = "运行 Peach 的电脑 · 修改后自动保存"), (t.id === "follow-options" || t.id === "sources" || t.id === "reporting" || t.id === "storage" || t.id === "ledger-backups") && (t.scope = "按页面中各项的保存或确认动作生效");
+var yU = [...mU, ...vU], Pve = [
{
id: "browse",
kind: "interface",
@@ -47730,35 +47808,35 @@ var bU = [...hU, ...yU], Eve = [
]
}
];
-function Dve(e) {
- return e === "/" ? hU[0] : yU.find((t) => t.steps[0]?.route === e) || hU.find((t) => t.id !== "basics" && t.steps.some((t) => t.route === e)) || hU[0];
+function Fve(e) {
+ return e === "/" ? mU[0] : vU.find((t) => t.steps[0]?.route === e) || mU.find((t) => t.id !== "basics" && t.steps.some((t) => t.route === e)) || mU[0];
}
// src/onboarding/guide-state.ts
-var Ove = () => ({
+var Ive = () => ({
version: 1,
campaign: "",
invited: !1,
completed: !1,
chapters: {}
});
-function xU(e, t) {
+function bU(e, t) {
let n = e.chapters[t.id]?.read || [];
return t.steps.every((e) => n.includes(e.id));
}
-function kve(e, t) {
+function Lve(e, t) {
let n = e.chapters[t.id];
- return !n || xU(e, t) ? 0 : n.next < t.steps.length ? n.next : t.steps.findIndex((e) => !n.read.includes(e.id));
+ return !n || bU(e, t) ? 0 : n.next < t.steps.length ? n.next : t.steps.findIndex((e) => !n.read.includes(e.id));
}
-function Ave() {
+function Rve() {
return B("/api/tutorial-progress");
}
-function jve(e, t) {
+function zve(e, t) {
return V("/api/tutorial-progress", {
campaign: e,
...t
});
}
-function Mve(e, t, n, r, i) {
+function Bve(e, t, n, r, i) {
let a = e.chapters[t] || {
next: 0,
read: [],
@@ -47776,99 +47854,99 @@ function Mve(e, t, n, r, i) {
}
};
}
-var SU = null, CU = /* @__PURE__ */ new Set();
-function wU(e = {}) {
- CU.size || (SU = e);
- for (let t of CU) t(e);
-}
-function Nve(e) {
- if (CU.add(e), SU) {
- let t = SU;
- SU = null, queueMicrotask(() => {
- CU.has(e) && e(t);
+var xU = null, SU = /* @__PURE__ */ new Set();
+function CU(e = {}) {
+ SU.size || (xU = e);
+ for (let t of SU) t(e);
+}
+function Vve(e) {
+ if (SU.add(e), xU) {
+ let t = xU;
+ xU = null, queueMicrotask(() => {
+ SU.has(e) && e(t);
});
}
return () => {
- CU.delete(e);
+ SU.delete(e);
};
}
// src/react/components/card.tsx
-var Pve = "min-w-0", Fve = {
+var Hve = "min-w-0", Uve = {
filled: "bg-background-secondary-default",
outlined: "border border-separator-border bg-background-primary-default",
raised: "bg-background-primary-default"
-}, Ive = {
+}, Wve = {
default: "rounded-2xl shadow-card",
chart: "rounded-2-5xl",
surface: "rounded-surface",
plain: "rounded-2xl"
-}, Lve = {
+}, Gve = {
line: "border border-border-button-default",
soft: "border border-separator-border",
error: "outline-1 -outline-offset-1 outline-border-error-default"
-}, Rve = {
+}, Kve = {
none: "",
default: "p-5"
-}, zve = "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", Bve = "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 TU(e = {}) {
+}, qve = "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", Jve = "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 wU(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 [
- Pve,
- Fve[t],
- Ive[s],
- Rve[n],
- a ? Lve[a] : "",
- r ? zve : "",
- i ? Bve : "",
+ Hve,
+ Uve[t],
+ Wve[s],
+ Kve[n],
+ a ? Gve[a] : "",
+ r ? qve : "",
+ i ? Jve : "",
o ?? ""
].filter(Boolean).join(" ");
}
// src/react/onboarding/guide-directory.tsx
-var Vve = {
- browse: JB,
- collect: TB,
- watch: UB,
- manage: FB,
- experience: VB,
- discovery: qB,
- storage: kB,
- system: YB
-}, Hve = {
- basics: OB,
- "find-play": JB,
- entities: $B,
- jav: NB,
- save: TB,
- follow: qB,
- insights: wB,
- viewing: UB,
- devices: XB,
- external: AB,
- maintenance: QB,
- appearance: VB,
- playback: UB,
- content: MB,
- "search-settings": JB,
- "jav-settings": NB,
- subscriptions: qB,
- library: kB,
- downloads: AB,
- network: XB,
- "app-maintenance": QB,
- diagnostics: Tge
+var Yve = {
+ browse: qB,
+ collect: wB,
+ watch: HB,
+ manage: PB,
+ experience: BB,
+ discovery: KB,
+ storage: OB,
+ system: JB
+}, Xve = {
+ basics: DB,
+ "find-play": qB,
+ entities: QB,
+ jav: MB,
+ save: wB,
+ follow: KB,
+ insights: CB,
+ viewing: HB,
+ devices: YB,
+ external: kB,
+ maintenance: ZB,
+ appearance: BB,
+ playback: HB,
+ content: jB,
+ "search-settings": qB,
+ "jav-settings": MB,
+ subscriptions: KB,
+ library: OB,
+ downloads: kB,
+ network: YB,
+ "app-maintenance": ZB,
+ diagnostics: Nge
};
-function Uve({ chapter: e, className: t = "size-5" }) {
- let n = Hve[e] || OB;
+function Zve({ chapter: e, className: t = "size-5" }) {
+ let n = Xve[e] || DB;
return /* @__PURE__ */ (0, I.jsx)(n, {
"aria-hidden": !0,
className: q(t, "shrink-0")
});
}
-function EU({ icon: e, title: t, description: n, children: r, completed: i = !1 }) {
+function TU({ icon: e, title: t, description: n, children: r, completed: i = !1 }) {
return /* @__PURE__ */ (0, I.jsxs)("section", {
"data-guide-banner": "",
"data-guide-completed": i || void 0,
- className: TU({
+ className: wU({
radius: "plain",
className: "flex flex-col gap-4"
}),
@@ -47897,8 +47975,8 @@ function EU({ icon: e, title: t, description: n, children: r, completed: i = !1
})]
});
}
-function DU({ chapter: e, progress: t, loading: n, start: r }) {
- let i = xU(t, e), a = !i && !!t.chapters[e.id];
+function EU({ chapter: e, progress: t, loading: n, start: r }) {
+ let i = bU(t, e), a = !i && !!t.chapters[e.id];
return /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
disabled: n,
@@ -47908,7 +47986,7 @@ function DU({ chapter: e, progress: t, loading: n, start: r }) {
children: [
/* @__PURE__ */ (0, I.jsx)("span", {
className: "peach-guide-topic-icon",
- children: /* @__PURE__ */ (0, I.jsx)(Uve, { chapter: e.id })
+ children: /* @__PURE__ */ (0, I.jsx)(Zve, { chapter: e.id })
}),
/* @__PURE__ */ (0, I.jsxs)("span", {
className: "flex min-w-0 flex-1 flex-col gap-1",
@@ -47920,7 +47998,7 @@ function DU({ chapter: e, progress: t, loading: n, start: r }) {
children: e.summary
})]
}),
- i ? /* @__PURE__ */ (0, I.jsx)(OU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {
+ i ? /* @__PURE__ */ (0, I.jsx)(DU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {
className: "shrink-0 text-caption-1-regular tabular-nums text-text-secondary",
children: [
a ? "继续 · " : "",
@@ -47928,17 +48006,17 @@ function DU({ chapter: e, progress: t, loading: n, start: r }) {
" 步"
]
}),
- /* @__PURE__ */ (0, I.jsx)(SB, {
+ /* @__PURE__ */ (0, I.jsx)(xB, {
"aria-hidden": !0,
className: "size-(--icon-inline) shrink-0 text-text-secondary"
})
]
});
}
-function OU() {
+function DU() {
return /* @__PURE__ */ (0, I.jsxs)("span", {
className: "inline-flex shrink-0 items-center gap-1 rounded-full bg-notification-success-background px-2 py-1 text-caption-1-medium text-notification-success-foreground",
- children: [/* @__PURE__ */ (0, I.jsx)(EB, {
+ children: [/* @__PURE__ */ (0, I.jsx)(TB, {
"aria-hidden": !0,
className: "size-4"
}), /* @__PURE__ */ (0, I.jsx)("span", {
@@ -47947,17 +48025,17 @@ function OU() {
})]
});
}
-function Wve({ kind: e, query: t, setQuery: n, context: r, progress: i, loading: a, start: o }) {
- let [s, c] = (0, F.useState)(null), l = bU.find((t) => t.id === (e === "interface" ? "basics" : "appearance")), u = xU(i, l), d = !u && !!i.chapters[l.id], f = t.trim().toLowerCase(), p = bU.filter((t) => t.kind === e && `${t.title} ${t.summary} ${t.steps.map((e) => `${e.title} ${e.body} ${(e.details || []).flat().join(" ")}`).join(" ")}`.toLowerCase().includes(f));
+function Qve({ kind: e, query: t, setQuery: n, context: r, progress: i, loading: a, start: o }) {
+ let [s, c] = (0, F.useState)(null), l = yU.find((t) => t.id === (e === "interface" ? "basics" : "appearance")), u = bU(i, l), d = !u && !!i.chapters[l.id], f = t.trim().toLowerCase(), p = yU.filter((t) => t.kind === e && `${t.title} ${t.summary} ${t.steps.map((e) => `${e.title} ${e.body} ${(e.details || []).flat().join(" ")}`).join(" ")}`.toLowerCase().includes(f));
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, I.jsxs)(EU, {
+ /* @__PURE__ */ (0, I.jsxs)(TU, {
completed: u,
- icon: e === "interface" ? OB : YB,
+ icon: e === "interface" ? DB : JB,
title: e === "interface" ? "先认识 Peach" : "按习惯调整 Peach",
description: e === "interface" ? "先用 4 步认识常用入口,其余功能用到时再看。" : "先了解外观与导航,其余设置按需要查看。",
- children: [u ? /* @__PURE__ */ (0, I.jsx)(OU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: [u ? /* @__PURE__ */ (0, I.jsx)(DU, {}) : /* @__PURE__ */ (0, I.jsxs)("span", {
className: "text-body-2-regular text-text-secondary",
children: [l.steps.length, " 步 · 随时可以退出"]
}), /* @__PURE__ */ (0, I.jsx)(J, {
@@ -47970,26 +48048,26 @@ function Wve({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:
})
})]
}),
- /* @__PURE__ */ (0, I.jsx)(oV, {
+ /* @__PURE__ */ (0, I.jsx)(aV, {
"aria-label": "搜索教程",
value: t,
onChange: n,
- children: /* @__PURE__ */ (0, I.jsx)(cV, {
+ children: /* @__PURE__ */ (0, I.jsx)(sV, {
type: "search",
placeholder: e === "settings" ? "搜索设置名称或用途" : "搜索功能或页面",
- leadingIcon: JB
+ leadingIcon: qB
})
}),
f ? p.length ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-guide-chapters",
- children: p.map((e) => /* @__PURE__ */ (0, I.jsx)(DU, {
+ children: p.map((e) => /* @__PURE__ */ (0, I.jsx)(EU, {
chapter: e,
progress: i,
loading: a,
start: o
}, e.id))
- }) : /* @__PURE__ */ (0, I.jsx)(pV, {
- icon: JB,
+ }) : /* @__PURE__ */ (0, I.jsx)(fV, {
+ icon: qB,
title: "没有匹配的教程",
size: "compact",
children: "试试功能名或设置名称。"
@@ -48007,12 +48085,12 @@ function Wve({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:
}) : null]
}), /* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-guide-topics",
- children: Eve.filter((t) => t.kind === e).map((e) => {
- let t = Vve[e.id];
+ children: Pve.filter((t) => t.kind === e).map((e) => {
+ let t = Yve[e.id];
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-guide-topic": e.id,
className: "peach-guide-topic",
- children: /* @__PURE__ */ (0, I.jsx)(VH, {
+ children: /* @__PURE__ */ (0, I.jsx)(BH, {
trailing: !0,
isOpen: s === e.id,
onOpenChange: (t) => c(t ? e.id : null),
@@ -48037,8 +48115,8 @@ function Wve({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:
}),
children: /* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-guide-topic-chapters",
- children: e.chapters.map((e) => /* @__PURE__ */ (0, I.jsx)(DU, {
- chapter: bU.find((t) => t.id === e),
+ children: e.chapters.map((e) => /* @__PURE__ */ (0, I.jsx)(EU, {
+ chapter: yU.find((t) => t.id === e),
progress: i,
loading: a,
start: o
@@ -48052,14 +48130,14 @@ function Wve({ kind: e, query: t, setQuery: n, context: r, progress: i, loading:
});
}
// src/onboarding/guide-entry.ts
-var kU = "侧栏收起时,先点左上角的导航按钮。", AU = (...e) => ({
+var OU = "侧栏收起时,先点左上角的导航按钮。", kU = (...e) => ({
path: ["侧栏", ...e],
- hint: kU
-}), jU = (e) => ({
+ hint: OU
+}), AU = (e) => ({
path: ["侧栏底部的设置", e],
- hint: kU
+ hint: OU
});
-function Gve(e) {
+function $ve(e) {
if (e.surface) return e.id === "external" ? { path: [
"作品卡片",
"作品详情",
@@ -48077,7 +48155,7 @@ function Gve(e) {
let [t = "/", n = ""] = e.route.split("#")[0].split("?"), r = t.split("/")[2];
if (t.startsWith("/settings/")) {
let e = Of[r];
- if (e) return jU(e);
+ if (e) return AU(e);
let t = kf[r];
if (t) return {
path: [
@@ -48085,11 +48163,11 @@ function Gve(e) {
"Peach 配置",
t
],
- hint: kU
+ hint: OU
};
}
let i = new URLSearchParams(n);
- if (t === "/jav" || i.get("jav") === "1") return AU("JAV", uU.find(([e]) => e === (i.get("tab") || "library"))?.[1] || uU[0][1]);
+ if (t === "/jav" || i.get("jav") === "1") return kU("JAV", lU.find(([e]) => e === (i.get("tab") || "library"))?.[1] || lU[0][1]);
if (t === "/") {
switch (e.id) {
case "search": return {
@@ -48099,9 +48177,9 @@ function Gve(e) {
case "navigation": return { path: ["左上角导航按钮", "侧栏中的浏览入口"] };
case "library": return {
path: ["侧栏顶部", "媒体库选择器"],
- hint: kU
+ hint: OU
};
- case "preferences": return jU(Of.appearance);
+ case "preferences": return AU(Of.appearance);
case "wall": return { path: ["页面顶部", "播放墙按钮"] };
case "immerse": return { path: ["页面顶部", "沉浸模式按钮"] };
case "cards":
@@ -48123,22 +48201,22 @@ function Gve(e) {
hint: "来源、时长等更多筛选位于侧栏。"
};
}
- return AU("首页");
+ return kU("首页");
}
if ([
"/review",
"/quality-goals",
"/trash"
- ].includes(t)) return AU("管理", $f["/data-cleanup"].title, t === "/trash" ? "回收站" : $f[t].title);
+ ].includes(t)) return kU("管理", $f["/data-cleanup"].title, t === "/trash" ? "回收站" : $f[t].title);
let a = $f[t];
if (a?.nav && a.title) {
- let e = AU(a.title);
+ let e = kU(a.title);
return t === "/playlists" && (e.hint = "若侧栏没有播放列表,到设置 → 外观与导航 → 导航入口与顺序添加;手机上先展开侧栏。"), e;
}
- if (a?.section && a.title) return AU("管理", a.title);
+ if (a?.section && a.title) return kU("管理", a.title);
}
// src/react/onboarding/guide-help.tsx
-function Kve({ details: e }) {
+function eye({ details: e }) {
return e?.length ? /* @__PURE__ */ (0, I.jsx)("dl", {
className: "flex flex-col gap-3",
children: e.map(([e, t]) => /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -48153,24 +48231,24 @@ function Kve({ details: e }) {
}, e))
}) : null;
}
-function qve({ chapter: e }) {
- let t = bU.find((t) => t.id === e);
+function tye({ chapter: e }) {
+ let t = yU.find((t) => t.id === e);
return t ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "text-body-2-regular text-text-secondary",
- children: /* @__PURE__ */ (0, I.jsxs)(VH, {
+ children: /* @__PURE__ */ (0, I.jsxs)(BH, {
summary: "了解这些设置",
children: [/* @__PURE__ */ (0, I.jsx)("p", { children: t.summary }), /* @__PURE__ */ (0, I.jsx)("div", { children: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- onClick: () => wU({ chapter: e }),
+ onClick: () => CU({ chapter: e }),
children: "逐步了解这个分区"
}) })]
})
}) : null;
}
// src/react/onboarding/guide-popover.tsx
-function Jve({ step: e, position: t, total: n, missing: r, next: i, previous: a, close: o, invitation: s }) {
- let c = HV(), l = Gve(e);
+function nye({ step: e, position: t, total: n, missing: r, next: i, previous: a, close: o, invitation: s }) {
+ let c = VV(), l = $ve(e);
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "peach-guide-popover-content",
onPointerDown: (e) => e.stopPropagation(),
@@ -48181,7 +48259,7 @@ function Jve({ step: e, position: t, total: n, missing: r, next: i, previous: a,
id: "driver-popover-title",
className: "text-body-medium text-text-primary",
children: e.title
- }), /* @__PURE__ */ (0, I.jsx)(gV, {
+ }), /* @__PURE__ */ (0, I.jsx)(hV, {
label: s ? "关闭教程提示" : "结束导览",
onPress: o
})]
@@ -48198,7 +48276,7 @@ function Jve({ step: e, position: t, total: n, missing: r, next: i, previous: a,
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex items-center gap-2 text-body-2-medium text-text-secondary",
- children: [/* @__PURE__ */ (0, I.jsx)(Dge, {
+ children: [/* @__PURE__ */ (0, I.jsx)(Fge, {
className: "size-4 shrink-0",
"aria-hidden": "true"
}), "打开方式"]
@@ -48207,7 +48285,7 @@ function Jve({ step: e, position: t, total: n, missing: r, next: i, previous: a,
className: "flex flex-wrap items-center gap-x-1 gap-y-1 text-body-2-medium text-text-primary",
children: l.path.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("li", {
className: "inline-flex items-center gap-1",
- children: [t ? /* @__PURE__ */ (0, I.jsx)(SB, {
+ children: [t ? /* @__PURE__ */ (0, I.jsx)(xB, {
className: "size-4 shrink-0 text-text-secondary",
"aria-hidden": "true"
}) : null, /* @__PURE__ */ (0, I.jsx)("span", { children: e })]
@@ -48228,15 +48306,15 @@ function Jve({ step: e, position: t, total: n, missing: r, next: i, previous: a,
className: "text-caption-1-regular text-text-secondary",
children: "导览期间不自动播放;退出后仍按原来的播放设置使用。"
}) : null,
- e.details?.length ? /* @__PURE__ */ (0, I.jsx)(VH, {
+ e.details?.length ? /* @__PURE__ */ (0, I.jsx)(BH, {
summary: "更多说明",
- children: /* @__PURE__ */ (0, I.jsx)(Kve, { details: e.details })
+ children: /* @__PURE__ */ (0, I.jsx)(eye, { details: e.details })
}) : null,
e.scope ? /* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
children: e.scope
}) : null,
- r ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ r ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "neutral",
children: e.surface ? "尚未取得可演示的视频或对应控件。请先添加视频,或跳过后稍后重看。" : "当前页面未显示这个入口,可能尚无内容、没有配置权限或仍在加载。可以跳过,稍后重看。"
}) : null
@@ -48290,14 +48368,14 @@ function Jve({ step: e, position: t, total: n, missing: r, next: i, previous: a,
]
});
}
-function MU(e, t, n) {
+function jU(e, t, n) {
let r = document.createElement("div");
e.replaceChildren(r, t);
let i = (0, zt.createRoot)(r);
- return (0, Rt.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(Jve, { ...n }))), () => i.unmount();
+ return (0, Rt.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(nye, { ...n }))), () => i.unmount();
}
// src/react/onboarding/tutorial-center.tsx
-function Yve({ go: e }) {
+function rye({ go: e }) {
let [t, n] = (0, F.useState)(null), [r, i] = (0, F.useState)(""), [a, o] = (0, F.useState)(0);
(0, F.useEffect)(() => {
let e = new AbortController();
@@ -48311,8 +48389,8 @@ function Yve({ go: e }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-col gap-4",
children: [
- /* @__PURE__ */ (0, I.jsxs)(EU, {
- icon: Ege,
+ /* @__PURE__ */ (0, I.jsxs)(TU, {
+ icon: Pge,
title: "从第一份收藏开始",
description: "连接媒体目录,查看入库结果,再打开馆藏。",
children: [/* @__PURE__ */ (0, I.jsx)("span", {
@@ -48323,7 +48401,7 @@ function Yve({ go: e }) {
children: "连接媒体目录"
})]
}),
- r ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ r ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "error",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -48339,7 +48417,7 @@ function Yve({ go: e }) {
/* @__PURE__ */ (0, I.jsxs)("li", { children: [
/* @__PURE__ */ (0, I.jsx)("span", {
className: "peach-guide-topic-icon",
- children: /* @__PURE__ */ (0, I.jsx)(FB, {
+ children: /* @__PURE__ */ (0, I.jsx)(PB, {
"aria-hidden": !0,
className: "size-5"
})
@@ -48358,7 +48436,7 @@ function Yve({ go: e }) {
/* @__PURE__ */ (0, I.jsxs)("li", { children: [
/* @__PURE__ */ (0, I.jsx)("span", {
className: "peach-guide-topic-icon",
- children: /* @__PURE__ */ (0, I.jsx)(Rge, {
+ children: /* @__PURE__ */ (0, I.jsx)(Kge, {
"aria-hidden": !0,
className: "size-5"
})
@@ -48377,7 +48455,7 @@ function Yve({ go: e }) {
/* @__PURE__ */ (0, I.jsxs)("li", { children: [
/* @__PURE__ */ (0, I.jsx)("span", {
className: "peach-guide-topic-icon",
- children: /* @__PURE__ */ (0, I.jsx)(UB, {
+ children: /* @__PURE__ */ (0, I.jsx)(HB, {
"aria-hidden": !0,
className: "size-5"
})
@@ -48395,7 +48473,7 @@ function Yve({ go: e }) {
] })
]
}),
- /* @__PURE__ */ (0, I.jsx)(VH, {
+ /* @__PURE__ */ (0, I.jsx)(BH, {
summary: "更多接入方式",
children: /* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-guide-routes",
@@ -48404,31 +48482,31 @@ function Yve({ go: e }) {
title: "关注创作者",
description: l ? "当前启用来源的必要凭据已具备。" : s.length ? "已有关注来源,请检查必要凭据。" : "添加想持续追踪的创作者与来源。",
path: "/subscriptions",
- icon: qB
+ icon: KB
},
{
title: "口味与记录",
description: t?.taste.history_sources ? `已导入 ${t.taste.history_sources} 份浏览器历史。` : "按需要导入浏览历史或书签。",
path: "/taste",
- icon: wB
+ icon: CB
},
{
title: "云下载与浏览器添加",
description: "连接渠道、设置目标目录,按需要配对用户脚本。",
path: "/settings/downloads",
- icon: AB
+ icon: kB
},
{
title: "手机访问",
description: "查看访问范围、地址与密码。",
path: "/settings/network",
- icon: XB
+ icon: YB
},
...u ? [{
title: "人工复核",
description: `当前有 ${u.toLocaleString()} 条待复核资料。`,
path: "/review",
- icon: EB
+ icon: TB
}] : []
].map(({ title: t, description: n, path: r, icon: i }) => /* @__PURE__ */ (0, I.jsxs)("div", { children: [
/* @__PURE__ */ (0, I.jsx)("span", {
@@ -48455,16 +48533,16 @@ function Yve({ go: e }) {
]
});
}
-var NU = "tutorial-sync";
-function Xve({ actions: e }) {
- let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(!1), [a, o] = (0, F.useState)("interface"), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(Ove), [d, f] = (0, F.useState)(!1), [p, m] = (0, F.useState)(""), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(!1), y = HV(), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(0), C = (0, F.useRef)(l);
+var MU = "tutorial-sync";
+function iye({ actions: e }) {
+ let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(!1), [a, o] = (0, F.useState)("interface"), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(Ive), [d, f] = (0, F.useState)(!1), [p, m] = (0, F.useState)(""), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(!1), y = VV(), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(0), C = (0, F.useRef)(l);
C.current = l;
let w = (0, F.useRef)(0), T = (0, F.useRef)(null), E = (0, F.useRef)(""), D = (0, F.useRef)(!1), O = (0, F.useRef)(() => {}), k = (0, F.useRef)(Promise.resolve()), A = (0, F.useRef)(0), j = (0, F.useRef)(0), M = (0, F.useRef)(!0), ee = (e) => {
C.current = e, u(e);
}, N = async (e = !0) => {
let t = j.current;
try {
- let n = await Ave();
+ let n = await Rve();
return !M.current || t !== j.current ? !1 : (ee(n), f(!0), e && m(""), b.current || i(!n.invited && !n.completed), !0);
} catch {
return M.current && m("未取得账本中的教程状态,请重新读取。"), !1;
@@ -48474,7 +48552,7 @@ function Xve({ actions: e }) {
let n = ++j.current;
A.current += 1, k.current = k.current.then(async () => {
try {
- let r = await jve(e.campaign, t);
+ let r = await zve(e.campaign, t);
M.current && n === j.current && ee(r);
} catch {
M.current && (m("教程进度未保存到本机账本,其他设备尚未同步。请重新读取后继续。"), n === j.current && await N(!1));
@@ -48484,8 +48562,8 @@ function Xve({ actions: e }) {
});
}, P = (0, F.useRef)(N);
P.current = N, (0, F.useEffect)(() => {
- !p || t ? qV.dismiss(NU) : qV.error(p, {
- id: NU,
+ !p || t ? KV.dismiss(MU) : KV.error(p, {
+ id: MU,
toasterId: "receipts",
duration: Infinity,
action: {
@@ -48496,7 +48574,7 @@ function Xve({ actions: e }) {
}
});
}, [p, t]), (0, F.useEffect)(() => () => {
- qV.dismiss(NU);
+ KV.dismiss(MU);
}, []), (0, F.useEffect)(() => {
if (!d && !p) return;
let e = document.getElementById("tutorialBtn");
@@ -48517,7 +48595,7 @@ function Xve({ actions: e }) {
let i = !1, a = null;
return import("./peach-app.guide-driver-BZX0VpRC.js").then(({ createGuideSession: t }) => {
i || (a = t({
- mountPopover: MU,
+ mountPopover: jU,
invitation: !0,
navigate: e.navigate,
previous: () => {},
@@ -48556,12 +48634,12 @@ function Xve({ actions: e }) {
D.current = !1;
});
document.addEventListener("input", e), document.addEventListener("change", e);
- let r = Nve((e) => {
+ let r = Vve((e) => {
(async () => {
let t = document.activeElement;
if (await k.current, !M.current || !await N() || e.invitation) return;
ie(), T.current = t, g(""), c("");
- let r = bU.find((t) => t.id === e.chapter);
+ let r = yU.find((t) => t.id === e.chapter);
e.reopen ? (i(!1), te({
...C.current,
invited: !0,
@@ -48590,11 +48668,11 @@ function Xve({ actions: e }) {
g("请先关闭当前详情或对话框,再开始导览。");
return;
}
- if (t.steps.some((e) => e.surface) && i8()?.miniplayerActive()) {
+ if (t.steps.some((e) => e.surface) && r8()?.miniplayerActive()) {
g("请先关闭正在播放的小窗,再开始播放器导览。");
return;
}
- let i = r ? kve(C.current, t) : 0;
+ let i = r ? Lve(C.current, t) : 0;
if (D.current && t.steps.some((e) => e.route && e.route !== location.pathname)) {
g("当前配置表单有编辑内容。请先处理表单,再开启需要切换页面的章节。");
return;
@@ -48628,7 +48706,7 @@ function Xve({ actions: e }) {
}), b.current?.show(t.steps[w.current], w.current, t.steps.length);
};
b.current = r({
- mountPopover: MU,
+ mountPopover: jU,
navigate: e.navigate,
close: () => {
ie(!0), o(t.kind);
@@ -48639,18 +48717,18 @@ function Xve({ actions: e }) {
},
next: async (e = !1) => {
let n = w.current + 1;
- if (te(Mve(C.current, t.id, t.steps[w.current].id, n, e), {
+ if (te(Bve(C.current, t.id, t.steps[w.current].id, n, e), {
action: "step",
chapter: t.id,
step: t.steps[w.current].id,
next: n,
skipped: e
}), n >= t.steps.length) {
- if (t.id === "basics" && xU(C.current, t) && te({
+ if (t.id === "basics" && bU(C.current, t) && te({
...C.current,
completed: !0
}, { action: "complete" }), await k.current, a !== S.current) return;
- ie(!0), o(t.kind), g(xU(C.current, t) ? t.id === "basics" ? C.current.completed ? "快速导览已完成,所有设备的教程入口都会收起。以后可到设置 → Peach 配置 → 应用与维护 → 新手教程重新打开,其余内容按需查看。" : "导览已结束,但完成状态未保存。请重新读取教程状态后再试。" : "这段导览已完成。需要时再了解其他功能。" : "本章已结束,未显示的步骤尚未完成,可以稍后继续。");
+ ie(!0), o(t.kind), g(bU(C.current, t) ? t.id === "basics" ? C.current.completed ? "快速导览已完成,所有设备的教程入口都会收起。以后可到设置 → Peach 配置 → 应用与维护 → 新手教程重新打开,其余内容按需查看。" : "导览已结束,但完成状态未保存。请重新读取教程状态后再试。" : "这段导览已完成。需要时再了解其他功能。" : "本章已结束,未显示的步骤尚未完成,可以稍后继续。");
} else w.current = n, l();
}
}), l();
@@ -48663,8 +48741,8 @@ function Xve({ actions: e }) {
O.current = (e, t) => {
se(e, t);
};
- let ce = Dve(location.pathname);
- return (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: /* @__PURE__ */ (0, I.jsxs)(uV, {
+ let ce = Fve(location.pathname);
+ return (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: /* @__PURE__ */ (0, I.jsxs)(lV, {
isOpen: t,
onOpenChange: (e) => {
e || ae();
@@ -48679,18 +48757,18 @@ function Xve({ actions: e }) {
id: "guideTitle",
className: "text-title-2-medium text-text-primary",
children: "新手教程"
- }), /* @__PURE__ */ (0, I.jsx)(gV, {
+ }), /* @__PURE__ */ (0, I.jsx)(hV, {
label: "关闭新手教程",
onPress: ae
})]
}),
/* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-guide-tools flex shrink-0 flex-col gap-4 px-6 pt-4 pb-3",
- children: /* @__PURE__ */ (0, I.jsx)(aU, {
+ children: /* @__PURE__ */ (0, I.jsx)(iU, {
"aria-label": "教程路径",
name: "guide-path",
orientation: "horizontal",
- className: oU,
+ className: aU,
value: a,
onChange: (e) => {
o(e), c(""), g("");
@@ -48699,9 +48777,9 @@ function Xve({ actions: e }) {
["start", "开始使用"],
["interface", "界面导览"],
["settings", "设置导览"]
- ].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Fz, {
+ ].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(Pz, {
value: e,
- className: sU,
+ className: oU,
children: t
}, e))
})
@@ -48712,7 +48790,7 @@ function Xve({ actions: e }) {
ref: y,
className: "peach-guide-body",
children: [
- p ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ p ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "error",
className: "mb-4",
action: /* @__PURE__ */ (0, I.jsx)(J, {
@@ -48724,12 +48802,12 @@ function Xve({ actions: e }) {
}),
children: p
}) : null,
- h ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ h ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "neutral",
className: "mb-4",
children: h
}) : null,
- a === "start" ? /* @__PURE__ */ (0, I.jsx)(Yve, { go: oe }) : /* @__PURE__ */ (0, I.jsx)(Wve, {
+ a === "start" ? /* @__PURE__ */ (0, I.jsx)(rye, { go: oe }) : /* @__PURE__ */ (0, I.jsx)(Qve, {
kind: a,
query: s,
setQuery: c,
@@ -48747,15 +48825,15 @@ function Xve({ actions: e }) {
}) }), document.body);
}
// src/react/client-updates.tsx
-var Zve = 12e4, Qve = 15e3, PU = () => document.visibilityState !== "hidden", FU = /* @__PURE__ */ new Set([
+var aye = 12e4, oye = 15e3, NU = () => document.visibilityState !== "hidden", PU = /* @__PURE__ */ new Set([
"downloading",
"verifying",
"extracting",
"preparing",
"restarting",
"installing"
-]), IU = "/settings/maintenance#releaseUpdates";
-function $ve() {
+]), FU = "/settings/maintenance#releaseUpdates";
+function sye() {
try {
let e = JSON.parse(document.getElementById("peach-client-runtime")?.textContent || "null");
return typeof e?.version == "string" && typeof e?.build_id == "string" ? {
@@ -48766,23 +48844,23 @@ function $ve() {
return null;
}
}
-function LU() {
- let e = (0, F.useRef)($ve()), [t, n] = (0, F.useState)(null);
+function IU() {
+ let e = (0, F.useRef)(sye()), [t, n] = (0, F.useState)(null);
return (0, F.useEffect)(() => {
let t = !1, r, i, a = async () => {
- if (t || !PU()) return;
+ if (t || !NU()) return;
let o = new AbortController();
i = o;
- let s = setTimeout(() => o.abort(), Qve);
+ let s = setTimeout(() => o.abort(), oye);
o.signal.addEventListener("abort", () => clearTimeout(s), { once: !0 });
try {
let r = await B("/api/client-updates", o.signal);
!t && !o.signal.aborted && typeof r?.runtime?.version == "string" && typeof r.runtime.build_id == "string" && (e.current ??= { ...r.runtime }, n(r));
} catch {} finally {
- clearTimeout(s), i === o && (i = void 0, !t && PU() && (r = setTimeout(a, Zve)));
+ clearTimeout(s), i === o && (i = void 0, !t && NU() && (r = setTimeout(a, aye)));
}
}, o = () => {
- clearTimeout(r), i?.abort(), i = void 0, PU() && a();
+ clearTimeout(r), i?.abort(), i = void 0, NU() && a();
};
return document.addEventListener("visibilitychange", o), document.addEventListener("peach:client-updates", o), a(), () => {
t = !0, clearTimeout(r), i?.abort(), document.removeEventListener("visibilitychange", o), document.removeEventListener("peach:client-updates", o);
@@ -48792,12 +48870,12 @@ function LU() {
refresh: !!t && !!e.current && (t.runtime.version !== e.current.version || t.runtime.build_id !== e.current.build_id)
};
}
-function eye({ navigate: e }) {
- let { snapshot: t, refresh: n } = LU(), [r, i] = (0, F.useState)(""), a = document.querySelector("[data-network-banner]");
+function cye({ navigate: e }) {
+ let { snapshot: t, refresh: n } = IU(), [r, i] = (0, F.useState)(""), a = document.querySelector("[data-network-banner]");
if (!t || !a) return null;
- let { release: o, update_job: s, runtime: c } = t, l = n ? "refresh" : s.state === "ready" ? "ready" : FU.has(s.state) ? "preparing" : o.state === "available" && o.latest_version ? "available" : null;
+ let { release: o, update_job: s, runtime: c } = t, l = n ? "refresh" : s.state === "ready" ? "ready" : PU.has(s.state) ? "preparing" : o.state === "available" && o.latest_version ? "available" : null;
if (!l) return null;
- let u = (s.state === "ready" || FU.has(s.state)) && s.version || o.latest_version, d = JSON.stringify(l === "refresh" ? [
+ let u = (s.state === "ready" || PU.has(s.state)) && s.version || o.latest_version, d = JSON.stringify(l === "refresh" ? [
l,
c.version,
c.build_id
@@ -48820,22 +48898,22 @@ function eye({ navigate: e }) {
children: [" Peach ", u]
}) : null] })] }), /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex-wrap",
- children: [l === "refresh" ? /* @__PURE__ */ (0, I.jsx)(gH, {
+ children: [l === "refresh" ? /* @__PURE__ */ (0, I.jsx)(hH, {
variant: "secondary",
size: "small",
onClick: () => window.location.reload(),
"data-copy-key": "clientUpdates.refresh.action",
children: "刷新页面"
- }) : /* @__PURE__ */ (0, I.jsx)(gH, {
+ }) : /* @__PURE__ */ (0, I.jsx)(hH, {
variant: "secondary",
size: "small",
- href: IU,
+ href: FU,
onClick: (t) => {
- t.button !== 0 || t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || (t.preventDefault(), e(IU));
+ t.button !== 0 || t.metaKey || t.ctrlKey || t.shiftKey || t.altKey || (t.preventDefault(), e(FU));
},
"data-copy-key": `clientUpdates.${l}.action`,
children: l === "preparing" ? "查看进度" : "查看更新"
- }), /* @__PURE__ */ (0, I.jsx)(gH, {
+ }), /* @__PURE__ */ (0, I.jsx)(hH, {
variant: "secondary",
size: "small",
onClick: () => i(d),
@@ -48846,8 +48924,8 @@ function eye({ navigate: e }) {
}, d), a);
}
// src/react/router/pages/settings.tsx
-function tye() {
- let e = (0, F.useContext)($W), { pathname: t } = ef();
+function lye() {
+ let e = (0, F.useContext)(QW), { pathname: t } = ef();
return (0, F.useEffect)(() => {
e?.openSettings?.(Nf(t));
}, [e, t]), (0, F.useEffect)(() => () => {
@@ -48857,7 +48935,7 @@ function tye() {
}, [e]), null;
}
// src/junk-queue.ts
-var RU = [
+var LU = [
[
"",
"全部",
@@ -48893,40 +48971,40 @@ var RU = [
"其它",
"hard-drive"
]
-], nye = (e) => RU.find(([t]) => t === e)?.[0] ?? "";
-function zU(e) {
+], uye = (e) => LU.find(([t]) => t === e)?.[0] ?? "";
+function RU(e) {
let t = new URLSearchParams(e);
return {
- kind: nye(t.get("type")),
+ kind: uye(t.get("type")),
view: t.get("view") === "dismissed" ? "dismissed" : "pending"
};
}
-function BU(e = "", t = "pending") {
+function zU(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 VU(e) {
+function BU(e) {
return e === "dismissed" ? {
view: "pending",
label: "返回待判断",
glyph: "rotate-ccw",
- href: BU("", "pending")
+ href: zU("", "pending")
} : {
view: "dismissed",
label: "已排除",
glyph: "eye-off",
- href: BU("", "dismissed")
+ href: zU("", "dismissed")
};
}
-var HU = (e) => e === "dismissed" ? "已排除" : "待判断", UU = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
-function rye({ kind: e, view: t }) {
- let n = RU.map(([n, r, i]) => `<a href="${BU(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${UU(i)}${z(r)}</a>`).join(""), r = VU(t);
- return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Is(HU(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\"" : ""}>${UU(r.glyph)}${r.label}</a></nav></div></div></div>`;
+var VU = (e) => e === "dismissed" ? "已排除" : "待判断", HU = (e) => `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${e}"></use></svg>`;
+function dye({ kind: e, view: t }) {
+ let n = LU.map(([n, r, i]) => `<a href="${zU(n, t)}" data-junk-kind-link="${n}"${n === e ? " aria-current=\"page\"" : ""}>${HU(i)}${z(r)}</a>`).join(""), r = BU(t);
+ return `<div class="peach-react" data-junk-count-skeleton=""><div data-junk-count=""><div data-junk-summary="" aria-live="polite">${Is(VU(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\"" : ""}>${HU(r.glyph)}${r.label}</a></nav></div></div></div>`;
}
// src/react/boardui/utils/use-dismiss-on-outside-press.ts
-function iye(e, t, n) {
+function fye(e, t, n) {
(0, F.useEffect)(() => {
if (!e) return;
let r = (e) => {
@@ -48940,7 +49018,7 @@ function iye(e, t, n) {
n
]);
}
-function aye(e, t) {
+function pye(e, t) {
let n = (0, F.useRef)(!1);
return (0, F.useEffect)(() => {
if (!e) return;
@@ -48953,33 +49031,33 @@ function aye(e, t) {
}, [e, t]), (e) => e && n.current ? (n.current = !1, !1) : !0;
}
// src/react/boardui/components/base/select/select.tsx
-var WU = (0, F.createContext)("md");
-function GU({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
+var UU = (0, F.createContext)("md");
+function WU({ className: e, triggerClassName: t, popoverClassName: n, size: r = "md", children: i, items: a, renderValue: o, ref: s, ...c }) {
let l = (0, F.useRef)(null), u = (0, F.useRef)(null), [d, f] = (0, F.useState)(!1);
- iye(d, () => f(!1), [l, u]);
- let p = aye(d, l);
- return /* @__PURE__ */ (0, I.jsx)(Pme, {
+ fye(d, () => f(!1), [l, u]);
+ let p = pye(d, l);
+ return /* @__PURE__ */ (0, I.jsx)(Hme, {
ref: s,
...c,
isOpen: d,
onOpenChange: (e) => p(e) && f(e),
className: q("group flex flex-col", e),
- children: ({ isOpen: e }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)(VL, {
+ children: ({ isOpen: e }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)(BL, {
ref: l,
className: q("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, I.jsx)(Lme, {
+ children: [/* @__PURE__ */ (0, I.jsx)(Gme, {
className: q("flex min-w-0 items-center truncate", r === "sm" ? "gap-1" : "gap-[5px]"),
children: o
- }), /* @__PURE__ */ (0, I.jsx)(Jge, { className: q("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
- }), /* @__PURE__ */ (0, I.jsx)(mz, {
+ }), /* @__PURE__ */ (0, I.jsx)(n_e, { className: q("shrink-0 text-text-secondary transition-transform duration-200 ease", r === "sm" ? "size-3.5" : "size-4", e && "rotate-180") })]
+ }), /* @__PURE__ */ (0, I.jsx)(pz, {
ref: u,
isNonModal: !0,
offset: 4,
- className: q(Zge, PV, "p-2", n),
- children: /* @__PURE__ */ (0, I.jsx)(nme, {
+ className: q(a_e, NV, "p-2", n),
+ children: /* @__PURE__ */ (0, I.jsx)(ume, {
items: a,
- className: q(Qge, "max-h-[240px] overflow-auto"),
- children: /* @__PURE__ */ (0, I.jsx)(WU.Provider, {
+ className: q(o_e, "max-h-[240px] overflow-auto"),
+ children: /* @__PURE__ */ (0, I.jsx)(UU.Provider, {
value: r,
children: i
})
@@ -48987,16 +49065,16 @@ function GU({ className: e, triggerClassName: t, popoverClassName: n, size: r =
})] })
});
}
-function KU({ className: e, children: t, ...n }) {
- let r = (0, F.useContext)(WU);
- return /* @__PURE__ */ (0, I.jsx)(ame, {
+function GU({ className: e, children: t, ...n }) {
+ let r = (0, F.useContext)(UU);
+ return /* @__PURE__ */ (0, I.jsx)(pme, {
...n,
- className: (t) => q(FV, 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) => q(PV, 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
});
}
// src/react/boardui/components/base/badges/chip.tsx
-var qU = II({
+var KU = FI({
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",
@@ -49015,15 +49093,15 @@ var qU = II({
soft: "bg-background-secondary-default text-text-secondary"
}
});
-function JU({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
+function qU({ variant: e = "bold", color: t = "neutral", className: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, I.jsx)("span", {
ref: r,
- className: q(qU.base, qU.variant[e], qU.color[t], n),
+ className: q(KU.base, KU.variant[e], KU.color[t], n),
...i
});
}
// src/react/components/art-slot.tsx
-function YU({ artwork: e, identity: t = e.html, relayout: n }) {
+function JU({ artwork: e, identity: t = e.html, relayout: n }) {
let [r, i] = (0, F.useState)({
identity: t,
artwork: e
@@ -49042,7 +49120,7 @@ function YU({ artwork: e, identity: t = e.html, relayout: n }) {
});
}
// src/react/activity/downloads-panel.tsx
-var XU = "/api/downloads", ZU = ["downloads"], oye = "/api/downloads/cancel", sye = "/api/downloads/postprocess", QU = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, cye = {
+var YU = "/api/downloads", XU = ["downloads"], mye = "/api/downloads/cancel", hye = "/api/downloads/postprocess", ZU = (e) => e?.tasks.some((e) => e.cancellable || e.postprocess_active) ? 5e3 : 3e4, gye = {
ingested: "lime",
failed: "rose",
cancelled: "neutral",
@@ -49051,21 +49129,21 @@ var XU = "/api/downloads", ZU = ["downloads"], oye = "/api/downloads/cancel", sy
remote_done: "lime",
landed: "lime",
submitted: "neutral"
-}, $U = (e) => {
- let t = e.display_code || e.code || "", { title: n } = UI({
+}, QU = (e) => {
+ let t = e.display_code || e.code || "", { title: n } = HI({
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}`;
-}, eW = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", lye = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");
-function uye() {
+}, $U = (e) => e.failure_label ? [e.failure_label, e.failure_detail].filter(Boolean).join(":") : "", _ye = (e) => (e.postprocess_detail || "").replace("正片已绑定", "已确认主视频对应的作品").replace("整理跳过:", "未整理文件:");
+function vye() {
let e = (0, F.useId)(), t = Lt({
- queryKey: [...ZU, "pages"],
+ queryKey: [...XU, "pages"],
initialPageParam: null,
- queryFn: ({ signal: e, pageParam: t }) => B(`${XU}?limit=20${t === null ? "" : `&before_id=${t}`}`, e),
+ queryFn: ({ signal: e, pageParam: t }) => B(`${YU}?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) => QU(e) === 5e3) ? 5e3 : 3e4
+ refetchInterval: (e) => e.state.data?.pages.some((e) => ZU(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, I.jsxs)("section", {
id: "cloudDownloads",
@@ -49077,14 +49155,14 @@ function uye() {
className: "text-title-2-medium text-text-primary",
children: "云下载"
}),
- t.error ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ t.error ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "error",
children: lr(t.error)
}) : null,
r.length ? /* @__PURE__ */ (0, I.jsx)("ul", {
"aria-live": "polite",
className: "flex min-w-0 flex-col gap-3",
- children: r.map((e) => /* @__PURE__ */ (0, I.jsx)(dye, {
+ children: r.map((e) => /* @__PURE__ */ (0, I.jsx)(yye, {
task: e,
writable: n[0]?.available ?? !1
}, e.id))
@@ -49092,9 +49170,9 @@ function uye() {
t.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: bB,
+ leadingIcon: yB,
className: "self-start",
- ..._V(t.isFetchingNextPage),
+ ...gV(t.isFetchingNextPage),
onClick: () => {
t.isFetching || t.fetchNextPage();
},
@@ -49103,16 +49181,16 @@ function uye() {
]
});
}
-function dye({ task: e, writable: t }) {
- oL();
- let n = ae(), r = _H(), [i, a] = (0, F.useState)(!1), [o, s] = (0, F.useState)(!1), c = (0, F.useId)(), l = eW(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 yye({ task: e, writable: t }) {
+ aL();
+ let n = ae(), r = gH(), [i, a] = (0, F.useState)(!1), [o, s] = (0, F.useState)(!1), c = (0, F.useId)(), l = $U(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,
- iL(e.submitted_at)
+ rL(e.submitted_at)
].filter(Boolean).join(" · "), h = () => {
- n.invalidateQueries({ queryKey: ZU });
+ n.invalidateQueries({ queryKey: XU });
}, g = () => {
- r.run("cancel", (t) => V(oye, { id: e.id }, "POST", t), h);
+ r.run("cancel", (t) => V(mye, { id: e.id }, "POST", t), h);
}, _ = () => {
let t = {
magnet: e.source_uri,
@@ -49122,16 +49200,16 @@ function dye({ task: e, writable: t }) {
title: e.title,
origin: e.origin
};
- r.run("resubmit", (e) => V(XU, t, "POST", e), h);
+ r.run("resubmit", (e) => V(YU, t, "POST", e), h);
}, v = () => {
navigator.clipboard.writeText(e.source_uri).then(() => a(!0), () => a(!1));
}, y = () => {
- r.run("postprocess", (t) => V(sye, { id: e.id }, "POST", t), h);
+ r.run("postprocess", (t) => V(hye, { id: e.id }, "POST", t), h);
};
return /* @__PURE__ */ (0, I.jsxs)("li", {
"data-download-state": e.state,
"data-download-id": e.id,
- className: TU({
+ className: wU({
padding: "none",
bordered: p ? "error" : void 0,
className: "flex flex-col"
@@ -49142,14 +49220,14 @@ function dye({ task: e, writable: t }) {
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-download-cover": "",
"data-media-pic": "",
- style: { "--card-ratio": String(hM) },
+ style: { "--card-ratio": String(dM) },
className: "w-20 shrink-0 self-start text-caption-1-regular text-text-secondary sm:w-32",
children: [
u?.has_cover ? null : /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-nopic": "",
children: "无封面"
}),
- u?.has_cover ? /* @__PURE__ */ (0, I.jsx)(YU, {
+ u?.has_cover ? /* @__PURE__ */ (0, I.jsx)(JU, {
artwork: {
kind: "cover",
html: So(u, "big")
@@ -49159,7 +49237,7 @@ function dye({ task: e, writable: t }) {
f ? /* @__PURE__ */ (0, I.jsx)("a", {
"data-download-cover-link": "",
href: f,
- "aria-label": `打开作品详情:${$U(e)}`,
+ "aria-label": `打开作品详情:${QU(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
]
@@ -49170,19 +49248,19 @@ function dye({ 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, I.jsx)("strong", {
className: "min-w-0 w-full flex-1 truncate text-title-1-medium text-text-primary sm:w-auto",
- title: $U(e),
+ title: QU(e),
children: f ? /* @__PURE__ */ (0, I.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: $U(e)
- }) : $U(e)
+ children: QU(e)
+ }) : QU(e)
}), /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex shrink-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, I.jsx)(JU, {
- color: cye[e.state] ?? "neutral",
+ children: [/* @__PURE__ */ (0, I.jsx)(qU, {
+ color: gye[e.state] ?? "neutral",
children: e.state_label
- }), e.state === "ingested" ? /* @__PURE__ */ (0, I.jsx)(JU, {
+ }), e.state === "ingested" ? /* @__PURE__ */ (0, I.jsx)(qU, {
color: e.postprocess_state === "complete" ? "lime" : e.postprocess_state === "failed" ? "rose" : e.postprocess_state === "running" ? "blue" : "neutral",
children: e.postprocess_label
}) : null]
@@ -49192,7 +49270,7 @@ function dye({ task: e, writable: t }) {
className: "flex min-w-0 items-center gap-2 text-caption-1-regular text-text-secondary",
children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "flex shrink-0",
- children: /* @__PURE__ */ (0, I.jsx)(GH, {
+ children: /* @__PURE__ */ (0, I.jsx)(WH, {
source: e.provider,
label: e.provider_label
})
@@ -49219,7 +49297,7 @@ function dye({ task: e, writable: t }) {
children: [d.map((e) => nn("performer", e.name, e.id)).join("、"), (u?.performer_total || 0) > d.length ? ` 等 ${u.performer_total} 人` : ""]
})]
}) : null,
- e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, I.jsx)(jH, {
+ e.state === "remote_running" && e.progress != null ? /* @__PURE__ */ (0, I.jsx)(AH, {
label: "远端下载进度",
value: Math.round(e.progress * 100),
max: 100
@@ -49229,7 +49307,7 @@ function dye({ task: e, writable: t }) {
title: e.ledger_path,
children: e.ledger_path
}) : null,
- r.error ? /* @__PURE__ */ (0, I.jsx)(zH, { children: r.error }) : null,
+ r.error ? /* @__PURE__ */ (0, I.jsx)(RH, { children: r.error }) : null,
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-download-actions": "",
className: "flex flex-wrap items-center gap-2 pt-1 sm:mt-auto",
@@ -49254,21 +49332,21 @@ function dye({ task: e, writable: t }) {
e.cancellable ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- ..._V(r.busy === "cancel"),
+ ...gV(r.busy === "cancel"),
onClick: g,
children: "取消"
}) : null,
e.resubmittable ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- ..._V(r.busy === "resubmit"),
+ ...gV(r.busy === "resubmit"),
onClick: _,
children: "重新提交"
}) : null,
e.postprocess_retryable ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- ..._V(r.busy === "postprocess"),
+ ...gV(r.busy === "postprocess"),
onClick: y,
children: "重试入库后整理"
}) : null
@@ -49283,33 +49361,33 @@ function dye({ 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: $U(e)
+ children: QU(e)
}) : null,
l || e.postprocess_detail ? /* @__PURE__ */ (0, I.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, I.jsx)("p", {
className: "wrap-anywhere text-caption-1-regular text-text-secondary",
- children: l || lye(e)
+ children: l || _ye(e)
})
}) : null
]
});
}
// src/react/activity/work-code.ts
-var tW = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), nW = (e, t) => !!tW(e) && tW(e) === tW(t);
+var eW = (e) => (e || "").toUpperCase().replace(/[^A-Z0-9]/g, ""), tW = (e, t) => !!eW(e) && eW(e) === eW(t);
// src/react/activity/resource-search.tsx
-function fye({ className: e }) {
+function bye({ className: e }) {
return /* @__PURE__ */ (0, I.jsx)("span", {
className: e,
"aria-hidden": !0,
dangerouslySetInnerHTML: { __html: Bs("") }
});
}
-function pye(e) {
+function xye(e) {
return ["中字", "中文字幕"].includes(e?.trim() ?? "") ? "chinese" : ["无码", "无码破解"].includes(e?.trim() ?? "") ? "uncensored" : "quality";
}
-function mye({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
- let [a, o] = (0, F.useState)(e), [s, c] = (0, F.useState)(() => pye(t)), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(""), [p, m] = (0, F.useState)(null), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(""), y = _H(), b = (0, F.useRef)(null);
+function Sye({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
+ let [a, o] = (0, F.useState)(e), [s, c] = (0, F.useState)(() => xye(t)), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(""), [p, m] = (0, F.useState)(null), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(""), y = gH(), b = (0, F.useRef)(null);
(0, F.useEffect)(() => () => b.current?.abort(), []);
let x = () => {
if (!a.trim() || y.busy) return;
@@ -49325,7 +49403,7 @@ function mye({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
let e = new AbortController();
b.current = e, B(`/api/items?jav=1&q=${encodeURIComponent(t)}&limit=10`, e.signal).then((n) => {
if (e.signal.aborted) return;
- let r = (n.items || []).find((e) => nW(e.code, t));
+ let r = (n.items || []).find((e) => tW(e.code, t));
i(r ? {
code: r.code,
title: String(r.catalog_title || r.name || ""),
@@ -49346,18 +49424,18 @@ function mye({ 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, I.jsxs)(RH, { children: [
+ t ? /* @__PURE__ */ (0, I.jsxs)(LH, { children: [
"版本目标:",
t,
"。可在下方调整搜索优先项;完整度与水印需要逐条复核。"
] }) : null,
- /* @__PURE__ */ (0, I.jsx)(lV, {
+ /* @__PURE__ */ (0, I.jsx)(cV, {
label: "按番号查找资源",
value: a,
maxLength: 80,
placeholder: "输入番号,按回车搜索",
enterKeyHint: "search",
- leadingIcon: y.busy ? fye : JB,
+ leadingIcon: y.busy ? bye : qB,
isReadOnly: !!y.busy,
"aria-busy": !!y.busy,
onChange: o,
@@ -49367,7 +49445,7 @@ function mye({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, I.jsx)(BH, { children: "优先寻找" }), /* @__PURE__ */ (0, I.jsxs)(GU, {
+ children: [/* @__PURE__ */ (0, I.jsx)(zH, { children: "优先寻找" }), /* @__PURE__ */ (0, I.jsxs)(WU, {
"aria-label": "优先寻找",
selectedKey: s,
isDisabled: !!y.busy,
@@ -49375,15 +49453,15 @@ function mye({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
e !== null && c(String(e));
},
children: [
- /* @__PURE__ */ (0, I.jsx)(KU, {
+ /* @__PURE__ */ (0, I.jsx)(GU, {
id: "quality",
children: "高清"
}),
- /* @__PURE__ */ (0, I.jsx)(KU, {
+ /* @__PURE__ */ (0, I.jsx)(GU, {
id: "chinese",
children: "中字"
}),
- /* @__PURE__ */ (0, I.jsx)(KU, {
+ /* @__PURE__ */ (0, I.jsx)(GU, {
id: "uncensored",
children: "无码"
})
@@ -49392,32 +49470,32 @@ function mye({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex gap-3 max-sm:flex-col",
- children: [/* @__PURE__ */ (0, I.jsx)(lV, {
+ children: [/* @__PURE__ */ (0, I.jsx)(cV, {
label: "最小体积(GiB)",
inputMode: "decimal",
value: l,
onChange: u
- }), /* @__PURE__ */ (0, I.jsx)(lV, {
+ }), /* @__PURE__ */ (0, I.jsx)(cV, {
label: "最大体积(GiB)",
inputMode: "decimal",
value: d,
onChange: f
})]
}),
- y.busy ? /* @__PURE__ */ (0, I.jsx)(RH, {
+ y.busy ? /* @__PURE__ */ (0, I.jsx)(LH, {
role: "status",
children: "正在搜索资源"
}) : null,
- y.error ? /* @__PURE__ */ (0, I.jsx)(zH, { children: y.error }) : null,
- p?.error ? /* @__PURE__ */ (0, I.jsx)(RH, {
+ y.error ? /* @__PURE__ */ (0, I.jsx)(RH, { children: y.error }) : null,
+ p?.error ? /* @__PURE__ */ (0, I.jsx)(LH, {
role: "status",
children: p.error
}) : null,
- p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, I.jsx)(RH, {
+ p?.state === "ready" && !p.items.length ? /* @__PURE__ */ (0, I.jsx)(LH, {
role: "status",
children: "没有符合条件的资源。"
}) : null,
- p?.warnings.map((e) => /* @__PURE__ */ (0, I.jsx)(RH, { children: e }, e)),
+ p?.warnings.map((e) => /* @__PURE__ */ (0, I.jsx)(LH, { children: e }, e)),
p?.items.length ? /* @__PURE__ */ (0, I.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
children: p.items.map((e) => /* @__PURE__ */ (0, I.jsxs)("li", {
@@ -49427,7 +49505,7 @@ function mye({ 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, I.jsx)(RH, { children: [
+ /* @__PURE__ */ (0, I.jsx)(LH, { children: [
e.size > 0 ? `${(e.size / 1024 ** 3).toFixed(2)} GiB` : "体积未取得",
e.seeders >= 0 ? `${e.seeders} 个做种` : "做种未取得",
e.resolution ? `${e.resolution}p` : "",
@@ -49451,19 +49529,19 @@ function mye({ initialCode: e, reason: t, choose: n, onSearch: r, onWork: i }) {
});
}
// src/react/activity/cloud-download-dialog.tsx
-var hye = {
+var Cye = {
submitted: "已提交离线下载,进度在任务中心",
adopted: "这个磁力已有任务,没有重复提交",
adopted_remote: "网盘中已有相同的下载任务,Peach 已开始跟踪进度"
};
-function rW({ prefill: e, close: t, receipt: n, provider: r }) {
- return /* @__PURE__ */ (0, I.jsx)(uV, {
+function nW({ prefill: e, close: t, receipt: n, provider: r }) {
+ return /* @__PURE__ */ (0, I.jsx)(lV, {
isOpen: !!e,
onOpenChange: (e) => {
e || t();
},
width: "form",
- children: e ? /* @__PURE__ */ (0, I.jsx)(gye, {
+ children: e ? /* @__PURE__ */ (0, I.jsx)(wye, {
prefill: e,
close: t,
receipt: n,
@@ -49471,26 +49549,26 @@ function rW({ prefill: e, close: t, receipt: n, provider: r }) {
}) : null
});
}
-function gye({ prefill: e, close: t, receipt: n, provider: r }) {
+function wye({ prefill: e, close: t, receipt: n, provider: r }) {
let i = Ft({
- queryKey: ZU,
- queryFn: ({ signal: e }) => B(`${XU}?limit=50`, e),
- refetchInterval: (e) => QU(e.state.data)
+ queryKey: XU,
+ queryFn: ({ signal: e }) => B(`${YU}?limit=50`, e),
+ refetchInterval: (e) => ZU(e.state.data)
}), a = i.data, o = /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex items-center justify-between gap-4 px-5 pt-5",
- children: [/* @__PURE__ */ (0, I.jsx)(UL, {
+ children: [/* @__PURE__ */ (0, I.jsx)(HL, {
slot: "title",
className: "text-title-2-semibold text-text-primary",
children: "查找资源"
}), /* @__PURE__ */ (0, I.jsx)(J, {
variant: "ghost",
iconOnly: !0,
- leadingIcon: DB,
+ leadingIcon: EB,
"aria-label": "关闭资源面板",
onClick: t
})]
});
- return a ? /* @__PURE__ */ (0, I.jsx)(_ye, {
+ return a ? /* @__PURE__ */ (0, I.jsx)(Tye, {
header: o,
snapshot: a,
prefill: e,
@@ -49503,7 +49581,7 @@ function gye({ prefill: e, close: t, receipt: n, provider: r }) {
o,
/* @__PURE__ */ (0, I.jsx)("div", {
className: "flex min-h-0 flex-col gap-4 overflow-y-auto p-5",
- children: i.error ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ children: i.error ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "error",
children: lr(i.error)
}) : null
@@ -49519,8 +49597,8 @@ function gye({ prefill: e, close: t, receipt: n, provider: r }) {
]
});
}
-function _ye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {
- let o = ae(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, F.useState)(c?.key || ""), [d, f] = (0, F.useState)(""), [p, m] = (0, F.useState)(n.code ?? ""), [h, g] = (0, F.useState)(c?.target || ""), [_, v] = (0, F.useState)(n.code ? n : null), [y, b] = (0, F.useState)(""), x = t.available && s.some((e) => e.key === l), S = _H(), C = (0, F.useRef)(null), w = (e) => {
+function Tye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provider: a }) {
+ let o = ae(), s = t.providers.filter((e) => e.configured), c = s.find((e) => e.key === a) ?? s[0], [l, u] = (0, F.useState)(c?.key || ""), [d, f] = (0, F.useState)(""), [p, m] = (0, F.useState)(n.code ?? ""), [h, g] = (0, F.useState)(c?.target || ""), [_, v] = (0, F.useState)(n.code ? n : null), [y, b] = (0, F.useState)(""), x = t.available && s.some((e) => e.key === l), S = gH(), C = (0, F.useRef)(null), w = (e) => {
u(e), g(s.find((t) => t.key === e)?.target ?? "");
};
return /* @__PURE__ */ (0, I.jsxs)("form", {
@@ -49536,14 +49614,14 @@ function _ye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
title: _?.title,
origin: _?.origin
};
- b(""), S.run("submit", (e) => V(XU, t, "POST", e), (e) => {
- o.invalidateQueries({ queryKey: ZU });
- let t = hye[e.outcome];
+ b(""), S.run("submit", (e) => V(YU, t, "POST", e), (e) => {
+ o.invalidateQueries({ queryKey: XU });
+ let t = Cye[e.outcome];
if (e.ok && t) {
i(t), r();
return;
}
- let n = eW(e.task);
+ let n = $U(e.task);
b(e.outcome === "refused" ? "这个资源被判为违规,不再提交。" : n ? `提交没有成功:${n}` : "提交没有成功。");
});
},
@@ -49567,7 +49645,7 @@ function _ye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
children: [/* @__PURE__ */ (0, I.jsx)("p", {
className: "break-words text-body-medium text-text-primary",
children: _ ? [_.code, _.title].filter(Boolean).join(" · ") : "作品资料未取得"
- }), _ ? /* @__PURE__ */ (0, I.jsx)(RH, { children: [
+ }), _ ? /* @__PURE__ */ (0, I.jsx)(LH, { children: [
_.performers,
_.studio,
_.release_date,
@@ -49575,22 +49653,22 @@ function _ye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
].filter(Boolean).join(" · ") }) : null]
})]
}) : null,
- /* @__PURE__ */ (0, I.jsx)(mye, {
+ /* @__PURE__ */ (0, I.jsx)(Sye, {
initialCode: n.code ?? "",
reason: n.searchReason,
onSearch: (e) => {
- nW(e, _?.code) || (v(nW(e, n.code) ? n : null), f("")), m(e);
+ tW(e, _?.code) || (v(tW(e, n.code) ? n : null), f("")), m(e);
},
- onWork: (e) => v((t) => e ? nW(t?.code, e.code) ? {
+ onWork: (e) => v((t) => e ? tW(t?.code, e.code) ? {
...t,
...e,
origin: t?.origin || e.origin
- } : e : nW(t?.code, n.code) ? t : null),
+ } : e : tW(t?.code, n.code) ? t : null),
choose: (e, t) => {
f(e), m(t), C.current?.focus();
}
}),
- /* @__PURE__ */ (0, I.jsx)(lV, {
+ /* @__PURE__ */ (0, I.jsx)(cV, {
ref: C,
label: "磁力链接",
placeholder: "magnet:?xt=urn:btih:…",
@@ -49602,38 +49680,38 @@ function _ye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-col gap-1",
children: [
- /* @__PURE__ */ (0, I.jsx)(BH, { children: "下载到" }),
- /* @__PURE__ */ (0, I.jsx)(GU, {
+ /* @__PURE__ */ (0, I.jsx)(zH, { children: "下载到" }),
+ /* @__PURE__ */ (0, I.jsx)(WU, {
"aria-label": "下载到",
selectedKey: l || null,
isDisabled: !s.length,
onSelectionChange: (e) => {
e !== null && w(String(e));
},
- children: s.map((e) => /* @__PURE__ */ (0, I.jsx)(KU, {
+ children: s.map((e) => /* @__PURE__ */ (0, I.jsx)(GU, {
id: e.key,
textValue: e.label,
- children: /* @__PURE__ */ (0, I.jsx)(GH, {
+ children: /* @__PURE__ */ (0, I.jsx)(WH, {
source: e.key,
label: e.label
})
}, e.key))
}),
- l === "115" ? /* @__PURE__ */ (0, I.jsx)(RH, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null
+ l === "115" ? /* @__PURE__ */ (0, I.jsx)(LH, { children: "每提交一次扣一条离线配额,重新提交也算。" }) : null
]
}),
- t.available ? null : /* @__PURE__ */ (0, I.jsx)(fV, {
+ t.available ? null : /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "neutral",
children: "云下载只在允许修改数据库的设备上可用。"
}),
- s.length ? null : /* @__PURE__ */ (0, I.jsxs)(fV, {
+ s.length ? null : /* @__PURE__ */ (0, I.jsxs)(dV, {
tone: "neutral",
children: ["尚未配置下载渠道。", /* @__PURE__ */ (0, I.jsx)("a", {
href: "/settings/library?section=%E4%B8%8B%E8%BD%BD%E6%B8%A0%E9%81%93",
children: "下载渠道设置"
})]
}),
- /* @__PURE__ */ (0, I.jsx)(lV, {
+ /* @__PURE__ */ (0, I.jsx)(cV, {
label: "目标目录",
placeholder: "/云下载",
autoComplete: "off",
@@ -49641,17 +49719,17 @@ function _ye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
value: h,
onChange: g
}),
- n.code ? null : /* @__PURE__ */ (0, I.jsx)(lV, {
+ n.code ? null : /* @__PURE__ */ (0, I.jsx)(cV, {
label: "番号",
placeholder: "可不填",
autoComplete: "off",
maxLength: 60,
value: p,
onChange: (e) => {
- m(e), nW(e, _?.code) || v(null);
+ m(e), tW(e, _?.code) || v(null);
}
}),
- y || S.error ? /* @__PURE__ */ (0, I.jsx)(zH, { children: y || S.error }) : null
+ y || S.error ? /* @__PURE__ */ (0, I.jsx)(RH, { children: y || S.error }) : null
]
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -49663,7 +49741,7 @@ function _ye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
}), /* @__PURE__ */ (0, I.jsx)(J, {
type: "submit",
disabled: !d.trim() || !x,
- ..._V(S.busy === "submit"),
+ ...gV(S.busy === "submit"),
children: "提交下载"
})]
})
@@ -49671,18 +49749,18 @@ function _ye({ header: e, snapshot: t, prefill: n, close: r, receipt: i, provide
});
}
// src/react/wants/wants.ts
-var iW = "/api/wants", aW = ["wants"], vye = (e) => [
+var rW = "/api/wants", iW = ["wants"], Eye = (e) => [
"wants",
"follow",
e
-], yye = [
+], Dye = [
["searching", "待找"],
["unreleased", "未发售"],
["given_up", "暂时放弃"],
["acquired", "已入库"]
-], oW = (e) => B(iW, e);
-function bye(e, t) {
- H.setQueryData(aW, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {
+], aW = (e) => B(rW, e);
+function Oye(e, t) {
+ H.setQueryData(iW, (n) => n?.items.some((n) => n.id === e && n.has_magnets !== t) ? {
...n,
items: n.items.map((n) => n.id === e ? {
...n,
@@ -49690,21 +49768,21 @@ function bye(e, t) {
} : n)
} : n);
}
-var xye = (e, t) => B(`${iW}?follow=${encodeURIComponent(e)}`, t), sW = (e, t) => V(iW, {
+var kye = (e, t) => B(`${rW}?follow=${encodeURIComponent(e)}`, t), oW = (e, t) => V(rW, {
action: "add",
...e
-}, "POST", t), cW = (e, t) => V(iW, {
+}, "POST", t), sW = (e, t) => V(rW, {
action: "remove",
ids: e
-}, "POST", t), Sye = (e, t) => V(iW, {
+}, "POST", t), Aye = (e, t) => V(rW, {
action: "reset",
ids: e
-}, "POST", t), lW = () => H.invalidateQueries({ queryKey: aW }), Cye = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
-function wye(e) {
+}, "POST", t), cW = () => H.invalidateQueries({ queryKey: iW }), jye = (e) => e.code || e.title || `关注条目 ${e.follow_item_id ?? e.id}`;
+function Mye(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} 次` : "还没查过";
}
// src/react/jav/discovery-sorts.ts
-var uW = [
+var lW = [
[
"taste",
"口味",
@@ -49712,7 +49790,7 @@ var uW = [
],
[
"release_date",
- Nj[1],
+ kj[1],
"按发行日期排序"
],
[
@@ -49730,10 +49808,10 @@ var uW = [
"番号",
"按番号排序"
]
-], dW = [
+], uW = [
[
"release_date",
- Nj[1],
+ kj[1],
"按发行日期排序"
],
[
@@ -49757,10 +49835,10 @@ var uW = [
"按口味匹配排序"
]
];
-function Tye(e) {
+function Nye(e) {
return typeof e == "number" && Number.isFinite(e) ? e.toFixed(3) : "—";
}
-function Eye(e) {
+function Pye(e) {
if (typeof e != "number" || !Number.isFinite(e)) return {
score: "—",
label: "资料未取得",
@@ -49785,7 +49863,7 @@ function Eye(e) {
};
}
// src/react/jav/jav.ts
-function Dye(e) {
+function Fye(e) {
let t = new URLSearchParams(location.search);
for (let [n, r] of Object.entries(e)) r ? t.set(n, r) : t.delete(n);
kp(location.pathname + (t.size ? `?${t}` : ""), {
@@ -49793,13 +49871,13 @@ function Dye(e) {
state: Op.navigation.location.state
});
}
-var fW = (e, t = "taste", n = "desc") => [
+var dW = (e, t = "taste", n = "desc") => [
"jav-discoveries",
e,
t,
n
];
-function pW(e, t, n = {}) {
+function fW(e, t, n = {}) {
let r = new URLSearchParams({
scope: e,
limit: "100",
@@ -49808,7 +49886,7 @@ function pW(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"), B(`/api/jav/discoveries?${r}`, t);
}
-function mW(e) {
+function pW(e) {
let t = new URLSearchParams(e), n = t.get("sort"), r = t.get("seed") || "";
return {
page: Math.max(1, Math.floor(Number(t.get("page"))) || 1),
@@ -49816,12 +49894,12 @@ function mW(e) {
studio: t.get("studio") || "",
tag: t.get("tag") || "",
q: (t.get("q") || "").trim(),
- sort: n === "random" && r ? "random" : dW.find(([e]) => e === n)?.[0] || "release_date",
+ sort: n === "random" && r ? "random" : uW.find(([e]) => e === n)?.[0] || "release_date",
dir: t.get("dir") === "asc" ? "asc" : "desc",
seed: r
};
}
-var hW = (e) => [
+var mW = (e) => [
"jav-releases",
e.page,
e.performer,
@@ -49832,7 +49910,7 @@ var hW = (e) => [
e.dir,
e.seed
];
-function gW(e, t, n = "") {
+function hW(e, t, n = "") {
let r = new URLSearchParams({
page: String(e.page),
size: "24",
@@ -49848,7 +49926,7 @@ function gW(e, t, n = "") {
]) e[t] && r.set(t, e[t]);
return n && r.set("metadata_job_id", n), B(`/api/jav/releases?${r}`, t);
}
-function Oye(e, t, n) {
+function Iye(e, t, n) {
let r = wo({
...e,
is_jav: !0
@@ -49857,40 +49935,40 @@ function Oye(e, t, n) {
let i = z(fo(e));
return So(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 kye(e, t) {
+async function Lye(e, t) {
if (e === "wants") await H.ensureQueryData({
- queryKey: aW,
- queryFn: () => oW(t),
+ queryKey: iW,
+ queryFn: () => aW(t),
staleTime: 3e4,
revalidateIfStale: !0
});
else if (e === "discover") await H.ensureQueryData({
- queryKey: fW("external"),
- queryFn: () => pW("external", t),
+ queryKey: dW("external"),
+ queryFn: () => fW("external", t),
staleTime: 3e4,
revalidateIfStale: !0
});
else if (e === "releases") {
- let e = mW(location.search);
+ let e = pW(location.search);
await H.ensureQueryData({
- queryKey: hW(e),
- queryFn: () => gW(e, t),
+ queryKey: mW(e),
+ queryFn: () => hW(e, t),
staleTime: 3e4,
revalidateIfStale: !0
});
}
}
// src/react/components/board-tabs.tsx
-function _W({ value: e }) {
+function gW({ value: e }) {
return /* @__PURE__ */ (0, I.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 Aye = "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 vW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
- let a = (0, F.useRef)(null), o = fL(a);
+var Rye = "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 _W({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5" }) {
+ let a = (0, F.useRef)(null), o = dL(a);
return (0, F.useLayoutEffect)(() => {
let e = a.current;
e && (() => {
@@ -49899,7 +49977,7 @@ function vW({ 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, I.jsx)(RI, {
+ }, [t]), /* @__PURE__ */ (0, I.jsx)(LI, {
ref: o,
role: "tablist",
"aria-label": n,
@@ -49914,7 +49992,7 @@ function vW({ 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 ? hV(e.symbol) : null, i = e.value === t;
+ let n = e.symbol ? mV(e.symbol) : null, i = e.value === t;
return /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
role: "tab",
@@ -49923,7 +50001,7 @@ function vW({ 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: Aye,
+ className: Rye,
onClick: () => {
i || r(e.value);
},
@@ -49933,7 +50011,7 @@ function vW({ tabs: e, value: t, label: n, onChange: r, className: i = "mb-5.5"
});
}
// src/react/jav/jav-header.tsx
-function yW({ tab: e, navigate: t, find: n, search: r }) {
+function vW({ tab: e, navigate: t, find: n, search: r }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex w-full flex-col gap-4",
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -49952,32 +50030,32 @@ function yW({ tab: e, navigate: t, find: n, search: r }) {
children: "查找资源"
})
]
- }), /* @__PURE__ */ (0, I.jsx)(vW, {
- tabs: uU.map(([e, t]) => ({
+ }), /* @__PURE__ */ (0, I.jsx)(_W, {
+ tabs: lU.map(([e, t]) => ({
value: e,
label: t
})),
value: e,
label: "JAV 分区",
className: "",
- onChange: (e) => t(fU(e))
+ onChange: (e) => t(dU(e))
})]
});
}
-function jye({ navigate: e, receipt: t }) {
+function yW({ navigate: e, receipt: t }) {
let [n, r] = (0, F.useState)(null);
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(yW, {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(vW, {
tab: "library",
navigate: e,
find: () => r({})
- }), /* @__PURE__ */ (0, I.jsx)(rW, {
+ }), /* @__PURE__ */ (0, I.jsx)(nW, {
prefill: n,
close: () => r(null),
receipt: t
})] });
}
// src/react/video-wall/folia/blockReflows.ts
-var Mye = [
+var bW = [
[
[
{
@@ -53538,7 +53616,7 @@ var Mye = [
}
]
]
-], bW = [
+], xW = [
[
{
x: 0,
@@ -53835,89 +53913,89 @@ var Mye = [
rows: 2
}
]
-], xW = (e) => e.map((e) => ({
+], SW = (e) => e.map((e) => ({
...e,
x: 12 - e.x - e.cols
-})), SW = (e) => e.map((e) => ({
+})), CW = (e) => e.map((e) => ({
...e,
y: 8 - e.y - e.rows
-})), CW = [
+})), wW = [
(e) => e,
- xW,
SW,
- (e) => xW(SW(e))
-], wW = bW.flatMap((e) => CW.map((t) => t(e))), TW = Mye.flatMap((e) => CW.map((t) => e.map(t)));
-wW.length;
-var EW = (e, t) => {
+ CW,
+ (e) => SW(CW(e))
+], TW = xW.flatMap((e) => wW.map((t) => t(e))), zye = bW.flatMap((e) => wW.map((t) => e.map(t)));
+TW.length;
+var Bye = (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;
-}, DW = (e, t) => {
- let n = bW.length;
- return ((e + t * 2) % n + n) % n * CW.length + EW(e, t) % CW.length;
-}, Nye = (e, t) => wW[DW(e, t)], Pye = (e, t, n) => n < 0 || n >= 12 ? null : TW[DW(e, t)][n], OW = 103.36, kW = 6.08, AW = 12 * OW, jW = 8 * OW, MW = 12, NW = (e, t) => (e % t + t) % t, Fye = (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 PW(e, t) {
- let n = Math.max(1, Math.ceil(e / MW)), r = t ? 3 : Math.min(3, n);
+}, EW = (e, t) => {
+ let n = xW.length;
+ return ((e + t * 2) % n + n) % n * wW.length + Bye(e, t) % wW.length;
+}, Vye = (e, t) => TW[EW(e, t)], Hye = (e, t, n) => n < 0 || n >= 12 ? null : zye[EW(e, t)][n], DW = 103.36, OW = 6.08, kW = 12 * DW, AW = 8 * DW, jW = 12, MW = (e, t) => (e % t + t) % t, Uye = (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 NW(e, t) {
+ let n = Math.max(1, Math.ceil(e / jW)), r = t ? 3 : Math.min(3, n);
return {
columns: r,
- width: r * AW,
- height: Math.ceil(n / r) * jW
+ width: r * kW,
+ height: Math.ceil(n / r) * AW
};
}
-function FW(e, t, n) {
- let { x: r, y: i, cols: a, rows: o } = Nye(e, t)[n];
+function PW(e, t, n) {
+ let { x: r, y: i, cols: a, rows: o } = Vye(e, t)[n];
return {
- x: e * AW + r * OW,
- y: t * jW + i * OW,
- width: a * OW - kW,
- height: o * OW - kW
+ x: e * kW + r * DW,
+ y: t * AW + i * DW,
+ width: a * DW - OW,
+ height: o * DW - OW
};
}
-function Iye(e) {
+function Wye(e) {
return (!e.medium || e.medium === "video") && !!e.has_cover && !!(e.cover_key || e.code);
}
-function IW(e, t, n) {
+function FW(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 >= MW) return null;
- let o = PW(e, t), s = o.height / jW;
+ ].every(Number.isInteger) || a < 0 || a >= jW) return null;
+ let o = NW(e, t), s = o.height / AW;
if (t && (r < 0 || r >= o.columns || i < 0 || i >= s)) return null;
- let c = t ? r : NW(r, o.columns), l = ((t ? i : NW(i, s)) * o.columns + c) * MW + a;
+ let c = t ? r : MW(r, o.columns), l = ((t ? i : MW(i, s)) * o.columns + c) * jW + a;
return t && l >= e ? null : {
- ...FW(r, i, a),
+ ...PW(r, i, a),
index: l % e,
key: n
};
}
-function Lye(e, t) {
+function Gye(e, t) {
if (t < 0 || t >= e) return null;
- let n = Math.floor(t / MW);
- return IW(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % MW}`);
+ let n = Math.floor(t / jW);
+ return FW(e, !0, `${n % 3}:${Math.floor(n / 3)}:${t % jW}`);
}
-function LW(e, t, n) {
- let [r, i, a] = n.key.split(":").map(Number), o = Pye(r, i, a);
+function IW(e, t, n) {
+ let [r, i, a] = n.key.split(":").map(Number), o = Hye(r, i, a);
return new Map((o || []).map((e, t) => [`${r}:${i}:${t}`, {
- x: r * AW + e.x * OW,
- y: i * jW + e.y * OW,
- width: e.cols * OW - kW,
- height: e.rows * OW - kW
+ x: r * kW + e.x * DW,
+ y: i * AW + e.y * DW,
+ width: e.cols * DW - OW,
+ height: e.rows * DW - OW
}]));
}
-function Rye(e) {
+function Kye(e) {
let t = 0, n = 0;
for (let r = Math.max(0, e - 36); r < e; r += 1) {
- let e = Math.floor(r / MW), i = FW(e % 3, Math.floor(e / 3), r % MW);
+ let e = Math.floor(r / jW), i = PW(e % 3, Math.floor(e / 3), r % jW);
t = Math.max(t, i.x + i.width), n = Math.max(n, i.y + i.height);
}
return {
- width: e >= 36 ? 3 * AW - kW : t,
+ width: e >= 36 ? 3 * kW - OW : t,
height: n
};
}
-function zye(e, t, n, r) {
+function qye(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 {
@@ -53926,22 +54004,22 @@ function zye(e, t, n, r) {
y: i(e.y, n.height, t.height)
};
}
-function RW(e, t, n, r) {
+function LW(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 = PW(e, t), s = o.height / jW, c = [];
- for (let n = Math.floor(a.y / jW); n <= Math.floor((a.y + a.height) / jW); n += 1) for (let r = Math.floor(a.x / AW); r <= Math.floor((a.x + a.width) / AW); r += 1) {
+ }, o = NW(e, t), s = o.height / AW, c = [];
+ for (let n = Math.floor(a.y / AW); n <= Math.floor((a.y + a.height) / AW); n += 1) for (let r = Math.floor(a.x / kW); r <= Math.floor((a.x + a.width) / kW); r += 1) {
if (t && (r < 0 || r >= o.columns || n < 0 || n >= s)) continue;
- let i = t ? r : NW(r, o.columns), l = t ? n : NW(n, s);
- for (let s = 0; s < MW; s += 1) {
- let u = (l * o.columns + i) * MW + s;
+ let i = t ? r : MW(r, o.columns), l = t ? n : MW(n, s);
+ for (let s = 0; s < jW; s += 1) {
+ let u = (l * o.columns + i) * jW + s;
if (t && u >= e) continue;
- let d = FW(r, n, s);
- Fye(d, a) && c.push({
+ let d = PW(r, n, s);
+ Uye(d, a) && c.push({
...d,
index: u % e,
key: `${r}:${n}:${s}`
@@ -53950,7 +54028,7 @@ function RW(e, t, n, r) {
}
return c;
}
-var Bye = class {
+var Jye = class {
positions = /* @__PURE__ */ new Map();
used = /* @__PURE__ */ new Set();
cursor = 0;
@@ -53962,7 +54040,7 @@ var Bye = class {
this.cursor = e;
}
tile(e, t) {
- let n = this.positions.get(e), r = n === void 0 ? null : IW(t, !1, e);
+ let n = this.positions.get(e), r = n === void 0 ? null : FW(t, !1, e);
return r ? {
...r,
index: n
@@ -53992,7 +54070,7 @@ var Bye = class {
let e = 0;
for (let t of this.positions.keys()) e = Math.max(e, Number(t.split(":")[0]));
return {
- x: (e + 2) * AW,
+ x: (e + 2) * kW,
y: 0
};
}
@@ -54005,10 +54083,10 @@ var Bye = class {
c < i && (r = s, i = c);
}
if (r) return r;
- let a = this.fresh(), o = `${Math.round(a.x / AW)}:0:0`;
+ let a = this.fresh(), o = `${Math.round(a.x / kW)}:0:0`;
return this.positions.set(o, t), this.used.add(t), this.tile(o, e);
}
-}, zW = [
+}, RW = [
"q",
"performer",
"series",
@@ -54023,39 +54101,39 @@ var Bye = class {
"dur_max",
"region"
];
-function Vye(e = {}) {
- return zW.some((t) => !!e[t]);
+function Yye(e = {}) {
+ return RW.some((t) => !!e[t]);
}
// src/react/video-wall/wall-boot.ts
-function Hye() {
+function Xye() {
if (document.querySelector("[data-wall-boot]")) return;
let e = innerWidth < 640 ? .68 : 1, t = document.createElement("div");
t.className = "peach-react", t.dataset.wallBoot = "", t.innerHTML = `<div data-video-wall="" data-fullscreen=""><div data-wall-viewport="" data-skeleton="wall" role="status" aria-busy="true" aria-label="正在读取播放墙"><div data-wall-world="" style="transform:translate3d(0px, 0px, 0) scale(${e})"></div></div></div>`, document.body.append(t);
let n = t.querySelector("[data-wall-viewport]").getBoundingClientRect();
- t.querySelector("[data-wall-world]").innerHTML = RW(12, !1, {
+ t.querySelector("[data-wall-world]").innerHTML = LW(12, !1, {
x: 0,
y: 0,
scale: e
}, n).map((e) => `<span data-wall-skeleton="" aria-hidden="true" style="--wall-left:${e.x}px;--wall-top:${e.y}px;--wall-width:${e.width}px;--wall-height:${e.height}px"></span>`).join("");
}
-function BW() {
+function zW() {
document.querySelectorAll("[data-wall-boot]").forEach((e) => e.remove());
}
// src/react/router/pages/catalog.tsx
-var Uye = () => pu, VW = Op.navigation.seq, HW = Op.navigation.openEpoch, UW = Op.navigation.location.pathname, WW = {
- seq: VW,
+var Zye = () => pu, BW = Op.navigation.seq, VW = Op.navigation.openEpoch, HW = Op.navigation.location.pathname, UW = {
+ seq: BW,
claimed: !0,
- from: UW
+ from: HW
};
Op.listen((e) => {
- WW = {
+ UW = {
seq: e.seq,
- claimed: e.openEpoch === HW,
- from: UW
- }, HW = e.openEpoch, UW = e.location.pathname;
+ claimed: e.openEpoch === VW,
+ from: HW
+ }, VW = e.openEpoch, HW = e.location.pathname;
});
-var GW = !1;
-function KW(e) {
+var WW = !1;
+function GW(e) {
let { seq: t, openEpoch: n, location: r } = Op.navigation, i = Bf(r.pathname), a = jp() ?? r, o = U ?? {};
return {
seq: t,
@@ -54067,7 +54145,7 @@ function KW(e) {
opened: e
};
}
-function Wye(e, t, n, r) {
+function Qye(e, t, n, r) {
let i = { ...U }, a = um("catalog");
if (a) return { ...a };
if (e === "/trash") return {
@@ -54079,7 +54157,7 @@ function Wye(e, t, n, r) {
state: "trash",
q: ""
};
- let o = new URLSearchParams(t), { defaultSort: s, defaultSortDirection: c } = oM().value;
+ let o = new URLSearchParams(t), { defaultSort: s, defaultSortDirection: c } = nM().value;
return {
...i,
loc: o.get("loc") ?? r.defaultLoc(),
@@ -54093,7 +54171,7 @@ function Wye(e, t, n, r) {
dur_max: o.get("dur_max") || "",
orient: o.get("orient") || "",
state: kn[e] || o.get("state") || "",
- ...Vj(o.get("sort"), o.get("dir"), s, c),
+ ...Lj(o.get("sort"), o.get("dir"), s, c),
seed: o.get("seed") || (n ? ir() : i.seed || ir()),
q: o.get("q") || "",
jav: o.get("jav") || "",
@@ -54104,14 +54182,14 @@ function Wye(e, t, n, r) {
folder_recursive: o.get("folder_recursive") === "0" ? "0" : ""
};
}
-function qW(e) {
+function KW(e) {
let t = Op.navigation.seq;
lm("catalog", { ...U });
let n = e(), r = () => Op.navigation.seq === t, i = () => document.querySelector("#grid");
pm(r, i(), { pending: !0 }), Promise.resolve(n).then(() => pm(r, i()));
}
-function Gye(e, t) {
- let n = { ...e }, r = KW(n.opened);
+function $ye(e, t) {
+ let n = { ...e }, r = GW(n.opened);
Object.assign(e, r);
let i = t.catalog;
if (!i || r.opens === 0) return;
@@ -54123,39 +54201,39 @@ function Gye(e, t) {
if (r.opens === n.opens) {
if (r.epoch === n.epoch && n.opened) {
if (r.seq === n.seq || n.covered && r.address === n.address && r.filters === n.filters) return;
- qW(() => i.load());
+ KW(() => i.load());
return;
}
- r.epoch !== n.epoch && (a = Op.navigation.action === "POP" && WW.from !== "/");
+ r.epoch !== n.epoch && (a = Op.navigation.action === "POP" && UW.from !== "/");
}
let { pathname: o, search: s } = Op.navigation.location;
if (o === "/" && new URLSearchParams(s).get("state") === "ads") {
- let { kind: e, view: t } = zU(s);
- GW = !0, kp(BU(e, t), { replace: !0 });
+ let { kind: e, view: t } = RU(s);
+ WW = !0, kp(zU(e, t), { replace: !0 });
return;
}
- let c = GW;
- GW = !1, a &&= o === "/" && !dm(), e.opened = !0, W({ state: Wye(o, s, a, i) }), qW(() => i.open(o, {
+ let c = WW;
+ WW = !1, a &&= o === "/" && !dm(), e.opened = !0, W({ state: Qye(o, s, a, i) }), KW(() => i.open(o, {
entering: a,
retitle: c
}));
}
-function Kye() {
- let e = (0, F.useContext)($W), t = QW(), n = (0, F.useSyncExternalStore)(Cu, Uye), r = ef(), i = (0, F.useRef)(null), a = (0, F.useRef)({
+function ebe() {
+ let e = (0, F.useContext)(QW), t = ZW(), n = (0, F.useSyncExternalStore)(Cu, Zye), r = ef(), i = (0, F.useRef)(null), a = (0, F.useRef)({
mounted: !0,
queued: !1
});
return (0, F.useEffect)(() => {
let e = a.current;
e.mounted = !0;
- let t = KW(!Bf(Op.navigation.location.pathname));
- return !t.covered && t.opens > 0 && (GW || WW.seq === VW ? t.opens = -1 : WW.claimed ? t.seq = -1 : t.epoch = -1), i.current = t, () => {
+ let t = GW(!Bf(Op.navigation.location.pathname));
+ return !t.covered && t.opens > 0 && (WW || UW.seq === BW ? t.opens = -1 : UW.claimed ? t.seq = -1 : t.epoch = -1), i.current = t, () => {
e.mounted = !1;
};
}, []), (0, F.useEffect)(() => {
let t = a.current;
!t.queued && e && (t.queued = !0, queueMicrotask(() => {
- t.queued = !1, t.mounted && i.current && Gye(i.current, e);
+ t.queued = !1, t.mounted && i.current && $ye(i.current, e);
}));
}, [
t,
@@ -54164,7 +54242,7 @@ function Kye() {
e
]), null;
}
-function JW() {
+function qW() {
let { pathname: e } = ef();
return (0, F.useLayoutEffect)(() => {
if (e !== "/wall") return;
@@ -54173,23 +54251,23 @@ function JW() {
return t.forEach((e) => {
e.inert = !0;
}), () => {
- document.body.removeAttribute("data-wall-open"), BW(), t.forEach((e, t) => {
+ document.body.removeAttribute("data-wall-open"), zW(), t.forEach((e, t) => {
e.inert = n[t] || !1;
});
};
- }, [e]), Bf(e) && !zf(e) ? null : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Kye, {}, e === "/junk-files" ? "/junk-files" : "/"), jn(e) ? /* @__PURE__ */ (0, I.jsx)(iG, {}) : null] });
+ }, [e]), Bf(e) && !zf(e) ? null : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(ebe, {}, e === "/junk-files" ? "/junk-files" : "/"), jn(e) ? /* @__PURE__ */ (0, I.jsx)(rG, {}) : null] });
}
-function qye() {
- let e = (0, F.useContext)($W), t = document.getElementById("javLibraryHeader");
- return t && e ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(jye, {
+function tbe() {
+ let e = (0, F.useContext)(QW), t = document.getElementById("javLibraryHeader");
+ return t && e ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(yW, {
navigate: e.navigate,
receipt: (t) => e.receipt(t)
}), t) : null;
}
// src/react/router/pages/overlay.tsx
-var YW = () => pu, Jye = () => mu;
-function Yye() {
- let e = (0, F.useContext)($W), t = (0, F.useSyncExternalStore)(Cu, Jye), n = (0, F.useSyncExternalStore)(Cu, YW);
+var JW = () => pu, nbe = () => mu;
+function rbe() {
+ let e = (0, F.useContext)(QW), t = (0, F.useSyncExternalStore)(Cu, nbe), n = (0, F.useSyncExternalStore)(Cu, JW);
return (0, F.useEffect)(() => {
if (!t || !n) return;
let r = !0;
@@ -54204,8 +54282,8 @@ function Yye() {
e
]), null;
}
-function XW(e, t = !1) {
- let n = (0, F.useSyncExternalStore)(Cu, YW), r = (0, F.useRef)(void 0);
+function YW(e, t = !1) {
+ let n = (0, F.useSyncExternalStore)(Cu, JW), r = (0, F.useRef)(void 0);
if (r.current === void 0) {
let { claimed: e } = Op.navigation;
r.current = pu === 0 || Ap() ? "boot" : e && !t ? null : "history";
@@ -54224,11 +54302,11 @@ function XW(e, t = !1) {
}));
}, [n]);
}
-function Xye() {
- let e = (0, F.useContext)($W), t = (0, F.useRef)(e);
+function ibe() {
+ let e = (0, F.useContext)(QW), t = (0, F.useRef)(e);
return (0, F.useLayoutEffect)(() => {
t.current = e;
- }, [e]), XW((t) => {
+ }, [e]), YW((t) => {
let n = Op.navigation.location, { pathname: r, search: i } = Mf(n.pathname) && Ff(n.state) || n, a = zf(r, i);
e && a && (Gf(), t || Kf(Op.navigation.location.state), e.openOverlay(a));
}, !0), (0, F.useEffect)(() => () => {
@@ -54237,8 +54315,8 @@ function Xye() {
});
}, []), null;
}
-function Zye({ path: e }) {
- QW();
+function abe({ path: e }) {
+ ZW();
let { location: t, seq: n, action: r } = Op.navigation, i = Mf(t.pathname) ? Ff(t.state) : null, a = (i || t).pathname + (i || t).search, o = (0, F.useRef)({
identity: a,
seq: i?.seq ?? n,
@@ -54250,24 +54328,24 @@ function Zye({ path: e }) {
seq: n,
navigationSeq: n,
settings: !1
- }), /* @__PURE__ */ (0, I.jsx)(Xye, {}, `${e} ${o.current.seq}`);
+ }), /* @__PURE__ */ (0, I.jsx)(ibe, {}, `${e} ${o.current.seq}`);
}
-function Qye() {
- let e = (0, F.useContext)($W);
- return XW(() => {
+function obe() {
+ let e = (0, F.useContext)(QW);
+ return YW(() => {
e?.follow?.ground();
}), null;
}
-function $ye() {
- return /* @__PURE__ */ (0, I.jsx)(Qye, {}, QW());
+function sbe() {
+ return /* @__PURE__ */ (0, I.jsx)(obe, {}, ZW());
}
// src/react/router/router.tsx
-var ZW = (0, F.createContext)(0), QW = () => (0, F.useContext)(ZW), $W = (0, F.createContext)(null);
-function ebe({ children: e }) {
+var XW = (0, F.createContext)(0), ZW = () => (0, F.useContext)(XW), QW = (0, F.createContext)(null);
+function cbe({ children: e }) {
let [t, n] = (0, F.useState)(() => Op.navigation);
return (0, F.useLayoutEffect)(() => (n(Op.navigation), Op.listen((e) => {
(0, Rt.flushSync)(() => n(e));
- })), []), /* @__PURE__ */ (0, I.jsx)(ZW.Provider, {
+ })), []), /* @__PURE__ */ (0, I.jsx)(XW.Provider, {
value: t.openEpoch,
children: /* @__PURE__ */ (0, I.jsx)(Tf, {
location: t.location,
@@ -54277,34 +54355,34 @@ function ebe({ children: e }) {
})
});
}
-function tbe({ target: e }) {
+function lbe({ target: e }) {
let t = nf();
return (0, F.useLayoutEffect)(() => {
e.current = t;
}), null;
}
-function nbe(e, t, n) {
+function ube(e, t, n) {
let r = new URL(e, window.location.href);
- P6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);
+ N6(r.pathname) ? n(`${r.pathname}${r.search}${r.hash}`) : t.navigate(e);
}
-function rbe() {
- let e = (0, F.useContext)($W), [t, n] = (0, F.useState)(dp), r = (0, F.useRef)(null);
+function dbe() {
+ let e = (0, F.useContext)(QW), [t, n] = (0, F.useState)(dp), r = (0, F.useRef)(null);
(0, F.useLayoutEffect)(() => (n(dp()), fp((e, t) => {
t ? (0, Rt.flushSync)(() => n(e)) : n(e);
})), []);
let i = (0, F.useMemo)(() => (t) => {
- e && r.current && nbe(t, e, r.current);
+ e && r.current && ube(t, e, r.current);
}, [e]);
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(tbe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, I.jsx)(ibe, {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(lbe, { target: r }), e ? t.map((t) => /* @__PURE__ */ (0, I.jsx)(fbe, {
entry: t,
- children: /* @__PURE__ */ (0, I.jsx)(abe, {
+ children: /* @__PURE__ */ (0, I.jsx)(pbe, {
entry: t,
actions: e,
go: i
})
}, t.revision)) : null] });
}
-var ibe = class extends F.Component {
+var fbe = class extends F.Component {
state = { failed: !1 };
static getDerivedStateFromError() {
return { failed: !0 };
@@ -54315,48 +54393,48 @@ var ibe = class extends F.Component {
render() {
return this.state.failed ? null : this.props.children;
}
-}, abe = (0, F.memo)(function({ entry: e, actions: t, go: n }) {
- return J6(e.path) ? (0, Rt.createPortal)(MIe(e.path, e.props, t, n), e.host, String(e.revision)) : null;
+}, pbe = (0, F.memo)(function({ entry: e, actions: t, go: n }) {
+ return q6(e.path) ? (0, Rt.createPortal)(BIe(e.path, e.props, t, n), e.host, String(e.revision)) : null;
});
-function obe({ children: e }) {
+function mbe({ children: e }) {
let t = ef();
- QW();
+ ZW();
let n = jp(), r = Mf(t.pathname) && !Ap() ? Ff(t.state) : null;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsxs)(Ef, {
location: n ?? t,
children: [
- Object.entries(N6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {
+ Object.entries(M6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {
path: e,
element: t.element
}, e)),
- Object.entries(OIe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {
+ Object.entries(IIe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {
path: e,
element: t.element
}, e)),
- Object.entries(F6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {
+ Object.entries(P6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {
path: e,
element: t.element
}, e)),
- Object.entries(R6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {
+ Object.entries(L6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {
path: e,
element: t.element
}, e)),
- Object.entries(B6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {
+ Object.entries(z6).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {
path: e,
element: t.element
}, e)),
- q6.map((e) => /* @__PURE__ */ (0, I.jsx)(wf, {
+ K6.map((e) => /* @__PURE__ */ (0, I.jsx)(wf, {
path: e,
- element: V6["/"].element
+ element: B6["/"].element
}, e)),
- Object.entries(kIe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {
+ Object.entries(LIe).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(wf, {
path: e,
element: t.element
}, e)),
If.map((e) => /* @__PURE__ */ (0, I.jsx)(wf, {
path: e,
- element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, I.jsx)($ye, {}) : V6["/"].element
+ element: e === "/works/:code" ? null : e === "/posts/:id" ? /* @__PURE__ */ (0, I.jsx)(sbe, {}) : B6["/"].element
}, e)),
jf.map((e) => /* @__PURE__ */ (0, I.jsx)(wf, {
path: e,
@@ -54372,7 +54450,7 @@ function obe({ children: e }) {
location: r ?? t,
children: [If.map((e) => /* @__PURE__ */ (0, I.jsx)(wf, {
path: e,
- element: /* @__PURE__ */ (0, I.jsx)(Zye, { path: e })
+ element: /* @__PURE__ */ (0, I.jsx)(abe, { path: e })
}, e)), /* @__PURE__ */ (0, I.jsx)(wf, {
path: "*",
element: null
@@ -54380,38 +54458,38 @@ function obe({ children: e }) {
}),
/* @__PURE__ */ (0, I.jsxs)(Ef, { children: [jf.map((e) => /* @__PURE__ */ (0, I.jsx)(wf, {
path: e,
- element: /* @__PURE__ */ (0, I.jsx)(tye, {})
+ element: /* @__PURE__ */ (0, I.jsx)(lye, {})
}, e)), /* @__PURE__ */ (0, I.jsx)(wf, {
path: "*",
element: null
})] })
] });
}
-function sbe({ children: e, actions: t = null, background: n, processing: r = !1 }) {
- return /* @__PURE__ */ (0, I.jsxs)(WV, { children: [n, /* @__PURE__ */ (0, I.jsx)($W.Provider, {
+function hbe({ children: e, actions: t = null, background: n, processing: r = !1 }) {
+ return /* @__PURE__ */ (0, I.jsxs)(UV, { children: [n, /* @__PURE__ */ (0, I.jsx)(QW.Provider, {
value: t,
- children: /* @__PURE__ */ (0, I.jsxs)(ebe, { children: [
+ children: /* @__PURE__ */ (0, I.jsxs)(cbe, { children: [
+ /* @__PURE__ */ (0, I.jsx)(dbe, {}),
+ /* @__PURE__ */ (0, I.jsx)(tbe, {}),
/* @__PURE__ */ (0, I.jsx)(rbe, {}),
- /* @__PURE__ */ (0, I.jsx)(qye, {}),
- /* @__PURE__ */ (0, I.jsx)(Yye, {}),
- r && t ? /* @__PURE__ */ (0, I.jsx)(gve, { toast: t.toast }) : null,
- r && t ? /* @__PURE__ */ (0, I.jsx)(bve, {}) : null,
- r && t ? /* @__PURE__ */ (0, I.jsx)(eye, { navigate: t.navigate }) : null,
- r && t ? /* @__PURE__ */ (0, I.jsx)(Xve, { actions: t }) : null,
- /* @__PURE__ */ (0, I.jsx)(obe, { children: e })
+ r && t ? /* @__PURE__ */ (0, I.jsx)(wve, { toast: t.toast }) : null,
+ r && t ? /* @__PURE__ */ (0, I.jsx)(Ove, {}) : null,
+ r && t ? /* @__PURE__ */ (0, I.jsx)(cye, { navigate: t.navigate }) : null,
+ r && t ? /* @__PURE__ */ (0, I.jsx)(iye, { actions: t }) : null,
+ /* @__PURE__ */ (0, I.jsx)(mbe, { children: e })
] })
})] });
}
-var cbe = { onCaughtError: (e) => {
+var gbe = { onCaughtError: (e) => {
globalThis.reportError?.(e);
-} }, eG = {
+} }, $W = {
category: "个人分类",
creator: "创作者/账号",
performer: "人物",
seller: "卖家",
studio: "厂牌"
};
-function tG(e, t = "", n = "") {
+function eG(e, t = "", n = "") {
let r = new URLSearchParams({
...e,
folder: t,
@@ -54423,14 +54501,14 @@ function tG(e, t = "", n = "") {
queryFn: ({ signal: e }) => B(`/api/folders?${r}`, e)
};
}
-function nG(e, t) {
+function tG(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}` : "");
}
// src/react/catalog-folders/folder-rule-dialog.tsx
-function lbe({ folder: e, rule: t, revision: n, close: r }) {
- let i = (0, F.useContext)($W), a = _H(), [o, s] = (0, F.useState)(t?.purpose || "category"), [c, l] = (0, F.useState)(t?.name || ""), [u, d] = (0, F.useState)(t?.recursive ?? !0), [f, p] = (0, F.useState)(t?.future ?? !1), [m, h] = (0, F.useState)(null), [g, _] = (0, F.useState)(!1), v = {
+function _be({ folder: e, rule: t, revision: n, close: r }) {
+ let i = (0, F.useContext)(QW), a = gH(), [o, s] = (0, F.useState)(t?.purpose || "category"), [c, l] = (0, F.useState)(t?.name || ""), [u, d] = (0, F.useState)(t?.recursive ?? !0), [f, p] = (0, F.useState)(t?.future ?? !1), [m, h] = (0, F.useState)(null), [g, _] = (0, F.useState)(!1), v = {
folder: e.id,
purpose: o,
name: c,
@@ -54459,7 +54537,7 @@ function lbe({ folder: e, rule: t, revision: n, close: r }) {
})
})).confirmed ? b("已移除目录规则") : _(!1);
}, w = !!a.busy, T = (e, t) => a.busy === e ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: Bs(t) } }), t] }) : null;
- return g ? null : /* @__PURE__ */ (0, I.jsx)(uV, {
+ return g ? null : /* @__PURE__ */ (0, I.jsx)(lV, {
isOpen: !0,
onOpenChange: (e) => {
!e && !w && r();
@@ -54473,7 +54551,7 @@ function lbe({ 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, I.jsxs)("div", {
className: "min-w-0",
- children: [/* @__PURE__ */ (0, I.jsx)(UL, {
+ children: [/* @__PURE__ */ (0, I.jsx)(HL, {
slot: "title",
className: "text-title-2-medium",
children: "设置目录用途"
@@ -54481,7 +54559,7 @@ function lbe({ 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, I.jsx)(gV, {
+ }), /* @__PURE__ */ (0, I.jsx)(hV, {
label: "关闭目录用途",
onPress: () => {
w || r();
@@ -54493,20 +54571,20 @@ function lbe({ folder: e, rule: t, revision: n, close: r }) {
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-col gap-1",
- children: [/* @__PURE__ */ (0, I.jsx)(rV, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, I.jsx)(GU, {
+ children: [/* @__PURE__ */ (0, I.jsx)(nV, { children: "这个文件夹用于" }), /* @__PURE__ */ (0, I.jsx)(WU, {
"aria-label": "这个文件夹用于",
selectedKey: o,
isDisabled: w,
onSelectionChange: (e) => {
s(e), y();
},
- children: Object.entries(eG).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(KU, {
+ children: Object.entries($W).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(GU, {
id: e,
children: t
}, e))
})]
}),
- o === "category" ? null : /* @__PURE__ */ (0, I.jsx)(lV, {
+ o === "category" ? null : /* @__PURE__ */ (0, I.jsx)(cV, {
label: "关联名称",
value: c,
onChange: (e) => {
@@ -54517,7 +54595,7 @@ function lbe({ folder: e, rule: t, revision: n, close: r }) {
isDisabled: w,
isRequired: !0
}),
- /* @__PURE__ */ (0, I.jsx)(VV, {
+ /* @__PURE__ */ (0, I.jsx)(BV, {
isSelected: u,
isDisabled: w,
onChange: (e) => {
@@ -54525,7 +54603,7 @@ function lbe({ folder: e, rule: t, revision: n, close: r }) {
},
children: "应用到子文件夹"
}),
- /* @__PURE__ */ (0, I.jsx)(VV, {
+ /* @__PURE__ */ (0, I.jsx)(BV, {
isSelected: f,
isDisabled: w,
onChange: (e) => {
@@ -54562,9 +54640,9 @@ function lbe({ folder: e, rule: t, revision: n, close: r }) {
children: e.name
}, e.id))
}) : null,
- m.conflicts.length ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ m.conflicts.length ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "warning",
- extra: /* @__PURE__ */ (0, I.jsx)(VH, {
+ extra: /* @__PURE__ */ (0, I.jsx)(BH, {
summary: "查看归属冲突",
children: /* @__PURE__ */ (0, I.jsx)("ul", {
className: "mt-2 flex flex-col gap-2",
@@ -54582,7 +54660,7 @@ function lbe({ folder: e, rule: t, revision: n, close: r }) {
}) : null
]
}) : null,
- a.error ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ a.error ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "error",
children: a.error
}) : null
@@ -54597,7 +54675,7 @@ function lbe({ folder: e, rule: t, revision: n, close: r }) {
onClick: () => {
w || C();
},
- ..._V(a.busy === "remove"),
+ ...gV(a.busy === "remove"),
children: "移除规则"
}) : null,
/* @__PURE__ */ (0, I.jsx)(J, {
@@ -54609,13 +54687,13 @@ function lbe({ folder: e, rule: t, revision: n, close: r }) {
}),
m ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "primary",
- ..._V(a.busy === "save"),
+ ...gV(a.busy === "save"),
onClick: S,
children: T("save", "正在保存") || "保存目录用途"
}) : /* @__PURE__ */ (0, I.jsx)(J, {
variant: "primary",
disabled: o !== "category" && !c.trim(),
- ..._V(a.busy === "preview"),
+ ...gV(a.busy === "preview"),
onClick: () => {
x();
},
@@ -54628,7 +54706,7 @@ function lbe({ folder: e, rule: t, revision: n, close: r }) {
});
}
// src/react/catalog-folders/use-folder-sticky-offset.ts
-function ube(e, t) {
+function vbe(e, t) {
(0, F.useLayoutEffect)(() => {
if (!e) return;
let n = t ? document.getElementById("index") : document.getElementById("catalogFilter"), r = null, i = 0, a = new ResizeObserver(() => s()), o = () => {
@@ -54651,34 +54729,34 @@ function ube(e, t) {
}, [e, t]);
}
// src/react/catalog-folders/catalog-folders-page.tsx
-function rG() {
- return $d() ? /* @__PURE__ */ (0, I.jsx)(dbe, {}) : null;
+function nG() {
+ return $d() ? /* @__PURE__ */ (0, I.jsx)(ybe, {}) : null;
}
-function dbe() {
- let e = ef(), t = (0, F.useContext)($W);
+function ybe() {
+ let e = ef(), t = (0, F.useContext)(QW);
if (!jn(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, I.jsx)(lL, {
+ return /* @__PURE__ */ (0, I.jsx)(cL, {
size: "small",
"data-folder-mode-toggle": "",
"aria-label": "文件夹模式",
title: "文件夹模式",
"aria-pressed": r,
- icon: PB,
- onClick: () => t?.navigate(nG(e, r ? {
+ icon: NB,
+ onClick: () => t?.navigate(tG(e, r ? {
browse: null,
folder: null,
folder_recursive: null
} : { browse: "folders" }))
});
}
-function fbe({ children: e, enabled: t }) {
- return $d() ? /* @__PURE__ */ (0, I.jsx)(pbe, {
+function bbe({ children: e, enabled: t }) {
+ return $d() ? /* @__PURE__ */ (0, I.jsx)(xbe, {
enabled: t,
children: e
}) : /* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: e });
}
-function pbe({ children: e, enabled: t }) {
+function xbe({ children: e, enabled: t }) {
let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(null), o = ef(), s = new URLSearchParams(o.search), c = t && (s.get("browse") === "folders" || !!s.get("folder"));
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "entity-folder-workspace",
@@ -54698,7 +54776,7 @@ function pbe({ children: e, enabled: t }) {
hidden: !c
}), e]
}),
- n && i ? /* @__PURE__ */ (0, I.jsx)(iG, {
+ n && i ? /* @__PURE__ */ (0, I.jsx)(rG, {
treeTarget: n,
headerTarget: i,
enabled: t
@@ -54706,14 +54784,14 @@ function pbe({ children: e, enabled: t }) {
]
});
}
-function iG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
- let r = ef(), i = (0, F.useContext)($W), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {
+function rG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
+ let r = ef(), i = (0, F.useContext)(QW), a = new URLSearchParams(r.search), o = n && (a.get("browse") === "folders" || !!a.get("folder")), s = {
loc: a.get("loc") ?? "",
library: a.get("library") ?? ""
};
- ube(o, e);
+ vbe(o, e);
let c = a.get("folder") || "", l = Ft({
- ...tG(s, c),
+ ...eG(s, c),
enabled: o
}), [u, d] = (0, F.useState)(!1), [f, p] = (0, F.useState)(!1), m = e ?? document.getElementById("catalogFoldersTree"), h = t ?? document.getElementById("catalogFolderHeader");
if ((0, F.useLayoutEffect)(() => (m && (m.hidden = !o), h && (h.hidden = !o), e || document.body.toggleAttribute("data-folder-browse", o), () => {
@@ -54727,11 +54805,11 @@ function iG({ 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(nG(r, {
+ d(!1), i.navigate(tG(r, {
browse: "folders",
folder: e
}));
- }, _ = l.data, v = /* @__PURE__ */ (0, I.jsx)(hbe, {
+ }, _ = l.data, v = /* @__PURE__ */ (0, I.jsx)(Cbe, {
scope: s,
selected: c,
current: _,
@@ -54748,21 +54826,21 @@ function iG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
children: [
/* @__PURE__ */ (0, I.jsx)("span", {
className: "folder-drawer-trigger",
- children: /* @__PURE__ */ (0, I.jsx)(lL, {
+ children: /* @__PURE__ */ (0, I.jsx)(cL, {
"aria-label": "打开文件夹目录",
- icon: Oge,
+ icon: Ige,
size: "small",
onClick: () => d(!0)
})
}),
- /* @__PURE__ */ (0, I.jsxs)(Xge, {
+ /* @__PURE__ */ (0, I.jsxs)(i_e, {
"aria-label": "文件夹路径",
- children: [/* @__PURE__ */ (0, I.jsx)(MV, {
+ children: [/* @__PURE__ */ (0, I.jsx)(jV, {
current: !c,
onClick: () => g(""),
- icon: PB,
+ icon: NB,
children: "全部文件夹"
- }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, I.jsx)(MV, {
+ }), _?.ancestors.map((e, t) => /* @__PURE__ */ (0, I.jsx)(jV, {
current: t === _.ancestors.length - 1,
onClick: () => g(e.id),
children: /* @__PURE__ */ (0, I.jsx)("span", {
@@ -54772,15 +54850,15 @@ function iG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
})
}, e.id))]
}),
- _?.selected ? /* @__PURE__ */ (0, I.jsx)(lL, {
+ _?.selected ? /* @__PURE__ */ (0, I.jsx)(cL, {
"aria-label": "设置目录用途",
- icon: hge,
+ icon: Cge,
size: "small",
onClick: () => p(!0)
}) : null
]
}),
- l.error && !u ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ l.error && !u ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "error",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -54792,7 +54870,7 @@ function iG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
}),
children: lr(l.error)
}) : null,
- _?.conflicts?.length ? /* @__PURE__ */ (0, I.jsxs)(fV, {
+ _?.conflicts?.length ? /* @__PURE__ */ (0, I.jsxs)(dV, {
tone: "warning",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -54804,14 +54882,14 @@ function iG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
}) : null,
_?.selected ? /* @__PURE__ */ (0, I.jsxs)("div", {
className: "folder-scope-row",
- children: [/* @__PURE__ */ (0, I.jsx)(VV, {
+ children: [/* @__PURE__ */ (0, I.jsx)(BV, {
size: "sm",
isSelected: a.get("folder_recursive") !== "0",
- onChange: (e) => i.navigate(nG(r, { folder_recursive: e ? null : "0" })),
+ onChange: (e) => i.navigate(tG(r, { folder_recursive: e ? null : "0" })),
children: "包含子文件夹"
}), /* @__PURE__ */ (0, I.jsx)("span", {
className: "text-caption-1-regular text-text-tertiary",
- children: _.rule ? `${eG[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"
+ children: _.rule ? `${$W[_.rule.purpose]}${_.rule.name ? ` · ${_.rule.name}` : ""}` : "个人分类"
})]
}) : null,
l.isPending ? /* @__PURE__ */ (0, I.jsx)("div", {
@@ -54821,13 +54899,13 @@ function iG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
className: "folder-children",
children: Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, I.jsx)("span", { className: "skeleton-sheen h-8 w-28 rounded-lg" }, t))
}) : null,
- _?.children.length ? /* @__PURE__ */ (0, I.jsx)(mbe, {
+ _?.children.length ? /* @__PURE__ */ (0, I.jsx)(Sbe, {
nodes: _.children,
go: g
}, c) : null
]
}), h),
- /* @__PURE__ */ (0, I.jsxs)(uV, {
+ /* @__PURE__ */ (0, I.jsxs)(lV, {
isOpen: u,
onOpenChange: d,
width: "form",
@@ -54837,7 +54915,7 @@ function iG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
children: [/* @__PURE__ */ (0, I.jsx)("h2", {
className: "text-title-2-medium",
children: "文件夹"
- }), /* @__PURE__ */ (0, I.jsx)(gV, {
+ }), /* @__PURE__ */ (0, I.jsx)(hV, {
label: "关闭文件夹目录",
onPress: () => d(!1)
})]
@@ -54846,7 +54924,7 @@ function iG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
children: u ? v : null
})]
}),
- f && _?.selected ? /* @__PURE__ */ (0, I.jsx)(lbe, {
+ f && _?.selected ? /* @__PURE__ */ (0, I.jsx)(_be, {
folder: _.selected,
rule: _.rule,
revision: _.rules_revision,
@@ -54854,7 +54932,7 @@ function iG({ treeTarget: e, headerTarget: t, enabled: n = !0 } = {}) {
}, _.selected.id) : null
] });
}
-function mbe({ nodes: e, go: t }) {
+function Sbe({ nodes: e, go: t }) {
let [n, r] = (0, F.useState)(!1), i = (0, F.useId)(), a = n ? e : e.slice(0, 12);
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 flex-col items-start gap-2",
@@ -54865,7 +54943,7 @@ function mbe({ nodes: e, go: t }) {
children: a.map((e) => /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: PB,
+ leadingIcon: NB,
onClick: () => t(e.id),
children: /* @__PURE__ */ (0, I.jsx)("span", {
className: "truncate",
@@ -54882,28 +54960,28 @@ function mbe({ nodes: e, go: t }) {
}) : null]
});
}
-function hbe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
- let a = Ft(tG(e)), [o, s] = (0, F.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, F.useState)(""), u = (0, F.useDeferredValue)(c), d = Ft({
- ...tG(e, "", u),
+function Cbe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
+ let a = Ft(eG(e)), [o, s] = (0, F.useState)(/* @__PURE__ */ new Set()), [c, l] = (0, F.useState)(""), u = (0, F.useDeferredValue)(c), d = Ft({
+ ...eG(e, "", u),
enabled: !!u.trim()
- }), f = HV();
+ }), f = VV();
(0, F.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 = Nt({ queries: p.map((t) => tG(e, t)) }), h = /* @__PURE__ */ new Map();
+ let p = [...o].map(String), m = Nt({ queries: p.map((t) => eG(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, I.jsx)(LV, {
+ return /* @__PURE__ */ (0, I.jsx)(IV, {
id: e.id,
label: e.name,
- icon: PB,
- expandedIcon: IB,
+ icon: NB,
+ expandedIcon: FB,
iconClassName: "size-(--icon-inline)",
trailingContent: e.parent ? void 0 : e.location === "local" ? "本地" : e.location,
- children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, I.jsx)(LV, {
+ children: e.has_children ? t ? t.map(g) : /* @__PURE__ */ (0, I.jsx)(IV, {
id: `${e.id}:loading`,
label: "正在读取文件夹",
isDisabled: !0
@@ -54919,15 +54997,15 @@ function hbe({ 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, I.jsx)(lV, {
+ /* @__PURE__ */ (0, I.jsx)(cV, {
"aria-label": "查找文件夹",
placeholder: "查找文件夹",
- leadingIcon: JB,
+ leadingIcon: qB,
value: c,
onChange: l,
size: "small"
}),
- v ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ v ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "error",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -54962,20 +55040,20 @@ function hbe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
"aria-busy": "true",
className: "h-8 skeleton-sheen",
"aria-label": "正在查找文件夹"
- }) : d.error ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ }) : d.error ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "error",
children: lr(d.error)
}) : d.data?.matches.length ? d.data.matches.map((e) => /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: PB,
+ leadingIcon: NB,
onClick: () => {
l(""), r(e.id);
},
children: e.name
- }, e.id)) : /* @__PURE__ */ (0, I.jsx)(pV, {
+ }, e.id)) : /* @__PURE__ */ (0, I.jsx)(fV, {
size: "compact",
- icon: JB,
+ icon: qB,
title: "没有匹配的文件夹",
actions: /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
@@ -54984,7 +55062,7 @@ function hbe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
}),
children: "换个目录名称试试。"
})
- }) : a.data?.roots.length ? /* @__PURE__ */ (0, I.jsx)($ge, {
+ }) : a.data?.roots.length ? /* @__PURE__ */ (0, I.jsx)(s_e, {
"aria-label": "媒体目录",
size: "sm",
expandedKeys: o,
@@ -54992,11 +55070,11 @@ function hbe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
selectedKeys: new Set(t ? [t] : []),
onSelectionChange: _,
children: a.data?.roots.map(g)
- }) : /* @__PURE__ */ (0, I.jsx)(pV, {
+ }) : /* @__PURE__ */ (0, I.jsx)(fV, {
size: "compact",
- icon: PB,
+ icon: NB,
title: "尚未添加媒体目录",
- actions: /* @__PURE__ */ (0, I.jsx)(xL, {
+ actions: /* @__PURE__ */ (0, I.jsx)(bL, {
size: "small",
href: "/settings/library",
children: "添加媒体"
@@ -55009,63 +55087,63 @@ function hbe({ scope: e, selected: t, current: n, go: r, reportedError: i }) {
});
}
// src/react/catalog-grid/catalog-view.ts
-var aG = "peach.catalog-view.v1", oG = /* @__PURE__ */ new Set(), sG = "cards";
-function cG() {
+var iG = "peach.catalog-view.v1", aG = /* @__PURE__ */ new Set(), oG = "cards";
+function sG() {
try {
- return localStorage.getItem(aG) === "list" ? "list" : "cards";
+ return localStorage.getItem(iG) === "list" ? "list" : "cards";
} catch {
- return sG;
+ return oG;
}
}
-function gbe(e) {
- sG = e === "list" ? "list" : "cards";
+function wbe(e) {
+ oG = e === "list" ? "list" : "cards";
try {
- localStorage.setItem(aG, sG);
+ localStorage.setItem(iG, oG);
} catch {}
- oG.forEach((e) => e());
+ aG.forEach((e) => e());
}
-function _be(e) {
- oG.add(e);
+function Tbe(e) {
+ aG.add(e);
let t = (t) => {
- (t.key === aG || t.key === null) && e();
+ (t.key === iG || t.key === null) && e();
};
return addEventListener("storage", t), () => {
- oG.delete(e), removeEventListener("storage", t);
+ aG.delete(e), removeEventListener("storage", t);
};
}
-var lG = () => (0, F.useSyncExternalStore)(_be, cG, () => "cards");
+var cG = () => (0, F.useSyncExternalStore)(Tbe, sG, () => "cards");
// src/react/catalog-grid/catalog-view-toggle.tsx
-function uG() {
- let e = lG();
- return /* @__PURE__ */ (0, I.jsxs)(Pz, {
+function lG() {
+ let e = cG();
+ return /* @__PURE__ */ (0, I.jsxs)(Nz, {
"aria-label": "馆藏显示方式",
orientation: "horizontal",
value: e,
- onChange: gbe,
+ onChange: wbe,
"data-entity-layout": "",
- className: cU,
- children: [/* @__PURE__ */ (0, I.jsx)(Fz, {
+ className: sU,
+ children: [/* @__PURE__ */ (0, I.jsx)(Pz, {
value: "cards",
"aria-label": "卡片",
- className: lU,
+ className: cU,
"data-glass-segment": "",
children: /* @__PURE__ */ (0, I.jsx)("span", {
title: "卡片",
className: "pointer-events-none contents",
- children: /* @__PURE__ */ (0, I.jsx)(BB, {
+ children: /* @__PURE__ */ (0, I.jsx)(zB, {
"aria-hidden": "true",
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, I.jsx)(Fz, {
+ }), /* @__PURE__ */ (0, I.jsx)(Pz, {
value: "list",
"aria-label": "列表",
- className: lU,
+ className: cU,
"data-glass-segment": "",
children: /* @__PURE__ */ (0, I.jsx)("span", {
title: "列表",
className: "pointer-events-none contents",
- children: /* @__PURE__ */ (0, I.jsx)(wge, {
+ children: /* @__PURE__ */ (0, I.jsx)(Mge, {
"aria-hidden": "true",
className: "size-4"
})
@@ -55074,8 +55152,8 @@ function uG() {
});
}
// src/react/components/icon-swap.tsx
-function dG({ a: e, b: t, state: n, className: r }) {
- let { isFocusVisible: i } = OC();
+function uG({ a: e, b: t, state: n, className: r }) {
+ let { isFocusVisible: i } = wC();
return /* @__PURE__ */ (0, I.jsxs)("span", {
"aria-hidden": !0,
className: `iconswap ${r || ""}`,
@@ -55091,114 +55169,114 @@ function dG({ a: e, b: t, state: n, className: r }) {
})]
});
}
-function fG({ className: e }) {
- return /* @__PURE__ */ (0, I.jsx)(dG, {
- a: Yhe,
- b: Jhe,
+function dG({ className: e }) {
+ return /* @__PURE__ */ (0, I.jsx)(uG, {
+ a: rge,
+ b: nge,
className: e
});
}
// src/react/follow-feed/follow-marks.ts
-var pG = (e) => typeof e == "string" ? e : "", mG = (e) => e.aliases;
-function hG(e, t = "") {
+var fG = (e) => typeof e == "string" ? e : "", pG = (e) => e.aliases;
+function mG(e, t = "") {
let n = Ji(e);
return n ? `<img data-follow-site-icon="" src="${n}" alt="${z(t)}"${t ? ` title="${z(t)}"` : ""} loading="lazy" data-drop="self">` : "";
}
-function gG(e, t = "") {
+function hG(e, t = "") {
let n = z(si(t || e)), r = Ji(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 _G = (e) => pG(e.title).trim() || "未命名内容", vG = (e, t) => oi(e, mG(t));
-function yG(e) {
+var gG = (e) => fG(e.title).trim() || "未命名内容", _G = (e, t) => oi(e, pG(t));
+function vG(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 = pG(n.entity_name);
+ let n = t[0], r = fG(n.entity_name);
return ln("creator", r, n.entity_id), r;
}
-function bG(e, t) {
+function yG(e, t) {
let { src: n, fallback: r } = ci(e), i = si(t);
if (!n) return `<span class="favatar none" title="没有可用头像">${z(i)}</span>`;
let a = r ? ` data-fallbacks="${z(r)}"` : "";
return `<img class="favatar" src="${z(n)}" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="initial"${a} data-initial="${z(i)}" data-drop-class="favatar none">`;
}
-function xG(e, t, n) {
- let r = mG(n), i = e.credit, a = i?.poster;
+function bG(e, t, n) {
+ let r = pG(n), i = e.credit, a = i?.poster;
if (!a) {
let n = oi(t, r);
return {
- author: n || pG(e.author) || pG(e.source_label) || "创作者未取得",
- avatar: bG(t, n),
+ author: n || fG(e.author) || fG(e.source_label) || "创作者未取得",
+ avatar: yG(t, n),
credited: "",
- entityName: yG(t)
+ entityName: vG(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 && oi(c, r) || a;
return {
author: l,
- avatar: bG(c, l),
+ avatar: yG(c, l),
credited: i.credited || "",
- entityName: yG(c)
+ entityName: vG(c)
};
}
-function SG(e, t = e.primary) {
+function xG(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 = pG(e.primary.version);
+ let i = fG(e.primary.version);
i && n.push(r("version", z(i)));
- let a = pG(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
+ let a = fG(t.audio), o = a === "voiced" ? "配音版" : a === "silent" ? "无声版" : "";
return o && n.push(r(a, o)), n.join("");
}
-function CG(e, t = e.primary) {
+function SG(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]) => hG(e, t) || `<span>${z(t)}</span>`).join("");
+ let r = [...n].map(([e, t]) => mG(e, t) || `<span>${z(t)}</span>`).join("");
return `<span data-follow-seealso="" title="另见 ${z([...n.values()].join("、"))}"><span data-follow-seealso-label="">另见</span> ${r}</span>`;
}
-function wG(e, t) {
- let n = pG(e.media_error);
+function CG(e, t) {
+ let n = fG(e.media_error);
return n ? `媒体未取得:${n}` : e.media_needs_credential && !t.credentials.has(e.provider) ? e.playable ? "部分媒体未取得:需要 F95 登录会话解析" : "媒体未取得:需要 F95 登录会话解析" : "";
}
-var vbe = 864e5, ybe = (e, t) => {
+var Ebe = 864e5, Dbe = (e, t) => {
let n = new Date(/[Zz]|[+-]\d\d:?\d\d$/.test(e) ? e : `${e}Z`).getTime();
- return Number.isFinite(n) && n - t > vbe;
+ return Number.isFinite(n) && n - t > Ebe;
};
-function TG(e, t) {
- let n = pG(e.published_at);
+function wG(e, t) {
+ let n = fG(e.published_at);
if (!n) return null;
let r = e.published_precision === "approximate", i = Cr(n);
return {
prefix: r ? "约 " : "",
full: r ? i.slice(0, 10) : i,
- suffix: ybe(n, t) ? " · 晚于现在" : ""
+ suffix: Dbe(n, t) ? " · 晚于现在" : ""
};
}
-function EG(e, t = Date.now()) {
- let n = TG(e, t);
+function TG(e, t = Date.now()) {
+ let n = wG(e, t);
return n ? `${n.prefix}${n.full}${n.suffix}` : "时间未取得";
}
-function DG(e, t = Date.now()) {
- let n = TG(e, t);
+function EG(e, t = Date.now()) {
+ let n = wG(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 OG = /* @__PURE__ */ new Set(), kG = [], AG = null;
-function jG() {
- if (AG = null, !kG.length) return;
- let e = kG.splice(0, 200);
+var DG = /* @__PURE__ */ new Set(), OG = [], kG = null;
+function AG() {
+ if (kG = null, !OG.length) return;
+ let e = OG.splice(0, 200);
Tn("/api/follow/image-dims", {
method: "POST",
body: JSON.stringify({ entries: e })
- }).catch(() => {}), kG.length && (AG = setTimeout(jG, 800));
+ }).catch(() => {}), OG.length && (kG = setTimeout(AG, 800));
}
-function bbe(e, t, n, r) {
+function Obe(e, t, n, r) {
let i = `${e}:${t ?? ""}`;
- OG.has(i) || (OG.add(i), kG.push(t === null ? {
+ DG.has(i) || (DG.add(i), OG.push(t === null ? {
item: e,
width: n,
height: r
@@ -55207,25 +55285,25 @@ function bbe(e, t, n, r) {
width: n,
height: r,
media: t
- }), AG ||= setTimeout(jG, 800));
+ }), kG ||= setTimeout(AG, 800));
}
// src/react/entity-filter/entity-filter.ts
-var xbe = (e) => e === "videos", MG = () => /* @__PURE__ */ (0, I.jsx)("span", {
+var kbe = (e) => e === "videos", jG = () => /* @__PURE__ */ (0, I.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), Sbe = hV("shuffle"), Cbe = hV("arrow-up"), wbe = hV("arrow-down");
-function Tbe(e) {
- let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = xbe(t), u = t === "online" ? e.online : null, d = l || !!u, f = u ? u.status : r, p = u ? u.statuses.map(([e, t]) => ({
+}), Abe = mV("shuffle"), jbe = mV("arrow-up"), Mbe = mV("arrow-down");
+function Nbe(e) {
+ let { view: t, views: n, state: r, states: i, tags: a, combo: o, actions: s, helpers: c } = e, l = kbe(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, F.useRef)(null), h = (0, F.useRef)(null), g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = yL(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = yL(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, F.useRef)(null), w = (0, F.useRef)(null), T = u?.mediaCounts ? u : null, E = yL(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);
+ })) : i, m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (0, F.useRef)(null), _ = (0, F.useRef)(null), v = (0, F.useRef)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = vL(m, g, "[data-entity-state][aria-pressed=\"true\"]", `${t}:${f}`), S = vL(h, _, "[data-media-view][aria-pressed=\"true\"]", `${t}:${!!n}`), C = (0, F.useRef)(null), w = (0, F.useRef)(null), T = u?.mediaCounts ? u : null, E = vL(C, w, "[data-media-view][aria-pressed=\"true\"]", `${t}:${u?.media}:${!!T}`);
return (0, F.useEffect)(() => {
c.wireDrag(y.current), c.wireScroller(v.current), c.wireDrag(b.current);
- }, [c]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(NG, {
+ }, [c]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(MG, {
items: o,
hidden: !l,
actions: s
- }), /* @__PURE__ */ (0, I.jsx)(mL, {
+ }), /* @__PURE__ */ (0, I.jsx)(pL, {
label: "筛选与排序",
topLabel: "媒体与标签",
attrs: {
@@ -55254,19 +55332,19 @@ function Tbe(e) {
})
] }),
top: !n && !d ? null : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(kbe, {
+ n ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Lbe, {
keys: n,
view: t,
row: _,
glide: S,
onView: s.setView
- }), d ? /* @__PURE__ */ (0, I.jsx)(MG, {}) : null] }) : null,
- T ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Dbe, {
+ }), d ? /* @__PURE__ */ (0, I.jsx)(jG, {}) : null] }) : null,
+ T ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(Fbe, {
head: T,
row: w,
glide: E,
onMedia: s.onlineMedia
- }), /* @__PURE__ */ (0, I.jsx)(MG, {})] }) : null,
+ }), /* @__PURE__ */ (0, I.jsx)(jG, {})] }) : null,
/* @__PURE__ */ (0, I.jsxs)("div", {
ref: v,
"data-entity-scroll": "",
@@ -55287,11 +55365,11 @@ function Tbe(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, I.jsx)(MG, {}) : null]
+ }, e.k)), !u || u.providers.length || u.tags.length ? /* @__PURE__ */ (0, I.jsx)(jG, {}) : null]
}), /* @__PURE__ */ (0, I.jsx)("div", {
ref: y,
"data-entity-tags": "",
- children: l ? a.map((e) => /* @__PURE__ */ (0, I.jsxs)(hL, {
+ children: l ? a.map((e) => /* @__PURE__ */ (0, I.jsxs)(mL, {
"data-entity-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
@@ -55300,17 +55378,17 @@ function Tbe(e) {
"data-count-badge": e.k,
children: e.n.toLocaleString()
})]
- }, e.k)) : u ? /* @__PURE__ */ (0, I.jsx)(Obe, {
+ }, e.k)) : u ? /* @__PURE__ */ (0, I.jsx)(Ibe, {
head: u,
actions: s
}) : null
})]
})
] }),
- bottom: /* @__PURE__ */ (0, I.jsx)(Abe, { ...e })
+ bottom: /* @__PURE__ */ (0, I.jsx)(Rbe, { ...e })
})] });
}
-var Ebe = [[
+var Pbe = [[
"videos",
"视频",
"play",
@@ -55321,7 +55399,7 @@ var Ebe = [[
"pics",
"image"
]];
-function Dbe({ head: e, row: t, glide: n, onMedia: r }) {
+function Fbe({ head: e, row: t, glide: n, onMedia: r }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
ref: t,
role: "group",
@@ -55329,7 +55407,7 @@ function Dbe({ head: e, row: t, glide: n, onMedia: r }) {
"data-entity-media": "",
"data-online-media": "",
onPointerLeave: n.leave,
- children: Ebe.map(([t, i, a, o]) => {
+ children: Pbe.map(([t, i, a, o]) => {
let s = `${i} ${Math.max(0, e.mediaCounts?.[t] || 0).toLocaleString()}`;
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -55347,7 +55425,7 @@ function Dbe({ head: e, row: t, glide: n, onMedia: r }) {
})
});
}
-function Obe({ head: e, actions: t }) {
+function Ibe({ head: e, actions: t }) {
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
e.providers.map(([n, r]) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -55357,10 +55435,10 @@ function Obe({ head: e, actions: t }) {
title: r,
"aria-label": `来源:${r}`,
onClick: () => t.onlineProvider(n),
- dangerouslySetInnerHTML: { __html: hG(n) }
+ dangerouslySetInnerHTML: { __html: mG(n) }
}, n)),
- e.providers.length && e.tags.length ? /* @__PURE__ */ (0, I.jsx)(MG, {}) : null,
- e.tags.map((e) => /* @__PURE__ */ (0, I.jsxs)(hL, {
+ e.providers.length && e.tags.length ? /* @__PURE__ */ (0, I.jsx)(jG, {}) : null,
+ e.tags.map((e) => /* @__PURE__ */ (0, I.jsxs)(mL, {
"data-follow-tag": e.k,
"data-entity-press": "",
"data-tag-cat": `r34-${e.cat}`,
@@ -55373,7 +55451,7 @@ function Obe({ head: e, actions: t }) {
}, e.k))
] });
}
-function kbe({ keys: e, view: t, row: n, glide: r, onView: i }) {
+function Lbe({ keys: e, view: t, row: n, glide: r, onView: i }) {
let a = [];
return e.people && a.push({
value: "people",
@@ -55421,7 +55499,7 @@ function kbe({ keys: e, view: t, row: n, glide: r, onView: i }) {
})
});
}
-function NG({ items: e, hidden: t, actions: n }) {
+function MG({ items: e, hidden: t, actions: n }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-entity-combo": "",
hidden: t,
@@ -55441,7 +55519,7 @@ function NG({ items: e, hidden: t, actions: n }) {
})] }) : null
});
}
-function Abe(e) {
+function Rbe(e) {
let { view: t, readout: n, busy: r, video: i, photo: a, actions: o, helpers: s } = e;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
t === "photos" && a?.back ? /* @__PURE__ */ (0, I.jsxs)("button", {
@@ -55453,30 +55531,30 @@ function Abe(e) {
dangerouslySetInnerHTML: { __html: R("chevron-left") }
}), /* @__PURE__ */ (0, I.jsx)("span", { children: "全部照片" })]
}) : null,
- /* @__PURE__ */ (0, I.jsx)(jbe, {
+ /* @__PURE__ */ (0, I.jsx)(zbe, {
text: n,
busy: r
}),
- /* @__PURE__ */ (0, I.jsx)(AV, { currentHref: () => location.pathname + location.search }),
- t === "videos" && i ? /* @__PURE__ */ (0, I.jsx)(Mbe, {
+ /* @__PURE__ */ (0, I.jsx)(kV, { currentHref: () => location.pathname + location.search }),
+ t === "videos" && i ? /* @__PURE__ */ (0, I.jsx)(Bbe, {
head: i,
actions: o
}) : null,
- t === "photos" && a ? /* @__PURE__ */ (0, I.jsx)(Pbe, {
+ t === "photos" && a ? /* @__PURE__ */ (0, I.jsx)(Hbe, {
head: a,
actions: o,
helpers: s
}) : null,
- t === "online" && e.online ? /* @__PURE__ */ (0, I.jsx)(Nbe, {
+ t === "online" && e.online ? /* @__PURE__ */ (0, I.jsx)(Vbe, {
head: e.online,
actions: o
}) : null
] });
}
-function jbe({ text: e, busy: t }) {
+function zbe({ text: e, busy: t }) {
return /* @__PURE__ */ (0, I.jsx)("h3", {
"data-entity-readout": "",
- children: /* @__PURE__ */ (0, I.jsx)(sL, {
+ children: /* @__PURE__ */ (0, I.jsx)(oL, {
text: t ? void 0 : e,
busy: t,
placeholder: /* @__PURE__ */ (0, I.jsx)("span", {
@@ -55487,22 +55565,22 @@ function jbe({ text: e, busy: t }) {
})
});
}
-function PG({ name: e, label: t, value: n, options: r, onChange: i }) {
- return /* @__PURE__ */ (0, I.jsx)(Pz, {
+function NG({ name: e, label: t, value: n, options: r, onChange: i }) {
+ return /* @__PURE__ */ (0, I.jsx)(Nz, {
name: e,
"aria-label": t,
orientation: "horizontal",
value: n,
onChange: i,
"data-entity-layout": "",
- className: cU,
+ className: sU,
children: r.map(([e, t, n]) => {
- let r = hV(n);
- return /* @__PURE__ */ (0, I.jsx)(Fz, {
+ let r = mV(n);
+ return /* @__PURE__ */ (0, I.jsx)(Pz, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: lU,
+ className: cU,
children: /* @__PURE__ */ (0, I.jsx)("span", {
title: t,
className: "contents",
@@ -55512,38 +55590,38 @@ function PG({ name: e, label: t, value: n, options: r, onChange: i }) {
})
});
}
-function FG({ onPress: e, busy: t = !1 }) {
- return /* @__PURE__ */ (0, I.jsx)(pL, {
+function PG({ onPress: e, busy: t = !1 }) {
+ return /* @__PURE__ */ (0, I.jsx)(fL, {
"data-entity-batch": "",
label: "换一批",
busy: t,
busyStyle: "strand",
- icon: Sbe,
+ icon: Abe,
onPress: e
});
}
-function Mbe({ head: e, actions: t }) {
- let n = lG();
+function Bbe({ head: e, actions: t }) {
+ let n = cG();
return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(FG, { onPress: () => void t.reshuffle() }),
- e.jav && n === "cards" ? /* @__PURE__ */ (0, I.jsx)(PG, {
+ /* @__PURE__ */ (0, I.jsx)(PG, { onPress: () => void t.reshuffle() }),
+ e.jav && n === "cards" ? /* @__PURE__ */ (0, I.jsx)(NG, {
label: "JAV 卡片版式",
value: e.jav.layout,
options: e.jav.options,
onChange: t.setJavLayout
}) : null,
- /* @__PURE__ */ (0, I.jsx)(uG, {}),
- /* @__PURE__ */ (0, I.jsx)(rG, {}),
- /* @__PURE__ */ (0, I.jsx)(IG, {
+ /* @__PURE__ */ (0, I.jsx)(lG, {}),
+ /* @__PURE__ */ (0, I.jsx)(nG, {}),
+ /* @__PURE__ */ (0, I.jsx)(FG, {
sorts: e.sorts,
onSort: t.setSort
})
]
});
}
-function IG({ sorts: e, onSort: t }) {
+function FG({ sorts: e, onSort: t }) {
return /* @__PURE__ */ (0, I.jsx)(I.Fragment, { children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-entity-sort": e.key,
@@ -55551,20 +55629,20 @@ function IG({ 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, I.jsx)(dG, {
- a: Cbe,
- b: wbe,
+ children: [e.label, e.pressed && e.dir ? /* @__PURE__ */ (0, I.jsx)(uG, {
+ a: jbe,
+ b: Mbe,
state: e.dir === "asc" ? "a" : "b",
className: "size-(--icon-inline)"
}) : null]
}, e.key)) });
}
-function Nbe({ head: e, actions: t }) {
+function Vbe({ head: e, actions: t }) {
return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(FG, { onPress: t.onlineShuffle }),
- e.media === "images" ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(PG, {
+ /* @__PURE__ */ (0, I.jsx)(PG, { onPress: t.onlineShuffle }),
+ e.media === "images" ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(NG, {
label: "图片布局",
value: e.photoLayout,
options: e.photoLayouts,
@@ -55584,27 +55662,27 @@ function Nbe({ head: e, actions: t }) {
dangerouslySetInnerHTML: { __html: R("captions-off") }
})]
})] }) : null,
- /* @__PURE__ */ (0, I.jsx)(IG, {
+ /* @__PURE__ */ (0, I.jsx)(FG, {
sorts: e.sorts,
onSort: t.onlineSort
})
]
});
}
-function Pbe({ head: e, actions: t, helpers: n }) {
+function Hbe({ head: e, actions: t, helpers: n }) {
let [r, i] = (0, F.useState)(!1), a = (0, F.useRef)(null), o = e.back ? n.sourceToolsHtml(e.setId) : "";
return (0, F.useEffect)(() => {
a.current && o && n.wireSourceTools(a.current);
}, [n, o]), /* @__PURE__ */ (0, I.jsxs)("span", {
"data-entity-sorts": "",
children: [
- e.shuffle ? /* @__PURE__ */ (0, I.jsx)(FG, {
+ e.shuffle ? /* @__PURE__ */ (0, I.jsx)(PG, {
onPress: () => {
i(!0), t.reshuffle().finally(() => i(!1));
},
busy: r
}) : null,
- /* @__PURE__ */ (0, I.jsx)(PG, {
+ /* @__PURE__ */ (0, I.jsx)(NG, {
label: "图片布局",
value: e.layout,
options: e.layouts,
@@ -55619,8 +55697,8 @@ function Pbe({ head: e, actions: t, helpers: n }) {
});
}
// src/react/catalog-filter/catalog-filter.ts
-var Fbe = "peach.catalog.tiers.v1";
-function LG() {
+var Ube = "peach.catalog.tiers.v1";
+function IG() {
try {
let e = JSON.parse(localStorage.getItem("peach.catalog.tiers.v1") || "{}");
return {
@@ -55634,40 +55712,40 @@ function LG() {
};
}
}
-function Ibe(e) {
+function Wbe(e) {
try {
let t = JSON.stringify({
performers: e.performers,
studios: e.studios
});
- localStorage.getItem("peach.catalog.tiers.v1") !== t && localStorage.setItem(Fbe, t);
+ localStorage.getItem("peach.catalog.tiers.v1") !== t && localStorage.setItem(Ube, t);
} catch {}
}
// src/react/catalog-filter/catalog-filter-page.tsx
-function Lbe(e) {
- let t = !e.tiers, n = Wbe(e.comboHost);
+function Gbe(e) {
+ let t = !e.tiers, n = Qbe(e.comboHost);
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-catalog-root": "",
"data-loading": t || void 0,
"data-refreshing": e.refreshing || void 0,
className: "contents",
children: [
- n ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(NG, {
+ n ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(MG, {
items: e.combo,
hidden: e.comboHidden,
actions: e.actions
}), n) : null,
- /* @__PURE__ */ (0, I.jsx)(Bbe, { ...e }),
- e.offscreen ? null : /* @__PURE__ */ (0, I.jsx)(Rbe, { ...e })
+ /* @__PURE__ */ (0, I.jsx)(Jbe, { ...e }),
+ e.offscreen ? null : /* @__PURE__ */ (0, I.jsx)(Kbe, { ...e })
]
});
}
-function Rbe(e) {
- let { actions: t, helpers: n } = e, r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(!1), u = yL(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
+function Kbe(e) {
+ let { actions: t, helpers: n } = e, r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(!1), u = vL(r, i, "[data-catalog-view][aria-pressed=\"true\"]", e.state);
(0, F.useEffect)(() => {
n.wireDrag(o.current), n.wireScroller(a.current), n.wireDrag(s.current);
}, [n]);
- let d = !e.tiers, f = zG(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
+ let d = !e.tiers, f = RG(o, e.tags, e.tiers?.key ?? "", e.tagFirst);
return (0, F.useLayoutEffect)(() => {
if (d) {
l(!1);
@@ -55691,7 +55769,7 @@ function Rbe(e) {
e.sorts
]), (0, F.useLayoutEffect)(() => {
ec(o.current, "tagbar");
- }, [f]), /* @__PURE__ */ (0, I.jsx)(mL, {
+ }, [f]), /* @__PURE__ */ (0, I.jsx)(pL, {
label: "筛选与排序",
topLabel: "视图与标签",
attrs: {
@@ -55735,23 +55813,23 @@ function Rbe(e) {
}), /* @__PURE__ */ (0, I.jsxs)("div", {
ref: o,
"data-catalog-tags": "",
- children: [e.empty || d ? /* @__PURE__ */ (0, I.jsx)(RG, { kind: "tag" }) : null, f.map((n) => /* @__PURE__ */ (0, I.jsx)(zbe, {
+ children: [e.empty || d ? /* @__PURE__ */ (0, I.jsx)(LG, { kind: "tag" }) : null, f.map((n) => /* @__PURE__ */ (0, I.jsx)(qbe, {
tag: n,
pending: e.tiersPending,
onPress: t.toggleTag
}, n.k))]
})]
}),
- bottom: e.trash ? null : /* @__PURE__ */ (0, I.jsx)(Hbe, { ...e })
+ bottom: e.trash ? null : /* @__PURE__ */ (0, I.jsx)(Xbe, { ...e })
});
}
-function zbe({ tag: e, pending: t, onPress: n }) {
- return /* @__PURE__ */ (0, I.jsxs)(hL, {
+function qbe({ tag: e, pending: t, onPress: n }) {
+ return /* @__PURE__ */ (0, I.jsxs)(mL, {
"data-catalog-tag": e.k,
"data-entity-press": "",
pressed: e.selected,
onPress: () => n(e.k),
- children: [/* @__PURE__ */ (0, I.jsx)(sL, {
+ children: [/* @__PURE__ */ (0, I.jsx)(oL, {
text: e.label,
busy: t
}), e.n == null ? null : /* @__PURE__ */ (0, I.jsx)("span", {
@@ -55760,15 +55838,15 @@ function zbe({ tag: e, pending: t, onPress: n }) {
})]
});
}
-function Bbe(e) {
- oL();
+function Jbe(e) {
+ aL();
let { actions: t, helpers: n } = e, r = e.tiers ?? {
key: "",
performers: [],
studios: []
- }, i = !e.tiers, a = e.empty || i, o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useCallback)((e) => () => t.moreTops(e), [t]), l = zG(o, r.performers, r.key, 24, a ? void 0 : c("performers")), u = zG(s, r.studios, r.key, 24, a ? void 0 : c("studios")), d = (0, F.useMemo)(() => i ? LG() : null, [i]), f = d ? d.performers : e.empty || r.performers.length > 0, p = d ? d.studios : e.empty || r.studios.length > 0;
+ }, i = !e.tiers, a = e.empty || i, o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useCallback)((e) => () => t.moreTops(e), [t]), l = RG(o, r.performers, r.key, 24, a ? void 0 : c("performers")), u = RG(s, r.studios, r.key, 24, a ? void 0 : c("studios")), d = (0, F.useMemo)(() => i ? IG() : null, [i]), f = d ? d.performers : e.empty || r.performers.length > 0, p = d ? d.studios : e.empty || r.studios.length > 0;
return (0, F.useEffect)(() => {
- i || Ibe({
+ i || Wbe({
performers: f,
studios: p
});
@@ -55789,7 +55867,7 @@ function Bbe(e) {
children: [f ? /* @__PURE__ */ (0, I.jsx)("div", {
ref: o,
"data-catalog-tier": "performers",
- children: a ? /* @__PURE__ */ (0, I.jsx)(RG, { kind: "performer" }) : l.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {
+ children: a ? /* @__PURE__ */ (0, I.jsx)(LG, { kind: "performer" }) : l.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-tier-performer": "",
"data-entity-kind": "performer",
@@ -55800,7 +55878,7 @@ function Bbe(e) {
dangerouslySetInnerHTML: { __html: n.ringHtml }
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-tier-name": "",
- children: /* @__PURE__ */ (0, I.jsx)(sL, {
+ children: /* @__PURE__ */ (0, I.jsx)(oL, {
text: nn("performer", n.name),
busy: e.tiersPending
})
@@ -55809,13 +55887,13 @@ function Bbe(e) {
}) : null, p ? /* @__PURE__ */ (0, I.jsx)("div", {
ref: s,
"data-catalog-tier": "studios",
- children: a ? /* @__PURE__ */ (0, I.jsx)(RG, { kind: "studio" }) : u.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {
+ children: a ? /* @__PURE__ */ (0, I.jsx)(LG, { kind: "studio" }) : u.map((n) => /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-tier-studio": "",
"data-entity-kind": "studio",
"data-entity-name": n.name,
onClick: () => t.openEntity("studio", n.name),
- children: [/* @__PURE__ */ (0, I.jsx)(Vbe, { studio: n }), /* @__PURE__ */ (0, I.jsx)(sL, {
+ children: [/* @__PURE__ */ (0, I.jsx)(Ybe, { studio: n }), /* @__PURE__ */ (0, I.jsx)(oL, {
text: n.name,
busy: e.tiersPending
})]
@@ -55823,7 +55901,7 @@ function Bbe(e) {
}) : null]
});
}
-function Vbe({ studio: e }) {
+function Ybe({ studio: e }) {
let [t, n] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsx)("span", {
"data-tier-mark": "",
@@ -55841,7 +55919,7 @@ function Vbe({ studio: e }) {
}) : e.fallback
});
}
-function RG({ kind: e }) {
+function LG({ kind: e }) {
let t = Array.from({ length: 64 }, (e, t) => t);
return e === "tag" ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-catalog-placeholder": "tag",
@@ -55857,43 +55935,43 @@ function RG({ kind: e }) {
children: [/* @__PURE__ */ (0, I.jsx)("span", {}), /* @__PURE__ */ (0, I.jsx)("span", { children: "\xA0" })]
}, t)) });
}
-function Hbe({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
- let a = lG(), [o, s] = (0, F.useState)(!1);
+function Xbe({ count: e, refreshing: t, layout: n, sorts: r, actions: i }) {
+ let a = cG(), [o, s] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("span", {
"data-catalog-summary": "",
- children: [/* @__PURE__ */ (0, I.jsx)(Ube, { count: e }), /* @__PURE__ */ (0, I.jsx)(AV, { currentHref: i.currentHref })]
+ children: [/* @__PURE__ */ (0, I.jsx)(Zbe, { count: e }), /* @__PURE__ */ (0, I.jsx)(kV, { currentHref: i.currentHref })]
}), /* @__PURE__ */ (0, I.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(FG, {
+ /* @__PURE__ */ (0, I.jsx)(PG, {
onPress: () => {
s(!0), i.reshuffle().finally(() => s(!1));
},
busy: o || t
}),
- n && a === "cards" ? /* @__PURE__ */ (0, I.jsx)(PG, {
+ n && a === "cards" ? /* @__PURE__ */ (0, I.jsx)(NG, {
name: n.name,
label: n.label,
value: n.value,
options: n.options,
onChange: i.setLayout
}, n.name) : null,
- /* @__PURE__ */ (0, I.jsx)(uG, {}),
- /* @__PURE__ */ (0, I.jsx)(rG, {}),
- /* @__PURE__ */ (0, I.jsx)(IG, {
+ /* @__PURE__ */ (0, I.jsx)(lG, {}),
+ /* @__PURE__ */ (0, I.jsx)(nG, {}),
+ /* @__PURE__ */ (0, I.jsx)(FG, {
sorts: r,
onSort: i.setSort
})
]
})] });
}
-function Ube({ count: e }) {
+function Zbe({ count: e }) {
let t = e ? `${e.total.toLocaleString()} 个符合 · 显示 ${e.shown.toLocaleString()}` : e === !1 ? "" : void 0;
return /* @__PURE__ */ (0, I.jsx)("span", {
"data-catalog-readout": "",
"data-count-readout": "",
role: "status",
- children: /* @__PURE__ */ (0, I.jsx)(sL, {
+ children: /* @__PURE__ */ (0, I.jsx)(oL, {
text: t,
busy: e === null,
placeholder: /* @__PURE__ */ (0, I.jsx)("span", {
@@ -55904,7 +55982,7 @@ function Ube({ count: e }) {
})
});
}
-function Wbe(e) {
+function Qbe(e) {
let [t, n] = (0, F.useState)(null);
return (0, F.useLayoutEffect)(() => {
if (!e) return;
@@ -55914,7 +55992,7 @@ function Wbe(e) {
};
}, [e]), t;
}
-function zG(e, t, n, r, i) {
+function RG(e, t, n, r, i) {
let a = () => ({
key: n,
limit: r,
@@ -55957,8 +56035,8 @@ function zG(e, t, n, r, i) {
}), l.slice(0, c.limit);
}
// src/react/components/grid-reveal.tsx
-var BG = "100% 0px";
-function Gbe(e, t) {
+var zG = "100% 0px";
+function $be(e, t) {
let [n, r] = (0, F.useState)(e ? "skeleton" : "none"), [i] = (0, F.useState)(() => e ? t() : ""), a = (0, F.useRef)(null);
return (0, F.useLayoutEffect)(() => {
a.current && pc(a.current);
@@ -55984,7 +56062,7 @@ function Gbe(e, t) {
fading: n === "fade"
};
}
-function VG({ message: e, onRetry: t }) {
+function BG({ message: e, onRetry: t }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-media-error": "",
onClick: (e) => {
@@ -55997,7 +56075,7 @@ function VG({ message: e, onRetry: t }) {
});
}
// src/react/components/skeleton-content.tsx
-function HG({ pending: e, skeletonHtml: t, children: n }) {
+function VG({ pending: e, skeletonHtml: t, children: n }) {
let r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = t();
return (0, F.useLayoutEffect)(() => {
e || (r.current = n);
@@ -56021,25 +56099,25 @@ function HG({ pending: e, skeletonHtml: t, children: n }) {
});
}
// src/react/components/card-meta.tsx
-function UG({ name: e }) {
+function HG({ name: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
}
-function WG({ name: e }) {
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(UG, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e })] });
+function UG({ name: e }) {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(HG, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e })] });
}
-function GG({ value: e, label: t, title: n }) {
+function WG({ value: e, label: t, title: n }) {
return /* @__PURE__ */ (0, I.jsxs)("time", {
"data-media-release": "",
dateTime: e,
title: n || t,
- children: [/* @__PURE__ */ (0, I.jsx)(UG, { name: "calendar" }), t]
+ children: [/* @__PURE__ */ (0, I.jsx)(HG, { name: "calendar" }), t]
});
}
-function KG({ tags: e, label: t, readOnly: n = !1, attrs: r, ...i }) {
+function GG({ tags: e, label: t, readOnly: n = !1, attrs: r, ...i }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
...i,
"data-media-tags": "",
@@ -56057,12 +56135,12 @@ function KG({ tags: e, label: t, readOnly: n = !1, attrs: r, ...i }) {
});
}
// src/react/components/recommendation-reason.tsx
-var Kbe = 3;
-function qbe(e, t, n = Kbe) {
+var exe = 3;
+function txe(e, t, n = exe) {
return [...e, t.slice(0, n).join("、")].filter(Boolean).join(" · ");
}
-function qG({ reasons: e, tags: t = [] }) {
- let n = (0, F.useRef)(null), [r, i] = (0, F.useState)(!1), a = qbe(e, t);
+function KG({ reasons: e, tags: t = [] }) {
+ let n = (0, F.useRef)(null), [r, i] = (0, F.useState)(!1), a = txe(e, t);
if (!a) return null;
let o = [e.join(" · "), t.length ? `共同标签:${t.join("、")}` : ""].filter(Boolean).join("\n");
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("button", {
@@ -56077,15 +56155,15 @@ function qG({ reasons: e, tags: t = [] }) {
e.stopPropagation(), i(!0);
},
children: a
- }), /* @__PURE__ */ (0, I.jsx)(mz, {
+ }), /* @__PURE__ */ (0, I.jsx)(pz, {
triggerRef: n,
isOpen: r,
onOpenChange: i,
placement: "top",
offset: 8,
containerPadding: 12,
- className: PV,
- children: /* @__PURE__ */ (0, I.jsx)(Dz, {
+ className: NV,
+ children: /* @__PURE__ */ (0, I.jsx)(Ez, {
"data-media-reason-dialog": "",
"aria-label": "推荐理由",
className: "w-64 max-w-full p-2 text-body-regular whitespace-pre-line break-words text-text-primary outline-none focus-visible:ring-2 focus-visible:ring-border-focus-ring",
@@ -56094,63 +56172,63 @@ function qG({ reasons: e, tags: t = [] }) {
})] });
}
// src/library-catalog.ts
-var JG = "peach.library-colors.v1", YG = null, XG = /* @__PURE__ */ new Set();
-function Jbe() {
+var qG = "peach.library-colors.v1", JG = null, YG = /* @__PURE__ */ new Set();
+function nxe() {
try {
- let e = JSON.parse(localStorage.getItem(JG) || "{}");
+ let e = JSON.parse(localStorage.getItem(qG) || "{}");
return e && typeof e == "object" ? e : {};
} catch {
return {};
}
}
-function ZG(e) {
- YG = e;
+function XG(e) {
+ JG = e;
try {
- localStorage.setItem(JG, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));
+ localStorage.setItem(qG, JSON.stringify(Object.fromEntries(e.filter((e) => e.color).map((e) => [e.id, e.color]))));
} catch {}
- XG.forEach((t) => t(e));
+ YG.forEach((t) => t(e));
}
-function QG() {
- return YG;
+function ZG() {
+ return JG;
}
-function Ybe(e) {
- return XG.add(e), () => {
- XG.delete(e);
+function rxe(e) {
+ return YG.add(e), () => {
+ YG.delete(e);
};
}
// src/react/components/library-tint.ts
-var $G = /* @__PURE__ */ new Map(), eK = !1, tK = /* @__PURE__ */ new Set();
-function Xbe(e) {
+var QG = /* @__PURE__ */ new Map(), $G = !1, eK = /* @__PURE__ */ new Set();
+function ixe(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 nK(e) {
- $G = e;
+function tK(e) {
+ QG = e;
let t = document.getElementById("peach-library-tints");
- t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...$G.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${Xbe(e.color)}}`).join("\n");
+ t || (t = document.createElement("style"), t.id = "peach-library-tints", document.head.append(t)), t.textContent = [...QG.values()].filter((e) => e.color).map((e) => `[data-library="${CSS.escape(e.id)}"]{--library-color:${ixe(e.color)}}`).join("\n");
}
-function rK(e) {
- nK(e), tK.forEach((e) => e());
+function nK(e) {
+ tK(e), eK.forEach((e) => e());
}
-var iK = (e) => new Map(e.map((e) => [e.id, {
+var rK = (e) => new Map(e.map((e) => [e.id, {
id: e.id,
name: e.name,
icon: _s[e.icon || ""] || e.icon || "database",
location: e.roots?.[0]?.location || "",
color: e.color || ""
-}])), aK = !1;
-function Zbe() {
- if (aK) return;
- aK = !0, Ybe((e) => rK(iK(e)));
- let e = QG();
+}])), iK = !1;
+function axe() {
+ if (iK) return;
+ iK = !0, rxe((e) => nK(rK(e)));
+ let e = ZG();
if (e) {
- nK(iK(e));
+ tK(rK(e));
return;
}
- let t = Object.entries(Jbe()).filter(([, e]) => e);
- t.length && nK(new Map(t.map(([e, t]) => [e, {
+ let t = Object.entries(nxe()).filter(([, e]) => e);
+ t.length && tK(new Map(t.map(([e, t]) => [e, {
id: e,
name: "",
icon: "database",
@@ -56158,56 +56236,56 @@ function Zbe() {
color: t
}])));
}
-function Qbe() {
- eK || QG() || (eK = !0, B("/api/libraries").then((e) => ZG(e.libraries || [])).catch(() => {
- eK = !1;
+function oxe() {
+ $G || ZG() || ($G = !0, B("/api/libraries").then((e) => XG(e.libraries || [])).catch(() => {
+ $G = !1;
}));
}
-function $be(e, t) {
- let n = $G.get(e) ?? {
+function sxe(e, t) {
+ let n = QG.get(e) ?? {
id: e,
name: "",
icon: "database",
location: "",
color: ""
};
- rK(new Map([...$G, [e, {
+ nK(new Map([...QG, [e, {
...n,
color: t
}]]));
}
-function exe(e) {
- return tK.add(e), () => {
- tK.delete(e);
+function cxe(e) {
+ return eK.add(e), () => {
+ eK.delete(e);
};
}
-function oK({ names: e = !1 } = {}) {
- return Zbe(), e && Qbe(), (0, F.useSyncExternalStore)(exe, () => $G, () => $G);
+function aK({ names: e = !1 } = {}) {
+ return axe(), e && oxe(), (0, F.useSyncExternalStore)(cxe, () => QG, () => QG);
}
// src/react/components/row-click.ts
-var txe = "a,button,input,select,textarea,label,[role=\"checkbox\"],[role=\"switch\"],[role=\"button\"],[role=\"link\"],[role=\"menu\"]";
-function sK(e, t) {
+var lxe = "a,button,input,select,textarea,label,[role=\"checkbox\"],[role=\"switch\"],[role=\"button\"],[role=\"link\"],[role=\"menu\"]";
+function oK(e, t) {
let n = e.target;
if (!(n instanceof Element) || !t.contains(n)) return !1;
- let r = n.closest(txe);
+ let r = n.closest(lxe);
return !r || !t.contains(r) || r === t;
}
-function cK(e) {
+function sK(e) {
e.shiftKey && e.preventDefault();
}
// src/react/components/media-card.tsx
-var lK = 9 / 16, uK = "未命名视频", nxe = {
+var cK = 9 / 16, lK = "未命名视频", uxe = {
image: "图片",
audio: "音频",
archive: "压缩包",
other: "其它文件"
-}, rxe = {
+}, dxe = {
manual: "手动",
junk: "垃圾",
duplicate: "重复",
missing: "文件缺失"
};
-function ixe(e) {
+function fxe(e) {
if (Number(e.duration) < 0) return {
key: "unavailable",
label: "探查错误"
@@ -56235,16 +56313,16 @@ function ixe(e) {
label: "尚未探查"
};
}
-function dK({ item: e }) {
+function uK({ item: e }) {
if (e.disposal !== "trash") return null;
- let t = e.disposal_reason && rxe[e.disposal_reason] || "原因未记录";
+ let t = e.disposal_reason && dxe[e.disposal_reason] || "原因未记录";
return /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-disposal-reason": "",
title: `归入原因:${t}`,
children: t
});
}
-function fK({ item: e, actions: t }) {
+function dK({ item: e, actions: t }) {
let [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(""), o = e.disposal === "trash" ? "restore" : "dispose", s = o === "restore" ? "还原" : "移入回收站";
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -56263,10 +56341,10 @@ function fK({ item: e, actions: t }) {
children: i
}) : null] });
}
-function pK(e, t, n) {
- return t === "short" ? lK : TM(n);
+function fK(e, t, n) {
+ return t === "short" ? cK : xM(n);
}
-function mK(e) {
+function pK(e) {
let { kind: t, name: n, coStarred: r, performers: i, refs: a, total: o } = Ao(e), s = i[0] || "", c = ho(e);
return {
avatar: r ? /* @__PURE__ */ (0, I.jsx)("div", {
@@ -56298,7 +56376,7 @@ function mK(e) {
"data-entity-kind": "performer",
"data-entity-name": s,
title: nn("performer", s),
- children: /* @__PURE__ */ (0, I.jsx)(WG, { name: nn("performer", s) })
+ children: /* @__PURE__ */ (0, I.jsx)(UG, { name: nn("performer", s) })
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-who-more": "",
children: `等 ${o} 人`
@@ -56308,16 +56386,16 @@ function mK(e) {
"data-entity-kind": t,
"data-entity-name": n,
title: nn(t, n),
- children: /* @__PURE__ */ (0, I.jsx)(WG, { name: nn(t, n) })
+ children: /* @__PURE__ */ (0, I.jsx)(UG, { name: nn(t, n) })
}) : /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-media-who": "",
"data-open-unowned": "",
- children: /* @__PURE__ */ (0, I.jsx)(WG, { name: n })
+ children: /* @__PURE__ */ (0, I.jsx)(UG, { name: n })
})
};
}
-function axe() {
+function pxe() {
return /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-media-preview": "",
@@ -56336,7 +56414,7 @@ function axe() {
})]
});
}
-function oxe({ item: e, actions: t, on: n, onChange: r }) {
+function mxe({ item: e, actions: t, on: n, onChange: r }) {
let [i, a] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-media-later": "",
@@ -56351,22 +56429,22 @@ function oxe({ item: e, actions: t, on: n, onChange: r }) {
},
"aria-busy": i || void 0,
"aria-disabled": i || void 0,
- children: /* @__PURE__ */ (0, I.jsx)(UG, { name: n ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, I.jsx)(HG, { name: n ? "check" : "bookmark-plus" })
})
});
}
-function hK(e, t) {
+function mK(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 sxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {
- oL();
- let u = (0, F.useRef)(null), [d, f] = (0, F.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = oK(), h = e.library_id && m.get(e.library_id)?.color ? e.library_id : void 0, g = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), _ = (0, F.useRef)(e);
+function hxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekSeconds: a, helpers: o, actions: s, onOpen: c, grouped: l = !0 }) {
+ aL();
+ let u = (0, F.useRef)(null), [d, f] = (0, F.useState)(null), p = d?.id === e.id ? d.on : !!e.watch_later, m = aK(), h = e.library_id && m.get(e.library_id)?.color ? e.library_id : void 0, g = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), _ = (0, F.useRef)(e);
_.current = e;
let v = (0, F.useCallback)((e) => {
let t = _.current;
u.current && u.current !== e && Pl(u.current), u.current = e, e && (!t.medium || t.medium === "video") && Il(e, t);
- }, []), y = l && Number(e.part_group?.count) > 1 && e.part_group || null, b = l && Number(e.edition_group?.count) > 1 && e.edition_group || null, x = !!(y || b), S = n.active && !!e.is_jav, C = pK(e, t, n), w = S ? n.size : "small", T = C === lK && !!e.is_jav, E = T ? Do(e, !1) : To(e, w, !1, n.javImage), D = T || w === "small" ? E.html : To(e, "small", !1, n.javImage).html, O = y?.title || e.name || "", k = o.displayName(e, O).trim() || uK, A = o.titleHtml(e, O).trim() || z(uK), j = y?.total_size ?? e.size, M = y?.total_duration ?? e.duration, ee = Number(M) > 0 ? null : ixe(e), N = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: te, who: P } = mK(e), ne = (e.follow_tags || e.tags || []).slice(0, 3), re = (t) => {
+ }, []), y = l && Number(e.part_group?.count) > 1 && e.part_group || null, b = l && Number(e.edition_group?.count) > 1 && e.edition_group || null, x = !!(y || b), S = n.active && !!e.is_jav, C = fK(e, t, n), w = S ? n.size : "small", T = C === cK && !!e.is_jav, E = T ? Do(e, !1) : To(e, w, !1, n.javImage), D = T || w === "small" ? E.html : To(e, "small", !1, n.javImage).html, O = y?.title || e.name || "", k = o.displayName(e, O).trim() || lK, A = o.titleHtml(e, O).trim() || z(lK), j = y?.total_size ?? e.size, M = y?.total_duration ?? e.duration, ee = Number(M) > 0 ? null : fxe(e), N = !y && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, { avatar: te, who: P } = pK(e), ne = (e.follow_tags || e.tags || []).slice(0, 3), re = (t) => {
let n = t.target;
if (n.closest("[data-media-reason-dialog]")) return;
let r = u.current;
@@ -56393,10 +56471,10 @@ function sxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
l && r.contains(l) ? s.toggleTag(l.dataset.tag || "") : c(e, r);
}, ie = /* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-pic": "",
- "data-pic-portrait": C === lK ? "" : void 0,
+ "data-pic-portrait": C === cK ? "" : void 0,
style: { "--card-ratio": String(C) },
children: [
- E.html ? /* @__PURE__ */ (0, I.jsx)(YU, {
+ E.html ? /* @__PURE__ */ (0, I.jsx)(JU, {
artwork: E,
identity: D,
relayout: (e) => El(e, w)
@@ -56410,11 +56488,11 @@ function sxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
}),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, I.jsx)(UG, { name: "check" })
+ children: /* @__PURE__ */ (0, I.jsx)(HG, { name: "check" })
}),
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, I.jsx)(UG, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, I.jsx)(HG, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]
}),
y && !b ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-group": "",
@@ -56430,7 +56508,7 @@ function sxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-copy-key": ee ? `media.duration.${ee.key}` : void 0,
children: ee ? ee.label : Jn(M)
}),
- !i && e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)(fK, {
+ !i && e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)(dK, {
item: e,
actions: s
}) : null,
@@ -56446,22 +56524,22 @@ function sxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
"data-media-scrub": "",
children: /* @__PURE__ */ (0, I.jsx)("i", { style: { "--media-fill": `${Math.round(e.leave_ratio * 100)}%` } })
}),
- /* @__PURE__ */ (0, I.jsx)(axe, {}),
+ /* @__PURE__ */ (0, I.jsx)(pxe, {}),
p || g.length ? /* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-status": "",
children: [p ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-status": "later",
title: "稍后看",
"aria-label": "稍后看",
- children: /* @__PURE__ */ (0, I.jsx)(UG, { name: "bookmark" })
+ children: /* @__PURE__ */ (0, I.jsx)(HG, { name: "bookmark" })
}) : null, g.length ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-status": "flagged",
title: `已标记:${g.join("、")}`,
"aria-label": `已标记:${g.join("、")}`,
- children: /* @__PURE__ */ (0, I.jsx)(UG, { name: "heart" })
+ children: /* @__PURE__ */ (0, I.jsx)(HG, { name: "heart" })
}) : null]
}) : null,
- i ? null : /* @__PURE__ */ (0, I.jsx)(oxe, {
+ i ? null : /* @__PURE__ */ (0, I.jsx)(mxe, {
item: e,
actions: s,
on: p,
@@ -56476,27 +56554,27 @@ function sxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), hK(u.current, -a);
+ e.stopPropagation(), mK(u.current, -a);
},
title: `后退 ${a} 秒`,
"aria-label": `后退 ${a} 秒`,
- children: /* @__PURE__ */ (0, I.jsx)(UG, { name: "rotate-ccw" })
+ children: /* @__PURE__ */ (0, I.jsx)(HG, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
onClick: (e) => {
- e.stopPropagation(), hK(u.current, a);
+ e.stopPropagation(), mK(u.current, a);
},
title: `前进 ${a} 秒`,
"aria-label": `前进 ${a} 秒`,
- children: /* @__PURE__ */ (0, I.jsx)(UG, { name: "rotate-cw" })
+ children: /* @__PURE__ */ (0, I.jsx)(HG, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-open": "",
title: "打开详情",
"aria-label": "打开详情",
- children: /* @__PURE__ */ (0, I.jsx)(UG, { name: "expand" })
+ children: /* @__PURE__ */ (0, I.jsx)(HG, { name: "expand" })
})
]
})
@@ -56516,7 +56594,7 @@ function sxe({ 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: re,
- onMouseDown: cK,
+ onMouseDown: sK,
children: [
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -56554,33 +56632,33 @@ function sxe({ item: e, variant: t, layout: n, selected: r, selectMode: i, seekS
}) : null,
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-media-facts": "",
- children: [e.is_jav && e.release_date ? /* @__PURE__ */ (0, I.jsx)(GG, {
+ children: [e.is_jav && e.release_date ? /* @__PURE__ */ (0, I.jsx)(WG, {
value: e.release_date,
label: e.release_date
}) : null, /* @__PURE__ */ (0, I.jsxs)("span", {
"data-media-size": "",
- children: [/* @__PURE__ */ (0, I.jsx)(UG, { name: "hard-drive" }), Number(j) > 0 ? Xn(Number(j)) : "大小未知"]
+ children: [/* @__PURE__ */ (0, I.jsx)(HG, { name: "hard-drive" }), Number(j) > 0 ? Xn(Number(j)) : "大小未知"]
})]
})
]
}),
- t === "next" ? /* @__PURE__ */ (0, I.jsx)(qG, {
+ t === "next" ? /* @__PURE__ */ (0, I.jsx)(KG, {
reasons: e.why ? e.why.split(" · ") : [],
tags: (e.why_tags || []).map(o.tagLabel)
- }) : ne.length || e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)(KG, {
+ }) : ne.length || e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)(GG, {
tags: ne,
label: o.tagLabel,
readOnly: !!e.follow_item_id
}) : null,
- /* @__PURE__ */ (0, I.jsx)(dK, { item: e })
+ /* @__PURE__ */ (0, I.jsx)(uK, { item: e })
]
})]
})
]
});
}
-function cxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
- let o = (0, F.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : nxe[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";
+function gxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOpen: a }) {
+ let o = (0, F.useRef)(null), s = e.medium === "image" && e.location !== "online", c = String(e.name || ""), l = c.toLowerCase().endsWith(".url") ? "网址快捷方式" : uxe[e.medium || ""] || "其它文件", u = s ? "pics" : l === "网址快捷方式" ? "globe" : "hard-drive";
return /* @__PURE__ */ (0, I.jsxs)("article", {
ref: o,
"data-media-card": "",
@@ -56592,14 +56670,14 @@ function cxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
onClick: (t) => {
o.current && (n || t.shiftKey || t.ctrlKey || t.metaKey ? (t.preventDefault(), i.toggleSelection(e.id, t.shiftKey)) : a(e, o.current));
},
- onMouseDown: cK,
+ onMouseDown: sK,
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-pic": "",
style: { "--card-ratio": "1.7777777777777777" },
children: [
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, I.jsx)(UG, { name: u }), /* @__PURE__ */ (0, I.jsx)("b", { children: l })]
+ children: [/* @__PURE__ */ (0, I.jsx)(HG, { name: u }), /* @__PURE__ */ (0, I.jsx)("b", { children: l })]
}),
s ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-art": "thumb",
@@ -56611,13 +56689,13 @@ function cxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
}),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, I.jsx)(UG, { name: "check" })
+ children: /* @__PURE__ */ (0, I.jsx)(HG, { name: "check" })
}),
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-media-trash-mark": "",
- children: [/* @__PURE__ */ (0, I.jsx)(UG, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]
+ children: [/* @__PURE__ */ (0, I.jsx)(HG, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("b", { children: "回收站" })]
}),
- n ? null : /* @__PURE__ */ (0, I.jsx)(fK, {
+ n ? null : /* @__PURE__ */ (0, I.jsx)(dK, {
item: e,
actions: i
})
@@ -56628,7 +56706,7 @@ function cxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
"data-media-avatar": "",
"data-media-kind-glyph": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, I.jsx)(UG, { name: u })
+ children: /* @__PURE__ */ (0, I.jsx)(HG, { name: u })
}), /* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-text": "",
children: [
@@ -56656,29 +56734,29 @@ function cxe({ item: e, selected: t, selectMode: n, helpers: r, actions: i, onOp
]
}),
e.disposal === "trash" ? /* @__PURE__ */ (0, I.jsx)("div", { "data-media-tags": "" }) : null,
- /* @__PURE__ */ (0, I.jsx)(dK, { item: e })
+ /* @__PURE__ */ (0, I.jsx)(uK, { item: e })
]
})]
})]
});
}
-function lxe(e) {
- return e.variant === "resource" ? /* @__PURE__ */ (0, I.jsx)(cxe, { ...e }) : /* @__PURE__ */ (0, I.jsx)(sxe, { ...e });
+function _xe(e) {
+ return e.variant === "resource" ? /* @__PURE__ */ (0, I.jsx)(gxe, { ...e }) : /* @__PURE__ */ (0, I.jsx)(hxe, { ...e });
}
-var gK = (0, F.memo)(lxe), uxe = 1100, dxe = 340, fxe = 5e3;
-function pxe(e, t, n) {
+var hK = (0, F.memo)(_xe), vxe = 1100, yxe = 340, bxe = 5e3;
+function xxe(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, fxe);
+ }, s = () => o(!1), c = setTimeout(s, bxe);
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 _K({ load: e, canFlip: t, referrerPolicy: n }) {
+function gK({ load: e, canFlip: t, referrerPolicy: n }) {
let [r, i] = (0, F.useState)([]), [a, o] = (0, F.useState)(0), [s, c] = (0, F.useState)(null), l = (0, F.useRef)({
live: !1,
generation: 0,
@@ -56720,11 +56798,11 @@ function _K({ load: e, canFlip: t, referrerPolicy: n }) {
return;
}
if (!r() || !u.current.canFlip() || a.length < 2) return;
- let s = await Promise.all(a.map((t) => pxe(t, e, n)));
+ let s = await Promise.all(a.map((t) => xxe(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, uxe);
+ p(), e.cycle = setInterval(p, vxe);
}));
};
return (0, F.useEffect)(() => d, [d]), {
@@ -56733,7 +56811,7 @@ function _K({ 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(dxe, () => {
+ e.armed !== null && (clearTimeout(e.armed), e.timers.delete(e.armed)), e.armed = f(yxe, () => {
e.armed = null, m();
});
},
@@ -56743,8 +56821,8 @@ function _K({ load: e, canFlip: t, referrerPolicy: n }) {
};
}
// src/react/components/mix-card.tsx
-var vK = hV("play");
-function mxe({ src: e }) {
+var _K = mV("play");
+function Sxe({ src: e }) {
let [t, n] = (0, F.useState)(!1);
return t ? null : /* @__PURE__ */ (0, I.jsx)("img", {
"data-mix-poster": "",
@@ -56757,8 +56835,8 @@ function mxe({ src: e }) {
className: "absolute inset-0 block size-full object-contain"
});
}
-var yK = "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 hxe({ faces: e, fallback: t, onOpenEntity: n }) {
+var vK = "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 Cxe({ faces: e, fallback: t, onOpenEntity: n }) {
return e.length ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-mix-avatars": "",
children: e.slice(0, 5).map((e) => /* @__PURE__ */ (0, I.jsx)("button", {
@@ -56766,18 +56844,18 @@ function hxe({ faces: e, fallback: t, onOpenEntity: n }) {
title: `打开资料页:${e.name}`,
"aria-label": `打开资料页:${e.name}`,
onClick: () => n(e.kind, e.name),
- className: `${yK} cursor-pointer outline-none`,
+ className: `${vK} cursor-pointer outline-none`,
dangerouslySetInnerHTML: { __html: _o(e.name, e, Za(e.name), e.kind) }
}, `${e.kind}:${e.id}`))
}) : /* @__PURE__ */ (0, I.jsx)("span", {
"data-mix-initial": "",
"aria-hidden": !0,
- className: `${yK} mt-0.5`,
+ className: `${vK} mt-0.5`,
children: t
});
}
-function bK({ 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 = _K({
+function yK({ 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 = gK({
load: i,
canFlip: a
}), x = (0, F.useRef)(b.onPointerLeave);
@@ -56804,11 +56882,11 @@ function bK({ 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, I.jsx)(YU, {
+ f?.html ? /* @__PURE__ */ (0, I.jsx)(JU, {
artwork: f,
identity: p,
relayout: m
- }) : r ? /* @__PURE__ */ (0, I.jsx)(mxe, { src: r }, r) : /* @__PURE__ */ (0, I.jsx)("span", {
+ }) : r ? /* @__PURE__ */ (0, I.jsx)(Sxe, { src: r }, r) : /* @__PURE__ */ (0, I.jsx)("span", {
className: "text-caption-1-regular tracking-caps text-text-secondary uppercase",
children: "无预览"
}),
@@ -56838,7 +56916,7 @@ function bK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
/* @__PURE__ */ (0, I.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, I.jsx)(vK, {
+ children: [/* @__PURE__ */ (0, I.jsx)(_K, {
"aria-hidden": !0,
className: "size-(--icon-inline)"
}), g ?? `${n.toLocaleString()} 个视频`]
@@ -56851,8 +56929,8 @@ function bK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
_ ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-mix-glyph": "",
"aria-hidden": !0,
- children: /* @__PURE__ */ (0, I.jsx)(vK, {})
- }) : /* @__PURE__ */ (0, I.jsx)(hxe, {
+ children: /* @__PURE__ */ (0, I.jsx)(_K, {})
+ }) : /* @__PURE__ */ (0, I.jsx)(Cxe, {
faces: o,
fallback: er(e),
onOpenEntity: s
@@ -56875,20 +56953,20 @@ function bK({ name: e, caption: t, count: n, poster: r, flipImages: i, canFlip:
});
}
// src/react/video-wall/use-wall-camera.ts
-var xK = {
+var bK = {
x: 16,
y: 16,
scale: 1
-}, gxe = .65, _xe = 1.6, SK = (e) => Math.min(_xe, Math.max(gxe, e)), CK = (e, t, n, r) => ({
+}, wxe = .65, Txe = 1.6, xK = (e) => Math.min(Txe, Math.max(wxe, e)), SK = (e, t, n, r) => ({
scale: t,
x: n - (n - e.x) * t / e.scale,
y: r - (r - e.y) * t / e.scale
});
-function vxe(e, t, n) {
+function Exe(e, t, n) {
let r = 120 / t.scale, i = -e.x / e.scale, a = -e.y / e.scale, o = -t.x / t.scale - r, s = -t.y / t.scale - r;
return i >= o && a >= s && i + n.width / e.scale <= o + n.width / t.scale + r * 2 && a + n.height / e.scale <= s + n.height / t.scale + r * 2;
}
-function yxe(e, t, n = xK, r = !1) {
+function Dxe(e, t, n = bK, r = !1) {
let i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)({
width: 0,
height: 0
@@ -56920,12 +56998,12 @@ function yxe(e, t, n = xK, r = !1) {
previous: 0
});
}, []), y = (0, F.useCallback)((e, t = !1, n = !1) => {
- let { count: r, finite: c, focused: f } = d.current, p = zye(e, o.current, Rye(r), c && !f && !n), h = s.current;
+ let { count: r, finite: c, focused: f } = d.current, p = qye(e, o.current, Kye(r), c && !f && !n), h = s.current;
s.current = p;
let g = window.devicePixelRatio || 1, _ = a.current;
_ && (_.style.transform = `translate3d(${Math.round(p.x * g) / g}px, ${Math.round(p.y * g) / g}px, 0) scale(${p.scale})`, (p.x !== h.x || p.y !== h.y || p.scale !== h.scale) && (_.style.willChange = "transform", m.current !== null && clearTimeout(m.current), m.current = setTimeout(() => {
m.current = null, _.style.willChange = "";
- }, 240))), i.current && (i.current.dataset.cameraX = String(p.x), i.current.dataset.cameraY = String(p.y), i.current.dataset.cameraScale = String(p.scale)), (t || !vxe(p, u.current, o.current)) && (u.current = p, l({
+ }, 240))), i.current && (i.current.dataset.cameraX = String(p.x), i.current.dataset.cameraY = String(p.y), i.current.dataset.cameraScale = String(p.scale)), (t || !Exe(p, u.current, o.current)) && (u.current = p, l({
camera: p,
size: { ...o.current }
}));
@@ -56955,7 +57033,7 @@ function yxe(e, t, n = xK, r = !1) {
let r = s.current, i = r;
if (t.scale) {
let e = Math.abs(t.scale - r.scale) < .002;
- i = CK(r, e ? t.scale : r.scale + (t.scale - r.scale) * n, t.anchorX, t.anchorY), e && (t.scale = 0);
+ i = SK(r, e ? t.scale : r.scale + (t.scale - r.scale) * n, t.anchorX, t.anchorY), e && (t.scale = 0);
}
let a = Math.hypot(t.x, t.y) < .5, o = a ? t.x : t.x * n, c = a ? t.y : t.y * n;
y({
@@ -56968,13 +57046,13 @@ function yxe(e, t, n = xK, r = !1) {
let n = h.current;
if (b()) {
let n = s.current;
- t && (n = CK(n, SK(n.scale * t.factor), t.x, t.y)), e && (n = {
+ t && (n = SK(n, xK(n.scale * t.factor), t.x, t.y)), e && (n = {
...n,
x: n.x + e.x,
y: n.y + e.y
}), y(n);
} else t && Object.assign(n, {
- scale: SK((n.scale || s.current.scale) * t.factor),
+ scale: xK((n.scale || s.current.scale) * t.factor),
anchorX: t.x,
anchorY: t.y
}), e && (n.x += e.x, n.y += e.y), f.current === null && (n.scale || n.x || n.y) && (n.previous = 0, f.current = requestAnimationFrame(x));
@@ -57016,7 +57094,7 @@ function yxe(e, t, n = xK, r = !1) {
x: o.current.width / 2 - (e.x + e.width / 2) * i,
y: o.current.height / 2 - (e.y + e.height / 2) * i
};
- !t || b() ? y(a, !0, n) : p.current = fS(0, 1, {
+ !t || b() ? y(a, !0, n) : p.current = cS(0, 1, {
duration: .42,
ease: [
.22,
@@ -57041,7 +57119,7 @@ function yxe(e, t, n = xK, r = !1) {
}),
snapshot: () => ({ ...s.current }),
reset: () => {
- v(), y({ ...xK }, !0);
+ v(), y({ ...bK }, !0);
},
pan: (e, t) => {
v(), y({
@@ -57102,16 +57180,16 @@ function yxe(e, t, n = xK, r = !1) {
};
}
// src/react/video-wall/wall-motion.ts
-var bxe = {
+var Oxe = {
type: "spring",
stiffness: 300,
damping: 34
-}, xxe = {
+}, kxe = {
delay: .14,
duration: .24
};
// src/react/video-wall/use-wall-playback.ts
-function Sxe(e, t, n) {
+function Axe(e, t, n) {
let [r, i] = (0, F.useState)({
paused: !0,
time: 0,
@@ -57152,15 +57230,15 @@ function Sxe(e, t, n) {
};
}
// src/react/video-wall/wall-controls.tsx
-function Cxe({ 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 = tS(), x = Sxe(t, n, v), S = x.duration || Number(e.duration) || 0, C = r || i, w = !t || x.paused, T = async () => {
+function jxe({ 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 = Zx(), x = Axe(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) {
y(xn(e));
}
};
- return /* @__PURE__ */ (0, I.jsxs)(pS.div, {
+ return /* @__PURE__ */ (0, I.jsxs)(lS.div, {
"data-wall-focus-actions": "",
initial: !b && {
opacity: 0,
@@ -57170,7 +57248,7 @@ function Cxe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou
opacity: 1,
transform: "translateY(0px)"
},
- transition: b ? { duration: 0 } : xxe,
+ transition: b ? { duration: 0 } : kxe,
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-wall-control-row": "",
children: [
@@ -57178,7 +57256,7 @@ function Cxe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou
type: "button",
"data-wall-play": "",
"data-wall-pause": w ? void 0 : "",
- ..._V(C),
+ ...gV(C),
"aria-label": r ? "正在打开" : i ? "正在读取版本" : w ? "播放" : "暂停",
title: w ? "播放" : "暂停",
onClick: () => void T(),
@@ -57228,7 +57306,7 @@ function Cxe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
- ..._V(d),
+ ...gV(d),
"aria-label": u ? "移出稍后看" : "稍后看",
title: "稍后看",
"aria-pressed": u,
@@ -57274,7 +57352,7 @@ function Cxe({ item: e, playing: t, frame: n, starting: r, pendingGroup: i, grou
});
}
// src/react/components/mix-queue.tsx
-function wK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
+function CK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a, children: o, ...s }) {
let c = (0, F.useRef)(null), l = (0, F.useCallback)((e) => {
c.current = e, typeof a == "function" ? a(e) : a && (a.current = e);
}, [a]);
@@ -57310,7 +57388,7 @@ function wK({ kind: e, title: t, summary: n, onClose: r, actions: i, listRef: a,
})]
});
}
-function TK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
+function wK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }) {
let s = /* @__PURE__ */ (0, I.jsx)("span", {
"data-mix-item-text": "",
children: a
@@ -57333,7 +57411,7 @@ function TK({ current: e, pic: t, lead: n, after: r, row: i, children: a, ...o }
}), r]
});
}
-var wxe = ({ label: e, count: t }) => /* @__PURE__ */ (0, I.jsxs)("h3", {
+var Mxe = ({ label: e, count: t }) => /* @__PURE__ */ (0, I.jsxs)("h3", {
"data-mix-group-label": "",
children: [
e,
@@ -57342,28 +57420,28 @@ var wxe = ({ label: e, count: t }) => /* @__PURE__ */ (0, I.jsxs)("h3", {
]
});
// src/react/video-wall/wall-queue.tsx
-function Txe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {
+function Nxe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-wall-queue": "",
id: "wall-queue",
- children: /* @__PURE__ */ (0, I.jsx)(wK, {
+ children: /* @__PURE__ */ (0, I.jsx)(CK, {
kind: n,
title: n === "parts" ? "分卷" : n === "editions" ? "版本" : "作品",
summary: `${e.length} 个视频`,
onClose: a,
- children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)(TK, {
+ children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)(wK, {
current: e.id === t,
"data-wall-source": e.id,
"aria-label": [
e.edition_label,
- e.part_label ? VP(e.part_label) : "",
+ e.part_label ? zP(e.part_label) : "",
r(e)
].filter(Boolean).join(" · "),
onClick: () => i(e),
- pic: /* @__PURE__ */ (0, I.jsx)(YU, { artwork: To(e, "small", !0, "cover") }),
+ pic: /* @__PURE__ */ (0, I.jsx)(JU, { artwork: To(e, "small", !0, "cover") }),
children: [/* @__PURE__ */ (0, I.jsx)("b", { children: r(e) }), /* @__PURE__ */ (0, I.jsx)("span", { children: [
e.edition_label,
- e.part_label ? VP(e.part_label) : "",
+ e.part_label ? zP(e.part_label) : "",
Jn(e.duration)
].filter(Boolean).join(" · ") })]
}, e.id))
@@ -57371,7 +57449,7 @@ function Txe({ items: e, activeId: t, kind: n, label: r, choose: i, close: a })
});
}
// src/react/video-wall/wall-route.ts
-function Exe(e = `${location.pathname}${location.search}`, t = {}) {
+function Pxe(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",
@@ -57386,17 +57464,17 @@ function Exe(e = `${location.pathname}${location.search}`, t = {}) {
}
return s.set("returnTo", `${n.pathname}${n.search}`), `/wall?${s}`;
}
-function EK(e = `${location.pathname}${location.search}`) {
+function TK(e = `${location.pathname}${location.search}`) {
let t = new URL(e, location.origin).searchParams;
- for (let e of zW) t.delete(e);
+ for (let e of RW) t.delete(e);
return t.delete("tag_match"), `/wall${t.size ? `?${t}` : ""}`;
}
-function DK() {
+function EK() {
let e = new URLSearchParams(Op.navigation.location.search).get("returnTo") || "/";
Op.replace(e.startsWith("/") && !e.startsWith("//") && !e.startsWith("/wall") ? e : "/");
}
// src/react/video-wall/video-wall.tsx
-var OK = /* @__PURE__ */ new Map(), kK = (0, F.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {
+var DK = /* @__PURE__ */ new Map(), OK = (0, F.memo)(function({ item: e, image: t, big: n = !1, ratio: r = 1 }) {
let i = To(!e.is_jav && t === "thumbnail" && e.has_thumb ? {
...e,
has_cover: !1
@@ -57409,7 +57487,7 @@ var OK = /* @__PURE__ */ new Map(), kK = (0, F.memo)(function({ item: e, image:
ref: a,
"data-media-pic": "",
style: { "--card-ratio": String(r) },
- children: /* @__PURE__ */ (0, I.jsx)(YU, {
+ children: /* @__PURE__ */ (0, I.jsx)(JU, {
artwork: i,
relayout: (e) => e.querySelectorAll("img.cover").forEach((e) => {
e.complete && e.naturalWidth && fl(e, r);
@@ -57417,31 +57495,31 @@ var OK = /* @__PURE__ */ new Map(), kK = (0, F.memo)(function({ item: e, image:
})
});
});
-function Dxe({ 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 Fxe({ 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, F.useState)(() => {
- let e = OK.get(f);
+ let e = DK.get(f);
return e && (i || t || e.pool === p) ? e : void 0;
- }), [h] = (0, F.useState)(() => m?.exploration || new Bye()), g = (0, F.useRef)(!1), [_, v] = (0, F.useState)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(null), C = (0, F.useRef)(null), [w, T] = (0, F.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, D] = (0, F.useState)(m?.selectedKey || ""), [O, k] = (0, F.useState)(m?.sourceId || null), [A, j] = (0, F.useState)(!1), M = w?.edition_group ? {
+ }), [h] = (0, F.useState)(() => m?.exploration || new Jye()), g = (0, F.useRef)(!1), [_, v] = (0, F.useState)(null), y = (0, F.useRef)(null), b = (0, F.useRef)(null), x = (0, F.useRef)(null), S = (0, F.useRef)(null), C = (0, F.useRef)(null), [w, T] = (0, F.useState)(() => e.find((e) => e.id === m?.selectedId) || null), [E, D] = (0, F.useState)(m?.selectedKey || ""), [O, k] = (0, F.useState)(m?.sourceId || null), [A, j] = (0, F.useState)(!1), M = w?.edition_group ? {
kind: "editions",
seedId: w.edition_group.seed_id
} : w?.part_group ? {
kind: "parts",
seedId: w.part_group.seed_id
} : null, ee = Ft({
- queryKey: bP(M || {
+ queryKey: vP(M || {
kind: "parts",
seedId: 0
}),
enabled: !!M,
- queryFn: ({ signal: e }) => kP(M, {
+ queryFn: ({ signal: e }) => DP(M, {
tagLabel: u.tagLabel,
mixRelated: async () => []
}, e)
- }), N = M ? ee.data : void 0, te = N?.items.find((e) => e.id === MP(N, O || w?.id || null)) || w, P = yxe(e.length, t && !!e.length, m?.camera || {
+ }), N = M ? ee.data : void 0, te = N?.items.find((e) => e.id === AP(N, O || w?.id || null)) || w, P = Dxe(e.length, t && !!e.length, m?.camera || {
x: 0,
y: 0,
scale: innerWidth < 640 ? .68 : 1
- }, !!w), ne = tS(), [re, ie] = (0, F.useState)(!!m);
+ }, !!w), ne = Zx(), [re, ie] = (0, F.useState)(!!m);
(0, F.useEffect)(() => {
if (!e.length || re || ne) return;
let t = setTimeout(() => ie(!0), 1100);
@@ -57456,7 +57534,7 @@ function Dxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
return e.className = "peach-react", e;
});
(0, F.useLayoutEffect)(() => {
- document.body.append(Ce), BW(), P.viewport.current?.focus({ preventScroll: !0 });
+ document.body.append(Ce), zW(), P.viewport.current?.focus({ preventScroll: !0 });
}, [Ce]), (0, F.useEffect)(() => () => Ce.remove(), [Ce]);
let [we, Te] = (0, F.useState)(() => Bf(Op.navigation.location.pathname)), [Ee, De] = (0, F.useState)(m?.image || d), Oe = (0, F.useRef)(null), ke = (0, F.useRef)(p), Ae = (0, F.useRef)(!!e.length);
Ae.current = !!e.length;
@@ -57475,20 +57553,20 @@ function Dxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
pool: p
};
let Me = () => {
- Ae.current && (OK.delete(f), OK.set(f, {
+ Ae.current && (DK.delete(f), DK.set(f, {
...je.current,
camera: P.snapshot(),
exploration: h
- }), OK.size > 8 && OK.delete(OK.keys().next().value));
+ }), DK.size > 8 && DK.delete(DK.keys().next().value));
};
(0, F.useLayoutEffect)(Me);
- let Ne = RW(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, P.view.camera, P.view.size), Pe = i ? Ne.map((e) => ({
+ let Ne = LW(i ? 12 : t ? e.length : e.length || n ? 12 : 0, t && !i, P.view.camera, P.view.size), Pe = i ? Ne.map((e) => ({
...e,
index: -1
})) : t ? Ne : h.assign(Ne, e.length, n).map((t) => t.index < e.length || w && t.key === E ? t : {
...t,
index: -1
- }), Fe = w && (t ? IW(e.length, !0, E) : h.tile(E, e.length)), Ie = Fe ? LW(e.length, t, Fe) : /* @__PURE__ */ new Map();
+ }), Fe = w && (t ? FW(e.length, !0, E) : h.tile(E, e.length)), Ie = Fe ? IW(e.length, t, Fe) : /* @__PURE__ */ new Map();
Fe && !Pe.some((e) => e.key === Fe.key) && Pe.push(Fe);
let Le = (e = !1) => {
C.current?.abort(), C.current = null, S.current?.(e), S.current = null, se(null), de(!1);
@@ -57529,7 +57607,7 @@ function Dxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
w?.id !== n.id && Le(!1), Oe.current = {
key: r.key,
id: n.id
- }, pe(""), le(null), T(n), D(r.key), k(null), j(!1), xe(!1), P.reveal(LW(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));
+ }, pe(""), le(null), T(n), D(r.key), k(null), j(!1), xe(!1), P.reveal(IW(e.length, t, r).get(r.key) || r, i, !0), i || requestAnimationFrame(() => y.current?.querySelector("[data-wall-play]")?.focus({ preventScroll: !0 }));
}, Ve = () => {
te && y.current && (Me(), Le(!0), l.wallDetails?.(te, y.current.querySelector("[data-wall-focus]") || y.current));
}, He = async (e = te) => {
@@ -57551,7 +57629,7 @@ function Dxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
C.current === t && de(!1);
}
}, Ue = () => {
- let e = NP(N || null, oe || 0);
+ let e = jP(N || null, oe || 0);
e && (k(e.id), He(e));
};
(0, F.useEffect)(() => {
@@ -57573,7 +57651,7 @@ function Dxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
let r = P.snapshot(), i = e.findIndex((e) => e.id === n.id), a = {
x: (P.view.size.width / 2 - r.x) / r.scale,
y: (P.view.size.height / 2 - r.y) / r.scale
- }, o = t ? Lye(e.length, i) : h.nearest(e.length, i, a);
+ }, o = t ? Gye(e.length, i) : h.nearest(e.length, i, a);
o && (Be(n, o), le(n.id));
}, qe = async () => {
if (!(r || g.current)) {
@@ -57665,7 +57743,7 @@ function Dxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
/* @__PURE__ */ (0, I.jsx)("div", {
"data-wall-focus-backdrop": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, I.jsx)(kK, {
+ children: /* @__PURE__ */ (0, I.jsx)(OK, {
item: w,
image: Ee,
big: !0
@@ -57673,7 +57751,7 @@ function Dxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}),
/* @__PURE__ */ (0, I.jsx)("div", {
"data-wall-scene": "",
- children: /* @__PURE__ */ (0, I.jsx)(kK, {
+ children: /* @__PURE__ */ (0, I.jsx)(OK, {
item: w,
image: Ee,
big: !0
@@ -57702,7 +57780,7 @@ function Dxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}),
Qe.code ? /* @__PURE__ */ (0, I.jsx)("strong", { children: Ze(Qe).startsWith(Qe.code) ? Ze(Qe).slice(Qe.code.length).trim() : Ze(Qe) }) : null,
/* @__PURE__ */ (0, I.jsx)("span", { children: Qe.performers?.join(" · ") || Qe.creator || "未归属" }),
- N ? /* @__PURE__ */ (0, I.jsx)("small", { children: [Qe.edition_label, Qe.part_label ? VP(Qe.part_label) : ""].filter(Boolean).join(" · ") }) : null
+ N ? /* @__PURE__ */ (0, I.jsx)("small", { children: [Qe.edition_label, Qe.part_label ? zP(Qe.part_label) : ""].filter(Boolean).join(" · ") }) : null
]
}),
/* @__PURE__ */ (0, I.jsx)("button", {
@@ -57719,7 +57797,7 @@ function Dxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}),
fe || M && ee.error && !N ? /* @__PURE__ */ (0, I.jsxs)("div", {
"data-wall-play-error": "",
- children: [/* @__PURE__ */ (0, I.jsx)(fV, {
+ children: [/* @__PURE__ */ (0, I.jsx)(dV, {
tone: "error",
children: fe || xn(ee.error)
}), ee.error && !N ? /* @__PURE__ */ (0, I.jsx)(J, {
@@ -57729,7 +57807,7 @@ function Dxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
children: "立即重试"
}) : null]
}) : null,
- /* @__PURE__ */ (0, I.jsx)(Cxe, {
+ /* @__PURE__ */ (0, I.jsx)(jxe, {
item: Qe,
playing: oe,
frame: b,
@@ -57751,7 +57829,7 @@ function Dxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
ended: Ue,
error: pe
}),
- A ? /* @__PURE__ */ (0, I.jsx)(Txe, {
+ A ? /* @__PURE__ */ (0, I.jsx)(Nxe, {
items: We,
activeId: Qe.id,
kind: N?.kind || "wall",
@@ -57767,7 +57845,7 @@ function Dxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
"data-refreshing": _ !== null || void 0,
hidden: we,
onKeyDown: (e) => {
- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), A ? j(!1) : w ? ze() : be ? Re() : DK());
+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), e.stopPropagation(), A ? j(!1) : w ? ze() : be ? Re() : EK());
},
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -57778,7 +57856,7 @@ function Dxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
"data-wall-back": "",
"aria-label": "退出播放墙",
title: "返回",
- onClick: DK,
+ onClick: EK,
children: /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -57787,7 +57865,7 @@ function Dxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}),
!t && (n || e.length > 0) ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-wall-refresh": "",
- children: /* @__PURE__ */ (0, I.jsx)(FG, {
+ children: /* @__PURE__ */ (0, I.jsx)(PG, {
busy: r,
onPress: () => void Ye()
})
@@ -57853,7 +57931,7 @@ function Dxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}), /* @__PURE__ */ (0, I.jsx)("p", { children: "当前仅显示筛选结果" })] }), /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
variant: "ghost",
- onClick: () => Op.push(EK()),
+ onClick: () => Op.push(TK()),
children: "清除筛选"
})]
}) : null
@@ -57909,7 +57987,7 @@ function Dxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}
}, t.key);
let n = !!w && t.key === E, r = n ? w : e[t.index], i = Ie.get(t.key) || t, a = !re && !n, o = a ? Math.min(.34, (Math.max(0, t.x + P.view.camera.x / P.view.camera.scale) + Math.max(0, t.y + P.view.camera.y / P.view.camera.scale)) / 103.36 * .03) : 0;
- return /* @__PURE__ */ (0, I.jsx)(pS.article, {
+ return /* @__PURE__ */ (0, I.jsx)(lS.article, {
layout: !0,
layoutDependency: `${i.x}:${i.y}:${i.width}:${i.height}`,
"data-wall-tile": t.key,
@@ -57930,7 +58008,7 @@ function Dxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
},
whileHover: ae && !ne && !n && re ? { transform: `translateY(0px) scale(${(i.width + 12.16) / i.width},${(i.height + 12.16) / i.height})` } : void 0,
transition: ne ? { duration: 0 } : {
- layout: bxe,
+ layout: Oxe,
transform: a ? {
type: "spring",
stiffness: 360,
@@ -57963,7 +58041,7 @@ function Dxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
!n && ["Enter", " "].includes(e.key) && (e.preventDefault(), Be(r, t, !1));
},
children: n ? $e : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(kK, {
+ /* @__PURE__ */ (0, I.jsx)(OK, {
item: r,
image: Ee,
ratio: i.width / i.height
@@ -57989,7 +58067,7 @@ function Dxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
style: { "--wall-progress": `${Math.min(100, Number(r.leave_ratio) * 100)}%` },
"aria-label": "观看进度"
}) : null,
- /* @__PURE__ */ (0, I.jsx)(pS.span, {
+ /* @__PURE__ */ (0, I.jsx)(lS.span, {
"data-wall-dim": "",
animate: { opacity: w ? .65 : 0 },
transition: { duration: ne ? 0 : .24 }
@@ -58001,7 +58079,7 @@ function Dxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
}),
!i && a ? /* @__PURE__ */ (0, I.jsxs)("div", {
"data-wall-error": "",
- children: [/* @__PURE__ */ (0, I.jsx)(fV, {
+ children: [/* @__PURE__ */ (0, I.jsx)(dV, {
tone: "error",
children: a
}), /* @__PURE__ */ (0, I.jsx)(J, {
@@ -58031,20 +58109,20 @@ function Dxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
children: /* @__PURE__ */ (0, I.jsxs)(J, {
size: "small",
variant: "secondary",
- ..._V(r),
+ ...gV(r),
onClick: () => void qe(),
children: [r ? /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: Bs() } }) : null, "载入更多"]
})
}) : null,
me ? /* @__PURE__ */ (0, I.jsxs)("div", {
"data-wall-error": "",
- children: [/* @__PURE__ */ (0, I.jsx)(fV, {
+ children: [/* @__PURE__ */ (0, I.jsx)(dV, {
tone: "error",
children: me
}), /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
variant: "ghost",
- ..._V(r),
+ ...gV(r),
onClick: () => void qe(),
children: "立即重试"
})]
@@ -58054,7 +58132,7 @@ function Dxe({ items: e, finite: t, hasMore: n, busy: r, loading: i = !1, error:
return (0, Rt.createPortal)(et, Ce);
}
// src/catalog-onboarding.ts
-var AK = [
+var kK = [
"loc",
"creator",
"performer",
@@ -58073,19 +58151,19 @@ var AK = [
"jav",
"thumb"
];
-function Oxe(e = typeof location > "u" ? "/" : location.href) {
+function Ixe(e = typeof location > "u" ? "/" : location.href) {
let t = new URL(e, "http://localhost");
for (let e of [
- ...AK,
+ ...kK,
"q",
"category",
"cat"
]) t.searchParams.delete(e);
return t.searchParams.set("thumb", "0"), t.pathname + (t.search ? t.search : "") + t.hash;
}
-async function kxe(e, t) {
+async function Lxe(e, t) {
let n = new URLSearchParams();
- for (let t of AK) e[t] && n.set(t, e[t]);
+ for (let t of kK) 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 || [],
@@ -58096,9 +58174,9 @@ async function kxe(e, t) {
return r.set("q", e), r.set("limit", "1"), (await t("/api/items?" + r)).total > 0 ? e : "";
}))).filter(Boolean);
}
-function jK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable: r = !1, online: i = !1 } = {}) {
+function AK({ 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 Ws("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: n ? "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a><a class=\"geist-button\" href=\"/data-cleanup#libraryProcessing\">补全影片资料</a>" : `<a class="geist-button primary" href="${t ? z(Oxe()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });
+ if (t || n) return Ws("search", n ? "还没有符合条件的 JAV 作品" : "没有符合条件的内容", n ? "已扫描但尚未补充发行资料的视频可在全部内容中查看。" : "清除筛选或搜索条件后查看全部内容。", { actions: n ? "<a class=\"geist-button primary\" href=\"/?loc=&thumb=0\">查看全部内容</a><a class=\"geist-button\" href=\"/data-cleanup#libraryProcessing\">补全影片资料</a>" : `<a class="geist-button primary" href="${t ? z(Ixe()) : "/?loc=&thumb=0"}">${t ? "清除筛选" : "查看全部内容"}</a>` });
if (e !== "catalog") {
let t = (i ? {
tags: "标签",
@@ -58116,12 +58194,12 @@ function jK({ kind: e = "catalog", filtered: t = !1, jav: n = !1, configurable:
return Ws("play", "还没有视频", "添加媒体目录或关注来源,开始建立你的馆藏。", { actions: a + o });
}
// src/react/video-wall/wall-empty.ts
-function Axe({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {
- return e ? r || jK() : t ? Ws("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : Ws("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${EK()}">清除筛选</a>` });
+function Rxe({ libraryEmpty: e, matches: t, hasMore: n, catalogEmpty: r }) {
+ return e ? r || AK() : t ? Ws("image", "这些视频还没有封面", n ? "载入更多作品后继续浏览。" : "为作品补充封面后,可在播放墙中查看。", { actions: "<a class=\"geist-button primary\" href=\"/data-cleanup\">补全封面</a>" + (n ? "<button type=\"button\" class=\"geist-button\" data-wall-load-more>加载更多</button>" : "") }) : Ws("search", "没有符合筛选条件的视频", "清除筛选条件后查看全部视频。", { actions: `<a class="geist-button primary" href="${TK()}">清除筛选</a>` });
}
// src/react/library-processing/processing-actions.tsx
-function MK({ label: e, maintenance: t = !1, children: n }) {
- let r = yH("hover");
+function jK({ label: e, maintenance: t = !1, children: n }) {
+ let r = vH("hover");
return /* @__PURE__ */ (0, I.jsx)("div", {
ref: r,
role: "group",
@@ -58131,13 +58209,13 @@ function MK({ label: e, maintenance: t = !1, children: n }) {
children: n
});
}
-function NK({ option: e, metadataOnly: t, onRun: n }) {
+function MK({ option: e, metadataOnly: t, onRun: n }) {
let r = t && e.command.stage === "previews", i = r || e.disabled;
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
disabled: i,
title: r ? "请先在媒体库设置中开启视频预览生成" : void 0,
- className: q(FV, i ? "cursor-not-allowed opacity-50" : IV, "text-body-2-medium"),
+ className: q(PV, i ? "cursor-not-allowed opacity-50" : FV, "text-body-2-medium"),
onClick: () => n(e.command),
children: /* @__PURE__ */ (0, I.jsxs)("span", {
className: "flex min-w-0 flex-col gap-1",
@@ -58148,12 +58226,12 @@ function NK({ option: e, metadataOnly: t, onRun: n }) {
})
});
}
-function jxe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {
+function zxe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {
let [a, o] = (0, F.useState)(t), [s, c] = (0, F.useState)(), [l, u] = (0, F.useState)("");
(0, F.useEffect)(() => {
let t = new AbortController(), r, i = async (a) => {
try {
- let o = await O_e(e, t.signal, a);
+ let o = await I_e(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(() => {
@@ -58178,7 +58256,7 @@ function jxe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {
}),
/* @__PURE__ */ (0, I.jsx)("div", {
className: "flex justify-center",
- children: /* @__PURE__ */ (0, I.jsx)(EH, {
+ children: /* @__PURE__ */ (0, I.jsx)(TH, {
value: a,
busy: i,
onChange: (e) => {
@@ -58186,7 +58264,7 @@ function jxe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {
}
})
}),
- s ? /* @__PURE__ */ (0, I.jsx)(YH, {
+ s ? /* @__PURE__ */ (0, I.jsx)(JH, {
traffic: s,
initial: !0
}) : null,
@@ -58198,7 +58276,7 @@ function jxe({ command: e, speed: t, dialog: n, onSpeed: r, busy: i }) {
]
});
}
-function PK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, speedMode: i = "standard", pendingCount: a = 0, onRun: o, onOccupied: s }) {
+function NK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, speedMode: i = "standard", pendingCount: a = 0, onRun: o, onOccupied: s }) {
let c = (0, F.useRef)(null), l = (0, F.useRef)(null), [u, d] = (0, F.useState)(null), f = (0, F.useRef)(i);
(0, F.useEffect)(() => () => l.current?.close(), []);
let [p, m] = (0, F.useState)(!1), h = {
@@ -58246,7 +58324,7 @@ function PK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe
description: "为已入库的本地视频生成九宫格",
command: { stage: "previews" }
}
- ], v = e || t, y = e ? _V(!0) : t ? { "aria-disabled": !0 } : {}, b = (a) => {
+ ], v = e || t, y = e ? gV(!0) : t ? { "aria-disabled": !0 } : {}, b = (a) => {
if (e) return;
if (t) {
s?.();
@@ -58281,7 +58359,7 @@ function PK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe
});
};
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- u ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(jxe, {
+ u ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(zxe, {
command: u.command,
dialog: u.dialog,
speed: i,
@@ -58290,11 +58368,11 @@ function PK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe
f.current = e;
}
}), u.host) : null,
- u ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(gH, {
+ u ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(hH, {
href: "/settings/library",
size: "small",
variant: "primary",
- trailingIcon: xB,
+ trailingIcon: bB,
disabled: v,
onClick: (e) => {
u.dialog.confirmButton.getAttribute("aria-busy") === "true" ? e.preventDefault() : u.dialog.close();
@@ -58312,7 +58390,7 @@ function PK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe
}), /* @__PURE__ */ (0, I.jsx)(J, {
ref: c,
iconOnly: !0,
- leadingIcon: bB,
+ leadingIcon: yB,
"aria-label": "更多同步方式",
"aria-haspopup": "dialog",
"aria-expanded": p,
@@ -58322,27 +58400,27 @@ function PK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe
}
})]
}),
- /* @__PURE__ */ (0, I.jsx)(mz, {
+ /* @__PURE__ */ (0, I.jsx)(pz, {
triggerRef: c,
isOpen: p,
onOpenChange: m,
placement: "bottom end",
offset: 4,
- className: PV,
- children: /* @__PURE__ */ (0, I.jsxs)(Dz, {
+ className: NV,
+ children: /* @__PURE__ */ (0, I.jsxs)(Ez, {
"aria-label": "同步方式",
className: "flex w-80 flex-col gap-1 outline-none",
- children: [n ? /* @__PURE__ */ (0, I.jsxs)(MK, {
+ children: [n ? /* @__PURE__ */ (0, I.jsxs)(jK, {
label: "日常同步",
children: [/* @__PURE__ */ (0, I.jsx)("p", {
className: "px-2 py-1 text-caption-1-medium text-text-secondary",
children: "日常同步"
- }), g.map((e) => /* @__PURE__ */ (0, I.jsx)(NK, {
+ }), g.map((e) => /* @__PURE__ */ (0, I.jsx)(MK, {
option: e,
metadataOnly: r,
onRun: b
}, e.label))]
- }) : null, /* @__PURE__ */ (0, I.jsxs)(MK, {
+ }) : null, /* @__PURE__ */ (0, I.jsxs)(jK, {
label: n ? "全库维护" : "补全方式",
maintenance: n,
children: [n ? /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -58354,7 +58432,7 @@ function PK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe
className: "text-caption-1-regular text-text-secondary",
children: "检查全部文件,复用已有资料和预览"
})]
- }) : null, _.map((e) => /* @__PURE__ */ (0, I.jsx)(NK, {
+ }) : null, _.map((e) => /* @__PURE__ */ (0, I.jsx)(MK, {
option: e,
metadataOnly: r,
onRun: b
@@ -58365,48 +58443,48 @@ function PK({ busy: e, occupied: t = !1, scan: n = !1, metadataOnly: r = !1, spe
] });
}
// src/react/library-processing/library-completion.tsx
-function FK(e, t) {
+function PK(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) && !To(e, "small", !1, t).html).map((e) => e.id))];
}
-function IK({ assetIds: e, onComplete: t, className: n = "mb-4" }) {
- return e.length ? /* @__PURE__ */ (0, I.jsx)(Mxe, {
+function FK({ assetIds: e, onComplete: t, className: n = "mb-4" }) {
+ return e.length ? /* @__PURE__ */ (0, I.jsx)(Bxe, {
assetIds: e,
onComplete: t,
className: n
}) : null;
}
-function Mxe({ assetIds: e, onComplete: t, className: n }) {
+function Bxe({ assetIds: e, onComplete: t, className: n }) {
let r = Ft({
- queryKey: eH,
- queryFn: ({ signal: e }) => cH(e),
- refetchInterval: (e) => dH(e.state.data, !0)
+ queryKey: $V,
+ queryFn: ({ signal: e }) => sH(e),
+ refetchInterval: (e) => uH(e.state.data, !0)
}), [i, a] = (0, F.useState)(null), [o, s] = (0, F.useState)(""), c = (0, F.useRef)(null), l = It({
- mutationFn: (t) => V($V, {
+ mutationFn: (t) => V(QV, {
...t,
asset_ids: e
}),
onSuccess: (e) => {
- a(e.job_id || null), H.setQueryData(eH, e), H.invalidateQueries({ queryKey: eH });
+ a(e.job_id || null), H.setQueryData($V, e), H.invalidateQueries({ queryKey: $V });
}
}), u = r.data;
(0, F.useEffect)(() => {
- u && i && u.job_id === i && !rH(u) && c.current !== i && (c.current = i, u.status === "complete" && s(`补全完成:取得 ${u.covers || 0} 张封面,生成 ${u.previews || 0} 部视频预览。`), H.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());
+ u && i && u.job_id === i && !nH(u) && c.current !== i && (c.current = i, u.status === "complete" && s(`补全完成:取得 ${u.covers || 0} 张封面,生成 ${u.previews || 0} 部视频预览。`), H.invalidateQueries({ queryKey: ["catalog-grid"] }), t?.());
}, [
u,
i,
t
]);
- let d = l.isPending || rH(u), f = l.error ? lr(l.error) : r.error ? uH : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,${rH(u) ? "当前任务结束后可单独补全。" : "可补全资料与图片。"}`);
+ let d = l.isPending || nH(u), f = l.error ? lr(l.error) : r.error ? lH : i && u?.job_id === i && u.status === "failed" ? u.error || "补全未完成" : "", p = f || (l.isPending ? "正在启动补全…" : o || `这批影片中有 ${e.length.toLocaleString()} 部暂无预览,${nH(u) ? "当前任务结束后可单独补全。" : "可补全资料与图片。"}`);
return /* @__PURE__ */ (0, I.jsx)("section", {
"aria-label": "补全预览",
"aria-live": "polite",
"data-library-completion": "",
className: q("@container", n),
- children: /* @__PURE__ */ (0, I.jsxs)(fV, {
+ children: /* @__PURE__ */ (0, I.jsxs)(dV, {
tone: f ? "warning" : "neutral",
action: /* @__PURE__ */ (0, I.jsx)("div", {
className: "flex flex-wrap items-center gap-2",
- children: /* @__PURE__ */ (0, I.jsx)(PK, {
+ children: /* @__PURE__ */ (0, I.jsx)(NK, {
busy: d,
metadataOnly: u?.metadata_only,
onRun: (e) => {
@@ -58417,10 +58495,10 @@ function Mxe({ assetIds: e, onComplete: t, className: n }) {
children: [
p,
" ",
- /* @__PURE__ */ (0, I.jsx)(gH, {
+ /* @__PURE__ */ (0, I.jsx)(hH, {
href: "/data-cleanup#libraryProcessing",
size: "small",
- trailingIcon: xB,
+ trailingIcon: bB,
children: f ? "打开扫描与采集" : "查看处理详情"
})
]
@@ -58428,31 +58506,31 @@ function Mxe({ assetIds: e, onComplete: t, className: n }) {
});
}
// node_modules/@tanstack/react-table/dist/FlexRender.js
-function Nxe(e) {
- return Pxe(e) || typeof e == "function" || Fxe(e);
+function Vxe(e) {
+ return Hxe(e) || typeof e == "function" || Uxe(e);
}
-function Pxe(e) {
+function Hxe(e) {
return typeof e == "function" && (() => {
let t = Object.getPrototypeOf(e);
return t.prototype && t.prototype.isReactComponent;
})();
}
-function Fxe(e) {
+function Uxe(e) {
return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
}
-function LK(e, t) {
- return e == null ? null : Nxe(e) ? /* @__PURE__ */ F.createElement(e, t) : e;
+function IK(e, t) {
+ return e == null ? null : Vxe(e) ? /* @__PURE__ */ F.createElement(e, t) : e;
}
-function Ixe(e) {
+function Wxe(e) {
if ("cell" in e && e.cell) {
let t = e.cell, n = t.column.columnDef, r = t, i = n;
- return r.getIsAggregated?.() ? LK(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : LK(n.cell, t.getContext());
+ return r.getIsAggregated?.() ? IK(i.aggregatedCell ?? n.cell, t.getContext()) : r.getIsPlaceholder?.() ? null : IK(n.cell, t.getContext());
}
- return "header" in e && e.header ? LK(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? LK(e.footer.column.columnDef.footer, e.footer.getContext()) : null;
+ return "header" in e && e.header ? IK(e.header.column.columnDef.header, e.header.getContext()) : "footer" in e && e.footer ? IK(e.footer.column.columnDef.footer, e.footer.getContext()) : null;
}
// node_modules/@tanstack/store/dist/alien.js
/* @__NO_SIDE_EFFECTS__ */
-function Lxe({ update: e, notify: t, unwatched: n }) {
+function Gxe({ update: e, notify: t, unwatched: n }) {
return {
link: r,
unlink: i,
@@ -58569,7 +58647,7 @@ function Lxe({ update: e, notify: t, unwatched: n }) {
}
}
// node_modules/@tanstack/store/dist/atom.js
-function Rxe(e, t, n) {
+function Kxe(e, t, n) {
let r = typeof e == "object", i = r ? e : void 0;
return {
next: (r ? e.next : e)?.bind(i),
@@ -58577,38 +58655,38 @@ function Rxe(e, t, n) {
complete: (r ? e.complete : n)?.bind(i)
};
}
-var RK = [], zK = 0, { link: BK, unlink: zxe, propagate: Bxe, checkDirty: VK, shallowPropagate: HK } = /* @__PURE__ */ Lxe({
+var LK = [], RK = 0, { link: zK, unlink: qxe, propagate: Jxe, checkDirty: BK, shallowPropagate: VK } = /* @__PURE__ */ Gxe({
update(e) {
return e._update();
},
notify(e) {
- RK[WK++] = e, e.flags &= -3;
+ LK[UK++] = e, e.flags &= -3;
},
unwatched(e) {
- e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, qK(e));
+ e.depsTail !== void 0 && (e.depsTail = void 0, e.flags = 17, KK(e));
}
-}), UK = 0, WK = 0, GK, KK = 0;
-function Vxe(e) {
+}), HK = 0, UK = 0, WK, GK = 0;
+function Yxe(e) {
try {
- ++KK, e();
+ ++GK, e();
} finally {
- --KK || JK();
+ --GK || qK();
}
}
-function qK(e) {
+function KK(e) {
let t = e.depsTail, n = t === void 0 ? e.deps : t.nextDep;
- for (; n !== void 0;) n = zxe(n, e);
+ for (; n !== void 0;) n = qxe(n, e);
}
-function JK() {
- if (!(KK > 0)) {
- for (; UK < WK;) {
- let e = RK[UK];
- RK[UK++] = void 0, e.notify();
+function qK() {
+ if (!(GK > 0)) {
+ for (; HK < UK;) {
+ let e = LK[HK];
+ LK[HK++] = void 0, e.notify();
}
- UK = 0, WK = 0;
+ HK = 0, UK = 0;
}
}
-function Hxe(e, t) {
+function Xxe(e, t) {
let n = typeof e == "function", r = e, i = {
_snapshot: n ? void 0 : e,
subs: void 0,
@@ -58617,53 +58695,53 @@ function Hxe(e, t) {
depsTail: void 0,
flags: +!n,
get() {
- return GK !== void 0 && BK(i, GK, zK), i._snapshot;
+ return WK !== void 0 && zK(i, WK, RK), i._snapshot;
},
subscribe(e) {
- let t = Rxe(e), n = { current: !1 }, r = Uxe(() => {
- i.get(), n.current ? (GK = void 0, t.next?.(i._snapshot)) : n.current = !0;
+ let t = Kxe(e), n = { current: !1 }, r = Zxe(() => {
+ i.get(), n.current ? (WK = void 0, t.next?.(i._snapshot)) : n.current = !0;
});
return { unsubscribe: () => {
r.stop();
} };
},
_update(e) {
- let a = GK, o = t?.compare ?? Object.is;
- if (n) GK = i, ++zK, i.depsTail = void 0;
+ let a = WK, o = t?.compare ?? Object.is;
+ if (n) WK = i, ++RK, 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 {
- GK = a, n && (i.flags &= -5), qK(i);
+ WK = a, n && (i.flags &= -5), KK(i);
}
}
};
return n ? (i.flags = 17, i.get = function() {
let e = i.flags;
- if (e & 16 || e & 32 && VK(i.deps, i)) {
+ if (e & 16 || e & 32 && BK(i.deps, i)) {
if (i._update()) {
let e = i.subs;
- e !== void 0 && HK(e);
+ e !== void 0 && VK(e);
}
} else e & 32 && (i.flags = e & -33);
- return GK !== void 0 && BK(i, GK, zK), i._snapshot;
+ return WK !== void 0 && zK(i, WK, RK), i._snapshot;
}) : i.set = function(e) {
if (i._update(e)) {
let e = i.subs;
- e !== void 0 && (Bxe(e), HK(e), JK());
+ e !== void 0 && (Jxe(e), VK(e), qK());
}
}, i;
}
-function Uxe(e) {
+function Zxe(e) {
let t = () => {
- let t = GK;
- GK = n, ++zK, n.depsTail = void 0, n.flags = 6;
+ let t = WK;
+ WK = n, ++RK, n.depsTail = void 0, n.flags = 6;
try {
return e();
} finally {
- GK = t, n.flags &= -5, qK(n);
+ WK = t, n.flags &= -5, KK(n);
}
}, n = {
deps: void 0,
@@ -58673,16 +58751,16 @@ function Uxe(e) {
flags: 6,
notify() {
let e = this.flags;
- e & 16 || e & 32 && VK(this.deps, this) ? t() : this.flags = 2;
+ e & 16 || e & 32 && BK(this.deps, this) ? t() : this.flags = 2;
},
stop() {
- this.flags = 0, this.depsTail = void 0, qK(this);
+ this.flags = 0, this.depsTail = void 0, KK(this);
}
};
return t(), n;
}
// node_modules/@tanstack/store/dist/shallow.js
-function YK(e, t) {
+function JK(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) {
@@ -58696,17 +58774,17 @@ function YK(e, t) {
return !0;
}
if (e instanceof Date && t instanceof Date) return e.getTime() === t.getTime();
- let n = XK(e);
- if (n.length !== XK(t).length) return !1;
+ let n = YK(e);
+ if (n.length !== YK(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 XK(e) {
+function YK(e) {
return Object.keys(e).concat(Object.getOwnPropertySymbols(e));
}
// node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
-var Wxe = /* @__PURE__ */ o(((e) => {
- var t = A(), n = aw();
+var Qxe = /* @__PURE__ */ o(((e) => {
+ var t = A(), n = tw();
function r(e, t) {
return e === t && (e !== 0 || 1 / e == 1 / t) || e !== e && t !== t;
}
@@ -58750,33 +58828,33 @@ var Wxe = /* @__PURE__ */ o(((e) => {
f.hasValue = !0, f.value = p;
}, [p]), l(p), p;
};
-})), ZK = /* @__PURE__ */ o(((e, t) => {
- t.exports = Wxe();
-})), Gxe = ZK();
-function Kxe(e, t) {
+})), XK = /* @__PURE__ */ o(((e, t) => {
+ t.exports = Qxe();
+})), $xe = XK();
+function eSe(e, t) {
return e === t;
}
-function QK(e, t = (e) => e, n) {
- let r = n?.compare ?? Kxe, i = (0, F.useCallback)((t) => {
+function ZK(e, t = (e) => e, n) {
+ let r = n?.compare ?? eSe, i = (0, F.useCallback)((t) => {
let { unsubscribe: n } = e.subscribe(t);
return n;
}, [e]), a = (0, F.useCallback)(() => e.get(), [e]);
- return (0, Gxe.useSyncExternalStoreWithSelector)(i, a, a, t, r);
+ return (0, $xe.useSyncExternalStoreWithSelector)(i, a, a, t, r);
}
// node_modules/@tanstack/react-table/dist/Subscribe.js
-function qxe(e) {
- let t = QK(e.source, e.selector, { compare: YK });
+function tSe(e) {
+ let t = ZK(e.source, e.selector, { compare: JK });
return typeof e.children == "function" ? e.children(t) : e.children;
}
// node_modules/@tanstack/table-core/dist/core/reactivity/coreReactivityFeature.utils.js
-function Jxe(e) {
+function nSe(e) {
let t = e;
return Object.defineProperty(e, "state", { get() {
return e.get();
} }), "set" in e && (t.setState = e.set.bind(e)), t;
}
// node_modules/@tanstack/table-core/dist/core/reactivity/renderPhaseReactivity.js
-function Yxe(e) {
+function rSe(e) {
let { createAtom: t, batch: n } = e, r = t(0);
return {
createOptionsStore: !1,
@@ -58806,7 +58884,7 @@ function Yxe(e) {
}
};
}
-function Xxe(e, t = Object.is) {
+function iSe(e, t = Object.is) {
let n = !1, r;
return {
get: e.get,
@@ -58819,28 +58897,28 @@ function Xxe(e, t = Object.is) {
};
}
// node_modules/@tanstack/react-table/dist/reactivity.js
-function Zxe() {
- return Yxe({
- createAtom: Hxe,
- batch: Vxe
+function aSe() {
+ return rSe({
+ createAtom: Xxe,
+ batch: Yxe
});
}
// node_modules/@tanstack/table-core/dist/utils.js
-function $K(e, t) {
+function QK(e, t) {
return typeof e == "function" ? e(t) : e;
}
-function eq(e) {
- if (Array.isArray(e)) return e.map(eq);
+function $K(e) {
+ if (Array.isArray(e)) return e.map($K);
if (e && typeof e == "object") {
let t = Object.getPrototypeOf(e);
if (t !== Object.prototype && t !== null) return e;
- let n = t === null ? nq() : {}, r = Object.keys(e);
+ let n = t === null ? tq() : {}, 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: eq(e[i]),
+ value: $K(e[i]),
writable: !0
});
}
@@ -58848,7 +58926,7 @@ function eq(e) {
}
return e;
}
-function tq(e, t) {
+function eq(e, t) {
let n = Object.keys(t), r = e;
for (let e = 0; e < n.length; e++) {
let i = n[e];
@@ -58856,53 +58934,53 @@ function tq(e, t) {
}
return e;
}
-function nq() {
+function tq() {
return Object.create(null);
}
-function rq(e, t) {
+function nq(e, t) {
return Object.prototype.hasOwnProperty.call(e, t);
}
-function iq(e, t) {
+function rq(e, t) {
return (n) => {
- (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => $K(n, e));
+ (t.options.atoms?.[e] ?? t.baseAtoms[e]).set((e) => QK(n, e));
};
}
-function aq(e) {
+function iq(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 oq(e) {
+function aq(e) {
return Reflect.ownKeys(e).filter((t) => Object.prototype.propertyIsEnumerable.call(e, t));
}
-var Qxe = 3;
-function $xe(e, t) {
- return sq(e, t, Qxe);
+var oSe = 3;
+function sSe(e, t) {
+ return oq(e, t, oSe);
}
-function sq(e, t, n) {
+function oq(e, t, n) {
if (Object.is(e, t)) return !0;
- if (n <= 0 || !aq(e) || !aq(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;
- let r = oq(e), i = oq(t);
+ if (n <= 0 || !iq(e) || !iq(t) || (Array.isArray(e) || Array.isArray(t)) && (!Array.isArray(e) || !Array.isArray(t) || e.length !== t.length)) return !1;
+ let r = aq(e), i = aq(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) || !sq(a[i], o[i], n - 1)) return !1;
+ if (!Object.prototype.propertyIsEnumerable.call(t, i) || !oq(a[i], o[i], n - 1)) return !1;
}
return !0;
}
-function cq(e, t, n, r = $xe) {
+function sq(e, t, n, r = sSe) {
let i = `on${t.charAt(0).toUpperCase()}${t.slice(1)}Change`, a = e.options[i];
a && a((e) => {
- let t = $K(n, e);
+ let t = QK(n, e);
return r(e, t) ? e : t;
});
}
-function eSe(e) {
+function cSe(e) {
return e instanceof Function;
}
-function tSe(e, t) {
+function lSe(e, t) {
let n = [], r = (e) => {
e.forEach((e) => {
n.push(e);
@@ -58912,7 +58990,7 @@ function tSe(e, t) {
};
return r(e), n;
}
-var nSe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {
+var uSe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCompare: i, onBeforeUpdate: a }) => {
let o = [], s;
return (c) => {
i?.();
@@ -58926,23 +59004,23 @@ var nSe = ({ fn: e, memoDeps: t, onAfterCompare: n, onAfterUpdate: r, onBeforeCo
return n?.(u), u && (o = l, a?.(), s = e(...l ?? []), r?.(s)), s;
};
};
-function lq(e) {
+function cq(e) {
let t = !1;
return () => {
t ? e() : t = !0;
};
}
-function uq({ feature: e, fnName: t, objectId: n, onAfterUpdate: r, table: i, ...a }) {
+function lq({ 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 nSe({
+ return uSe({
...a,
...o
});
}
-function dq(e, t = "_") {
+function uq(e, t = "_") {
let [n, r] = e.replace(t, " ").split(" ");
return {
fnKey: r,
@@ -58950,10 +59028,10 @@ function dq(e, t = "_") {
parentName: n
};
}
-function fq(e, t, n) {
+function dq(e, t, n) {
for (let [r, { fn: i, memoDeps: a }] of Object.entries(n)) {
- let { fnKey: n, fnName: o } = dq(r);
- t[n] = a ? uq({
+ let { fnKey: n, fnName: o } = uq(r);
+ t[n] = a ? lq({
memoDeps: a,
fn: i,
fnName: o,
@@ -58962,15 +59040,15 @@ function fq(e, t, n) {
}) : i;
}
}
-function pq(e, t, n, r) {
+function fq(e, t, n, r) {
for (let [i, { fn: a, memoDeps: o }] of Object.entries(r)) {
- let { fnKey: r, fnName: s } = dq(i);
+ let { fnKey: r, fnName: s } = uq(i);
if (o) {
let i = `_memo_${r}`;
t[r] = function(...t) {
if (!this[i]) {
let t = this;
- this[i] = uq({
+ this[i] = lq({
memoDeps: (e) => o(t, e),
fn: (...e) => a(t, ...e),
fnName: s,
@@ -58986,17 +59064,17 @@ function pq(e, t, n, r) {
};
}
}
-function mq(e, t, n, ...r) {
+function pq(e, t, n, ...r) {
return e[t]?.(...r) ?? n(e, ...r);
}
// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.utils.js
-function rSe(e) {
+function dSe(e) {
return e.row.getValue(e.column.id);
}
-function iSe(e) {
+function fSe(e) {
return e.getValue() ?? e.table.options.renderFallbackValue;
}
-function aSe(e) {
+function pSe(e) {
return {
table: e.table,
column: e.column,
@@ -59007,18 +59085,18 @@ function aSe(e) {
};
}
// node_modules/@tanstack/table-core/dist/core/cells/coreCellsFeature.js
-var oSe = { assignCellPrototype: (e, t) => {
- pq("coreCellsFeature", e, t, {
- cell_getValue: { fn: (e) => rSe(e) },
- cell_renderValue: { fn: (e) => iSe(e) },
+var mSe = { assignCellPrototype: (e, t) => {
+ fq("coreCellsFeature", e, t, {
+ cell_getValue: { fn: (e) => dSe(e) },
+ cell_renderValue: { fn: (e) => fSe(e) },
cell_getContext: {
- fn: (e) => aSe(e),
+ fn: (e) => pSe(e),
memoDeps: (e) => [e]
}
});
} };
// node_modules/@tanstack/table-core/dist/core/columns/constructColumn.js
-function sSe(e) {
+function hSe(e) {
if (!e._columnPrototype) {
e._columnPrototype = { table: e };
let t = Object.values(e._features);
@@ -59026,7 +59104,7 @@ function sSe(e) {
}
return e._columnPrototype;
}
-function cSe(e, t, n, r) {
+function gSe(e, t, n, r) {
let i = {
...e.getDefaultColumnDef(),
...t
@@ -59046,53 +59124,53 @@ function cSe(e, t, n, r) {
} else c = (e) => e[i.accessorKey];
}
if (!s) throw Error();
- let l = sSe(e), u = Object.create(l);
+ let l = hSe(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);
return u;
}
// node_modules/@tanstack/table-core/dist/core/featureStubs.js
-function hq(e) {
+function mq(e) {
return e.getIsVisible?.() ?? !0;
}
-function lSe(e) {
+function _Se(e) {
return e.getVisibleLeafColumns?.() ?? e.getAllLeafColumns();
}
-function gq(e, t) {
+function hq(e, t) {
let n = e, r = t;
return n.getOrderColumnsFn?.()(r) ?? n._orderGroupedColumns?.(r) ?? t;
}
-function _q(e, t, n, r) {
+function gq(e, t, n, r) {
return e._orderByColumnPinning?.(t, n, r) ?? t;
}
-function vq(e, t) {
+function _q(e, t) {
return e._expandRows?.(t) ?? t;
}
-function uSe(e) {
+function vSe(e) {
e.autoResetExpanded?.();
}
-function yq(e) {
+function vq(e) {
e.autoResetPageIndex?.();
}
-function dSe(e) {
+function ySe(e) {
e.autoResetSorting?.();
}
-function fSe(e) {
+function bSe(e) {
e.autoResetCellSelection?.();
}
// node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.utils.js
-function pSe(e) {
+function xSe(e) {
return [e, ...e.columns.flatMap((e) => e.getFlatColumns())];
}
-function mSe(e) {
+function SSe(e) {
if (e.columns.length) {
let t = e.columns.flatMap((e) => e.getLeafColumns());
- return gq(e.table, t);
+ return hq(e.table, t);
}
return [e];
}
-function hSe(e) {
+function CSe(e) {
return {
header: (e) => {
let t = e.header.column.columnDef;
@@ -59103,53 +59181,53 @@ function hSe(e) {
...e.options.defaultColumn
};
}
-function bq(e, t, n, r = 0) {
+function yq(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 = cSe(e, o, r, n), c = o;
- s.columns = c.columns ? bq(e, c.columns, s, r + 1) : [], i[a] = s;
+ let o = t[a], s = gSe(e, o, r, n), c = o;
+ s.columns = c.columns ? yq(e, c.columns, s, r + 1) : [], i[a] = s;
}
return i;
}
-function gSe(e) {
- return bq(e, e.options.columns);
+function wSe(e) {
+ return yq(e, e.options.columns);
}
-function _Se(e) {
+function TSe(e) {
return e.getAllColumns().flatMap((e) => e.getFlatColumns());
}
-function vSe(e) {
- let t = nq(), n = e.getAllFlatColumns();
+function ESe(e) {
+ let t = tq(), n = e.getAllFlatColumns();
for (let e = 0; e < n.length; e++) {
let r = n[e];
t[r.id] = r;
}
return t;
}
-function ySe(e) {
- return gq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));
+function DSe(e) {
+ return hq(e, e.getAllColumns().flatMap((e) => e.getLeafColumns()));
}
-function bSe(e) {
- let t = nq(), n = e.getAllLeafColumns();
+function OSe(e) {
+ let t = tq(), n = e.getAllLeafColumns();
for (let e = 0; e < n.length; e++) {
let r = n[e];
t[r.id] = r;
}
return t;
}
-function xSe(e, t) {
+function kSe(e, t) {
return e.getAllFlatColumnsById()[t];
}
// node_modules/@tanstack/table-core/dist/core/columns/coreColumnsFeature.js
-var SSe = {
+var ASe = {
assignColumnPrototype: (e, t) => {
- pq("coreColumnsFeature", e, t, {
+ fq("coreColumnsFeature", e, t, {
column_getFlatColumns: {
- fn: (e) => pSe(e),
+ fn: (e) => xSe(e),
memoDeps: (e) => [e.table.options.columns]
},
column_getLeafColumns: {
- fn: (e) => mSe(e),
+ fn: (e) => SSe(e),
memoDeps: (e) => [
e.table.atoms.columnOrder?.get(),
e.table.atoms.grouping?.get(),
@@ -59160,25 +59238,25 @@ var SSe = {
});
},
constructTableAPIs: (e) => {
- fq("coreColumnsFeature", e, {
+ dq("coreColumnsFeature", e, {
table_getDefaultColumnDef: {
- fn: () => hSe(e),
+ fn: () => CSe(e),
memoDeps: () => [e.options.defaultColumn]
},
table_getAllColumns: {
- fn: () => gSe(e),
+ fn: () => wSe(e),
memoDeps: () => [e.options.columns]
},
table_getAllFlatColumns: {
- fn: () => _Se(e),
+ fn: () => TSe(e),
memoDeps: () => [e.options.columns]
},
table_getAllFlatColumnsById: {
- fn: () => vSe(e),
+ fn: () => ESe(e),
memoDeps: () => [e.options.columns]
},
table_getAllLeafColumns: {
- fn: () => ySe(e),
+ fn: () => DSe(e),
memoDeps: () => [
e.atoms.columnOrder?.get(),
e.atoms.grouping?.get(),
@@ -59187,15 +59265,15 @@ var SSe = {
]
},
table_getAllLeafColumnsById: {
- fn: () => bSe(e),
+ fn: () => OSe(e),
memoDeps: () => [e.getAllLeafColumns()]
},
- table_getColumn: { fn: (t) => xSe(e, t) }
+ table_getColumn: { fn: (t) => kSe(e, t) }
});
}
};
// node_modules/@tanstack/table-core/dist/core/headers/constructHeader.js
-function CSe(e) {
+function jSe(e) {
if (!e._headerPrototype) {
e._headerPrototype = { table: e };
let t = Object.values(e._features);
@@ -59203,38 +59281,38 @@ function CSe(e) {
}
return e._headerPrototype;
}
-function xq(e, t, n) {
- let r = CSe(e), i = Object.create(r);
+function bq(e, t, n) {
+ let r = jSe(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);
return i;
}
// node_modules/@tanstack/table-core/dist/core/headers/buildHeaderGroups.js
-function Sq(e, t = 1) {
+function xq(e, t = 1) {
let n = t;
for (let r = 0; r < e.length; r++) {
let i = e[r];
- hq(i) && i.columns.length && (n = Math.max(n, Sq(i.columns, t + 1)));
+ mq(i) && i.columns.length && (n = Math.max(n, xq(i.columns, t + 1)));
}
return n;
}
-function wSe(e, t) {
+function MSe(e, t) {
return e ? `${e}_${t}` : String(t);
}
-function TSe(e, t, n, r) {
+function NSe(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 ESe(e, t) {
+function PSe(e, t) {
let n = 0;
for (let r = 0; r < e.length; r++) e[r].column === t && n++;
return n;
}
-function Cq(e, t, n, r, i, a) {
+function Sq(e, t, n, r, i, a) {
let o = {
depth: t,
- id: wSe(r, t),
+ id: MSe(r, t),
headers: []
}, s = [];
for (let i = 0; i < e.length; i++) {
@@ -59242,10 +59320,10 @@ function Cq(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 = xq(n, u, {
- id: TSe(r, t, u.id, a.id),
+ let e = bq(n, u, {
+ id: NSe(r, t, u.id, a.id),
isPlaceholder: d,
- placeholderId: d ? String(ESe(s, u)) : void 0,
+ placeholderId: d ? String(PSe(s, u)) : void 0,
depth: t,
index: s.length
});
@@ -59254,18 +59332,18 @@ function Cq(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 && Cq(s, t - 1, n, r, i, a);
+ i.push(o), t > 0 && Sq(s, t - 1, n, r, i, a);
}
-function wq(e) {
+function Cq(e) {
for (let t = 0; t < e.length; t++) {
let n = e[t];
- if (!hq(n.column)) continue;
+ if (!mq(n.column)) continue;
let r = 0;
if (n.subHeaders.length) {
- wq(n.subHeaders);
+ Cq(n.subHeaders);
for (let e = 0; e < n.subHeaders.length; e++) {
let t = n.subHeaders[e];
- hq(t.column) && (r += t.colSpan);
+ mq(t.column) && (r += t.colSpan);
}
} else r = 1;
if (n.colSpan = r, n.isPlaceholder && n.subHeaders.length === 1 && n.subHeaders[0].column === n.column) {
@@ -59275,37 +59353,37 @@ function wq(e) {
} else n.rowSpan = 1;
}
}
-function DSe(e, t, n, r) {
- let i = Sq(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);
- for (let e = 0; e < t.length; e++) e in t && (s[e] = xq(n, t[e], {
+function FSe(e, t, n, r) {
+ let i = xq(e), a = [], o = n._headerGroupInstanceInitFns, s = Array(t.length);
+ for (let e = 0; e < t.length; e++) e in t && (s[e] = bq(n, t[e], {
depth: i,
index: e
}));
- return Cq(s, i - 1, n, r, a, o), a.reverse(), wq(a[0]?.headers ?? []), a;
+ return Sq(s, i - 1, n, r, a, o), a.reverse(), Cq(a[0]?.headers ?? []), a;
}
// node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.utils.js
-function Tq(e, t) {
- for (let n = 0; n < e.subHeaders.length; n++) Tq(e.subHeaders[n], t);
+function wq(e, t) {
+ for (let n = 0; n < e.subHeaders.length; n++) wq(e.subHeaders[n], t);
t.push(e);
}
-function OSe(e) {
+function ISe(e) {
let t = [];
- return Tq(e, t), t;
+ return wq(e, t), t;
}
-function kSe(e) {
+function LSe(e) {
return {
column: e.column,
header: e,
table: e.column.table
};
}
-function ASe(e) {
- return DSe(e.getAllColumns(), _q(e, lSe(e), (e) => e.id), e);
+function RSe(e) {
+ return FSe(e.getAllColumns(), gq(e, _Se(e), (e) => e.id), e);
}
-function jSe(e) {
+function zSe(e) {
return [...e.getHeaderGroups()].reverse();
}
-function MSe(e) {
+function BSe(e) {
let t = e.getHeaderGroups(), n = [];
for (let e = 0; e < t.length; e++) {
let r = t[e].headers;
@@ -59313,7 +59391,7 @@ function MSe(e) {
}
return n;
}
-function NSe(e) {
+function VSe(e) {
let t = e.getHeaderGroups()[0]?.headers ?? [], n = [];
for (let e = 0; e < t.length; e++) {
let r = t[e].getLeafHeaders();
@@ -59322,23 +59400,23 @@ function NSe(e) {
return n;
}
// node_modules/@tanstack/table-core/dist/core/headers/coreHeadersFeature.js
-var PSe = {
+var HSe = {
assignHeaderPrototype: (e, t) => {
- pq("coreHeadersFeature", e, t, {
+ fq("coreHeadersFeature", e, t, {
header_getLeafHeaders: {
- fn: (e) => OSe(e),
+ fn: (e) => ISe(e),
memoDeps: (e) => [e.column.table.options.columns]
},
header_getContext: {
- fn: (e) => kSe(e),
+ fn: (e) => LSe(e),
memoDeps: (e) => [e.column.table.options.columns]
}
});
},
constructTableAPIs: (e) => {
- fq("coreHeadersFeature", e, {
+ dq("coreHeadersFeature", e, {
table_getHeaderGroups: {
- fn: () => ASe(e),
+ fn: () => RSe(e),
memoDeps: () => [
e.options.columns,
e.atoms.columnOrder?.get(),
@@ -59349,22 +59427,22 @@ var PSe = {
]
},
table_getFooterGroups: {
- fn: () => jSe(e),
+ fn: () => zSe(e),
memoDeps: () => [e.getHeaderGroups()]
},
table_getFlatHeaders: {
- fn: () => MSe(e),
+ fn: () => BSe(e),
memoDeps: () => [e.getHeaderGroups()]
},
table_getLeafHeaders: {
- fn: () => NSe(e),
+ fn: () => VSe(e),
memoDeps: () => [e.getHeaderGroups()]
}
});
}
};
// node_modules/@tanstack/table-core/dist/core/rows/constructRow.js
-function FSe(e) {
+function USe(e) {
if (!e._rowPrototype) {
e._rowPrototype = { table: e };
let t = Object.values(e._features);
@@ -59372,98 +59450,98 @@ function FSe(e) {
}
return e._rowPrototype;
}
-var ISe = (e, t, n, r, i, a, o) => {
- let s = FSe(e), c = Object.create(s);
- c._displayIndexCache = -1, c._uniqueValuesCache = nq(), c._valuesCache = nq(), c.depth = i, c.id = t, c.index = r, c.original = n, c.parentId = o, c.subRows = a ?? [];
+var WSe = (e, t, n, r, i, a, o) => {
+ let s = USe(e), c = Object.create(s);
+ c._displayIndexCache = -1, c._uniqueValuesCache = tq(), c._valuesCache = tq(), 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;
};
// node_modules/@tanstack/table-core/dist/core/row-models/createCoreRowModel.js
-function LSe() {
- return (e) => uq({
+function GSe() {
+ return (e) => lq({
feature: "coreRowModelsFeature",
table: e,
fnName: "table.getCoreRowModel",
memoDeps: () => [e.options.data],
- fn: () => RSe(e, e.options.data),
- onAfterUpdate: lq(() => {
- uSe(e), yq(e), dSe(e), fSe(e);
+ fn: () => KSe(e, e.options.data),
+ onAfterUpdate: cq(() => {
+ vSe(e), vq(e), ySe(e), bSe(e);
})
});
}
-function Eq(e, t, n, r = 0, i) {
+function Tq(e, t, n, r = 0, i) {
let a = [];
for (let o = 0; o < n.length; o++) {
- let s = n[o], c = ISe(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 = Eq(e, t, c.originalSubRows, r + 1, c)));
+ let s = n[o], c = WSe(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 = Tq(e, t, c.originalSubRows, r + 1, c)));
}
return a;
}
-function RSe(e, t) {
+function KSe(e, t) {
let n = {
rows: [],
flatRows: [],
- rowsById: nq()
+ rowsById: tq()
};
- return n.rows = Eq(e, n, t), n;
+ return n.rows = Tq(e, n, t), n;
}
// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.utils.js
-function zSe(e) {
- return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? LSe()(e)), e._rowModels.coreRowModel();
+function qSe(e) {
+ return e._rowModels.coreRowModel || (e._rowModels.coreRowModel = e.options.features.coreRowModel?.(e) ?? GSe()(e)), e._rowModels.coreRowModel();
}
-function BSe(e) {
+function JSe(e) {
return e.getCoreRowModel();
}
-function VSe(e) {
+function YSe(e) {
return e._rowModels.filteredRowModel || (e._rowModels.filteredRowModel = e.options.features.filteredRowModel?.(e)), e.options.manualFiltering || !e._rowModels.filteredRowModel ? e.getPreFilteredRowModel() : e._rowModels.filteredRowModel();
}
-function HSe(e) {
+function XSe(e) {
return e.getFilteredRowModel();
}
-function USe(e) {
+function ZSe(e) {
return e._rowModels.groupedRowModel || (e._rowModels.groupedRowModel = e.options.features.groupedRowModel?.(e)), e.options.manualGrouping || !e._rowModels.groupedRowModel ? e.getPreGroupedRowModel() : e._rowModels.groupedRowModel();
}
-function WSe(e) {
+function QSe(e) {
return e.getGroupedRowModel();
}
-function GSe(e) {
+function $Se(e) {
return e._rowModels.sortedRowModel || (e._rowModels.sortedRowModel = e.options.features.sortedRowModel?.(e)), e.options.manualSorting || !e._rowModels.sortedRowModel ? e.getPreSortedRowModel() : e._rowModels.sortedRowModel();
}
-function KSe(e) {
+function eCe(e) {
return e.getSortedRowModel();
}
-function qSe(e) {
+function tCe(e) {
return e._rowModels.expandedRowModel || (e._rowModels.expandedRowModel = e.options.features.expandedRowModel?.(e)), e.options.manualExpanding || !e._rowModels.expandedRowModel ? e.getPreExpandedRowModel() : e._rowModels.expandedRowModel();
}
-function JSe(e) {
+function nCe(e) {
return e.getExpandedRowModel();
}
-function YSe(e) {
+function rCe(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 XSe(e) {
+function iCe(e) {
return e.getPaginatedRowModel();
}
// node_modules/@tanstack/table-core/dist/core/row-models/coreRowModelsFeature.js
-var ZSe = { constructTableAPIs: (e) => {
- fq("coreRowModelsFeature", e, {
- table_getCoreRowModel: { fn: () => zSe(e) },
- table_getPreFilteredRowModel: { fn: () => BSe(e) },
- table_getFilteredRowModel: { fn: () => VSe(e) },
- table_getPreGroupedRowModel: { fn: () => HSe(e) },
- table_getGroupedRowModel: { fn: () => USe(e) },
- table_getPreSortedRowModel: { fn: () => WSe(e) },
- table_getSortedRowModel: { fn: () => GSe(e) },
- table_getPreExpandedRowModel: { fn: () => KSe(e) },
- table_getExpandedRowModel: { fn: () => qSe(e) },
- table_getPrePaginatedRowModel: { fn: () => JSe(e) },
- table_getPaginatedRowModel: { fn: () => YSe(e) },
- table_getRowModel: { fn: () => XSe(e) }
+var aCe = { constructTableAPIs: (e) => {
+ dq("coreRowModelsFeature", e, {
+ table_getCoreRowModel: { fn: () => qSe(e) },
+ table_getPreFilteredRowModel: { fn: () => JSe(e) },
+ table_getFilteredRowModel: { fn: () => YSe(e) },
+ table_getPreGroupedRowModel: { fn: () => XSe(e) },
+ table_getGroupedRowModel: { fn: () => ZSe(e) },
+ table_getPreSortedRowModel: { fn: () => QSe(e) },
+ table_getSortedRowModel: { fn: () => $Se(e) },
+ table_getPreExpandedRowModel: { fn: () => eCe(e) },
+ table_getExpandedRowModel: { fn: () => tCe(e) },
+ table_getPrePaginatedRowModel: { fn: () => nCe(e) },
+ table_getPaginatedRowModel: { fn: () => rCe(e) },
+ table_getRowModel: { fn: () => iCe(e) }
});
} };
// node_modules/@tanstack/table-core/dist/core/cells/constructCell.js
-function QSe(e) {
+function oCe(e) {
if (!e._cellPrototype) {
e._cellPrototype = { table: e };
let t = Object.values(e._features);
@@ -59471,48 +59549,48 @@ function QSe(e) {
}
return e._cellPrototype;
}
-function $Se(e, t, n) {
- let r = QSe(n), i = Object.create(r);
+function sCe(e, t, n) {
+ let r = oCe(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);
return i;
}
// node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.utils.js
-function eCe(e) {
+function cCe(e) {
let t = e.table.getRowsInDisplayOrder(), n = e._displayIndexCache;
return t[n] === e ? n : -1;
}
-function tCe(e) {
- let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? vq(e, t).rows : t.rows;
+function lCe(e) {
+ let t = e.getPrePaginatedRowModel(), n = e.options.paginateExpandedRows === !1 ? _q(e, t).rows : t.rows;
for (let e = 0; e < n.length; e++) n[e]._displayIndexCache = e;
return n;
}
-function nCe(e, t) {
- if (rq(e._valuesCache, t)) return e._valuesCache[t];
+function uCe(e, t) {
+ if (nq(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 rCe(e, t) {
- if (rq(e._uniqueValuesCache, t)) return e._uniqueValuesCache[t];
+function dCe(e, t) {
+ if (nq(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 iCe(e, t) {
+function fCe(e, t) {
return e.getValue(t) ?? e.table.options.renderFallbackValue;
}
-function aCe(e) {
- return tSe(e.subRows, (e) => e.subRows);
+function pCe(e) {
+ return lSe(e.subRows, (e) => e.subRows);
}
-function oCe(e) {
+function mCe(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 sCe(e) {
+function hCe(e) {
if (e.parentId) return e.table.getCoreRowModel().rowsById[e.parentId] ?? e.table.getRow(e.parentId, !0);
}
-function cCe(e) {
+function gCe(e) {
let t = [], n = e;
for (;;) {
let e = n.getParentRow();
@@ -59521,77 +59599,77 @@ function cCe(e) {
}
return t.reverse();
}
-function lCe(e) {
+function _Ce(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 = $Se(a, e, e.table), n.set(a, o)), r[i] = o;
+ o || (o = sCe(a, e, e.table), n.set(a, o)), r[i] = o;
}
return r;
}
-function uCe(e) {
- let t = nq(), n = e.getAllCells();
+function vCe(e) {
+ let t = tq(), n = e.getAllCells();
for (let e = 0; e < n.length; e++) {
let r = n[e];
t[r.column.id] = r;
}
return t;
}
-function dCe(e, t, n, r) {
+function yCe(e, t, n, r) {
return t.options.getRowId?.(e, n, r) ?? (r ? `${r.id}.${n}` : String(n));
}
-function fCe(e, t, n) {
+function bCe(e, t, n) {
let r = (n ? e.getPrePaginatedRowModel() : e.getRowModel()).rowsById[t];
if (!r && (r = e.getCoreRowModel().rowsById[t], !r)) throw Error();
return r;
}
// node_modules/@tanstack/table-core/dist/core/rows/coreRowsFeature.js
-var pCe = {
+var xCe = {
assignRowPrototype: (e, t) => {
- pq("coreRowsFeature", e, t, {
- row_getDisplayIndex: { fn: (e) => eCe(e) },
+ fq("coreRowsFeature", e, t, {
+ row_getDisplayIndex: { fn: (e) => cCe(e) },
row_getAllCellsByColumnId: {
- fn: (e) => uCe(e),
+ fn: (e) => vCe(e),
memoDeps: (e) => [e.getAllCells()]
},
row_getAllCells: {
- fn: (e) => lCe(e),
+ fn: (e) => _Ce(e),
memoDeps: (e) => [e.table.getAllLeafColumns()]
},
row_getLeafRows: {
- fn: (e) => aCe(e),
+ fn: (e) => pCe(e),
memoDeps: (e) => [e.subRows]
},
- row_getParentRow: { fn: (e) => sCe(e) },
- row_getParentRows: { fn: (e) => cCe(e) },
- row_getUniqueValues: { fn: (e, t) => rCe(e, t) },
- row_getValue: { fn: (e, t) => nCe(e, t) },
- row_renderValue: { fn: (e, t) => iCe(e, t) }
+ row_getParentRow: { fn: (e) => hCe(e) },
+ row_getParentRows: { fn: (e) => gCe(e) },
+ row_getUniqueValues: { fn: (e, t) => dCe(e, t) },
+ row_getValue: { fn: (e, t) => uCe(e, t) },
+ row_renderValue: { fn: (e, t) => fCe(e, t) }
});
},
constructTableAPIs: (e) => {
- fq("coreRowsFeature", e, {
+ dq("coreRowsFeature", e, {
table_getRowsInDisplayOrder: {
- fn: () => tCe(e),
+ fn: () => lCe(e),
memoDeps: () => [
e.getPrePaginatedRowModel().rows,
e.options.paginateExpandedRows,
e.options.paginateExpandedRows === !1 ? e.atoms.expanded?.get() : void 0
]
},
- table_getRowId: { fn: (t, n, r) => dCe(t, e, n, r) },
- table_getRow: { fn: (t, n) => fCe(e, t, n) },
+ table_getRowId: { fn: (t, n, r) => yCe(t, e, n, r) },
+ table_getRow: { fn: (t, n) => bCe(e, t, n) },
table_getMaxSubRowDepth: {
- fn: () => oCe(e),
+ fn: () => mCe(e),
memoDeps: () => [e.getCoreRowModel()]
}
});
}
};
// node_modules/@tanstack/table-core/dist/core/table/coreTablesFeature.utils.js
-function Dq(e, t, n = (e, t) => e === t) {
+function Eq(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) {
@@ -59602,13 +59680,13 @@ function Dq(e, t, n = (e, t) => e === t) {
}
});
}
-function Oq(e, t, n = (e, t) => e === t) {
+function Dq(e, t, n = (e, t) => e === t) {
e._reactivity.batch(() => {
- Dq(e, t, n), e._reactivity.commit?.();
+ Eq(e, t, n), e._reactivity.commit?.();
});
}
-function mCe(e) {
- let t = eq(e.initialState);
+function SCe(e) {
+ let t = $K(e.initialState);
e._reactivity.batch(() => {
let n = Object.keys(t);
for (let r = 0; r < n.length; r++) {
@@ -59619,7 +59697,7 @@ function mCe(e) {
let n = Object.values(e._features);
for (let t = 0; t < n.length; t++) n[t].resetTableInstanceData?.(e);
}
-function hCe(e, t) {
+function CCe(e, t) {
let { features: n, atoms: r, initialState: i } = e.options;
if (!e.options.mergeOptions) return {
...e.options,
@@ -59651,26 +59729,26 @@ function hCe(e, t) {
}
});
}
-function kq(e, t, n) {
- let r = hCe(e, $K(t, e.options));
- e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && Oq(e, r.state ?? null);
+function Oq(e, t, n) {
+ let r = CCe(e, QK(t, e.options));
+ e.optionsStore ? e.optionsStore.set(() => r) : e.options = r, n?.syncExternalState !== !1 && Dq(e, r.state ?? null);
}
// node_modules/@tanstack/table-core/dist/core/coreFeatures.js
-var gCe = {
- coreCellsFeature: oSe,
- coreColumnsFeature: SSe,
- coreHeadersFeature: PSe,
- coreRowModelsFeature: ZSe,
- coreRowsFeature: pCe,
+var wCe = {
+ coreCellsFeature: mSe,
+ coreColumnsFeature: ASe,
+ coreHeadersFeature: HSe,
+ coreRowModelsFeature: aCe,
+ coreRowsFeature: xCe,
coreTablesFeature: { constructTableAPIs: (e) => {
- fq("coreTablesFeature", e, {
- table_reset: { fn: () => mCe(e) },
- table_setOptions: { fn: (t) => kq(e, t) }
+ dq("coreTablesFeature", e, {
+ table_reset: { fn: () => SCe(e) },
+ table_setOptions: { fn: (t) => Oq(e, t) }
});
} }
};
// node_modules/@tanstack/table-core/dist/helpers/columnHelper.js
-function Aq() {
+function kq() {
return {
accessor: (e, t) => typeof e == "function" ? {
...t,
@@ -59685,21 +59763,21 @@ function Aq() {
};
}
// node_modules/@tanstack/table-core/dist/helpers/tableFeatures.js
-function jq(e) {
+function Aq(e) {
return e;
}
// node_modules/@tanstack/table-core/dist/core/table/constructTable.js
-function _Ce(e, t = {}) {
+function TCe(e, t = {}) {
return Object.values(e).forEach((e) => {
t = e.getInitialState?.(t) ?? t;
- }), eq(t);
+ }), $K(t);
}
-function vCe(e) {
+function ECe(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: {
- ...gCe,
+ ...wCe,
..._
},
_headerGroupInstanceInitFns: [],
@@ -59737,7 +59815,7 @@ function vCe(e) {
set(e) {
v.optionsStore.set(() => e);
}
- })) : v.options = b, v.initialState = _Ce(v._features, v.options.initialState);
+ })) : v.options = b, v.initialState = TCe(v._features, v.options.initialState);
let x = Object.keys(v.initialState);
for (let e = 0; e < x.length; e++) {
let n = x[e];
@@ -59745,14 +59823,14 @@ function vCe(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 && rq(i, n)) {
+ if (i && nq(i, n)) {
let e = i[n];
return e === void 0 ? v.initialState[n] : e;
}
return r;
}, { debugName: `table/atoms/${n}` });
}
- Dq(v), v.store = Jxe(t.createReadonlyAtom(() => {
+ Eq(v), v.store = nSe(t.createReadonlyAtom(() => {
let e = {};
for (let t = 0; t < x.length; t++) {
let n = x[t];
@@ -59760,7 +59838,7 @@ function vCe(e) {
}
return e;
}, {
- compare: YK,
+ compare: JK,
debugName: "table/store"
}));
for (let e = 0; e < y.length; e++) {
@@ -59770,107 +59848,107 @@ function vCe(e) {
return v;
}
// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.utils.js
-function yCe() {
- return nq();
+function DCe() {
+ return tq();
}
-function Mq(e, t) {
- Pq(e) && Iq(e.table, (n) => {
- let r = Object.assign(nq(), n), i = t ?? !mq(e, "getIsVisible", Nq), a = e.getLeafColumns();
+function jq(e, t) {
+ Nq(e) && Fq(e.table, (n) => {
+ let r = Object.assign(tq(), n), i = t ?? !pq(e, "getIsVisible", Mq), a = e.getLeafColumns();
for (let e = 0; e < a.length; e++) {
let t = a[e];
- Pq(t) && (r[t.id] = i);
+ Nq(t) && (r[t.id] = i);
}
return r;
});
}
-function Nq(e) {
+function Mq(e) {
let t = e.table.atoms.columnVisibility?.get();
if (!t) return !0;
let n = e.columns;
- return n.length ? n.some((e) => mq(e, "getIsVisible", Nq)) : (rq(t, e.id) ? t[e.id] : void 0) ?? !0;
+ return n.length ? n.some((e) => pq(e, "getIsVisible", Mq)) : (nq(t, e.id) ? t[e.id] : void 0) ?? !0;
}
-function Pq(e) {
+function Nq(e) {
return (e.columnDef.enableHiding ?? !0) && (e.table.options.enableHiding ?? !0);
}
-function bCe(e) {
+function OCe(e) {
return (t) => {
- Mq(e, t.target.checked);
+ jq(e, t.target.checked);
};
}
-function xCe(e) {
+function kCe(e) {
let t = e.getAllCells(), n = [];
for (let e = 0; e < t.length; e++) {
let r = t[e];
- mq(r.column, "getIsVisible", Nq) && n.push(r);
+ pq(r.column, "getIsVisible", Mq) && n.push(r);
}
- return _q(e.table, n, (e) => e.column.id, () => mq(e, "getVisibleCellsByColumnId", Fq));
+ return gq(e.table, n, (e) => e.column.id, () => pq(e, "getVisibleCellsByColumnId", Pq));
}
-function Fq(e) {
- let t = nq(), n = e.getAllCells();
+function Pq(e) {
+ let t = tq(), n = e.getAllCells();
for (let e = 0; e < n.length; e++) {
let r = n[e];
- mq(r.column, "getIsVisible", Nq) && (t[r.column.id] = r);
+ pq(r.column, "getIsVisible", Mq) && (t[r.column.id] = r);
}
return t;
}
-function SCe(e) {
- return e.getAllFlatColumns().filter((e) => mq(e, "getIsVisible", Nq));
+function ACe(e) {
+ return e.getAllFlatColumns().filter((e) => pq(e, "getIsVisible", Mq));
}
-function CCe(e) {
- return e.getAllLeafColumns().filter((e) => mq(e, "getIsVisible", Nq));
+function jCe(e) {
+ return e.getAllLeafColumns().filter((e) => pq(e, "getIsVisible", Mq));
}
-function Iq(e, t) {
- cq(e, "columnVisibility", t);
+function Fq(e, t) {
+ sq(e, "columnVisibility", t);
}
-function wCe(e, t) {
- Iq(e, t ? nq() : Object.assign(nq(), eq(e.initialState.columnVisibility ?? {})));
+function MCe(e, t) {
+ Fq(e, t ? tq() : Object.assign(tq(), $K(e.initialState.columnVisibility ?? {})));
}
-function Lq(e, t) {
- t ??= !Rq(e);
- let n = nq(), r = e.getAllLeafColumns();
+function Iq(e, t) {
+ t ??= !Lq(e);
+ let n = tq(), r = e.getAllLeafColumns();
for (let e = 0; e < r.length; e++) {
let i = r[e];
- n[i.id] = t || !Pq(i);
+ n[i.id] = t || !Nq(i);
}
- Iq(e, n);
+ Fq(e, n);
}
-function Rq(e) {
- return !e.getAllLeafColumns().some((e) => !mq(e, "getIsVisible", Nq));
+function Lq(e) {
+ return !e.getAllLeafColumns().some((e) => !pq(e, "getIsVisible", Mq));
}
-function TCe(e) {
- return e.getAllLeafColumns().some((e) => mq(e, "getIsVisible", Nq));
+function NCe(e) {
+ return e.getAllLeafColumns().some((e) => pq(e, "getIsVisible", Mq));
}
-function ECe(e) {
+function PCe(e) {
return (t) => {
- Lq(e, t.target.checked);
+ Iq(e, t.target.checked);
};
}
// node_modules/@tanstack/table-core/dist/features/column-visibility/columnVisibilityFeature.js
-var zq = {
+var Rq = {
getInitialState: (e) => ({
- columnVisibility: yCe(),
+ columnVisibility: DCe(),
...e
}),
- getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: iq("columnVisibility", e) }),
+ getDefaultTableOptions: (e) => ({ onColumnVisibilityChange: rq("columnVisibility", e) }),
assignColumnPrototype: (e, t) => {
- pq("columnVisibilityFeature", e, t, {
+ fq("columnVisibilityFeature", e, t, {
column_getIsVisible: {
- fn: (e) => Nq(e),
+ fn: (e) => Mq(e),
memoDeps: (e) => [
t.options.columns,
t.atoms.columnVisibility?.get(),
e.columns
]
},
- column_getCanHide: { fn: (e) => Pq(e) },
- column_getToggleVisibilityHandler: { fn: (e) => bCe(e) },
- column_toggleVisibility: { fn: (e, t) => Mq(e, t) }
+ column_getCanHide: { fn: (e) => Nq(e) },
+ column_getToggleVisibilityHandler: { fn: (e) => OCe(e) },
+ column_toggleVisibility: { fn: (e, t) => jq(e, t) }
});
},
assignRowPrototype: (e, t) => {
- pq("columnVisibilityFeature", e, t, {
+ fq("columnVisibilityFeature", e, t, {
row_getVisibleCells: {
- fn: (e) => xCe(e),
+ fn: (e) => kCe(e),
memoDeps: (e) => [
e.getAllCells(),
t.atoms.columnPinning?.get(),
@@ -59878,15 +59956,15 @@ var zq = {
]
},
row_getVisibleCellsByColumnId: {
- fn: (e) => Fq(e),
+ fn: (e) => Pq(e),
memoDeps: (e) => [e.getAllCells(), t.atoms.columnVisibility?.get()]
}
});
},
constructTableAPIs: (e) => {
- fq("columnVisibilityFeature", e, {
+ dq("columnVisibilityFeature", e, {
table_getVisibleFlatColumns: {
- fn: () => SCe(e),
+ fn: () => ACe(e),
memoDeps: () => [
e.atoms.columnVisibility?.get(),
e.atoms.columnOrder?.get(),
@@ -59896,7 +59974,7 @@ var zq = {
]
},
table_getVisibleLeafColumns: {
- fn: () => CCe(e),
+ fn: () => jCe(e),
memoDeps: () => [
e.atoms.columnVisibility?.get(),
e.atoms.columnOrder?.get(),
@@ -59905,51 +59983,51 @@ var zq = {
e.options.groupedColumnMode
]
},
- table_setColumnVisibility: { fn: (t) => Iq(e, t) },
- table_resetColumnVisibility: { fn: (t) => wCe(e, t) },
- table_toggleAllColumnsVisible: { fn: (t) => Lq(e, t) },
- table_getIsAllColumnsVisible: { fn: () => Rq(e) },
- table_getIsSomeColumnsVisible: { fn: () => TCe(e) },
- table_getToggleAllColumnsVisibilityHandler: { fn: () => ECe(e) }
+ table_setColumnVisibility: { fn: (t) => Fq(e, t) },
+ table_resetColumnVisibility: { fn: (t) => MCe(e, t) },
+ table_toggleAllColumnsVisible: { fn: (t) => Iq(e, t) },
+ table_getIsAllColumnsVisible: { fn: () => Lq(e) },
+ table_getIsSomeColumnsVisible: { fn: () => NCe(e) },
+ table_getToggleAllColumnsVisibilityHandler: { fn: () => PCe(e) }
});
}
-}, Bq = 0, Vq = 10;
-function Hq() {
+}, zq = 0, Bq = 10;
+function Vq() {
return {
- pageIndex: Bq,
- pageSize: Vq
+ pageIndex: zq,
+ pageSize: Bq
};
}
-function DCe(e) {
+function FCe(e) {
if (e.options.autoResetAll ?? e.options.autoResetPageIndex ?? !e.options.manualPagination) {
- if ((e.atoms.pagination?.get()?.pageIndex ?? Bq) === Bq) return;
- Gq(e, !0);
+ if ((e.atoms.pagination?.get()?.pageIndex ?? zq) === zq) return;
+ Wq(e, !0);
}
}
-function Uq(e, t) {
- cq(e, "pagination", t);
+function Hq(e, t) {
+ sq(e, "pagination", t);
}
-function OCe(e, t) {
- Uq(e, t ? Hq() : eq(e.initialState.pagination ?? Hq()));
+function ICe(e, t) {
+ Hq(e, t ? Vq() : $K(e.initialState.pagination ?? Vq()));
}
-function Wq(e, t) {
- Uq(e, (n) => {
- let r = $K(t, n.pageIndex), i = e.options.pageCount === void 0 || e.options.pageCount === -1 ? 2 ** 53 - 1 : e.options.pageCount - 1;
+function Uq(e, t) {
+ Hq(e, (n) => {
+ let r = QK(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 Gq(e, t) {
- Wq(e, t ? Bq : e.initialState.pagination?.pageIndex ?? Bq);
+function Wq(e, t) {
+ Uq(e, t ? zq : e.initialState.pagination?.pageIndex ?? zq);
}
-function kCe(e, t) {
- Kq(e, t ? Vq : e.initialState.pagination?.pageSize ?? Vq);
+function LCe(e, t) {
+ Gq(e, t ? Bq : e.initialState.pagination?.pageSize ?? Bq);
}
-function Kq(e, t) {
- Uq(e, (e) => {
- let n = Math.max(1, $K(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);
+function Gq(e, t) {
+ Hq(e, (e) => {
+ let n = Math.max(1, QK(t, e.pageSize)), r = e.pageSize === Infinity ? 0 : e.pageSize * e.pageIndex, i = n === Infinity ? 0 : Math.floor(r / n);
return {
...e,
pageIndex: i,
@@ -59957,231 +60035,231 @@ function Kq(e, t) {
};
});
}
-function ACe(e) {
- let t = qq(e), n = [];
+function RCe(e) {
+ let t = Kq(e), n = [];
return t && t > 0 && (n = [...Array(t)].fill(null).map((e, t) => t)), n;
}
-function jCe(e) {
+function zCe(e) {
return (e.atoms.pagination?.get()?.pageIndex ?? 0) > 0;
}
-function MCe(e) {
- let t = e.atoms.pagination?.get()?.pageIndex ?? Bq, n = qq(e);
+function BCe(e) {
+ let t = e.atoms.pagination?.get()?.pageIndex ?? zq, n = Kq(e);
return n === -1 || n !== 0 && t < n - 1;
}
-function NCe(e) {
- let t = e.atoms.pagination?.get()?.pageIndex ?? Bq, n = qq(e);
+function VCe(e) {
+ let t = e.atoms.pagination?.get()?.pageIndex ?? zq, n = Kq(e);
return Number.isFinite(n) && n > 0 && t < n - 1;
}
-function PCe(e) {
- return Wq(e, (e) => e - 1);
+function HCe(e) {
+ return Uq(e, (e) => e - 1);
}
-function FCe(e) {
- return Wq(e, (e) => e + 1);
+function UCe(e) {
+ return Uq(e, (e) => e + 1);
}
-function ICe(e) {
- return Wq(e, 0);
+function WCe(e) {
+ return Uq(e, 0);
}
-function LCe(e) {
- let t = qq(e);
- if (!(!Number.isFinite(t) || t <= 0)) return Wq(e, t - 1);
+function GCe(e) {
+ let t = Kq(e);
+ if (!(!Number.isFinite(t) || t <= 0)) return Uq(e, t - 1);
}
-function qq(e) {
+function Kq(e) {
let t = e.options.pageCount;
if (t != null) return t;
- let n = Jq(e), r = e.atoms.pagination?.get()?.pageSize ?? Vq;
+ let n = qq(e), r = e.atoms.pagination?.get()?.pageSize ?? Bq;
return r === Infinity && Number.isFinite(n) && n > 0 ? 1 : Math.ceil(n / r);
}
-function Jq(e) {
+function qq(e) {
return e.options.rowCount ?? e.getPrePaginatedRowModel().rows.length;
}
// node_modules/@tanstack/table-core/dist/features/row-pagination/rowPaginationFeature.js
-var Yq = {
+var Jq = {
getInitialState: (e) => ({
...e,
pagination: {
- ...Hq(),
+ ...Vq(),
...e.pagination
}
}),
- getDefaultTableOptions: (e) => ({ onPaginationChange: iq("pagination", e) }),
+ getDefaultTableOptions: (e) => ({ onPaginationChange: rq("pagination", e) }),
constructTableAPIs: (e) => {
- fq("rowPaginationFeature", e, {
- table_autoResetPageIndex: { fn: () => DCe(e) },
- table_setPagination: { fn: (t) => Uq(e, t) },
- table_resetPagination: { fn: (t) => OCe(e, t) },
- table_setPageIndex: { fn: (t) => Wq(e, t) },
- table_resetPageIndex: { fn: (t) => Gq(e, t) },
- table_setPageSize: { fn: (t) => Kq(e, t) },
- table_getPageCount: { fn: () => qq(e) },
- table_resetPageSize: { fn: (t) => kCe(e, t) },
- table_getPageOptions: { fn: () => ACe(e) },
- table_getCanPreviousPage: { fn: () => jCe(e) },
- table_getCanNextPage: { fn: () => MCe(e) },
- table_getCanLastPage: { fn: () => NCe(e) },
- table_previousPage: { fn: () => PCe(e) },
- table_nextPage: { fn: () => FCe(e) },
- table_firstPage: { fn: () => ICe(e) },
- table_lastPage: { fn: () => LCe(e) },
- table_getRowCount: { fn: () => Jq(e) }
+ dq("rowPaginationFeature", e, {
+ table_autoResetPageIndex: { fn: () => FCe(e) },
+ table_setPagination: { fn: (t) => Hq(e, t) },
+ table_resetPagination: { fn: (t) => ICe(e, t) },
+ table_setPageIndex: { fn: (t) => Uq(e, t) },
+ table_resetPageIndex: { fn: (t) => Wq(e, t) },
+ table_setPageSize: { fn: (t) => Gq(e, t) },
+ table_getPageCount: { fn: () => Kq(e) },
+ table_resetPageSize: { fn: (t) => LCe(e, t) },
+ table_getPageOptions: { fn: () => RCe(e) },
+ table_getCanPreviousPage: { fn: () => zCe(e) },
+ table_getCanNextPage: { fn: () => BCe(e) },
+ table_getCanLastPage: { fn: () => VCe(e) },
+ table_previousPage: { fn: () => HCe(e) },
+ table_nextPage: { fn: () => UCe(e) },
+ table_firstPage: { fn: () => WCe(e) },
+ table_lastPage: { fn: () => GCe(e) },
+ table_getRowCount: { fn: () => qq(e) }
});
}
};
// node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.utils.js
-function RCe() {
- return nq();
+function KCe() {
+ return tq();
}
-function Xq(e, t) {
+function Yq(e, t) {
e.options.onRowSelectionChange?.(t);
}
-function zCe(e, t) {
- e._lastSelectedRowId = null, Xq(e, t ? nq() : Object.assign(nq(), eq(e.initialState.rowSelection ?? {})));
+function qCe(e, t) {
+ e._lastSelectedRowId = null, Yq(e, t ? tq() : Object.assign(tq(), $K(e.initialState.rowSelection ?? {})));
}
-function Zq(e, t, n) {
- e._lastSelectedRowId = null, Xq(e, (r) => {
- if (t = t === void 0 ? !mq(e, "getIsAllRowsSelected", eJ) : t, n?.deselectAll && !t) return nq();
- let i = Object.assign(nq(), r), a = e.getPreGroupedRowModel().flatRows;
+function Xq(e, t, n) {
+ e._lastSelectedRowId = null, Yq(e, (r) => {
+ if (t = t === void 0 ? !pq(e, "getIsAllRowsSelected", $q) : t, n?.deselectAll && !t) return tq();
+ let i = Object.assign(tq(), r), a = e.getPreGroupedRowModel().flatRows;
if (t) {
let e = /* @__PURE__ */ new Map();
a.forEach((t) => {
- uJ(t, e) && (i[t.id] = !0);
+ lJ(t, e) && (i[t.id] = !0);
});
} else a.forEach((e) => {
- oJ(e) && delete i[e.id];
+ aJ(e) && delete i[e.id];
});
return i;
});
}
-function Qq(e, t, n) {
- e._lastSelectedRowId = null, Xq(e, (r) => {
- let i = t === void 0 ? !mq(e, "getIsAllPageRowsSelected", tJ) : t;
- if (n?.deselectAll && !i) return nq();
- let a = Object.assign(nq(), r);
+function Zq(e, t, n) {
+ e._lastSelectedRowId = null, Yq(e, (r) => {
+ let i = t === void 0 ? !pq(e, "getIsAllPageRowsSelected", eJ) : t;
+ if (n?.deselectAll && !i) return tq();
+ let a = Object.assign(tq(), r);
return e.getRowModel().rows.forEach((t) => {
- lJ(a, t.id, i, !0, e, !0);
+ cJ(a, t.id, i, !0, e, !0);
}), a;
});
}
-function BCe(e) {
+function JCe(e) {
return e.getCoreRowModel();
}
-function VCe(e) {
+function YCe(e) {
let t = e.getCoreRowModel();
- return mq(e, "getIsSomeRowsSelected", nJ) ? pJ(t, e) : {
+ return pq(e, "getIsSomeRowsSelected", tJ) ? fJ(t, e) : {
rows: [],
flatRows: [],
- rowsById: nq()
+ rowsById: tq()
};
}
-function HCe(e) {
+function XCe(e) {
let t = e.getFilteredRowModel();
- return mq(e, "getIsSomeRowsSelected", nJ) ? pJ(t, e) : {
+ return pq(e, "getIsSomeRowsSelected", tJ) ? fJ(t, e) : {
rows: [],
flatRows: [],
- rowsById: nq()
+ rowsById: tq()
};
}
-function UCe(e) {
+function ZCe(e) {
let t = e.getSortedRowModel();
- return mq(e, "getIsSomeRowsSelected", nJ) ? pJ(t, e) : {
+ return pq(e, "getIsSomeRowsSelected", tJ) ? fJ(t, e) : {
rows: [],
flatRows: [],
- rowsById: nq()
+ rowsById: tq()
};
}
-function $q(e) {
+function Qq(e) {
return Object.keys(e.atoms.rowSelection?.get() ?? {});
}
-function eJ(e) {
+function $q(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) => !mJ(t, n) && uJ(t, e)) && (r = !1);
+ t.some((t) => !pJ(t, n) && lJ(t, e)) && (r = !1);
}
return r;
}
-function tJ(e) {
+function eJ(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 (mJ(a, n)) !i && uJ(a, r) && (i = !0);
- else if (uJ(a, r)) return !1;
+ if (pJ(a, n)) !i && lJ(a, r) && (i = !0);
+ else if (lJ(a, r)) return !1;
}
return i;
}
-function nJ(e) {
- return mq(e, "getSelectedRowIds", $q).length > 0;
+function tJ(e) {
+ return pq(e, "getSelectedRowIds", Qq).length > 0;
}
-function WCe(e) {
- return e.getPaginatedRowModel().flatRows.filter((e) => oJ(e)).some((e) => iJ(e) || mq(e, "getIsSomeSelected", aJ));
+function QCe(e) {
+ return e.getPaginatedRowModel().flatRows.filter((e) => aJ(e)).some((e) => rJ(e) || pq(e, "getIsSomeSelected", iJ));
}
-function GCe(e) {
+function $Ce(e) {
return (t) => {
- Zq(e, t.target.checked);
+ Xq(e, t.target.checked);
};
}
-function KCe(e) {
+function ewe(e) {
return (t) => {
- Qq(e, t.target.checked);
+ Zq(e, t.target.checked);
};
}
-function rJ(e, t, n) {
- let r = iJ(e);
- Xq(e.table, (i) => {
+function nJ(e, t, n) {
+ let r = rJ(e);
+ Yq(e.table, (i) => {
t = t === void 0 ? !r : t;
- let a = Object.assign(nq(), i);
- return lJ(a, e.id, t, (n?.selectChildren ?? !0) && cJ(e), e.table), !t && n?.deselectParents && dJ(a, e), a;
+ let a = Object.assign(tq(), i);
+ return cJ(a, e.id, t, (n?.selectChildren ?? !0) && sJ(e), e.table), !t && n?.deselectParents && uJ(a, e), a;
});
}
-function iJ(e) {
- return mJ(e, e.table.atoms.rowSelection?.get() ?? {});
+function rJ(e) {
+ return pJ(e, e.table.atoms.rowSelection?.get() ?? {});
}
-function aJ(e) {
- return hJ(e) === "some";
+function iJ(e) {
+ return mJ(e) === "some";
}
-function qCe(e) {
- return hJ(e) === "all";
+function twe(e) {
+ return mJ(e) === "all";
}
-function oJ(e) {
+function aJ(e) {
let t = e.table.options;
return typeof t.enableRowSelection == "function" ? t.enableRowSelection(e) : t.enableRowSelection ?? !0;
}
-function sJ(e) {
+function oJ(e) {
let t = e.table.options;
return typeof t.enableSubRowSelection == "function" ? t.enableSubRowSelection(e) : t.enableSubRowSelection ?? !0;
}
-function cJ(e) {
+function sJ(e) {
let t = e.table.options;
return typeof t.enableMultiRowSelection == "function" ? t.enableMultiRowSelection(e) : t.enableMultiRowSelection ?? !0;
}
-function JCe(e, t) {
- let n = oJ(e);
+function nwe(e, t) {
+ let n = aJ(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 && cJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1) && YCe(e, s, o, t) || rJ(e, o, t), a._lastSelectedRowId = e.id;
+ a.options.enableRowRangeSelection !== !1 && s !== null && sJ(e) && (a.options.isRowRangeSelectionEvent?.(r) ?? !1) && rwe(e, s, o, t) || nJ(e, o, t), a._lastSelectedRowId = e.id;
};
}
-function YCe(e, t, n, r) {
+function rwe(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 || !cJ(s) || !cJ(e)) return !1;
+ if (c < 0 || l < 0 || c >= o.length || l >= o.length || u?.id !== s.id || d?.id !== e.id || !sJ(s) || !sJ(e)) return !1;
let f = Math.min(c, l), p = Math.max(c, l);
- return Xq(a, (e) => {
- let t = Object.assign(nq(), e);
+ return Yq(a, (e) => {
+ let t = Object.assign(tq(), e);
for (let e = f; e <= p; e++) {
let s = o[e];
- oJ(s) && cJ(s) && (lJ(t, s.id, n, i, a), !n && r?.deselectParents && dJ(t, s));
+ aJ(s) && sJ(s) && (cJ(t, s.id, n, i, a), !n && r?.deselectParents && uJ(t, s));
}
return t;
}), !0;
}
-function lJ(e, t, n, r, i, a) {
+function cJ(e, t, n, r, i, a) {
let o = i.getRow(t, !0);
- n ? (cJ(o) || Object.keys(e).forEach((t) => delete e[t]), oJ(o) && (e[t] = !0)) : (!a || oJ(o)) && delete e[t], r && o.subRows.length && sJ(o) && o.subRows.forEach((t) => lJ(e, t.id, n, r, i, a));
+ n ? (sJ(o) || Object.keys(e).forEach((t) => delete e[t]), aJ(o) && (e[t] = !0)) : (!a || aJ(o)) && delete e[t], r && o.subRows.length && oJ(o) && o.subRows.forEach((t) => cJ(e, t.id, n, r, i, a));
}
-function uJ(e, t) {
- if (!oJ(e)) return !1;
+function lJ(e, t) {
+ if (!aJ(e)) return !1;
let n = e.table;
if (n.options.enableSubRowSelection === !0) return !0;
let r = e.parentId;
@@ -60197,7 +60275,7 @@ function uJ(e, t) {
}
o.push(c);
let r = a[c] ?? n.getRow(c, !0);
- if (!sJ(r)) {
+ if (!oJ(r)) {
s = !1;
break;
}
@@ -60205,50 +60283,50 @@ function uJ(e, t) {
}
return o.forEach((e) => t.set(e, s)), s;
}
-function dJ(e, t) {
+function uJ(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 fJ(e, t, n, r) {
+function dJ(e, t, n, r) {
let i = [];
for (let a = 0; a < e.length; a++) {
- let o = e[a], s = mJ(o, t);
+ let o = e[a], s = pJ(o, t);
if (s && (n.push(o), r[o.id] = o), o.subRows.length) {
- let e = fJ(o.subRows, t, n, r);
+ let e = dJ(o.subRows, t, n, r);
if (s) {
let t = Object.create(Object.getPrototypeOf(o));
- tq(t, o), t.subRows = e, i.push(t);
+ eq(t, o), t.subRows = e, i.push(t);
}
} else s && i.push(o);
}
return i;
}
-function pJ(e, t) {
- let n = [], r = nq(), i = t.atoms.rowSelection?.get() ?? {};
+function fJ(e, t) {
+ let n = [], r = tq(), i = t.atoms.rowSelection?.get() ?? {};
return {
- rows: fJ(e.rows, i, n, r),
+ rows: dJ(e.rows, i, n, r),
flatRows: n,
rowsById: r
};
}
-function mJ(e, t) {
- return !!(rq(t, e.id) && t[e.id]);
+function pJ(e, t) {
+ return !!(nq(t, e.id) && t[e.id]);
}
-function hJ(e) {
+function mJ(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 (oJ(o) && (i = !0, mJ(o, t) ? n = !0 : r = !1), o.subRows.length) {
- let e = hJ(o);
+ if (aJ(o) && (i = !0, pJ(o, t) ? n = !0 : r = !1), o.subRows.length) {
+ let e = mJ(o);
e === "all" ? (n = !0, i = !0) : e === "some" ? (n = !0, r = !1, i = !0) : r = !1;
}
}
return i ? r ? "all" : n ? "some" : !1 : !1;
}
// node_modules/@tanstack/table-core/dist/features/row-selection/rowSelectionFeature.js
-var gJ = {
+var hJ = {
initTableInstanceData: (e) => {
e._lastSelectedRowId = null;
},
@@ -60256,11 +60334,11 @@ var gJ = {
e._lastSelectedRowId = null;
},
getInitialState: (e) => ({
- rowSelection: RCe(),
+ rowSelection: KCe(),
...e
}),
getDefaultTableOptions: (e) => ({
- onRowSelectionChange: iq("rowSelection", e),
+ onRowSelectionChange: rq("rowSelection", e),
enableRowSelection: !0,
enableMultiRowSelection: !0,
enableRowRangeSelection: !0,
@@ -60271,11 +60349,11 @@ var gJ = {
}
}),
assignRowPrototype: (e, t) => {
- pq("rowSelectionFeature", e, t, {
- row_toggleSelected: { fn: (e, t, n) => rJ(e, t, n) },
- row_getIsSelected: { fn: (e) => iJ(e) },
+ fq("rowSelectionFeature", e, t, {
+ row_toggleSelected: { fn: (e, t, n) => nJ(e, t, n) },
+ row_getIsSelected: { fn: (e) => rJ(e) },
row_getIsSomeSelected: {
- fn: (e) => aJ(e),
+ fn: (e) => iJ(e),
memoDeps: (e) => [
e.subRows,
e.table.atoms.rowSelection?.get(),
@@ -60283,44 +60361,44 @@ var gJ = {
]
},
row_getIsAllSubRowsSelected: {
- fn: (e) => qCe(e),
+ fn: (e) => twe(e),
memoDeps: (e) => [
e.subRows,
e.table.atoms.rowSelection?.get(),
e.table.options.enableRowSelection
]
},
- row_getCanSelect: { fn: (e) => oJ(e) },
- row_getCanSelectSubRows: { fn: (e) => sJ(e) },
- row_getCanMultiSelect: { fn: (e) => cJ(e) },
- row_getToggleSelectedHandler: { fn: (e, t) => JCe(e, t) }
+ row_getCanSelect: { fn: (e) => aJ(e) },
+ row_getCanSelectSubRows: { fn: (e) => oJ(e) },
+ row_getCanMultiSelect: { fn: (e) => sJ(e) },
+ row_getToggleSelectedHandler: { fn: (e, t) => nwe(e, t) }
});
},
constructTableAPIs: (e) => {
- fq("rowSelectionFeature", e, {
- table_setRowSelection: { fn: (t) => Xq(e, t) },
- table_resetRowSelection: { fn: (t) => zCe(e, t) },
- table_toggleAllRowsSelected: { fn: (t, n) => Zq(e, t, n) },
- table_toggleAllPageRowsSelected: { fn: (t, n) => Qq(e, t, n) },
- table_getPreSelectedRowModel: { fn: () => BCe(e) },
+ dq("rowSelectionFeature", e, {
+ table_setRowSelection: { fn: (t) => Yq(e, t) },
+ table_resetRowSelection: { fn: (t) => qCe(e, t) },
+ table_toggleAllRowsSelected: { fn: (t, n) => Xq(e, t, n) },
+ table_toggleAllPageRowsSelected: { fn: (t, n) => Zq(e, t, n) },
+ table_getPreSelectedRowModel: { fn: () => JCe(e) },
table_getSelectedRowModel: {
- fn: () => VCe(e),
+ fn: () => YCe(e),
memoDeps: () => [e.atoms.rowSelection?.get(), e.getCoreRowModel()]
},
table_getFilteredSelectedRowModel: {
- fn: () => HCe(e),
+ fn: () => XCe(e),
memoDeps: () => [e.atoms.rowSelection?.get(), e.getFilteredRowModel()]
},
table_getGroupedSelectedRowModel: {
- fn: () => UCe(e),
+ fn: () => ZCe(e),
memoDeps: () => [e.atoms.rowSelection?.get(), e.getSortedRowModel()]
},
table_getSelectedRowIds: {
- fn: () => $q(e),
+ fn: () => Qq(e),
memoDeps: () => [e.atoms.rowSelection?.get()]
},
table_getIsAllRowsSelected: {
- fn: () => eJ(e),
+ fn: () => $q(e),
memoDeps: () => [
e.atoms.rowSelection?.get(),
e.getFilteredRowModel(),
@@ -60329,7 +60407,7 @@ var gJ = {
]
},
table_getIsAllPageRowsSelected: {
- fn: () => tJ(e),
+ fn: () => eJ(e),
memoDeps: () => [
e.atoms.rowSelection?.get(),
e.getPaginatedRowModel(),
@@ -60338,48 +60416,48 @@ var gJ = {
]
},
table_getIsSomeRowsSelected: {
- fn: () => nJ(e),
+ fn: () => tJ(e),
memoDeps: () => [e.atoms.rowSelection?.get()]
},
table_getIsSomePageRowsSelected: {
- fn: () => WCe(e),
+ fn: () => QCe(e),
memoDeps: () => [
e.atoms.rowSelection?.get(),
e.getPaginatedRowModel(),
e.options.enableRowSelection
]
},
- table_getToggleAllRowsSelectedHandler: { fn: () => GCe(e) },
- table_getToggleAllPageRowsSelectedHandler: { fn: () => KCe(e) }
+ table_getToggleAllRowsSelectedHandler: { fn: () => $Ce(e) },
+ table_getToggleAllPageRowsSelectedHandler: { fn: () => ewe(e) }
});
}
-}, XCe = /([0-9]+)/gm;
+}, iwe = /([0-9]+)/gm;
/* @__NO_SIDE_EFFECTS__ */
-function ZCe(e) {
+function awe(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 _J = /* @__PURE__ */ ZCe({ sort: (e, t) => QCe(e, t) });
-function QCe(e, t) {
+var gJ = /* @__PURE__ */ awe({ sort: (e, t) => owe(e, t) });
+function owe(e, t) {
return e === t ? 0 : e > t ? 1 : -1;
}
// node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.utils.js
-function $Ce() {
+function swe() {
return [];
}
+function _J(e, t) {
+ sq(e, "sorting", t);
+}
function vJ(e, t) {
- cq(e, "sorting", t);
+ _J(e, t ? [] : $K(e.initialState.sorting ?? []));
}
-function yJ(e, t) {
- vJ(e, t ? [] : eq(e.initialState.sorting ?? []));
+function cwe(e) {
+ e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && vJ(e);
}
-function ewe(e) {
- e.atoms.sorting && (e.options.autoResetAll ?? e.options.autoResetSorting ?? !1) && yJ(e);
-}
-function bJ(e) {
+function yJ(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);
@@ -60387,7 +60465,7 @@ function bJ(e) {
r = "datetime";
break;
}
- if (typeof a == "string" && (i = !0, a.split(XCe).length > 1)) {
+ if (typeof a == "string" && (i = !0, a.split(iwe).length > 1)) {
r = "alphanumeric";
break;
}
@@ -60396,9 +60474,9 @@ function bJ(e) {
let e = t?.[r];
if (e || r === "alphanumeric" && (e = t?.text), e) return e;
}
- return _J;
+ return gJ;
}
-function xJ(e) {
+function bJ(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);
@@ -60406,14 +60484,14 @@ function xJ(e) {
}
return "desc";
}
-function SJ(e) {
+function xJ(e) {
let t = e.table._rowModelFns.sortFns;
- return eSe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? bJ(e) : t?.[e.columnDef.sortFn] ?? _J;
+ return cSe(e.columnDef.sortFn) ? e.columnDef.sortFn : e.columnDef.sortFn === "auto" ? yJ(e) : t?.[e.columnDef.sortFn] ?? gJ;
}
-function CJ(e, t, n) {
- let r = TJ(e, n && DJ(e)), i = t !== void 0;
- vJ(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 && DJ(e) && n);
+function SJ(e, t, n) {
+ let r = wJ(e, n && EJ(e)), i = t !== void 0;
+ _J(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 && EJ(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
@@ -60429,40 +60507,40 @@ function CJ(e, t, n) {
}], c;
});
}
-function wJ(e) {
- return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? xJ(e) === "desc" ? "desc" : "asc";
+function CJ(e) {
+ return e.columnDef.sortDescFirst ?? e.table.options.sortDescFirst ?? bJ(e) === "desc" ? "desc" : "asc";
}
-function TJ(e, t) {
- let n = wJ(e), r = OJ(e);
+function wJ(e, t) {
+ let n = CJ(e), r = DJ(e);
return r ? r !== n && (e.table.options.enableSortingRemoval ?? !0) && (!t || (e.table.options.enableMultiRemove ?? !0)) ? !1 : r === "desc" ? "asc" : "desc" : n;
}
-function EJ(e) {
+function TJ(e) {
return (e.columnDef.enableSorting ?? !0) && (e.table.options.enableSorting ?? !0) && !!e.accessorFn;
}
-function DJ(e) {
+function EJ(e) {
return e.columnDef.enableMultiSort ?? e.table.options.enableMultiSort ?? !!e.accessorFn;
}
-function OJ(e) {
+function DJ(e) {
let t = e.table.atoms.sorting?.get()?.find((t) => t.id === e.id);
return t ? t.desc ? "desc" : "asc" : !1;
}
-function twe(e) {
+function lwe(e) {
return e.table.atoms.sorting?.get()?.findIndex((t) => t.id === e.id) ?? -1;
}
-function nwe(e) {
- vJ(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);
+function uwe(e) {
+ _J(e.table, (t) => t.length ? t.filter((t) => t.id !== e.id) : []);
}
-function rwe(e) {
- let t = EJ(e);
+function dwe(e) {
+ let t = TJ(e);
return (n) => {
- t && CJ(e, void 0, DJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);
+ t && SJ(e, void 0, EJ(e) ? e.table.options.isMultiSortEvent?.(n) : !1);
};
}
// node_modules/@tanstack/table-core/dist/features/row-sorting/rowSortingFeature.js
-var kJ = {
+var OJ = {
getInitialState(e) {
return {
- sorting: $Ce(),
+ sorting: swe(),
...e
};
},
@@ -60475,58 +60553,58 @@ var kJ = {
getDefaultTableOptions(e) {
return {
autoResetSorting: !1,
- onSortingChange: iq("sorting", e),
+ onSortingChange: rq("sorting", e),
isMultiSortEvent: (e) => e.shiftKey
};
},
assignColumnPrototype(e, t) {
- pq("rowSortingFeature", e, t, {
- column_getAutoSortFn: { fn: (e) => bJ(e) },
- column_getAutoSortDir: { fn: (e) => xJ(e) },
- column_getSortFn: { fn: (e) => SJ(e) },
- column_toggleSorting: { fn: (e, t, n) => CJ(e, t, n) },
- column_getFirstSortDir: { fn: (e) => wJ(e) },
- column_getNextSortingOrder: { fn: (e, t) => TJ(e, t) },
- column_getCanSort: { fn: (e) => EJ(e) },
- column_getCanMultiSort: { fn: (e) => DJ(e) },
- column_getIsSorted: { fn: (e) => OJ(e) },
- column_getSortIndex: { fn: (e) => twe(e) },
- column_clearSorting: { fn: (e) => nwe(e) },
- column_getToggleSortingHandler: { fn: (e) => rwe(e) }
+ fq("rowSortingFeature", e, t, {
+ column_getAutoSortFn: { fn: (e) => yJ(e) },
+ column_getAutoSortDir: { fn: (e) => bJ(e) },
+ column_getSortFn: { fn: (e) => xJ(e) },
+ column_toggleSorting: { fn: (e, t, n) => SJ(e, t, n) },
+ column_getFirstSortDir: { fn: (e) => CJ(e) },
+ column_getNextSortingOrder: { fn: (e, t) => wJ(e, t) },
+ column_getCanSort: { fn: (e) => TJ(e) },
+ column_getCanMultiSort: { fn: (e) => EJ(e) },
+ column_getIsSorted: { fn: (e) => DJ(e) },
+ column_getSortIndex: { fn: (e) => lwe(e) },
+ column_clearSorting: { fn: (e) => uwe(e) },
+ column_getToggleSortingHandler: { fn: (e) => dwe(e) }
});
},
constructTableAPIs(e) {
- fq("rowSortingFeature", e, {
- table_autoResetSorting: { fn: () => ewe(e) },
- table_setSorting: { fn: (t) => vJ(e, t) },
- table_resetSorting: { fn: (t) => yJ(e, t) }
+ dq("rowSortingFeature", e, {
+ table_autoResetSorting: { fn: () => cwe(e) },
+ table_setSorting: { fn: (t) => _J(e, t) },
+ table_resetSorting: { fn: (t) => vJ(e, t) }
});
}
-}, iwe = typeof window > "u" ? F.useEffect : F.useLayoutEffect;
-function AJ(e, t) {
+}, fwe = typeof window > "u" ? F.useEffect : F.useLayoutEffect;
+function kJ(e, t) {
let [{ table: n, rootSource: r }] = (0, F.useState)(() => {
- let t = vCe({
+ let t = ECe({
...e,
features: {
- coreReactivityFeature: Zxe(),
+ coreReactivityFeature: aSe(),
...e.features
}
});
- return t.Subscribe = ((e) => qxe({
+ return t.Subscribe = ((e) => tSe({
...e,
source: e.source ?? t.store
- })), t.FlexRender = Ixe, {
+ })), t.FlexRender = Wxe, {
table: t,
- rootSource: Xxe(t.store, YK)
+ rootSource: iSe(t.store, JK)
};
}), i = n;
- kq(i, (t) => ({
+ Oq(i, (t) => ({
...t,
...e
}), { syncExternalState: !1 });
- let a = i.options.state, o = r.get(), s = QK(r, t, { compare: YK });
- return iwe(() => {
- r.markCommitted(o), Oq(i, a ?? null, YK);
+ let a = i.options.state, o = r.get(), s = ZK(r, t, { compare: JK });
+ return fwe(() => {
+ r.markCommitted(o), Dq(i, a ?? null, JK);
}), (0, F.useMemo)(() => ({
...n,
options: e,
@@ -60538,10 +60616,10 @@ function AJ(e, t) {
]);
}
// src/react/boardui/components/base/table/table.tsx
-function jJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
+function AJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
className: q("w-full overflow-x-auto", n),
- children: /* @__PURE__ */ (0, I.jsx)(rhe, {
+ children: /* @__PURE__ */ (0, I.jsx)(dhe, {
ref: r,
...i,
className: q("bui-table", e === "sm" && "bui-table-sm", t)
@@ -60549,7 +60627,7 @@ function jJ({ size: e = "md", className: t, containerClassName: n, ref: r, ...i
});
}
// src/react/catalog-grid/catalog-table-columns.ts
-var MJ = "peach.catalog-column-widths.v1", NJ = "peach.catalog-column-visibility.v1", awe = {
+var jJ = "peach.catalog-column-widths.v1", MJ = "peach.catalog-column-visibility.v1", pwe = {
select: {
width: 48,
min: 48,
@@ -60625,14 +60703,14 @@ var MJ = "peach.catalog-column-widths.v1", NJ = "peach.catalog-column-visibility
min: 112,
max: 400
}
-}, owe = {
+}, mwe = {
release: !1,
played: !1,
o: !1,
resolution: !1,
size: !1,
code: !1
-}, swe = {
+}, hwe = {
select: "选择",
name: "作品",
dur: "时长",
@@ -60648,7 +60726,7 @@ var MJ = "peach.catalog-column-widths.v1", NJ = "peach.catalog-column-visibility
tags: "标签",
library: "媒体库",
people: "艺人"
-}, PJ = [
+}, NJ = [
"select",
"name",
"people",
@@ -60666,13 +60744,13 @@ var MJ = "peach.catalog-column-widths.v1", NJ = "peach.catalog-column-visibility
"code"
].map((e) => ({
id: e,
- label: swe[e],
- ...awe[e],
+ label: hwe[e],
+ ...pwe[e],
flex: e === "name",
required: e === "select" || e === "name",
- visible: owe[e] !== !1
+ visible: mwe[e] !== !1
}));
-function FJ(e) {
+function PJ(e) {
try {
let t = JSON.parse(localStorage.getItem(e) || "{}");
return t && typeof t == "object" && !Array.isArray(t) ? t : {};
@@ -60680,11 +60758,11 @@ function FJ(e) {
return {};
}
}
-function cwe() {
- return IJ(PJ, MJ, NJ);
+function gwe() {
+ return FJ(NJ, jJ, MJ);
}
-function IJ(e, t, n) {
- let r = FJ(t), i = FJ(n);
+function FJ(e, t, n) {
+ let r = PJ(t), i = PJ(n);
return e.filter((e) => e.id !== "select" && (e.required || (typeof i[e.id] == "boolean" ? i[e.id] === !0 : e.visible))).map((e) => {
let t = r[e.id], n = typeof t == "number" && Number.isFinite(t) && !(e.flex && t === e.width);
return {
@@ -60696,43 +60774,43 @@ function IJ(e, t, n) {
});
}
// src/react/library-processing/completion-row.ts
-var LJ = "peach.catalog.completion-row";
-function RJ() {
+var IJ = "peach.catalog.completion-row";
+function LJ() {
try {
- return localStorage.getItem(LJ) === "1";
+ return localStorage.getItem(IJ) === "1";
} catch {
return !1;
}
}
-function lwe(e) {
+function _we(e) {
try {
- e ? localStorage.setItem(LJ, "1") : localStorage.removeItem(LJ);
+ e ? localStorage.setItem(IJ, "1") : localStorage.removeItem(IJ);
} catch {}
}
-var uwe = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";
+var vwe = "<i data-completion-skeleton class=\"skeleton-sheen\"></i>";
// src/catalog-content-skeleton.ts
-function zJ(e) {
+function RJ(e) {
return e === "name" ? "<span data-list-skeleton-name><i class=\"skeleton-sheen\"></i><span><i class=\"skeleton-sheen\"></i><i class=\"skeleton-sheen\"></i></span></span>" : e === "people" || e === "library" || e === "studio" ? `<span data-list-skeleton-mark="${e}"><b class="skeleton-sheen"></b><i class="skeleton-sheen"></i></span>` : "<i data-list-skeleton-bar class=\"skeleton-sheen\"></i>";
}
-function dwe(e) {
- return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${z(e)}">` + BJ(cwe(), RJ() ? uwe : "") + "</div>";
+function ywe(e) {
+ return `<div class="peach-react catalog-skeleton" data-skeleton="catalog/list" role="status" aria-busy="true" aria-label="${z(e)}">` + zJ(gwe(), LJ() ? vwe : "") + "</div>";
}
-function BJ(e, t = "") {
- let n = e.some((e) => e.width === null), r = e.reduce((e, t) => e + (t.width ?? t.min), 0), i = e.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = e.map((e) => `<th>${z(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${e.map((e) => `<td>${zJ(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;
+function zJ(e, t = "") {
+ let n = e.some((e) => e.width === null), r = e.reduce((e, t) => e + (t.width ?? t.min), 0), i = e.map((e) => e.width === null ? "<col>" : `<col style="width:${e.width}px">`).join("") + (n ? "" : "<col>"), a = e.map((e) => `<th>${z(e.label)}</th>`).join("") + (n ? "" : "<th></th>"), o = `<tr>${e.map((e) => `<td>${RJ(e.id)}</td>`).join("")}${n ? "" : "<td></td>"}</tr>`;
return "<div data-list-skeleton aria-hidden=\"true\"><div data-list-skeleton-tools><i class=\"skeleton-sheen\"></i></div>" + t + `<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>`;
}
-function VJ(e, t) {
- return cG() === "list" ? dwe(e) : ac(e, {
+function BJ(e, t) {
+ return sG() === "list" ? ywe(e) : ac(e, {
variant: "cards",
className: "catalog-skeleton postercard-skeleton",
cardRatio: t
});
}
// src/react/components/data-table-frame.tsx
-var fwe = () => {
+var bwe = () => {
document.documentElement.dataset.columnResizing = "";
};
-function HJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {
+function VJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {
let i = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
let e = i.current?.querySelector(".overflow-x-auto") ?? null;
@@ -60746,11 +60824,11 @@ function HJ({ 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 && sK(e, r) && n(r.dataset.key);
+ r && oK(e, r) && n(r.dataset.key);
} : void 0,
- children: r ? /* @__PURE__ */ (0, I.jsx)(the, {
+ children: r ? /* @__PURE__ */ (0, I.jsx)(lhe, {
className: "relative min-w-0",
- onResizeStart: fwe,
+ onResizeStart: bwe,
onResize: r.resize,
onResizeEnd: (e) => {
delete document.documentElement.dataset.columnResizing, r.save(e);
@@ -60760,8 +60838,8 @@ function HJ({ children: e, follow: t = !1, onRowClick: n, preferences: r }) {
});
}
// src/react/components/select.tsx
-function UJ({ prefix: e, renderValue: t, size: n, ...r }) {
- if (e == null) return /* @__PURE__ */ (0, I.jsx)(GU, {
+function HJ({ prefix: e, renderValue: t, size: n, ...r }) {
+ if (e == null) return /* @__PURE__ */ (0, I.jsx)(WU, {
...r,
size: n,
renderValue: t
@@ -60771,14 +60849,14 @@ function UJ({ 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, I.jsx)(GU, {
+ return /* @__PURE__ */ (0, I.jsx)(WU, {
...r,
size: n,
renderValue: a
});
}
// src/react/components/table-pagination.tsx
-function WJ({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
+function UJ({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
return t <= 1 ? null : /* @__PURE__ */ (0, I.jsxs)("nav", {
"aria-label": r,
"data-pagination-layout": "",
@@ -60817,11 +60895,11 @@ function WJ({ page: e, pages: t, onPage: n, label: r = "关注列表分页" }) {
});
}
// src/react/components/table-controls.tsx
-function GJ({ label: e, options: t, sorting: n, onChange: r }) {
+function WJ({ label: e, options: t, sorting: n, onChange: r }) {
let i = n[0];
return /* @__PURE__ */ (0, I.jsxs)("span", {
className: "flex flex-none items-center gap-2",
- children: [/* @__PURE__ */ (0, I.jsxs)(UJ, {
+ children: [/* @__PURE__ */ (0, I.jsxs)(HJ, {
"aria-label": `${e}排序`,
prefix: "排序",
selectedKey: i?.id ?? "default",
@@ -60831,10 +60909,10 @@ function GJ({ label: e, options: t, sorting: n, onChange: r }) {
desc: i?.desc ?? !1
}]);
},
- children: [/* @__PURE__ */ (0, I.jsx)(KU, {
+ children: [/* @__PURE__ */ (0, I.jsx)(GU, {
id: "default",
children: "默认顺序"
- }), t.map((e) => /* @__PURE__ */ (0, I.jsx)(KU, {
+ }), t.map((e) => /* @__PURE__ */ (0, I.jsx)(GU, {
id: e.id,
children: e.label
}, e.id))]
@@ -60842,7 +60920,7 @@ function GJ({ label: e, options: t, sorting: n, onChange: r }) {
variant: "secondary",
iconOnly: !0,
disabled: !i,
- leadingIcon: fG,
+ leadingIcon: dG,
"data-icon-state": i?.desc ? "b" : "a",
"aria-label": `${e}改为${i?.desc ? "升序" : "降序"}`,
onClick: () => {
@@ -60854,7 +60932,7 @@ function GJ({ label: e, options: t, sorting: n, onChange: r }) {
})]
});
}
-function KJ({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条", pageSizes: o = [
+function GJ({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记录", pageUnit: a = "条", pageSizes: o = [
10,
20,
50,
@@ -60869,7 +60947,7 @@ function KJ({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记
children: `${l.toLocaleString()}–${u.toLocaleString()} / ${t.toLocaleString()} ${i}`
}), /* @__PURE__ */ (0, I.jsxs)("div", {
"data-toolbar-actions": "",
- children: [/* @__PURE__ */ (0, I.jsx)(UJ, {
+ children: [/* @__PURE__ */ (0, I.jsx)(HJ, {
"aria-label": "每页显示数量",
size: "sm",
selectedKey: String(n.pageSize),
@@ -60879,11 +60957,11 @@ function KJ({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记
pageSize: Number(e)
});
},
- children: o.map((e) => /* @__PURE__ */ (0, I.jsx)(KU, {
+ children: o.map((e) => /* @__PURE__ */ (0, I.jsx)(GU, {
id: String(e),
children: `每页 ${e} ${a}`
}, e))
- }), /* @__PURE__ */ (0, I.jsx)(WJ, {
+ }), /* @__PURE__ */ (0, I.jsx)(UJ, {
label: `${e}分页`,
page: c + 1,
pages: s,
@@ -60896,7 +60974,7 @@ function KJ({ label: e, total: t, pagination: n, onChange: r, unit: i = "条记
});
}
// src/react/components/table-column-preferences.ts
-function qJ(e) {
+function KJ(e) {
try {
let t = JSON.parse(localStorage.getItem(e) || "{}");
return t && typeof t == "object" && !Array.isArray(t) ? t : {};
@@ -60904,17 +60982,17 @@ function qJ(e) {
return {};
}
}
-function JJ(e, t) {
+function qJ(e, t) {
try {
localStorage.setItem(e, JSON.stringify(t));
} catch {}
}
-function pwe(e, t) {
+function xwe(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, F.useState)(() => {
- let r = qJ(e);
+ let r = KJ(e);
for (let [e, n] of Object.entries(t)) n.flex && r[e] === n.width && delete r[e];
return n(r);
});
@@ -60931,7 +61009,7 @@ function pwe(e, t) {
...r,
...Object.fromEntries(t)
});
- i(a), JJ(e, a);
+ i(a), qJ(e, a);
},
reset: () => {
i(n({}));
@@ -60941,26 +61019,26 @@ function pwe(e, t) {
}
};
}
-function mwe(e, t, n, r = {}) {
+function Swe(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, F.useState)(() => i(qJ(e)));
+ }), [a, o] = (0, F.useState)(() => i(KJ(e)));
return {
visibility: a,
change: (t) => {
let n = i(typeof t == "function" ? t(a) : t);
- o(n), JJ(e, n);
+ o(n), qJ(e, n);
}
};
}
-function YJ(e, t, n) {
+function JJ(e, t, n) {
let r = (0, F.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 = pwe(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = mwe(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 = xwe(n?.widths ?? `peach.table.${e}.widths.v1`, r), a = Swe(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,
@@ -60979,15 +61057,15 @@ function YJ(e, t, n) {
};
}
// src/react/catalog-grid/catalog-column-widths.ts
-function hwe() {
- return YJ("catalog", PJ, {
- widths: MJ,
- visibility: NJ
+function Cwe() {
+ return JJ("catalog", NJ, {
+ widths: jJ,
+ visibility: MJ
});
}
// src/react/components/rating-stars.tsx
-var XJ = hV("star");
-function ZJ({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {
+var YJ = mV("star");
+function XJ({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {
let i = Math.max(0, Math.min(5, e)), a = Math.round(i);
return /* @__PURE__ */ (0, I.jsx)("span", {
"data-rating-stars": "",
@@ -61010,25 +61088,25 @@ function ZJ({ value: e, onRate: t, busyStar: n, busyAttrs: r }) {
onClick: () => {
n || t(e);
},
- children: n === e ? /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: Bs("正在保存评分") } }) : /* @__PURE__ */ (0, I.jsx)(XJ, {})
+ children: n === e ? /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: Bs("正在保存评分") } }) : /* @__PURE__ */ (0, I.jsx)(YJ, {})
}, e) : /* @__PURE__ */ (0, I.jsx)("span", {
"data-rate": e,
"data-on": String(i >= e),
children: /* @__PURE__ */ (0, I.jsxs)("span", {
"data-rating-icon": "",
- children: [/* @__PURE__ */ (0, I.jsx)(XJ, {}), /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(YJ, {}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-rating-fill": "",
style: { width: `${Math.max(0, Math.min(1, i - e + 1)) * 100}%` },
- children: /* @__PURE__ */ (0, I.jsx)(XJ, {})
+ children: /* @__PURE__ */ (0, I.jsx)(YJ, {})
})]
})
}, e))
});
}
// src/react/catalog-grid/catalog-table-controls.tsx
-function gwe({ item: e, actions: t }) {
- let { rating: n } = e, r = _H(), i = (0, F.useRef)(0), a = _P(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {
- mP(e.id, { rating: t }), H.setQueryData(["item", e.id], (e) => e && {
+function wwe({ item: e, actions: t }) {
+ let { rating: n } = e, r = gH(), i = (0, F.useRef)(0), a = hP(n), o = n == null ? "未评分" : `评分 ${a} / 5`, s = (t) => {
+ fP(e.id, { rating: t }), H.setQueryData(["item", e.id], (e) => e && {
...e,
rating: t
});
@@ -61040,11 +61118,11 @@ function gwe({ item: e, actions: t }) {
role: "group",
"aria-label": o,
title: o,
- children: [/* @__PURE__ */ (0, I.jsx)(ZJ, {
+ children: [/* @__PURE__ */ (0, I.jsx)(XJ, {
value: a,
onRate: c,
busyStar: r.busy ? Number(r.busy) : void 0
- }), r.error ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ }), r.error ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "error",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -61057,7 +61135,7 @@ function gwe({ item: e, actions: t }) {
}) : null]
});
}
-function QJ(e) {
+function ZJ(e) {
if (e == null || e === "") return "—";
let t = String(e);
if (/^\d{4}-\d{2}-\d{2}$/.test(t)) return t;
@@ -61072,7 +61150,7 @@ function QJ(e) {
});
}
// src/react/components/selection-actions.tsx
-function $J({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {
+function QJ({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-selection-actions": "",
"data-action-layout": t,
@@ -61084,10 +61162,10 @@ function $J({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {
className: t === "inline" ? "shrink-0" : "w-full",
onClick: e.onPress,
children: e.label
- }, e.label) : /* @__PURE__ */ (0, I.jsx)(gH, {
+ }, e.label) : /* @__PURE__ */ (0, I.jsx)(hH, {
size: "small",
href: e.href,
- trailingIcon: xB,
+ trailingIcon: bB,
className: t === "inline" ? "shrink-0" : "w-full",
disabled: e.disabled,
onClick: r,
@@ -61096,15 +61174,15 @@ function $J({ actions: e, layout: t = "inline", prefix: n, onNavigate: r }) {
});
}
// src/react/components/selection-popover.tsx
-function eY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i, actions: a, actionLayout: o = "inline", empty: s = "暂无可选项" }) {
- let c = (0, F.useRef)(null), [l, u] = (0, F.useState)(!1), d = /* @__PURE__ */ (0, I.jsx)($J, {
+function $J({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i, actions: a, actionLayout: o = "inline", empty: s = "暂无可选项" }) {
+ let c = (0, F.useRef)(null), [l, u] = (0, F.useState)(!1), d = /* @__PURE__ */ (0, I.jsx)(QJ, {
actions: a,
layout: o,
onNavigate: () => u(!1)
}, "actions"), f = /* @__PURE__ */ (0, I.jsx)("div", {
"data-selection-options": "",
className: "flex min-w-0 flex-col gap-1",
- children: r.length ? r.map((e) => /* @__PURE__ */ (0, I.jsx)(VV, {
+ children: r.length ? r.map((e) => /* @__PURE__ */ (0, I.jsx)(BV, {
isSelected: e.selected,
className: "min-w-0 [&>span:last-child]:min-w-0 [&>span:last-child]:wrap-anywhere",
isDisabled: e.disabled,
@@ -61124,14 +61202,14 @@ function eY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i,
"aria-label": t,
onClick: () => u(!0),
children: t
- }), /* @__PURE__ */ (0, I.jsx)(mz, {
+ }), /* @__PURE__ */ (0, I.jsx)(pz, {
triggerRef: c,
isOpen: l,
onOpenChange: u,
placement: "bottom end",
offset: 4,
- className: q(PV, "w-max overscroll-contain"),
- children: ({ placement: t }) => /* @__PURE__ */ (0, I.jsx)(bH, {
+ className: q(NV, "w-max overscroll-contain"),
+ children: ({ placement: t }) => /* @__PURE__ */ (0, I.jsx)(yH, {
"aria-label": e,
"data-selection-placement": t ?? "bottom",
className: "flex w-max max-w-full flex-col gap-2 outline-none",
@@ -61140,13 +61218,13 @@ function eY({ label: e, triggerLabel: t, leadingIcon: n, items: r, onChange: i,
})] });
}
// src/react/components/table-column-controls.tsx
-function tY({ preferences: e, label: t = "表格" }) {
+function eY({ preferences: e, label: t = "表格" }) {
let n = e.columns.filter((e) => !e.required);
return /* @__PURE__ */ (0, I.jsxs)("div", {
role: "group",
"aria-label": `${t}列设置`,
className: "flex flex-none gap-2",
- children: [/* @__PURE__ */ (0, I.jsx)(eY, {
+ children: [/* @__PURE__ */ (0, I.jsx)($J, {
label: `${t}显示列`,
triggerLabel: "显示列",
actionLayout: "fullWidth",
@@ -61174,39 +61252,39 @@ function tY({ preferences: e, label: t = "表格" }) {
})]
});
}
-function nY({ preferences: e, id: t }) {
+function tY({ preferences: e, id: t }) {
let n = e.columns.find((e) => e.id === t);
- return e.canResize(t) ? /* @__PURE__ */ (0, I.jsx)(fhe, { "aria-label": `调整${n.label}列宽` }) : null;
+ return e.canResize(t) ? /* @__PURE__ */ (0, I.jsx)(bhe, { "aria-label": `调整${n.label}列宽` }) : null;
}
// src/react/components/table-selection-header.tsx
-function rY(e, t) {
+function nY(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 iY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {
- let { all: i, some: a } = rY(e, n);
- return /* @__PURE__ */ (0, I.jsx)(VV, {
+function rY({ table: e, label: t, page: n = !1, disabled: r = !1 }) {
+ let { all: i, some: a } = nY(e, n);
+ return /* @__PURE__ */ (0, I.jsx)(BV, {
slot: null,
"aria-label": t,
isDisabled: r,
isSelected: i,
isIndeterminate: a,
onChange: () => {
- let t = !rY(e, n).all;
+ let t = !nY(e, n).all;
n ? e.toggleAllPageRowsSelected(t) : e.toggleAllRowsSelected(t);
}
});
}
// src/react/catalog-grid/catalog-list-page.tsx
-var _we = jq({
- rowSortingFeature: kJ,
- rowSelectionFeature: gJ,
- rowPaginationFeature: Yq,
- columnVisibilityFeature: zq
-}), aY = PJ.map((e) => e.id), vwe = [
+var Twe = Aq({
+ rowSortingFeature: OJ,
+ rowSelectionFeature: hJ,
+ rowPaginationFeature: Jq,
+ columnVisibilityFeature: Rq
+}), iY = NJ.map((e) => e.id), Ewe = [
{
id: "name",
label: "名称"
@@ -61243,12 +61321,12 @@ var _we = jq({
id: "played",
label: "观看时间"
}
-], oY = /* @__PURE__ */ new Map();
-function ywe(e) {
- let t = hwe(), n = oK(), r = uP(e.filters || {}, !1), [i] = (0, F.useState)(() => {
+], aY = /* @__PURE__ */ new Map();
+function Dwe(e) {
+ let t = Cwe(), n = aK(), r = cP(e.filters || {}, !1), [i] = (0, F.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, F.useState)(() => oY.get(i) || {
+ }), [a, o] = (0, F.useState)(() => aY.get(i) || {
sorting: [],
pagination: {
pageIndex: 0,
@@ -61256,7 +61334,7 @@ function ywe(e) {
}
}), { sorting: s, pagination: c } = a;
(0, F.useEffect)(() => {
- oY.set(i, a);
+ aY.set(i, a);
}, [i, a]);
let l = c.pageIndex * c.pageSize, u = s[0], d = Ft({
queryKey: [
@@ -61287,9 +61365,9 @@ function ywe(e) {
libraryEmpty: (await B("/api/items?limit=1&thumb=0", t)).total === 0
};
}
- }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : FK(f, e.layout.javImage), [h] = (0, F.useState)(RJ);
+ }), f = d.data?.items || [], p = Number(d.data?.total || 0), m = e.filters?.state === "trash" ? [] : PK(f, e.layout.javImage), [h] = (0, F.useState)(LJ);
(0, F.useEffect)(() => {
- d.data && !d.isPlaceholderData && lwe(m.length > 0);
+ d.data && !d.isPlaceholderData && _we(m.length > 0);
}, [
d.data,
d.isPlaceholderData,
@@ -61321,19 +61399,19 @@ function ywe(e) {
p,
c.pageIndex
]);
- let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = AJ({
- features: _we,
+ let g = e.selectMode ? Object.fromEntries([...e.selected].map((e) => [String(e), !0])) : {}, _ = kJ({
+ features: Twe,
columns: (0, F.useMemo)(() => {
- let t = Aq();
+ let t = kq();
return t.columns([
t.display({
id: "select",
- header: ({ table: e }) => /* @__PURE__ */ (0, I.jsx)(iY, {
+ header: ({ table: e }) => /* @__PURE__ */ (0, I.jsx)(rY, {
table: e,
label: "全选本页作品",
disabled: d.isPlaceholderData
}),
- cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(VV, {
+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(BV, {
slot: null,
"aria-label": `选择 ${e.helpers.displayName(t.original, t.original.name || "")}`,
isDisabled: d.isPlaceholderData,
@@ -61345,7 +61423,7 @@ function ywe(e) {
id: "name",
header: "作品",
enableSorting: !0,
- cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(bwe, {
+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(Owe, {
item: t.original,
props: e,
disabled: d.isPlaceholderData
@@ -61354,12 +61432,12 @@ function ywe(e) {
t.display({
id: "library",
header: "媒体库",
- cell: ({ row: e }) => /* @__PURE__ */ (0, I.jsx)(xwe, { item: e.original })
+ cell: ({ row: e }) => /* @__PURE__ */ (0, I.jsx)(kwe, { item: e.original })
}),
t.display({
id: "people",
header: "艺人",
- cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(Swe, {
+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(Awe, {
item: t.original,
props: e
})
@@ -61415,7 +61493,7 @@ function ywe(e) {
id: "rating",
header: "评分",
enableSorting: !0,
- cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(gwe, {
+ cell: ({ row: t }) => /* @__PURE__ */ (0, I.jsx)(wwe, {
item: t.original,
actions: e.actions
})
@@ -61436,13 +61514,13 @@ function ywe(e) {
id: "played",
header: "观看时间",
enableSorting: !0,
- cell: ({ row: e }) => QJ(e.original.last_played)
+ cell: ({ row: e }) => ZJ(e.original.last_played)
}),
t.accessor((e) => e.first_seen, {
id: "new",
header: "入库时间",
enableSorting: !0,
- cell: ({ row: e }) => QJ(e.original.first_seen)
+ cell: ({ row: e }) => ZJ(e.original.first_seen)
}),
t.accessor((e) => e.release_date, {
id: "release",
@@ -61450,7 +61528,7 @@ function ywe(e) {
enableSorting: !0,
cell: ({ row: e }) => e.original.release_date || "—"
})
- ]).sort((e, t) => aY.indexOf(e.id) - aY.indexOf(t.id));
+ ]).sort((e, t) => iY.indexOf(e.id) - iY.indexOf(t.id));
}, [
e.helpers,
e.actions,
@@ -61513,9 +61591,9 @@ function ywe(e) {
"aria-label": "作品列表工具栏",
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-toolbar-actions": "",
- children: [/* @__PURE__ */ (0, I.jsx)(tY, { preferences: t }), /* @__PURE__ */ (0, I.jsx)(GJ, {
+ children: [/* @__PURE__ */ (0, I.jsx)(eY, { preferences: t }), /* @__PURE__ */ (0, I.jsx)(WJ, {
label: "作品列表",
- options: vwe,
+ options: Ewe,
sorting: s,
onChange: (e) => _.setSorting(e)
})]
@@ -61525,21 +61603,21 @@ function ywe(e) {
"data-completion-skeleton": "",
"aria-hidden": "true",
className: "skeleton-sheen"
- }) : null : /* @__PURE__ */ (0, I.jsx)(IK, {
+ }) : null : /* @__PURE__ */ (0, I.jsx)(FK, {
className: "",
assetIds: m
}),
- d.isError ? /* @__PURE__ */ (0, I.jsx)(VG, {
+ d.isError ? /* @__PURE__ */ (0, I.jsx)(BG, {
message: xn(d.error),
onRetry: () => void d.refetch()
}) : null,
- /* @__PURE__ */ (0, I.jsx)(HJ, {
+ /* @__PURE__ */ (0, I.jsx)(VJ, {
follow: !0,
preferences: t,
onRowClick: e.selectMode ? (t) => {
d.isPlaceholderData || e.actions.toggleSelection(Number(t), !1);
} : void 0,
- children: /* @__PURE__ */ (0, I.jsxs)(jJ, {
+ children: /* @__PURE__ */ (0, I.jsxs)(AJ, {
"aria-label": "作品列表",
size: "sm",
sortDescriptor: u ? {
@@ -61550,48 +61628,48 @@ function ywe(e) {
id: String(e.column),
desc: e.direction === "descending"
}]),
- children: [/* @__PURE__ */ (0, I.jsxs)(nB, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(rB, {
+ children: [/* @__PURE__ */ (0, I.jsxs)(tB, { children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(nB, {
id: e.id,
isRowHeader: e.id === "name",
allowsSorting: e.column.getCanSort(),
...t.columnProps(e.id),
children: ({ sortDirection: n }) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("span", {
className: "flex items-center gap-0.5",
- children: [LK(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [IK(e.column.columnDef.header, e.getContext()), e.column.getCanSort() ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-sort-indicator": !0,
"data-direction": n || void 0,
- children: /* @__PURE__ */ (0, I.jsx)(jV, {})
+ children: /* @__PURE__ */ (0, I.jsx)(AV, {})
}) : null]
- }), /* @__PURE__ */ (0, I.jsx)(nY, {
+ }), /* @__PURE__ */ (0, I.jsx)(tY, {
preferences: t,
id: e.id
})] })
- }, e.id)), /* @__PURE__ */ (0, I.jsx)(rB, {
+ }, e.id)), /* @__PURE__ */ (0, I.jsx)(nB, {
id: "remaining-space",
"aria-label": "行空白区域",
"data-table-space": "",
width: t.spaceWidth,
minWidth: 0
- })] }), /* @__PURE__ */ (0, I.jsx)(oB, {
+ })] }), /* @__PURE__ */ (0, I.jsx)(aB, {
renderEmptyState: () => d.isError ? "作品列表未取得" : "没有符合的作品",
- children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, I.jsxs)(lB, {
+ children: d.isPending ? Array.from({ length: 6 }, (e, t) => /* @__PURE__ */ (0, I.jsxs)(cB, {
id: `skeleton-${t}`,
"data-list-skeleton-row": "",
"aria-hidden": "true",
- children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(dB, { children: /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: zJ(e.id) } }) }, e.id)), /* @__PURE__ */ (0, I.jsx)(dB, { "data-table-space": "" })]
- }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, I.jsxs)(lB, {
+ children: [_.getHeaderGroups()[0].headers.map((e) => /* @__PURE__ */ (0, I.jsx)(uB, { children: /* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: RJ(e.id) } }) }, e.id)), /* @__PURE__ */ (0, I.jsx)(uB, { "data-table-space": "" })]
+ }, `skeleton-${t}`)) : _.getRowModel().rows.map((e) => /* @__PURE__ */ (0, I.jsxs)(cB, {
id: e.id,
"data-catalog-row": "",
"data-id": e.original.id,
"data-guide-video": (!e.original.medium || e.original.medium === "video") && e.original.location !== "online" && !String(e.original.name || "").toLowerCase().endsWith(".iso") ? "" : void 0,
"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, I.jsx)(dB, { children: LK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, I.jsx)(dB, { "data-table-space": "" })]
+ children: [e.getVisibleCells().map((e) => /* @__PURE__ */ (0, I.jsx)(uB, { children: IK(e.column.columnDef.cell, e.getContext()) }, e.id)), /* @__PURE__ */ (0, I.jsx)(uB, { "data-table-space": "" })]
}, e.id))
})]
})
}),
- d.data ? /* @__PURE__ */ (0, I.jsx)(KJ, {
+ d.data ? /* @__PURE__ */ (0, I.jsx)(GJ, {
label: "作品列表",
total: p,
pagination: c,
@@ -61602,9 +61680,9 @@ function ywe(e) {
]
});
}
-function bwe({ item: e, props: t, disabled: n }) {
+function Owe({ item: e, props: t, disabled: n }) {
let r = To(e, "small", !1, t.layout.javImage), i = Number(e.part_group?.count) > 1 && e.part_group || null, a = Number(e.edition_group?.count) > 1 && e.edition_group || null, o = i?.title || e.name || "", s = t.helpers.displayName(e, o).trim() || "未命名作品", c = t.helpers.titleHtml(e, o).trim() || "未命名作品";
- oL();
+ aL();
let l = !i && Number(e.play_seconds) > 0 && Number(e.duration) > 0 ? Math.min(Number(e.play_seconds) / Number(e.duration), 1) : 0, u = [Number(e.liked) > 0 ? "喜欢" : "", Number(e.o_count) > 0 ? "有高潮记录" : ""].filter(Boolean), d = (e) => /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
@@ -61624,7 +61702,7 @@ function bwe({ item: e, props: t, disabled: n }) {
children: /* @__PURE__ */ (0, I.jsxs)("span", {
"data-list-picture": "",
children: [
- r.html ? /* @__PURE__ */ (0, I.jsx)(YU, {
+ r.html ? /* @__PURE__ */ (0, I.jsx)(JU, {
artwork: r,
relayout: (e) => El(e, "small")
}) : /* @__PURE__ */ (0, I.jsx)("span", { children: "无预览" }),
@@ -61676,17 +61754,17 @@ function bwe({ item: e, props: t, disabled: n }) {
})]
});
}
-function xwe({ item: e }) {
- let t = oK({ names: !0 }), n = e.library_id ? t.get(e.library_id) : void 0;
+function kwe({ item: e }) {
+ let t = aK({ names: !0 }), n = e.library_id ? t.get(e.library_id) : void 0;
return n?.name ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-list-library": "",
title: `媒体库:${n.name}`,
- children: [/* @__PURE__ */ (0, I.jsx)(HH, { mark: n.icon }), /* @__PURE__ */ (0, I.jsx)("span", { children: n.name })]
+ children: [/* @__PURE__ */ (0, I.jsx)(VH, { mark: n.icon }), /* @__PURE__ */ (0, I.jsx)("span", { children: n.name })]
}) : "—";
}
-function Swe({ item: e, props: t }) {
- oL();
- let { avatar: n, who: r } = mK(e);
+function Awe({ item: e, props: t }) {
+ aL();
+ let { avatar: n, who: r } = pK(e);
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-list-people": "",
onClick: (e) => {
@@ -61698,22 +61776,22 @@ function Swe({ item: e, props: t }) {
});
}
// src/react/catalog-grid/catalog-grid-page.tsx
-function sY(e) {
- let t = lG();
- if (e.mode === "items") return /* @__PURE__ */ (0, I.jsx)(wwe, { ...e });
- let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${uP(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
- if (t === "list" && !e.wall) return /* @__PURE__ */ (0, I.jsx)(ywe, { ...e }, n);
+function oY(e) {
+ let t = cG();
+ if (e.mode === "items") return /* @__PURE__ */ (0, I.jsx)(Mwe, { ...e });
+ let n = e.mode === "entity" ? `entity:${e.entityKey || ""}:${e.revision}` : `catalog:${cP(e.filters || {}, !!e.excludeVertical)}:${e.batchSize || 60}:${e.revision}`;
+ if (t === "list" && !e.wall) return /* @__PURE__ */ (0, I.jsx)(Dwe, { ...e }, n);
let r = e.mode === "entity" ? "entity" : `catalog:${!!e.wall}`;
- return /* @__PURE__ */ (0, I.jsx)(Twe, { ...e }, r);
+ return /* @__PURE__ */ (0, I.jsx)(Nwe, { ...e }, r);
}
-function Cwe({ name: e }) {
+function jwe({ name: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
}
-function cY({ children: e, selectMode: t }) {
+function sY({ children: e, selectMode: t }) {
let n = (0, F.useRef)(null), [r, i] = (0, F.useState)(!1);
return (0, F.useLayoutEffect)(() => {
let e = n.current;
@@ -61729,8 +61807,8 @@ function cY({ children: e, selectMode: t }) {
children: e
});
}
-function wwe(e) {
- let { actions: t } = e, n = (0, F.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, I.jsx)(gK, {
+function Mwe(e) {
+ let { actions: t } = e, n = (0, F.useCallback)((e, n) => t.open(e, n), [t]), r = e.variant === "next" ? "next" : "grid", i = (e.items || []).map((i) => /* @__PURE__ */ (0, I.jsx)(hK, {
item: i,
variant: r,
layout: e.layout,
@@ -61744,13 +61822,13 @@ function wwe(e) {
return r === "next" ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-media-next-row": "",
children: i
- }) : /* @__PURE__ */ (0, I.jsx)(cY, {
+ }) : /* @__PURE__ */ (0, I.jsx)(sY, {
selectMode: e.selectMode,
children: i
});
}
-function Twe(e) {
- let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? Mue(e) : jue(e), [s] = (0, F.useState)(() => e.wall ? dP(o.queryKey) : void 0), c = JSON.stringify(o.queryKey), l = (0, F.useMemo)(() => e.restoreNavigation ? dP(o.queryKey) : void 0, [c, e.restoreNavigation]) || s || (i && e.initial ? {
+function Nwe(e) {
+ let { helpers: t, actions: n, layout: r } = e, i = e.mode === "entity", a = !i && e.filters?.state === "trash", o = i ? Rue(e) : Lue(e), [s] = (0, F.useState)(() => e.wall ? lP(o.queryKey) : void 0), c = JSON.stringify(o.queryKey), l = (0, F.useMemo)(() => e.restoreNavigation ? lP(o.queryKey) : void 0, [c, e.restoreNavigation]) || s || (i && e.initial ? {
pages: [{
...e.initial,
items: e.initial.items || [],
@@ -61776,7 +61854,7 @@ function Twe(e) {
u.isPlaceholderData,
e.revision
]);
- let { tiles: f, pageStarts: p } = (0, F.useMemo)(() => Pue(u.data?.pages || [], {
+ let { tiles: f, pageStarts: p } = (0, F.useMemo)(() => Bue(u.data?.pages || [], {
collapse: e.groupCollapse !== !1,
mix: !!e.mix && !a,
javImage: r.javImage
@@ -61786,7 +61864,7 @@ function Twe(e) {
e.mix,
a,
r.javImage
- ]), m = f.reduce((e, t) => e + +(t.kind === "card"), 0), h = Number(u.data?.pages[0]?.total || 0), g = i || Vye(e.filters), _ = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, v = f.flatMap((e) => e.kind === "card" && Iye(e.item) ? [e.item] : []), y = a ? [] : FK(f.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), b = (0, F.useRef)(null), x = Ewe(e, u.isPlaceholderData ? void 0 : u.data, f, p, b);
+ ]), m = f.reduce((e, t) => e + +(t.kind === "card"), 0), h = Number(u.data?.pages[0]?.total || 0), g = i || Yye(e.filters), _ = !a && !e.selectMode && !!n.wallPlayer && !!n.wallDetails, v = f.flatMap((e) => e.kind === "card" && Wye(e.item) ? [e.item] : []), y = a ? [] : PK(f.flatMap((e) => e.kind === "card" ? [e.item] : []), r.javImage), b = (0, F.useRef)(null), x = Pwe(e, u.isPlaceholderData ? void 0 : u.data, f, p, b);
(0, F.useLayoutEffect)(() => {
if (!u.data || u.isPlaceholderData) return;
let t = !0;
@@ -61814,12 +61892,12 @@ function Twe(e) {
let C = (0, F.useCallback)((e, t) => n.open(e, t), [n]), w = (0, F.useCallback)((e, t) => n.openResource(e, t), [n]), T = (0, F.useCallback)((e) => n.openShort(e), [n]), E = (0, F.useCallback)(async () => {
let e = await u.fetchNextPage();
if (e.isFetchNextPageError) throw e.error;
- }, [u.fetchNextPage]), D = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)(Owe, {
+ }, [u.fetchNextPage]), D = (i) => i.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)(Iwe, {
seed: i.seed,
layout: r,
helpers: t,
actions: n
- }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, I.jsx)(gK, {
+ }, `mix:${i.seed.id}`) : /* @__PURE__ */ (0, I.jsx)(hK, {
item: i.item,
grouped: e.groupCollapse !== !1,
variant: a && i.item.medium && i.item.medium !== "video" ? "resource" : "grid",
@@ -61831,8 +61909,8 @@ function Twe(e) {
actions: n,
onOpen: a ? w : C
}, i.item.id), O = () => {
- if (_ && e.wall) return /* @__PURE__ */ (0, I.jsx)(Dxe, {
- sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${uP(e.filters || {}, !!e.excludeVertical)}`,
+ if (_ && e.wall) return /* @__PURE__ */ (0, I.jsx)(Fxe, {
+ sessionKey: i ? `entity:${e.entityKey || ""}` : `catalog:${cP(e.filters || {}, !!e.excludeVertical)}`,
items: v,
finite: g,
hasMore: !!u.hasNextPage,
@@ -61840,7 +61918,7 @@ function Twe(e) {
loading: u.isPending || !u.data && u.isFetching,
error: !u.data && !u.isPending ? xn(u.error) : "",
retry: () => void u.refetch(),
- emptyHtml: u.data && !v.length ? Axe({
+ emptyHtml: u.data && !v.length ? Rxe({
libraryEmpty: !!u.data.pages[0]?.libraryEmpty,
matches: h,
hasMore: !!u.hasNextPage,
@@ -61855,7 +61933,7 @@ function Twe(e) {
javImage: r.javImage
}, g ? "finite" : "explore");
if (u.isPending) return null;
- if (!u.data) return /* @__PURE__ */ (0, I.jsx)(VG, {
+ if (!u.data) return /* @__PURE__ */ (0, I.jsx)(BG, {
message: xn(u.error),
onRetry: () => void u.refetch()
});
@@ -61872,12 +61950,12 @@ function Twe(e) {
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("div", {
"data-media-sections": "",
"data-select-mode": e.selectMode ? "" : void 0,
- children: Lue(f, x).map((t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(cY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, I.jsx)(Dwe, {
+ children: Uue(f, x).map((t) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(sY, { children: t.tiles.map(D) }), t.strip ? /* @__PURE__ */ (0, I.jsx)(Fwe, {
cut: t.strip,
props: e,
onOpen: T
}) : null] }, t.start))
- }), u.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(lY, {
+ }), u.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(cY, {
entity: i,
load: E,
enabled: () => !u.isPlaceholderData && e.canLoadMore?.() !== !1
@@ -61887,14 +61965,14 @@ function Twe(e) {
ref: b,
"data-media-body": "",
"aria-busy": u.isFetching && !u.isFetchingNextPage,
- children: [/* @__PURE__ */ (0, I.jsx)(IK, { assetIds: y }), e.wall ? O() : /* @__PURE__ */ (0, I.jsx)(HG, {
+ children: [/* @__PURE__ */ (0, I.jsx)(FK, { assetIds: y }), e.wall ? O() : /* @__PURE__ */ (0, I.jsx)(VG, {
pending: u.isPending,
skeletonHtml: e.skeletonHtml,
children: O()
})]
});
}
-function lY({ entity: e, load: t, enabled: n, children: r }) {
+function cY({ entity: e, load: t, enabled: n, children: r }) {
let i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(!1), s = (0, F.useRef)(!1), [c, l] = (0, F.useState)({
busy: !1,
error: ""
@@ -61936,7 +62014,7 @@ function lY({ entity: e, load: t, enabled: n, children: r }) {
if (!e) return;
let t = new IntersectionObserver((e) => {
e.some((e) => e.isIntersecting) && d(!1);
- }, { rootMargin: BG });
+ }, { rootMargin: zG });
return a.current = t, t.observe(e), () => {
t.disconnect(), a.current = null;
};
@@ -61959,18 +62037,18 @@ function lY({ entity: e, load: t, enabled: n, children: r }) {
hidden: !!c.error,
onClick: () => void d(!0),
dangerouslySetInnerHTML: { __html: Hs(Vs) }
- }), c.error ? /* @__PURE__ */ (0, I.jsx)(VG, {
+ }), c.error ? /* @__PURE__ */ (0, I.jsx)(BG, {
message: c.error,
onRetry: () => void d(!0)
}) : null] });
}
-function Ewe(e, t, n, r, i) {
- let a = ["catalog-short-layout", uP(e.filters || {}, !!e.excludeVertical)], o = `${a[1]}:${e.revision}`, s = () => {
+function Pwe(e, t, n, r, i) {
+ let a = ["catalog-short-layout", cP(e.filters || {}, !!e.excludeVertical)], o = `${a[1]}:${e.revision}`, s = () => {
let t = e.restoreNavigation ? H.getQueryData(a) : void 0, n = {
parts: /* @__PURE__ */ new Set(),
editions: /* @__PURE__ */ new Set()
};
- return t && fP(t.cuts.flatMap((e) => e.items), n, e.groupCollapse !== !1), {
+ return t && uP(t.cuts.flatMap((e) => e.items), n, e.groupCollapse !== !1), {
stamp: o,
cuts: t?.cuts || [],
offset: t?.offset || 0,
@@ -61996,7 +62074,7 @@ function Ewe(e, t, n, r, i) {
let r = new AbortController();
p.controllers.push(r);
let i = n - 1;
- B(`/api/items?${Iue(e.filters || {}, p.offset)}`, r.signal).then((e) => {
+ B(`/api/items?${Hue(e.filters || {}, p.offset)}`, r.signal).then((e) => {
if (c.current !== p || r.signal.aborted) return;
let t = e.items || [];
t.length ? f({
@@ -62010,9 +62088,9 @@ function Ewe(e, t, n, r, i) {
}, [t, p]), (0, F.useLayoutEffect)(() => {
if (!d || d.stamp !== o) return;
f(null);
- let t = m.reduce((e, t) => Math.max(e, t.at), 0), s = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), c = s?.[s.length - 1], l = c ? Math.max(1, getComputedStyle(c).gridTemplateColumns.split(" ").length) : 1, h = Math.max(0, (r[d.page] ?? 0) - t), g = Fue(n.length - t, h, l);
+ let t = m.reduce((e, t) => Math.max(e, t.at), 0), s = i.current?.querySelectorAll("[data-media-sections] > [data-media-grid]"), c = s?.[s.length - 1], l = c ? Math.max(1, getComputedStyle(c).gridTemplateColumns.split(" ").length) : 1, h = Math.max(0, (r[d.page] ?? 0) - t), g = Vue(n.length - t, h, l);
if (!g.length) return;
- let _ = fP(d.items, p.groups, e.groupCollapse !== !1);
+ let _ = uP(d.items, p.groups, e.groupCollapse !== !1);
if (p.offset = d.more ? p.offset + 18 : 0, !_.length) return;
let v = t + (g[Math.floor(Math.random() * g.length)] ?? 0), y = [...m, {
at: v,
@@ -62029,7 +62107,7 @@ function Ewe(e, t, n, r, i) {
});
}, [d]), m;
}
-function Dwe({ cut: e, props: t, onOpen: n }) {
+function Fwe({ cut: e, props: t, onOpen: n }) {
let r = (0, F.useRef)(null), { wireDrag: i } = t;
return (0, F.useEffect)(() => {
r.current && i(r.current);
@@ -62045,12 +62123,12 @@ function Dwe({ cut: e, props: t, onOpen: n }) {
type: "button",
"data-shorts-enter": "",
onClick: () => t.actions.openShorts(),
- children: [/* @__PURE__ */ (0, I.jsx)(Cwe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "进入沉浸模式" })]
+ children: [/* @__PURE__ */ (0, I.jsx)(jwe, { name: "gallery-vertical-end" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "进入沉浸模式" })]
})
] }), /* @__PURE__ */ (0, I.jsx)("div", {
ref: r,
"data-shorts-row": "",
- children: e.items.map((e) => /* @__PURE__ */ (0, I.jsx)(gK, {
+ children: e.items.map((e) => /* @__PURE__ */ (0, I.jsx)(hK, {
item: e,
variant: "short",
layout: t.layout,
@@ -62065,17 +62143,17 @@ function Dwe({ cut: e, props: t, onOpen: n }) {
})]
});
}
-function uY(e, t, n) {
+function lY(e, t, n) {
return Eo(e, t.active && e.is_jav ? t.size : "small", n, t.javImage);
}
-function Owe({ seed: e, layout: t, helpers: n, actions: r }) {
+function Iwe({ seed: e, layout: t, helpers: n, actions: r }) {
let i = (0, F.useRef)(/* @__PURE__ */ new Map()), a = (0, F.useRef)(t);
a.current = t;
let o = Mo(e, n.tagLabel), s = (0, F.useCallback)(async () => {
- let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => pP(e, t.javImage)).slice(0, 9);
- return i.current = new Map(n.map((e) => [String(e.id), uY(e, t, !0).html])), n.map((e) => String(e.id));
- }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = uY(e, t, !1);
- return /* @__PURE__ */ (0, I.jsx)(bK, {
+ let t = a.current, n = [e, ...await r.mixRelated(e.id)].filter((e) => dP(e, t.javImage)).slice(0, 9);
+ return i.current = new Map(n.map((e) => [String(e.id), lY(e, t, !0).html])), n.map((e) => String(e.id));
+ }, [e, r]), c = t.active && e.is_jav ? t.size : "small", l = lY(e, t, !1);
+ return /* @__PURE__ */ (0, I.jsx)(yK, {
"data-mix-seed": String(e.id),
name: `Mix · ${o}`,
caption: `${n.displayName(e, e.name || "")}及相似作品`,
@@ -62085,12 +62163,12 @@ function Owe({ seed: e, layout: t, helpers: n, actions: r }) {
wholeCard: !0,
poster: null,
artwork: l,
- artworkIdentity: c === "small" ? l.html : uY(e, {
+ artworkIdentity: c === "small" ? l.html : lY(e, {
...t,
size: "small"
}, !1).html,
relayoutArt: (e) => El(e, c),
- ratio: pK(e, "grid", t),
+ ratio: fK(e, "grid", t),
flipImages: s,
faceHtml: (e) => i.current.get(e) || "",
canFlip: r.canFlip,
@@ -62101,37 +62179,37 @@ function Owe({ seed: e, layout: t, helpers: n, actions: r }) {
});
}
// src/react/media-sources.ts
-async function dY(e) {
+async function uY(e) {
await H.fetchQuery({
queryKey: yr,
queryFn: () => br(e)
});
}
-var kwe = (e) => (e?.sources ?? []).filter((e) => vn.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), Awe = "/api/duplicates?limit=120", fY = ["duplicates"], pY = "/api/batch", mY = (e) => B(Awe, e), jwe = /[\s\-_.()[\]【】/\\]/;
-function Mwe(e) {
+var Lwe = (e) => (e?.sources ?? []).filter((e) => vn.includes(e.location) && (e.roots === void 0 || e.roots.length > 0)).map((e) => e.location), Rwe = "/api/duplicates?limit=120", dY = ["duplicates"], fY = "/api/batch", pY = (e) => B(Rwe, e), zwe = /[\s\-_.()[\]【】/\\]/;
+function Bwe(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 && !jwe.test(n[r - 1]);) --r;
+ for (; r > 0 && !zwe.test(n[r - 1]);) --r;
return r >= 8 ? n.slice(0, r) : "";
}
-var Nwe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
-async function Pwe(e) {
+var Vwe = (e, t) => t && e.startsWith(t) && e.length > t.length ? `…${e.slice(t.length)}` : e;
+async function Hwe(e) {
await Promise.all([H.fetchQuery({
- queryKey: fY,
- queryFn: () => mY(e)
- }), dY(e)]);
+ queryKey: dY,
+ queryFn: () => pY(e)
+ }), uY(e)]);
}
-var Fwe = {
+var Uwe = {
largest: "最大的一个",
longest: "最长的一个",
115: "115(没有则留最大)",
pikpak: "PikPak(没有则留最大)",
all: "零个文件"
-}, Iwe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), hY = (e, t) => Iwe(e, t).filter((t) => e.some((e) => e.location !== t)), Lwe = (e, t) => t.filter((t) => e.some((e) => hY(e.files, [t]).length));
-function Rwe(e, t) {
+}, Wwe = (e, t) => t.filter((t) => e.some((e) => e.location === t)), mY = (e, t) => Wwe(e, t).filter((t) => e.some((e) => e.location !== t)), Gwe = (e, t) => t.filter((t) => e.some((e) => mY(e.files, [t]).length));
+function Kwe(e, t) {
let n = [];
for (let r of e) {
if (t === "all") {
@@ -62150,19 +62228,19 @@ function Rwe(e, t) {
}
return n;
}
-function zwe(e, t) {
+function qwe(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 Bwe(e, t) {
- for (let n = 0; n < e.length; n += 200) await V(pY, {
+async function Jwe(e, t) {
+ for (let n = 0; n < e.length; n += 200) await V(fY, {
ids: e.slice(n, n + 200),
operation: t,
...t === "dispose" ? { disposal_reason: "duplicate" } : {}
});
}
// src/react/media-repair/media-repair.ts
-var gY = "/api/media-repair", _Y = ["media-repair"], vY = ["media-repair", "libraries"], Vwe = {
+var hY = "/api/media-repair", gY = ["media-repair"], _Y = ["media-repair", "libraries"], Ywe = {
status: "idle",
library: "",
stage: "",
@@ -62174,39 +62252,39 @@ var gY = "/api/media-repair", _Y = ["media-repair"], vY = ["media-repair", "libr
missing_tool: 0,
skipped: 0,
message: ""
-}, yY = (e) => B(gY, e), bY = async (e) => (await B("/api/libraries", e)).libraries || [];
-async function Hwe(e) {
+}, vY = (e) => B(hY, e), yY = async (e) => (await B("/api/libraries", e)).libraries || [];
+async function Xwe(e) {
await Promise.all([H.fetchQuery({
+ queryKey: gY,
+ queryFn: () => vY(e)
+ }), H.fetchQuery({
queryKey: _Y,
queryFn: () => yY(e)
- }), H.fetchQuery({
- queryKey: vY,
- queryFn: () => bY(e)
})]);
}
-var xY = (e) => Number(e).toLocaleString();
-function Uwe(e) {
+var bY = (e) => Number(e).toLocaleString();
+function Zwe(e) {
if (e.status === "running") {
- let t = e.total ? `${xY(Math.min(e.checked || 0, e.total))} / ${xY(e.total)}` : "准备中";
+ let t = e.total ? `${bY(Math.min(e.checked || 0, e.total))} / ${bY(e.total)}` : "准备中";
return e.stage === "修复" && e.message ? `修复 ${t} · ${e.message}` : `${e.stage || "扫描"} ${t}`;
}
- return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${xY(e.repaired)} 部,${xY(e.failed)} 部修不了` : `修好 ${xY(e.repaired)} 部` : "";
+ return e.status === "complete" && (e.repaired || e.failed) ? e.failed ? `修好 ${bY(e.repaired)} 部,${bY(e.failed)} 部修不了` : `修好 ${bY(e.repaired)} 部` : "";
}
-var Wwe = (e) => `${xY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, Gwe = "/api/quality-goals?limit=200", SY = ["quality-goals"], CY = (e) => B(Gwe, e);
-async function Kwe(e) {
+var Qwe = (e) => `${bY(e.missing_tool)} 部缺索引的片子要装上 untrunc 才修得了,下载入口在配置页的「运行信息」里。`, $we = "/api/quality-goals?limit=200", xY = ["quality-goals"], SY = (e) => B($we, e);
+async function eTe(e) {
await H.fetchQuery({
- queryKey: SY,
- queryFn: () => CY(e)
+ queryKey: xY,
+ queryFn: () => SY(e)
});
}
-var qwe = (e) => e.has_cover ? lo(e) : `/poster?id=${e.id}&c=4`;
+var tTe = (e) => e.has_cover ? lo(e) : `/poster?id=${e.id}&c=4`;
// src/selection.ts
-function wY(e, t, n, r, i, a = i || !e.has(r)) {
+function CY(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;
}
// src/react/review/review.ts
-var Jwe = "/api/review", Ywe = "/api/review/decision", Xwe = "/api/review/genre", TY = ["review"], EY = {
+var nTe = "/api/review", rTe = "/api/review/decision", iTe = "/api/review/genre", wY = ["review"], TY = {
metadata_fields: "元数据字段",
creator_tags: "创作者标签",
studio_logos: "厂牌 Logo",
@@ -62216,40 +62294,40 @@ var Jwe = "/api/review", Ywe = "/api/review/decision", Xwe = "/api/review/genre"
fc2_markings: "FC2 评论标记",
fc2_similarity: "FC2 跨号相似",
video_endcards: "片尾/出处证据"
-}, Zwe = Object.keys(EY), Qwe = "metadata_fields", DY = (e) => typeof e == "string" && Object.hasOwn(EY, e), $we = {
+}, aTe = Object.keys(TY), oTe = "metadata_fields", EY = (e) => typeof e == "string" && Object.hasOwn(TY, e), sTe = {
creator_tags: "creator",
western_identity: "creator"
-}, OY = [
+}, DY = [
"pending",
"later",
"ignored"
-], kY = {
+], OY = {
pending: "待处理",
later: "稍后处理",
ignored: "已忽略"
-}, eTe = {
+}, cTe = {
approved: "已通过",
rejected: "已忽略",
skipped: "稍后处理"
-}, AY = (e) => e === "later" || e === "ignored" ? e : "pending", jY = (e, t) => t === "pending" ? {
+}, kY = (e) => e === "later" || e === "ignored" ? e : "pending", AY = (e, t) => t === "pending" ? {
sections: e.sections,
counts: e.counts
} : e.queues[t];
-function tTe(e, t) {
+function lTe(e, t) {
return {
...e,
- ...t(jY(e, "pending")),
+ ...t(AY(e, "pending")),
queues: {
later: t(e.queues.later),
ignored: t(e.queues.ignored)
}
};
}
-function nTe(e, t) {
+function uTe(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 MY(e, t) {
+function jY(e, t) {
let n = /* @__PURE__ */ new Map();
for (let r of e) {
let e, i;
@@ -62266,10 +62344,10 @@ function MY(e, t) {
}
return [...n.values()];
}
-function rTe(e, t, n) {
- return n && MY(e, t).find((e) => e.key === n)?.rows || e;
+function dTe(e, t, n) {
+ return n && jY(e, t).find((e) => e.key === n)?.rows || e;
}
-function iTe(e, t) {
+function fTe(e, t) {
let n = gr(e.length, 20), r = _r(t, n);
return {
page: r,
@@ -62277,32 +62355,32 @@ function iTe(e, t) {
rows: e.slice((r - 1) * 20, r * 20)
};
}
-function aTe(e) {
+function pTe(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 oTe(e, t, n, r, i, a) {
- return wY(e, t, n, r, i, a);
+function mTe(e, t, n, r, i, a) {
+ return CY(e, t, n, r, i, a);
}
-function sTe(e, t) {
+function hTe(e, t) {
return e === "metadata_fields" ? (t.candidates?.length || 0) > 0 : e !== "creator_tags" || String(t.status || "").trim() === "candidate";
}
-function NY(e, t) {
+function MY(e, t) {
return String(e === "metadata_fields" ? t.query || t.code || "" : t.creator || t.studio || t.current_name || t.name || t.item_key);
}
-var PY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
-function cTe(e, t) {
- let n = NY(e, t), r = PY(e, t);
+var NY = (e, t) => e === "metadata_fields" ? String(t.field_label || t.field || "").trim() : "";
+function gTe(e, t) {
+ let n = MY(e, t), r = NY(e, t);
return r ? `${n} · ${r}` : n;
}
-var lTe = (e) => e.reason || e.evidence || e.note || e.decision_note || "", uTe = (e) => String(e.tags || "").split("|").filter(Boolean), dTe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
-function fTe(e) {
+var _Te = (e) => e.reason || e.evidence || e.note || e.decision_note || "", vTe = (e) => String(e.tags || "").split("|").filter(Boolean), yTe = (e) => [...new Set((e.candidates || []).flatMap((e) => e.unmapped_genres || []))];
+function bTe(e) {
let t = e.candidates || [];
return {
candidateKey: t.length === 1 ? t[0].candidate_key : "",
assets: (e.preview_assets || []).map((e) => e.id)
};
}
-function pTe(e, t, n, r) {
+function xTe(e, t, n, r) {
let i = !!t.asset_path && t.asset_mutation_revision != null;
return {
category: e,
@@ -62318,22 +62396,22 @@ function pTe(e, t, n, r) {
...i ? { expected_revision: t.asset_mutation_revision } : {}
};
}
-var mTe = (e) => ({
+var STe = (e) => ({
approved: "已通过资料",
rejected: "已忽略资料",
skipped: "已移至稍后处理",
restore: "已恢复待处理"
})[e];
-async function FY(e) {
- let t = await B(Jwe, e);
- for (let e of ["later", "ignored"]) if (!t.queues?.[e]?.sections || !t.queues[e].counts) throw Error(`${kY[e]}状态未取得,请刷新或更新写入端`);
+async function PY(e) {
+ let t = await B(nTe, e);
+ for (let e of ["later", "ignored"]) if (!t.queues?.[e]?.sections || !t.queues[e].counts) throw Error(`${OY[e]}状态未取得,请刷新或更新写入端`);
return t;
}
-async function hTe(e) {
- let t = await V(Ywe, e);
+async function CTe(e) {
+ let t = await V(rTe, e);
if (t.ok && t.asset_revisions) {
let e = t.asset_revisions;
- H.setQueryData(TY, (t) => t && tTe(t, (t) => ({
+ H.setQueryData(wY, (t) => t && lTe(t, (t) => ({
...t,
sections: {
...t.sections,
@@ -62349,33 +62427,33 @@ async function hTe(e) {
}
return t;
}
-function gTe(e, t) {
- let n = H.getQueryData(TY);
- return n && OY.flatMap((t) => jY(n, t).sections[e] || []).find((e) => e.item_key === t.item_key) || t;
+function wTe(e, t) {
+ let n = H.getQueryData(wY);
+ return n && DY.flatMap((t) => AY(n, t).sections[e] || []).find((e) => e.item_key === t.item_key) || t;
}
-var _Te = (e, t) => V(Xwe, {
+var TTe = (e, t) => V(iTe, {
genre: e,
tag: t
});
-async function vTe(e) {
+async function ETe(e) {
await H.fetchQuery({
- queryKey: TY,
- queryFn: () => FY(e)
+ queryKey: wY,
+ queryFn: () => PY(e)
});
}
-function yTe(e, t, n) {
+function DTe(e, t, n) {
let r = new Set(t);
- r.size && H.setQueryData(TY, (t) => {
+ r.size && H.setQueryData(wY, (t) => {
if (!t) return t;
- let i = OY.flatMap((n) => jY(t, n).sections[e] || []).filter((e) => r.has(e.item_key));
+ let i = DY.flatMap((n) => AY(t, n).sections[e] || []).filter((e) => r.has(e.item_key));
if (!i.length) return t;
let a = {
skipped: "later",
rejected: "ignored",
restore: "pending",
approved: null
- }[n], o = Object.fromEntries(OY.map((o) => {
- let s = jY(t, o), c = (s.sections[e] || []).filter((e) => !r.has(e.item_key)), l = a === o ? [...c, ...i.map((e) => ({
+ }[n], o = Object.fromEntries(DY.map((o) => {
+ let s = AY(t, o), c = (s.sections[e] || []).filter((e) => !r.has(e.item_key)), l = a === o ? [...c, ...i.map((e) => ({
...e,
decision: n === "restore" ? "pending" : n,
decision_note: ""
@@ -62402,254 +62480,258 @@ function yTe(e, t, n) {
};
});
}
-var bTe = () => H.invalidateQueries({
- queryKey: TY,
+var OTe = () => H.invalidateQueries({
+ queryKey: wY,
exact: !0
});
-function xTe(e, t) {
+function kTe(e, t) {
return e?.state === "live" ? "正在显示写入端的实时复核队列" : e?.state === "cached" ? `写入端暂时不可达,显示 ${Cr(e.fetched_at)} 的缓存` : e?.error || t;
}
// src/react/data-cleanup/links.ts
-var STe = "/api/links", IY = "/api/links/check", LY = "/api/links/prune", RY = ["links"], zY = ["links", "check"], BY = ["links", "prune"], CTe = {
+var ATe = "/api/links", FY = "/api/links/check", IY = "/api/links/prune", LY = ["links"], RY = ["links", "check"], zY = ["links", "prune"], jTe = {
official: "官网/事务所",
social: "社交账号",
catalog: "作品资料站",
source_reference: "资料出处"
};
-async function VY(e) {
+async function BY(e) {
let t = await e;
if (t.ok === !1) throw Error(t.error || "操作未完成,请重试");
return t;
}
-var HY = (e) => B(STe, e), UY = (e) => V(IY, { status_only: !0 }, "POST", e), wTe = ({ retry: e, checkId: t }) => VY(V(IY, e ? {
+var VY = (e) => B(ATe, e), HY = (e) => V(FY, { status_only: !0 }, "POST", e), MTe = ({ retry: e, checkId: t }) => BY(V(FY, e ? {
retry: e,
check_id: t
-} : { restart: !0 })), WY = (e) => B(LY, e), TTe = ({ checkId: e, ids: t }) => VY(V(LY, {
+} : { restart: !0 })), UY = (e) => B(IY, e), NTe = ({ checkId: e, ids: t }) => BY(V(IY, {
confirm: !0,
check_id: e,
background: !0,
...t ? { ids: t } : {}
-})), GY = (e) => Number(e || 0).toLocaleString(), ETe = (e) => `已删除 ${GY(e.removed)} 条;${e.marked ? `已隐退女优的 ${GY(e.marked)} 条留作不可点的记录;` : ""}保留 ${GY(e.recovered)} 条未确认失效的链接。`;
-function DTe(e) {
+})), WY = (e) => Number(e || 0).toLocaleString(), PTe = (e) => `已删除 ${WY(e.removed)} 条;${e.marked ? `已隐退女优的 ${WY(e.marked)} 条留作不可点的记录;` : ""}保留 ${WY(e.recovered)} 条未确认失效的链接。`;
+function FTe(e) {
let t = e.scope === "retry";
- return e.total ? `${t ? "已重验" : "已检查"} ${GY(e.checked)} / ${GY(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
+ return e.total ? `${t ? "已重验" : "已检查"} ${WY(e.checked)} / ${WY(e.total)} 条链接` : t ? "正在重验链接" : "正在检查链接";
}
// src/configuration-endpoints.ts
-var KY = "/api/configuration", qY = "/api/pick-folder", JY = "/api/settings", YY = "/api/follow/schedule", XY = "/api/feeds/schedule", ZY = "/api/thumbnail-jobs", QY = ["settings"], $Y = ["follow-schedule"], eX = ["feed-schedule"], tX = ["thumbnail-jobs"], nX = "/api/media-processing", OTe = ["media-processing"], kTe = (e) => B(nX, e), rX = (e) => B(JY, e), ATe = (e) => B(YY, e), jTe = (e) => B(XY, e), MTe = (e) => B(ZY, e);
-function NTe(e = H) {
+var GY = "/api/configuration", KY = "/api/pick-folder", qY = "/api/settings", JY = "/api/follow/schedule", YY = "/api/feeds/schedule", XY = "/api/thumbnail-jobs", ZY = ["settings"], QY = ["follow-schedule"], $Y = ["feed-schedule"], eX = ["thumbnail-jobs"], tX = "/api/media-processing", ITe = ["media-processing"], LTe = (e) => B(tX, e), nX = (e) => B(qY, e), RTe = (e) => B(JY, e), zTe = (e) => B(YY, e), BTe = (e) => B(XY, e);
+function VTe(e = H) {
return e.fetchQuery({
- queryKey: QY,
- queryFn: ({ signal: e }) => rX(e),
+ queryKey: ZY,
+ queryFn: ({ signal: e }) => nX(e),
staleTime: 0
}).catch(() => null);
}
-function iX() {
+function rX() {
return It({
- mutationFn: (e) => V(JY, e),
- onSuccess: (e) => H.setQueryData(QY, e)
+ mutationFn: (e) => V(qY, e),
+ onSuccess: (e) => H.setQueryData(ZY, e)
});
}
-function PTe() {
+function HTe() {
return It({
- mutationFn: (e) => V(YY, {
+ mutationFn: (e) => V(JY, {
enabled: e > 0,
interval_minutes: e || 60
}),
- onSuccess: (e) => H.setQueryData($Y, e)
+ onSuccess: (e) => H.setQueryData(QY, e)
});
}
-var FTe = {
+var UTe = {
follow: {
- url: `${YY}/run`,
- key: $Y
+ url: `${JY}/run`,
+ key: QY
},
feed: {
- url: `${XY}/run`,
- key: eX
+ url: `${YY}/run`,
+ key: $Y
}
};
-function ITe(e) {
- let { url: t, key: n } = FTe[e];
+function WTe(e) {
+ let { url: t, key: n } = UTe[e];
return It({
mutationFn: () => V(t, {}),
onSuccess: (e) => H.setQueryData(n, e)
});
}
-var LTe = (e) => e?.running ? 3e3 : !1;
-function RTe() {
+var GTe = (e) => e?.running ? 3e3 : !1;
+function KTe() {
return It({
- mutationFn: (e) => V(ZY, { mode: e }),
- onSuccess: (e) => H.setQueryData(tX, e)
+ mutationFn: (e) => V(XY, { mode: e }),
+ onSuccess: (e) => H.setQueryData(eX, e)
});
}
// src/react/data-cleanup/organize.ts
-var zTe = "/api/organize", BTe = "/api/organize/preview", VTe = "/api/organize/apply", HTe = "/api/organize/rollback", aX = ["organize"], UTe = "/api/organize/example", WTe = (e, t, n) => B(`${UTe}?${new URLSearchParams({
+var qTe = "/api/organize", JTe = "/api/organize/preview", YTe = "/api/organize/apply", XTe = "/api/organize/rollback", iX = ["organize"], ZTe = "/api/organize/example", QTe = (e, t, n) => B(`${ZTe}?${new URLSearchParams({
file_template: e,
dir_template: t
-})}`, n), oX = (e) => B(zTe, e);
-async function GTe(e) {
+})}`, n), aX = (e) => B(qTe, e);
+async function $Te(e) {
await H.fetchQuery({
- queryKey: aX,
- queryFn: () => oX(e)
+ queryKey: iX,
+ queryFn: () => aX(e)
});
}
-var KTe = (e) => V(BTe, e), qTe = (e) => V(qY, { initial: e }), JTe = (e) => e.kind === "apply" ? V(VTe, {
+var eEe = (e) => V(JTe, e), tEe = (e) => V(KY, { initial: e }), nEe = (e) => e.kind === "apply" ? V(YTe, {
...e.request,
confirm: !0
-}) : V(HTe, { confirm: !0 });
-async function YTe(e) {
- H.setQueryData(aX, (t) => t && {
+}) : V(XTe, { confirm: !0 });
+async function rEe(e) {
+ H.setQueryData(iX, (t) => t && {
...t,
templates: e
});
try {
- await V(JY, { organizeTemplates: e });
+ await V(qY, { organizeTemplates: e });
} catch {}
}
-var XTe = (e, t) => e && {
+var iEe = (e, t) => e && {
...e,
...t
-}, ZTe = /目录模板|分隔符|盘符|`\.`/;
-function QTe(e) {
+}, aEe = /目录模板|分隔符|盘符|`\.`/;
+function oEe(e) {
let t = String(e || "");
return t.slice(Math.max(t.lastIndexOf("\\"), t.lastIndexOf("/")) + 1);
}
-var sX = (e) => Number(e || 0).toLocaleString();
-function $Te(e) {
- let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${sX(t)}`).join(" · ");
- return Number(e.counts?.change || 0) ? `${sX(e.counts.change)} 个文件会改名或移动,${sX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
+var oX = (e) => Number(e || 0).toLocaleString();
+function sEe(e) {
+ let t = Object.entries(e.reasons || {}).sort((e, t) => t[1] - e[1]).map(([e, t]) => `${e} ${oX(t)}`).join(" · ");
+ return Number(e.counts?.change || 0) ? `${oX(e.counts.change)} 个文件会改名或移动,${oX(e.counts.unchanged)} 个已经就是目标名字${t ? `;跳过 ${t}` : ""}。` : `没有要改的文件。${t ? `跳过:${t}。` : ""}`;
}
-function eEe(e) {
+function cEe(e) {
let t = e.restored !== void 0, n = Number(e.failed || 0), r = Number(t ? e.restored : e.moved || 0);
return {
- text: t ? `已退回 ${sX(r)} 个文件${n ? `,${sX(n)} 行未能退回` : ""}。` : `已整理 ${sX(r)} 个文件${n ? `,${sX(n)} 行未能处理` : ""}。`,
+ text: t ? `已退回 ${oX(r)} 个文件${n ? `,${oX(n)} 行未能退回` : ""}。` : `已整理 ${oX(r)} 个文件${n ? `,${oX(n)} 行未能处理` : ""}。`,
failed: n,
rollback: t
};
}
// src/react/data-cleanup/orphan-records.ts
-var tEe = "/api/orphan-records", nEe = "/api/orphan-records/attach", cX = ["orphan-records"], rEe = [
+var lEe = "/api/orphan-records", uEe = "/api/orphan-records/attach", sX = ["orphan-records"], dEe = [
["asset_preference", "喜欢与理由"],
["watch_queue", "稍后看"],
["playlist_item", "播放列表"],
["asset_quality_goal", "寻找更好版本"],
["activity_event", "观看历史"],
["asset_tag_preference", "隐藏标签"]
-], lX = (e) => B(tEe, e), iEe = (e, t) => V(nEe, {
+], cX = (e) => B(lEe, e), fEe = (e, t) => V(uEe, {
id: e,
target: t
-}), aEe = (e) => V(pY, {
+}), pEe = (e) => V(fY, {
ids: Array.isArray(e) ? e : [e],
operation: "delete"
-}), oEe = (e) => [
+}), mEe = (e) => [
e.rating ? `评分 ${e.rating}` : "",
e.play_count ? `播放 ${Number(e.play_count).toLocaleString()} 次` : e.last_played ? "播放过" : "",
e.o_count ? `高潮 ${Number(e.o_count).toLocaleString()} 次` : ""
-], sEe = (e) => [...rEe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...oEe(e)].filter(Boolean).join(" · "), cEe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", lEe = (e) => [e.name, cEe(e.duration)].filter(Boolean).join(" · "), uX = "/api/resource-sync/scan", dX = "/api/resource-sync/apply", fX = ["resource-sync", "scan"], pX = ["resource-sync", "apply"], mX = (e) => V(uX, {
+], hEe = (e) => [...dEe.filter(([t]) => e[t]).map(([t, n]) => `${n} ${Number(e[t]).toLocaleString()}`), ...mEe(e)].filter(Boolean).join(" · "), gEe = (e) => e ? `${Math.round(e / 60)} 分钟` : "", _Ee = (e) => [e.name, gEe(e.duration)].filter(Boolean).join(" · "), lX = "/api/resource-sync/scan", uX = "/api/resource-sync/apply", dX = ["resource-sync", "scan"], fX = ["resource-sync", "apply"], pX = (e) => V(lX, {
background: !0,
status_only: !0
-}, "POST", e), uEe = () => V(uX, {
+}, "POST", e), vEe = () => V(lX, {
background: !0,
restart: !0
-}), hX = (e) => B(dX, e), dEe = (e) => V(dX, {
+}), mX = (e) => B(uX, e), yEe = (e) => V(uX, {
confirm: !0,
clean_cache: !0,
scan_id: e,
background: !0
-}), gX = (e) => (e?.sources ?? []).some((e) => _n.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
-async function fEe(e) {
- gX(H.getQueryData(yr)) && await Promise.all([H.fetchQuery({
+}), hX = (e) => (e?.sources ?? []).some((e) => _n.includes(e.location) && Array.isArray(e.roots) && e.roots.length > 0);
+async function bEe(e) {
+ hX(H.getQueryData(yr)) && await Promise.all([H.fetchQuery({
+ queryKey: dX,
+ queryFn: () => pX(e)
+ }), H.fetchQuery({
queryKey: fX,
queryFn: () => mX(e)
- }), H.fetchQuery({
- queryKey: pX,
- queryFn: () => hX(e)
})]);
}
-var pEe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), _X = (e) => Number(e || 0).toLocaleString(), mEe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", vX = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), yX = (e) => e.vanish ? `${_X(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", bX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", hEe = (e) => `将永久删除文件已不在盘上的 ${_X(vX(e))} 条记录和 ${_X(e.empty)} 个空文件夹,并清理 ${_X(e.cache?.files)} 个闲置缓存。${bX(e)}${yX(e)}`, gEe = (e) => `将永久删除文件已不在盘上的 ${_X(vX(e))} 条记录(含回收站里的)、${_X(e.empty)} 个空文件夹,并清理 ${_X(e.cache?.files)} 个闲置缓存。来源根目录保留。${bX(e)}${yX(e)}`, _Ee = (e) => e.online ? [
- `找不到文件 · 共 ${_X(e.total)} 项`,
- e.vanish ? `${_X(e.vanish)} 项带个人记录` : "",
- e.empty ? `空文件夹 ${_X(e.empty)} 个` : ""
-].filter(Boolean).join(" · ") : `馆藏中有 ${_X(e.total)} 项`;
-function xX(e) {
+var xEe = (e) => !!(e?.missing || e?.empty || e?.cache?.files), gX = (e) => Number(e || 0).toLocaleString(), SEe = (e) => e.total_sources ? `已扫描 ${e.completed_sources || 0}/${e.total_sources} 个来源` : "正在扫描来源", _X = (e) => e.purge ?? Number(e.missing || 0) - Number(e.vanish || 0), vX = (e) => e.vanish ? `${gX(e.vanish)} 条作品记录的文件已丢失,个人记录保留,可在「文件已丢失的记录」中转移个人记录或删除记录。` : "", yX = (e) => e.vanish ? "这几样不可撤销。" : "这一步不可撤销。", CEe = (e) => `将永久删除文件已不在盘上的 ${gX(_X(e))} 条记录和 ${gX(e.empty)} 个空文件夹,并清理 ${gX(e.cache?.files)} 个闲置缓存。${yX(e)}${vX(e)}`, wEe = (e) => `将永久删除文件已不在盘上的 ${gX(_X(e))} 条记录(含回收站里的)、${gX(e.empty)} 个空文件夹,并清理 ${gX(e.cache?.files)} 个闲置缓存。来源根目录保留。${yX(e)}${vX(e)}`, TEe = (e) => e.online ? [
+ `找不到文件 · 共 ${gX(e.total)} 项`,
+ e.vanish ? `${gX(e.vanish)} 项带个人记录` : "",
+ e.empty ? `空文件夹 ${gX(e.empty)} 个` : ""
+].filter(Boolean).join(" · ") : `馆藏中有 ${gX(e.total)} 项`;
+function bX(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 ? `${_X(t.length)} 条记录没有删除(${o})` : "",
- n ? `${_X(n)} 个文件夹没有删除` : "",
- r.length ? `${_X(r.length)} 个缓存没有清理` : ""
+ t.length ? `${gX(t.length)} 条记录没有删除(${o})` : "",
+ n ? `${gX(n)} 个文件夹没有删除` : "",
+ r.length ? `${gX(r.length)} 个缓存没有清理` : ""
].filter(Boolean).join(",")
};
}
-var vEe = (e, t) => {
- let { rest: n } = xX(e), r = `已永久删除 ${_X(e.purged)} 条失效记录和 ${_X(e.dirs_removed)} 个空文件夹,清理 ${_X(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${_X(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${_X(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
+var EEe = (e, t) => {
+ let { rest: n } = bX(e), r = `已永久删除 ${gX(e.purged)} 条失效记录和 ${gX(e.dirs_removed)} 个空文件夹,清理 ${gX(e.cache_removed)} 个缓存,释放 ${t(e.bytes_reclaimed || 0)}。` + (e.vanished ? `${gX(e.vanished)} 条作品记录已标为文件丢失,可在「文件已丢失的记录」中处理。` : "") + (e.reattached ? `${gX(e.reattached)} 条的记录已接到库里的另一个版本。` : "");
return n ? `${r}${n},重新检查后可再试。` : r;
-}, SX = ["performer-delete-candidates"], CX = (e) => B("/api/performer/delete-candidates", e), yEe = (e, t) => B(`/api/performer/delete-plan?${new URLSearchParams({ ids: e.join(",") })}`, t), bEe = (e) => V("/api/performer/delete", {
+}, xX = ["performer-delete-candidates"], SX = (e) => B("/api/performer/delete-candidates", e), DEe = (e, t) => B(`/api/performer/delete-plan?${new URLSearchParams({ ids: e.join(",") })}`, t), OEe = (e) => V("/api/performer/delete", {
entity_ids: e.entity_ids,
plan: e.plan
-}), xEe = "/api/review?counts=1", wX = ["review", "counts"], SEe = "/api/ads?limit=1", TX = ["junk-summary"], EX = "/api/items?state=trash&limit=1", DX = ["trash-summary"], CEe = [
+}), kEe = "/api/review?counts=1", CX = ["review", "counts"], AEe = "/api/ads?limit=1", wX = ["junk-summary"], TX = "/api/items?state=trash&limit=1", EX = ["trash-summary"], jEe = [
["video", "视频"],
["image", "图片"],
["archive", "压缩包"],
["audio", "音频"],
["url", "网址"],
["other", "其它"]
-], OX = (e) => B(xEe, e), kX = (e) => B(SEe, e), AX = (e) => {
+], DX = (e) => B(kEe, e), OX = (e) => B(AEe, e), kX = (e) => {
let t = sessionStorage.getItem("peach.library");
- return B(t ? `${EX}&library=${encodeURIComponent(t)}` : EX, e);
-}, jX = (e) => Number(e || 0).toLocaleString();
-function wEe(e) {
- let t = EY, 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 B(t ? `${TX}&library=${encodeURIComponent(t)}` : TX, e);
+}, AX = (e) => Number(e || 0).toLocaleString();
+function MEe(e) {
+ let t = TY, 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 TEe(e) {
+function NEe(e) {
if (!e) return "";
- let t = CEe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${jX(e.counts[t])}`);
- return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${jX(e.dismissed_total)}`), t.join(" · ");
+ let t = jEe.filter(([t]) => Number(e.counts?.[t]) > 0).map(([t, n]) => `${n} ${AX(e.counts[t])}`);
+ return Number(e.dismissed_total) > 0 && t.push(`已忽略 ${AX(e.dismissed_total)}`), t.join(" · ");
}
-var EEe = [
+var PEe = [
+ [CX, ({ signal: e }) => DX(e)],
+ [xY, ({ signal: e }) => SY(e)],
+ [EX, ({ signal: e }) => kX(e)],
[wX, ({ signal: e }) => OX(e)],
- [SY, ({ signal: e }) => CY(e)],
- [DX, ({ signal: e }) => AX(e)],
- [TX, ({ signal: e }) => kX(e)],
- [fY, ({ signal: e }) => mY(e)]
+ [dY, ({ signal: e }) => pY(e)]
];
-async function DEe(e) {
- for (let [t, n] of EEe) H.prefetchQuery({
+async function FEe(e) {
+ for (let [t, n] of PEe) H.prefetchQuery({
queryKey: t,
queryFn: () => n({ signal: e })
});
- await lH(e);
+ await cH(e);
}
-async function OEe(e, t) {
+async function IEe(e, t) {
switch (e) {
case "organize":
- await GTe(t);
+ await $Te(t);
break;
case "media-repair":
- await Hwe(t);
+ await Xwe(t);
break;
case "resource-sync":
- await dY(t), await fEe(t);
+ await uY(t), await bEe(t);
break;
case "orphan-records":
await H.prefetchQuery({
- queryKey: cX,
- queryFn: () => lX(t)
+ queryKey: sX,
+ queryFn: () => cX(t)
});
break;
case "batch-delete":
await H.prefetchQuery({
- queryKey: SX,
- queryFn: () => CX(t)
+ queryKey: xX,
+ queryFn: () => SX(t)
});
break;
case "links": await Promise.all([
+ H.prefetchQuery({
+ queryKey: LY,
+ queryFn: () => VY(t)
+ }),
H.prefetchQuery({
queryKey: RY,
queryFn: () => HY(t)
@@ -62657,17 +62739,13 @@ async function OEe(e, t) {
H.prefetchQuery({
queryKey: zY,
queryFn: () => UY(t)
- }),
- H.prefetchQuery({
- queryKey: BY,
- queryFn: () => WY(t)
})
]);
}
}
// src/react/feed-new/feed-new.ts
-var MX = (e) => ["feed-new", e ?? "home"], kEe = 8, AEe = 1500;
-function jEe(e, t, n) {
+var jX = (e) => ["feed-new", e ?? "home"], LEe = 8, REe = 1500;
+function zEe(e, t, n) {
let r = document.createElement("template");
r.innerHTML = e;
let i = [...r.content.querySelectorAll("img[src]")].slice(0, t).map((e) => {
@@ -62678,33 +62756,33 @@ function jEe(e, t, n) {
setTimeout(e, n);
})]);
}
-async function MEe(e, t, n) {
- let r = new URLSearchParams({ limit: String(oM().value.feedLimit) });
+async function BEe(e, t, n) {
+ let r = new URLSearchParams({ limit: String(nM().value.feedLimit) });
e && r.set("entity", String(e));
let i = await Tn(`/api/feeds/discoveries?${r}`).catch(() => null), a = i && !i.error ? i : null, o = a?.items || [], s = t(a, e ? "" : "/jav?tab=releases");
- return n && o.length && await jEe(s, kEe, AEe), {
+ return n && o.length && await zEe(s, LEe, REe), {
items: o,
html: s,
fetching: o.some((e) => e.cover_fetching && !e.has_cover)
};
}
-var NX = (e, t, n = !1) => ({
- queryKey: MX(e),
- queryFn: () => MEe(e, t, n),
+var MX = (e, t, n = !1) => ({
+ queryKey: jX(e),
+ queryFn: () => BEe(e, t, n),
staleTime: Infinity,
refetchInterval: (e) => e.state.data?.fetching ? 2e3 : !1
-}), PX = (e, t) => Tn("/api/feeds/discovery", {
+}), NX = (e, t) => Tn("/api/feeds/discovery", {
method: "POST",
body: JSON.stringify({
action: t,
ids: [e]
})
}).then(() => void 0, () => void 0);
-async function NEe(e) {
- H.removeQueries({ queryKey: MX(null) }), await H.fetchQuery(NX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
+async function VEe(e) {
+ H.removeQueries({ queryKey: jX(null) }), await H.fetchQuery(MX(null, e.helpers.feedRowHtml, e.host.getAttribute("aria-busy") === "true"));
}
// src/react/entity-page/entity-page.ts
-var FX = [
+var PX = [
"loc",
"creator",
"tag",
@@ -62718,52 +62796,52 @@ var FX = [
"browse",
"folder",
"folder_recursive"
-], IX = {
+], FX = {
media: "videos",
set: 0
-}, LX = (e, t) => [
+}, IX = (e, t) => [
"entity",
e,
t
-], PEe = (e, t, n, r) => [
+], HEe = (e, t, n, r) => [
"entity-items",
e,
t,
n,
r
-], RX = (e, t, n, r) => [
+], LX = (e, t, n, r) => [
"entity-photos",
e,
t,
n,
r
-], zX = (e) => String(e || "").split(",").filter(Boolean), FEe = (e, t) => zX(e).includes(t);
-function BX(e, t, n, r, i = 0) {
+], RX = (e) => String(e || "").split(",").filter(Boolean), UEe = (e, t) => RX(e).includes(t);
+function zX(e, t, n, r, i = 0) {
let a = new URLSearchParams();
- a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...zX(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 FX) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
+ a.set(e, t), e === "tag" && (a.set("tag", [.../* @__PURE__ */ new Set([t, ...RX(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 PX) n[t] && t !== e && t !== "sort" && a.set(t, n[t]);
return r.jav && a.set("jav", "1"), a;
}
-async function VX(e, t, n, r, i, a, o) {
- let s = BX(e, t, n, r, i);
+async function BX(e, t, n, r, i, a, o) {
+ let s = zX(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 Tn(`/api/items?${s}`, a ? { signal: a } : {});
}
-var HX = (e) => {
+var VX = (e) => {
let t = {
jav: e.jav,
seed: e.seed
- }, n = BX(e.kind, e.name, e.filters, t).toString();
+ }, n = zX(e.kind, e.name, e.filters, t).toString();
return {
- queryKey: PEe(e.kind, e.name, n, e.revision),
- queryFn: ({ signal: n }) => VX(e.kind, e.name, e.filters, t, 0, n),
+ queryKey: HEe(e.kind, e.name, n, e.revision),
+ queryFn: ({ signal: n }) => BX(e.kind, e.name, e.filters, t, 0, n),
staleTime: Infinity
};
-}, UX = (e, t) => ({
- queryKey: LX(e, t),
+}, HX = (e, t) => ({
+ queryKey: IX(e, t),
queryFn: ({ signal: n }) => Tn(`/api/entity?kind=${encodeURIComponent(e)}&name=${encodeURIComponent(t)}`, { signal: n }),
staleTime: Infinity
});
-function IEe(e, t, n, r, i, a) {
+function WEe(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)}` : ""}`;
@@ -62772,10 +62850,10 @@ function IEe(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 WX = (e, t, n, r) => ({
- queryKey: RX(e, t, n, r),
+var UX = (e, t, n, r) => ({
+ queryKey: LX(e, t, n, r),
queryFn: async ({ pageParam: i }) => {
- let a = await Tn(IEe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
+ let a = await Tn(WEe(e, t, n, r, i?.offset || 0, i?.seed || "")).catch((e) => {
if (i) throw e;
return { error: String(e) };
});
@@ -62788,8 +62866,8 @@ var WX = (e, t, n, r) => ({
seed: t[0]?.seed || ""
} : void 0,
staleTime: Infinity
-}), GX = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
-async function LEe(e) {
+}), WX = (e) => e && !e.error ? (e.sets || []).filter((e) => e.kind === "code") : [];
+async function GEe(e) {
let { kind: t, name: n } = e;
if (!e.restoreNavigation) for (let e of [
"entity",
@@ -62800,25 +62878,25 @@ async function LEe(e) {
t,
n
] });
- e.resolvedEntity?.id && H.setQueryData(LX(t, n), e.resolvedEntity), await Promise.all([
- H.fetchQuery(UX(t, n)).then((t) => !t || t.error || !t.id ? null : (e.restoreNavigation || H.removeQueries({ queryKey: MX(Number(t.id)) }), H.fetchQuery(NX(Number(t.id), e.helpers.feedRowHtml, !0)))),
- H.fetchQuery(HX(e)),
- H.fetchInfiniteQuery(WX(t, n, 0, "")),
- e.media.media === "photos" && e.media.set ? H.fetchInfiniteQuery(WX(t, n, e.media.set, "")) : null
+ e.resolvedEntity?.id && H.setQueryData(IX(t, n), e.resolvedEntity), await Promise.all([
+ H.fetchQuery(HX(t, n)).then((t) => !t || t.error || !t.id ? null : (e.restoreNavigation || H.removeQueries({ queryKey: jX(Number(t.id)) }), H.fetchQuery(MX(Number(t.id), e.helpers.feedRowHtml, !0)))),
+ H.fetchQuery(VX(e)),
+ H.fetchInfiniteQuery(UX(t, n, 0, "")),
+ e.media.media === "photos" && e.media.set ? H.fetchInfiniteQuery(UX(t, n, e.media.set, "")) : null
]);
}
// src/identity-filter.ts
-var KX = [
+var GX = [
["all", "全部"],
["japanese_av", "女优"],
["amateur", "素人"],
["western", "西方"],
["blogger", "网黄博主"],
["animation", "动画作者"]
-], qX = "mb-4 flex flex-wrap gap-2";
-function REe(e) {
- let t = KX.some(([t]) => t === e) ? e : "all";
- return `<div class="peach-react"><div aria-label="身份分类" class="${qX}">${KX.map(([e, n]) => Os({
+], KX = "mb-4 flex flex-wrap gap-2";
+function KEe(e) {
+ let t = GX.some(([t]) => t === e) ? e : "all";
+ return `<div class="peach-react"><div aria-label="身份分类" class="${KX}">${GX.map(([e, n]) => Os({
variant: e === t ? "primary" : "secondary",
size: "small",
label: n,
@@ -62826,45 +62904,45 @@ function REe(e) {
})).join("")}</div></div>`;
}
// src/react/follow/online-vocab.ts
-var zEe = "/api/follow/authors", BEe = "/api/follow/tags", VEe = (e) => [
+var qEe = "/api/follow/authors", JEe = "/api/follow/tags", YEe = (e) => [
"follow",
"authors",
e
-], HEe = (e, t) => [
+], XEe = (e, t) => [
"follow",
"tags",
e,
t
];
-function UEe(e, t, n) {
+function ZEe(e, t, n) {
let r = new URLSearchParams({
limit: String(t),
offset: String(n)
});
- return e && r.set("q", e), `${zEe}?${r}`;
+ return e && r.set("q", e), `${qEe}?${r}`;
}
-function WEe(e, t, n, r) {
+function QEe(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), `${BEe}?${i}`;
+ return t && t !== "all" && i.set("type", t), e && i.set("q", e), `${JEe}?${i}`;
}
-var GEe = (e, t, n, r) => B(UEe(e, t, n), r), KEe = (e, t, n, r, i) => B(WEe(e, t, n, r), i), qEe = "/api/index", JX = {
+var $Ee = (e, t, n, r) => B(ZEe(e, t, n), r), eDe = (e, t, n, r, i) => B(QEe(e, t, n, r), i), tDe = "/api/index", qX = {
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所",
series: "系列",
tags: "标签"
-}, JEe = {
+}, nDe = {
performers: "performer",
creators: "creator",
studios: "studio",
agencies: "agency",
series: "series"
-}, YX = [
+}, JX = [
["all", "全部"],
["meta", "影片属性"],
["relationship", "人物关系"],
@@ -62874,31 +62952,31 @@ var GEe = (e, t, n, r) => B(UEe(e, t, n), r), KEe = (e, t, n, r, i) => B(WEe(e,
["story", "故事剧情"],
["position", "性交体位"],
["general", "其他内容"]
-], XX = [
+], YX = [
["all", "全部"],
["general", "通用"],
["artist", "创作者"],
["character", "角色"],
["copyright", "作品"],
["metadata", "元数据"]
-], ZX = {
+], XX = {
people: 120,
tags: 100
-}, QX = (e) => e !== "tags", $X = (e) => e === "studios" || e === "agencies";
-function eZ(e) {
- if (e.kind === "creators" && e.category === "animation") return eZ({
+}, ZX = (e) => e !== "tags", QX = (e) => e === "studios" || e === "agencies";
+function $X(e) {
+ if (e.kind === "creators" && e.category === "animation") return $X({
...e,
kind: "performers",
scope: "local"
});
- let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? XX : YX : e.kind === "performers" && t === "local" ? KX : []).some(([t]) => t === e.category);
+ let t = e.kind === "tags" || e.kind === "performers" ? e.scope : "local", n = (e.kind === "tags" ? t === "online" ? YX : JX : e.kind === "performers" && t === "local" ? GX : []).some(([t]) => t === e.category);
return {
...e,
scope: t,
category: n ? e.category : "all"
};
}
-function tZ(e) {
+function eZ(e) {
let { kind: t, q: n, scope: r, category: i } = e;
return t === "tags" ? r === "online" ? {
what: "online-tags",
@@ -62918,50 +62996,50 @@ function tZ(e) {
...i && i !== "all" ? { category: i } : {}
};
}
-var nZ = (e, t, n = "all") => [
+var tZ = (e, t, n = "all") => [
"index",
e,
t,
...e === "tags" || n !== "all" ? [n] : []
];
-function rZ(e, t, n, r, i) {
+function nZ(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), `${qEe}?${a}`;
+ return t && a.set("q", t), n !== "all" && a.set("category", n), `${tDe}?${a}`;
}
-function iZ(e, t = ZX.tags) {
- let n = e.what === "people" || e.what === "online-authors" ? ZX.people : t, r = {
+function rZ(e, t = XX.tags) {
+ let n = e.what === "people" || e.what === "online-authors" ? XX.people : t, r = {
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 {
...r,
- queryKey: nZ(e.kind, e.q, e.category || "all"),
- queryFn: ({ pageParam: t, signal: r }) => B(rZ(e.kind, e.q, e.category || "all", n, t), r)
+ queryKey: tZ(e.kind, e.q, e.category || "all"),
+ queryFn: ({ pageParam: t, signal: r }) => B(nZ(e.kind, e.q, e.category || "all", n, t), r)
};
case "tags": return {
...r,
- queryKey: nZ("tags", e.q, e.category),
- queryFn: ({ pageParam: t, signal: r }) => B(rZ("tags", e.q, e.category, n, t), r)
+ queryKey: tZ("tags", e.q, e.category),
+ queryFn: ({ pageParam: t, signal: r }) => B(nZ("tags", e.q, e.category, n, t), r)
};
case "online-authors": return {
...r,
- queryKey: VEe(e.q),
- queryFn: ({ pageParam: t, signal: r }) => GEe(e.q, n, t, r)
+ queryKey: YEe(e.q),
+ queryFn: ({ pageParam: t, signal: r }) => $Ee(e.q, n, t, r)
};
case "online-tags": return {
...r,
- queryKey: HEe(e.q, e.category),
- queryFn: ({ pageParam: t, signal: r }) => KEe(e.q, e.category, n, t, r)
+ queryKey: XEe(e.q, e.category),
+ queryFn: ({ pageParam: t, signal: r }) => eDe(e.q, e.category, n, t, r)
};
}
}
-async function YEe(e, t) {
- let n = iZ(tZ(eZ(e)));
+async function rDe(e, t) {
+ let n = rZ(eZ($X(e)));
await H.fetchInfiniteQuery({
queryKey: n.queryKey,
queryFn: ({ pageParam: e }) => n.queryFn({
@@ -62973,20 +63051,20 @@ async function YEe(e, t) {
staleTime: Infinity
});
}
-var XEe = (e) => e ? e.pages.flatMap((e) => e.items) : [], ZEe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, aZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", QEe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, $Ee = {
+var iDe = (e) => e ? e.pages.flatMap((e) => e.items) : [], aDe = (e, t) => `${e.toLocaleString()}${t ? "+" : ""} 项`, iZ = (e, t) => e ? `r34-${t || "unknown"}` : t || "general", oDe = (e, t) => e === "agencies" ? `${(t.members || 0).toLocaleString()} 人` : `${(t.n || 0).toLocaleString()} 个视频`, sDe = {
numeric: !0,
sensitivity: "base"
};
-function oZ(e, t) {
+function aZ(e, t) {
let n = /* @__PURE__ */ new Map();
- for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", $Ee))) {
+ for (let r of [...e].sort((e, t) => e.k.localeCompare(t.k, "zh-CN", sDe))) {
let e = er(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]);
}
return [...n].sort(([e], [t]) => e.localeCompare(t, "zh-CN"));
}
// src/react/index/index-people.tsx
-function sZ({ html: e, face: t, company: n, big: r }) {
+function oZ({ html: e, face: t, company: n, big: r }) {
let i = (0, F.useRef)(null);
return (0, F.useLayoutEffect)(() => {
t ? i.current?.style.setProperty("--face", t) : i.current?.style.removeProperty("--face");
@@ -62998,18 +63076,18 @@ function sZ({ html: e, face: t, company: n, big: r }) {
dangerouslySetInnerHTML: { __html: e }
});
}
-var eDe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", tDe = hV("rss");
-function cZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {
+var cDe = "relative flex cursor-pointer flex-col gap-2 p-3 text-inherit", lDe = mV("rss");
+function sZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a, ...o }) {
return /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
...o,
"data-index-cell": "",
onClick: a,
- className: TU({
+ className: wU({
radius: "plain",
padding: "none",
interactive: !0,
- className: `${eDe} ${n ? "items-stretch text-left" : "items-center text-center"}`
+ className: `${cDe} ${n ? "items-stretch text-left" : "items-center text-center"}`
}),
children: [
r,
@@ -63018,10 +63096,10 @@ function cZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a
role: "img",
"aria-label": "已订阅新作",
className: "index-feed-mark absolute top-4 right-4 z-2 inline-flex",
- children: /* @__PURE__ */ (0, I.jsx)(JU, {
+ children: /* @__PURE__ */ (0, I.jsx)(qU, {
variant: "caption",
color: "soft",
- children: /* @__PURE__ */ (0, I.jsx)(tDe, {})
+ children: /* @__PURE__ */ (0, I.jsx)(lDe, {})
})
}) : null,
/* @__PURE__ */ (0, I.jsx)("span", {
@@ -63037,9 +63115,9 @@ function cZ({ name: e, readout: t, big: n, children: r, following: i, onPress: a
]
});
}
-function lZ({ kind: e, items: t, layout: n, props: r }) {
- let i = $X(e) || e === "series";
- oL();
+function cZ({ kind: e, items: t, layout: n, props: r }) {
+ let i = QX(e) || e === "series";
+ aL();
let a = n === "big";
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-index-grid": "",
@@ -63047,16 +63125,16 @@ function lZ({ kind: e, items: t, layout: n, props: r }) {
"data-cells": i ? "company" : "people",
className: `${i ? "index-grid-company" : "index-grid-person"} gap-3`,
children: t.map((t) => {
- let n = t.entity_kind || JEe[e], o = r.personAvatar(t, n, a);
- return /* @__PURE__ */ (0, I.jsx)(cZ, {
+ let n = t.entity_kind || nDe[e], o = r.personAvatar(t, n, a);
+ return /* @__PURE__ */ (0, I.jsx)(sZ, {
"data-k": t.k,
"data-kind": n,
name: nn(n, t.k, t.entity_id),
- readout: `${QEe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
+ readout: `${oDe(e, t)}${t.identity_labels?.length ? " · " + t.identity_labels.join(" / ") : ""}`,
big: a,
following: t.following,
onPress: () => r.openEntity(n, t.k),
- children: /* @__PURE__ */ (0, I.jsx)(sZ, {
+ children: /* @__PURE__ */ (0, I.jsx)(oZ, {
html: o.html,
face: o.face,
company: i,
@@ -63066,15 +63144,15 @@ function lZ({ kind: e, items: t, layout: n, props: r }) {
})
});
}
-function nDe({ items: e, layout: t, props: n }) {
- oL();
+function uDe({ items: e, layout: t, props: n }) {
+ aL();
let r = t === "big";
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-index-grid": "",
"data-layout": t,
"data-cells": "people",
className: "index-grid-person gap-3",
- children: e.map((e) => /* @__PURE__ */ (0, I.jsx)(cZ, {
+ children: e.map((e) => /* @__PURE__ */ (0, I.jsx)(sZ, {
"data-follow-author": e.key,
"data-kind": "performer",
name: nn("creator", e.k, e.entity_id),
@@ -63083,7 +63161,7 @@ function nDe({ 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, I.jsx)(sZ, {
+ children: /* @__PURE__ */ (0, I.jsx)(oZ, {
html: n.authorAvatar(e),
company: !1,
big: r
@@ -63092,8 +63170,8 @@ function nDe({ items: e, layout: t, props: n }) {
});
}
// src/board-tooltip.ts
-var uZ = (e) => e.replace(/\s+/g, " ").trim();
-function dZ(e) {
+var lZ = (e) => e.replace(/\s+/g, " ").trim();
+function uZ(e) {
let t = document.createTreeWalker(e, NodeFilter.SHOW_TEXT), n = "", r;
for (; r = t.nextNode();) {
let e = r.parentElement;
@@ -63101,12 +63179,12 @@ function dZ(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 uZ(n);
+ return lZ(n);
}
-function fZ(e) {
+function dZ(e) {
let t = e.getBoundingClientRect();
if (t.width && t.height) {
- if (e.matches("a") && dZ(e) && !pZ(e)) {
+ if (e.matches("a") && uZ(e) && !fZ(e)) {
let t = document.createRange();
t.selectNodeContents(e);
let n = t.getBoundingClientRect();
@@ -63119,7 +63197,7 @@ function fZ(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 pZ(e) {
+function fZ(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);
@@ -63130,19 +63208,19 @@ function pZ(e) {
}
return !1;
}
-function rDe() {
+function dDe() {
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, o = !1, s = () => e.hasAttribute("data-copy-key") && !!document.querySelector("[data-copy-bar]"), c = () => s() && (o || !!e.querySelector("[data-copy-inline],[contenteditable]") || !!document.querySelector("[data-copy-choice],[data-copy-bar][aria-busy=\"true\"]")), l = (t) => {
- let n = fZ(t), r = e.getBoundingClientRect();
+ let n = dZ(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`);
}, u = () => {
clearTimeout(a), !c() && (clearTimeout(i), e.matches(":popover-open") && e.hidePopover(), e.hidden = !0, e.removeAttribute("data-copy-key"), t && (t.hasAttribute("title") || (t.title = n), r === null ? t.removeAttribute("aria-describedby") : t.setAttribute("aria-describedby", r)), t = null);
}, d = (a, o) => {
if (c() || !(a instanceof Element)) return;
let d = a.closest("[title]");
- (!t?.contains(a) || d && !d.contains(t)) && d && !d.closest(".vjs-control") && d.title.trim() && (u(), t = d, n = d.title, r = d.getAttribute("aria-describedby"), d.removeAttribute("title"), (dZ(d) !== uZ(n) || pZ(d)) && (i = setTimeout(() => {
- if (t !== d || !d.isConnected || !fZ(d)) return;
+ (!t?.contains(a) || d && !d.contains(t)) && d && !d.closest(".vjs-control") && d.title.trim() && (u(), t = d, n = d.title, r = d.getAttribute("aria-describedby"), d.removeAttribute("title"), (uZ(d) !== lZ(n) || fZ(d)) && (i = setTimeout(() => {
+ if (t !== d || !d.isConnected || !dZ(d)) return;
(d.closest("dialog[open]") ?? document.body).append(e), e.textContent = n;
let i = d.getAttribute("data-tooltip-copy-key");
i ? e.setAttribute("data-copy-key", i) : e.removeAttribute("data-copy-key"), e.style.pointerEvents = s() ? "auto" : "", e.hidden = !1, e.showPopover(), l(d), d.setAttribute("aria-describedby", [r, e.id].filter(Boolean).join(" "));
@@ -63167,32 +63245,32 @@ function rDe() {
e.key === "Escape" && !c() && u();
}), document.addEventListener("scroll", (n) => {
if (!t || !ds(n, t)) return;
- let r = fZ(t);
+ let r = dZ(t);
t.matches(":focus-visible") && r && r.bottom > 0 && r.top < innerHeight ? e.matches(":popover-open") && l(t) : u();
}, !0), window.addEventListener("resize", u);
}
// src/board-controls.ts
-function mZ(e) {
+function pZ(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 hZ = /* @__PURE__ */ new WeakSet();
-function iDe() {
- if (hZ.has(document)) return;
- hZ.add(document);
+var mZ = /* @__PURE__ */ new WeakSet();
+function fDe() {
+ if (mZ.has(document)) return;
+ mZ.add(document);
let e = (e) => {
- e.querySelectorAll("input[type=range]").forEach(mZ), oDe(e), aDe(e);
+ e.querySelectorAll("input[type=range]").forEach(pZ), mDe(e), pDe(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]") && mZ(t), e(t));
+ for (let n of t) for (let t of n.addedNodes) t instanceof Element && (t.matches("input[type=range]") && pZ(t), e(t));
}).observe(document.body, {
subtree: !0,
childList: !0
}), document.addEventListener("input", (e) => {
- e.target instanceof HTMLInputElement && e.target.type === "range" && mZ(e.target);
- }), rDe();
+ e.target instanceof HTMLInputElement && e.target.type === "range" && pZ(e.target);
+ }), dDe();
}
-function aDe(e) {
+function pDe(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;
@@ -63216,15 +63294,15 @@ function aDe(e) {
r.observe(e);
});
}
-var gZ = /* @__PURE__ */ new Map();
-function oDe(e) {
+var hZ = /* @__PURE__ */ new Map();
+function mDe(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 = gZ.get(n) ?? null, i = () => {
+ let n = e.className + (e.getAttribute("aria-label") ?? ""), r = hZ.get(n) ?? null, i = () => {
let i = e.querySelector("label:has(input:checked),button[aria-selected=true]");
if (!i || !i.offsetWidth) return;
let a = {
@@ -63233,7 +63311,7 @@ function oDe(e) {
w: i.offsetWidth,
h: i.offsetHeight
};
- Wc(t, r, a, "x"), r = a, gZ.set(n, a);
+ Wc(t, r, a, "x"), r = a, hZ.set(n, a);
};
e.addEventListener("change", i);
let a = new MutationObserver(i);
@@ -63249,8 +63327,8 @@ function oDe(e) {
});
}
// src/react/photo-lightbox/photo-lightbox.ts
-var _Z = "/vendor/swiper/14.4.0/", vZ = null, sDe = () => vZ ??= Promise.all([new Promise((e, t) => {
- let n = `${_Z}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
+var gZ = "/vendor/swiper/14.4.0/", _Z = null, hDe = () => _Z ??= Promise.all([new Promise((e, t) => {
+ let n = `${gZ}swiper-bundle.min.css`, r = document.querySelector(`link[href="${n}"]`);
if (r?.sheet) {
e();
return;
@@ -63264,11 +63342,11 @@ var _Z = "/vendor/swiper/14.4.0/", vZ = null, sDe = () => vZ ??= Promise.all([ne
return;
}
let r = document.createElement("script");
- r.src = `${_Z}swiper-bundle.min.js`, r.onload = () => e(window.Swiper), r.onerror = () => t(/* @__PURE__ */ Error("swiper unavailable")), document.head.append(r);
+ r.src = `${gZ}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 vZ = null, e;
+ throw _Z = null, e;
});
-function cDe(e, t, n) {
+function gDe(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);
@@ -63289,46 +63367,46 @@ function cDe(e, t, n) {
}
};
}
-var yZ = (e) => {
+var vZ = (e) => {
let t = Number(e) || 0;
return t ? (t < 1048576 ? `${Math.max(1, Math.round(t / 1024))} KB` : Xn(t)).replace(" ", "\xA0") : "大小未知";
-}, lDe = (e) => e.asset?.name || e.name || "未命名图片";
-function uDe(e, t) {
+}, _De = (e) => e.asset?.name || e.name || "未命名图片";
+function vDe(e, t) {
let n = e.asset;
- if (n) return [nr[n.location ?? ""] || n.location || "来源未知", yZ(n.size)].join(" · ");
+ if (n) return [nr[n.location ?? ""] || n.location || "来源未知", vZ(n.size)].join(" · ");
let r = t?.[0] && t[1] ? `${t[0]} × ${t[1]}` : "";
return [
e.source || "在线图片",
r,
- e.size ? yZ(e.size) : ""
+ e.size ? vZ(e.size) : ""
].filter(Boolean).join(" · ");
}
// src/react/photo-lightbox/photo-lightbox-dialog.tsx
-var bZ = null, xZ = null, dDe = 0;
-function fDe() {
- return xZ && bZ?.isConnected || (xZ?.unmount(), bZ = document.createElement("div"), bZ.className = "peach-react", bZ.dataset.photoLightboxHost = "", document.body.append(bZ), xZ = (0, zt.createRoot)(bZ)), xZ;
+var yZ = null, bZ = null, yDe = 0;
+function bDe() {
+ return bZ && yZ?.isConnected || (bZ?.unmount(), yZ = document.createElement("div"), yZ.className = "peach-react", yZ.dataset.photoLightboxHost = "", document.body.append(yZ), bZ = (0, zt.createRoot)(yZ)), bZ;
}
-async function SZ(e, t, n) {
+async function xZ(e, t, n) {
if (!t.length || e < 0 || e >= t.length) return;
let r;
try {
- r = await sDe();
+ r = await hDe();
} catch {
window.open(t[e].src, "_blank", "noopener");
return;
}
- let i = fDe();
- (0, Rt.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(pDe, {
+ let i = bDe();
+ (0, Rt.flushSync)(() => i.render(/* @__PURE__ */ (0, I.jsx)(xDe, {
slides: t,
index: e,
Swiper: r,
host: n ?? null
- }, ++dDe)));
+ }, ++yDe)));
}
-function CZ() {
- xZ && (0, Rt.flushSync)(() => xZ.render(null));
+function SZ() {
+ bZ && (0, Rt.flushSync)(() => bZ.render(null));
}
-function pDe({ slides: e, index: t, Swiper: n, host: r }) {
+function xDe({ slides: e, index: t, Swiper: n, host: r }) {
let i = e.length > 1, a = (0, F.useId)(), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (0, F.useRef)(null), [_, v] = (0, F.useState)(t), [y, b] = (0, F.useState)(100), [x, S] = (0, F.useState)({}), [C, w] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [T, E] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [D, O] = (0, F.useState)(!1), [k, A] = (0, F.useState)({
at: t,
text: ""
@@ -63371,7 +63449,7 @@ function pDe({ slides: e, index: t, Swiper: n, host: r }) {
v(this.activeIndex), i(this.activeIndex);
} }
});
- i(t, 0), h.current = cDe(e, a, b);
+ i(t, 0), h.current = gDe(e, a, b);
let m = il(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();
};
@@ -63388,13 +63466,13 @@ function pDe({ 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) : CZ());
+ e.key === "Escape" && (e.preventDefault(), e.stopImmediatePropagation(), g.current?.isOpen() ? g.current.dismiss(!0) : SZ());
};
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, F.useLayoutEffect)(() => {
- m.current && mZ(m.current);
+ m.current && pZ(m.current);
}, [y]);
let j = e[_], M = j.asset ?? null, ee = async (e) => {
if (!M || !r || e.getAttribute("aria-busy") === "true") return;
@@ -63425,18 +63503,18 @@ function pDe({ slides: e, index: t, Swiper: n, host: r }) {
"data-photo-lightbox": "",
"data-has-strip": i ? "" : void 0,
onCancel: (e) => {
- e.preventDefault(), CZ();
+ e.preventDefault(), SZ();
},
onClick: (e) => {
let t = e.target;
- g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && CZ();
+ g.current?.dismissOutside(t) || (t === o.current || t.classList.contains("swiper-zoom-container")) && SZ();
},
children: [
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-photo-close": "",
"aria-label": "关闭",
- onClick: CZ,
+ onClick: SZ,
dangerouslySetInnerHTML: { __html: R("x") }
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -63572,10 +63650,10 @@ function pDe({ slides: e, index: t, Swiper: n, host: r }) {
id: `${a}-title`,
"data-middle-truncate": "",
tabIndex: -1,
- children: lDe(j)
+ children: _De(j)
}, _), /* @__PURE__ */ (0, I.jsx)("span", {
"data-photo-detail-meta": "",
- children: uDe(j, x[_])
+ children: vDe(j, x[_])
})]
}),
/* @__PURE__ */ (0, I.jsx)("button", {
@@ -63613,41 +63691,41 @@ function pDe({ slides: e, index: t, Swiper: n, host: r }) {
});
}
// src/react/entity-body/entity-body-page.tsx
-function mDe(e) {
- return e.view === "people" && e.roster ? /* @__PURE__ */ (0, I.jsx)(hDe, {
+function SDe(e) {
+ return e.view === "people" && e.roster ? /* @__PURE__ */ (0, I.jsx)(CDe, {
roster: e.roster,
props: e
- }) : e.view === "videos" ? /* @__PURE__ */ (0, I.jsx)(gDe, { ...e }) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, I.jsx)(yDe, {
+ }) : e.view === "videos" ? /* @__PURE__ */ (0, I.jsx)(wDe, { ...e }) : e.view === "photos" && e.photos ? /* @__PURE__ */ (0, I.jsx)(DDe, {
photos: e.photos,
props: e
}, e.photos.revision) : null;
}
-var wZ = ZX.people;
-function hDe({ roster: e, props: t }) {
+var CZ = XX.people;
+function CDe({ roster: e, props: t }) {
let { helpers: n, actions: r } = t, i = (0, F.useMemo)(() => ({
personAvatar: n.personAvatar,
openEntity: r.openEntity
- }), [n, r]), [a, o] = (0, F.useState)(wZ), s = (0, F.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, F.useCallback)(async () => {
- o((e) => e + wZ);
+ }), [n, r]), [a, o] = (0, F.useState)(CZ), s = (0, F.useMemo)(() => e.people.slice(0, a), [e.people, a]), c = (0, F.useCallback)(async () => {
+ o((e) => e + CZ);
}, []);
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(lZ, {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(cZ, {
kind: e.kind,
items: s,
layout: e.layout,
props: i
- }), a < e.people.length ? /* @__PURE__ */ (0, I.jsx)(lY, {
+ }), a < e.people.length ? /* @__PURE__ */ (0, I.jsx)(cY, {
entity: !0,
load: c,
enabled: () => !0
}, a) : null] });
}
-function gDe(e) {
+function wDe(e) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-entity-grid": "",
- children: /* @__PURE__ */ (0, I.jsx)(HG, {
+ children: /* @__PURE__ */ (0, I.jsx)(VG, {
pending: !e.items,
skeletonHtml: e.skeletonHtml,
- children: e.items ? /* @__PURE__ */ (0, I.jsx)(sY, {
+ children: e.items ? /* @__PURE__ */ (0, I.jsx)(oY, {
mode: "entity",
entityKey: e.listScope || `${e.kind}:${e.name}`,
revision: e.revision,
@@ -63669,33 +63747,33 @@ function gDe(e) {
})
});
}
-var _De = (e) => Array.from({ length: e.n }, (t, n) => ({
+var TDe = (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 || "官方样张"
-})), TZ = (e) => e.sample === !0, EZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, DZ = (e) => TZ(e) ? `/sample-thumb?${EZ(e)}` : `/photo-thumb?id=${e.id}`, vDe = (e) => TZ(e) ? {
- src: `/sample-image?${EZ(e)}`,
- thumb: DZ(e),
+})), wZ = (e) => e.sample === !0, TZ = (e) => `code=${encodeURIComponent(e.code)}&n=${e.position}`, EZ = (e) => wZ(e) ? `/sample-thumb?${TZ(e)}` : `/photo-thumb?id=${e.id}`, EDe = (e) => wZ(e) ? {
+ src: `/sample-image?${TZ(e)}`,
+ thumb: EZ(e),
name: e.name,
asset: null,
source: e.source
} : {
src: `/photo?id=${e.id}`,
- thumb: DZ(e),
+ thumb: EZ(e),
name: e.name || "",
asset: e
};
-function yDe({ photos: e, props: t }) {
- let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, F.useMemo)(() => [...e.codeSets.flatMap(_De), ...e.items], [e]), [s, c] = (0, F.useState)(() => /* @__PURE__ */ new Set()), l = (0, F.useCallback)((e) => c((t) => {
+function DDe({ photos: e, props: t }) {
+ let { photoSize: n, photoLayout: r, actions: i, canLoadMore: a } = t, o = (0, F.useMemo)(() => [...e.codeSets.flatMap(TDe), ...e.items], [e]), [s, c] = (0, F.useState)(() => /* @__PURE__ */ new Set()), l = (0, F.useCallback)((e) => c((t) => {
if (t.has(e)) return t;
let n = new Set(t);
return n.add(e), n;
}), []), u = (0, F.useCallback)((e) => {
- SZ(e, o.map(vDe), { revealSource: i.revealSource });
- }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, I.jsx)(bDe, {
+ xZ(e, o.map(EDe), { revealSource: i.revealSource });
+ }, [i, o]), d = (e, t) => /* @__PURE__ */ (0, I.jsx)(ODe, {
item: e,
index: t,
lost: s.has(t),
@@ -63713,7 +63791,7 @@ function yDe({ photos: e, props: t }) {
};
}), h = p;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(OZ, {
+ m.map(({ set: e, from: t }) => /* @__PURE__ */ (0, I.jsxs)(F.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(DZ, {
label: e.code,
title: e.name,
meta: [
@@ -63725,7 +63803,7 @@ function yDe({ 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, I.jsx)(OZ, {
+ m.length && e.total ? /* @__PURE__ */ (0, I.jsx)(DZ, {
label: "本地图片",
meta: `${e.total.toLocaleString()} 张`
}) : null,
@@ -63734,14 +63812,14 @@ function yDe({ 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, I.jsx)(lY, {
+ e.hasMore ? /* @__PURE__ */ (0, I.jsx)(cY, {
entity: !0,
load: i.loadMorePhotos,
enabled: () => a?.() !== !1
}, e.items.length) : null
] });
}
-function OZ({ label: e, title: t, meta: n }) {
+function DZ({ label: e, title: t, meta: n }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-photo-group": "",
children: [
@@ -63758,7 +63836,7 @@ function OZ({ label: e, title: t, meta: n }) {
]
});
}
-function bDe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
+function ODe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
let a = e.name ?? "";
return /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -63767,7 +63845,7 @@ function bDe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
title: a,
onClick: () => i(t),
children: n ? null : /* @__PURE__ */ (0, I.jsx)("img", {
- src: DZ(e),
+ src: EZ(e),
alt: a,
loading: "lazy",
decoding: "async",
@@ -63777,9 +63855,9 @@ function bDe({ item: e, index: t, lost: n, onLose: r, onOpen: i }) {
});
}
// src/react/background-job.ts
-var xDe = 2e3, SDe = (e) => e, CDe = (e, t) => t;
-function kZ(e) {
- let { queryKey: t, jobOf: n = SDe, withJob: r = CDe, idlePollMs: i } = e, [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(null), l = (0, F.useRef)(e);
+var kDe = 2e3, ADe = (e) => e, jDe = (e, t) => t;
+function OZ(e) {
+ let { queryKey: t, jobOf: n = ADe, withJob: r = jDe, idlePollMs: i } = e, [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(null), l = (0, F.useRef)(e);
(0, F.useEffect)(() => {
l.current = e;
});
@@ -63788,7 +63866,7 @@ function kZ(e) {
queryFn: ({ signal: e }) => l.current.queryFn({ signal: e }),
refetchInterval: (e) => {
let t = e.state.data;
- return t !== void 0 && n(t)?.status === "running" ? xDe : i ?? !1;
+ return t !== void 0 && n(t)?.status === "running" ? kDe : i ?? !1;
}
}), d = It({
mutationFn: (e) => l.current.start(e),
@@ -63812,13 +63890,13 @@ function kZ(e) {
};
}
// src/react/follow-feed/follow-check.ts
-var AZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);
-function wDe(e, t) {
- return t ? AZ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];
+var kZ = (e) => [...new Set(e)].filter((e) => Number.isSafeInteger(e) && e > 0);
+function MDe(e, t) {
+ return t ? kZ(e.filter((e) => e.author_key === t || t.startsWith("entity:") && String(e.entity_id) === t.slice(7)).map((e) => e.id)) : [];
}
// src/react/follow-feed/follow-check-button.tsx
-function TDe({ sources: e, report: t }) {
- let n = AZ(e), [r, i] = (0, F.useState)(""), { running: a, start: o } = kZ({
+function NDe({ sources: e, report: t }) {
+ let n = kZ(e), [r, i] = (0, F.useState)(""), { running: a, start: o } = OZ({
queryKey: zr,
queryFn: ({ signal: e }) => vi(e),
start: (e) => xi(e),
@@ -63832,20 +63910,20 @@ function TDe({ sources: e, report: t }) {
children: [/* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
disabled: !n.length,
- ..._V(s),
+ ...gV(s),
onClick: () => {
n.length && !s && (i(""), o.mutate(n));
},
children: "检查更新"
- }), r ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ }), r ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "error",
children: r
}) : null]
});
}
// src/react/follow-feed/follow-card.tsx
-var EDe = (e) => Number(e) > 0;
-function jZ({ name: e, actions: t, children: n, ...r }) {
+var PDe = (e) => Number(e) > 0;
+function AZ({ name: e, actions: t, children: n, ...r }) {
return /* @__PURE__ */ (0, I.jsx)("a", {
...r,
href: Pn("creator", e),
@@ -63855,15 +63933,15 @@ function jZ({ name: e, actions: t, children: n, ...r }) {
children: n
});
}
-var MZ = ({ provider: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var jZ = ({ provider: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-nothumb": "",
- dangerouslySetInnerHTML: { __html: gG(e) }
+ dangerouslySetInnerHTML: { __html: hG(e) }
});
-function DDe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {
+function FDe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a, retryKey: o }) {
let [s, c] = (0, F.useState)(!1), [l, u] = (0, F.useState)(!1), [d, f] = (0, F.useState)(null);
return (0, F.useEffect)(() => {
c(!1);
- }, [o]), s ? /* @__PURE__ */ (0, I.jsx)(MZ, { provider: i }) : /* @__PURE__ */ (0, I.jsx)("img", {
+ }, [o]), s ? /* @__PURE__ */ (0, I.jsx)(jZ, { provider: i }) : /* @__PURE__ */ (0, I.jsx)("img", {
src: l ? t : e,
alt: "",
loading: "lazy",
@@ -63882,8 +63960,8 @@ function DDe({ src: e, fallback: t, width: n, height: r, provider: i, onLearn: a
} : void 0
});
}
-function ODe(e) {
- let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = ga(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) => bbe(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? va(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = ba({
+function IDe(e) {
+ let { group: t, authorSources: n, media: r, context: i, selected: a, selectMode: o, busy: s, failure: c, actions: l } = e, u = ga(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) => Obe(u.id, h ? h.index : null, e, t) : void 0, y = r === "videos" ? va(t) : [], b = (u.media_items || []).length > 1 ? u.id : y[0]?.id || u.id, x = ba({
cover: p,
coverFace: (f?.thumb_url ? f : u).face,
stack: t.stack,
@@ -63891,7 +63969,7 @@ function ODe(e) {
limit: 9
}), S = (0, F.useRef)(x.faces);
S.current = x.faces;
- let C = _K({
+ let C = gK({
load: async () => S.current,
canFlip: () => S.current.length > 1 && l.canFlip(),
referrerPolicy: "no-referrer"
@@ -63899,7 +63977,7 @@ function ODe(e) {
w.current = C.onPointerLeave;
let T = (0, F.useCallback)((e) => {
e && (e._stopHover = () => w.current());
- }, []), E = xG(u, n, i), D = _G(u), O = u.resource_provider || u.provider, k = (u.tags || []).slice(0, 3), A = wG(u, i), j = CG(t, u), M = u.status === "saved", ee = (e) => {
+ }, []), E = bG(u, n, i), D = gG(u), O = u.resource_provider || u.provider, k = (u.tags || []).slice(0, 3), A = CG(u, i), j = SG(t, u), M = u.status === "saved", ee = (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));
}, N = (e, t) => {
e.stopPropagation(), t();
@@ -63914,7 +63992,7 @@ function ODe(e) {
"data-collection": x.isMix ? "" : void 0,
"data-selected": a ? "" : void 0,
onClick: ee,
- onMouseDown: cK,
+ onMouseDown: sK,
onMouseEnter: C.onPointerEnter,
onMouseLeave: C.onPointerLeave,
children: [
@@ -63928,7 +64006,7 @@ function ODe(e) {
}), /* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-pic": "",
children: [
- p ? /* @__PURE__ */ (0, I.jsx)(DDe, {
+ p ? /* @__PURE__ */ (0, I.jsx)(FDe, {
src: p,
fallback: m,
width: _?.width,
@@ -63936,7 +64014,7 @@ function ODe(e) {
provider: O,
onLearn: v,
retryKey: e.retryKey
- }, p) : /* @__PURE__ */ (0, I.jsx)(MZ, { provider: O }),
+ }, p) : /* @__PURE__ */ (0, I.jsx)(jZ, { provider: O }),
x.faces.length > 1 ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-mix-faces": "",
hidden: !C.faces.length,
@@ -63956,7 +64034,7 @@ function ODe(e) {
"data-media-badge": "",
title: u.provider_label || u.provider,
"aria-label": `来源:${u.provider_label || u.provider}`,
- dangerouslySetInnerHTML: { __html: gG(u.provider, u.provider_label) }
+ dangerouslySetInnerHTML: { __html: hG(u.provider, u.provider_label) }
}), j ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: j }
@@ -63969,7 +64047,7 @@ function ODe(e) {
},
dangerouslySetInnerHTML: { __html: R("check") }
}) : null,
- EDe(u.duration) ? /* @__PURE__ */ (0, I.jsx)("span", {
+ PDe(u.duration) ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-duration": "",
children: Jn(u.duration)
}) : null,
@@ -64040,7 +64118,7 @@ function ODe(e) {
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-meta": "",
- children: [E.entityName ? /* @__PURE__ */ (0, I.jsx)(jZ, {
+ children: [E.entityName ? /* @__PURE__ */ (0, I.jsx)(AZ, {
name: E.entityName,
actions: l,
"data-media-avatar": "",
@@ -64058,31 +64136,31 @@ function ODe(e) {
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-media-title": "",
- dangerouslySetInnerHTML: { __html: SG(t, u) + z(D) }
+ dangerouslySetInnerHTML: { __html: xG(t, u) + z(D) }
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-byline": "",
"data-follow-byline": "",
children: [
- E.entityName ? /* @__PURE__ */ (0, I.jsx)(jZ, {
+ E.entityName ? /* @__PURE__ */ (0, I.jsx)(AZ, {
name: E.entityName,
actions: l,
"data-media-who": "",
"data-follow-author": "",
title: E.author,
- children: /* @__PURE__ */ (0, I.jsx)(WG, { name: E.author })
+ children: /* @__PURE__ */ (0, I.jsx)(UG, { name: E.author })
}) : /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-who": "",
"data-follow-author": "",
title: E.author,
- children: /* @__PURE__ */ (0, I.jsx)(WG, { name: E.author })
+ children: /* @__PURE__ */ (0, I.jsx)(UG, { name: E.author })
}),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-media-facts": "",
- children: /* @__PURE__ */ (0, I.jsx)(GG, {
+ children: /* @__PURE__ */ (0, I.jsx)(WG, {
value: u.published_at || "",
- label: DG(u),
- title: EG(u)
+ label: EG(u),
+ title: TG(u)
})
}),
E.credited ? /* @__PURE__ */ (0, I.jsx)("span", {
@@ -64092,10 +64170,10 @@ function ODe(e) {
}) : null
]
}),
- e.variant === "next" ? e.reason ? /* @__PURE__ */ (0, I.jsx)(qG, {
+ e.variant === "next" ? e.reason ? /* @__PURE__ */ (0, I.jsx)(KG, {
reasons: e.reason.reasons,
tags: e.reason.tags.map((e) => Ll(e))
- }) : null : /* @__PURE__ */ (0, I.jsx)(KG, {
+ }) : null : /* @__PURE__ */ (0, I.jsx)(GG, {
"data-follow-labels": "",
tags: k,
label: Ll,
@@ -64120,9 +64198,9 @@ function ODe(e) {
]
});
}
-var NZ = (0, F.memo)(ODe);
+var MZ = (0, F.memo)(IDe);
// src/react/components/use-masonry-grid.ts
-function kDe(e, t) {
+function LDe(e, t) {
let n = (0, F.useRef)(null);
return (0, F.useLayoutEffect)(() => {
let t = n.current;
@@ -64157,37 +64235,37 @@ function kDe(e, t) {
}, [e, t]), n;
}
// src/react/follow-manage/manage-route.ts
-var PZ = [
+var NZ = [
["list", "关注列表"],
["add", "添加关注"],
["tags", "标签管理"]
-], FZ = PZ.map(([e]) => e);
-function IZ(e) {
+], PZ = NZ.map(([e]) => e);
+function FZ(e) {
let t = new URLSearchParams(e), n = t.get("tab");
return {
- tab: FZ.find((e) => e === n) || "list",
+ tab: PZ.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 LZ(e) {
+function IZ(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 RZ(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" : LZ({
- tab: t || IZ(e).tab,
+function LZ(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" : IZ({
+ tab: t || FZ(e).tab,
page: 1,
sort: "",
dir: ""
});
}
// src/react/follow-feed/follow-feed-page.tsx
-var zZ = () => /* @__PURE__ */ (0, I.jsx)("span", {
+var RZ = () => /* @__PURE__ */ (0, I.jsx)("span", {
"data-entity-sep": "",
"aria-hidden": "true"
-}), ADe = hV("settings"), BZ = hV("chevron-down"), jDe = hV("history"), MDe = hV("arrow-up"), NDe = hV("arrow-down"), PDe = [[
+}), RDe = mV("settings"), zZ = mV("chevron-down"), zDe = mV("history"), BDe = mV("arrow-up"), VDe = mV("arrow-down"), HDe = [[
"fixed",
"固定比例",
"layout-grid"
@@ -64196,7 +64274,7 @@ var zZ = () => /* @__PURE__ */ (0, I.jsx)("span", {
"瀑布流",
"columns-2"
]];
-function FDe(e, t, n) {
+function UDe(e, t, n) {
return (0, F.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) => {
@@ -64244,7 +64322,7 @@ function FDe(e, t, n) {
n
]);
}
-function IDe(e) {
+function WDe(e) {
let { view: t, seed: n, revision: r, actions: i } = e, a = Lt(ra(t, r)), o = Ft({
queryKey: ia,
queryFn: ({ signal: e }) => aa(e)
@@ -64252,7 +64330,7 @@ function IDe(e) {
sources: s?.sources || [],
aliases: s?.author_aliases || [],
credentials: c
- }), [s, c]), u = FDe(s, t, n), d = a.isPending || a.isPlaceholderData, f = !d && !!s;
+ }), [s, c]), u = UDe(s, t, n), d = a.isPending || a.isPlaceholderData, f = !d && !!s;
(0, F.useEffect)(() => {
pm(() => location.pathname === "/follow", document.querySelector("#stats [data-filter-frame]"), { pending: d });
}, [
@@ -64286,10 +64364,10 @@ function IDe(e) {
p,
i
]);
- let m = RDe(e, !!s);
+ let m = KDe(e, !!s);
if (!s) return a.isError ? /* @__PURE__ */ (0, I.jsxs)("div", {
"data-follow-feed": "",
- children: [/* @__PURE__ */ (0, I.jsx)(VZ, {}), /* @__PURE__ */ (0, I.jsx)(VG, {
+ children: [/* @__PURE__ */ (0, I.jsx)(BZ, {}), /* @__PURE__ */ (0, I.jsx)(BG, {
message: xn(a.error),
onRetry: () => void a.refetch()
})]
@@ -64302,7 +64380,7 @@ function IDe(e) {
author: u.author,
provider: u.provider
}, {
- authors: new Map([...u.authorSources].map(([e, t]) => [e, vG(t, l)])),
+ authors: new Map([...u.authorSources].map(([e, t]) => [e, _G(t, l)])),
providers: u.providers,
works: u.workNames
}), _ = t.status ? u.counts[t.status] || 0 : u.allCount, v = u.sources.some((e) => e.can_backfill);
@@ -64311,7 +64389,7 @@ function IDe(e) {
ref: m.host,
"data-follow-progress": ""
}, m.generation),
- !m.busy && m.report ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ !m.busy && m.report ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "neutral",
title: "检查结果",
children: m.report
@@ -64320,7 +64398,7 @@ function IDe(e) {
"data-follow-feed": "",
"data-select-mode": e.selectMode ? "" : void 0,
children: [
- /* @__PURE__ */ (0, I.jsx)(VZ, { children: u.sources.length ? /* @__PURE__ */ (0, I.jsx)(J, {
+ /* @__PURE__ */ (0, I.jsx)(BZ, { children: u.sources.length ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "primary",
"data-follow-recheck": "",
"aria-label": "检查每个来源的更新",
@@ -64331,20 +64409,20 @@ function IDe(e) {
dangerouslySetInnerHTML: { __html: Bs("检查中") }
}) : "检查更新"
}) : null }),
- /* @__PURE__ */ (0, I.jsx)(zDe, {
+ /* @__PURE__ */ (0, I.jsx)(qDe, {
facets: u,
pressed: u.author,
context: l,
props: e,
onPick: (e) => h({ author: u.author === e ? "" : e })
}),
- /* @__PURE__ */ (0, I.jsx)(BDe, {
+ /* @__PURE__ */ (0, I.jsx)(JDe, {
rows: u.workRows,
pressed: t.work,
props: e,
onPick: (e) => h({ work: t.work === e ? "" : e })
}),
- /* @__PURE__ */ (0, I.jsx)(VDe, {
+ /* @__PURE__ */ (0, I.jsx)(YDe, {
facets: u,
view: t,
total: _,
@@ -64352,7 +64430,7 @@ function IDe(e) {
props: e,
route: h
}),
- /* @__PURE__ */ (0, I.jsx)(HDe, {
+ /* @__PURE__ */ (0, I.jsx)(XDe, {
conditions: g,
onDrop: (e) => i.route(Ea(t, e)),
onClear: () => h({
@@ -64364,8 +64442,8 @@ function IDe(e) {
durMax: 0
})
}),
- u.broken.length ? /* @__PURE__ */ (0, I.jsx)(UDe, { count: u.broken.length }) : null,
- /* @__PURE__ */ (0, I.jsx)(WDe, {
+ u.broken.length ? /* @__PURE__ */ (0, I.jsx)(ZDe, { count: u.broken.length }) : null,
+ /* @__PURE__ */ (0, I.jsx)(QDe, {
retryKey: a.dataUpdatedAt,
pending: d,
facets: u,
@@ -64388,14 +64466,14 @@ function IDe(e) {
"data-follow-pagination": "",
children: [s.has_more ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-page-action": "",
- children: s.groups.length < 500 ? /* @__PURE__ */ (0, I.jsxs)(lY, {
+ children: s.groups.length < 500 ? /* @__PURE__ */ (0, I.jsxs)(cY, {
entity: !0,
enabled: () => !m.busyRef.current,
load: async () => {
await a.fetchNextPage({ throwOnError: !0 });
},
- children: [/* @__PURE__ */ (0, I.jsx)(BZ, { className: "size-(--icon-inline)" }), "加载更多"]
- }, a.data?.pages.length) : /* @__PURE__ */ (0, I.jsx)(LDe, {
+ children: [/* @__PURE__ */ (0, I.jsx)(zZ, { className: "size-(--icon-inline)" }), "加载更多"]
+ }, a.data?.pages.length) : /* @__PURE__ */ (0, I.jsx)(GDe, {
busy: a.isFetchingNextPage,
error: a.isFetchNextPageError ? xn(a.error) : "",
load: () => {
@@ -64406,7 +64484,7 @@ function IDe(e) {
"data-follow-page-action": "",
children: [/* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
- leadingIcon: m.olderBusy ? void 0 : jDe,
+ leadingIcon: m.olderBusy ? void 0 : zDe,
"data-follow-older": "",
"aria-busy": m.busy || void 0,
onClick: () => void m.start(!0),
@@ -64424,7 +64502,7 @@ function IDe(e) {
})
] });
}
-function VZ({ children: e }) {
+function BZ({ children: e }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-follow-head": "",
children: [/* @__PURE__ */ (0, I.jsx)("h2", {
@@ -64432,30 +64510,30 @@ function VZ({ children: e }) {
children: "关注"
}), /* @__PURE__ */ (0, I.jsxs)("span", {
"data-follow-head-actions": "",
- children: [/* @__PURE__ */ (0, I.jsx)(xL, {
+ children: [/* @__PURE__ */ (0, I.jsx)(bL, {
variant: "secondary",
- leadingIcon: ADe,
+ leadingIcon: RDe,
"data-follow-manage": "",
- href: HZ(),
+ href: VZ(),
children: "管理关注"
}), e]
})]
});
}
-function LDe({ busy: e, error: t, load: n }) {
+function GDe({ busy: e, error: t, load: n }) {
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-entity-more": "",
"aria-busy": e || void 0,
"aria-disabled": e || void 0,
onClick: n,
- children: [/* @__PURE__ */ (0, I.jsx)(BZ, { className: "size-(--icon-inline)" }), "加载更多"]
- }), t ? /* @__PURE__ */ (0, I.jsx)(VG, {
+ children: [/* @__PURE__ */ (0, I.jsx)(zZ, { className: "size-(--icon-inline)" }), "加载更多"]
+ }), t ? /* @__PURE__ */ (0, I.jsx)(BG, {
message: t,
onRetry: n
}) : null] });
}
-function RDe(e, t) {
+function KDe(e, t) {
let { helpers: n, actions: r } = e, [i, a] = (0, F.useState)(0), [o, s] = (0, F.useState)(!1), [c, l] = (0, F.useState)(""), [u, d] = (0, F.useState)(""), [f, p] = (0, F.useState)(!1), m = (0, F.useRef)(!1), h = (0, F.useRef)(null), g = (0, F.useRef)({
helpers: n,
actions: r
@@ -64517,12 +64595,12 @@ function RDe(e, t) {
olderBusy: c === "older" || f && o
};
}
-function zDe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
+function qDe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
let a = (0, F.useRef)(null);
(0, F.useEffect)(() => {
r.helpers.wireDrag(a.current);
}, [r.helpers]);
- let o = (t) => vG(e.authorSources.get(t) || [], n);
+ let o = (t) => _G(e.authorSources.get(t) || [], n);
return e.authorOrder.length ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-authors-bar": "",
children: /* @__PURE__ */ (0, I.jsx)("div", {
@@ -64530,14 +64608,14 @@ function zDe({ 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 = yG(a), c = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {
+ let a = e.authorSources.get(n) || [], s = vG(a), c = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-ring": "",
- dangerouslySetInnerHTML: { __html: bG(a, o(n)) }
+ dangerouslySetInnerHTML: { __html: yG(a, o(n)) }
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-name": "",
children: o(n)
})] });
- return s ? /* @__PURE__ */ (0, I.jsx)(jZ, {
+ return s ? /* @__PURE__ */ (0, I.jsx)(AZ, {
name: s,
actions: r.actions,
"data-follow-author": n,
@@ -64554,7 +64632,7 @@ function zDe({ facets: e, pressed: t, context: n, props: r, onPick: i }) {
})
}) : null;
}
-function BDe({ rows: e, pressed: t, props: n, onPick: r }) {
+function JDe({ rows: e, pressed: t, props: n, onPick: r }) {
let i = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
n.helpers.wireDrag(i.current);
@@ -64575,13 +64653,13 @@ function BDe({ rows: e, pressed: t, props: n, onPick: r }) {
}, e[0]))
}) : null;
}
-function VDe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
- let { helpers: o, actions: s } = i, c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = yL(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = yL(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
+function YDe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
+ let { helpers: o, actions: s } = i, c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = !!e.mediaCounts.images || t.media === "images", h = vL(c, u, "[data-follow-filter][aria-pressed=\"true\"]", t.status), g = vL(l, d, "[data-media-view][aria-pressed=\"true\"]", `${t.media}:${m}`);
(0, F.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, I.jsx)(mL, {
+ return /* @__PURE__ */ (0, I.jsx)(pL, {
label: "筛选与排序",
topLabel: m ? "媒体与关注筛选" : "关注筛选",
attrs: {
@@ -64633,7 +64711,7 @@ function VDe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
dangerouslySetInnerHTML: { __html: R(i) }
}, e);
})
- }), /* @__PURE__ */ (0, I.jsx)(zZ, {})] }) : null, /* @__PURE__ */ (0, I.jsxs)("div", {
+ }), /* @__PURE__ */ (0, I.jsx)(RZ, {})] }) : null, /* @__PURE__ */ (0, I.jsxs)("div", {
ref: f,
"data-entity-scroll": "",
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -64653,7 +64731,7 @@ function VDe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
t.status !== e && a({ status: e });
},
children: n
- }, e)), v ? /* @__PURE__ */ (0, I.jsx)(zZ, {}) : null]
+ }, e)), v ? /* @__PURE__ */ (0, I.jsx)(RZ, {}) : null]
}), /* @__PURE__ */ (0, I.jsxs)("div", {
ref: p,
"data-entity-tags": "",
@@ -64666,10 +64744,10 @@ function VDe({ 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: gG(t, n) }
+ dangerouslySetInnerHTML: { __html: hG(t, n) }
}, t)),
- _.length && e.tagRows.length ? /* @__PURE__ */ (0, I.jsx)(zZ, {}) : null,
- e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, I.jsxs)(hL, {
+ _.length && e.tagRows.length ? /* @__PURE__ */ (0, I.jsx)(RZ, {}) : null,
+ e.tagRows.map(([n, r]) => /* @__PURE__ */ (0, I.jsxs)(mL, {
"data-follow-tag": n,
"data-entity-press": "",
"data-tag-cat": `r34-${Da(e.groups, n)}`,
@@ -64687,23 +64765,23 @@ function VDe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
/* @__PURE__ */ (0, I.jsx)("h3", {
"data-entity-readout": "",
"data-follow-readout": "",
- children: /* @__PURE__ */ (0, I.jsx)(sL, {
+ children: /* @__PURE__ */ (0, I.jsx)(oL, {
text: `${n.toLocaleString()} 项更新 · 显示 ${e.visible.length.toLocaleString()}`,
busy: r
})
}),
- /* @__PURE__ */ (0, I.jsx)(AV, {
+ /* @__PURE__ */ (0, I.jsx)(kV, {
currentHref: () => location.pathname + location.search,
kind: "creator"
}),
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-entity-sorts": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(FG, { onPress: s.shuffle }),
- y ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(PG, {
+ /* @__PURE__ */ (0, I.jsx)(PG, { onPress: s.shuffle }),
+ y ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(NG, {
label: "图片布局",
value: i.photoLayout,
- options: PDe,
+ options: HDe,
onChange: (e) => s.setPhotoLayout(e === "fixed" ? "fixed" : "masonry")
}), /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
@@ -64733,9 +64811,9 @@ function VDe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
let n = Sa(e, t.sort, t.dir);
n && a(n);
},
- children: [n, r ? /* @__PURE__ */ (0, I.jsx)(dG, {
- a: MDe,
- b: NDe,
+ children: [n, r ? /* @__PURE__ */ (0, I.jsx)(uG, {
+ a: BDe,
+ b: VDe,
state: t.dir === "asc" ? "a" : "b",
className: "size-(--icon-inline)"
}) : null]
@@ -64746,7 +64824,7 @@ function VDe({ facets: e, view: t, total: n, busy: r, props: i, route: a }) {
] })
});
}
-function HDe({ conditions: e, onDrop: t, onClear: n }) {
+function XDe({ conditions: e, onDrop: t, onClear: n }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-entity-combo": "",
"data-follow-combo": "",
@@ -64771,21 +64849,21 @@ function HDe({ conditions: e, onDrop: t, onClear: n }) {
})] }) : null
});
}
-function UDe({ count: e }) {
+function ZDe({ count: e }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-broken": "",
- dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${R("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${z(HZ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }
+ dangerouslySetInnerHTML: { __html: `<div class="geist-note geist-note-error fwarn" role="alert">${R("alert")}<span>${e} 个来源上次检查失败,去<a class="flink" href="${z(VZ())}" data-follow-manage>管理关注</a>看原因。</span></div>` }
});
}
-var HZ = () => RZ(window.location.search);
-function WDe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {
+var VZ = () => LZ(window.location.search);
+function QDe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a, checkAction: o }) {
let { view: s, helpers: c } = i, l = s.media === "images";
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-list-body": "",
- children: /* @__PURE__ */ (0, I.jsx)(HG, {
+ children: /* @__PURE__ */ (0, I.jsx)(VG, {
pending: e,
skeletonHtml: () => c.listSkeletonHtml(s.media),
- children: e ? null : /* @__PURE__ */ (0, I.jsx)(GDe, {
+ children: e ? null : /* @__PURE__ */ (0, I.jsx)($De, {
facets: t,
data: n,
context: r,
@@ -64797,29 +64875,29 @@ function WDe({ pending: e, facets: t, data: n, context: r, props: i, retryKey: a
})
});
}
-function GDe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {
- let { view: s, actions: c } = r, l = WZ(r), u = i ? {
+function $De({ facets: e, data: t, context: n, props: r, images: i, retryKey: a, checkAction: o }) {
+ let { view: s, actions: c } = r, l = UZ(r), u = i ? {
"data-size": r.photoSize,
"data-layout": r.photoLayout,
"data-images-only": String(r.imagesOnly)
- } : {}, d = kDe(i && r.photoLayout === "masonry", `${r.photoSize}:${e.visible.map((e) => e.primary.id).join(",")}`), f;
+ } : {}, d = LDe(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, I.jsx)(NZ, {
+ return /* @__PURE__ */ (0, I.jsx)(MZ, {
group: t,
authorSources: o,
media: s.media,
retryKey: a,
context: n,
- selected: r.selected.has(UZ(t, s)),
+ selected: r.selected.has(HZ(t, s)),
selectMode: r.selectMode,
- busy: l.busy.get(UZ(t, s)) || "",
- failure: l.failures.get(UZ(t, s)) || "",
+ busy: l.busy.get(HZ(t, s)) || "",
+ failure: l.failures.get(HZ(t, s)) || "",
actions: c,
onStatus: l.status,
onSave: l.save
}, `${u}:${s.media}`);
- }) : /* @__PURE__ */ (0, I.jsx)(KDe, {
+ }) : /* @__PURE__ */ (0, I.jsx)(eOe, {
data: t,
filtered: !!(s.status || e.author || e.provider || s.work || s.tags.length || s.durMin || s.durMax),
checkAction: o,
@@ -64842,22 +64920,22 @@ function GDe({ facets: e, data: t, context: n, props: r, images: i, retryKey: a,
children: f
});
}
-function UZ(e, t) {
+function HZ(e, t) {
return ga(e, t.media).id;
}
-function KDe({ data: e, filtered: t, clear: n, checkAction: r }) {
+function eOe({ data: e, filtered: t, clear: n, checkAction: r }) {
let i = !!e.groups.length || t, a = !!e.sources.length;
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-empty": "",
className: "contents",
- children: /* @__PURE__ */ (0, I.jsx)(pV, {
- icon: hV(i ? "search-x" : "rss"),
+ children: /* @__PURE__ */ (0, I.jsx)(fV, {
+ icon: mV(i ? "search-x" : "rss"),
title: i ? "当前筛选下没有更新" : a ? "还没有更新" : "还没有关注任何来源",
actions: i ? /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
onClick: n,
children: "清除筛选"
- }) : a ? r : /* @__PURE__ */ (0, I.jsx)(xL, {
+ }) : a ? r : /* @__PURE__ */ (0, I.jsx)(bL, {
size: "small",
href: "/subscriptions?tab=add",
children: "添加关注"
@@ -64866,12 +64944,12 @@ function KDe({ data: e, filtered: t, clear: n, checkAction: r }) {
})
});
}
-var qDe = {
+var tOe = {
new: "已恢复未看",
seen: "已标记已看",
ignored: "已忽略"
};
-function WZ(e) {
+function UZ(e) {
let { view: t, revision: n, actions: r } = e, [i, a] = (0, F.useState)(() => /* @__PURE__ */ new Map()), [o, s] = (0, F.useState)(() => /* @__PURE__ */ new Map()), c = ra(t, n).queryKey, l = (e, t, n) => n((n) => {
let r = new Map(n);
return t ? r.set(e, t) : r.delete(e), r;
@@ -64894,7 +64972,7 @@ function WZ(e) {
to: t
}),
onSuccess: (e, { id: t, to: n, was: i }) => {
- u(t, n), d(), r.toast(qDe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
+ u(t, n), d(), r.toast(tOe[n] || "已更新关注状态", { undo: i === "saved" ? void 0 : async () => {
await V(Mr, {
item: t,
to: i
@@ -64939,9 +65017,9 @@ function WZ(e) {
};
}
// src/react/entity-body/entity-online.tsx
-function JDe(e) {
+function nOe(e) {
let { result: t, data: n, media: r, helpers: i } = e, a = t.isPending || t.isPlaceholderData;
- return !n && t.isError ? /* @__PURE__ */ (0, I.jsx)(VG, {
+ return !n && t.isError ? /* @__PURE__ */ (0, I.jsx)(BG, {
message: xn(t.error),
onRetry: () => {
t.refetch();
@@ -64949,13 +65027,13 @@ function JDe(e) {
}) : /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-list-body": "",
"data-entity-online": "",
- children: /* @__PURE__ */ (0, I.jsxs)(HG, {
+ children: /* @__PURE__ */ (0, I.jsxs)(VG, {
pending: a,
skeletonHtml: () => i.listSkeletonHtml(r),
- children: [a || !n ? null : /* @__PURE__ */ (0, I.jsx)(YDe, {
+ children: [a || !n ? null : /* @__PURE__ */ (0, I.jsx)(rOe, {
...e,
data: n
- }), !a && n?.has_more ? /* @__PURE__ */ (0, I.jsx)(lY, {
+ }), !a && n?.has_more ? /* @__PURE__ */ (0, I.jsx)(cY, {
entity: !0,
enabled: () => e.canLoadMore?.() !== !1,
load: async () => {
@@ -64965,8 +65043,8 @@ function JDe(e) {
})
});
}
-function YDe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {
- let u = WZ({
+function rOe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a, photoLayout: o, imagesOnly: s, actions: c, clearFilters: l }) {
+ let u = UZ({
view: e,
revision: 0,
actions: c
@@ -64984,7 +65062,7 @@ function YDe({ 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 = ga(e, t).id, r = d.byId.get(e.primary?.source_id)?.author_key;
- return /* @__PURE__ */ (0, I.jsx)(NZ, {
+ return /* @__PURE__ */ (0, I.jsx)(MZ, {
group: e,
authorSources: r && d.byAuthor.get(r) || [],
media: t,
@@ -64997,11 +65075,11 @@ function YDe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
onStatus: u.status,
onSave: u.save
}, `${e.primary.id}:${t}`);
- }) : /* @__PURE__ */ (0, I.jsx)(XDe, {
+ }) : /* @__PURE__ */ (0, I.jsx)(iOe, {
searched: !!(n.groups || []).length || !!(e.status || e.provider || e.tags.length || e.durMin || e.durMax),
clear: l,
actions: c,
- sources: wDe(n.sources || [], e.author)
+ sources: MDe(n.sources || [], e.author)
});
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-list": "",
@@ -65010,21 +65088,21 @@ function YDe({ view: e, media: t, data: n, visible: r, context: i, photoSize: a,
children: m
});
}
-function XDe({ searched: e, clear: t, actions: n, sources: r }) {
+function iOe({ searched: e, clear: t, actions: n, sources: r }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-empty": "",
className: "contents",
- children: /* @__PURE__ */ (0, I.jsx)(pV, {
- icon: hV(e ? "search-x" : "rss"),
+ children: /* @__PURE__ */ (0, I.jsx)(fV, {
+ icon: mV(e ? "search-x" : "rss"),
title: e ? "当前筛选下没有更新" : "还没有抓到更新",
actions: e ? /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
onClick: t,
children: "清除筛选"
- }) : r.length ? /* @__PURE__ */ (0, I.jsx)(TDe, {
+ }) : r.length ? /* @__PURE__ */ (0, I.jsx)(NDe, {
sources: r,
report: n.checkReport
- }) : /* @__PURE__ */ (0, I.jsx)(xL, {
+ }) : /* @__PURE__ */ (0, I.jsx)(bL, {
size: "small",
href: "/subscriptions?tab=add",
children: "添加关注"
@@ -65033,7 +65111,7 @@ function XDe({ searched: e, clear: t, actions: n, sources: r }) {
})
});
}
-function GZ(e) {
+function WZ(e) {
return {
x0: 0,
y0: 0,
@@ -65041,7 +65119,7 @@ function GZ(e) {
y1: e.height
};
}
-function KZ(e) {
+function GZ(e) {
return {
x0: Math.round(e.x0),
y0: Math.round(e.y0),
@@ -65049,40 +65127,40 @@ function KZ(e) {
y1: Math.round(e.y1)
};
}
-function qZ(e) {
+function KZ(e) {
return !!e && Number.isFinite(e.width) && Number.isFinite(e.height) && e.width > 0 && e.height > 0;
}
-function JZ(e, t) {
- if (!qZ(e)) return {
+function qZ(e, t) {
+ if (!KZ(e)) return {
x0: 0,
y0: 0,
x1: 0,
y1: 0
};
- if (t == null || !(t > 0)) return GZ(e);
+ if (t == null || !(t > 0)) return WZ(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 KZ({
+ return GZ({
x0: i,
y0: a,
x1: i + n,
y1: a + r
});
}
-function ZDe(e, t) {
- if (!qZ(e) || !(t > 0)) return GZ(e);
+function aOe(e, t) {
+ if (!KZ(e) || !(t > 0)) return WZ(e);
let n = Math.min(e.width, e.height * t);
- return KZ({
+ return GZ({
x0: e.width - n,
y0: 0,
x1: e.width,
y1: e.height
});
}
-function QDe(e, t, n) {
- if (!qZ(t) || !(n > 0)) return GZ(t);
- let r = YZ(e, t), i = JZ({
+function oOe(e, t, n) {
+ if (!KZ(t) || !(n > 0)) return WZ(t);
+ let r = JZ(e, t), i = qZ({
width: r.x1 - r.x0,
height: r.y1 - r.y0
}, n);
@@ -65093,8 +65171,8 @@ function QDe(e, t, n) {
y1: r.y0 + i.y1
};
}
-function YZ(e, t, n = null, r = "width") {
- if (!qZ(t)) return {
+function JZ(e, t, n = null, r = "width") {
+ if (!KZ(t)) return {
x0: 0,
y0: 0,
x1: 0,
@@ -65103,43 +65181,43 @@ function YZ(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 KZ({
+ return GZ({
x0: s,
y0: c,
x1: s + a,
y1: c + o
});
}
-function XZ(e, t, n, r) {
+function YZ(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 KZ({
+ return GZ({
x0: o,
y0: s,
x1: o + i,
y1: s + a
});
}
-function ZZ(e, t, n, r = null) {
- if (!qZ(n) || !(t > 0)) return e;
+function XZ(e, t, n, r = null) {
+ if (!KZ(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 YZ({
+ return JZ({
x0: i - o / 2,
y0: a - s / 2,
x1: i + o / 2,
y1: a + s / 2
}, n, r);
}
-function $De(e, t, n, r, i = null) {
+function sOe(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 YZ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
+ return JZ(a, r, i, (a.x1 - a.x0) / Math.max(1, a.y1 - a.y0) > (i ?? 1) ? "height" : "width");
}
-function eOe(e, t) {
- return qZ(t) ? {
+function cOe(e, t) {
+ return KZ(t) ? {
left: e.x0 / t.width * 100,
top: e.y0 / t.height * 100,
width: (e.x1 - e.x0) / t.width * 100,
@@ -65151,8 +65229,8 @@ function eOe(e, t) {
height: 0
};
}
-function tOe(e, t) {
- if (!qZ(t)) return {
+function lOe(e, t) {
+ if (!KZ(t)) return {
size: "cover",
position: "50% 50%"
};
@@ -65162,7 +65240,7 @@ function tOe(e, t) {
position: `${i(e.x0, t.width, n)}% ${i(e.y0, t.height, r)}%`
};
}
-function nOe(e, t) {
+function uOe(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}%`,
@@ -65171,15 +65249,15 @@ function nOe(e, t) {
height: `${t.height / r * 100}%`
};
}
-function QZ(e, t, n) {
+function ZZ(e, t, n) {
return t > 0 ? e * n / t : 0;
}
-function rOe(e, t) {
+function dOe(e, t) {
return !t || !(t.width > 0) || !(t.height > 0) ? !1 : Math.min(e.width / 100 * t.width, e.height / 100 * t.height) < 36;
}
// src/react/crop/crop-frame.tsx
-var iOe = .02, $Z = 1.08;
-function eQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
+var fOe = .02, QZ = 1.08;
+function $Z({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o }) {
let s = (0, F.useRef)(null), c = (0, F.useRef)(null), [l, u] = (0, F.useState)(!1), [d, f] = (0, F.useState)(null);
(0, F.useEffect)(() => {
u(!1);
@@ -65198,8 +65276,8 @@ function eQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
dx: 0,
dy: 0
} : {
- dx: QZ(e, n.clientWidth, r.width),
- dy: QZ(t, n.clientHeight, r.height)
+ dx: ZZ(e, n.clientWidth, r.width),
+ dy: ZZ(t, n.clientHeight, r.height)
};
}, [r]);
function m(e) {
@@ -65216,22 +65294,22 @@ function eQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
let 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(XZ(n.box, o.dx, o.dy, r)) : i($De(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(YZ(n.box, o.dx, o.dy, r)) : i(sOe(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) * iOe), o = {
+ let a = Math.max(1, (n.x1 - n.x0) * fOe), o = {
ArrowLeft: [-a, 0],
ArrowRight: [a, 0],
ArrowUp: [0, -a],
ArrowDown: [0, a]
};
- o[e.key] ? (e.preventDefault(), i(XZ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(ZZ(n, e.key === "-" ? 1 / $Z : $Z, r, t)));
+ o[e.key] ? (e.preventDefault(), i(YZ(n, o[e.key][0], o[e.key][1], r))) : (e.key === "+" || e.key === "=" || e.key === "-") && (e.preventDefault(), i(XZ(n, e.key === "-" ? 1 / QZ : QZ, r, t)));
}
- let v = n && r ? eOe(YZ(n, r, t), r) : null, y = v ? rOe(v, d) : !1, b = v ? {
+ let v = n && r ? cOe(JZ(n, r, t), r) : null, y = v ? dOe(v, d) : !1, b = v ? {
"--crop-l": `${v.left}%`,
"--crop-t": `${v.top}%`,
"--crop-w": `${v.width}%`,
@@ -65250,7 +65328,7 @@ function eQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
draggable: !1,
onLoad: (e) => {
let t = e.currentTarget;
- qZ({
+ KZ({
width: t.naturalWidth,
height: t.naturalHeight
}) && a({
@@ -65289,7 +65367,7 @@ function eQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
onPointerCancel: g,
onKeyDown: _,
onWheel: (e) => {
- n && r && i(ZZ(n, e.deltaY > 0 ? $Z : 1 / $Z, r, t));
+ n && r && i(XZ(n, e.deltaY > 0 ? QZ : 1 / QZ, 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, I.jsx)("span", {
@@ -65311,13 +65389,13 @@ function eQ({ src: e, aspect: t, box: n, size: r, onBox: i, onSize: a, label: o
});
}
// src/react/avatar-picker/avatar-picker.ts
-var aOe = "/api/avatar-choices", tQ = "/api/avatar-pick", oOe = "/api/avatar-code-cover", nQ = "/api/avatar-frame", sOe = "/avatar-choice", rQ = (e, t) => [
+var pOe = "/api/avatar-choices", eQ = "/api/avatar-pick", mOe = "/api/avatar-code-cover", tQ = "/api/avatar-frame", hOe = "/avatar-choice", nQ = (e, t) => [
"avatar-choices",
e,
t
-], iQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, aQ = (e, t, n, r = "") => `${sOe}${iQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), oQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", cOe = (e, t, n) => B(aOe + iQ(e, t), n), lOe = (e) => V(oOe, { code: e });
-async function uOe(e, t, n) {
- let r = await V(nQ, {
+], rQ = (e, t) => `?kind=${encodeURIComponent(e)}&id=${t}`, iQ = (e, t, n, r = "") => `${hOe}${rQ(e, t)}&ref=${encodeURIComponent(n)}` + (r ? `&v=${encodeURIComponent(r)}` : ""), aQ = (e, t) => t.startsWith("cover:") || t.endsWith(":cover") ? e.version : "", gOe = (e, t, n) => B(pOe + rQ(e, t), n), _Oe = (e) => V(mOe, { code: e });
+async function vOe(e, t, n) {
+ let r = await V(tQ, {
kind: e,
id: t,
ref: n.ref
@@ -65330,12 +65408,12 @@ async function uOe(e, t, n) {
bases: r.bases
};
}
-var dOe = (e, t, n) => V(nQ, {
+var yOe = (e, t, n) => V(tQ, {
kind: e,
id: t,
url: n
-}), fOe = (e, t, n) => sQ(`${nQ}${iQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);
-async function sQ(e, t) {
+}), bOe = (e, t, n) => oQ(`${tQ}${rQ(e, t)}&name=${encodeURIComponent(n.name)}`, n);
+async function oQ(e, t) {
let n = await fetch(e, {
method: "POST",
credentials: "same-origin",
@@ -65344,17 +65422,17 @@ async function sQ(e, t) {
if (n.ok) return r;
throw new sr(r?.error || `请求失败(${n.status})`, n.status, r);
}
-function cQ(e, t, n) {
+function sQ(e, t, n) {
let r = t.width === e.width && t.height === e.height;
- return e.focus && r ? QDe(e.focus, t, n) : JZ(t, n);
+ return e.focus && r ? oOe(e.focus, t, n) : qZ(t, n);
}
-var pOe = (e) => e.crop && qZ({
+var xOe = (e) => e.crop && KZ({
width: e.width,
height: e.height
});
-async function mOe(e, t, n) {
+async function SOe(e, t, n) {
if (!("file" in n)) {
- await V(tQ, {
+ await V(eQ, {
kind: e,
id: t,
...n
@@ -65367,19 +65445,19 @@ async function mOe(e, t, n) {
i.x1,
i.y1
].join(",")}` : "";
- await sQ(`${tQ}${iQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
+ await oQ(`${eQ}${rQ(e, t)}&name=${encodeURIComponent(r.name)}${a}`, r);
}
-var lQ = 2;
-function hOe(e, t) {
+var cQ = 2;
+function COe(e, t) {
if (!t) return e;
let n = t.matched_names.filter((t) => t !== e);
- return n.length ? `${e}:图库里按${`「${n.slice(0, lQ).join("」「")}」`}${n.length > lQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;
+ return n.length ? `${e}:图库里按${`「${n.slice(0, cQ).join("」「")}」`}${n.length > cQ ? `等 ${n.length.toLocaleString()} 个名字` : ""}找到的。` : t.choices.length ? `${e}:换上的那张留在本机,随时能换回来。` : `${e}:还没有备选图片,可输入番号、图片地址或从本机选择。`;
}
-var gOe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
-function _Oe(e) {
- return e?.index_refreshing ? "正在更新图库索引,候选图片会自动显示。" : e?.index_error && e.index_stale ? "图库索引未取得:" + e.index_error : !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${gOe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
+var wOe = (e) => e < 48 ? `${Math.max(1, Math.round(e))} 小时` : `${Math.floor(e / 24)} 天`;
+function TOe(e) {
+ return e?.index_refreshing ? "正在更新图库索引,候选图片会自动显示。" : e?.index_error && e.index_stale ? "图库索引未取得:" + e.index_error : !e || !e.index_stale || e.choices.some((e) => e.source === "gfriends") ? "" : e.index_age_hours === null ? "图库索引还没取过,只能从用过的图里选。" : `图库索引 ${wOe(e.index_age_hours)}没更新,新收的人像这里还查不到。`;
}
-var uQ = (e) => e.cast > 1, vOe = (e) => uQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, yOe = {
+var lQ = (e) => e.cast > 1, EOe = (e) => lQ(e) ? `${e.label}:${e.cast.toLocaleString()} 人合演,先找到她自己的脸,再拖动方框选一块。` : `${e.label}:拖动方框选一块,滚轮或角上那枚方块改大小。`, DOe = {
gfriends: "图库",
history: "用过的",
asset: "作品画面",
@@ -65389,7 +65467,7 @@ var uQ = (e) => e.cast > 1, vOe = (e) => uQ(e) ? `${e.label}:${e.cast.toLocale
social: "社媒头像",
online: "在线作品"
};
-function bOe(e) {
+function OOe(e) {
if (e.startsWith("follow:")) {
let t = e.split(":")[2];
return t === "cover" ? "作品封面" : `内容图片 ${Number(t.replace("image", "") || 0) + 1}`;
@@ -65400,19 +65478,19 @@ function bOe(e) {
let n = Number(t.replace("cell", ""));
return Number.isFinite(n) ? `第 ${n + 1} 格` : t;
}
-var xOe = (e) => `${yOe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (uQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), SOe = 8, COe = 3 / 4;
-async function wOe(e, t, n) {
+var kOe = (e) => `${DOe[e.source] || e.source} · ${e.label}` + (e.width ? ` · ${e.width}×${e.height}` : "") + (lQ(e) ? ` · ${e.cast.toLocaleString()} 人合演` : "") + (e.found_by ? ` · 按「${e.found_by}」找到` : "") + (e.source === "asset" && e.detail && e.detail !== e.label ? ` · ${e.detail}` : ""), AOe = 8, jOe = 3 / 4;
+async function MOe(e, t, n) {
switch (n.via) {
- case "choice": return { choice: await uOe(e, t, n.choice) };
- case "code": return { choice: await lOe(n.code) };
- case "url": return { choice: await dOe(e, t, n.url) };
+ case "choice": return { choice: await vOe(e, t, n.choice) };
+ case "code": return { choice: await _Oe(n.code) };
+ case "url": return { choice: await yOe(e, t, n.url) };
case "file": return {
- choice: await fOe(e, t, n.file),
+ choice: await bOe(e, t, n.file),
file: n.file
};
}
}
-function TOe({ kind: e, entityId: t, name: n, onPicked: r }) {
+function NOe({ kind: e, entityId: t, name: n, onPicked: r }) {
let [i, a] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "absolute right-1 bottom-1 z-10",
@@ -65422,17 +65500,17 @@ function TOe({ 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, I.jsx)(Ghe, {
+ children: /* @__PURE__ */ (0, I.jsx)($he, {
"aria-hidden": !0,
className: "size-4"
})
})
- }), /* @__PURE__ */ (0, I.jsx)(uV, {
+ }), /* @__PURE__ */ (0, I.jsx)(lV, {
isOpen: i,
onOpenChange: a,
width: "avatar-picker",
label: "更换头像",
- children: /* @__PURE__ */ (0, I.jsx)(EOe, {
+ children: /* @__PURE__ */ (0, I.jsx)(POe, {
kind: e,
entityId: t,
name: n,
@@ -65441,24 +65519,24 @@ function TOe({ kind: e, entityId: t, name: n, onPicked: r }) {
})
})] });
}
-function EOe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
- let a = (0, F.useRef)(null), o = HV(), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(null), p = rQ(e, t), m = (0, F.useRef)(!1), h = Ft({
+function POe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
+ let a = (0, F.useRef)(null), o = VV(), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(null), p = nQ(e, t), m = (0, F.useRef)(!1), h = Ft({
queryKey: p,
- queryFn: ({ signal: n }) => cOe(e, t, n),
+ queryFn: ({ signal: n }) => gOe(e, t, n),
retryOnMount: !0,
refetchOnMount: (e) => e.state.data?.index_stale ? "always" : !1,
refetchInterval: (e) => e.state.data?.index_refreshing && !e.state.error ? 1e3 : !1
});
(0, F.useEffect)(() => () => {
- m.current && H.removeQueries({ queryKey: rQ(e, t) });
+ m.current && H.removeQueries({ queryKey: nQ(e, t) });
}, [e, t]);
let g = It({
- mutationFn: (n) => mOe(e, t, n),
+ mutationFn: (n) => SOe(e, t, n),
onSuccess: () => {
m.current = !0, i(), r();
}
}), _ = It({
- mutationFn: (n) => wOe(e, t, n),
+ mutationFn: (n) => MOe(e, t, n),
onMutate: () => {
g.reset();
},
@@ -65479,39 +65557,39 @@ function EOe({ 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 ? lr(g.error) : "") || (!d && _.error ? lr(_.error) : "") || (h.error ? lr(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : _Oe(x), E = !!C && !!h.error && C === lr(h.error), D = h.isPending || S.length > 0;
+ let x = h.data, S = x?.choices ?? [], C = (g.error ? lr(g.error) : "") || (!d && _.error ? lr(_.error) : "") || (h.error ? lr(h.error) : ""), w = g.isPending || _.isPending, T = d ? "" : TOe(x), E = !!C && !!h.error && C === lr(h.error), D = h.isPending || S.length > 0;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, I.jsx)(dV, { children: /* @__PURE__ */ (0, I.jsx)(eV, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, I.jsx)(uV, { children: /* @__PURE__ */ (0, I.jsx)($B, { className: "size-6" }) }),
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, I.jsx)(UL, {
+ children: [/* @__PURE__ */ (0, I.jsx)(HL, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: d ? "框出头像那一块" : "更换头像"
- }), !d && S.length ? /* @__PURE__ */ (0, I.jsxs)(JU, {
+ }), !d && S.length ? /* @__PURE__ */ (0, I.jsxs)(qU, {
color: "soft",
children: [S.length.toLocaleString(), " 张可选"]
}) : null]
}),
/* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: d ? vOe(d.choice) : hOe(n, x)
+ children: d ? EOe(d.choice) : COe(n, x)
}),
- T ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ T ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "neutral",
children: T
}) : null,
- C ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ C ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "error",
action: E ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- ..._V(h.isFetching),
+ ...gV(h.isFetching),
onClick: () => {
h.isFetching || h.refetch();
},
@@ -65521,14 +65599,14 @@ function EOe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}) : null
]
}),
- /* @__PURE__ */ (0, I.jsx)(lL, {
- icon: DB,
+ /* @__PURE__ */ (0, I.jsx)(cL, {
+ icon: EB,
size: "small",
"aria-label": "关闭",
onClick: i
})
]
- }), d ? /* @__PURE__ */ (0, I.jsx)(OOe, {
+ }), d ? /* @__PURE__ */ (0, I.jsx)(IOe, {
kind: e,
entityId: t,
choice: d.choice,
@@ -65548,7 +65626,7 @@ function EOe({ 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: SOe }, (e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: h.isPending ? Array.from({ length: AOe }, (e, t) => /* @__PURE__ */ (0, I.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",
@@ -65561,8 +65639,8 @@ function EOe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
role: "option",
"data-avatar-choice": !0,
"aria-selected": n.current,
- title: xOe(n),
- ..._V(w),
+ title: kOe(n),
+ ...gV(w),
onClick: () => {
w || (n.crop ? (g.reset(), _.reset(), f({ choice: n })) : _.mutate({
via: "choice",
@@ -65571,8 +65649,8 @@ function EOe({ 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, I.jsx)(DOe, {
- src: aQ(e, t, n.ref, oQ(n, n.ref)),
+ /* @__PURE__ */ (0, I.jsx)(FOe, {
+ src: iQ(e, t, n.ref, aQ(n, n.ref)),
choice: n
}),
/* @__PURE__ */ (0, I.jsx)("span", {
@@ -65581,15 +65659,15 @@ function EOe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}),
n.current ? /* @__PURE__ */ (0, I.jsx)("span", {
className: "absolute top-1 left-1",
- children: /* @__PURE__ */ (0, I.jsx)(JU, {
+ children: /* @__PURE__ */ (0, I.jsx)(qU, {
variant: "caption",
color: "gray",
children: "在用"
})
}) : null,
- uQ(n) ? /* @__PURE__ */ (0, I.jsx)("span", {
+ lQ(n) ? /* @__PURE__ */ (0, I.jsx)("span", {
className: "absolute top-1 right-1",
- children: /* @__PURE__ */ (0, I.jsxs)(JU, {
+ children: /* @__PURE__ */ (0, I.jsxs)(qU, {
variant: "caption",
color: "gray",
children: [n.cast.toLocaleString(), " 人"]
@@ -65611,7 +65689,7 @@ function EOe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
},
children: [/* @__PURE__ */ (0, I.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, I.jsx)(lV, {
+ children: /* @__PURE__ */ (0, I.jsx)(cV, {
"aria-label": "番号",
placeholder: "番号,如 ABW-232",
value: l,
@@ -65621,7 +65699,7 @@ function EOe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
type: "submit",
variant: "secondary",
disabled: !l.trim(),
- ..._V(v("code")),
+ ...gV(v("code")),
children: "取封面来框"
})]
}), /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -65630,7 +65708,7 @@ function EOe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
/* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
onClick: () => a.current?.click(),
- ..._V(v("file")),
+ ...gV(v("file")),
children: "从本机选图片"
}),
/* @__PURE__ */ (0, I.jsx)("input", {
@@ -65650,7 +65728,7 @@ function EOe({ 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, I.jsx)("div", {
className: "min-w-0 flex-1",
- children: /* @__PURE__ */ (0, I.jsx)(lV, {
+ children: /* @__PURE__ */ (0, I.jsx)(cV, {
type: "url",
"aria-label": "图片地址",
placeholder: "https://…",
@@ -65660,7 +65738,7 @@ function EOe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
}), /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
disabled: !s.trim(),
- ..._V(v("url")),
+ ...gV(v("url")),
onClick: () => {
w || _.mutate({
via: "url",
@@ -65674,7 +65752,7 @@ function EOe({ kind: e, entityId: t, name: n, onPicked: r, close: i }) {
})]
})] })] });
}
-function DOe({ src: e, choice: t }) {
+function FOe({ src: e, choice: t }) {
let n = (0, F.useRef)(null), [r, i] = (0, F.useState)(!1), [a, o] = (0, F.useState)(!1);
(0, F.useEffect)(() => {
n.current?.complete && n.current.naturalWidth && i(!0);
@@ -65682,7 +65760,7 @@ function DOe({ src: e, choice: t }) {
let s = {
width: t.width,
height: t.height
- }, c = pOe(t) ? nOe(cQ(t, s, COe), s) : null, l = r || a ? !0 : void 0;
+ }, c = xOe(t) ? uOe(sQ(t, s, jOe), s) : null, l = r || a ? !0 : void 0;
return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-choice-lost": a || void 0,
className: "relative block w-full aspect-avatar-choice overflow-hidden",
@@ -65708,23 +65786,23 @@ function DOe({ src: e, choice: t }) {
})]
});
}
-function OOe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
- let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, F.useState)(o[0]), [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(null), p = oQ(n, s), m = aQ(e, t, s, p), h = HV();
+function IOe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a }) {
+ let o = n.bases.length ? n.bases : [n.ref], [s, c] = (0, F.useState)(o[0]), [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(null), p = aQ(n, s), m = iQ(e, t, s, p), h = VV();
function g(e) {
c(e), u(null), f(null);
}
- let _ = d && l ? tOe(d, l) : null;
+ let _ = d && l ? lOe(d, l) : null;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.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, I.jsx)(eQ, {
+ children: [m ? /* @__PURE__ */ (0, I.jsx)($Z, {
src: m,
aspect: 1,
box: d,
size: l,
label: `${n.label} 的头像取景框`,
onSize: (e) => {
- u(e), qZ(e) && f(s === n.ref ? cQ(n, e, 1) : JZ(e, 1));
+ u(e), KZ(e) && f(s === n.ref ? sQ(n, e, 1) : qZ(e, 1));
},
onBox: f
}) : null, o.length > 1 ? /* @__PURE__ */ (0, I.jsx)("div", {
@@ -65738,7 +65816,7 @@ function OOe({ 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: bOe(e)
+ children: OOe(e)
}, e))
}) : null]
}), /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -65758,12 +65836,12 @@ function OOe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
/* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
onClick: i,
- ..._V(r),
+ ...gV(r),
children: "返回备选图片"
}),
n.crop ? null : /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
- ..._V(r),
+ ...gV(r),
onClick: () => {
r || a(null);
},
@@ -65771,7 +65849,7 @@ function OOe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
}),
/* @__PURE__ */ (0, I.jsx)(J, {
disabled: !d || !l,
- ..._V(r),
+ ...gV(r),
onClick: () => {
d && !r && a({
ref: s,
@@ -65786,17 +65864,17 @@ function OOe({ kind: e, entityId: t, choice: n, busy: r, back: i, confirm: a })
})] });
}
// src/react/components/source-picture.tsx
-var dQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;
-function fQ({ title: e, detail: t, busy: n, onRetry: r }) {
+var uQ = (e, t, n = 0) => `/jav-image?code=${encodeURIComponent(e)}&image=${encodeURIComponent(t)}${n ? `&attempt=${n}` : ""}`;
+function dQ({ title: e, detail: t, busy: n, onRetry: r }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-jav-picture-wait": "",
- children: /* @__PURE__ */ (0, I.jsx)(pV, {
+ children: /* @__PURE__ */ (0, I.jsx)(fV, {
size: "compact",
- icon: zB,
+ icon: RB,
title: e,
actions: /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
- ..._V(!!n),
+ ...gV(!!n),
onClick: r,
children: "立即重试"
}),
@@ -65804,9 +65882,9 @@ function fQ({ title: e, detail: t, busy: n, onRetry: r }) {
})
});
}
-function kOe({ code: e }) {
- let t = _H(), [n, r] = (0, F.useState)("");
- return /* @__PURE__ */ (0, I.jsx)(fQ, {
+function LOe({ code: e }) {
+ let t = gH(), [n, r] = (0, F.useState)("");
+ return /* @__PURE__ */ (0, I.jsx)(dQ, {
title: "封面未取得",
detail: t.error || n,
busy: !!t.busy,
@@ -65821,8 +65899,8 @@ function kOe({ code: e }) {
}
});
}
-function pQ({ item: e, image: t, thumbnail: n = !1 }) {
- let [r, i] = (0, F.useState)(0), [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(""), l = (0, F.useRef)(null), u = t === "cover" && e.has_cover, d = !u && (t !== "cover" || e.source_image), f = n ? "" : t === "cover" ? `${e.code} 封面` : `${e.code} 预览 ${Number(t) + 1}`, p = d ? dQ(e.code, t, r) : u ? lo(e, !0) : e.cover_url || "";
+function fQ({ item: e, image: t, thumbnail: n = !1 }) {
+ let [r, i] = (0, F.useState)(0), [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(""), l = (0, F.useRef)(null), u = t === "cover" && e.has_cover, d = !u && (t !== "cover" || e.source_image), f = n ? "" : t === "cover" ? `${e.code} 封面` : `${e.code} 预览 ${Number(t) + 1}`, p = d ? uQ(e.code, t, r) : u ? lo(e, !0) : e.cover_url || "";
if ((0, F.useLayoutEffect)(() => {
let e = l.current;
e?.complete && e.naturalWidth > 0 && o({
@@ -65839,8 +65917,8 @@ function pQ({ item: e, image: t, thumbnail: n = !1 }) {
src: p,
alt: f
})
- }) : n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "封面未取得" }) : /* @__PURE__ */ (0, I.jsx)(kOe, { code: e.code });
- if (s === p) return n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, I.jsx)(fQ, {
+ }) : n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "封面未取得" }) : /* @__PURE__ */ (0, I.jsx)(LOe, { code: e.code });
+ if (s === p) return n ? /* @__PURE__ */ (0, I.jsx)("span", { children: "预览未取得" }) : /* @__PURE__ */ (0, I.jsx)(dQ, {
title: "图片未取得",
onRetry: () => i((e) => e + 1)
});
@@ -65889,8 +65967,8 @@ function pQ({ item: e, image: t, thumbnail: n = !1 }) {
] });
}
// src/react/components/source-avatar.tsx
-function mQ({ code: e, person: t, detail: n = !1 }) {
- oL();
+function pQ({ code: e, person: t, detail: n = !1 }) {
+ aL();
let r = (0, F.useRef)(null), [i, a] = (0, F.useState)(n || typeof IntersectionObserver > "u");
(0, F.useEffect)(() => {
if (!r.current || i) return;
@@ -65904,7 +65982,7 @@ function mQ({ code: e, person: t, detail: n = !1 }) {
"data-source-initial": "",
children: er(nn("performer", t.name))
}), i && t.source_actor_id ? /* @__PURE__ */ (0, I.jsx)("img", {
- src: dQ(e, `actor:${t.source_actor_id}`),
+ src: uQ(e, `actor:${t.source_actor_id}`),
alt: "",
"data-drop": "self"
}) : null] });
@@ -65914,8 +65992,8 @@ function mQ({ code: e, person: t, detail: n = !1 }) {
}) : o;
}
// src/react/feed-new/feed-new-row.tsx
-function hQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
- let a = (0, F.useContext)($W), o = (0, F.useRef)(null), [s, c] = (0, F.useState)([]), l = e?.items.length ? e.html : "";
+function mQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
+ let a = (0, F.useContext)(QW), o = (0, F.useRef)(null), [s, c] = (0, F.useState)([]), l = e?.items.length ? e.html : "";
(0, F.useLayoutEffect)(() => {
t.removeAttribute("aria-busy"), t.hidden = !l, e && i?.(!!l);
}, [
@@ -65947,7 +66025,7 @@ function hQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
u(e);
},
dangerouslySetInnerHTML: { __html: l }
- }), s.map((e, t) => (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(mQ, {
+ }), s.map((e, t) => (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(pQ, {
code: e.dataset.code,
person: {
name: e.dataset.name,
@@ -65956,7 +66034,7 @@ function hQ({ feedNew: e, host: t, wire: n, act: r, settled: i }) {
}), e, `${l.length}:${t}`))] }) : null;
}
// src/react/entity-hero/glyph.tsx
-function gQ({ name: e }) {
+function hQ({ name: e }) {
let { wide: t, viewBox: n } = Cn(e);
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: n,
@@ -65966,20 +66044,20 @@ function gQ({ name: e }) {
});
}
// src/react/entity-hero/hero-pop.tsx
-function _Q(e, t) {
+function gQ(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 vQ = (e) => !!e?.isConnected && e.matches(":popover-open");
-function yQ(e, t, n, r) {
+var _Q = (e) => !!e?.isConnected && e.matches(":popover-open");
+function vQ(e, t, n, r) {
let i = (0, F.useRef)(r);
i.current = r, (0, F.useEffect)(() => {
if (!e) return;
let r = () => {
- t.current && vQ(n.current) ? _Q(t.current, n.current) : i.current();
+ t.current && _Q(n.current) ? gQ(t.current, n.current) : i.current();
};
return addEventListener("scroll", r, {
capture: !0,
@@ -65993,17 +66071,17 @@ function yQ(e, t, n, r) {
n
]);
}
-function bQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
+function yQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
let o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(!1), u = (0, F.useRef)(!1), d = (0, F.useRef)(0), f = () => {
- clearTimeout(d.current), u.current = !1, vQ(s.current) && s.current.hidePopover(), l(!1);
+ clearTimeout(d.current), u.current = !1, _Q(s.current) && s.current.hidePopover(), l(!1);
}, p = () => {
- clearTimeout(d.current), s.current && o.current && !vQ(s.current) && (s.current.showPopover(), _Q(o.current, s.current), l(!0));
+ clearTimeout(d.current), s.current && o.current && !_Q(s.current) && (s.current.showPopover(), gQ(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 yQ(c, o, s, f), (0, F.useEffect)(() => {
+ return vQ(c, o, s, f), (0, F.useEffect)(() => {
if (!c) return;
let e = (e) => {
let t = e.target;
@@ -66029,7 +66107,7 @@ function bQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
u.current ? f() : (p(), u.current = !0);
},
onKeyDown: (e) => {
- e.key === "Escape" && vQ(s.current) && (e.preventDefault(), f());
+ e.key === "Escape" && _Q(s.current) && (e.preventDefault(), f());
},
children: ["+", t]
}), /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -66047,16 +66125,16 @@ function bQ({ id: e, rest: t, label: n, heading: r, hook: i, children: a }) {
}), a]
})] });
}
-function AOe({ following: e, busy: t, onToggle: n, tip: r }) {
+function ROe({ following: e, busy: t, onToggle: n, tip: r }) {
let i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), [s, c] = (0, F.useState)(!1), l = (0, F.useRef)(!1), u = () => {
- vQ(o.current) && o.current.hidePopover(), c(!1);
+ _Q(o.current) && o.current.hidePopover(), c(!1);
}, d = () => {
- !l.current && o.current && i.current && !vQ(o.current) && (o.current.showPopover(), _Q(i.current, o.current), c(!0));
+ !l.current && o.current && i.current && !_Q(o.current) && (o.current.showPopover(), gQ(i.current, o.current), c(!0));
}, f = () => {
l.current = !1, u();
};
- return yQ(s, i, o, () => c(!1)), (0, F.useEffect)(() => {
- i.current && vQ(o.current) && _Q(i.current, o.current);
+ return vQ(s, i, o, () => c(!1)), (0, F.useEffect)(() => {
+ i.current && _Q(o.current) && gQ(i.current, o.current);
}, [r]), /* @__PURE__ */ (0, I.jsxs)("label", {
ref: i,
"data-entry-feed": "",
@@ -66065,7 +66143,7 @@ function AOe({ following: e, busy: t, onToggle: n, tip: r }) {
a.current?.matches(":focus-visible") || f();
},
children: [
- /* @__PURE__ */ (0, I.jsx)(gQ, { name: "rss" }),
+ /* @__PURE__ */ (0, I.jsx)(hQ, { name: "rss" }),
/* @__PURE__ */ (0, I.jsx)("input", {
ref: a,
type: "checkbox",
@@ -66099,29 +66177,29 @@ function AOe({ following: e, busy: t, onToggle: n, tip: r }) {
});
}
// src/react/entity-hero/name-picker.tsx
-function jOe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
+function zOe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let [i, a] = (0, F.useState)(!1), o = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
o.current?.setAttribute("title", "名字与别名");
- }, []), /* @__PURE__ */ (0, I.jsxs)(mme, {
+ }, []), /* @__PURE__ */ (0, I.jsxs)(Sme, {
isOpen: i,
onOpenChange: a,
- children: [/* @__PURE__ */ (0, I.jsx)(VL, {
+ children: [/* @__PURE__ */ (0, I.jsx)(BL, {
ref: o,
"data-namepick-toggle": "",
"aria-label": "名字与别名",
- children: /* @__PURE__ */ (0, I.jsx)(gQ, { name: "chevron-down" })
- }), /* @__PURE__ */ (0, I.jsx)(mz, {
+ children: /* @__PURE__ */ (0, I.jsx)(hQ, { name: "chevron-down" })
+ }), /* @__PURE__ */ (0, I.jsx)(pz, {
placement: "bottom start",
offset: 8,
containerPadding: 8,
- className: PV,
+ className: NV,
"data-namepick-menu": "",
- children: /* @__PURE__ */ (0, I.jsxs)(gme, {
+ children: /* @__PURE__ */ (0, I.jsxs)(wme, {
"aria-label": "名字与别名",
"data-namepick-list": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(Sz, {
+ /* @__PURE__ */ (0, I.jsx)(xz, {
selectionMode: "single",
disallowEmptySelection: !0,
selectedKeys: [e],
@@ -66129,34 +66207,34 @@ function jOe({ current: e, choices: t, onChoose: n, onAddAlias: r }) {
let r = [...t][0];
r && r !== e && n(r);
},
- children: t.map((e) => /* @__PURE__ */ (0, I.jsxs)(wz, {
+ children: t.map((e) => /* @__PURE__ */ (0, I.jsxs)(Cz, {
id: e.value,
textValue: e.label,
"data-namepick-name": e.value,
- children: [/* @__PURE__ */ (0, I.jsx)(gQ, { name: "check" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.label })]
+ children: [/* @__PURE__ */ (0, I.jsx)(hQ, { name: "check" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.label })]
}, e.value))
}),
- /* @__PURE__ */ (0, I.jsx)(Zpe, { "data-namepick-rule": "" }),
- /* @__PURE__ */ (0, I.jsx)(Sz, { children: /* @__PURE__ */ (0, I.jsxs)(wz, {
+ /* @__PURE__ */ (0, I.jsx)(ame, { "data-namepick-rule": "" }),
+ /* @__PURE__ */ (0, I.jsx)(xz, { children: /* @__PURE__ */ (0, I.jsxs)(Cz, {
id: "alias",
textValue: "添加别名",
"data-namepick-alias": "",
onAction: r,
- children: [/* @__PURE__ */ (0, I.jsx)(gQ, { name: "plus" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "添加别名…" })]
+ children: [/* @__PURE__ */ (0, I.jsx)(hQ, { name: "plus" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "添加别名…" })]
}) })
]
})
})]
});
}
-var MOe = (e) => e === "studio" || e === "agency", xQ = (e) => e === "performer" || e === "creator", NOe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
-function POe(e, t = "zh-CN") {
+var BOe = (e) => e === "studio" || e === "agency", bQ = (e) => e === "performer" || e === "creator", VOe = (e) => e ? "已订阅新作,点击取消订阅" : "订阅新作";
+function HOe(e, t = "zh-CN") {
return e.name_display ? e.name_display.choices[t] : [e.canonical_name, ...e.aliases || []].filter((e, t, n) => e && n.indexOf(e) === t).map((e) => ({
value: e,
label: e
}));
}
-function SQ(e) {
+function xQ(e) {
if (e.agency) return {
name: e.agency.canonical_name,
linked: !0,
@@ -66168,13 +66246,13 @@ function SQ(e) {
linked: !1
} : null;
}
-function CQ(e, t) {
+function SQ(e, t) {
let n = Kn(e, "performer"), r = Un(t);
return r && [e.label, n].map(Un).some((e) => e && (r.includes(e) || e.includes(r))) ? `${t} 官方资料` : n || e.label || "";
}
-var wQ = (e) => ({ site: zn(e) });
-function FOe(e, t) {
- let n = SQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
+var CQ = (e) => ({ site: zn(e) });
+function UOe(e, t) {
+ let n = xQ(e)?.name || "", r = (e.entry_links || []).filter((e) => e.slot === "pill").map((e) => ({
type: "icon",
url: e.url,
title: e.label,
@@ -66184,7 +66262,7 @@ function FOe(e, t) {
let t = e.retired_year ? `已于 ${e.retired_year} 年隐退` : "链接已失效";
return {
type: "gone",
- title: `${CQ(e, n)} · ${t}`
+ title: `${SQ(e, n)} · ${t}`
};
}
let r = e.url || "";
@@ -66192,11 +66270,11 @@ function FOe(e, t) {
type: "private",
label: e.label || e.hostname || "已记录"
};
- if (xQ(t) && e.link_kind !== "social") return {
+ if (bQ(t) && e.link_kind !== "social") return {
type: "icon",
url: r,
- title: CQ(e, n),
- mark: wQ(e)
+ title: SQ(e, n),
+ mark: CQ(e)
};
if (e.link_kind === "social") {
let t = Hn(r);
@@ -66204,7 +66282,7 @@ function FOe(e, t) {
type: "icon",
url: r,
title: e.label || "",
- mark: t ? { brand: t } : wQ(e)
+ mark: t ? { brand: t } : CQ(e)
};
}
return {
@@ -66212,12 +66290,12 @@ function FOe(e, t) {
url: r,
title: e.label || "",
text: Kn(e, t, i),
- mark: wQ(e)
+ mark: CQ(e)
};
});
- return [...r, ...IOe(a)];
+ return [...r, ...WOe(a)];
}
-function IOe(e) {
+function WOe(e) {
let t = e.filter((e) => e.type === "private");
return t.length < 2 ? e : [...e.filter((e) => e.type !== "private"), {
type: "private",
@@ -66225,8 +66303,8 @@ function IOe(e) {
sources: t.map((e) => e.label)
}];
}
-var TQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
-function LOe(e) {
+var wQ = (e) => (e.entry_links || []).filter((e) => e.slot === "mark");
+function GOe(e) {
return [
[
"legal_name",
@@ -66282,7 +66360,7 @@ function LOe(e) {
}]
}] : []);
}
-function ROe(e) {
+function KOe(e) {
if (!e) return [];
let t = [];
e.birth_date && t.push({
@@ -66339,14 +66417,14 @@ function ROe(e) {
tags: e.tags
}), t;
}
-function EQ(e, t = 4) {
+function TQ(e, t = 4) {
let n = e.length > t + 1 ? t : e.length;
return {
shown: e.slice(0, n),
rest: e.length - n
};
}
-function zOe(e) {
+function qOe(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 ? {
@@ -66356,7 +66434,7 @@ function zOe(e) {
} : null;
}
// src/react/entity-hero/entity-hero-page.tsx
-function BOe(e) {
+function JOe(e) {
return go({
id: e.id,
hasImage: e.has_image,
@@ -66367,9 +66445,9 @@ function BOe(e) {
standIn: e.avatar_stand_in
});
}
-function VOe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
- oL();
- let s = nn(e, n.canonical_name, Number(n.id)), c = rn(e, n.canonical_name, Number(n.id)), l = xQ(e), u = MOe(e), d = l ? ROe(n.profile) : u ? LOe(n.company_profile) : [], f = FOe(n, e), p = TQ(n), m = e === "agency" ? [] : n.related_performers || [], h = (0, F.useRef)(null), g = (0, F.useRef)(null);
+function YOe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a, helpers: o }) {
+ aL();
+ let s = nn(e, n.canonical_name, Number(n.id)), c = rn(e, n.canonical_name, Number(n.id)), l = bQ(e), u = BOe(e), d = l ? KOe(n.profile) : u ? GOe(n.company_profile) : [], f = UOe(n, e), p = wQ(n), m = e === "agency" ? [] : n.related_performers || [], h = (0, F.useRef)(null), g = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
o.wireScroller(h.current);
}, [o, f.length]), (0, F.useEffect)(() => {
@@ -66382,7 +66460,7 @@ function VOe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-entity-portrait-wrap": "",
- children: [/* @__PURE__ */ (0, I.jsx)(HOe, {
+ children: [/* @__PURE__ */ (0, I.jsx)(XOe, {
kind: e,
name: s,
helpers: o,
@@ -66390,7 +66468,7 @@ function VOe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
company: u
}), l && n.id ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-avatar-picker": "",
- children: /* @__PURE__ */ (0, I.jsx)(TOe, {
+ children: /* @__PURE__ */ (0, I.jsx)(NOe, {
kind: e,
entityId: Number(n.id),
name: s || t,
@@ -66405,17 +66483,17 @@ function VOe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
"data-entity-title": "",
children: [
/* @__PURE__ */ (0, I.jsx)("h2", {
- lang: HI(s),
+ lang: VI(s),
title: c || void 0,
children: s
}),
- e === "tag" ? null : /* @__PURE__ */ (0, I.jsx)(jOe, {
+ e === "tag" ? null : /* @__PURE__ */ (0, I.jsx)(zOe, {
current: n.canonical_name,
- choices: POe(n, Xt()),
+ choices: HOe(n, Xt()),
onChoose: a.chooseName,
onAddAlias: a.addAlias
}),
- n.id ? /* @__PURE__ */ (0, I.jsx)(kV, { item: {
+ n.id ? /* @__PURE__ */ (0, I.jsx)(OV, { item: {
entity_id: Number(n.id),
kind: e,
name: n.canonical_name || t,
@@ -66429,7 +66507,7 @@ function VOe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
className: "text-caption-1-regular text-text-secondary",
children: c
}) : null,
- /* @__PURE__ */ (0, I.jsx)(UOe, {
+ /* @__PURE__ */ (0, I.jsx)(ZOe, {
kind: e,
entity: n,
actions: a
@@ -66450,14 +66528,14 @@ function VOe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
f.length ? /* @__PURE__ */ (0, I.jsx)("div", {
ref: h,
"data-entity-links": "",
- children: f.map((e, t) => /* @__PURE__ */ (0, I.jsx)(YOe, { link: e }, t))
+ children: f.map((e, t) => /* @__PURE__ */ (0, I.jsx)(rke, { link: e }, t))
}) : null,
- p.length || n.feed ? /* @__PURE__ */ (0, I.jsx)(XOe, {
+ p.length || n.feed ? /* @__PURE__ */ (0, I.jsx)(ike, {
entity: n,
actions: a,
helpers: o
}) : null,
- n.follow?.held.length ? /* @__PURE__ */ (0, I.jsx)(KOe, {
+ n.follow?.held.length ? /* @__PURE__ */ (0, I.jsx)(eke, {
follow: n.follow,
displayName: s,
actions: a
@@ -66466,11 +66544,11 @@ function VOe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}),
d.length ? /* @__PURE__ */ (0, I.jsx)("dl", {
"data-entity-facts": "",
- children: d.map((e) => /* @__PURE__ */ (0, I.jsx)(qOe, {
+ children: d.map((e) => /* @__PURE__ */ (0, I.jsx)(tke, {
glyph: e.glyph,
label: e.label,
clip: e.clip,
- children: e.tags ? /* @__PURE__ */ (0, I.jsx)(JOe, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: e.tags ? /* @__PURE__ */ (0, I.jsx)(nke, { tags: e.tags }) : e.parts.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {
"data-fact-tone": e.tone === "plain" ? void 0 : e.tone,
children: [t ? " " : "", e.text]
}, t))
@@ -66489,7 +66567,7 @@ function VOe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
onClick: () => a.openEntity("performer", e.k),
children: [/* @__PURE__ */ (0, I.jsx)("span", {
"data-hero-ring": "",
- dangerouslySetInnerHTML: { __html: `<span>${z(er(nn("performer", e.k, e.id)))}</span>${BOe(e)}` }
+ dangerouslySetInnerHTML: { __html: `<span>${z(er(nn("performer", e.k, e.id)))}</span>${JOe(e)}` }
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-hero-costar-name": "",
children: nn("performer", e.k, e.id)
@@ -66497,14 +66575,14 @@ function VOe({ kind: e, name: t, entity: n, feedNew: r, feedHost: i, actions: a,
}, e.k))
})
}) : null]
- }), i ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(hQ, {
+ }), i ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(mQ, {
feedNew: r,
host: i,
wire: o.wireFeedRow,
act: (e, t) => a.feedAction(e, t)
}), i) : null] });
}
-function HOe({ kind: e, name: t, helpers: n, people: r, company: i }) {
+function XOe({ kind: e, name: t, helpers: n, people: r, company: i }) {
let a = (0, F.useRef)(null), [o] = (0, F.useState)(() => `${n.portraitImg()}<span data-portrait-initial="">${z(er(t))}</span>`);
return (0, F.useLayoutEffect)(() => {
let e = a.current?.querySelector("[data-portrait-initial]");
@@ -66518,8 +66596,8 @@ function HOe({ kind: e, name: t, helpers: n, people: r, company: i }) {
dangerouslySetInnerHTML: { __html: o }
});
}
-function UOe({ kind: e, entity: t, actions: n }) {
- let r = SQ(t), i = (e, t) => (r) => {
+function ZOe({ kind: e, entity: t, actions: n }) {
+ let r = xQ(t), i = (e, t) => (r) => {
r.preventDefault(), n.openEntity(e, t);
}, a = r ? r.linked ? /* @__PURE__ */ (0, I.jsx)("a", {
href: Pn("agency", r.name, r.id),
@@ -66528,44 +66606,44 @@ function UOe({ kind: e, entity: t, actions: n }) {
children: r.name
}) : r.name : null, o = /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("b", { children: t.asset_count.toLocaleString() }), " 个视频"] });
if (e === "performer" || e === "creator") {
- let e = t.name_display?.groups[Xt()] ?? t.name_groups, r = zOe(e);
+ let e = t.name_display?.groups[Xt()] ?? t.name_groups, r = qOe(e);
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- /* @__PURE__ */ (0, I.jsx)(DQ, { entity: t }),
+ /* @__PURE__ */ (0, I.jsx)(EQ, { entity: t }),
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, I.jsx)(gQ, { name: "film" }), /* @__PURE__ */ (0, I.jsx)("span", { children: o })]
+ children: [/* @__PURE__ */ (0, I.jsx)(hQ, { name: "film" }), /* @__PURE__ */ (0, I.jsx)("span", { children: o })]
}),
- t.follow?.key ? /* @__PURE__ */ (0, I.jsx)(GOe, {
+ t.follow?.key ? /* @__PURE__ */ (0, I.jsx)($Oe, {
follow: t.follow,
actions: n
}) : null,
a ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, I.jsx)(gQ, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, I.jsx)(hQ, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]
}) : null,
r ? /* @__PURE__ */ (0, I.jsxs)("div", {
"data-meta-item": "names",
children: [
- /* @__PURE__ */ (0, I.jsx)(gQ, { name: "id-card" }),
+ /* @__PURE__ */ (0, I.jsx)(hQ, { name: "id-card" }),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: r.names.map((e, t) => /* @__PURE__ */ (0, I.jsx)("span", {
- lang: HI(e),
+ lang: VI(e),
children: e
}, t))
}),
- r.rest > 0 ? /* @__PURE__ */ (0, I.jsx)(bQ, {
+ r.rest > 0 ? /* @__PURE__ */ (0, I.jsx)(yQ, {
id: "entityAliasPop",
hook: "alias",
rest: r.rest,
label: `另外 ${r.rest.toLocaleString()} 个别名`,
heading: `${r.total.toLocaleString()} 个别名`,
- children: /* @__PURE__ */ (0, I.jsx)("dl", { children: (e?.groups || []).map((e, t) => /* @__PURE__ */ (0, I.jsx)(OQ, {
+ children: /* @__PURE__ */ (0, I.jsx)("dl", { children: (e?.groups || []).map((e, t) => /* @__PURE__ */ (0, I.jsx)(DQ, {
label: e.label,
names: e.names
}, t)) })
@@ -66587,61 +66665,61 @@ function UOe({ kind: e, entity: t, actions: n }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-entity-alias": "meta",
children: [
- e === "creator" ? /* @__PURE__ */ (0, I.jsx)(DQ, { entity: t }) : null,
+ e === "creator" ? /* @__PURE__ */ (0, I.jsx)(EQ, { entity: t }) : null,
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-meta-item": "",
title: "视频",
- children: [/* @__PURE__ */ (0, I.jsx)(gQ, { name: "film" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [o, c] })]
+ children: [/* @__PURE__ */ (0, I.jsx)(hQ, { name: "film" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [o, c] })]
}),
a ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-meta-item": "",
title: "事务所",
- children: [/* @__PURE__ */ (0, I.jsx)(gQ, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]
+ children: [/* @__PURE__ */ (0, I.jsx)(hQ, { name: "briefcase" }), /* @__PURE__ */ (0, I.jsx)("span", { children: a })]
}) : null,
l ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-meta-item": "",
title: "片商",
- children: [/* @__PURE__ */ (0, I.jsx)(gQ, { name: "clapperboard" }), /* @__PURE__ */ (0, I.jsx)("a", {
+ children: [/* @__PURE__ */ (0, I.jsx)(hQ, { name: "clapperboard" }), /* @__PURE__ */ (0, I.jsx)("a", {
href: Pn("studio", l.name, l.id),
"data-studio-link": l.name,
onClick: i("studio", l.name),
children: l.name
})]
}) : null,
- s.length ? /* @__PURE__ */ (0, I.jsx)(WOe, { aliases: s }) : null
+ s.length ? /* @__PURE__ */ (0, I.jsx)(QOe, { aliases: s }) : null
]
});
}
-function WOe({ aliases: e }) {
- let { shown: t, rest: n } = EQ(e, 3);
+function QOe({ aliases: e }) {
+ let { shown: t, rest: n } = TQ(e, 3);
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-meta-item": "names",
"data-company-names": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(gQ, { name: "id-card" }),
+ /* @__PURE__ */ (0, I.jsx)(hQ, { name: "id-card" }),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-alias-names": "",
title: "别名",
children: t.map((e, t) => /* @__PURE__ */ (0, I.jsx)("span", { children: e }, t))
}),
- n ? /* @__PURE__ */ (0, I.jsx)(bQ, {
+ n ? /* @__PURE__ */ (0, I.jsx)(yQ, {
id: "entityAliasPop",
hook: "alias",
rest: n,
label: `另外 ${n.toLocaleString()} 个别名`,
heading: `${e.length.toLocaleString()} 个别名`,
- children: /* @__PURE__ */ (0, I.jsx)("dl", { children: /* @__PURE__ */ (0, I.jsx)(OQ, { names: e.map((e) => ({ name: e })) }) })
+ children: /* @__PURE__ */ (0, I.jsx)("dl", { children: /* @__PURE__ */ (0, I.jsx)(DQ, { names: e.map((e) => ({ name: e })) }) })
}) : null
]
});
}
-function GOe({ follow: e, actions: t }) {
+function $Oe({ follow: e, actions: t }) {
let n = e.providers.join(" · ");
return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-meta-item": "",
"data-entity-follow": "",
title: n ? `关注 · ${n}` : "关注",
- children: [/* @__PURE__ */ (0, I.jsx)(gQ, { name: "rss" }), /* @__PURE__ */ (0, I.jsxs)("a", {
+ children: [/* @__PURE__ */ (0, I.jsx)(hQ, { name: "rss" }), /* @__PURE__ */ (0, I.jsxs)("a", {
href: "?media=online",
onClick: (n) => {
n.preventDefault(), t.openFollowAuthor(e.key);
@@ -66650,7 +66728,7 @@ function GOe({ follow: e, actions: t }) {
})]
});
}
-function KOe({ follow: e, displayName: t, actions: n }) {
+function eke({ follow: e, displayName: t, actions: n }) {
let [r, i] = (0, F.useState)(""), a = async (e, t) => {
if (!r) {
i(e);
@@ -66664,12 +66742,12 @@ function KOe({ follow: e, displayName: t, actions: n }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-entity-held": "",
className: "flex flex-col gap-2",
- children: e.held.map((e) => /* @__PURE__ */ (0, I.jsxs)(fV, {
+ children: e.held.map((e) => /* @__PURE__ */ (0, I.jsxs)(dV, {
tone: "info",
title: `关注里有同名作者 ${e.name}`,
action: /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
- ..._V(r === e.key),
+ ...gV(r === e.key),
onClick: () => {
a(e.key, e.name);
},
@@ -66684,37 +66762,37 @@ function KOe({ follow: e, displayName: t, actions: n }) {
}, e.key))
});
}
-function DQ({ entity: e }) {
+function EQ({ entity: e }) {
return e.identity_labels?.length ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-meta-item": "classification",
"data-identity-classification": "",
- children: [/* @__PURE__ */ (0, I.jsx)(gQ, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.identity_labels.join(" · ") })]
+ children: [/* @__PURE__ */ (0, I.jsx)(hQ, { name: "user-round" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.identity_labels.join(" · ") })]
}) : null;
}
-function OQ({ label: e, names: t }) {
+function DQ({ label: e, names: t }) {
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e ? /* @__PURE__ */ (0, I.jsx)("dt", { children: e }) : null, /* @__PURE__ */ (0, I.jsx)("dd", {
"data-wide": e ? void 0 : "",
children: t.map((e, t) => /* @__PURE__ */ (0, I.jsxs)("span", {
"data-pop-name": "",
- lang: HI(e.name),
+ lang: VI(e.name),
children: [e.name, e.reading ? /* @__PURE__ */ (0, I.jsx)("small", { children: e.reading }) : null]
}, t))
})] });
}
-function qOe({ glyph: e, label: t, clip: n, children: r }) {
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("dt", { children: [/* @__PURE__ */ (0, I.jsx)(gQ, { name: e }), t] }), /* @__PURE__ */ (0, I.jsx)("dd", {
+function tke({ glyph: e, label: t, clip: n, children: r }) {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("dt", { children: [/* @__PURE__ */ (0, I.jsx)(hQ, { name: e }), t] }), /* @__PURE__ */ (0, I.jsx)("dd", {
"data-fact": e === "tags" ? "tags" : n ? "clip" : e === "calendar-range" ? "num" : void 0,
title: n,
children: r
})] });
}
-function JOe({ tags: e }) {
- let { shown: t, rest: n } = EQ(e);
+function nke({ tags: e }) {
+ let { shown: t, rest: n } = TQ(e);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [t.map((e) => /* @__PURE__ */ (0, I.jsx)("span", {
"data-fact-tag": "",
title: e,
children: e
- }, e)), n ? /* @__PURE__ */ (0, I.jsx)(bQ, {
+ }, e)), n ? /* @__PURE__ */ (0, I.jsx)(yQ, {
id: "entityTagPop",
hook: "fact",
rest: n,
@@ -66730,10 +66808,10 @@ function JOe({ tags: e }) {
})
}) : null] });
}
-function kQ({ mark: e }) {
+function OQ({ mark: e }) {
if ("brand" in e) return /* @__PURE__ */ (0, I.jsx)("span", {
"data-link-icon": "brand",
- children: /* @__PURE__ */ (0, I.jsx)(gQ, { name: e.brand })
+ children: /* @__PURE__ */ (0, I.jsx)(hQ, { name: e.brand })
});
let t = R("globe") + ("site" in e ? `<img src="${z(e.site)}" alt="" width="20" height="20" loading="lazy" decoding="async" referrerpolicy="no-referrer" data-drop="self">` : "");
return /* @__PURE__ */ (0, I.jsx)("span", {
@@ -66741,7 +66819,7 @@ function kQ({ mark: e }) {
dangerouslySetInnerHTML: { __html: t }
});
}
-function YOe({ link: e }) {
+function rke({ link: e }) {
switch (e.type) {
case "icon": return /* @__PURE__ */ (0, I.jsx)("a", {
"data-link": "icon",
@@ -66750,19 +66828,19 @@ function YOe({ link: e }) {
rel: "noopener noreferrer",
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, I.jsx)(kQ, { mark: e.mark })
+ children: /* @__PURE__ */ (0, I.jsx)(OQ, { mark: e.mark })
});
case "gone": return /* @__PURE__ */ (0, I.jsx)("span", {
"data-link": "gone",
tabIndex: 0,
title: e.title,
"aria-label": e.title,
- children: /* @__PURE__ */ (0, I.jsx)(kQ, { mark: { globe: !0 } })
+ children: /* @__PURE__ */ (0, I.jsx)(OQ, { mark: { globe: !0 } })
});
case "private": return /* @__PURE__ */ (0, I.jsxs)("span", {
"data-link": "private",
title: e.sources ? e.sources.join("\n") : e.label,
- children: [/* @__PURE__ */ (0, I.jsx)(kQ, { mark: { globe: !0 } }), /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(OQ, { mark: { globe: !0 } }), /* @__PURE__ */ (0, I.jsx)("span", {
"data-link-label": "",
children: e.sources ? e.label : `来源 · ${e.label}`
})]
@@ -66774,7 +66852,7 @@ function YOe({ link: e }) {
rel: "noopener noreferrer",
title: e.title,
children: [
- /* @__PURE__ */ (0, I.jsx)(kQ, { mark: e.mark }),
+ /* @__PURE__ */ (0, I.jsx)(OQ, { mark: e.mark }),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-link-label": "",
children: e.text
@@ -66789,7 +66867,7 @@ function YOe({ link: e }) {
});
}
}
-function XOe({ entity: e, actions: t, helpers: n }) {
+function ike({ entity: e, actions: t, helpers: n }) {
let [r, i] = (0, F.useState)(!!e.feed?.following), [a, o] = (0, F.useState)(!1), s = (0, F.useRef)(!1), c = async (e) => {
if (s.current) return !1;
s.current = !0, o(!0);
@@ -66807,33 +66885,33 @@ function XOe({ entity: e, actions: t, helpers: n }) {
};
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-entry-marks": "",
- children: [TQ(e).map((e, t) => /* @__PURE__ */ (0, I.jsxs)("a", {
+ children: [wQ(e).map((e, t) => /* @__PURE__ */ (0, I.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, I.jsx)(gQ, { name: e.mark }) : /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: [e.mark ? /* @__PURE__ */ (0, I.jsx)(hQ, { name: e.mark }) : /* @__PURE__ */ (0, I.jsxs)("span", {
"data-missav-mark": "",
children: [/* @__PURE__ */ (0, I.jsx)("span", { children: "MISS" }), /* @__PURE__ */ (0, I.jsx)("span", { children: "AV" })]
}), e.ordinal ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-entry-ordinal": "",
children: e.ordinal
}) : null]
- }, t)), e.feed ? /* @__PURE__ */ (0, I.jsx)(AOe, {
+ }, t)), e.feed ? /* @__PURE__ */ (0, I.jsx)(ROe, {
following: r,
busy: a,
onToggle: (e) => {
l(e);
},
- tip: NOe(r)
+ tip: VOe(r)
}) : null]
});
}
// src/react/entity-page/use-entity-online.ts
-var ZOe = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
-function QOe(e, t, n) {
+var ake = () => ((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991;
+function oke(e, t, n) {
let [r, i] = (0, F.useState)(() => _a(e));
r.author !== e && i(_a(e));
let [a, o] = (0, F.useState)({
@@ -66912,7 +66990,7 @@ function QOe(e, t, n) {
onlineMedia: (e) => c(e),
onlineShuffle: () => T({
sort: ea,
- seed: ZOe()
+ seed: ake()
}),
onlineImagesOnly: (e) => n.setImagesOnly(e),
onlineStatus: (e) => T({ status: e }),
@@ -66942,8 +67020,8 @@ function QOe(e, t, n) {
};
}
// src/react/entity-page/entity-page-view.tsx
-function $Oe(e) {
- let { kind: t, name: n } = e, r = Ft(UX(t, n)), i = !!r.data?.error, a = r.data?.canonical_name, o = r.data?.redirect ?? (a && a !== n ? {
+function ske(e) {
+ let { kind: t, name: n } = e, r = Ft(HX(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;
@@ -66961,17 +67039,17 @@ function $Oe(e) {
s,
o?.kind,
o?.name
- ]), r.isError ? /* @__PURE__ */ (0, I.jsx)(VG, {
+ ]), r.isError ? /* @__PURE__ */ (0, I.jsx)(BG, {
message: lr(r.error),
onRetry: () => {
r.refetch();
}
- }) : !r.data || i || o ? null : /* @__PURE__ */ (0, I.jsx)(nke, {
+ }) : !r.data || i || o ? null : /* @__PURE__ */ (0, I.jsx)(uke, {
...e,
entity: r.data
});
}
-function AQ(e) {
+function kQ(e) {
let [t, n] = (0, F.useState)({
key: e,
n: 1
@@ -66983,22 +67061,22 @@ function AQ(e) {
};
return n(r), r.n;
}
-var eke = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
-function tke(e, t) {
+var cke = () => String(((Date.now() ^ (Math.random() * 1e9 | 0)) >>> 0) % 99991);
+function lke(e, t) {
return `照片 · ${[e.total || !t ? `${(e.total || 0).toLocaleString()} 张` : "", t ? `样张 ${(e.sample_total || 0).toLocaleString()} 张 · ${t.toLocaleString()} 部作品` : ""].filter(Boolean).join(" · ")}`;
}
-function nke(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 = Lt(WX(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 || GX(p).length > 0, g = t === "creator" && r.follow?.key || "", _ = !!g && !r.asset_count, v = a.media === "photos" && h ? a : (a.media === "online" || _) && g ? {
+function uke(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 = Lt(UX(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 || WX(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
- } : IX, [y, b] = (0, F.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, F.useState)(x);
+ } : FX, [y, b] = (0, F.useState)("people"), x = new URLSearchParams(Object.entries(i).filter(([, e]) => e)).toString(), [S, C] = (0, F.useState)(x);
S !== x && (C(x), b("videos"));
- let w = l && y === "people" && u.length ? "people" : v.media, T = QOe(g, w === "online", {
+ let w = l && y === "people" && u.length ? "people" : v.media, T = oke(g, w === "online", {
photoLayout: e.photoLayout,
photoLayouts: e.photoLayouts,
imagesOnly: e.followImagesOnly,
setImagesOnly: e.follow.actions.setImagesOnly
- }), E = w === "photos" || w === "online" && T.media === "images", [D, O] = (0, F.useState)(0), k = HX(e), A = Ft(k), j = AQ(JSON.stringify([k.queryKey, D])), [M] = (0, F.useState)(() => (t === "performer" || t === "studio") && (e.jav || (A.data?.items || []).some((e) => e.is_jav)));
+ }), E = w === "photos" || w === "online" && T.media === "images", [D, O] = (0, F.useState)(0), k = VX(e), A = Ft(k), j = kQ(JSON.stringify([k.queryKey, D])), [M] = (0, F.useState)(() => (t === "performer" || t === "studio") && (e.jav || (A.data?.items || []).some((e) => e.is_jav)));
(0, F.useLayoutEffect)(() => {
s.javContext(M);
}, [s, M]);
@@ -67008,26 +67086,26 @@ function nke(e) {
}, [e.layout, M]), N = {
jav: e.jav,
seed: e.seed
- }, te = (0, F.useCallback)((e, r, a) => VX(t, n, i, N, e, r, a), [j]), [P, ne] = (0, F.useState)({}), re = v.set, ie = P[re] || "", ae = Lt({
- ...WX(t, n, re, ie),
+ }, te = (0, F.useCallback)((e, r, a) => BX(t, n, i, N, e, r, a), [j]), [P, ne] = (0, F.useState)({}), re = v.set, ie = P[re] || "", ae = Lt({
+ ...UX(t, n, re, ie),
enabled: w === "photos"
- }), oe = ae.data?.pages[0], se = AQ(JSON.stringify(RX(t, n, re, ie))), ce = (0, F.useMemo)(() => {
+ }), oe = ae.data?.pages[0], se = kQ(JSON.stringify(LX(t, n, re, ie))), ce = (0, F.useMemo)(() => {
let e = ae.data?.pages;
if (!e?.[0] || e[0].error) return null;
let t = e[0];
return {
revision: se,
- codeSets: t.id ? [] : GX(t),
+ codeSets: t.id ? [] : WX(t),
items: e.flatMap((e) => e.items || []),
total: t.total || 0,
hasMore: !!e[e.length - 1]?.has_more
};
}, [ae.data, se]), le = ae.refetch, ue = ae.fetchNextPage, de = Ft({
- ...NX(d, o.feedRowHtml),
+ ...MX(d, o.feedRowHtml),
enabled: !!d
}), fe = (0, F.useRef)(e.feedRevision);
(0, F.useEffect)(() => {
- fe.current !== e.feedRevision && (fe.current = e.feedRevision, H.invalidateQueries({ queryKey: MX(d) }));
+ fe.current !== e.feedRevision && (fe.current = e.feedRevision, H.invalidateQueries({ queryKey: jX(d) }));
}, [d, e.feedRevision]);
let pe = !!A.data;
(0, F.useEffect)(() => {
@@ -67061,7 +67139,7 @@ function nke(e) {
me.current = !1;
}, []);
let he = (0, F.useCallback)(async () => {
- await H.invalidateQueries({ queryKey: ["entity-route"] }), await H.invalidateQueries({ queryKey: LX(t, n) }), await H.invalidateQueries({ queryKey: [
+ await H.invalidateQueries({ queryKey: ["entity-route"] }), await H.invalidateQueries({ queryKey: IX(t, n) }), await H.invalidateQueries({ queryKey: [
"entity-items",
t,
n
@@ -67095,7 +67173,7 @@ function nke(e) {
enabled: e
})
}),
- onSuccess: (e, r) => H.setQueryData(LX(t, n), (e) => e && {
+ onSuccess: (e, r) => H.setQueryData(IX(t, n), (e) => e && {
...e,
feed: {
...e.feed,
@@ -67149,10 +67227,10 @@ function nke(e) {
let e = await Tn("/api/feeds/check").catch(() => null);
if (!e || e.status !== "running") break;
}
- me.current && await H.invalidateQueries({ queryKey: MX(d) });
+ me.current && await H.invalidateQueries({ queryKey: jX(d) });
})();
},
- feedAction: PX,
+ feedAction: NX,
avatarPicked: () => {
s.avatarChanged(), he().then(() => {
me.current && O((e) => e + 1);
@@ -67200,19 +67278,19 @@ function nke(e) {
(e !== w || v.set) && (b(e === "people" ? "people" : "videos"), s.route(i, e === "photos" || e === "online" ? {
media: e,
set: 0
- } : IX));
+ } : FX));
},
setState: (e) => s.route({
...i,
state: e
- }, IX),
+ }, FX),
toggleTag: s.toggleTag,
clearFilter: s.clearFilter,
clearAll: s.clearAll,
setSort: s.setSort,
reshuffle: async () => {
if (w !== "photos") {
- let r = s.reshuffleVideos(), a = HX({
+ let r = s.reshuffleVideos(), a = VX({
kind: t,
name: n,
filters: {
@@ -67226,7 +67304,7 @@ function nke(e) {
await H.fetchQuery(a).catch(() => null);
return;
}
- let r = eke(), a = await H.fetchInfiniteQuery(WX(t, n, re, r)).catch(() => null);
+ let r = cke(), a = await H.fetchInfiniteQuery(UX(t, n, re, r)).catch(() => null);
me.current && a?.pages[0] && !a.pages[0].error && ne((e) => ({
...e,
[re]: r
@@ -67261,7 +67339,7 @@ function nke(e) {
k: e.k,
label: Ll(e.k),
n: e.n,
- selected: FEe(i.tag, e.k)
+ selected: UEe(i.tag, e.k)
})), Te = [
u.length,
!_,
@@ -67296,14 +67374,14 @@ function nke(e) {
creator: "",
studio: "",
owner: ""
- }, IX), Ne = "", Pe = !1;
+ }, FX), Ne = "", Pe = !1;
if (w === "people") Ne = `${t === "studio" ? "厂牌" : "艺人"} · ${u.length.toLocaleString()}`;
else if (w === "online") Pe = T.busy, Ne = `在线 · ${(T.total ?? r.follow?.n ?? 0).toLocaleString()} 项更新`;
else if (w === "videos") {
Pe = !A.data;
- let e = zX(i.tag).length;
+ let e = RX(i.tag).length;
Ne = `视频 · ${(A.data?.work_total ?? A.data?.total ?? 0).toLocaleString()}${e ? ` · 已选 ${e.toLocaleString()} 个标签` : ""}`;
- } else oe && !oe.error ? Ne = De ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : tke(oe, GX(oe).length) : Pe = ae.isPending;
+ } else oe && !oe.error ? Ne = De ? `${oe.title} · ${(oe.total || 0).toLocaleString()} 张` : lke(oe, WX(oe).length) : Pe = ae.isPending;
let Fe = (0, F.useMemo)(() => ({
...e.card.actions,
loadMorePhotos: async () => {
@@ -67320,7 +67398,7 @@ function nke(e) {
u
]);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(VOe, {
+ /* @__PURE__ */ (0, I.jsx)(YOe, {
kind: t,
name: n,
entity: r,
@@ -67330,7 +67408,7 @@ function nke(e) {
actions: be,
helpers: xe
}, D),
- (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(Tbe, {
+ (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(Nbe, {
kind: t,
name: n,
view: w,
@@ -67347,9 +67425,9 @@ function nke(e) {
actions: Se,
helpers: Ce
}), c.filter),
- (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(fbe, {
+ (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(bbe, {
enabled: w === "videos",
- children: w === "online" ? /* @__PURE__ */ (0, I.jsx)(JDe, {
+ children: w === "online" ? /* @__PURE__ */ (0, I.jsx)(nOe, {
view: T.view,
media: T.media,
result: T.result,
@@ -67363,16 +67441,16 @@ function nke(e) {
actions: e.follow.actions,
canLoadMore: e.canLoadMore,
clearFilters: T.clearFilters
- }) : w === "videos" && A.isError ? /* @__PURE__ */ (0, I.jsx)(VG, {
+ }) : w === "videos" && A.isError ? /* @__PURE__ */ (0, I.jsx)(BG, {
message: lr(A.error),
onRetry: () => {
A.refetch();
}
- }) : je ? /* @__PURE__ */ (0, I.jsx)(rke, {
+ }) : je ? /* @__PURE__ */ (0, I.jsx)(dke, {
filtered: Ae,
onShowAll: Me,
onOnline: g ? () => Se.setView("online") : void 0
- }) : /* @__PURE__ */ (0, I.jsx)(mDe, {
+ }) : /* @__PURE__ */ (0, I.jsx)(SDe, {
kind: t,
name: n,
view: w,
@@ -67405,9 +67483,9 @@ function nke(e) {
}), c.body)
] });
}
-function rke({ filtered: e, onShowAll: t, onOnline: n }) {
- return e ? /* @__PURE__ */ (0, I.jsx)(pV, {
- icon: hV("search"),
+function dke({ filtered: e, onShowAll: t, onOnline: n }) {
+ return e ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ icon: mV("search"),
title: "没有符合条件的视频",
actions: /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
@@ -67415,14 +67493,14 @@ function rke({ filtered: e, onShowAll: t, onOnline: n }) {
children: "清除筛选"
}),
children: "清除筛选后查看名下全部视频。"
- }) : /* @__PURE__ */ (0, I.jsx)(pV, {
- icon: hV("film"),
+ }) : /* @__PURE__ */ (0, I.jsx)(fV, {
+ icon: mV("film"),
title: "还没有视频",
actions: n ? /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
onClick: n,
children: "查看在线作品"
- }) : /* @__PURE__ */ (0, I.jsx)(xL, {
+ }) : /* @__PURE__ */ (0, I.jsx)(bL, {
size: "small",
href: "/",
children: "浏览馆藏"
@@ -67431,30 +67509,30 @@ function rke({ filtered: e, onShowAll: t, onOnline: n }) {
});
}
// src/react/diagnostics/diagnostics.ts
-var jQ = ["diagnostics"], MQ = (e) => B("/api/diagnostics", e);
-async function ike(e) {
+var AQ = ["diagnostics"], jQ = (e) => B("/api/diagnostics", e);
+async function fke(e) {
await H.fetchQuery({
- queryKey: jQ,
- queryFn: () => MQ(e),
+ queryKey: AQ,
+ queryFn: () => jQ(e),
staleTime: 1e4
});
}
// src/react/feed-new/feed-new-page.tsx
-function ake({ host: e, revision: t, helpers: n, actions: r }) {
- let i = Ft(NX(null, n.feedRowHtml)), a = (0, F.useRef)(t);
+function pke({ host: e, revision: t, helpers: n, actions: r }) {
+ let i = Ft(MX(null, n.feedRowHtml)), a = (0, F.useRef)(t);
return (0, F.useEffect)(() => {
- a.current !== t && (a.current = t, H.invalidateQueries({ queryKey: MX(null) }));
- }, [t]), (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(hQ, {
+ a.current !== t && (a.current = t, H.invalidateQueries({ queryKey: jX(null) }));
+ }, [t]), (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(mQ, {
feedNew: i.data ?? null,
host: e,
wire: n.wireFeedRow,
- act: PX,
+ act: NX,
settled: r.settled
}), e);
}
// src/react/index/index-search.tsx
-var oke = hV("search");
-function NQ({ label: e, value: t, onQuery: n }) {
+var mke = mV("search");
+function MQ({ label: e, value: t, onQuery: n }) {
let [r, i] = (0, F.useState)(t), a = (0, F.useRef)(!1), o = (0, F.useRef)(void 0);
(0, F.useEffect)(() => {
clearTimeout(o.current), i(t);
@@ -67471,15 +67549,15 @@ function NQ({ label: e, value: t, onQuery: n }) {
onCompositionEnd: (e) => {
a.current = !1, s(e.target.value);
},
- children: /* @__PURE__ */ (0, I.jsx)(oV, {
+ children: /* @__PURE__ */ (0, I.jsx)(aV, {
"aria-label": e,
value: r,
onChange: (e) => {
i(e), a.current || s(e);
},
- children: /* @__PURE__ */ (0, I.jsx)(cV, {
+ children: /* @__PURE__ */ (0, I.jsx)(sV, {
type: "search",
- leadingIcon: oke,
+ leadingIcon: mke,
spellCheck: !1,
autoComplete: "off",
enterKeyHint: "search",
@@ -67491,7 +67569,7 @@ function NQ({ label: e, value: t, onQuery: n }) {
});
}
// src/react/index/tag-pagination.ts
-function PQ(e) {
+function NQ(e) {
let [t, n] = (0, F.useState)({
filter: e,
pageIndex: 0,
@@ -67508,7 +67586,7 @@ function PQ(e) {
}), [e])
};
}
-function FQ(e, t, n) {
+function PQ(e, t, n) {
let { pageIndex: r, pageSize: i } = t;
(0, F.useEffect)(() => {
if (e === void 0) return;
@@ -67525,11 +67603,11 @@ function FQ(e, t, n) {
]);
}
// src/react/index/index-tags.tsx
-var IQ = () => /* @__PURE__ */ (0, I.jsx)("span", {
+var FQ = () => /* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
"data-tag-dot": "",
className: "size-1.75 flex-none rounded-full"
-}), LQ = hV("pencil"), RQ = (e, t) => ({
+}), IQ = mV("pencil"), LQ = (e, t) => ({
kind: "tag",
name: e.k,
favorite: e.favorite,
@@ -67538,7 +67616,7 @@ var IQ = () => /* @__PURE__ */ (0, I.jsx)("span", {
tag_id: e.id || e.k
} : { entity_id: e.entity_id }
});
-function ske({ tag: e, actions: t }) {
+function hke({ tag: e, actions: t }) {
let n = t.picked.has(e.k);
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 items-center gap-1",
@@ -67547,13 +67625,13 @@ function ske({ tag: e, actions: t }) {
type: "button",
"data-alpha-tag": "",
"data-k": e.k,
- "data-tag-cat": aZ(t.online, e.cat),
+ "data-tag-cat": iZ(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, I.jsx)(IQ, {}),
+ /* @__PURE__ */ (0, I.jsx)(FQ, {}),
/* @__PURE__ */ (0, I.jsx)("span", {
className: "min-w-0 flex-1 truncate",
children: e.label
@@ -67564,32 +67642,32 @@ function ske({ tag: e, actions: t }) {
})
]
}),
- t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(kV, { item: RQ(e, t.online) }),
- t.edit ? /* @__PURE__ */ (0, I.jsx)(OV, {
+ t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(OV, { item: LQ(e, t.online) }),
+ t.edit ? /* @__PURE__ */ (0, I.jsx)(DV, {
label: `编辑标签 ${e.label}`,
onClick: () => t.edit?.(e.k),
- children: /* @__PURE__ */ (0, I.jsx)(LQ, {})
+ children: /* @__PURE__ */ (0, I.jsx)(IQ, {})
}) : null
]
});
}
-function zQ({ groups: e, actions: t }) {
+function RQ({ groups: e, actions: t }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-alphabet": "",
className: "flex flex-col gap-4",
children: e.map(([e, n], r) => /* @__PURE__ */ (0, I.jsxs)("section", {
"data-alpha-group": r,
- className: TU({
+ className: wU({
radius: "plain",
padding: "none",
className: "px-5 pt-4 pb-3"
}),
children: [/* @__PURE__ */ (0, I.jsxs)("h3", {
className: "mb-2 flex items-center text-title-2-medium text-text-primary",
- children: [e, /* @__PURE__ */ (0, I.jsx)(_W, { value: n.length })]
+ children: [e, /* @__PURE__ */ (0, I.jsx)(gW, { value: n.length })]
}), /* @__PURE__ */ (0, I.jsx)("div", {
className: "index-tag-list gap-x-4 gap-y-0.5",
- children: n.map((e) => /* @__PURE__ */ (0, I.jsx)(ske, {
+ children: n.map((e) => /* @__PURE__ */ (0, I.jsx)(hke, {
tag: e,
actions: t
}, e.k))
@@ -67597,26 +67675,26 @@ function zQ({ groups: e, actions: t }) {
}, e))
});
}
-var cke = "\xA0";
-function BQ({ tags: e, actions: t }) {
+var gke = "\xA0";
+function zQ({ tags: e, actions: t }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-tag-cloud": "",
className: "flex flex-wrap gap-1.75",
children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)("span", {
"data-tag-token": "",
- "data-tag-cat": aZ(t.online, e.cat),
+ "data-tag-cat": iZ(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, I.jsxs)("button", {
type: "button",
"data-tag-chip": "",
"data-k": e.k,
- "data-tag-cat": aZ(t.online, e.cat),
+ "data-tag-cat": iZ(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, I.jsx)("span", {
className: "min-w-0 truncate",
- children: e.label + cke
+ children: e.label + gke
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-tag-n": "",
className: "text-caption-1-regular opacity-60",
@@ -67625,16 +67703,16 @@ function BQ({ tags: e, actions: t }) {
}), t.favorites !== !1 || t.edit ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-tag-actions": "",
className: "inline-flex flex-none items-center gap-1",
- children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(kV, { item: RQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, I.jsx)(OV, {
+ children: [t.favorites === !1 ? null : /* @__PURE__ */ (0, I.jsx)(OV, { item: LQ(e, t.online) }), t.edit ? /* @__PURE__ */ (0, I.jsx)(DV, {
label: `编辑标签 ${e.label}`,
onClick: () => t.edit?.(e.k),
- children: /* @__PURE__ */ (0, I.jsx)(LQ, {})
+ children: /* @__PURE__ */ (0, I.jsx)(IQ, {})
}) : null]
}) : null]
}, e.k))
});
}
-var lke = [[
+var _ke = [[
"cloud",
"标签云",
"tags"
@@ -67643,34 +67721,34 @@ var lke = [[
"字母表",
"text-aa"
]];
-function VQ({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {
- let d = fL();
- return /* @__PURE__ */ (0, I.jsx)(mL, {
+function BQ({ categories: e, category: t, online: n, readout: r, letters: i, view: a, onCategory: o, onJump: s, onView: c, status: l, actions: u }) {
+ let d = dL();
+ return /* @__PURE__ */ (0, I.jsx)(pL, {
label: "标签筛选",
topLabel: "标签类型",
top: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [l ? /* @__PURE__ */ (0, I.jsxs)("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, I.jsx)(hL, {
+ children: [[[!1, "使用中"], [!0, "已隐藏"]].map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(mL, {
"data-tag-pill": "",
"data-tag-cat": "all",
pressed: !l.blocked && l.hidden === e,
onPress: () => l.onChange(!!e),
children: t
- }, String(e))), l.onBlocked ? /* @__PURE__ */ (0, I.jsx)(hL, {
+ }, String(e))), l.onBlocked ? /* @__PURE__ */ (0, I.jsx)(mL, {
"data-tag-pill": "",
"data-tag-cat": "all",
pressed: !!l.blocked,
onPress: l.onBlocked,
children: "已屏蔽内容"
}) : null]
- }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, I.jsxs)(hL, {
+ }) : null, e.map(([e, r]) => /* @__PURE__ */ (0, I.jsxs)(mL, {
"data-tag-pill": "",
- "data-tag-cat": e === "all" ? "all" : aZ(n, e),
+ "data-tag-cat": e === "all" ? "all" : iZ(n, e),
pressed: t === e,
onPress: () => o(e),
- children: [/* @__PURE__ */ (0, I.jsx)(IQ, {}), r]
+ children: [/* @__PURE__ */ (0, I.jsx)(FQ, {}), r]
}, e))] }),
bottom: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsx)("span", {
@@ -67691,19 +67769,19 @@ function VQ({ categories: e, category: t, online: n, readout: r, letters: i, vie
children: e
}, e))
}) : null,
- /* @__PURE__ */ (0, I.jsx)(Pz, {
+ /* @__PURE__ */ (0, I.jsx)(Nz, {
"aria-label": "标签视图",
orientation: "horizontal",
value: a,
onChange: (e) => c(e),
- className: `ml-auto ${cU}`,
- children: lke.map(([e, t, n]) => {
- let r = hV(n);
- return /* @__PURE__ */ (0, I.jsx)(Fz, {
+ className: `ml-auto ${sU}`,
+ children: _ke.map(([e, t, n]) => {
+ let r = mV(n);
+ return /* @__PURE__ */ (0, I.jsx)(Pz, {
value: e,
"aria-label": t,
"data-glass-segment": "",
- className: lU,
+ className: cU,
children: /* @__PURE__ */ (0, I.jsx)("span", {
title: t,
className: "contents",
@@ -67715,13 +67793,13 @@ function VQ({ categories: e, category: t, online: n, readout: r, letters: i, vie
] })
});
}
-function uke({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
- return /* @__PURE__ */ (0, I.jsxs)(Ej, {
+function vke({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
+ return /* @__PURE__ */ (0, I.jsxs)(Sj, {
visible: e > 0,
label: "所选标签操作",
count: `已选 ${e.toLocaleString()} 个标签`,
children: [
- /* @__PURE__ */ (0, I.jsx)(VV, {
+ /* @__PURE__ */ (0, I.jsx)(BV, {
isSelected: t === "any",
onChange: (e) => n(e ? "any" : "all"),
children: /* @__PURE__ */ (0, I.jsxs)("span", {
@@ -67752,74 +67830,74 @@ function uke({ count: e, match: t, onMatch: n, onClear: r, onApply: i }) {
});
}
// src/react/toaster.tsx
-var HQ = (e, t) => /* @__PURE__ */ (0, I.jsx)("span", {
+var VQ = (e, t) => /* @__PURE__ */ (0, I.jsx)("span", {
"data-toast-glyph": t ? "draw" : "still",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: e }
-}), UQ = null, WQ = { "--floating-radius": "var(--radius-2xl)" }, GQ = (e) => `max(${e}px, var(--selection-dock-space, 0px), var(--miniplayer-space, 0px))`;
-function KQ() {
- let e = UQ;
- UQ = null, e?.root.unmount();
-}
-var qQ = (e, t) => {
- if (UQ?.host === e) return;
- KQ();
+}), HQ = null, UQ = { "--floating-radius": "var(--radius-2xl)" }, WQ = (e) => `max(${e}px, var(--selection-dock-space, 0px), var(--miniplayer-space, 0px))`;
+function GQ() {
+ let e = HQ;
+ HQ = null, e?.root.unmount();
+}
+var KQ = (e, t) => {
+ if (HQ?.host === e) return;
+ GQ();
let n = (0, zt.createRoot)(e);
- UQ = {
+ HQ = {
host: e,
root: n
- }, n.render(/* @__PURE__ */ (0, I.jsxs)(WV, { children: [/* @__PURE__ */ (0, I.jsx)(QV, {
+ }, n.render(/* @__PURE__ */ (0, I.jsxs)(UV, { children: [/* @__PURE__ */ (0, I.jsx)(ZV, {
id: "receipts",
position: "bottom-right",
closeButton: !0,
gap: 8,
style: {
- ...WQ,
+ ...UQ,
"--width": "min(560px, calc(100vw - 48px))"
},
offset: {
right: 24,
- bottom: `calc(${GQ(24)} + var(--processing-toast-space, 0px))`
+ bottom: `calc(${WQ(24)} + var(--processing-toast-space, 0px))`
},
mobileOffset: {
right: 16,
left: 16,
- bottom: `calc(${GQ(16)} + var(--processing-toast-space, 0px))`
+ bottom: `calc(${WQ(16)} + var(--processing-toast-space, 0px))`
},
toastOptions: { closeButtonAriaLabel: "关闭提示" },
containerAriaLabel: "通知",
icons: {
- success: HQ(t.success, !0),
- error: HQ(t.error, !1)
+ success: VQ(t.success, !0),
+ error: VQ(t.error, !1)
}
- }), /* @__PURE__ */ (0, I.jsx)(QV, {
+ }), /* @__PURE__ */ (0, I.jsx)(ZV, {
id: "processing",
position: "bottom-right",
gap: 8,
expand: !0,
style: {
- ...WQ,
+ ...UQ,
"--width": "min(400px, calc(100vw - 32px))"
},
offset: {
right: 24,
- bottom: GQ(24)
+ bottom: WQ(24)
},
mobileOffset: {
right: 16,
left: 16,
- bottom: GQ(16)
+ bottom: WQ(16)
},
toastOptions: { closeButtonAriaLabel: "关闭任务提示" },
containerAriaLabel: "后台任务"
})] }));
-}, dke = 6e3, JQ = (e, t) => {
+}, yke = 6e3, qQ = (e, t) => {
if (!String(t.html ?? "").trim()) return;
- let n = t.alert ? qV.error : qV.success, r = t.action;
+ let n = t.alert ? KV.error : KV.success, r = t.action;
n(/* @__PURE__ */ (0, I.jsx)("span", { dangerouslySetInnerHTML: { __html: t.html } }), {
id: e,
toasterId: "receipts",
- duration: t.timeout > 0 ? t.timeout : dke,
+ duration: t.timeout > 0 ? t.timeout : yke,
action: r ? {
label: r.label,
onClick: (e) => {
@@ -67827,7 +67905,7 @@ var qQ = (e, t) => {
}
} : void 0
});
-}, YQ = (e) => e.id ?? e.entity_id, XQ = {
+}, JQ = (e) => e.id ?? e.entity_id, YQ = {
rename: "重命名标签",
merge: "合并标签",
hide: "隐藏标签",
@@ -67835,26 +67913,26 @@ var qQ = (e, t) => {
repair: "整理重复标签",
block: "屏蔽内容",
unblock: "恢复内容"
-}, ZQ = (e, t) => V("/api/tag-management/preview", e, "POST", t);
-async function QQ(e, t, n) {
+}, XQ = (e, t) => V("/api/tag-management/preview", e, "POST", t);
+async function ZQ(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 === "block" ? `屏蔽带有${r}任一标签的内容及其其它版本,涉及 ${t.assets} 个资源。可在「已屏蔽内容」中恢复。` : e.operation === "unblock" ? `解除${r}的内容屏蔽,涉及 ${t.assets} 个资源。` : `${e.operation === "hide" ? "隐藏" : "恢复"} ${t.tags.length} 个标签,涉及 ${t.assets} 个资源。${e.operation === "hide" ? "可在“已隐藏”中恢复。" : ""}`;
return !(await ll({
- title: XQ[e.operation],
+ title: YQ[e.operation],
body: i,
- confirmLabel: XQ[e.operation],
+ confirmLabel: YQ[e.operation],
onConfirm: () => V("/api/tag-management", {
...e,
token: t.token
}, "POST", n)
- })).confirmed || n?.aborted ? !1 : (await H.invalidateQueries(), JQ(`tag-management-${Date.now()}`, {
- html: `已${XQ[e.operation]}`,
+ })).confirmed || n?.aborted ? !1 : (await H.invalidateQueries(), qQ(`tag-management-${Date.now()}`, {
+ html: `已${YQ[e.operation]}`,
alert: !1,
timeout: 6e3,
action: null
}), !0);
}
-function $Q({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {
+function QQ({ operation: e, selected: t, close: n, done: r, scope: i = "local" }) {
let a = (0, F.useRef)({
operation: e,
selected: t,
@@ -67863,24 +67941,24 @@ function $Q({ operation: e, selected: t, close: n, done: r, scope: i = "local" }
scope: i
}), o = (0, F.useRef)({
name: t[0]?.k || "",
- target_id: t[0] ? YQ(t[0]) : 0
+ target_id: t[0] ? JQ(t[0]) : 0
}), [s, c] = (0, F.useState)(null);
return (0, F.useEffect)(() => {
let e = new AbortController(), t = a.current, n = sl({
- title: XQ[t.operation],
+ title: YQ[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(YQ),
+ ids: t.selected.map(JQ),
...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 ZQ(n, e.signal)
+ plan: await XQ(n, e.signal)
};
}
});
@@ -67891,14 +67969,14 @@ function $Q({ operation: e, selected: t, close: n, done: r, scope: i = "local" }
if (!e.signal.aborted) {
if (n.confirmed) {
let r = n.result;
- await QQ(r.command, r.plan, e.signal) && t.done();
+ await ZQ(r.command, r.plan, e.signal) && t.done();
}
e.signal.aborted || t.close();
}
}), () => {
e.abort(), n.close();
};
- }, []), s ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(fke, {
+ }, []), s ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(bke, {
operation: a.current.operation,
selected: a.current.selected,
dialog: s.dialog,
@@ -67907,8 +67985,8 @@ function $Q({ operation: e, selected: t, close: n, done: r, scope: i = "local" }
}
}), s.host) : null;
}
-function fke({ operation: e, selected: t, dialog: n, update: r }) {
- let [i, a] = (0, F.useState)(t[0]?.k || ""), [o, s] = (0, F.useState)(t[0] ? YQ(t[0]) : 0);
+function bke({ operation: e, selected: t, dialog: n, update: r }) {
+ let [i, a] = (0, F.useState)(t[0]?.k || ""), [o, s] = (0, F.useState)(t[0] ? JQ(t[0]) : 0);
return (0, F.useEffect)(() => {
r({
name: i,
@@ -67921,28 +67999,28 @@ function fke({ operation: e, selected: t, dialog: n, update: r }) {
e,
t,
r
- ]), e === "rename" ? /* @__PURE__ */ (0, I.jsx)(lV, {
+ ]), e === "rename" ? /* @__PURE__ */ (0, I.jsx)(cV, {
autoFocus: !0,
"aria-label": "标签名称",
value: i,
onChange: a,
maxLength: 80
- }) : /* @__PURE__ */ (0, I.jsx)(UJ, {
+ }) : /* @__PURE__ */ (0, I.jsx)(HJ, {
"aria-label": "保留的标签",
prefix: "保留",
selectedKey: String(o),
onSelectionChange: (e) => {
- let n = t.find((t) => String(YQ(t)) === String(e));
- n && s(YQ(n));
+ let n = t.find((t) => String(JQ(t)) === String(e));
+ n && s(JQ(n));
},
- children: t.map((e) => /* @__PURE__ */ (0, I.jsx)(KU, {
- id: String(YQ(e)),
+ children: t.map((e) => /* @__PURE__ */ (0, I.jsx)(GU, {
+ id: String(JQ(e)),
children: e.k
- }, YQ(e)))
+ }, JQ(e)))
});
}
// src/react/index/tag-manager.tsx
-function e$({ search: e, category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {
+function $Q({ search: e, category: t = "all", view: n = "cloud", onCategory: r, onView: i, onJump: a, scope: o = "local" }) {
let s = o === "online", c = (0, F.useRef)(null), [l, u] = (0, F.useState)(""), [d, f] = (0, F.useState)(t), [p, m] = (0, F.useState)(n), h = r ? t : d, g = i ? n : p, _ = e ?? l, [v, y] = (0, F.useState)(!1), [b, x] = (0, F.useState)(!1), S = JSON.stringify([
o,
_,
@@ -67950,7 +68028,7 @@ function e$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
g,
v,
b
- ]), { pagination: C, onChange: w } = PQ(S), T = new URLSearchParams({
+ ]), { pagination: C, onChange: w } = NQ(S), T = new URLSearchParams({
limit: String(C.pageSize),
offset: String(C.pageIndex * C.pageSize),
q: _,
@@ -67967,25 +68045,25 @@ function e$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
],
queryFn: ({ signal: e }) => B(`/api/tag-management?${T}`, e)
});
- FQ(E.data?.total, C, w);
+ PQ(E.data?.total, C, w);
let [D, O] = (0, F.useState)(/* @__PURE__ */ new Map());
(0, F.useEffect)(() => {
O(/* @__PURE__ */ new Map());
}, [S]);
- let k = new Set(D.keys()), [A, j] = (0, F.useState)(null), M = _H(), ee = E.data?.items || [], N = ee, te = (s ? XX : YX).filter(([e]) => e === "all" || e === h || E.isPending || Number(E.data?.categories[e]) > 0), P = N.map((e) => ({
+ let k = new Set(D.keys()), [A, j] = (0, F.useState)(null), M = gH(), ee = E.data?.items || [], N = ee, te = (s ? YX : JX).filter(([e]) => e === "all" || e === h || E.isPending || Number(E.data?.categories[e]) > 0), P = N.map((e) => ({
...e,
label: e.k
- })), ne = g === "alphabet" ? oZ(P, (e) => e) : [], re = [...D.values()], ie = (e) => {
+ })), ne = g === "alphabet" ? aZ(P, (e) => e) : [], re = [...D.values()], ie = (e) => {
M.run(e.operation, async (t) => {
let n = s ? {
...e,
scope: o
} : e;
- return QQ(n, await ZQ(n, t), t);
+ return ZQ(n, await XQ(n, t), t);
}, (e) => {
e && O(/* @__PURE__ */ new Map());
});
- }, ae = re.map(YQ), oe = {
+ }, ae = re.map(JQ), oe = {
online: s,
favorites: s,
picked: k,
@@ -68006,13 +68084,13 @@ function e$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
children: [
e === void 0 ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "mb-4 flex",
- children: /* @__PURE__ */ (0, I.jsx)(NQ, {
+ children: /* @__PURE__ */ (0, I.jsx)(MQ, {
label: "过滤标签",
value: l,
onQuery: u
})
}) : null,
- /* @__PURE__ */ (0, I.jsx)(VQ, {
+ /* @__PURE__ */ (0, I.jsx)(BQ, {
categories: te,
category: h,
online: s,
@@ -68040,7 +68118,7 @@ function e$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
} } : {}
},
actions: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- E.data?.duplicate_groups.length ? /* @__PURE__ */ (0, I.jsx)(gL, {
+ E.data?.duplicate_groups.length ? /* @__PURE__ */ (0, I.jsx)(hL, {
busy: M.busy === "repair",
onPress: () => ie({
operation: "repair",
@@ -68048,11 +68126,11 @@ function e$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
}),
children: "整理重复标签"
}) : null,
- N.length ? /* @__PURE__ */ (0, I.jsx)(gL, {
+ N.length ? /* @__PURE__ */ (0, I.jsx)(hL, {
onPress: () => O((e) => new Map([...e, ...N.map((e) => [e.k, e])])),
children: "选择本页"
}) : null,
- k.size ? /* @__PURE__ */ (0, I.jsx)(gL, {
+ k.size ? /* @__PURE__ */ (0, I.jsx)(hL, {
onPress: () => O(/* @__PURE__ */ new Map()),
children: "清空选择"
}) : null
@@ -68061,7 +68139,7 @@ function e$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
E.isPending ? /* @__PURE__ */ (0, I.jsx)("div", { dangerouslySetInnerHTML: { __html: rc({
mode: g,
pageSize: C.pageSize
- }) } }) : E.isError ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ }) } }) : E.isError ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "error",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -68069,19 +68147,19 @@ function e$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
children: "立即重试"
}),
children: "无法读取标签"
- }) : N.length ? g === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(zQ, {
+ }) : N.length ? g === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(RQ, {
groups: ne,
actions: oe
- }) : /* @__PURE__ */ (0, I.jsx)(BQ, {
+ }) : /* @__PURE__ */ (0, I.jsx)(zQ, {
tags: P,
actions: oe
- }) : /* @__PURE__ */ (0, I.jsx)(fV, {
+ }) : /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "neutral",
children: "没有符合条件的标签。"
}),
E.data ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "mt-5",
- children: /* @__PURE__ */ (0, I.jsx)(KJ, {
+ children: /* @__PURE__ */ (0, I.jsx)(GJ, {
label: "标签管理",
total: E.data.total,
pagination: C,
@@ -68091,11 +68169,11 @@ function e$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
pageSizes: nc
})
}) : null,
- M.error ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ M.error ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "error",
children: M.error
}) : null,
- /* @__PURE__ */ (0, I.jsxs)(Ej, {
+ /* @__PURE__ */ (0, I.jsxs)(Sj, {
label: "标签管理操作",
count: `已选 ${k.size} 个标签`,
visible: k.size > 0,
@@ -68117,7 +68195,7 @@ function e$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
/* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- ..._V(!!M.busy),
+ ...gV(!!M.busy),
onClick: () => ie({
operation: v ? "restore" : "hide",
ids: ae
@@ -68127,7 +68205,7 @@ function e$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
s ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- ..._V(!!M.busy),
+ ...gV(!!M.busy),
onClick: () => ie({
operation: b ? "unblock" : "block",
ids: ae
@@ -68136,7 +68214,7 @@ function e$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
}) : null
]
}),
- A ? /* @__PURE__ */ (0, I.jsx)($Q, {
+ A ? /* @__PURE__ */ (0, I.jsx)(QQ, {
operation: A,
selected: re,
scope: o,
@@ -68147,7 +68225,7 @@ function e$({ search: e, category: t = "all", view: n = "cloud", onCategory: r,
});
}
// src/react/index/index-page.tsx
-var pke = [
+var xke = [
{
value: "studios",
label: "厂牌",
@@ -68163,7 +68241,7 @@ var pke = [
label: "系列",
symbol: "list"
}
-], mke = [{
+], Ske = [{
value: "local",
label: "本地",
symbol: "hard-drive"
@@ -68171,7 +68249,7 @@ var pke = [
value: "online",
label: "在线",
symbol: "rss"
-}], hke = [
+}], Cke = [
{
value: "performers",
label: "艺人",
@@ -68187,7 +68265,7 @@ var pke = [
label: "在线",
symbol: "rss"
}
-], gke = {
+], wke = {
people: [[
"big",
"大图 · 竖幅头像",
@@ -68216,20 +68294,20 @@ var pke = [
"layout-grid"
]]
};
-function _ke({ kind: e, layout: t, onChange: n }) {
- return /* @__PURE__ */ (0, I.jsx)(aU, {
- "aria-label": `${JX[e]}索引版式`,
+function Tke({ kind: e, layout: t, onChange: n }) {
+ return /* @__PURE__ */ (0, I.jsx)(iU, {
+ "aria-label": `${qX[e]}索引版式`,
orientation: "horizontal",
value: t,
onChange: (e) => n(e),
"data-index-layout": "",
- className: `flex-none ${oU}`,
- children: gke[e === "series" ? "series" : $X(e) ? "company" : "people"].map(([e, t, n]) => {
- let r = hV(n);
- return /* @__PURE__ */ (0, I.jsx)(Fz, {
+ className: `flex-none ${aU}`,
+ children: wke[e === "series" ? "series" : QX(e) ? "company" : "people"].map(([e, t, n]) => {
+ let r = mV(n);
+ return /* @__PURE__ */ (0, I.jsx)(Pz, {
value: e,
"aria-label": t,
- className: Sve,
+ className: Ave,
children: /* @__PURE__ */ (0, I.jsx)("span", {
title: t,
className: "contents",
@@ -68239,8 +68317,8 @@ function _ke({ kind: e, layout: t, onChange: n }) {
})
});
}
-function vke(e) {
- let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(() => eZ({
+function Eke(e) {
+ let [t, n] = (0, F.useState)(!1), [r, i] = (0, F.useState)(() => $X({
kind: e.kind,
q: e.q,
scope: e.scope,
@@ -68253,8 +68331,8 @@ function vke(e) {
e.view,
e.category
]), [o, s] = (0, F.useState)(a);
- a !== o && (s(a), i(eZ(e)));
- let [c, l] = (0, F.useState)(e.layout), [u, d] = (0, F.useState)(/* @__PURE__ */ new Set()), [f, p] = (0, F.useState)("any"), m = (0, F.useRef)(null), { kind: h, q: g, scope: _, view: v, category: y } = r, b = JX[h], x = h === "tags" && _ === "online", S = h === "performers" && _ === "online";
+ a !== o && (s(a), i($X(e)));
+ let [c, l] = (0, F.useState)(e.layout), [u, d] = (0, F.useState)(/* @__PURE__ */ new Set()), [f, p] = (0, F.useState)("any"), m = (0, F.useRef)(null), { kind: h, q: g, scope: _, view: v, category: y } = r, b = qX[h], x = h === "tags" && _ === "online", S = h === "performers" && _ === "online";
(0, F.useEffect)(() => {
if (r.kind === e.kind && r.scope === e.scope && r.category === e.category) return;
let t = !0;
@@ -68273,7 +68351,7 @@ function vke(e) {
...t
};
i(o), e.route(o, { replace: a });
- }, { pagination: w, onChange: T } = PQ(JSON.stringify(r)), E = iZ(tZ(r), w.pageSize), D = Lt({
+ }, { pagination: w, onChange: T } = NQ(JSON.stringify(r)), E = rZ(eZ(r), w.pageSize), D = Lt({
queryKey: h === "tags" && (w.pageIndex || w.pageSize !== 100) ? [
...E.queryKey,
"page",
@@ -68288,7 +68366,7 @@ function vke(e) {
getNextPageParam: h === "tags" ? () => void 0 : E.getNextPageParam,
enabled: !(t && h === "tags"),
placeholderData: ke
- }), O = XEe(D.data), k = D.isPending || D.isPlaceholderData, A = !!D.hasNextPage && !D.isPlaceholderData, j = D.data?.pages[0]?.total;
+ }), O = iDe(D.data), k = D.isPending || D.isPlaceholderData, A = !!D.hasNextPage && !D.isPlaceholderData, j = D.data?.pages[0]?.total;
(0, F.useEffect)(() => {
pm(() => window.location.pathname === `/${h}` && !!m.current?.isConnected, m.current?.querySelector("[data-index-body]"), { pending: k });
}, [
@@ -68296,8 +68374,8 @@ function vke(e) {
D.isPending,
D.isPlaceholderData,
r
- ]), FQ(h === "tags" && !D.isPlaceholderData ? j : void 0, w, T);
- let M = h === "tags" ? D.isPending || D.isError ? "" : `${(j ?? O.length).toLocaleString()} 个标签` : ZEe(O.length, !!D.hasNextPage), ee = `${h}:${_}:${g}`, N = (0, F.useRef)(null), te = D.data?.pages[0]?.categories;
+ ]), PQ(h === "tags" && !D.isPlaceholderData ? j : void 0, w, T);
+ let M = h === "tags" ? D.isPending || D.isError ? "" : `${(j ?? O.length).toLocaleString()} 个标签` : aDe(O.length, !!D.hasNextPage), ee = `${h}:${_}:${g}`, N = (0, F.useRef)(null), te = D.data?.pages[0]?.categories;
te && !D.isPlaceholderData && (N.current = {
key: ee,
counts: te
@@ -68313,15 +68391,15 @@ function vke(e) {
O,
h,
x
- ]), ae = (0, F.useMemo)(() => h === "tags" && v === "alphabet" ? oZ(ie, (t) => x ? t : e.tagLabel(t)) : [], [
+ ]), ae = (0, F.useMemo)(() => h === "tags" && v === "alphabet" ? aZ(ie, (t) => x ? t : e.tagLabel(t)) : [], [
ie,
v,
h,
x
]), oe = (t) => {
l(t), e.savePreference({ layout: t });
- }, se = h === "tags" ? /* @__PURE__ */ (0, I.jsx)(vW, {
- tabs: mke,
+ }, se = h === "tags" ? /* @__PURE__ */ (0, I.jsx)(_W, {
+ tabs: Ske,
value: _,
label: "词表",
onChange: (e) => {
@@ -68331,8 +68409,8 @@ function vke(e) {
view: e === "online" ? "alphabet" : v
});
}
- }) : $X(h) || h === "series" ? /* @__PURE__ */ (0, I.jsx)(vW, {
- tabs: pke,
+ }) : QX(h) || h === "series" ? /* @__PURE__ */ (0, I.jsx)(_W, {
+ tabs: xke,
value: h,
label: "资料类型",
onChange: (e) => C({ kind: e })
@@ -68341,7 +68419,7 @@ function vke(e) {
let n = new Set(e);
return n.delete(t) || n.add(t), n;
}) : ie.find((e) => e.k === t)?.entity_id ? e.openEntity("tag", t) : e.showTags([t], "all");
- }, le = (x ? XX : YX).filter(re);
+ }, le = (x ? YX : JX).filter(re);
return /* @__PURE__ */ (0, I.jsxs)("div", {
ref: m,
"data-index-page": h,
@@ -68356,10 +68434,10 @@ function vke(e) {
className: "flex flex-none items-center text-display-4-medium whitespace-nowrap text-text-primary max-board-narrow:text-title-1-medium",
children: b
}),
- QX(h) ? /* @__PURE__ */ (0, I.jsx)("span", {
+ ZX(h) ? /* @__PURE__ */ (0, I.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: /* @__PURE__ */ (0, I.jsx)(sL, {
+ children: /* @__PURE__ */ (0, I.jsx)(oL, {
text: k ? void 0 : D.isError ? "" : M,
busy: k,
placeholder: /* @__PURE__ */ (0, I.jsx)("span", {
@@ -68368,18 +68446,18 @@ function vke(e) {
})
})
}) : null,
- QX(h) ? /* @__PURE__ */ (0, I.jsx)(_ke, {
+ ZX(h) ? /* @__PURE__ */ (0, I.jsx)(Tke, {
kind: h,
layout: c,
onChange: oe
}) : null,
- /* @__PURE__ */ (0, I.jsx)(AV, { kind: h === "tags" ? "tag" : h === "series" ? "series" : h === "studios" ? "studio" : h === "agencies" ? "agency" : h === "creators" ? "creator" : "performer" }),
+ /* @__PURE__ */ (0, I.jsx)(kV, { kind: h === "tags" ? "tag" : h === "series" ? "series" : h === "studios" ? "studio" : h === "agencies" ? "agency" : h === "creators" ? "creator" : "performer" }),
h === "tags" ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: t ? "primary" : "ghost",
iconOnly: !0,
className: "flex-none",
"data-tag-mode": "",
- leadingIcon: hV("pencil"),
+ leadingIcon: mV("pencil"),
"aria-label": t ? "返回标签浏览" : "管理标签",
title: t ? "返回标签浏览" : "管理标签",
"aria-pressed": t,
@@ -68387,7 +68465,7 @@ function vke(e) {
e.exitSelectMode(), d(/* @__PURE__ */ new Set()), n(!t);
}
}) : null,
- /* @__PURE__ */ (0, I.jsx)(NQ, {
+ /* @__PURE__ */ (0, I.jsx)(MQ, {
label: `过滤${b}`,
value: g,
onQuery: (e) => {
@@ -68396,8 +68474,8 @@ function vke(e) {
})
]
}),
- h === "performers" || h === "creators" ? /* @__PURE__ */ (0, I.jsx)(vW, {
- tabs: hke,
+ h === "performers" || h === "creators" ? /* @__PURE__ */ (0, I.jsx)(_W, {
+ tabs: Cke,
value: S ? "online" : h,
label: "人物名册",
onChange: (t) => {
@@ -68409,7 +68487,7 @@ function vke(e) {
}
}) : null,
se,
- t && h === "tags" ? /* @__PURE__ */ (0, I.jsx)(e$, {
+ t && h === "tags" ? /* @__PURE__ */ (0, I.jsx)($Q, {
scope: _,
search: g,
category: y,
@@ -68423,8 +68501,8 @@ function vke(e) {
}, _) : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
h === "performers" && _ === "local" ? /* @__PURE__ */ (0, I.jsx)("div", {
"aria-label": "身份分类",
- className: qX,
- children: KX.filter((e) => e[0] === y || re(e)).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(J, {
+ className: KX,
+ children: GX.filter((e) => e[0] === y || re(e)).map(([e, t]) => /* @__PURE__ */ (0, I.jsx)(J, {
variant: y === e ? "primary" : "secondary",
size: "small",
"aria-pressed": y === e,
@@ -68432,7 +68510,7 @@ function vke(e) {
children: t
}, e))
}) : null,
- h === "tags" ? /* @__PURE__ */ (0, I.jsx)(VQ, {
+ h === "tags" ? /* @__PURE__ */ (0, I.jsx)(BQ, {
categories: le,
category: y,
online: x,
@@ -68448,7 +68526,7 @@ function vke(e) {
}) : null,
/* @__PURE__ */ (0, I.jsx)("div", {
"data-index-body": "",
- children: /* @__PURE__ */ (0, I.jsx)(HG, {
+ children: /* @__PURE__ */ (0, I.jsx)(VG, {
pending: k,
skeletonHtml: () => h === "tags" ? rc({
mode: v,
@@ -68460,8 +68538,8 @@ function vke(e) {
}),
children: (() => {
if (k) return null;
- if (D.isError) return /* @__PURE__ */ (0, I.jsx)(pV, {
- icon: hV("alert"),
+ if (D.isError) return /* @__PURE__ */ (0, I.jsx)(fV, {
+ icon: mV("alert"),
title: `没能读取${b}`,
actions: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -68470,7 +68548,7 @@ function vke(e) {
}),
children: xn(D.error)
});
- if (!O.length) return /* @__PURE__ */ (0, I.jsx)(bke, {
+ if (!O.length) return /* @__PURE__ */ (0, I.jsx)(Oke, {
kind: h,
filtered: !!g || y !== "all",
online: x || S,
@@ -68479,12 +68557,12 @@ function vke(e) {
category: "all"
})
});
- if (S) return /* @__PURE__ */ (0, I.jsx)(nDe, {
+ if (S) return /* @__PURE__ */ (0, I.jsx)(uDe, {
items: O,
layout: c,
props: e
});
- if (QX(h)) return /* @__PURE__ */ (0, I.jsx)(lZ, {
+ if (ZX(h)) return /* @__PURE__ */ (0, I.jsx)(cZ, {
kind: h,
items: O,
layout: c,
@@ -68495,10 +68573,10 @@ function vke(e) {
picked: u,
press: ce
};
- return v === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(zQ, {
+ return v === "alphabet" ? /* @__PURE__ */ (0, I.jsx)(RQ, {
groups: ae,
actions: t
- }) : /* @__PURE__ */ (0, I.jsx)(BQ, {
+ }) : /* @__PURE__ */ (0, I.jsx)(zQ, {
tags: ie,
actions: t
});
@@ -68507,7 +68585,7 @@ function vke(e) {
}),
h === "tags" && !k && !D.isError ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "mt-5",
- children: /* @__PURE__ */ (0, I.jsx)(KJ, {
+ children: /* @__PURE__ */ (0, I.jsx)(GJ, {
label: "标签",
total: j ?? O.length,
pagination: w,
@@ -68532,7 +68610,7 @@ function vke(e) {
}) : null, "载入更多"]
})
}) : null,
- h === "tags" && !x && e.selectMode ? /* @__PURE__ */ (0, I.jsx)(uke, {
+ h === "tags" && !x && e.selectMode ? /* @__PURE__ */ (0, I.jsx)(vke, {
count: u.size,
match: f,
onMatch: p,
@@ -68546,7 +68624,7 @@ function vke(e) {
]
});
}
-var yke = {
+var Dke = {
tags: "标签",
performers: "艺人",
creators: "卖家",
@@ -68554,9 +68632,9 @@ var yke = {
agencies: "事务所",
series: "系列"
};
-function bke({ kind: e, filtered: t, online: n, onClear: r }) {
- if (t) return /* @__PURE__ */ (0, I.jsx)(pV, {
- icon: hV("search"),
+function Oke({ kind: e, filtered: t, online: n, onClear: r }) {
+ if (t) return /* @__PURE__ */ (0, I.jsx)(fV, {
+ icon: mV("search"),
title: "没有符合条件的内容",
actions: /* @__PURE__ */ (0, I.jsx)(J, {
size: "small",
@@ -68565,16 +68643,16 @@ function bke({ kind: e, filtered: t, online: n, onClear: r }) {
}),
children: "清除筛选或搜索条件后查看全部内容。"
});
- let i = n && e === "performers" ? "创作者" : yke[e], a = /* @__PURE__ */ (0, I.jsx)(xL, {
+ let i = n && e === "performers" ? "创作者" : Dke[e], a = /* @__PURE__ */ (0, I.jsx)(bL, {
size: "small",
variant: n ? "primary" : "secondary",
href: "/subscriptions?tab=add",
children: "添加关注"
});
- return /* @__PURE__ */ (0, I.jsx)(pV, {
- icon: hV(e === "tags" ? "tags" : "user-round"),
+ return /* @__PURE__ */ (0, I.jsx)(fV, {
+ icon: mV(e === "tags" ? "tags" : "user-round"),
title: `还没有${i}`,
- actions: n ? a : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(xL, {
+ actions: n ? a : /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(bL, {
size: "small",
href: "/settings/library",
children: "添加媒体"
@@ -68582,15 +68660,15 @@ function bke({ kind: e, filtered: t, online: n, onClear: r }) {
children: n ? `添加关注来源并获取内容后,这里会显示来源上的${i}。` : "添加内容并补充资料后,这里会显示对应信息。"
});
}
-var t$ = {
+var e$ = {
video: ["视频", "play"],
image: ["图片", "pics"],
archive: ["压缩包", "file-archive"],
audio: ["音频", "file-audio"],
url: ["网址快捷方式", "globe"],
other: ["其它文件", "hard-drive"]
-}, xke = (e) => t$[e.junk_kind || "other"] || t$.other;
-function Ske(e) {
+}, kke = (e) => e$[e.junk_kind || "other"] || e$.other;
+function Ake(e) {
return e === "dismissed" ? {
operation: "reconsider-junk",
label: "重新判断",
@@ -68601,40 +68679,40 @@ function Ske(e) {
glyph: "check"
};
}
-var n$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), Cke = (e, t) => [
+var t$ = (e, t) => Number((t ? e.counts?.[t] : e.all_total) || 0), jke = (e, t) => [
"junk-queue",
e.view,
e.kind,
t
];
-function wke({ kind: e, view: t }) {
+function Mke({ kind: e, view: t }) {
let n = new URLSearchParams({
limit: "200",
status: t
});
return e && n.set("kind", e), n.toString();
}
-async function Tke(e, t) {
- let n = await B(`/api/ads?${wke(e)}`, t);
+async function Nke(e, t) {
+ let n = await B(`/api/ads?${Mke(e)}`, t);
return {
...n,
items: n.items || []
};
}
// src/react/junk-queue/junk-card.tsx
-function r$({ name: e }) {
+function n$({ name: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
}
-var i$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
-function Eke({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
- let o = (0, F.useRef)(null), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = e.junk_kind || "other", [f, p] = xke(e), m = String(e.name || ""), h = Ske(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]") || i$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
+var r$ = (e, t) => e || t.shiftKey || t.ctrlKey || t.metaKey;
+function Pke({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions: a }) {
+ let o = (0, F.useRef)(null), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = e.junk_kind || "other", [f, p] = kke(e), m = String(e.name || ""), h = Ake(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]") || r$(r, t) && (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey));
}, y = (t) => {
- t.stopPropagation(), i$(r, t) ? (t.preventDefault(), a.toggleSelection(e.id, t.shiftKey)) : o.current && a.open(e, o.current);
+ t.stopPropagation(), r$(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) => {
@@ -68665,7 +68743,7 @@ function Eke({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"data-junk-kind": d,
"data-selected": n ? "" : void 0,
onClick: v,
- onMouseDown: cK,
+ onMouseDown: sK,
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-media-pic": "",
@@ -68673,7 +68751,7 @@ function Eke({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-media-glyph": "",
- children: [/* @__PURE__ */ (0, I.jsx)(r$, { name: p }), /* @__PURE__ */ (0, I.jsx)("b", { children: f })]
+ children: [/* @__PURE__ */ (0, I.jsx)(n$, { name: p }), /* @__PURE__ */ (0, I.jsx)("b", { children: f })]
}),
g ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-media-art": "thumb",
@@ -68685,7 +68763,7 @@ function Eke({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
}),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-media-check": "",
- children: /* @__PURE__ */ (0, I.jsx)(r$, { name: "check" })
+ children: /* @__PURE__ */ (0, I.jsx)(n$, { name: "check" })
})
]
}),
@@ -68722,7 +68800,7 @@ function Eke({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
children: [s === "reveal" ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-junk-spinner": "",
dangerouslySetInnerHTML: { __html: Bs("正在定位") }
- }) : /* @__PURE__ */ (0, I.jsx)(r$, { name: "folder-open" }), /* @__PURE__ */ (0, I.jsx)("span", {
+ }) : /* @__PURE__ */ (0, I.jsx)(n$, { name: "folder-open" }), /* @__PURE__ */ (0, I.jsx)("span", {
"data-junk-label": "",
children: "打开位置"
})]
@@ -68734,7 +68812,7 @@ function Eke({ 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, I.jsx)(r$, { name: h.glyph }), /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(n$, { name: h.glyph }), /* @__PURE__ */ (0, I.jsx)("span", {
"data-junk-label": "",
children: h.label
})]
@@ -68746,7 +68824,7 @@ function Eke({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
"aria-label": "移入回收站",
...S("dispose"),
onClick: x("dispose"),
- children: [/* @__PURE__ */ (0, I.jsx)(r$, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(n$, { name: "trash" }), /* @__PURE__ */ (0, I.jsx)("span", {
"data-junk-label": "",
children: "移入回收站"
})]
@@ -68761,9 +68839,9 @@ function Eke({ item: e, view: t, selected: n, selectMode: r, helpers: i, actions
]
});
}
-var Dke = (0, F.memo)(Eke);
+var Fke = (0, F.memo)(Pke);
// src/react/components/collection-summary.tsx
-function a$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
+function i$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !1 }) {
return /* @__PURE__ */ (0, I.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
@@ -68789,31 +68867,31 @@ function a$({ label: e, figure: t, detail: n = "", pending: r = !1, flush: i = !
});
}
// src/react/junk-queue/junk-count.tsx
-function o$({ name: e }) {
+function a$({ name: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
}
-function s$({ scope: e, count: t }) {
+function o$({ scope: e, count: t }) {
return t ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [" ", /* @__PURE__ */ (0, I.jsx)("span", {
"data-count-badge": `junk:${e}`,
children: t.toLocaleString()
})] }) : null;
}
-function Oke({ route: e, page: t, failed: n, onNavigate: r }) {
- let i = HV(), a = (0, F.useRef)(null), { kind: o, view: s } = e, c = yL(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? RU.map(([e]) => n$(t, e)).join(",") : ""}`), l = VU(s), u = (e) => {
+function Ike({ route: e, page: t, failed: n, onNavigate: r }) {
+ let i = VV(), a = (0, F.useRef)(null), { kind: o, view: s } = e, c = vL(a, i, "[data-junk-kind-link][aria-current=\"page\"]", `${s}:${o}:${t ? LU.map(([e]) => t$(t, e)).join(",") : ""}`), l = BU(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") || BU()));
+ !t || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey || (e.preventDefault(), r(t.getAttribute("href") || zU()));
}, d = t ? `${Number(t.total || 0).toLocaleString()} 个` : n ? "—" : "";
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-junk-count": "",
children: [/* @__PURE__ */ (0, I.jsx)("div", {
"data-junk-summary": "",
"aria-live": "polite",
- children: /* @__PURE__ */ (0, I.jsx)(a$, {
- label: HU(s),
+ children: /* @__PURE__ */ (0, I.jsx)(i$, {
+ label: VU(s),
figure: d,
pending: !t && !n,
flush: !0
@@ -68833,17 +68911,17 @@ function Oke({ route: e, page: t, failed: n, onNavigate: r }) {
onClick: u,
onPointerLeave: c.leave,
children: [
- RU.map(([e, n, r]) => /* @__PURE__ */ (0, I.jsxs)("a", {
- href: BU(e, s),
+ LU.map(([e, n, r]) => /* @__PURE__ */ (0, I.jsxs)("a", {
+ href: zU(e, s),
"data-junk-kind-link": e,
"aria-current": e === o ? "page" : void 0,
onPointerEnter: c.hover,
children: [
- /* @__PURE__ */ (0, I.jsx)(o$, { name: r }),
+ /* @__PURE__ */ (0, I.jsx)(a$, { name: r }),
n,
- /* @__PURE__ */ (0, I.jsx)(s$, {
+ /* @__PURE__ */ (0, I.jsx)(o$, {
scope: e,
- count: t ? n$(t, e) : 0
+ count: t ? t$(t, e) : 0
})
]
}, e || "all")),
@@ -68857,9 +68935,9 @@ function Oke({ 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, I.jsx)(o$, { name: l.glyph }),
+ /* @__PURE__ */ (0, I.jsx)(a$, { name: l.glyph }),
l.label,
- /* @__PURE__ */ (0, I.jsx)(s$, {
+ /* @__PURE__ */ (0, I.jsx)(o$, {
scope: "dismissed",
count: Number(t?.dismissed_total || 0)
})
@@ -68871,33 +68949,33 @@ function Oke({ route: e, page: t, failed: n, onNavigate: r }) {
});
}
// src/react/junk-queue/junk-queue-page.tsx
-var kke = hV("check"), Ake = (e, t) => e[1] === t.view && e[2] === t.kind;
-function jke(e) {
+var Lke = mV("check"), Rke = (e, t) => e[1] === t.view && e[2] === t.kind;
+function zke(e) {
let t = {
kind: e.kind,
view: e.view
}, n = Ft({
- queryKey: Cke(t, e.revision),
- queryFn: ({ signal: e }) => Tke(t, e),
- placeholderData: (e, n) => n && Ake(n.queryKey, t) ? e : void 0
+ queryKey: jke(t, e.revision),
+ queryFn: ({ signal: e }) => Nke(t, e),
+ placeholderData: (e, n) => n && Rke(n.queryKey, t) ? e : void 0
});
(0, F.useEffect)(() => {
n.isFetching || e.settled?.(e.revision);
}, [n.isFetching, e.revision]);
- let r = Mke(e.countRow), i = n.isPending;
+ let r = Bke(e.countRow), i = n.isPending;
(0, F.useLayoutEffect)(() => {
let t = e.countRow;
t && (i ? t.setAttribute("aria-busy", "true") : t.removeAttribute("aria-busy"));
}, [e.countRow, i]), (0, F.useLayoutEffect)(() => {
r && n.data && ec(r, "junk");
}, [r, n.data]);
- let { navigate: a } = e.actions, o = r ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(Oke, {
+ let { navigate: a } = e.actions, o = r ? (0, Rt.createPortal)(/* @__PURE__ */ (0, I.jsx)(Ike, {
route: t,
page: n.data,
failed: n.isError && !n.data,
onNavigate: a
}), r) : null;
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [o, /* @__PURE__ */ (0, I.jsx)(Nke, {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [o, /* @__PURE__ */ (0, I.jsx)(Vke, {
props: e,
data: n.data,
pending: i,
@@ -68905,7 +68983,7 @@ function jke(e) {
retry: () => void n.refetch()
}, `${t.view}:${t.kind}`)] });
}
-function Mke(e) {
+function Bke(e) {
let [t, n] = (0, F.useState)(null);
return (0, F.useLayoutEffect)(() => {
if (!e) return;
@@ -68915,8 +68993,8 @@ function Mke(e) {
};
}, [e]), t;
}
-function Nke({ props: e, data: t, pending: n, error: r, retry: i }) {
- let a = Gbe(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, F.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, F.useCallback)(() => {
+function Vke({ props: e, data: t, pending: n, error: r, retry: i }) {
+ let a = $be(n, e.skeletonHtml), o = Math.max(1, e.batchSize || 60), [s, c] = (0, F.useState)(1), l = t?.items || [], u = l.slice(0, s * o), { canLoadMore: d } = e, f = (0, F.useCallback)(() => {
d?.() !== !1 && c((e) => e + 1);
}, [d]);
return /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -68924,16 +69002,16 @@ function Nke({ 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, I.jsx)(VG, {
+ if (!t) return /* @__PURE__ */ (0, I.jsx)(BG, {
message: xn(r),
onRetry: i
});
if (!l.length) {
let t = e.view === "dismissed";
- return /* @__PURE__ */ (0, I.jsx)(pV, {
- icon: kke,
+ return /* @__PURE__ */ (0, I.jsx)(fV, {
+ icon: Lke,
title: t ? "没有已排除的文件" : "没有待判断的垃圾文件",
- actions: t ? /* @__PURE__ */ (0, I.jsx)(xL, {
+ actions: t ? /* @__PURE__ */ (0, I.jsx)(bL, {
size: "small",
href: "/junk-files",
children: "查看待判断"
@@ -68946,7 +69024,7 @@ function Nke({ 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, I.jsx)(Dke, {
+ children: u.map((t) => /* @__PURE__ */ (0, I.jsx)(Fke, {
item: t,
view: e.view,
selected: e.selected.has(t.id),
@@ -68955,7 +69033,7 @@ function Nke({ props: e, data: t, pending: n, error: r, retry: i }) {
actions: e.actions
}, t.id))
}),
- u.length < l.length ? /* @__PURE__ */ (0, I.jsx)(Pke, { onMore: f }, s) : null,
+ u.length < l.length ? /* @__PURE__ */ (0, I.jsx)(Hke, { onMore: f }, s) : null,
u.length >= l.length && Number(t.total || 0) > l.length ? /* @__PURE__ */ (0, I.jsx)("p", {
"data-junk-truncated": "",
className: "py-6 text-center text-caption-1-regular text-text-secondary",
@@ -68965,14 +69043,14 @@ function Nke({ props: e, data: t, pending: n, error: r, retry: i }) {
})()]
});
}
-function Pke({ onMore: e }) {
+function Hke({ onMore: e }) {
let t = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
let n = t.current;
if (!n || typeof IntersectionObserver > "u") return;
let r = new IntersectionObserver((t) => {
t.some((e) => e.isIntersecting) && e();
- }, { rootMargin: BG });
+ }, { rootMargin: zG });
return r.observe(n), () => r.disconnect();
}, [e]), /* @__PURE__ */ (0, I.jsx)("div", {
ref: t,
@@ -68982,22 +69060,22 @@ function Pke({ onMore: e }) {
});
}
// src/react/components/fieldset-layout.ts
-var Fke = TU({
+var Uke = wU({
padding: "none",
className: "overflow-hidden"
-}), c$ = {
+}), s$ = {
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"
-}, l$ = {
+}, c$ = {
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 u$(e) {
- return `${Fke} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;
+function l$(e) {
+ return `${Uke} ${e === "split" ? "fieldset-split" : "flex flex-col"}`;
}
// src/react/data-cleanup/cleanup-entry.ts
-var d$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", f$ = {
- face: TU({
+var u$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", d$ = {
+ face: wU({
padding: "none",
radius: "plain",
interactive: !0,
@@ -69009,34 +69087,34 @@ var d$ = "inline-grid w-full grid-cols-2 gap-3 max-cleanup-tight:grid-cols-1", f
summary: "text-body-2-regular tabular-nums text-text-secondary wrap-anywhere",
detail: "text-caption-1-regular text-text-tertiary wrap-anywhere",
arrow: "size-4 shrink-0 self-center text-foreground-icon-tertiary"
-}, Ike = [
+}, Wke = [
"text-chart-6",
"text-chart-5",
"text-chart-7",
"text-chart-8"
-], Lke = [
+], Gke = [
"bg-chart-6/10",
"bg-chart-5/10",
"bg-chart-7/10",
"bg-chart-8/10"
];
-function Rke(e = {}) {
- return `${TU({
+function Kke(e = {}) {
+ return `${wU({
...e,
padding: "none"
})} flex flex-col overflow-hidden pt-4 text-left`;
}
-var zke = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", Bke = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
-function p$({ interactive: e = !1 } = {}) {
- return TU({
+var qke = "inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4", Jke = "inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6";
+function f$({ interactive: e = !1 } = {}) {
+ return wU({
padding: "none",
radius: "plain",
interactive: e,
className: "flex min-h-33 flex-col gap-2 p-4 text-left"
});
}
-var m$ = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
-function Vke({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
+var p$ = "inline-grid w-full grid-cols-5 gap-4 max-plain-stat-pair:grid-cols-2 max-plain-stat-single:grid-cols-1";
+function Yke({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMeta: o = !1 }) {
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsxs)("span", {
className: "flex min-w-0 items-center gap-2 text-body-medium text-text-secondary",
@@ -69069,13 +69147,13 @@ function Vke({ label: e, icon: t, mark: n, aside: r, figure: i, meta: a, wrapMet
})
] });
}
-function Hke({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
+function Xke({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.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, I.jsx)("i", {
"aria-hidden": !0,
- className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${Ike[n % 4]} ${Lke[n % 4]}`,
+ className: `flex size-7 shrink-0 items-center justify-center rounded-lg max-sm:size-6 ${Wke[n % 4]} ${Gke[n % 4]}`,
children: /* @__PURE__ */ (0, I.jsx)(t, {
"aria-hidden": !0,
className: "size-4"
@@ -69096,96 +69174,96 @@ function Hke({ label: e, icon: t, accent: n = 0, figure: r, footer: i }) {
] });
}
// src/management.ts
-var h$ = "发现新文件,补全新增及未完成影片的资料和预览。需要检查全部影片时,使用全库维护。", g$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", _$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", v$ = "disabled data-skeleton-action", Uke = "aria-disabled=\"true\"", y$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, b$ = (e, t, n) => `<div class="${c$[n]}"><div class="flex flex-col gap-2">
+var m$ = "发现新文件,补全新增及未完成影片的资料和预览。需要检查全部影片时,使用全库维护。", h$ = "部分视频文件可能播放卡顿、打不开,修复缺时间戳表和缺索引的问题。", g$ = "<span class=\"skeleton skeleton-text\" aria-hidden=\"true\"></span>", _$ = "disabled data-skeleton-action", Zke = "aria-disabled=\"true\"", v$ = (e) => `<div class="peach-react"><div class="flex flex-col gap-4">${e}</div></div>`, y$ = (e, t, n) => `<div class="${s$[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 Wke() {
- return y$(`<section aria-label="扫描与采集" class="${u$("stack")}" data-cleanup-task data-cleanup-processing>
- ${b$("扫描与采集", h$, "stack")}
- <footer class="${l$.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>${Ts("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${Os({
+function Qke() {
+ return v$(`<section aria-label="扫描与采集" class="${l$("stack")}" data-cleanup-task data-cleanup-processing>
+ ${y$("扫描与采集", m$, "stack")}
+ <footer class="${c$.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>${Ts("arrow-up", "size-(--icon-inline) shrink-0 rotate-90")}</a><span data-button-group data-split-button data-variant="primary">${Os({
label: "同步新增文件",
- attrs: v$
+ attrs: _$
})}${Os({
glyph: "chevron-down",
- attrs: `${v$} aria-label="更多同步方式"`
+ attrs: `${_$} aria-label="更多同步方式"`
})}</span></footer>
</section>`);
}
-function Gke() {
- return y$(`<section aria-label="媒体修复" class="${u$("split")}" data-cleanup-task data-cleanup-processing>
- ${b$("媒体修复", g$, "split")}
- <footer class="${l$.split}">${As(_$, {
+function $ke() {
+ return v$(`<section aria-label="媒体修复" class="${l$("split")}" data-cleanup-task data-cleanup-processing>
+ ${y$("媒体修复", h$, "split")}
+ <footer class="${c$.split}">${As(g$, {
className: "w-48",
- attrs: Uke
+ attrs: Zke
})}${Os({
label: "开始修复",
- attrs: v$
+ attrs: _$
})}</footer>
</section>`);
}
-function Kke() {
- let e = (e, t, n, r = "") => `<div class="${f$.face}"><span class="${f$.icon}">${Ts(t, "size-5")}</span><span class="${f$.body}"><span class="${f$.title}">${e}</span><span class="${f$.summary}">${n}</span>${r ? `<span class="${f$.detail}">${r}</span>` : ""}</span>${Ts("chevron-right", f$.arrow)}</div>`, t = (e, t) => `<div class="${p$()}"><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">${Ts(t, "size-4")}</i><span>${e}</span></span><strong class="block text-title-1-medium tabular-nums text-text-primary">${_$}</strong><span class="block min-h-4 text-caption-1-regular text-text-tertiary">${_$}</span></div>`, n = (e) => `<h2 class="text-title-2-medium! m-0! text-text-primary">${e}</h2>`, r = (t) => Yf.filter((e) => e.key === "batch-delete" === t).map((t) => e(t.title, t.icon, t.description)).join("");
+function eAe() {
+ let e = (e, t, n, r = "") => `<div class="${d$.face}"><span class="${d$.icon}">${Ts(t, "size-5")}</span><span class="${d$.body}"><span class="${d$.title}">${e}</span><span class="${d$.summary}">${n}</span>${r ? `<span class="${d$.detail}">${r}</span>` : ""}</span>${Ts("chevron-right", d$.arrow)}</div>`, t = (e, t) => `<div class="${f$()}"><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">${Ts(t, "size-4")}</i><span>${e}</span></span><strong class="block text-title-1-medium tabular-nums text-text-primary">${g$}</strong><span class="block min-h-4 text-caption-1-regular text-text-tertiary">${g$}</span></div>`, n = (e) => `<h2 class="text-title-2-medium! m-0! text-text-primary">${e}</h2>`, r = (t) => Yf.filter((e) => e.key === "batch-delete" === t).map((t) => e(t.title, t.icon, t.description)).join("");
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">
- <section class="flex flex-col gap-4">${n("待处理事项")}<div class="${m$}">${[
+ <section class="flex flex-col gap-4">${n("待处理事项")}<div class="${p$}">${[
["人工复核", "square-check-big"],
["重复文件", "file-stack"],
["垃圾文件", "file-archive"],
["高清版", "sparkles"],
["回收站", "trash"]
].map(([e, n]) => t(e, n)).join("")}</div></section>
- <div id="libraryProcessing" class="scroll-mt-20">${Wke()}</div>
- <section class="flex flex-col gap-4">${n("整理与维护")}<div class="${d$}">${r(!1)}</div></section>
- <section class="flex flex-col gap-4">${n("清理与删除")}<div class="${d$}">${r(!0)}</div></section>
+ <div id="libraryProcessing" class="scroll-mt-20">${Qke()}</div>
+ <section class="flex flex-col gap-4">${n("整理与维护")}<div class="${u$}">${r(!1)}</div></section>
+ <section class="flex flex-col gap-4">${n("清理与删除")}<div class="${u$}">${r(!0)}</div></section>
</div></div>`;
}
// src/react/components/fieldset.tsx
-var qke = TU({
+var tAe = wU({
padding: "none",
radius: "surface",
className: "overflow-hidden"
-}), Jke = "border-t border-border-button-default p-4 first:border-t-0";
-function Yke({ id: e, children: t }) {
+}), nAe = "border-t border-border-button-default p-4 first:border-t-0";
+function rAe({ id: e, children: t }) {
return /* @__PURE__ */ (0, I.jsx)("h2", {
id: e,
className: "text-title-2-medium! m-0! text-text-primary",
children: t
});
}
-function x$({ id: e, gap: t = "none", children: n }) {
+function b$({ id: e, gap: t = "none", children: n }) {
return /* @__PURE__ */ (0, I.jsx)("h3", {
id: e,
className: `text-title-2-medium text-text-primary ${t === "medium" ? "mb-3" : t === "small" ? "mb-2" : ""}`,
children: n
});
}
-function S$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
+function x$({ layout: e, label: t, labelledBy: n, id: r, footer: i, children: a, attributes: o }) {
return /* @__PURE__ */ (0, I.jsxs)("section", {
id: r,
"aria-label": t,
"aria-labelledby": n,
...o,
- className: u$(e),
+ className: l$(e),
children: [/* @__PURE__ */ (0, I.jsx)("div", {
- className: c$[e],
+ className: s$[e],
children: a
}), i ? /* @__PURE__ */ (0, I.jsx)("footer", {
- className: l$[e],
+ className: c$[e],
children: i
}) : null]
});
}
// src/react/components/name-link.tsx
-function C$({ className: e, ...t }) {
+function S$({ className: e, ...t }) {
return /* @__PURE__ */ (0, I.jsx)("a", {
...t,
className: q("text-body-2-medium underline-offset-4 hover:underline", e)
});
}
// src/react/components/issue-row.tsx
-function w$({ title: e, href: t, children: n }) {
+function C$({ title: e, href: t, children: n }) {
return /* @__PURE__ */ (0, I.jsxs)("li", {
className: "flex min-w-0 flex-col gap-1 border-b border-current/15 py-2 pr-6 wrap-anywhere first:pt-0 last:border-b-0 last:pb-0",
- children: [t ? /* @__PURE__ */ (0, I.jsx)(C$, {
+ children: [t ? /* @__PURE__ */ (0, I.jsx)(S$, {
href: t,
children: e
}) : /* @__PURE__ */ (0, I.jsx)("span", {
@@ -69195,23 +69273,23 @@ function w$({ title: e, href: t, children: n }) {
});
}
// src/react/components/status-label.tsx
-var Xke = {
+var iAe = {
success: "lime",
progress: "blue",
warning: "yellow",
error: "rose",
neutral: "neutral"
};
-function T$({ tone: e = "neutral", ...t }) {
- return /* @__PURE__ */ (0, I.jsx)(JU, {
+function w$({ tone: e = "neutral", ...t }) {
+ return /* @__PURE__ */ (0, I.jsx)(qU, {
"data-status-tone": e,
variant: "caption",
- color: Xke[e],
+ color: iAe[e],
...t
});
}
// src/react/components/path-line.tsx
-function Zke({ className: e }) {
+function aAe({ className: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -69224,8 +69302,8 @@ function Zke({ className: e }) {
children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-folder-open" })
});
}
-var Qke = "打开文件管理器失败,请重试";
-function E$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {
+var oAe = "打开文件管理器失败,请重试";
+function T$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {
let [a, o] = (0, F.useState)(!1), [s, c] = (0, F.useState)(""), l = (0, F.useRef)(!0);
(0, F.useEffect)(() => () => {
l.current = !1;
@@ -69236,7 +69314,7 @@ function E$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {
try {
await V("/api/reveal", { path: e }), i?.("已在资源管理器中显示");
} catch (e) {
- l.current && c(e instanceof sr ? e.message : Qke);
+ l.current && c(e instanceof sr ? e.message : oAe);
} finally {
l.current && o(!1);
}
@@ -69251,12 +69329,12 @@ function E$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {
children: [t, e]
}), /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex shrink-0 items-center gap-2",
- children: [/* @__PURE__ */ (0, I.jsx)(lL, {
- icon: Zke,
+ children: [/* @__PURE__ */ (0, I.jsx)(cL, {
+ icon: aAe,
size: "small",
"aria-label": "在资源管理器中显示",
onClick: () => void u(),
- ..._V(a)
+ ...gV(a)
}), r]
})]
}), s ? /* @__PURE__ */ (0, I.jsx)("p", {
@@ -69266,7 +69344,7 @@ function E$({ path: e, prefix: t, className: n, action: r, onRevealed: i }) {
});
}
// src/react/library-processing/issue-export.ts
-async function $ke(e, t) {
+async function sAe(e, t) {
if (!e.job_id) throw Error("请先选择有问题记录的任务");
let n = [], r = 1, i = "";
for (let a = 0; a < r; a += 200) {
@@ -69289,69 +69367,69 @@ async function $ke(e, t) {
rows: n
}, null, 2);
}
-function eAe(e, t) {
+function cAe(e, t) {
let n = URL.createObjectURL(new Blob([t], { type: "application/json;charset=utf-8" })), r = document.createElement("a");
r.href = n, r.download = `peach-issues-${e}.json`, r.click(), URL.revokeObjectURL(n);
}
// src/react/library-processing/library-processing-card.tsx
-var tAe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", nAe = (e) => {
+var lAe = "这一项耗时较长,暂时没有新进展。任务结束后可以重试未完成的部分。", uAe = (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(",")}。`;
-}, rAe = (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} 部视频预览。` : "") + nAe(e);
-function iAe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
- let a = z_e(e), o = _H(), s = _H(), [c, l] = (0, F.useState)(""), u = rH(e), d = e.status === "failed" && !!e.retryable_asset_ids?.length, f = I_e(e.notes || {}), p = !!t || !e.archived && e.status === "failed", m = !t && !e.archived && iH(e), h = p || !e.archived && !u && (!!f || !!e.issue_count), g = !u && !!e.job_id && !e.archived, _ = e.issues_log || "", v = tH(e), y = HV(), b = (t) => void s.run(t ? "archive" : "unarchive", (n) => V($V, {
+}, dAe = (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} 部视频预览。` : "") + uAe(e);
+function fAe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
+ let a = q_e(e), o = gH(), s = gH(), [c, l] = (0, F.useState)(""), u = nH(e), d = e.status === "failed" && !!e.retryable_asset_ids?.length, f = W_e(e.notes || {}), p = !!t || !e.archived && e.status === "failed", m = !t && !e.archived && rH(e), h = p || !e.archived && !u && (!!f || !!e.issue_count), g = !u && !!e.job_id && !e.archived, _ = e.issues_log || "", v = eH(e), y = VV(), b = (t) => void s.run(t ? "archive" : "unarchive", (n) => V(QV, {
action: t ? "archive" : "unarchive",
job_id: e.job_id
}, "POST", n), (n) => {
- H.setQueryData(eH, n), l(t ? e.job_id : "");
+ H.setQueryData($V, n), l(t ? e.job_id : "");
}), x = e.issue_count && !u ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- ..._V(!!o.busy),
- onClick: () => void o.run("export", (t) => $ke(e, t), (t) => {
- eAe(e.job_id, t), i("已导出问题清单");
+ ...gV(!!o.busy),
+ onClick: () => void o.run("export", (t) => sAe(e, t), (t) => {
+ cAe(e.job_id, t), i("已导出问题清单");
}),
children: "导出完整问题清单"
}) : null, S = p ? [
t || e.error || "处理未完成,请重试",
- m ? aH : "",
+ m ? iH : "",
f
].filter(Boolean).join("\n") : f || `这一趟有 ${(e.issue_count || 0).toLocaleString()} 项问题。`;
return /* @__PURE__ */ (0, I.jsxs)("div", {
"aria-live": "polite",
className: "flex flex-col gap-4 empty:hidden",
children: [
- v ? /* @__PURE__ */ (0, I.jsx)(H_e, {
+ v ? /* @__PURE__ */ (0, I.jsx)(X_e, {
state: e,
slow: v
- }) : e.status === "running" && e.stalled ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ }) : e.status === "running" && e.stalled ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "warning",
title: "处理较慢",
- children: tAe
+ children: lAe
}) : null,
- n?.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ n?.status === "complete" ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "success",
title: "处理完成",
- children: rAe(n)
+ children: dAe(n)
}) : null,
- (n ?? e).status === "cancelled" && !e.archived ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ (n ?? e).status === "cancelled" && !e.archived ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "neutral",
title: "已取消上次任务",
children: "已取得的资料和预览已保留,这一轮不会自动继续,需要时重新同步。"
}) : null,
- h ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ h ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: p ? m ? "warning" : "error" : "neutral",
className: "gap-0 p-3",
title: p ? m ? "处理已结束,部分项目需处理" : "处理未完成" : void 0,
action: /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
children: [
- m ? /* @__PURE__ */ (0, I.jsx)(gH, {
- href: oH,
+ m ? /* @__PURE__ */ (0, I.jsx)(hH, {
+ href: aH,
size: "small",
- trailingIcon: xB,
+ trailingIcon: bB,
children: "查看全部内容"
}) : null,
d ? /* @__PURE__ */ (0, I.jsx)(J, {
@@ -69365,7 +69443,7 @@ function iAe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
variant: "secondary",
size: "small",
"aria-label": "归档提示",
- ..._V(!!s.busy),
+ ...gV(!!s.busy),
onClick: () => b(!0),
children: "归档"
}) : null
@@ -69373,7 +69451,7 @@ function iAe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
}),
extra: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [a ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "-mx-3 mt-3 border-t border-current/20 px-3 pt-3",
- children: /* @__PURE__ */ (0, I.jsx)(VH, {
+ children: /* @__PURE__ */ (0, I.jsx)(BH, {
summary: a.label,
contentClassName: "gap-0",
children: /* @__PURE__ */ (0, I.jsx)("div", {
@@ -69381,7 +69459,7 @@ function iAe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
children: /* @__PURE__ */ (0, I.jsx)("ul", {
ref: y,
className: "max-h-96 overflow-y-auto",
- children: a.items.map((e) => /* @__PURE__ */ (0, I.jsxs)(w$, {
+ children: a.items.map((e) => /* @__PURE__ */ (0, I.jsxs)(C$, {
title: e.label,
href: e.href,
children: [/* @__PURE__ */ (0, I.jsx)("span", {
@@ -69397,7 +69475,7 @@ function iAe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
})
}) : null, _ ? /* @__PURE__ */ (0, I.jsx)("div", {
className: "-mx-3 mt-3 border-t border-current/20 px-3 pt-3 text-text-secondary",
- children: /* @__PURE__ */ (0, I.jsx)(E$, {
+ children: /* @__PURE__ */ (0, I.jsx)(T$, {
path: _,
prefix: "完整记录:",
className: "text-caption-1-regular",
@@ -69410,70 +69488,70 @@ function iAe({ state: e, problem: t, settled: n, onRetry: r, toast: i }) {
}) : null] }),
children: S
}) : null,
- e.archived && c === e.job_id && !t ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ e.archived && c === e.job_id && !t ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "neutral",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- ..._V(!!s.busy),
+ ...gV(!!s.busy),
onClick: () => b(!1),
children: "撤销"
}),
children: "已归档上一趟的问题提示,完整记录仍保留。"
}) : null,
- o.error || s.error ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ o.error || s.error ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "warning",
children: o.error || s.error
}) : null
]
});
}
-function D$(e) {
- let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = OH(e), o = It({
- mutationFn: (e) => V($V, e),
+function E$(e) {
+ let { toast: t, onComplete: n } = e, { job: r, settled: i, forget: a } = DH(e), o = It({
+ mutationFn: (e) => V(QV, e),
onSuccess: (e) => {
- a(), H.setQueryData(eH, e), H.invalidateQueries({ queryKey: eH });
+ a(), H.setQueryData($V, e), H.invalidateQueries({ queryKey: $V });
}
});
(0, F.useEffect)(() => {
i && n?.();
}, [i, n]);
- let s = r.data ?? { status: "idle" }, c = s.job_id || "unavailable", { hidden: l } = rU(c), u = o.error ? lr(o.error) : r.isError ? r.data ? uH : lr(r.error) : "", d = o.isPending || rH(s), f = async (e) => {
+ let s = r.data ?? { status: "idle" }, c = s.job_id || "unavailable", { hidden: l } = nU(c), u = o.error ? lr(o.error) : r.isError ? r.data ? lH : lr(r.error) : "", d = o.isPending || nH(s), f = async (e) => {
d || (o.reset(), await o.mutateAsync(e));
};
return /* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-col gap-4",
- children: [/* @__PURE__ */ (0, I.jsx)(S$, {
+ children: [/* @__PURE__ */ (0, I.jsx)(x$, {
layout: "stack",
label: "扫描与采集",
footer: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(gH, {
+ /* @__PURE__ */ (0, I.jsx)(hH, {
href: "/sources",
size: "small",
- trailingIcon: xB,
+ trailingIcon: bB,
children: "来源和凭证"
}),
- /* @__PURE__ */ (0, I.jsx)(gH, {
+ /* @__PURE__ */ (0, I.jsx)(hH, {
href: "/settings/diagnostics",
size: "small",
- trailingIcon: xB,
+ trailingIcon: bB,
children: "诊断与日志"
}),
- s.candidates ? /* @__PURE__ */ (0, I.jsx)(gH, {
+ s.candidates ? /* @__PURE__ */ (0, I.jsx)(hH, {
href: "/review",
size: "small",
- trailingIcon: xB,
+ trailingIcon: bB,
children: "复核资料"
}) : null,
- /* @__PURE__ */ (0, I.jsx)(PK, {
+ /* @__PURE__ */ (0, I.jsx)(NK, {
scan: !0,
busy: o.isPending,
- occupied: rH(s),
+ occupied: nH(s),
metadataOnly: s?.metadata_only,
speedMode: s.speed_mode,
pendingCount: s.new_asset_count,
onRun: f,
- onOccupied: () => t(P_e(s))
+ onOccupied: () => t(H_e(s))
})
] }),
children: /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -69483,7 +69561,7 @@ function D$(e) {
className: "flex flex-wrap items-center justify-between gap-2",
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, I.jsx)(x$, { children: "扫描与采集" }), s.new_asset_count ? /* @__PURE__ */ (0, I.jsx)(JU, {
+ children: [/* @__PURE__ */ (0, I.jsx)(b$, { children: "扫描与采集" }), s.new_asset_count ? /* @__PURE__ */ (0, I.jsx)(qU, {
variant: "caption",
color: "blue",
children: /* @__PURE__ */ (0, I.jsxs)("span", {
@@ -69491,31 +69569,31 @@ function D$(e) {
children: [s.new_asset_count.toLocaleString(), " 部待补全"]
})
}) : null]
- }), l && (rH(s) || s.status === "failed" || r.isError) ? /* @__PURE__ */ (0, I.jsx)(J, {
+ }), l && (nH(s) || s.status === "failed" || r.isError) ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- onClick: () => nU(c, !0),
+ onClick: () => tU(c, !0),
children: "显示进度浮窗"
}) : null]
}),
/* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-2-regular text-text-secondary",
- children: h$
+ children: m$
}),
s.status === "paused" && !s.total ? /* @__PURE__ */ (0, I.jsx)("span", {
className: "self-start",
- children: /* @__PURE__ */ (0, I.jsx)(T$, { children: "已暂停" })
- }) : rH(s) ? /* @__PURE__ */ (0, I.jsx)(X_e, { state: s }) : null,
- rH(s) ? /* @__PURE__ */ (0, I.jsx)("p", {
+ children: /* @__PURE__ */ (0, I.jsx)(w$, { children: "已暂停" })
+ }) : nH(s) ? /* @__PURE__ */ (0, I.jsx)(ive, { state: s }) : null,
+ nH(s) ? /* @__PURE__ */ (0, I.jsx)("p", {
className: "text-body-2-regular text-text-secondary tabular-nums",
"data-processing-eta": "",
- children: sH(s)
+ children: oH(s)
}) : null,
- rH(s) ? /* @__PURE__ */ (0, I.jsx)(YH, { traffic: s.traffic }) : null,
- rH(s) ? /* @__PURE__ */ (0, I.jsx)(DH, { state: s }) : null
+ nH(s) ? /* @__PURE__ */ (0, I.jsx)(JH, { traffic: s.traffic }) : null,
+ nH(s) ? /* @__PURE__ */ (0, I.jsx)(EH, { state: s }) : null
]
})
- }), /* @__PURE__ */ (0, I.jsx)(iAe, {
+ }), /* @__PURE__ */ (0, I.jsx)(fAe, {
state: s,
problem: u,
settled: i,
@@ -69530,32 +69608,32 @@ function D$(e) {
});
}
// src/react/playlists/playlists.ts
-var aAe = "/api/playlists", O$ = "/api/playlist", k$ = ["playlists"], A$ = (e) => B(aAe, e);
-async function oAe(e) {
+var pAe = "/api/playlists", D$ = "/api/playlist", O$ = ["playlists"], k$ = (e) => B(pAe, e);
+async function mAe(e) {
await H.fetchQuery({
- queryKey: k$,
- queryFn: () => A$(e),
+ queryKey: O$,
+ queryFn: () => k$(e),
staleTime: 0
});
}
-var sAe = () => H.invalidateQueries({
- queryKey: k$,
+var hAe = () => H.invalidateQueries({
+ queryKey: O$,
exact: !0
-}), cAe = (e) => e.current_asset_id || e.preview_asset_id || null, lAe = (e) => `/poster?id=${e}&c=4`, uAe = (e) => V(O$, {
+}), gAe = (e) => e.current_asset_id || e.preview_asset_id || null, _Ae = (e) => `/poster?id=${e}&c=4`, vAe = (e) => V(D$, {
action: "create",
name: e,
asset_ids: []
-}), dAe = (e, t) => V(O$, {
+}), yAe = (e, t) => V(D$, {
action: "rename",
id: e,
name: t
-}), fAe = (e) => V(O$, {
+}), bAe = (e) => V(D$, {
action: "delete",
id: e
-}), pAe = (e) => B(`${O$}?id=${e}`).catch(() => null);
-function mAe(e) {
+}), xAe = (e) => B(`${D$}?id=${e}`).catch(() => null);
+function SAe(e) {
let t = (e.items || []).map((e) => e.id), n = e.source_seed_asset_id;
- return V(O$, {
+ return V(D$, {
action: "create",
name: e.name,
asset_ids: t,
@@ -69564,9 +69642,13 @@ function mAe(e) {
});
}
// src/react/scraping/custom-source-data.ts
-var j$ = "/api/custom-metadata", M$ = ["custom-metadata"], N$ = (e) => B(j$, e), hAe = "/api/scraping", gAe = "/api/scraping/settings", _Ae = "/api/scraping/check", P$ = "/api/scraping/cover", vAe = "/api/scraping/amane-bridge", yAe = "/api/scraping/amane-bridge/check", bAe = "/api/scraping/amane-bridge/rebuild", F$ = ["scraping"], I$ = ["scraping", "cover"], L$ = ["scraping", "amane-bridge"], xAe = 262144, R$ = (e) => B(hAe, e), z$ = (e) => B(P$, e), B$ = (e) => B(vAe, e);
-async function SAe(e) {
+var A$ = "/api/custom-metadata", j$ = ["custom-metadata"], M$ = (e) => B(A$, e), CAe = "/api/scraping", wAe = "/api/scraping/settings", TAe = "/api/scraping/check", N$ = "/api/scraping/cover", EAe = "/api/scraping/amane-bridge", DAe = "/api/scraping/amane-bridge/check", OAe = "/api/scraping/amane-bridge/rebuild", P$ = ["scraping"], F$ = ["scraping", "cover"], I$ = ["scraping", "amane-bridge"], kAe = 262144, L$ = (e) => B(CAe, e), R$ = (e) => B(N$, e), z$ = (e) => B(EAe, e);
+async function AAe(e) {
await Promise.all([
+ H.fetchQuery({
+ queryKey: P$,
+ queryFn: () => L$(e)
+ }),
H.fetchQuery({
queryKey: F$,
queryFn: () => R$(e)
@@ -69576,32 +69658,28 @@ async function SAe(e) {
queryFn: () => z$(e)
}),
H.fetchQuery({
- queryKey: L$,
- queryFn: () => B$(e)
- }),
- H.fetchQuery({
- queryKey: M$,
- queryFn: () => N$(e)
+ queryKey: j$,
+ queryFn: () => M$(e)
})
]);
}
-function CAe(e, t) {
+function jAe(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}` : "");
}
-var V$ = /* @__PURE__ */ new Set([
+var B$ = /* @__PURE__ */ new Set([
"performer",
"creator",
"studio",
"agency",
"series"
-]), H$ = /* @__PURE__ */ new Set([
+]), V$ = /* @__PURE__ */ new Set([
"asset",
"jav",
"post",
"photo",
"release"
]);
-function U$(e) {
+function H$(e) {
let t = e.pool ?? [], n = Math.min(e.size ?? e.items.length, t.length);
if (t.length <= n) return e;
let r = ((e.offset ?? 0) + n) % t.length;
@@ -69611,15 +69689,15 @@ function U$(e) {
items: Array.from({ length: n }, (e, n) => t[(r + n) % t.length])
};
}
-var W$ = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
-function wAe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a, kind: o, recommendations: s = [] }) {
+var U$ = (e) => String(e ?? "").normalize("NFKC").trim().toLocaleLowerCase();
+function MAe({ 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 || W$(t).includes(W$(e)));
+ }, d = t.filter((t) => !e || U$(t).includes(U$(e)));
if (!e) {
if (s.length) {
let e = ({ pending: e, pool: t, offset: n, size: r, ...i }) => ({
@@ -69630,9 +69708,9 @@ function wAe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
kind: i.kind,
item: e
})),
- pending: e ? H$.has(i.kind) ? 5 : 3 : void 0,
+ pending: e ? V$.has(i.kind) ? 5 : 3 : void 0,
shuffle: (t?.length ?? 0) > i.items.length || void 0
- }), t = s.filter((e) => !H$.has(e.kind)).map(e);
+ }), t = s.filter((e) => !V$.has(e.kind)).map(e);
return d.length && t.push({
label: "搜索记录",
options: d.map((e) => u({
@@ -69643,7 +69721,7 @@ function wAe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
tabs: null,
recent: null,
left: t,
- right: s.filter((e) => H$.has(e.kind)).map(e),
+ right: s.filter((e) => V$.has(e.kind)).map(e),
empty: !1,
options: l
};
@@ -69693,7 +69771,7 @@ function wAe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: n,
more: r
};
- }, g = m.filter((e) => !H$.has(e.kind)).map(h), _ = m.filter((e) => H$.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);
+ }, g = m.filter((e) => !V$.has(e.kind)).map(h), _ = m.filter((e) => V$.has(e.kind)).map(h), v = f && !m.some((e) => e.items.length);
return {
tabs: f && a.length > 1 ? [...a] : null,
recent: p,
@@ -69703,16 +69781,16 @@ function wAe({ query: e, history: t, picks: n, suggestFor: r, groups: i, tabs: a
options: l
};
}
-function TAe(e, t, n = Math.random) {
+function NAe(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) => W$(t) === W$(e))).slice(0, 5);
+ return r.filter((e) => !t.some((t) => U$(t) === U$(e))).slice(0, 5);
}
// src/react/search/search-page.tsx
-var EAe = () => ({
+var PAe = () => ({
dismissed: !1,
history: [],
pool: [],
@@ -69738,7 +69816,7 @@ var EAe = () => ({
active: -1,
reveal: !1,
rewind: !1
-}), G$ = (e) => wAe({
+}), W$ = (e) => MAe({
query: e.query,
history: e.history,
picks: e.picks,
@@ -69747,27 +69825,27 @@ var EAe = () => ({
tabs: e.tabs,
kind: e.kind,
recommendations: e.recommendations
-}), DAe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), K$ = 4e3, OAe = 5e3, q$ = 1200;
-function kAe(e) {
+}), FAe = (e) => !!(e.tabs || e.recent || e.left.length || e.right.length || e.empty), G$ = 4e3, IAe = 5e3, K$ = 1200;
+function LAe(e) {
if (window.requestIdleCallback) {
- let t = window.requestIdleCallback(e, { timeout: K$ });
+ let t = window.requestIdleCallback(e, { timeout: G$ });
return () => window.cancelIdleCallback(t);
}
- let t = window.setTimeout(e, K$);
+ let t = window.setTimeout(e, G$);
return () => window.clearTimeout(t);
}
-var J$ = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
+var q$ = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
});
-function AAe(e) {
+function RAe(e) {
let t = (0, F.useRef)(e);
t.current = e;
let n = (0, F.useRef)(null);
- n.current ??= EAe();
+ n.current ??= PAe();
let r = n.current, i = (0, F.useRef)(null), [, a] = (0, F.useReducer)((e) => e + 1, 0), o = (0, F.useRef)(null);
- o.current ??= MAe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
+ o.current ??= BAe(() => t.current, r, () => i.current?.closest("[data-search-menu]") ?? null, a);
let s = o.current;
(0, F.useLayoutEffect)(() => {
let { input: e } = t.current, n = (e) => s.input(e), i = () => {
@@ -69778,7 +69856,7 @@ function AAe(e) {
e.addEventListener("input", n), e.addEventListener("compositionend", n), e.addEventListener("compositionstart", i), e.addEventListener("keydown", a), e.addEventListener("focus", o), e.addEventListener("click", c);
let l = { close: s.close };
t.current.expose(l), s.warm();
- let u = window.setInterval(s.rotatePlaceholder, OAe);
+ let u = window.setInterval(s.rotatePlaceholder, IAe);
return () => {
e.removeEventListener("input", n), e.removeEventListener("compositionend", n), e.removeEventListener("compositionstart", i), e.removeEventListener("keydown", a), e.removeEventListener("focus", o), e.removeEventListener("click", c), clearTimeout(r.timer), r.cancelIdle(), window.clearInterval(u), r.cancelRoll(), r.recommendationRequest++, t.current.expose(null);
};
@@ -69786,7 +69864,7 @@ function AAe(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 = G$(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, I.jsx)(PAe, {
+ let c = W$(r), l = e.historyLimit, u = (t) => /* @__PURE__ */ (0, I.jsx)(HAe, {
entry: t,
active: t.index === r.active,
helpers: e.helpers,
@@ -69795,7 +69873,7 @@ function AAe(e) {
onRemove: s.remove
}, `${t.type}:${t.value}:${t.index}`), d = (e) => e.href ? /* @__PURE__ */ (0, I.jsx)("a", {
href: e.href,
- onMouseDown: Z$,
+ onMouseDown: X$,
onClick: (t) => {
t.ctrlKey || t.metaKey || t.shiftKey || t.altKey || (t.preventDefault(), s.openPath(e.href));
},
@@ -69812,15 +69890,15 @@ function AAe(e) {
"aria-label": `${e.label}换一批`,
title: "换一批",
"aria-busy": f(e.kind) || void 0,
- onMouseDown: Z$,
+ onMouseDown: X$,
onClick: () => s.reshuffle(e.kind),
- children: /* @__PURE__ */ (0, I.jsx)(J$, { name: "shuffle" })
+ children: /* @__PURE__ */ (0, I.jsx)(q$, { name: "shuffle" })
}), d(e)]
}) : d(e)] }),
e.pending ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-search-items": "",
"aria-busy": "true",
- children: jAe(e)
+ children: zAe(e)
}) : e.kind ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-search-items": "",
children: e.options.map(u)
@@ -69834,7 +69912,7 @@ function AAe(e) {
"data-search-recommendations": !r.query && r.recommendations.length ? "" : void 0,
"data-history-limit": l,
children: [
- c.tabs ? /* @__PURE__ */ (0, I.jsx)(NAe, {
+ c.tabs ? /* @__PURE__ */ (0, I.jsx)(VAe, {
tabs: c.tabs,
kind: r.kind,
onPick: s.pickKind,
@@ -69860,7 +69938,7 @@ function AAe(e) {
]
});
}
-function Y$(e, t) {
+function J$(e, t) {
let n = e.flatMap((e) => e.items.flatMap((e) => [
e.card ? t.coverHtml(e.card) : "",
e.avatarHtml || "",
@@ -69872,9 +69950,9 @@ function Y$(e, t) {
t && (new Image().src = t);
}
}
-var X$ = "\xA0";
-function jAe(e) {
- let t = H$.has(e.kind ?? "");
+var Y$ = "\xA0";
+function zAe(e) {
+ let t = V$.has(e.kind ?? "");
return Array.from({ length: e.pending ?? 0 }, (e, n) => t ? /* @__PURE__ */ (0, I.jsxs)("div", {
"data-search-option": "work",
"data-search-placeholder": "",
@@ -69886,10 +69964,10 @@ function jAe(e) {
"data-search-meta": "",
children: [/* @__PURE__ */ (0, I.jsx)("span", {
"data-search-name": "",
- children: X$
+ children: Y$
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-search-sub": "",
- children: X$
+ children: Y$
})]
})]
}, n) : /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -69900,15 +69978,15 @@ function jAe(e) {
"data-search-meta": "",
children: [/* @__PURE__ */ (0, I.jsx)("span", {
"data-search-name": "",
- children: X$
+ children: Y$
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-search-sub": "",
- children: X$
+ children: Y$
})]
})]
}, n));
}
-function MAe(e, t, n, r) {
+function BAe(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 () => {
@@ -69919,7 +69997,7 @@ function MAe(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) => W$(e) !== W$(t))]), V("/api/search-history", { query: t }).catch(() => null));
+ t && e().historyLimit && (s([t, ...o().filter((e) => U$(e) !== U$(t))]), V("/api/search-history", { query: t }).catch(() => null));
}, u = (n) => {
let r = i();
r.dataset.suggestion = n, t.cancelRoll();
@@ -69944,7 +70022,7 @@ function MAe(e, t, n, r) {
t.recommendationLoading = !0;
let r = t.recommendationRequest;
n.recommendations().then(({ groups: n, words: o }) => {
- r === t.recommendationRequest && (t.words = o, !i().dataset.suggestion && !a() && o.length && u(o[Math.floor(Math.random() * o.length)]), t.recommendationsFilling ? (t.recommendations = n, t.recommendationsFilling = !1, Y$(n.map(U$), e().helpers), a() && !i().value.trim() && x()) : (t.nextRecommendations = n, Y$(n, e().helpers)));
+ r === t.recommendationRequest && (t.words = o, !i().dataset.suggestion && !a() && o.length && u(o[Math.floor(Math.random() * o.length)]), t.recommendationsFilling ? (t.recommendations = n, t.recommendationsFilling = !1, J$(n.map(H$), e().helpers), a() && !i().value.trim() && x()) : (t.nextRecommendations = n, J$(n, e().helpers)));
}, () => {
r === t.recommendationRequest && t.recommendationsFilling && (t.recommendations = [], t.recommendationsFilling = !1, a() && !i().value.trim() && x());
}).finally(() => {
@@ -69952,18 +70030,18 @@ function MAe(e, t, n, r) {
});
}, m = () => {
let n = e().helpers;
- n.recommendations && (t.nextRecommendations && (t.recommendations = t.nextRecommendations, t.nextRecommendations = null, Y$(t.recommendations.map(U$), n)), !t.recommendations.length && (t.recommendations = n.pendingRecommendations?.() ?? [], t.recommendationsFilling = !0, p()));
+ n.recommendations && (t.nextRecommendations && (t.recommendations = t.nextRecommendations, t.nextRecommendations = null, J$(t.recommendations.map(H$), n)), !t.recommendations.length && (t.recommendations = n.pendingRecommendations?.() ?? [], t.recommendationsFilling = !0, p()));
}, h = () => {
- t.cancelIdle(), t.cancelIdle = kAe(() => {
+ t.cancelIdle(), t.cancelIdle = LAe(() => {
t.nextRecommendations || p();
});
}, g = h, _ = (n) => {
- t.recommendations = t.recommendations.map((e) => e.kind === n ? U$(e) : e), t.shuffled = {
+ t.recommendations = t.recommendations.map((e) => e.kind === n ? H$(e) : e), t.shuffled = {
...t.shuffled,
- [n]: Date.now() + q$
- }, window.setTimeout(r, q$);
+ [n]: Date.now() + K$
+ }, window.setTimeout(r, K$);
let i = t.recommendations.find((e) => e.kind === n);
- i && Y$([U$(i)], e().helpers), r();
+ i && J$([H$(i)], e().helpers), r();
}, v = async (e, n = "") => {
let r = ++t.suggestRequest;
n || (t.asked = e);
@@ -69990,9 +70068,9 @@ function MAe(e, t, n, r) {
i && e().helpers.dismiss(i), t.active = -1, h(), r();
}, x = () => {
if (t.dismissed) return;
- t.query = i().value.trim(), t.picks = t.query ? [] : TAe(t.pool, o()), t.active = -1;
+ t.query = i().value.trim(), t.picks = t.query ? [] : NAe(t.pool, o()), t.active = -1;
let a = n();
- a && (DAe(G$(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
+ a && (FAe(W$(t)) ? e().helpers.present(a) : e().helpers.dismiss(a)), r();
}, S = () => {
t.active = -1, t.kind = "", clearTimeout(t.timer);
let e = i().value.trim();
@@ -70004,7 +70082,7 @@ function MAe(e, t, n, r) {
n && e !== t.kind && (t.kind = e, clearTimeout(t.timer), x(), t.rewind = !0, v(n, e).then(() => {
a() && t.kind === e && x();
}));
- }, w = () => y() ? G$(t).options : [], T = (e) => {
+ }, w = () => y() ? W$(t).options : [], T = (e) => {
let n = w();
return n.length ? (t.active = (t.active + e + n.length) % n.length, t.reveal = !0, r(), !0) : !1;
}, E = (t, n) => {
@@ -70013,7 +70091,7 @@ function MAe(e, t, n, r) {
}, D = (t, n) => {
i().blur(), l(n), e().actions.openEntity(t, n);
}, O = (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 ? k(t.item.href) : t.type === "more" ? (E(!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" && V$.has(t.kind) ? D(t.kind, t.value) : (i().value = t.value, E(!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 ? k(t.item.href) : t.type === "more" ? (E(!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" && B$.has(t.kind) ? D(t.kind, t.value) : (i().value = t.value, E(!1, !0));
}, k = (t) => {
b(), i().blur(), e().actions.openPath?.(t);
};
@@ -70059,7 +70137,7 @@ function MAe(e, t, n, r) {
await V("/api/search-history", {
operation: "remove",
query: e
- }).catch(() => null), s(o().filter((t) => W$(t) !== W$(e))), t.active = -1, r();
+ }).catch(() => null), s(o().filter((t) => U$(t) !== U$(e))), t.active = -1, r();
},
pickKind: C,
openPath: k,
@@ -70069,7 +70147,7 @@ function MAe(e, t, n, r) {
rotatePlaceholder: d
};
}
-function NAe({ tabs: e, kind: t, onPick: n, wire: r }) {
+function VAe({ tabs: e, kind: t, onPick: n, wire: r }) {
let i = (0, F.useRef)(null);
(0, F.useLayoutEffect)(() => {
r(i.current);
@@ -70083,9 +70161,9 @@ function NAe({ tabs: e, kind: t, onPick: n, wire: r }) {
"data-pill-variant": "gray",
onMouseDown: (e) => e.preventDefault(),
onClick: () => n(e),
- children: [r, i ? /* @__PURE__ */ (0, I.jsx)(_W, { value: i }) : null]
+ children: [r, i ? /* @__PURE__ */ (0, I.jsx)(gW, { value: i }) : null]
}, e || "all");
- return /* @__PURE__ */ (0, I.jsxs)(RI, {
+ return /* @__PURE__ */ (0, I.jsxs)(LI, {
ref: i,
"data-search-tabs": "",
"data-pill-nav": "",
@@ -70094,9 +70172,9 @@ function NAe({ tabs: e, kind: t, onPick: n, wire: r }) {
children: [a("", "全部"), e.map((e) => a(e.kind, e.label, e.total))]
});
}
-var Z$ = (e) => e.preventDefault();
-function PAe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
- oL();
+var X$ = (e) => e.preventDefault();
+function HAe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove: a }) {
+ aL();
let o = {
"data-search-value": e.value,
"data-active": t ? "" : void 0,
@@ -70108,33 +70186,33 @@ function PAe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
type: "button",
"data-search-option": "more",
...o,
- onMouseDown: Z$,
+ onMouseDown: X$,
children: [
"查看全部 ",
e.total.toLocaleString(),
" 个视频",
- /* @__PURE__ */ (0, I.jsx)(J$, { name: "chevron-right" })
+ /* @__PURE__ */ (0, I.jsx)(q$, { name: "chevron-right" })
]
});
if (e.type !== "suggest") return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-search-option": "",
...o,
children: [
- /* @__PURE__ */ (0, I.jsx)(J$, { name: e.type === "history" ? "history" : "sparkles" }),
+ /* @__PURE__ */ (0, I.jsx)(q$, { name: e.type === "history" ? "history" : "sparkles" }),
/* @__PURE__ */ (0, I.jsx)("span", { children: e.value }),
e.type === "history" ? /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-remove-history": e.value,
"aria-label": `删除历史 ${e.value}`,
- onMouseDown: Z$,
+ onMouseDown: X$,
onClick: (t) => {
t.stopPropagation(), a(e.value);
},
- children: /* @__PURE__ */ (0, I.jsx)(J$, { name: "x" })
+ children: /* @__PURE__ */ (0, I.jsx)(q$, { name: "x" })
}) : null
]
});
- let { item: s, kind: c } = e, l = V$.has(c) ? c : void 0;
+ let { item: s, kind: c } = e, l = B$.has(c) ? c : void 0;
if ([
"asset",
"jav",
@@ -70148,8 +70226,8 @@ function PAe({ 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: Z$,
- children: [/* @__PURE__ */ (0, I.jsx)(Q$, {
+ onMouseDown: X$,
+ children: [/* @__PURE__ */ (0, I.jsx)(Z$, {
card: s.card,
helpers: n
}), /* @__PURE__ */ (0, I.jsxs)("span", {
@@ -70178,9 +70256,9 @@ function PAe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-search-option": "person",
"data-open-entity": l,
...o,
- onMouseDown: Z$,
+ onMouseDown: X$,
children: [
- /* @__PURE__ */ (0, I.jsx)($$, {
+ /* @__PURE__ */ (0, I.jsx)(Q$, {
item: s,
kind: c
}),
@@ -70203,11 +70281,11 @@ function PAe({ 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: Z$,
+ onMouseDown: X$,
onClick: (t) => {
t.stopPropagation(), i(e);
},
- children: /* @__PURE__ */ (0, I.jsx)(Q$, {
+ children: /* @__PURE__ */ (0, I.jsx)(Z$, {
card: e,
helpers: n
})
@@ -70221,7 +70299,7 @@ function PAe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
"data-open-entity": l,
...o,
children: [
- c === "studio" || c === "agency" ? /* @__PURE__ */ (0, I.jsx)($$, {
+ c === "studio" || c === "agency" ? /* @__PURE__ */ (0, I.jsx)(Q$, {
item: s,
kind: c
}) : null,
@@ -70234,13 +70312,13 @@ function PAe({ entry: e, active: t, helpers: n, onPick: r, onPeek: i, onRemove:
]
});
}
-function Q$({ card: e, helpers: t }) {
+function Z$({ card: e, helpers: t }) {
return /* @__PURE__ */ (0, I.jsx)("span", {
"data-search-pic": "",
dangerouslySetInnerHTML: { __html: t.coverHtml(e) }
});
}
-function $$({ item: e, kind: t }) {
+function Q$({ item: e, kind: t }) {
if (e.avatarHtml) return /* @__PURE__ */ (0, I.jsx)("span", {
"data-search-face": "",
dangerouslySetInnerHTML: { __html: e.avatarHtml }
@@ -70259,24 +70337,24 @@ function $$({ item: e, kind: t }) {
});
}
// src/react/settings/configuration.ts
-var e1 = ["configuration"], t1 = (e) => B(KY, e);
-async function FAe(e) {
+var $$ = ["configuration"], e1 = (e) => B(GY, e);
+async function UAe(e) {
await H.fetchQuery({
- queryKey: e1,
- queryFn: () => t1(e)
+ queryKey: $$,
+ queryFn: () => e1(e)
});
}
// src/react/settings-panel/legacy-controls.tsx
-var n1 = (e) => e.map(([e, t, n]) => n ? [
+var t1 = (e) => e.map(([e, t, n]) => n ? [
e,
t,
n
] : [e, t]);
-function r1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
+function n1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant: o, text: s = !1, epoch: c, onChoose: l }) {
let u = (0, F.useRef)(null), d = (0, F.useRef)(null), f = (0, F.useRef)(l);
return f.current = l, (0, F.useLayoutEffect)(() => {
let e = u.current;
- e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = $c(t, n, n1(r), i, {
+ e && (d.current && d.current.value === i && d.current.epoch === c || (e.innerHTML = $c(t, n, t1(r), i, {
attr: a,
className: o,
text: s
@@ -70294,13 +70372,13 @@ function r1({ id: e, name: t, legend: n, options: r, value: i, attr: a, variant:
ref: u
});
}
-function i1({ 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 r1({ 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, F.useRef)(null), f = (0, F.useRef)(null), p = (0, F.useRef)(-1), m = (0, F.useRef)(l);
return m.current = l, (0, F.useLayoutEffect)(() => {
let e = d.current;
if (!e) return;
if (p.current !== c || !f.current) {
- e.innerHTML = ms(n1(n), r, { label: t });
+ e.innerHTML = ms(t1(n), r, { label: t });
let i = hs(e.firstElementChild);
i.addEventListener("change", () => m.current(i.value)), f.current = i, p.current = c;
}
@@ -70313,7 +70391,7 @@ function i1({ id: e, label: t, options: n, value: r, disabled: i = !1, busy: a =
"aria-describedby": s
});
}
-function IAe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
+function WAe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSettle: o }) {
let s = (0, F.useRef)(null), c = (0, F.useRef)(null), l = (0, F.useRef)({
onStep: a,
onSettle: o
@@ -70347,7 +70425,7 @@ function IAe({ field: e, label: t, max: n, value: r, hidden: i, onStep: a, onSet
});
}
// src/react/settings-panel/glow-settings.tsx
-var LAe = [
+var GAe = [
[
"strength",
"强度",
@@ -70374,8 +70452,8 @@ var LAe = [
100
]
];
-function RAe({ host: e, spot: t, index: n, glow: r }) {
- let i = ale[n], a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = HV(), [l, u] = (0, F.useState)("all");
+function KAe({ host: e, spot: t, index: n, glow: r }) {
+ let i = lle[n], a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = VV(), [l, u] = (0, F.useState)("all");
(0, F.useLayoutEffect)(() => {
let [e, t, n] = [
a.current,
@@ -70388,7 +70466,7 @@ function RAe({ host: e, spot: t, index: n, glow: r }) {
}, []);
let d = r[t].color, f = (n) => {
let r = e.store.value.homeGlow;
- r[t].color = Qj(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), os(), o.current?.focus();
+ r[t].color = Jj(n, r[t].color), r.preset = "custom", e.store.save(), e.changed("glow"), os(), o.current?.focus();
};
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-glow-stop": t,
@@ -70425,7 +70503,7 @@ function RAe({ host: e, spot: t, index: n, glow: r }) {
"data-glow-pills": "",
role: "group",
"aria-label": "色系",
- children: cle.map(([e, t]) => /* @__PURE__ */ (0, I.jsx)("button", {
+ children: fle.map(([e, t]) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-glow-pill": e,
"aria-pressed": e === l,
@@ -70439,7 +70517,7 @@ function RAe({ host: e, spot: t, index: n, glow: r }) {
"data-glow-palette": "",
role: "radiogroup",
"aria-label": `${i}颜色`,
- children: lle.map(([e, t, n]) => /* @__PURE__ */ (0, I.jsx)("button", {
+ children: ple.map(([e, t, n]) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
role: "radio",
"aria-checked": n === d,
@@ -70456,8 +70534,8 @@ function RAe({ host: e, spot: t, index: n, glow: r }) {
})]
});
}
-function zAe({ host: e }) {
- let t = e.store.value.homeGlow, n = Gj(t.preset);
+function qAe({ host: e }) {
+ let t = e.store.value.homeGlow, n = Vj(t.preset);
return /* @__PURE__ */ (0, I.jsxs)("section", {
"data-glow-setting": "",
id: "homeGlowControls",
@@ -70476,10 +70554,10 @@ function zAe({ host: e }) {
"data-glow-current": "",
children: ["当前配色", /* @__PURE__ */ (0, I.jsx)("b", {
"data-glow-preset-name": "",
- children: ole(t.preset)
+ children: ule(t.preset)
})]
}),
- /* @__PURE__ */ (0, I.jsx)(HM, {
+ /* @__PURE__ */ (0, I.jsx)(RM, {
store: e.store,
label: "光晕配色"
}),
@@ -70490,7 +70568,7 @@ function zAe({ host: e }) {
}),
/* @__PURE__ */ (0, I.jsx)("div", {
"data-glow-fields": "",
- children: LAe.map(([r, i, a]) => /* @__PURE__ */ (0, I.jsx)(IAe, {
+ children: GAe.map(([r, i, a]) => /* @__PURE__ */ (0, I.jsx)(WAe, {
field: r,
label: i,
max: a,
@@ -70511,7 +70589,7 @@ function zAe({ host: e }) {
className: "geist-button",
"data-glow-reset": "",
onClick: () => {
- e.store.value.homeGlow = eM(null), e.store.save(), e.changed("glow");
+ e.store.value.homeGlow = Xj(null), e.store.save(), e.changed("glow");
},
children: "恢复默认"
})
@@ -70530,7 +70608,7 @@ function zAe({ host: e }) {
"data-glow-colour-card": "",
children: /* @__PURE__ */ (0, I.jsx)("div", {
"data-glow-stops": "",
- children: Hj.map((n, r) => /* @__PURE__ */ (0, I.jsx)(RAe, {
+ children: Rj.map((n, r) => /* @__PURE__ */ (0, I.jsx)(KAe, {
host: e,
spot: n,
index: r,
@@ -70542,7 +70620,7 @@ function zAe({ host: e }) {
});
}
// src/react/settings-panel/number-setting.tsx
-var BAe = {
+var JAe = {
batchSizeSetting: {
min: 1,
max: 200,
@@ -70589,22 +70667,22 @@ var BAe = {
optional: !0,
fallback: 60
}
-}, a1 = (e) => `peach.number.${e}`;
-function o1(e, t) {
+}, i1 = (e) => `peach.number.${e}`;
+function a1(e, t) {
if (t !== "分钟" || !Number.isInteger(e) || e < 1440) return "";
let n = e / 1440;
return Number.isInteger(n) ? `${n.toLocaleString()} 天` : `约 ${n.toFixed(1)} 天`;
}
-function s1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
- let a = BAe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, F.useRef)(0);
- d.current ||= jj(Number(localStorage.getItem(a1(e))), o, s, n && n > 0 ? n : l);
+function o1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
+ let a = JAe[e], { min: o, max: s, unit: c, fallback: l } = a, u = a.optional === !0, d = (0, F.useRef)(0);
+ d.current ||= Dj(Number(localStorage.getItem(i1(e))), o, s, n && n > 0 ? n : l);
let [f, p] = (0, F.useState)(n ?? 0), [m, h] = (0, F.useState)(String(n && n > 0 ? n : d.current)), [g, _] = (0, F.useState)(""), v = (0, F.useRef)(null), y = (0, F.useRef)(i);
y.current = i, (0, F.useLayoutEffect)(() => {
n !== null && (p(n), n > 0 && h(String(n)));
}, [n]);
let b = () => {
let t = v.current;
- t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(a1(e), String(d.current)), y.current(d.current)));
+ t && (!t.value || !t.checkValidity() ? (t.setAttribute("aria-invalid", "true"), _(`请输入 ${o}–${s} 的整数(${c})`)) : (t.removeAttribute("aria-invalid"), _(""), d.current = Number(t.value), localStorage.setItem(i1(e), String(d.current)), y.current(d.current)));
}, x = (0, F.useRef)(b);
x.current = b, (0, F.useEffect)(() => {
let e = v.current;
@@ -70614,7 +70692,7 @@ function s1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}, []);
let S = f > 0, C = () => {
let t = v.current;
- t?.removeAttribute("aria-invalid"), _(""), S ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(a1(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));
+ t?.removeAttribute("aria-invalid"), _(""), S ? (t && t.value && t.checkValidity() && (d.current = Number(t.value)), localStorage.setItem(i1(e), String(d.current)), p(0), y.current(0)) : (p(d.current), h(String(d.current)), y.current(d.current));
}, w = r || n === null;
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-number-setting": "",
@@ -70651,7 +70729,7 @@ function s1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
}
}), /* @__PURE__ */ (0, I.jsxs)("span", {
"aria-hidden": "true",
- children: [c, o1(Number(m), c) ? ` · ${o1(Number(m), c)}` : ""]
+ children: [c, a1(Number(m), c) ? ` · ${a1(Number(m), c)}` : ""]
})]
}), /* @__PURE__ */ (0, I.jsx)("small", {
id: `${e}-error`,
@@ -70664,13 +70742,13 @@ function s1({ id: e, label: t, value: n, disabled: r = !1, onApply: i }) {
});
}
// src/react/sidebar/sidebar-order.ts
-function c1(e) {
- let { mutate: t } = iX();
+function s1(e) {
+ let { mutate: t } = rX();
return (0, F.useCallback)((n) => {
e.value.sidebarOrder = n, e.save(), t({ sidebarOrder: n }, { onError: () => {} });
}, [e, t]);
}
-function l1(e, t, n, r) {
+function c1(e, t, n, r) {
if (t === n) return null;
let i = [...e], a = i.indexOf(t);
if (a < 0) return null;
@@ -70679,17 +70757,17 @@ function l1(e, t, n, r) {
return o < 0 ? null : (i.splice(o + +!!r, 0, t), i);
}
// src/react/settings-panel/sidebar-order.tsx
-var VAe = "__home__", u1 = (e) => e === "" ? VAe : e;
-function HAe({ host: e }) {
- let t = c1(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, F.useState)(null), [c, l] = (0, F.useState)(!1), [u, d] = (0, F.useState)(null), [f, p] = (0, F.useState)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (e, r, i) => {
- let a = l1(n, e, r, i);
+var YAe = "__home__", l1 = (e) => e === "" ? YAe : e;
+function XAe({ host: e }) {
+ let t = s1(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, F.useState)(null), [c, l] = (0, F.useState)(!1), [u, d] = (0, F.useState)(null), [f, p] = (0, F.useState)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(null), g = (e, r, i) => {
+ let a = c1(n, e, r, i);
a && t(a);
}, _ = (e, r) => {
let i = n.indexOf(e), a = i + r;
if (i < 0 || a < 0 || a >= n.length) return;
let o = [...n];
[o[i], o[a]] = [o[a], o[i]], t(o);
- }, v = a.find(([e]) => u1(e) === o) ?? a[0], y = () => {
+ }, v = a.find(([e]) => l1(e) === o) ?? a[0], y = () => {
h.current && ls(h.current), l(!1);
}, b = () => {
let e = h.current;
@@ -70710,7 +70788,7 @@ function HAe({ host: e }) {
}, C = (e) => ({
draggable: !0,
onDragStart: (t) => {
- d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", u1(e));
+ d(e), t.dataTransfer.effectAllowed = "move", t.dataTransfer.setData("text/plain", l1(e));
},
onDragOver: (t) => {
if (u === null || u === e) return;
@@ -70784,7 +70862,7 @@ function HAe({ host: e }) {
})
]
})]
- }, u1(e))), /* @__PURE__ */ (0, I.jsxs)("div", {
+ }, l1(e))), /* @__PURE__ */ (0, I.jsxs)("div", {
"data-sidebar-add-row": "",
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-sidebar-add-picker": "",
@@ -70817,15 +70895,15 @@ function HAe({ host: e }) {
children: a.map(([e, t, n]) => /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
role: "option",
- "data-sidebar-add-option": u1(e),
+ "data-sidebar-add-option": l1(e),
"aria-selected": v?.[0] === e,
tabIndex: v?.[0] === e ? 0 : -1,
onKeyDown: x,
onClick: () => {
- s(u1(e)), y(), m.current?.focus();
+ s(l1(e)), y(), m.current?.focus();
},
children: [/* @__PURE__ */ (0, I.jsx)(WF, { name: n ?? "" }), /* @__PURE__ */ (0, I.jsx)("span", { children: t })]
- }, u1(e)))
+ }, l1(e)))
}) : null]
}), /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -70841,13 +70919,13 @@ function HAe({ host: e }) {
});
}
// src/react/settings-panel/settings-panel.tsx
-var d1 = [
+var u1 = [
["外观与导航", "ri-palette-line"],
["浏览与播放", "ri-play-circle-line"],
["JAV 与新作", "jav"],
["搜索与推荐", "ri-search-line"],
["内容显示", "ri-shield-check-line"]
-], UAe = [
+], ZAe = [
["seed", "随机"],
["rating", "评分"],
["o", "高潮计数"],
@@ -70856,7 +70934,7 @@ var d1 = [
["size", "体积"],
["new", "入库时间"],
["played", "观看时间"]
-], WAe = [["desc", "降序"], ["asc", "升序"]], GAe = [[
+], QAe = [["desc", "降序"], ["asc", "升序"]], $Ae = [[
"cover",
"官方封面",
""
@@ -70864,7 +70942,7 @@ var d1 = [
"thumbnail",
"预览图",
""
-]], KAe = [
+]], eje = [
[
"feedHideGroupSetting",
"feedHideGroupCompilations",
@@ -70883,88 +70961,88 @@ var d1 = [
"切片",
"隐藏切片"
]
-], qAe = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", f1 = null, p1 = {
+], tje = "button:not([disabled]),input:not([disabled]),textarea:not([disabled]),a[href]", d1 = null, f1 = {
open: !1,
closing: !1,
epoch: 0,
tab: 0,
configurable: null
-}, m1 = 0, h1 = null, g1 = /* @__PURE__ */ new Set();
-function JAe(e) {
- return g1.add(e), () => {
- g1.delete(e);
+}, p1 = 0, m1 = null, h1 = /* @__PURE__ */ new Set();
+function nje(e) {
+ return h1.add(e), () => {
+ h1.delete(e);
};
}
-function YAe() {
- for (let e of [...g1]) e();
+function rje() {
+ for (let e of [...h1]) e();
}
-function _1(e) {
- p1 = {
- ...p1,
+function g1(e) {
+ f1 = {
+ ...f1,
...e
- }, (0, Rt.flushSync)(YAe);
+ }, (0, Rt.flushSync)(rje);
}
-async function XAe(e) {
- let t = p1.epoch, n = await e.configurable();
- p1.open && p1.epoch === t && _1({ configurable: n });
+async function ije(e) {
+ let t = f1.epoch, n = await e.configurable();
+ f1.open && f1.epoch === t && g1({ configurable: n });
}
-function ZAe(e = "") {
- let t = f1;
+function aje(e = "") {
+ let t = d1;
if (!t) return;
- let n = d1.findIndex(([t]) => t === e);
- if (p1.open && !p1.closing) {
- n >= 0 && n !== p1.tab && _1({ tab: n });
+ let n = u1.findIndex(([t]) => t === e);
+ if (f1.open && !f1.closing) {
+ n >= 0 && n !== f1.tab && g1({ tab: n });
return;
}
- os(), m1 += 1, h1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
- let r = NTe();
- _1({
+ os(), p1 += 1, m1 ||= document.activeElement, t.sound("whoosh"), document.documentElement.style.overflow = "hidden", document.body.classList.add("settings-open");
+ let r = VTe();
+ g1({
open: !0,
closing: !1,
configurable: null,
- epoch: p1.epoch + 1,
- tab: n >= 0 ? n : p1.tab
+ epoch: f1.epoch + 1,
+ tab: n >= 0 ? n : f1.tab
}), r.then((e) => {
e && t.syncRemote(e);
- }), XAe(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
+ }), ije(t), queueMicrotask(() => document.getElementById("settingsClose")?.focus());
}
-function v1(e = !0) {
- if (!p1.open || p1.closing) return;
- let t = ++m1;
- e && f1?.closed?.(), _1({ closing: !0 });
+function _1(e = !0) {
+ if (!f1.open || f1.closing) return;
+ let t = ++p1;
+ e && d1?.closed?.(), g1({ closing: !0 });
let n = () => {
- t === m1 && p1.closing && (_1({
+ t === p1 && f1.closing && (g1({
open: !1,
closing: !1
- }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), h1 instanceof HTMLElement && document.contains(h1) && h1.focus(), h1 = null);
+ }), document.documentElement.style.overflow = "", document.body.classList.remove("settings-open"), m1 instanceof HTMLElement && document.contains(m1) && m1.focus(), m1 = null);
};
matchMedia("(prefers-reduced-motion: reduce)").matches ? queueMicrotask(n) : (document.querySelector("#settingsPanel > [data-settings-card]")?.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 380));
}
-var QAe = {
- open: ZAe,
- close: v1,
- isOpen: () => p1.open,
+var oje = {
+ open: aje,
+ close: _1,
+ isOpen: () => f1.open,
reveal: (e) => queueMicrotask(() => document.querySelector(e)?.scrollIntoView({ block: "nearest" }))
};
-function $Ae(e) {
- return f1 = e, QAe;
+function sje(e) {
+ return d1 = e, oje;
}
-function eje() {
- let e = (0, F.useSyncExternalStore)(JAe, () => p1);
- return f1 ? /* @__PURE__ */ (0, I.jsx)(rje, {
- host: f1,
+function cje() {
+ let e = (0, F.useSyncExternalStore)(nje, () => f1);
+ return d1 ? /* @__PURE__ */ (0, I.jsx)(dje, {
+ host: d1,
view: e
}) : null;
}
-function tje(e) {
+function lje(e) {
if (e.key !== "Tab") return;
- let t = [...e.currentTarget.querySelectorAll(qAe)].filter((e) => e.getClientRects().length > 0);
+ let t = [...e.currentTarget.querySelectorAll(tje)].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 y1 = (e) => `settings-tab-${e}`, b1 = (e) => `settings-group-${e}`;
-function nje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
+var v1 = (e) => `settings-tab-${e}`, y1 = (e) => `settings-group-${e}`;
+function uje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect: i }) {
let a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(e), l = (0, F.useRef)([]), u = (e, t) => {
let n = o.current;
if (!n) return;
@@ -70992,7 +71070,7 @@ function nje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
c.current = e, d.current(l.current[e], t);
}, [e, t]);
let f = (e, t) => {
- let n = d1.length, r = t;
+ let n = u1.length, r = t;
if (e.key === "ArrowRight" || e.key === "ArrowDown") r = (t + 1) % n;
else if (e.key === "ArrowLeft" || e.key === "ArrowUp") r = (t + n - 1) % n;
else if (e.key === "Home") r = 0;
@@ -71021,11 +71099,11 @@ function nje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
role: "presentation",
children: "设置"
}),
- d1.map(([t, n], r) => /* @__PURE__ */ (0, I.jsxs)("button", {
+ u1.map(([t, n], r) => /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
role: "tab",
- id: y1(r),
- "aria-controls": b1(r),
+ id: v1(r),
+ "aria-controls": y1(r),
"aria-selected": r === e,
tabIndex: r === e ? 0 : -1,
ref: (e) => {
@@ -71036,7 +71114,7 @@ function nje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
onPointerEnter: (e) => {
e.pointerType !== "touch" && u(e.currentTarget, !0);
},
- children: [n === "jav" ? /* @__PURE__ */ (0, I.jsx)(WF, { name: n }) : /* @__PURE__ */ (0, I.jsx)(zde, { name: n }), t]
+ children: [n === "jav" ? /* @__PURE__ */ (0, I.jsx)(WF, { name: n }) : /* @__PURE__ */ (0, I.jsx)(Kde, { name: n }), t]
}, t)),
/* @__PURE__ */ (0, I.jsx)("div", {
"data-settings-service": "",
@@ -71056,17 +71134,17 @@ function nje({ tab: e, epoch: t, configurable: n, openConfiguration: r, onSelect
]
});
}
-function x1({ index: e, tab: t, children: n, cards: r = !1 }) {
+function b1({ index: e, tab: t, children: n, cards: r = !1 }) {
return /* @__PURE__ */ (0, I.jsxs)("section", {
"data-setting-group": "",
"data-setting-layout": r ? "cards" : void 0,
- id: b1(e),
+ id: y1(e),
role: "tabpanel",
- "aria-labelledby": y1(e),
+ "aria-labelledby": v1(e),
hidden: e !== t,
children: [
- /* @__PURE__ */ (0, I.jsx)("h3", { children: d1[e][0] }),
- /* @__PURE__ */ (0, I.jsx)(qve, { chapter: [
+ /* @__PURE__ */ (0, I.jsx)("h3", { children: u1[e][0] }),
+ /* @__PURE__ */ (0, I.jsx)(tye, { chapter: [
"appearance",
"playback",
"jav-settings",
@@ -71077,7 +71155,7 @@ function x1({ index: e, tab: t, children: n, cards: r = !1 }) {
]
});
}
-function S1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
+function x1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Setting$/, "")}Description`, checked: i, onToggle: a }) {
return /* @__PURE__ */ (0, I.jsxs)("label", {
"data-setting-row": "",
children: [/* @__PURE__ */ (0, I.jsxs)("span", { children: [/* @__PURE__ */ (0, I.jsx)("b", { children: t }), n ? /* @__PURE__ */ (0, I.jsx)("small", {
@@ -71094,7 +71172,7 @@ function S1({ id: e, title: t, description: n, describedBy: r = `${e.replace(/Se
})]
});
}
-function C1({ title: e, description: t, kind: n, children: r }) {
+function S1({ title: e, description: t, kind: n, children: r }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-setting-row": "",
"data-setting-sort": n === "sort" ? "" : void 0,
@@ -71102,7 +71180,7 @@ function C1({ title: e, description: t, kind: n, children: r }) {
children: [/* @__PURE__ */ (0, I.jsxs)("span", { children: [/* @__PURE__ */ (0, I.jsx)("b", { children: e }), typeof t == "string" ? /* @__PURE__ */ (0, I.jsx)("small", { children: t }) : t] }), r]
});
}
-function rje({ host: e, view: t }) {
+function dje({ host: e, view: t }) {
(0, F.useSyncExternalStore)(e.store.subscribe, e.store.version);
let n = e.store.value, r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(t.tab), l = () => {
let [e, t] = [i.current, o.current];
@@ -71123,7 +71201,7 @@ function rje({ host: e, view: t }) {
s.current?.();
});
let d = t.epoch, f = (t) => {
- t !== p1.tab && (_1({ tab: t }), e.selectSection?.(d1[t][0]));
+ t !== f1.tab && (g1({ tab: t }), e.selectSection?.(u1[t][0]));
}, p = () => e.store.save();
return /* @__PURE__ */ (0, I.jsx)("section", {
"data-settings-panel": "",
@@ -71134,9 +71212,9 @@ function rje({ host: e, view: t }) {
"aria-labelledby": "settingsTitle",
"data-closing": t.closing ? "" : void 0,
ref: r,
- onKeyDown: tje,
+ onKeyDown: lje,
onClick: (e) => {
- e.target === e.currentTarget && v1();
+ e.target === e.currentTarget && _1();
},
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-settings-card": "",
@@ -71147,27 +71225,27 @@ function rje({ host: e, view: t }) {
ref: a,
children: [/* @__PURE__ */ (0, I.jsx)("h2", {
id: "settingsTitle",
- children: d1[t.tab][0]
- }), /* @__PURE__ */ (0, I.jsx)(gV, {
+ children: u1[t.tab][0]
+ }), /* @__PURE__ */ (0, I.jsx)(hV, {
id: "settingsClose",
label: "关闭设置",
- onPress: () => v1()
+ onPress: () => _1()
})]
}),
- /* @__PURE__ */ (0, I.jsx)(nje, {
+ /* @__PURE__ */ (0, I.jsx)(uje, {
tab: t.tab,
epoch: d,
configurable: t.configurable,
onSelect: f,
openConfiguration: () => {
- v1(!1), e.openConfiguration();
+ _1(!1), e.openConfiguration();
}
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-settings-scroll": "",
ref: o,
children: [
- /* @__PURE__ */ (0, I.jsxs)(x1, {
+ /* @__PURE__ */ (0, I.jsxs)(b1, {
index: 0,
tab: t.tab,
cards: !0,
@@ -71175,9 +71253,9 @@ function rje({ host: e, view: t }) {
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-setting-card": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(C1, {
+ /* @__PURE__ */ (0, I.jsx)(S1, {
title: "主题",
- children: /* @__PURE__ */ (0, I.jsx)(r1, {
+ children: /* @__PURE__ */ (0, I.jsx)(n1, {
id: "themeSetting",
name: "theme",
legend: "主题",
@@ -71205,7 +71283,7 @@ function rje({ host: e, view: t }) {
onChange: (t) => e.setHighContrast(t.target.checked)
})]
}),
- /* @__PURE__ */ (0, I.jsx)(S1, {
+ /* @__PURE__ */ (0, I.jsx)(x1, {
id: "uiSoundsSetting",
title: "界面音效",
checked: n.uiSounds,
@@ -71213,7 +71291,7 @@ function rje({ host: e, view: t }) {
n.uiSounds = t, p(), e.changed("uiSounds");
}
}),
- /* @__PURE__ */ (0, I.jsx)(S1, {
+ /* @__PURE__ */ (0, I.jsx)(x1, {
id: "homeGlowSetting",
title: "侧栏光晕",
checked: n.homeGlow.on,
@@ -71223,7 +71301,7 @@ function rje({ host: e, view: t }) {
})
]
}),
- /* @__PURE__ */ (0, I.jsx)(zAe, { host: e }),
+ /* @__PURE__ */ (0, I.jsx)(qAe, { host: e }),
/* @__PURE__ */ (0, I.jsxs)("section", {
"data-setting-block": "",
"aria-labelledby": "sidebarOrderTitle",
@@ -71235,35 +71313,35 @@ function rje({ host: e, view: t }) {
"data-setting-card": "",
children: /* @__PURE__ */ (0, I.jsx)("section", {
"data-sidebar-setting": "",
- children: /* @__PURE__ */ (0, I.jsx)(HAe, { host: e })
+ children: /* @__PURE__ */ (0, I.jsx)(XAe, { host: e })
})
})]
})
]
}),
- /* @__PURE__ */ (0, I.jsx)(aje, {
+ /* @__PURE__ */ (0, I.jsx)(pje, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, I.jsx)(oje, {
+ /* @__PURE__ */ (0, I.jsx)(mje, {
host: e,
tab: t.tab,
epoch: d
}),
- /* @__PURE__ */ (0, I.jsxs)(x1, {
+ /* @__PURE__ */ (0, I.jsxs)(b1, {
index: 3,
tab: t.tab,
children: [
- /* @__PURE__ */ (0, I.jsx)(uje, {
+ /* @__PURE__ */ (0, I.jsx)(vje, {
host: e,
epoch: d
}),
- /* @__PURE__ */ (0, I.jsx)(C1, {
+ /* @__PURE__ */ (0, I.jsx)(S1, {
title: "相关推荐数量",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "relatedLimitSetting",
- children: /* @__PURE__ */ (0, I.jsx)(s1, {
+ children: /* @__PURE__ */ (0, I.jsx)(o1, {
id: "relatedLimitSetting",
label: "相关推荐数量",
value: n.relatedLimit,
@@ -71273,24 +71351,24 @@ function rje({ host: e, view: t }) {
}, d)
})
}),
- /* @__PURE__ */ (0, I.jsx)(C1, {
+ /* @__PURE__ */ (0, I.jsx)(S1, {
title: "口味与记录",
children: /* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-react",
- children: /* @__PURE__ */ (0, I.jsx)(xL, {
+ children: /* @__PURE__ */ (0, I.jsx)(bL, {
variant: "secondary",
href: "/taste",
- onClick: () => v1(!1),
+ onClick: () => _1(!1),
children: "打开口味与记录"
})
})
})
]
}),
- /* @__PURE__ */ (0, I.jsx)(x1, {
+ /* @__PURE__ */ (0, I.jsx)(b1, {
index: 4,
tab: t.tab,
- children: /* @__PURE__ */ (0, I.jsx)(S1, {
+ children: /* @__PURE__ */ (0, I.jsx)(x1, {
id: "censorSetting",
title: "SFW 模式",
describedBy: "sfwDescription",
@@ -71305,7 +71383,7 @@ function rje({ host: e, view: t }) {
})
});
}
-function ije(e, t) {
+function fje(e, t) {
let n = e.querySelector("[data-select-label]");
if (!n) return;
n.querySelector("[data-icon-swap]") || (n.innerHTML = Ks("arrow-up", "arrow-down", "a", {
@@ -71315,9 +71393,9 @@ function ije(e, t) {
let r = n.querySelector("[data-sort-direction-label]");
r && (r.textContent = t ? "升序" : "降序");
}
-function aje({ host: e, tab: t, epoch: n }) {
+function pje({ 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, I.jsxs)(x1, {
+ return /* @__PURE__ */ (0, I.jsxs)(b1, {
index: 1,
tab: t,
children: [
@@ -71325,11 +71403,11 @@ function aje({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "作品列表"
}),
- /* @__PURE__ */ (0, I.jsx)(C1, {
+ /* @__PURE__ */ (0, I.jsx)(S1, {
title: "每批加载作品",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "batchSizeSetting",
- children: /* @__PURE__ */ (0, I.jsx)(s1, {
+ children: /* @__PURE__ */ (0, I.jsx)(o1, {
id: "batchSizeSetting",
label: "每批作品",
value: r.batchSize,
@@ -71339,24 +71417,24 @@ function aje({ host: e, tab: t, epoch: n }) {
}, n)
})
}),
- /* @__PURE__ */ (0, I.jsx)(C1, {
+ /* @__PURE__ */ (0, I.jsx)(S1, {
title: "默认排序",
kind: "sort",
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-setting-sort-controls": "",
- children: [/* @__PURE__ */ (0, I.jsx)(i1, {
+ children: [/* @__PURE__ */ (0, I.jsx)(r1, {
id: "defaultSortSetting",
label: "默认排序",
- options: UAe,
+ options: ZAe,
value: r.defaultSort,
epoch: n,
onPick: (t) => {
r.defaultSort = t, i(), e.changed("defaultSort");
}
- }), /* @__PURE__ */ (0, I.jsx)(i1, {
+ }), /* @__PURE__ */ (0, I.jsx)(r1, {
id: "defaultSortDirectionSetting",
label: "默认排序方向",
- options: WAe,
+ options: QAe,
value: o ? "asc" : "desc",
hidden: a,
disabled: a,
@@ -71364,13 +71442,13 @@ function aje({ host: e, tab: t, epoch: n }) {
onPick: (t) => {
r.defaultSortDirection = t, i(), e.changed("sortDirection");
},
- decorate: (e) => ije(e, o)
+ decorate: (e) => fje(e, o)
})]
})
}),
- /* @__PURE__ */ (0, I.jsx)(C1, {
+ /* @__PURE__ */ (0, I.jsx)(S1, {
title: "视频卡片大小",
- children: /* @__PURE__ */ (0, I.jsx)(r1, {
+ children: /* @__PURE__ */ (0, I.jsx)(n1, {
id: "javSizeSetting",
name: "video-size",
legend: "视频卡片大小",
@@ -71396,16 +71474,16 @@ function aje({ host: e, tab: t, epoch: n }) {
}
})]
}),
- /* @__PURE__ */ (0, I.jsx)(C1, {
+ /* @__PURE__ */ (0, I.jsx)(S1, {
title: "悬停预览延迟",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "hoverDelaySetting",
- children: /* @__PURE__ */ (0, I.jsx)(s1, {
+ children: /* @__PURE__ */ (0, I.jsx)(o1, {
id: "hoverDelaySetting",
label: "悬停预览延迟",
value: r.hoverDelaySeconds,
onApply: (t) => {
- r.hoverDelaySeconds = jj(t, 0, 60, 5), i(), e.changed("hoverDelay");
+ r.hoverDelaySeconds = Dj(t, 0, 60, 5), i(), e.changed("hoverDelay");
}
}, n)
})
@@ -71414,16 +71492,16 @@ function aje({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "播放"
}),
- /* @__PURE__ */ (0, I.jsx)(lje, {
+ /* @__PURE__ */ (0, I.jsx)(_je, {
host: e,
epoch: n
})
]
});
}
-function oje({ host: e, tab: t, epoch: n }) {
+function mje({ host: e, tab: t, epoch: n }) {
let r = e.store.value, i = () => e.store.save();
- return /* @__PURE__ */ (0, I.jsxs)(x1, {
+ return /* @__PURE__ */ (0, I.jsxs)(b1, {
index: 2,
tab: t,
children: [
@@ -71431,17 +71509,17 @@ function oje({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "作品显示"
}),
- /* @__PURE__ */ (0, I.jsx)(sje, {
+ /* @__PURE__ */ (0, I.jsx)(hje, {
host: e,
epoch: n
}),
- /* @__PURE__ */ (0, I.jsx)(C1, {
+ /* @__PURE__ */ (0, I.jsx)(S1, {
title: "默认图片",
- children: /* @__PURE__ */ (0, I.jsx)(r1, {
+ children: /* @__PURE__ */ (0, I.jsx)(n1, {
id: "javImageSetting",
name: "jav-image",
legend: "默认图片",
- options: GAe,
+ options: $Ae,
value: r.javImage,
attr: "data-jav-image-choice",
variant: "javimageswitch",
@@ -71456,21 +71534,21 @@ function oje({ host: e, tab: t, epoch: n }) {
"data-settings-subheading": "",
children: "新作显示"
}),
- /* @__PURE__ */ (0, I.jsx)(C1, {
+ /* @__PURE__ */ (0, I.jsx)(S1, {
title: "显示数量",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "feedLimitSetting",
- children: /* @__PURE__ */ (0, I.jsx)(s1, {
+ children: /* @__PURE__ */ (0, I.jsx)(o1, {
id: "feedLimitSetting",
label: "新作显示数量",
value: r.feedLimit,
onApply: (t) => {
- r.feedLimit = jj(t, 1, 100, 12), i(), e.changed("feedLimit");
+ r.feedLimit = Dj(t, 1, 100, 12), i(), e.changed("feedLimit");
}
}, n)
})
}),
- /* @__PURE__ */ (0, I.jsx)(S1, {
+ /* @__PURE__ */ (0, I.jsx)(x1, {
id: "feedAutoScrollSetting",
title: "自动滚动",
checked: r.feedAutoScroll,
@@ -71478,7 +71556,7 @@ function oje({ host: e, tab: t, epoch: n }) {
r.feedAutoScroll = t, i(), e.changed("feedAutoScroll");
}
}),
- KAe.map(([t, n, r, i]) => /* @__PURE__ */ (0, I.jsx)(cje, {
+ eje.map(([t, n, r, i]) => /* @__PURE__ */ (0, I.jsx)(gje, {
host: e,
id: t,
settingKey: n,
@@ -71488,19 +71566,19 @@ function oje({ host: e, tab: t, epoch: n }) {
]
});
}
-function sje({ host: e, epoch: t }) {
+function hje({ host: e, epoch: t }) {
let n = Ft({
- queryKey: QY,
- queryFn: ({ signal: e }) => rX(e),
+ queryKey: ZY,
+ queryFn: ({ signal: e }) => nX(e),
staleTime: 0
- }), r = iX(), [i, a] = (0, F.useState)(null), o = n.data?.performerNameLanguage;
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(C1, {
+ }), r = rX(), [i, a] = (0, F.useState)(null), o = n.data?.performerNameLanguage;
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(S1, {
title: "女优名称",
description: /* @__PURE__ */ (0, I.jsx)("small", {
"data-copy-key": "performer-name-language-help",
children: "名称与别名只显示所选语言的写法;缺少对应时保留当前名称。偏好保存在数据库,其他设备读取同一份设置。"
}),
- children: /* @__PURE__ */ (0, I.jsx)(i1, {
+ children: /* @__PURE__ */ (0, I.jsx)(r1, {
id: "performerNameLanguageSetting",
label: "女优名称",
epoch: t,
@@ -71518,13 +71596,13 @@ function sje({ host: e, epoch: t }) {
}));
}
})
- }), n.isError ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ }), n.isError ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "error",
children: "未取得数据库中的名称偏好,请重新打开设置。"
}) : null] });
}
-function cje({ host: e, id: t, settingKey: n, label: r, title: i }) {
- let a = iX(), [o, s] = (0, F.useState)(null), c = (0, F.useRef)(null), l = e.store.value, u = (t) => {
+function gje({ host: e, id: t, settingKey: n, label: r, title: i }) {
+ let a = rX(), [o, s] = (0, F.useState)(null), c = (0, F.useRef)(null), l = e.store.value, u = (t) => {
s(t), Xc(c.current), a.mutate({ [n]: t }, {
onSuccess: (i) => {
l[n] = i[n] === !0, e.store.save(), e.changed("feedCompilations"), e.receipt(t ? `新作已收起${r}` : `新作已列出${r}`);
@@ -71548,10 +71626,10 @@ function cje({ host: e, id: t, settingKey: n, label: r, title: i }) {
})]
});
}
-function lje({ host: e, epoch: t }) {
+function _je({ host: e, epoch: t }) {
let n = e.store.value, r = () => e.store.save();
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(S1, {
+ /* @__PURE__ */ (0, I.jsx)(x1, {
id: "detailAutoplaySetting",
title: "打开详情自动播放",
checked: n.detailAutoplay,
@@ -71559,7 +71637,7 @@ function lje({ host: e, epoch: t }) {
n.detailAutoplay = e, r();
}
}),
- /* @__PURE__ */ (0, I.jsx)(S1, {
+ /* @__PURE__ */ (0, I.jsx)(x1, {
id: "miniplayerSetting",
title: "离开详情后小窗播放",
checked: n.miniplayer,
@@ -71567,11 +71645,11 @@ function lje({ host: e, epoch: t }) {
n.miniplayer = t, r(), e.changed("miniplayer");
}
}),
- /* @__PURE__ */ (0, I.jsx)(C1, {
+ /* @__PURE__ */ (0, I.jsx)(S1, {
title: "快进 / 快退步长",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "seekSecondsSetting",
- children: /* @__PURE__ */ (0, I.jsx)(s1, {
+ children: /* @__PURE__ */ (0, I.jsx)(o1, {
id: "seekSecondsSetting",
label: "快进 / 快退",
value: n.seekSeconds,
@@ -71583,25 +71661,25 @@ function lje({ host: e, epoch: t }) {
})
] });
}
-function uje({ host: e, epoch: t }) {
- let n = e.store.value, r = iX();
- return /* @__PURE__ */ (0, I.jsx)(C1, {
+function vje({ host: e, epoch: t }) {
+ let n = e.store.value, r = rX();
+ return /* @__PURE__ */ (0, I.jsx)(S1, {
title: "搜索记录数量",
children: /* @__PURE__ */ (0, I.jsx)("div", {
id: "searchHistoryLimitSetting",
- children: /* @__PURE__ */ (0, I.jsx)(s1, {
+ children: /* @__PURE__ */ (0, I.jsx)(o1, {
id: "searchHistoryLimitSetting",
label: "搜索记录",
value: n.searchHistoryLimit,
onApply: (t) => {
- n.searchHistoryLimit = jj(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });
+ n.searchHistoryLimit = Dj(t, 0, 50, 10), e.store.save(), e.changed("searchHistoryLimit"), r.mutate({ searchHistoryLimit: n.searchHistoryLimit }, { onError: () => {} });
}
}, t)
})
});
}
// src/react/sidebar/use-sidebar-reorder.ts
-function dje(e, t, n, r) {
+function yje(e, t, n, r) {
let [i, a] = (0, F.useState)(null), [o, s] = (0, F.useState)(""), c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = (0, F.useRef)(!1), d = (0, F.useRef)({
order: t,
commit: n,
@@ -71636,7 +71714,7 @@ function dje(e, t, n, r) {
let m = (t) => {
let n = c.current;
if (!n || (c.current = null, !n.started)) return;
- let r = d.current.picked, i = n.keys.filter((e) => e !== n.key), o = t ? r.slot : null, l = o === null || o === r.origin ? null : l1(d.current.order, n.key, i[Math.min(o, i.length - 1)], o === i.length);
+ let r = d.current.picked, i = n.keys.filter((e) => e !== n.key), o = t ? r.slot : null, l = o === null || o === r.origin ? null : c1(d.current.order, n.key, i[Math.min(o, i.length - 1)], o === i.length);
p(), e.current.style.minHeight = n.minHeight, document.body.style.cursor = n.cursor, n.node.style.removeProperty("--sidebar-drag-x"), n.node.style.removeProperty("--sidebar-drag-y"), u.current = !0, (0, Rt.flushSync)(() => {
a(null), l && d.current.commit(l), s(l ? `${n.node.ariaLabel},已移动到第 ${o + 1} 项` : t && o === r.origin ? "顺序未变" : "已取消排序");
}), d.current.settled();
@@ -71698,7 +71776,7 @@ function dje(e, t, n, r) {
e.preventDefault();
let a = f().map((e) => e.dataset.nav), o = a.indexOf(i), c = e.key === "ArrowDown", l = a[o + (c ? 1 : -1)];
if (l === void 0) return;
- let u = l1(t, i, l, c);
+ let u = c1(t, i, l, c);
u && (p(), (0, Rt.flushSync)(() => n(u)), s(`${e.currentTarget.ariaLabel},已移动到第 ${o + (c ? 2 : 0)} 项`), r());
}, v = i ? f().filter((e) => e.dataset.nav !== i.key) : [], y = !!i && i.slot !== null && i.slot !== i.origin;
return {
@@ -71737,68 +71815,68 @@ function dje(e, t, n, r) {
};
}
// src/react/sidebar/sidebar-island.tsx
-var w1 = "__home__", fje = {
+var C1 = "__home__", bje = {
creator: 26,
tag: 30,
tech: 16
-}, T1 = 180, E1 = null, D1 = {
+}, w1 = 180, T1 = null, E1 = {
props: {
content: null,
filters: {},
latest: null
},
epoch: 0
-}, O1 = /* @__PURE__ */ new Set();
-function pje(e) {
- return O1.add(e), () => {
- O1.delete(e);
+}, D1 = /* @__PURE__ */ new Set();
+function xje(e) {
+ return D1.add(e), () => {
+ D1.delete(e);
};
}
-function k1() {
- for (let e of [...O1]) e();
+function O1() {
+ for (let e of [...D1]) e();
}
-var mje = {
+var Sje = {
render(e) {
- D1 = {
- ...D1,
+ E1 = {
+ ...E1,
props: e
- }, (0, Rt.flushSync)(k1);
+ }, (0, Rt.flushSync)(O1);
},
navChanged() {
- D1 = {
- ...D1,
- epoch: D1.epoch + 1
- }, (0, Rt.flushSync)(k1);
+ E1 = {
+ ...E1,
+ epoch: E1.epoch + 1
+ }, (0, Rt.flushSync)(O1);
}
};
-function hje(e) {
- return E1 = e, D1 = {
- ...D1,
+function Cje(e) {
+ return T1 = e, E1 = {
+ ...E1,
props: {
content: null,
filters: {},
latest: null
}
- }, mje;
+ }, Sje;
}
-function gje() {
- let e = (0, F.useSyncExternalStore)(pje, () => D1);
- return E1 ? /* @__PURE__ */ (0, I.jsx)(_je, {
- host: E1,
+function wje() {
+ let e = (0, F.useSyncExternalStore)(xje, () => E1);
+ return T1 ? /* @__PURE__ */ (0, I.jsx)(Tje, {
+ host: T1,
props: e.props,
epoch: e.epoch
}) : null;
}
-function _je({ host: e, props: t, epoch: n }) {
+function Tje({ host: e, props: t, epoch: n }) {
let r = (0, F.useSyncExternalStore)(e.store.subscribe, e.store.version);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsx)("div", { "data-sidebar-head": "" }),
- /* @__PURE__ */ (0, I.jsx)(vje, {
+ /* @__PURE__ */ (0, I.jsx)(Eje, {
host: e,
epoch: n,
version: r
}),
- t.content ? /* @__PURE__ */ (0, I.jsx)(bje, {
+ t.content ? /* @__PURE__ */ (0, I.jsx)(Oje, {
host: e,
content: t.content,
filters: t.filters,
@@ -71806,8 +71884,8 @@ function _je({ host: e, props: t, epoch: n }) {
}) : null
] });
}
-function vje({ host: e, epoch: t, version: n }) {
- let r = c1(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, F.useRef)(null), l = (0, F.useRef)(null), u = yL(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || w1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;
+function Eje({ host: e, epoch: t, version: n }) {
+ let r = s1(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, F.useRef)(null), l = (0, F.useRef)(null), u = vL(l, c, "[data-nav][aria-pressed=\"true\"]", `${t}:${n}:${o.map(([e], t) => s[t] ? e || C1 : "").join(",")}`, { axis: "y" }), { sync: d } = u;
(0, F.useEffect)(() => {
let t = e.scroll, n = t.parentElement, r = t.querySelector(":scope > [data-sidebar-head]"), i = new ResizeObserver(() => d());
[
@@ -71826,7 +71904,7 @@ function vje({ host: e, epoch: t, version: n }) {
i.disconnect(), cancelAnimationFrame(a), document.removeEventListener("board:sidebar", o);
};
}, [e, d]);
- let f = dje(c, i, r, () => requestAnimationFrame(d)), p = e.scroll.parentElement;
+ let f = yje(c, i, r, () => requestAnimationFrame(d)), p = e.scroll.parentElement;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-sidebar-nav": "",
ref: c,
@@ -71863,7 +71941,7 @@ function vje({ host: e, epoch: t, version: n }) {
decoding: "async",
draggable: !1
}) : /* @__PURE__ */ (0, I.jsx)(WF, { name: r }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]
- }, t || w1);
+ }, t || C1);
}),
f.hint ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-sidebar-drop-line": "",
@@ -71884,8 +71962,8 @@ function vje({ host: e, epoch: t, version: n }) {
ref: l
}), p) : null] });
}
-var A1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
-function yje(e) {
+var k1 = (e, t) => String(e[t] ?? "").split(",").filter(Boolean);
+function Dje(e) {
if (!e) return null;
let t = /* @__PURE__ */ new Map(), n = [
["loc", e.locations],
@@ -71899,7 +71977,7 @@ function yje(e) {
for (let [e, r] of n) for (let n of r) t.set(`${e}\n${n.value}`, n.n ?? 0);
return t;
}
-function bje({ host: e, content: t, filters: n, latest: r }) {
+function Oje({ 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, F.useLayoutEffect)(() => {
t.kind === "catalog" && ec(e.scroll, "drawer");
@@ -71908,8 +71986,8 @@ function bje({ host: e, content: t, filters: n, latest: r }) {
i,
t.kind
]);
- let a = t.kind === "catalog" ? xje(e, t.facets, n, r, i) : Sje(e, t, n), o = 0;
- return a.map((e) => e && /* @__PURE__ */ (0, I.jsx)(Cje, {
+ let a = t.kind === "catalog" ? kje(e, t.facets, n, r, i) : Aje(e, t, n), o = 0;
+ return a.map((e) => e && /* @__PURE__ */ (0, I.jsx)(jje, {
title: e.title,
kind: e.kind,
active: e.active,
@@ -71918,11 +71996,11 @@ function bje({ host: e, content: t, filters: n, latest: r }) {
children: e.body
}, e.title));
}
-function xje(e, t, n, r, i) {
- let a = yje(r), o = (t, r, i) => {
+function kje(e, t, n, r, i) {
+ let a = Dje(r), o = (t, r, i) => {
if (!t.length) return null;
- let o = A1(n, r);
- return /* @__PURE__ */ (0, I.jsx)(N1, {
+ let o = k1(n, r);
+ return /* @__PURE__ */ (0, I.jsx)(M1, {
rows: t,
filterKey: r,
multi: i,
@@ -71932,7 +72010,7 @@ function xje(e, t, n, r, i) {
});
}, s = (t, s, c, l, u, d) => {
if (!c.length) return null;
- let f = A1(n, l), p = c.some((e) => f.includes(e.value));
+ let f = k1(n, l), p = c.some((e) => f.includes(e.value));
if (!d) return {
title: t,
kind: s,
@@ -71944,12 +72022,12 @@ function xje(e, t, n, r, i) {
title: t,
kind: s,
active: p,
- body: /* @__PURE__ */ (0, I.jsx)(Tje, {
+ body: /* @__PURE__ */ (0, I.jsx)(Nje, {
epoch: i,
title: t,
rows: c,
latest: m ?? null,
- limit: fje[d],
+ limit: bje[d],
filterKey: l,
selected: f,
counts: a,
@@ -71964,7 +72042,7 @@ function xje(e, t, n, r, i) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, I.jsx)(I1, {
+ body: /* @__PURE__ */ (0, I.jsx)(F1, {
host: e,
filters: n
})
@@ -71979,7 +72057,7 @@ function xje(e, t, n, r, i) {
title: "关注标签",
kind: "online",
active: !1,
- body: /* @__PURE__ */ (0, I.jsx)(P1, {
+ body: /* @__PURE__ */ (0, I.jsx)(N1, {
rows: t.followTags,
host: e,
selected: null,
@@ -71988,14 +72066,14 @@ function xje(e, t, n, r, i) {
} : null
];
}
-function Sje(e, t, n) {
- let r = t.providers || [], i = A1(n, "provider"), a = new Set(t.selected);
+function Aje(e, t, n) {
+ let r = t.providers || [], i = k1(n, "provider"), a = new Set(t.selected);
return [
r.length ? {
title: "来源",
kind: "src",
active: r.some((e) => i.includes(e.value)),
- body: /* @__PURE__ */ (0, I.jsx)(N1, {
+ body: /* @__PURE__ */ (0, I.jsx)(M1, {
rows: r,
filterKey: "provider",
multi: !1,
@@ -72009,7 +72087,7 @@ function Sje(e, t, n) {
title: "时长",
kind: "meta",
active: !1,
- body: /* @__PURE__ */ (0, I.jsx)(I1, {
+ body: /* @__PURE__ */ (0, I.jsx)(F1, {
host: e,
filters: n,
commit: e.setFollowDuration
@@ -72019,7 +72097,7 @@ function Sje(e, t, n) {
title: "内容标签",
kind: "online",
active: t.tags.some((e) => a.has(e.value)),
- body: /* @__PURE__ */ (0, I.jsx)(P1, {
+ body: /* @__PURE__ */ (0, I.jsx)(N1, {
rows: t.tags,
host: e,
selected: a,
@@ -72028,19 +72106,19 @@ function Sje(e, t, n) {
} : null
];
}
-function j1(e, t) {
+function A1(e, t) {
let n = null;
try {
n = sessionStorage.getItem(`peach.sidebar.group.${e}`);
} catch {}
return n === null ? t : n === "open";
}
-function Cje({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
- let o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(() => j1(e, n)), u = (0, F.useRef)(!1);
+function jje({ title: e, kind: t, active: n, index: r, epoch: i, children: a }) {
+ let o = (0, F.useRef)(null), s = (0, F.useRef)(null), [c, l] = (0, F.useState)(() => A1(e, n)), u = (0, F.useRef)(!1);
(0, F.useLayoutEffect)(() => {
let t = o.current, r = s.current;
if (!t || !r) return;
- let i = u.current ? j1(e, n) : c;
+ let i = u.current ? A1(e, n) : c;
u.current = !0, t.open !== i && (t.open = i, r.inert = !i, r.style.height = "", r.classList.contains("ui-fcollapse") && r.classList.toggle("ui-fcollapse-settled", i), l(i));
}, [i]);
let d = (t) => {
@@ -72072,7 +72150,7 @@ function Cje({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
children: /* @__PURE__ */ (0, I.jsx)("div", {
"data-sidebar-body": "",
id: `sidebar-group-${encodeURIComponent(e)}`,
- children: /* @__PURE__ */ (0, I.jsx)(M1.Provider, {
+ children: /* @__PURE__ */ (0, I.jsx)(j1.Provider, {
value: d,
children: a
})
@@ -72081,15 +72159,15 @@ function Cje({ title: e, kind: t, active: n, index: r, epoch: i, children: a })
})]
});
}
-var M1 = (0, F.createContext)(() => {});
-function wje({ dot: e }) {
+var j1 = (0, F.createContext)(() => {});
+function Mje({ dot: e }) {
return e ? e.kind === "glyph" ? /* @__PURE__ */ (0, I.jsx)(WF, { name: e.name }) : e.kind === "image" ? /* @__PURE__ */ (0, I.jsx)("img", {
"data-sidebar-source-icon": "",
src: e.src,
alt: ""
}) : /* @__PURE__ */ (0, I.jsx)("i", { "data-sidebar-cost": e.cost }) : null;
}
-function N1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {
+function M1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a, onToggle: o = a.toggleChip }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-sidebar-chips": "",
children: e.map((e) => {
@@ -72106,7 +72184,7 @@ function N1({ 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, I.jsx)(wje, { dot: e.dot }),
+ /* @__PURE__ */ (0, I.jsx)(Mje, { dot: e.dot }),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-sidebar-chip-label": "",
children: e.label
@@ -72121,8 +72199,8 @@ function N1({ rows: e, filterKey: t, multi: n, selected: r, counts: i, host: a,
})
});
}
-function Tje({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
- let u = (0, F.useContext)(M1), [d, f] = (0, F.useState)(null), [p, m] = (0, F.useState)(e);
+function Nje({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, selected: o, counts: s, host: c, expandable: l }) {
+ let u = (0, F.useContext)(j1), [d, f] = (0, F.useState)(null), [p, m] = (0, F.useState)(e);
p !== e && (m(e), f(null));
let h = (0, F.useRef)(null), g = (0, F.useRef)(null), _ = !!d?.all, v = d ? d.rows : n;
return (0, F.useLayoutEffect)(() => {
@@ -72137,7 +72215,7 @@ function Tje({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
e.body.classList.add("ui-fcollapse"), Wo(e.body, e.before, () => !!t?.open && !e.body.inert);
}
t(), requestAnimationFrame(t);
- }, [d, _]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(N1, {
+ }, [d, _]), /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(M1, {
rows: _ ? v : v.slice(0, i),
filterKey: a,
multi: !1,
@@ -72165,7 +72243,7 @@ function Tje({ epoch: e, title: t, rows: n, latest: r, limit: i, filterKey: a, s
children: /* @__PURE__ */ (0, I.jsx)(WF, { name: "chevron-down" })
}) : null] });
}
-function P1({ rows: e, host: t, selected: n, badges: r }) {
+function N1({ rows: e, host: t, selected: n, badges: r }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-sidebar-chips": "",
children: e.map((e) => /* @__PURE__ */ (0, I.jsxs)("button", {
@@ -72187,10 +72265,10 @@ function P1({ rows: e, host: t, selected: n, badges: r }) {
}, e.value))
});
}
-var F1 = (e, t) => e ? Math.min(T1, Number(e) / 60) : t;
-function I1({ host: e, filters: t, commit: n = e.setDuration }) {
- let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, F.useState)(r), [o, s] = (0, F.useState)(() => [F1(t.dur_min, 0), F1(t.dur_max, T1)]), [c, l] = (0, F.useState)("max");
- i !== r && (a(r), s([F1(t.dur_min, 0), F1(t.dur_max, T1)]));
+var P1 = (e, t) => e ? Math.min(w1, Number(e) / 60) : t;
+function F1({ host: e, filters: t, commit: n = e.setDuration }) {
+ let r = `${t.dur_min ?? ""}:${t.dur_max ?? ""}`, [i, a] = (0, F.useState)(r), [o, s] = (0, F.useState)(() => [P1(t.dur_min, 0), P1(t.dur_max, w1)]), [c, l] = (0, F.useState)("max");
+ i !== r && (a(r), s([P1(t.dur_min, 0), P1(t.dur_max, w1)]));
let [u, d] = o, f = (0, F.useRef)(null), p = (0, F.useRef)(null), m = (0, F.useRef)(null), h = (0, F.useRef)(o);
h.current = o;
let g = (e, t) => {
@@ -72203,11 +72281,11 @@ function I1({ host: e, filters: t, commit: n = e.setDuration }) {
}, [n]), (0, F.useLayoutEffect)(() => {
let e = f.current;
if (!e) return;
- e.style.setProperty("--lo", `${u / T1 * 100}%`), e.style.setProperty("--hi", `${d / T1 * 100}%`);
+ e.style.setProperty("--lo", `${u / w1 * 100}%`), e.style.setProperty("--hi", `${d / w1 * 100}%`);
let t = e.getBoundingClientRect();
e.querySelectorAll("[data-sidebar-range-tip]").forEach((e) => {
let n = e.dataset.rangeEnd === "max" ? d : u;
- e.style.left = `${n / T1 * 100}%`, e.style.setProperty("--range-tip-shift", "0px");
+ e.style.left = `${n / w1 * 100}%`, e.style.setProperty("--range-tip-shift", "0px");
let r = e.getBoundingClientRect(), i = r.right > t.right ? t.right - r.right : r.left < t.left ? t.left - r.left : 0;
i && e.style.setProperty("--range-tip-shift", `${Math.round(i)}px`);
});
@@ -72217,7 +72295,7 @@ function I1({ host: e, filters: t, commit: n = e.setDuration }) {
"data-range-end": e,
"data-range-active": c === e ? "" : void 0,
"aria-hidden": "true",
- children: e === "max" && t >= T1 ? "不限" : `${t} 分钟`
+ children: e === "max" && t >= w1 ? "不限" : `${t} 分钟`
});
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-sidebar-duration": "",
@@ -72232,7 +72310,7 @@ function I1({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMin",
type: "range",
min: "0",
- max: T1,
+ max: w1,
step: "5",
value: u,
"aria-label": "最短时长(分钟)",
@@ -72243,7 +72321,7 @@ function I1({ host: e, filters: t, commit: n = e.setDuration }) {
id: "durMax",
type: "range",
min: "0",
- max: T1,
+ max: w1,
step: "5",
value: d,
"aria-label": "最长时长(分钟)",
@@ -72257,7 +72335,7 @@ function I1({ host: e, filters: t, commit: n = e.setDuration }) {
});
}
// src/diagnostics-skeleton.ts
-function L1() {
+function I1() {
let e = (e) => Os({
label: e,
variant: "secondary",
@@ -72271,11 +72349,11 @@ function L1() {
</div></div>`;
}
// src/react/settings/library-policy-copy.ts
-var R1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", Eje = [
+var L1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式只决定要不要联网补全。", Pje = [
"自动补全",
"仅使用本地资料",
"自定义"
-], Dje = [
+], Fje = [
[
"读本地 NFO 和图片",
"✓",
@@ -72306,7 +72384,7 @@ var R1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式
"—",
"可选"
]
-], Oje = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", z1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", B1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", V1 = "只填域名,留空用默认地址", kje = [
+], Ije = "本地只有竖版海报时:自动补全会联网找完整封套(FC2 商品图除外),仅使用本地资料直接用竖版。", R1 = "一个媒体库可以有多个文件夹,作品合在一起显示,共用名称、颜色和处理方式;要分开显示或分开设置时再添加媒体库。", z1 = "JavDB 或 MISSAV 打不开时,填一个能打开的镜像域名。", B1 = "只填域名,留空用默认地址", Lje = [
{
provider: "coomer",
label: "Coomer",
@@ -72396,8 +72474,8 @@ var R1 = "每个媒体库都先读本地 NFO 和同目录图片;处理方式
label: "SubscribeStar",
requirement: "none"
}
-], H1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", Aje = "peach.configuration.shape.v1";
-function U1() {
+], V1 = "API 代理用于列目录和查询文件信息,数据代理用于读取视频及配套文件。保存后,同一网盘账号在 CloudDrive 中的其他读取也会使用此设置。", Rje = "peach.configuration.shape.v1";
+function H1() {
try {
let e = JSON.parse(localStorage.getItem("peach.configuration.shape.v1") || "{}");
return e && typeof e == "object" ? e : {};
@@ -72405,31 +72483,31 @@ function U1() {
return {};
}
}
-function jje(e, t) {
+function zje(e, t) {
try {
- let n = U1();
+ let n = H1();
if (JSON.stringify(n[e]) === JSON.stringify(t)) return;
- localStorage.setItem(Aje, JSON.stringify({
+ localStorage.setItem(Rje, JSON.stringify({
...n,
[e]: t
}));
} catch {}
}
-var W1 = (e) => U1()[e], G1 = (e) => e === !0, K1 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, q1 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], J1 = "disabled data-skeleton-action", Y1 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, X1 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, Z1 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, Q1 = (e = "3em") => Z1(e, "24px"), $1 = () => Z1("var(--icon-inline)", "var(--icon-inline)"), e0 = (e, t = "primary", n = "medium") => Os({
+var U1 = (e) => H1()[e], W1 = (e) => e === !0, G1 = (e, t) => Number.isInteger(e) && e > 0 ? Math.min(e, t) : 0, K1 = (e, t, n) => Array.isArray(e) ? e.slice(0, t).map(n) : [], q1 = "disabled data-skeleton-action", J1 = (e = "60%") => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, Y1 = (e = "100%") => `<span class="skeleton ui-configuration-skeleton-input" style="width:${e}"></span>`, X1 = (e, t) => `<span class="skeleton shrink-0" style="width:${e};height:${t}"></span>`, Z1 = (e = "3em") => X1(e, "24px"), Q1 = () => X1("var(--icon-inline)", "var(--icon-inline)"), $1 = (e, t = "primary", n = "medium") => Os({
label: e,
variant: t,
size: n,
- attrs: J1
-}), t0 = (e, t = "") => `<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">${t ? `<div class="mr-auto min-w-0 text-body-2-regular text-text-secondary">${t}</div>` : ""}${e}</div>`, n0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, Mje = (e, t, n) => {
- let r = `<p class="w-full px-3 text-body-2-medium text-text-secondary">${n ? `<span class="inline-flex items-center gap-1.5">${$1()}${e}</span>` : e}</p>`;
+ attrs: q1
+}), e0 = (e, t = "") => `<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">${t ? `<div class="mr-auto min-w-0 text-body-2-regular text-text-secondary">${t}</div>` : ""}${e}</div>`, t0 = (e, t = !1) => `<div class="flex flex-col gap-4 ${t ? "border-t border-separator-border " : ""}py-4 pr-3">${e}</div>`, Bje = (e, t, n) => {
+ let r = `<p class="w-full px-3 text-body-2-medium text-text-secondary">${n ? `<span class="inline-flex items-center gap-1.5">${Q1()}${e}</span>` : e}</p>`;
return t ? `<div class="flex w-full flex-wrap items-center justify-between gap-2"><div class="min-w-40 flex-1">${r}</div><div class="flex min-w-0 max-w-full">${t}</div></div>` : r;
-}, r0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${Mje(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? t0(n, i) : ""}</div></section>`, i0 = (e, t, n, r = "") => {
+}, n0 = (e, t, n = "", { aside: r = "", status: i = "", mark: a = !1 } = {}) => `<section aria-label="${e}" class="flex w-full flex-col gap-2 wrap-anywhere">${Bje(e, r, a)}<div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${t}${n ? e0(n, i) : ""}</div></section>`, r0 = (e, t, n, r = "") => {
let i = `<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>`;
return `<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">${r ? `<div class="flex min-w-0 items-center gap-3">${r}${i}</div>` : i}${n}</div>`;
-}, a0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => i0(e, t, `<span class="skeleton ${n}"></span>`), o0 = (e, t = "", n = "4em") => i0(e, t, Y1(n)), s0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, c0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, l0 = (e, t = "") => `<div class="flex w-full flex-col items-start gap-1"><span class="flex items-center gap-0.5 text-body-medium text-text-primary">${e}</span>${X1()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, u0 = (e) => `<div class="flex flex-col gap-1">${c0(e)}${As(Y1("8em"))}</div>`, d0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${Z1("16px", "16px")}${e}</span>`, f0 = (e) => `<span class="inline-flex items-center gap-1">${$1()}${e}</span>`, p0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${Ts("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, Nje = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), m0 = (e) => `<dl class="ui-settings-facts flex flex-col">${e.map((e) => `<div class="flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0"><dt class="flex max-w-1/2 min-w-0 shrink-0 items-center gap-2 text-body-regular text-text-secondary">${e}</dt><dd class="flex min-w-0 flex-wrap items-center justify-end gap-2 text-body-regular text-text-primary">${Nje.has(e) ? Y1("100%") + Y1("80%") + Y1("6em") : Y1("6em")}</dd></div>`).join("")}</dl>`, Pje = kje;
-function Fje(e = W1("credentials")) {
- let t = new Set(q1(e?.done, 64, String));
- return Pje.map((e) => {
+}, i0 = (e, t = "", n = "ui-configuration-skeleton-toggle") => r0(e, t, `<span class="skeleton ${n}"></span>`), a0 = (e, t = "", n = "4em") => r0(e, t, J1(n)), o0 = (e) => `<p class="text-body-2-regular text-text-secondary">${e}</p>`, s0 = (e) => `<p class="text-body-medium text-text-primary">${e}</p>`, c0 = (e, t = "") => `<div class="flex w-full flex-col items-start gap-1"><span class="flex items-center gap-0.5 text-body-medium text-text-primary">${e}</span>${Y1()}${t ? `<span class="pt-px text-caption-1-medium text-text-secondary">${t}</span>` : ""}</div>`, l0 = (e) => `<div class="flex flex-col gap-1">${s0(e)}${As(J1("8em"))}</div>`, u0 = (e) => `<span class="flex items-center gap-2 text-body-regular text-text-primary">${X1("16px", "16px")}${e}</span>`, d0 = (e) => `<span class="inline-flex items-center gap-1">${Q1()}${e}</span>`, f0 = (e, t = !1) => `<span class="flex w-fit items-center gap-1 text-body-2-medium text-text-secondary">${Ts("chevron-right", `size-(--icon-inline) shrink-0${t ? " rotate-90" : ""}`)}${e}</span>`, Vje = /* @__PURE__ */ new Set(["FFmpeg", "untrunc"]), p0 = (e) => `<dl class="ui-settings-facts flex flex-col">${e.map((e) => `<div class="flex min-h-11 items-center justify-between gap-4 border-b border-separator-border py-2.5 pr-3 last:border-b-0"><dt class="flex max-w-1/2 min-w-0 shrink-0 items-center gap-2 text-body-regular text-text-secondary">${e}</dt><dd class="flex min-w-0 flex-wrap items-center justify-end gap-2 text-body-regular text-text-primary">${Vje.has(e) ? J1("100%") + J1("80%") + J1("6em") : J1("6em")}</dd></div>`).join("")}</dl>`, Hje = Lje;
+function Uje(e = U1("credentials")) {
+ let t = new Set(K1(e?.done, 64, String));
+ return Hje.map((e) => {
let n = t.has(e.provider);
return {
...e,
@@ -72438,141 +72516,141 @@ function Fje(e = W1("credentials")) {
};
});
}
-function Ije(e) {
- let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = Q1() + (n && !e.done ? t.map(() => Q1("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${Z1("14px", "14px")}<b class="min-w-0 text-body-medium wrap-anywhere text-text-primary">${z(e.label)}</b>${r}</span>`;
- if (!n) return `<div class="flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}${e.requirement === "blocked" && e.why ? s0(z(e.why)) : ""}</div>`;
- let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + s0(`${z(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? s0(z(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => l0(z(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${e0("保存配置")}</div>${p0("凭据文件")}</div></div>` : "";
- return `<div class="flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}<div>${p0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;
+function Wje(e) {
+ let t = e.fields ?? [], n = e.requirement !== "none" && e.requirement !== "blocked", r = Z1() + (n && !e.done ? t.map(() => Z1("4.5em")).join("") : ""), i = `<span class="flex min-w-0 flex-wrap items-center gap-2">${X1("14px", "14px")}<b class="min-w-0 text-body-medium wrap-anywhere text-text-primary">${z(e.label)}</b>${r}</span>`;
+ if (!n) return `<div class="flex flex-wrap items-center gap-3 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}${e.requirement === "blocked" && e.why ? o0(z(e.why)) : ""}</div>`;
+ let a = e.open ? "<div class=\"flex flex-col gap-2 pt-3\"><div class=\"flex flex-col gap-3\">" + o0(`${z(e.why ?? "")}${e.where ? " 获取凭据" : ""}`) + (e.howto ? o0(z(e.howto)) : "") + `<div class="flex w-full flex-col gap-3">${t.map((e) => c0(z(e))).join("")}</div><div class="flex flex-wrap items-center gap-2">${$1("保存配置")}</div>${f0("凭据文件")}</div></div>` : "";
+ return `<div class="flex flex-col gap-2 border-b border-separator-border px-6 py-5 last:border-b-0 max-sm:px-4">${i}<div>${f0(e.done ? "修改凭据" : "填写凭据", e.open)}${a}</div></div>`;
}
-function h0() {
- let e = Fje(), t = e.filter((e) => e.requirement === "required" && !e.done).length;
- return r0("来源凭据", n0(`<div class="flex flex-col gap-4">${[
+function m0() {
+ let e = Uje(), t = e.filter((e) => e.requirement === "required" && !e.done).length;
+ return n0("来源凭据", t0(`<div class="flex flex-col gap-4">${[
["可配置凭据", e.filter((e) => e.requirement !== "none" && e.requirement !== "blocked")],
["不需要凭据", e.filter((e) => e.requirement === "none")],
["暂不支持", e.filter((e) => e.requirement === "blocked")]
- ].filter(([, e]) => e.length).map(([e, t]) => `<div class="flex flex-col gap-2"><h4 class="text-body-medium text-text-secondary">${e}</h4><div class="min-w-0 border border-separator-border bg-background-primary-default rounded-surface flex flex-col overflow-hidden">${t.map(Ije).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? Y1("5em") : "" });
+ ].filter(([, e]) => e.length).map(([e, t]) => `<div class="flex flex-col gap-2"><h4 class="text-body-medium text-text-secondary">${e}</h4><div class="min-w-0 border border-separator-border bg-background-primary-default rounded-surface flex flex-col overflow-hidden">${t.map(Wje).join("")}</div></div>`).join("")}</div>`), "", { aside: t ? J1("5em") : "" });
}
-function g0() {
- let e = q1(W1("indexers")?.open, 20, G1).map((e) => `<div class="min-w-0 border-t border-separator-border pt-2"><span class="flex w-full min-w-0 items-center gap-1 text-body-2-medium">${Ts("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${Y1("6em")}${Y1("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${l0("名称")}${l0("Torznab 地址")}${l0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${d0("启用")}${e0("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");
- return r0("资源搜索", n0(`<div class="flex min-w-0 flex-col gap-4">${p0("索引器连接帮助")}${e}</div>`), e0("添加索引器", "secondary") + e0("保存配置"));
+function h0() {
+ let e = K1(U1("indexers")?.open, 20, W1).map((e) => `<div class="min-w-0 border-t border-separator-border pt-2"><span class="flex w-full min-w-0 items-center gap-1 text-body-2-medium">${Ts("chevron-right", `size-(--icon-inline) shrink-0 text-text-secondary${e ? " rotate-90" : ""}`)}${J1("6em")}${J1("12em")}</span>` + (e ? `<div class="flex flex-col gap-2 pt-3"><div class="flex min-w-0 flex-col gap-4">${c0("名称")}${c0("Torznab 地址")}${c0("API key")}<div class="flex flex-wrap items-center gap-x-6 gap-y-2">${u0("启用")}${$1("移除", "secondary", "small")}</div></div></div>` : "") + "</div>").join("");
+ return n0("资源搜索", t0(`<div class="flex min-w-0 flex-col gap-4">${f0("索引器连接帮助")}${e}</div>`), $1("添加索引器", "secondary") + $1("保存配置"));
}
-function _0() {
- let e = W1("javBrowser"), t = G1(e?.enabled);
- return r0("浏览器添加 JAV", n0(`<div class="flex min-w-0 flex-col gap-4">${`<div class="min-w-0 bg-background-primary-default rounded-2xl shadow-card p-5 border border-border-button-default flex flex-col gap-3"><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-medium text-text-primary">Peach 用户脚本</span>${Y1("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${Q1()}</div><p class="text-caption-1-regular text-text-secondary">${Y1("70%")}</p><div class="flex flex-wrap items-center gap-2">${e0("重新检测", "secondary")}</div></div>`}${u0("浏览器添加的下载渠道")}${G1(e?.ready) ? "" : s0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${l0("Peach 地址")}</div>`), (t ? e0("关闭浏览器添加", "secondary") : "") + e0(t ? "更新渠道与令牌" : "启用并生成令牌"));
+function g0() {
+ let e = U1("javBrowser"), t = W1(e?.enabled);
+ return n0("浏览器添加 JAV", t0(`<div class="flex min-w-0 flex-col gap-4">${`<div class="min-w-0 bg-background-primary-default rounded-2xl shadow-card p-5 border border-border-button-default flex flex-col gap-3"><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-medium text-text-primary">Peach 用户脚本</span>${J1("4em")}</div><div class="flex flex-wrap items-center justify-between gap-3"><span class="text-body-regular text-text-secondary">浏览器添加</span>${Z1()}</div><p class="text-caption-1-regular text-text-secondary">${J1("70%")}</p><div class="flex flex-wrap items-center gap-2">${$1("重新检测", "secondary")}</div></div>`}${l0("浏览器添加的下载渠道")}${W1(e?.ready) ? "" : o0("请在媒体库中添加支持云下载的网盘,并配置账号与目标目录。")}${c0("Peach 地址")}</div>`), (t ? $1("关闭浏览器添加", "secondary") : "") + $1(t ? "更新渠道与令牌" : "启用并生成令牌"));
}
-var v0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${c0(e)}${As(Y1("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${l0(`${e}地址`)}</div><div class="w-full sm:w-28">${l0(`${e}端口`)}</div></div>${p0("代理认证")}` : "") + "</div>";
-function y0() {
- let e = W1("cloudProxy"), t = q1(e?.accounts, 12, (e) => Array.isArray(e) ? [G1(e[0]), G1(e[1])] : [!1, !1]), n = K1(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${c0(f0(Y1("6em")))}${s0(Y1("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${c0(f0(Y1("8em")))}${s0(Y1("50%"))}${v0("数据代理", e)}${v0("API 代理", t)}<div class="flex justify-end">${e0("保存配置")}</div></div>`).join("") : s0(Y1("60%"));
- return r0("CloudDrive 代理", n0(`${s0(H1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), e0("重新读取", "secondary"));
+var _0 = (e, t) => `<div class="flex min-w-0 flex-col gap-3">${s0(e)}${As(J1("6em"))}` + (t ? `<div class="flex flex-wrap gap-3"><div class="min-w-40 flex-1">${c0(`${e}地址`)}</div><div class="w-full sm:w-28">${c0(`${e}端口`)}</div></div>${f0("代理认证")}` : "") + "</div>";
+function v0() {
+ let e = U1("cloudProxy"), t = K1(e?.accounts, 12, (e) => Array.isArray(e) ? [W1(e[0]), W1(e[1])] : [!1, !1]), n = G1(e?.unlinked, 12), r = t.length || n ? Array.from({ length: n }, () => `<div class="flex min-w-0 flex-col gap-1">${s0(d0(J1("6em")))}${o0(J1("9em"))}</div>`).join("") + t.map(([e, t]) => `<div class="flex min-w-0 flex-col gap-4 border-t border-separator-border pt-4">${s0(d0(J1("8em")))}${o0(J1("50%"))}${_0("数据代理", e)}${_0("API 代理", t)}<div class="flex justify-end">${$1("保存配置")}</div></div>`).join("") : o0(J1("60%"));
+ return n0("CloudDrive 代理", t0(`${o0(V1)}<div class="flex min-w-0 flex-col gap-4">${r}</div>`), $1("重新读取", "secondary"));
}
-var b0 = (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>`, Lje = (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">${X1()}</span>${Os({
+var y0 = (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>`, Gje = (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">${Y1()}</span>${Os({
glyph: "folder-search",
variant: "secondary",
- attrs: J1
+ attrs: q1
})}</div>
- <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${b0("来源", As(Y1("6em")), "w-full @lg:w-60")}${b0("读取策略", As(Y1("4em")), "w-full @lg:w-32")}${e > 1 ? b0("移到媒体库", As(Y1("4em")), "w-full @lg:w-48") : ""}</div></div>
- </div>`, Rje = (e, t) => `<div data-library-block class="min-w-0 bg-background-primary-default rounded-2xl shadow-card flex flex-col p-2">
+ <div class="flex flex-wrap items-end gap-2"><div class="flex w-full flex-wrap items-start gap-2">${y0("来源", As(J1("6em")), "w-full @lg:w-60")}${y0("读取策略", As(J1("4em")), "w-full @lg:w-32")}${e > 1 ? y0("移到媒体库", As(J1("4em")), "w-full @lg:w-48") : ""}</div></div>
+ </div>`, Kje = (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>${Os({
label: "自动识别",
variant: "secondary",
- attrs: J1
-})}${X1()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${As(Y1("4em"), { prefix: "处理方式" })}</div>
- <div data-library-folders>${Lje(t).repeat(e)}<div class="flex">${Os({
+ attrs: q1
+})}${Y1()}<span class="skeleton ui-configuration-skeleton-input" style="width:136px"></span>${As(J1("4em"), { prefix: "处理方式" })}</div>
+ <div data-library-folders>${Gje(t).repeat(e)}<div class="flex">${Os({
label: "添加文件夹",
variant: "secondary",
- attrs: J1
-})}</div></div></div>`, zje = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${R1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, Bje = "<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>";
-function Vje(e = W1("media")) {
- let t = q1(e?.folders, 12, (e) => K1(e, 50)).filter(Boolean);
+ attrs: q1
+})}</div></div></div>`, qje = `<div data-policy-legend class="flex flex-col gap-1"><p class="text-body-2-regular text-text-secondary">${L1}</p><span class="flex items-center gap-1 text-body-2-medium text-text-secondary">三种处理方式对比</span></div>`, Jje = "<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>";
+function Yje(e = U1("media")) {
+ let t = K1(e?.folders, 12, (e) => G1(e, 50)).filter(Boolean);
return t.length ? {
folders: t,
- cloud: G1(e?.cloud)
+ cloud: W1(e?.cloud)
} : {
folders: [1],
cloud: !1
};
}
-function Hje() {
- let e = W1("discovery"), t = G1(e?.enabled), n = t && G1(e?.cloud), r = n && G1(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${X1()}</span>${As(Y1("4em"), { prefix: "对应目录" })}${Os({
+function Xje() {
+ let e = U1("discovery"), t = W1(e?.enabled), n = t && W1(e?.cloud), r = n && W1(e?.webhook), i = `<div class="flex items-start gap-2"><span class="min-w-0 flex-1">${Y1()}</span>${As(J1("4em"), { prefix: "对应目录" })}${Os({
glyph: "trash",
variant: "secondary",
- attrs: J1
+ attrs: q1
})}</div>`;
- return r0("自动发现新文件", n0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${Q1()}</div>`) + a0("发现新文件后自动入库", t ? Y1("10em") : "") + a0("监视本机文件夹", t && G1(e?.watchLocal) ? Y1("12em") : "") + a0("接收 CloudDrive2 通知", "网盘目录有变化时由 CloudDrive2 推送过来。") + (n ? i0("Webhook 配置", Y1("20em"), "") : "") + (r ? n0(p0("查看配置"), !0) : "") + (n ? n0(`<div class="flex flex-col gap-3">${c0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(K1(e?.prefixes, 20))}</div><div>${e0("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? e0("更换密钥", "secondary") : "") + e0("保存配置"));
-}
-var Uje = () => {
- let e = Vje();
- return r0("媒体库与目录", n0(`${zje}<div class="flex flex-col gap-4">${e.folders.map((t) => Rje(t, e.folders.length)).join("")}</div>
- <div class="self-start">${e0("添加媒体库", "secondary")}</div>
- <p class="text-body-2-regular text-text-secondary">${z1}</p>
- ${e.cloud ? Bje : ""}<span class="text-body-medium text-text-primary">${Y1("15em")}</span>`), e0("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? y0() : "") + Hje() + r0("番号识别规则", n0(`${Y1("90%")}${Y1("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), e0("保存配置")) + r0("视频预览", a0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + a0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + a0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));
-}, Wje = () => `<div>${e0("采集来源与登录状态", "secondary")}</div>` + h0() + r0("关注采集", i0("自动检查更新", "", "<span class=\"flex items-center gap-2\"><span class=\"skeleton ui-configuration-skeleton-toggle\"></span><span class=\"skeleton ui-configuration-skeleton-input\" style=\"width:96px\"></span></span>") + o0("订阅源拉取") + a0("首次采集范围", "新关注的来源第一次回看多久以前的内容。", "ui-configuration-skeleton-select") + o0("头像刷新", "重新获取关注创作者的头像。") + o0("favicon 刷新", "重新获取来源站点的图标。")) + g0() + r0("作品资料站点", n0(`<p class="text-body-2-regular text-text-secondary">${B1}</p>${l0(f0("JavDB 地址"), V1)}${l0(f0("MISSAV 地址"), V1)}`), e0("保存配置")), Gje = () => {
- let e = W1("downloads"), t = G1(e?.pikpak), n = G1(e?.pikpakRoots) ? u0(f0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${c0(f0("PikPak 根目录对应的媒体目录"))}${s0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = G1(e?.cloud) ? r0("云下载", n0(l0("CloudDrive2 地址") + l0("CloudDrive2 API 令牌", "需要离线任务权限。") + (G1(e?.has115) ? l0(f0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? l0(f0("PikPak 目标目录"), "目录要已经存在。") + n : "") + l0("等待上限(小时)", Y1("14em"))), e0("检查连接", "secondary") + e0("保存配置")) : "", i = G1(e?.pikpakLoggedIn);
- return r + (t ? r0("PikPak 账号", i ? m0(["账号", Y1("4em")]) : n0(l0("账号") + l0("密码") + d0("保存密码,登录过期时自动重新登录")), i ? e0("登出", "secondary") : (G1(e?.browserLogin) ? e0("用浏览器登录", "secondary") : "") + e0("登录"), {
- aside: Q1(),
+ return n0("自动发现新文件", t0(`<div class="flex flex-wrap items-center gap-2"><span class="text-body-regular text-text-secondary">本机监视</span>${Z1()}</div>`) + i0("发现新文件后自动入库", t ? J1("10em") : "") + i0("监视本机文件夹", t && W1(e?.watchLocal) ? J1("12em") : "") + i0("接收 CloudDrive2 通知", "网盘目录有变化时由 CloudDrive2 推送过来。") + (n ? r0("Webhook 配置", J1("20em"), "") : "") + (r ? t0(f0("查看配置"), !0) : "") + (n ? t0(`<div class="flex flex-col gap-3">${s0("云端路径前缀")}<div class="flex flex-col gap-3">${i.repeat(G1(e?.prefixes, 20))}</div><div>${$1("添加前缀", "secondary")}</div></div>`, !0) : ""), (r ? $1("更换密钥", "secondary") : "") + $1("保存配置"));
+}
+var Zje = () => {
+ let e = Yje();
+ return n0("媒体库与目录", t0(`${qje}<div class="flex flex-col gap-4">${e.folders.map((t) => Kje(t, e.folders.length)).join("")}</div>
+ <div class="self-start">${$1("添加媒体库", "secondary")}</div>
+ <p class="text-body-2-regular text-text-secondary">${R1}</p>
+ ${e.cloud ? Jje : ""}<span class="text-body-medium text-text-primary">${J1("15em")}</span>`), $1("保存配置"), { status: "保存后 Peach 会重新启动。" }) + (e.cloud ? v0() : "") + Xje() + n0("番号识别规则", t0(`${J1("90%")}${J1("60%")}<span class="skeleton ui-configuration-skeleton-input" style="width:100%;height:88px"></span>`), $1("保存配置")) + n0("视频预览", i0("生成视频预览", "为本地视频生成九宫格与时间轴预览;关闭后仍按入库规则探测时长与分辨率。") + i0("时间轴预览", "按所选间隔抽帧,仅处理本机磁盘上的视频。", "ui-configuration-skeleton-select") + i0("抽帧解码方式", "用于生成封面、九宫格和时间轴。", "ui-configuration-skeleton-select"));
+}, Qje = () => `<div>${$1("采集来源与登录状态", "secondary")}</div>` + m0() + n0("关注采集", r0("自动检查更新", "", "<span class=\"flex items-center gap-2\"><span class=\"skeleton ui-configuration-skeleton-toggle\"></span><span class=\"skeleton ui-configuration-skeleton-input\" style=\"width:96px\"></span></span>") + a0("订阅源拉取") + i0("首次采集范围", "新关注的来源第一次回看多久以前的内容。", "ui-configuration-skeleton-select") + a0("头像刷新", "重新获取关注创作者的头像。") + a0("favicon 刷新", "重新获取来源站点的图标。")) + h0() + n0("作品资料站点", t0(`<p class="text-body-2-regular text-text-secondary">${z1}</p>${c0(d0("JavDB 地址"), B1)}${c0(d0("MISSAV 地址"), B1)}`), $1("保存配置")), $je = () => {
+ let e = U1("downloads"), t = W1(e?.pikpak), n = W1(e?.pikpakRoots) ? l0(d0("PikPak 根目录对应的媒体目录")) : `<div class="flex flex-col gap-1">${s0(d0("PikPak 根目录对应的媒体目录"))}${o0("先在「媒体库与入库」添加 PikPak 挂载文件夹。")}</div>`, r = W1(e?.cloud) ? n0("云下载", t0(c0("CloudDrive2 地址") + c0("CloudDrive2 API 令牌", "需要离线任务权限。") + (W1(e?.has115) ? c0(d0("115 目标目录"), "应位于自动入库的云端路径前缀内。") : "") + (t ? c0(d0("PikPak 目标目录"), "目录要已经存在。") + n : "") + c0("等待上限(小时)", J1("14em"))), $1("检查连接", "secondary") + $1("保存配置")) : "", i = W1(e?.pikpakLoggedIn);
+ return r + (t ? n0("PikPak 账号", i ? p0(["账号", J1("4em")]) : t0(c0("账号") + c0("密码") + u0("保存密码,登录过期时自动重新登录")), i ? $1("登出", "secondary") : (W1(e?.browserLogin) ? $1("用浏览器登录", "secondary") : "") + $1("登录"), {
+ aside: Z1(),
mark: !0
- }) : "") + _0();
-}, x0 = {
+ }) : "") + g0();
+}, b0 = {
legacy: "当前使用系统生成的访问口令。改设自己的密码,或关闭登录要求。",
locked: "访问设置无法读取,请在本机检查配置文件。",
password: "已设置密码。新设备需要登录,登录时勾选「保持登录」可保持 30 天。"
-}, S0 = {
+}, x0 = {
quick: "临时预览用,地址随机,重启后会变。启动前要先设置访问密码。",
named: "使用你在 Cloudflare 绑定的固定域名。启动前要先设置访问密码。"
};
-function Kje(e) {
- let t = e === "locked" ? "" : l0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + l0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");
- return (x0[e] ? s0(x0[e]) : "") + (e === "open" ? Z1("100%", "64px") : "") + (e === "password" || e === "legacy" ? d0("关闭访问密码") : "") + (e === "password" ? l0("当前访问密码 *") : "") + t;
+function eMe(e) {
+ let t = e === "locked" ? "" : c0(e === "password" ? "新访问密码 *" : "设置访问密码 *", "至少 8 个字符。保存后其他设备需要重新登录。") + c0(e === "password" ? "确认新访问密码 *" : "确认访问密码 *");
+ return (b0[e] ? o0(b0[e]) : "") + (e === "open" ? X1("100%", "64px") : "") + (e === "password" || e === "legacy" ? u0("关闭访问密码") : "") + (e === "password" ? c0("当前访问密码 *") : "") + t;
}
-function C0() {
- let e = W1("devices");
- return r0("已登录的设备", Array.from({ length: Math.max(1, K1(e?.rows, 8)) }, () => i0(Y1("8em"), Y1("14em"), Y1("3em"), Z1("20px", "20px"))).join(""), G1(e?.manageable) ? e0("撤销其他设备", "secondary") : "", G1(e?.manageable) ? { status: "修改访问密码会让全部设备退出。" } : {});
+function S0() {
+ let e = U1("devices");
+ return n0("已登录的设备", Array.from({ length: Math.max(1, G1(e?.rows, 8)) }, () => r0(J1("8em"), J1("14em"), J1("3em"), X1("20px", "20px"))).join(""), W1(e?.manageable) ? $1("撤销其他设备", "secondary") : "", W1(e?.manageable) ? { status: "修改访问密码会让全部设备退出。" } : {});
}
-var qje = () => {
- let e = W1("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = G1(e?.tunnelNamed), r = (n && G1(e?.tunnelNamedMode) ? s0(S0.named) + l0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + l0("隧道令牌", Y1("16em")) : s0(S0.quick)) + (G1(e?.tunnelNote) ? Z1("100%", "64px") : ""), i = K1(e?.addresses, 3), a = Array.from({ length: i }, (e, t) => `<div class="flex min-w-0 flex-wrap items-end gap-2"><div class="min-w-0 flex-1">${l0([
+var tMe = () => {
+ let e = U1("network"), t = typeof e?.access == "string" && e.access ? e.access : "legacy", n = W1(e?.tunnelNamed), r = (n && W1(e?.tunnelNamedMode) ? o0(x0.named) + c0("公开主机名", "Cloudflare Zero Trust 里指向这台电脑的主机名。") + c0("隧道令牌", J1("16em")) : o0(x0.quick)) + (W1(e?.tunnelNote) ? X1("100%", "64px") : ""), i = G1(e?.addresses, 3), a = Array.from({ length: i }, (e, t) => `<div class="flex min-w-0 flex-wrap items-end gap-2"><div class="min-w-0 flex-1">${c0([
"本机地址",
"手机连接地址",
"备用 IP 地址"
- ][t])}</div>${e0("复制地址", "secondary")}</div>`).join("");
- return (i || G1(e?.port) ? r0("访问地址", n0(a + (i ? Z1("100%", "40px") : "") + (G1(e?.networkEditable) ? `<div class="flex flex-col gap-1.5">${c0("谁可以访问")}${Z1("min(100%, 20em)", "36px")}</div>` + (G1(e?.lan) ? l0("局域网访问地址") : "") : "") + (G1(e?.port) ? l0("端口") : "")), G1(e?.port) ? e0("保存配置") : "", G1(e?.port) ? { status: "保存后 Peach 会重启,并跳转到新地址。" } : {}) : "") + r0("访问密码", n0(Kje(t)), t === "locked" ? "" : e0("保存配置")) + (t === "password" || t === "legacy" ? C0() : "") + r0("Cloudflare 公网入口", n0((n ? Z1("10.5em", "36px") : "") + r), e0("启动公网入口", n ? "secondary" : "primary") + (n ? e0("保存配置") : ""), { aside: Q1() }) + r0("Peach 代理", a0("连接方式", "Peach 访问外网和采集来源时使用。", "ui-configuration-skeleton-select") + (G1(e?.proxyAddress) ? n0(l0("代理地址"), !0) : ""), e0("保存配置"));
-}, Jje = [
+ ][t])}</div>${$1("复制地址", "secondary")}</div>`).join("");
+ return (i || W1(e?.port) ? n0("访问地址", t0(a + (i ? X1("100%", "40px") : "") + (W1(e?.networkEditable) ? `<div class="flex flex-col gap-1.5">${s0("谁可以访问")}${X1("min(100%, 20em)", "36px")}</div>` + (W1(e?.lan) ? c0("局域网访问地址") : "") : "") + (W1(e?.port) ? c0("端口") : "")), W1(e?.port) ? $1("保存配置") : "", W1(e?.port) ? { status: "保存后 Peach 会重启,并跳转到新地址。" } : {}) : "") + n0("访问密码", t0(eMe(t)), t === "locked" ? "" : $1("保存配置")) + (t === "password" || t === "legacy" ? S0() : "") + n0("Cloudflare 公网入口", t0((n ? X1("10.5em", "36px") : "") + r), $1("启动公网入口", n ? "secondary" : "primary") + (n ? $1("保存配置") : ""), { aside: Z1() }) + n0("Peach 代理", i0("连接方式", "Peach 访问外网和采集来源时使用。", "ui-configuration-skeleton-select") + (W1(e?.proxyAddress) ? t0(c0("代理地址"), !0) : ""), $1("保存配置"));
+}, nMe = [
"版本",
"操作系统",
"数据目录",
"设置文件",
"日志目录"
-], Yje = () => {
- let e = W1("maintenance"), t = [
+], rMe = () => {
+ let e = U1("maintenance"), t = [
"当前版本",
"安装方式",
"更新通道",
"最新版本",
"下载内容"
- ].slice(0, Math.max(4, K1(e?.releaseFacts, 5))), n = K1(e?.releaseNotes, 4), r = K1(e?.storageRows, 12), i = K1(e?.storageNotes, 3), a = q1(e?.facts, 12, (e) => z(String(e))), o = `<span class="self-start">${Q1("6em")}</span>`, s = (t) => !e || G1(t), c = s(e?.reporting) ? a0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + (G1(e?.reportingIdle) ? n0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${a0("上传馆藏与口味明细", G1(e?.sharingNotice) ? Y1("12em") : "")}${G1(e?.sharingIdle) ? n0(o, !0) : ""}${t0(e0("预览上传内容", "secondary"))}</div>` : "";
- return r0("检查更新", m0(t) + (n ? n0(s0(Y1("50%")).repeat(n), !0) : ""), e0("检查更新"), {
- aside: Q1("4em"),
- status: Y1("5em")
- }) + r0("自动更新", a0("自动检查新版本") + a0("自动下载更新", "发现新版本后先下载,重启安装前会询问。") + a0("检查频率", G1(e?.autoUpdateHelp) ? Y1("12em") : "", "ui-configuration-skeleton-select"), e0("保存配置")) + r0("开机自启", a0("开机后启动 Peach") + a0("只启动托盘,不打开网页", "开机后在后台运行,需要时从托盘打开页面。") + a0("在桌面创建快捷方式", G1(e?.desktopNote) ? Y1("12em") : "") + (G1(e?.startupNote) ? n0(s0(Y1("60%")), !0) : ""), e0("保存配置")) + r0("视频播放", a0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + r0("存储空间", m0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => i0(Y1("6em"), "", Y1("4em"))).join("") : n0(s0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? n0(s0(Y1("80%")).repeat(i), !0) : ""), e0("更改位置", "secondary") + e0(r ? "重新统计" : "统计占用")) + (c || l ? r0("数据上传", c + l) : "") + r0("运行信息", m0(a.length ? a : Jje)) + `<section aria-label="新手教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${i0("新手教程", "在所有设备上恢复右上角教程入口,保留已读进度", e0("重新打开", "secondary"))}</div></section>` + (s(e?.uninstall) ? r0("卸载 Peach", (G1(e?.uninstallHelp) ? n0(s0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + a0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + n0(p0("数据目录"), !0), e0("卸载 Peach"), { status: Y1("16em") }) : "");
+ ].slice(0, Math.max(4, G1(e?.releaseFacts, 5))), n = G1(e?.releaseNotes, 4), r = G1(e?.storageRows, 12), i = G1(e?.storageNotes, 3), a = K1(e?.facts, 12, (e) => z(String(e))), o = `<span class="self-start">${Z1("6em")}</span>`, s = (t) => !e || W1(t), c = s(e?.reporting) ? i0("发送版本统计与错误诊断(推荐)", "上传版本、系统信息、故障类型、代码位置与发生次数。") + (W1(e?.reportingIdle) ? t0(o, !0) : "") : "", l = s(e?.sharing) ? `<div class="border-t border-separator-border">${i0("上传馆藏与口味明细", W1(e?.sharingNotice) ? J1("12em") : "")}${W1(e?.sharingIdle) ? t0(o, !0) : ""}${e0($1("预览上传内容", "secondary"))}</div>` : "";
+ return n0("检查更新", p0(t) + (n ? t0(o0(J1("50%")).repeat(n), !0) : ""), $1("检查更新"), {
+ aside: Z1("4em"),
+ status: J1("5em")
+ }) + n0("自动更新", i0("自动检查新版本") + i0("自动下载更新", "发现新版本后先下载,重启安装前会询问。") + i0("检查频率", W1(e?.autoUpdateHelp) ? J1("12em") : "", "ui-configuration-skeleton-select"), $1("保存配置")) + n0("开机自启", i0("开机后启动 Peach") + i0("只启动托盘,不打开网页", "开机后在后台运行,需要时从托盘打开页面。") + i0("在桌面创建快捷方式", W1(e?.desktopNote) ? J1("12em") : "") + (W1(e?.startupNote) ? t0(o0(J1("60%")), !0) : ""), $1("保存配置")) + n0("视频播放", i0("转码方式", "用于播放时的视频转码。", "ui-configuration-skeleton-select")) + n0("存储空间", p0(["数据目录", "所在磁盘"]) + (r ? Array.from({ length: r }, () => r0(J1("6em"), "", J1("4em"))).join("") : t0(o0("统计后显示各类数据的占用,并可清理缓存与旧备份。"), !0)) + (i ? t0(o0(J1("80%")).repeat(i), !0) : ""), $1("更改位置", "secondary") + $1(r ? "重新统计" : "统计占用")) + (c || l ? n0("数据上传", c + l) : "") + n0("运行信息", p0(a.length ? a : nMe)) + `<section aria-label="新手教程" class="w-full"><div class="flex w-full flex-col rounded-2xl bg-background-secondary-default pl-3">${r0("新手教程", "在所有设备上恢复右上角教程入口,保留已读进度", $1("重新打开", "secondary"))}</div></section>` + (s(e?.uninstall) ? n0("卸载 Peach", (W1(e?.uninstallHelp) ? t0(o0("卸载移除 Peach 程序本身,原始媒体文件保留。")) : "") + i0("完全卸载", "同时删除设置、本地数据库、观看记录、凭据和缓存") + t0(f0("数据目录"), !0), $1("卸载 Peach"), { status: J1("16em") }) : "");
};
-function Xje(e) {
+function iMe(e) {
switch (e) {
- case "系统诊断": return L1();
- case "来源与订阅": return Wje();
- case "下载渠道": return Gje();
- case "网络与访问": return qje();
- case "应用与维护": return Yje();
- default: return Uje();
+ case "系统诊断": return I1();
+ case "来源与订阅": return Qje();
+ case "下载渠道": return $je();
+ case "网络与访问": return tMe();
+ case "应用与维护": return rMe();
+ default: return Zje();
}
}
-function Zje(e = "媒体库与入库") {
- return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(kf).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">${Xje(e)}</div></div></div>`;
+function aMe(e = "媒体库与入库") {
+ return `<div class="peach-react"><div class="ui-configpage">${`<div class="ui-board-local-nav" data-section-nav data-section-items>${Object.values(kf).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">${iMe(e)}</div></div></div>`;
}
// src/filter-controls-skeleton.ts
-var w0 = (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>` : Ts(e, "size-4 shrink-0"), T0 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", E0 = (e, t, n) => `<span data-entity-layout="" class="${cU}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${lU}" role="radio" aria-label="${z(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${T0}>${w0(r)}</span>`).join("")}</span>`;
-function D0(e, t, { folders: n = !0 } = {}) {
- let r = cG(), i = new URLSearchParams(location.search), a = t && r === "cards" ? E0(t.label, t.value, t.options) : "", o = n ? `<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${i.get("browse") === "folders" || !!i.get("folder")}" ${T0}>${w0("ri-folder-3-line")}</button>` : "";
- return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${T0}>${w0("shuffle")}</button>${a}${E0("馆藏显示方式", r, [[
+var C0 = (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>` : Ts(e, "size-4 shrink-0"), w0 = "inert aria-disabled=\"true\" tabindex=\"-1\" data-skeleton-control", T0 = (e, t, n) => `<span data-entity-layout="" class="${sU}" role="radiogroup" aria-label="${z(e)}">${n.map(([e, n, r]) => `<span class="${cU}" role="radio" aria-label="${z(n)}" aria-checked="${e === t}" data-glass-segment=""${e === t ? " data-selected=\"\"" : ""} ${w0}>${C0(r)}</span>`).join("")}</span>`;
+function E0(e, t, { folders: n = !0 } = {}) {
+ let r = sG(), i = new URLSearchParams(location.search), a = t && r === "cards" ? T0(t.label, t.value, t.options) : "", o = n ? `<button type="button" data-folder-mode-toggle="" aria-label="文件夹模式" aria-pressed="${i.get("browse") === "folders" || !!i.get("folder")}" ${w0}>${C0("ri-folder-3-line")}</button>` : "";
+ return `<span data-entity-sorts=""><button type="button" data-entity-batch="" data-filter-action="" aria-label="换一批" ${w0}>${C0("shuffle")}</button>${a}${T0("馆藏显示方式", r, [[
"cards",
"卡片",
"ri-layout-grid-line"
@@ -72580,21 +72658,21 @@ function D0(e, t, { folders: n = !0 } = {}) {
"list",
"列表",
"ri-list-unordered"
- ]])}${o}${e.map((e) => `<button type="button" data-entity-sort="${z(e.key)}" aria-pressed="${e.pressed}" ${T0}>${z(e.label)}${e.dir ? w0(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;
+ ]])}${o}${e.map((e) => `<button type="button" data-entity-sort="${z(e.key)}" aria-pressed="${e.pressed}" ${w0}>${z(e.label)}${e.dir ? C0(e.dir === "asc" ? "arrow-up" : "arrow-down") : ""}</button>`).join("")}</span>`;
}
// src/catalog-filter-skeleton.ts
-var O0 = 64, k0 = (e) => e.replace(/[&<>"]/g, (e) => ({
+var D0 = 64, O0 = (e) => e.replace(/[&<>"]/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;"
-})[e]), Qje = (e) => e.repeat(O0), A0 = (e) => Qje(`<span data-catalog-placeholder="${e}" aria-hidden="true"><span></span><span>&nbsp;</span></span>`);
-function $je(e, t, n) {
- let r = e.map((e) => `<a href="${k0(e.href)}" data-catalog-view="${k0(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${k0(e.label)}</a>`).join(""), i = LG();
- return `<div class="peach-react"><div class="contents" data-catalog-root="" data-loading=""><div data-catalog-tiers="" aria-busy="true"${i.performers || i.studios ? "" : " hidden"}>` + (i.performers ? `<div data-catalog-tier="performers" data-skeleton="tiers">${A0("performer")}</div>` : "") + (i.studios ? `<div data-catalog-tier="studios">${A0("studio")}</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(O0) + `</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>${Es()}</span>` + (n ? D0(n.sorts, n.layout) : "") + "</div></div></div></div>";
+})[e]), oMe = (e) => e.repeat(D0), k0 = (e) => oMe(`<span data-catalog-placeholder="${e}" aria-hidden="true"><span></span><span>&nbsp;</span></span>`);
+function sMe(e, t, n) {
+ let r = e.map((e) => `<a href="${O0(e.href)}" data-catalog-view="${O0(e.k)}" data-entity-press="" aria-pressed="${t === e.k}">${O0(e.label)}</a>`).join(""), i = IG();
+ return `<div class="peach-react"><div class="contents" data-catalog-root="" data-loading=""><div data-catalog-tiers="" aria-busy="true"${i.performers || i.studios ? "" : " hidden"}>` + (i.performers ? `<div data-catalog-tier="performers" data-skeleton="tiers">${k0("performer")}</div>` : "") + (i.studios ? `<div data-catalog-tier="studios">${k0("studio")}</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(D0) + `</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>${Es()}</span>` + (n ? E0(n.sorts, n.layout) : "") + "</div></div></div></div>";
}
// src/react/jav/release-table-columns.ts
-var j0 = "peach.table.jav-releases.widths.v1", M0 = "peach.table.jav-releases.visibility.v1", eMe = {
+var A0 = "peach.table.jav-releases.widths.v1", j0 = "peach.table.jav-releases.visibility.v1", cMe = {
name: {
width: 300,
min: 240,
@@ -72640,7 +72718,7 @@ var j0 = "peach.table.jav-releases.widths.v1", M0 = "peach.table.jav-releases.vi
min: 112,
max: 320
}
-}, tMe = {
+}, lMe = {
name: "作品",
people: "艺人",
studio: "厂牌",
@@ -72650,12 +72728,12 @@ var j0 = "peach.table.jav-releases.widths.v1", M0 = "peach.table.jav-releases.vi
score: "来源评分",
release: "发行时间",
actions: "操作"
-}, nMe = {
+}, uMe = {
code: "code",
dur: "duration",
score: "source_score",
release: "release_date"
-}, N0 = [
+}, M0 = [
"name",
"people",
"studio",
@@ -72667,18 +72745,18 @@ var j0 = "peach.table.jav-releases.widths.v1", M0 = "peach.table.jav-releases.vi
"code"
].map((e) => ({
id: e,
- label: tMe[e],
- ...eMe[e],
+ label: lMe[e],
+ ...cMe[e],
flex: e === "name",
required: e === "name",
visible: e !== "code"
}));
-function rMe() {
- return IJ(N0, j0, M0);
+function dMe() {
+ return FJ(M0, A0, j0);
}
// src/jav-skeleton.ts
-var P0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, iMe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, F0 = "w-full min-w-0";
-function I0() {
+var N0 = (e) => `<span data-jav-skeleton-text class="skeleton block rounded-md" style="width:${e}" aria-hidden="true"></span>`, fMe = (e) => `<span data-jav-skeleton-cover class="skeleton ${e}"></span>`, P0 = "w-full min-w-0";
+function F0() {
return [
"w-20",
"w-16",
@@ -72688,83 +72766,83 @@ function I0() {
"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 L0(e, t = _M()) {
- if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${P0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${iMe("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">${P0("80%")}${P0("60%")}${P0("40%")}</div></div>`).join("")}</div>`;
- let n = TM({
- ...wM({
+function I0(e, t = pM()) {
+ if (e === "wants") return `<div class="flex w-full flex-col gap-8" data-skeleton="jav-wants">${N0("5em")}${Array.from({ length: 3 }, () => `<div class="flex min-w-0 gap-4 rounded-2lg bg-background-secondary-default p-6">${fMe("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">${N0("80%")}${N0("60%")}${N0("40%")}</div></div>`).join("")}</div>`;
+ let n = xM({
+ ...bM({
active: !0,
home: !1,
portrait: !1
}),
size: t
});
- return `<div data-media-grid class="${F0}" 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="${P0}" 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>${P0("85%")}${P0("65%")}</div><div data-media-byline>${P0("55%")}</div>
+ <div data-media-title>${N0("85%")}${N0("65%")}</div><div data-media-byline>${N0("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>`;
}
-var aMe = {
+var pMe = {
releases: "筛选新作",
discover: "筛选推荐",
wants: "筛选想要"
};
-function oMe(e) {
- let t = new URLSearchParams(location.search).get("q") || "", n = 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>${P0("100%")}</div>${L0(e)}` : e === "releases" ? `<section class="flex min-w-0 flex-col gap-4">${sMe()}${cG() === "list" ? `<div data-catalog-table>${BJ(rMe())}</div>` : L0(e)}</section>` : `<section class="flex min-w-0 flex-col gap-4">${cMe()}${L0(e)}</section>`;
+function mMe(e) {
+ let t = new URLSearchParams(location.search).get("q") || "", n = 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>${N0("100%")}</div>${I0(e)}` : e === "releases" ? `<section class="flex min-w-0 flex-col gap-4">${hMe()}${sG() === "list" ? `<div data-catalog-table>${zJ(dMe())}</div>` : I0(e)}</section>` : `<section class="flex min-w-0 flex-col gap-4">${gMe()}${I0(e)}</section>`;
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 min-w-0 flex-wrap items-center gap-3 max-board-narrow:gap-x-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2><div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Ds("", t, aMe[e] || "筛选")}</div>${Os({
+ <div class="flex w-full flex-col gap-4"><div class="flex min-w-0 flex-wrap items-center gap-3 max-board-narrow:gap-x-2"><h2 data-page-title class="text-display-4-medium text-text-primary max-board-narrow:text-title-1-medium">JAV</h2><div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Ds("", t, pMe[e] || "筛选")}</div>${Os({
variant: "primary",
label: "查找资源",
attrs: "disabled data-skeleton-action"
})}</div>
- <div class="relative flex flex-none gap-1 overflow-x-auto max-board-narrow:gap-0">${uU.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">${lU.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>
${n}</div></div>`;
}
-function sMe() {
- let e = new URLSearchParams(location.search), t = e.get("sort") || "release_date", n = e.get("dir") === "asc" ? "asc" : "desc", r = dW.map(([e, r, i]) => ({
+function hMe() {
+ let e = new URLSearchParams(location.search), t = e.get("sort") || "release_date", n = e.get("dir") === "asc" ? "asc" : "desc", r = uW.map(([e, r, i]) => ({
key: e,
label: r,
ariaLabel: i,
pressed: e === t,
dir: e === t ? n : ""
}));
- return `<div data-catalog-tiers="" aria-busy="true"><div data-catalog-tier="performers" data-skeleton="tiers">${A0("performer")}</div><div data-catalog-tier="studios">${A0("studio")}</div></div>
+ return `<div data-catalog-tiers="" aria-busy="true"><div data-catalog-tier="performers" data-skeleton="tiers">${k0("performer")}</div><div data-catalog-tier="studios">${k0("studio")}</div></div>
<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-tags>${I0()}</div></div>
+ <div data-catalog-scroll><div data-catalog-tags>${F0()}</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>
- ${D0(r, {
+ ${E0(r, {
name: "jav-layout",
label: "JAV 卡片版式",
- value: _M(),
- options: fM
+ value: pM(),
+ options: cM
}, { folders: !1 })}
</div>
</div>`;
}
-function cMe() {
- 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="" ${_M() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${Ts(t, "size-4")}</span>`;
+function gMe() {
+ 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="" ${pM() === e ? "data-selected=\"true\"" : ""} class="flex size-8 flex-none items-center justify-center rounded-lg text-(--glass-text)/62">${Ts(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>${I0()}</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>${F0()}</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>
${Es()}
<span data-entity-sorts><button type="button" data-entity-batch data-filter-action data-skeleton-action data-jav-metadata-update title="更新资料" aria-label="更新资料" disabled>${Ts("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>
- ${uW.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? Ts("arrow-down", "size-3.5") : ""}</button>`).join("")}
+ ${lW.map(([e, t]) => `<button type="button" data-entity-sort="${e}" data-entity-press aria-pressed="${e === "taste"}">${t}${e === "taste" ? Ts("arrow-down", "size-3.5") : ""}</button>`).join("")}
</span>
</div>
</div>`;
}
// src/management-skeletons.ts
-var R0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", z0 = (e = "60%") => `<span class="${R0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, B0 = "disabled data-skeleton-action", V0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
-function lMe() {
+var L0 = "relative overflow-hidden skeleton-sheen bg-background-tertiary-default rounded-lg", R0 = (e = "60%") => `<span class="${L0} inline-block max-w-full align-middle" style="width:${e};height:1em"></span>`, z0 = "disabled data-skeleton-action", B0 = "min-w-0 rounded-2-5xl bg-background-secondary-default p-5 flex flex-col gap-4 max-sm:p-4";
+function _Me() {
let e = [
"馆藏视频",
"看过",
@@ -72772,27 +72850,27 @@ function lMe() {
"使用空间"
].map((e, t) => `
<div class="min-w-0 rounded-2xl shadow-card flex flex-col overflow-hidden pt-4 text-left ${t === 0 ? "ring-2 ring-border-focus-ring bg-background-primary-default" : "bg-background-secondary-default"}">
- <span class="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"><i class="${R0} size-7 max-sm:size-6"></i>${e}</span>
- <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${z0("4em")}</b>
- <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${z0("6em")}</small>
- </div>`).join(""), t = (e) => `<section class="${V0}" data-stats-chart>
- <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${z0("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header>
+ <span class="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"><i class="${L0} size-7 max-sm:size-6"></i>${e}</span>
+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3 max-sm:text-title-3-medium">${R0("4em")}</b>
+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${R0("6em")}</small>
+ </div>`).join(""), t = (e) => `<section class="${B0}" data-stats-chart>
+ <header class="flex flex-wrap items-end justify-between gap-x-4 gap-y-1"><span class="flex min-w-0 flex-col gap-1"><h3 class="text-title-2-medium text-text-primary">${e}</h3><b class="text-display-4-medium">${R0("4em")}</b></span><small class="text-caption-1-regular text-text-secondary">个视频</small></header>
<svg class="h-75 w-full max-sm:h-65 text-background-tertiary-default" viewBox="0 0 200 200" fill="none" stroke="currentColor" stroke-width="12">${[
76,
54,
32
].map((e) => `<circle cx="100" cy="100" r="${e}"/>`).join("")}</svg>
- <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${z0()}</span><b class="text-title-2-medium">${z0("3em")}</b><small class="text-caption-1-regular">${z0()}</small></div>`).join("")}</div>
+ <div class="inline-grid w-full grid-cols-3 gap-2 max-sm:grid-cols-2">${Array.from({ length: 3 }, () => `<div class="flex min-w-0 flex-col gap-1 rounded-xl bg-background-tertiary-default p-2.5"><span class="text-caption-1-regular">${R0()}</span><b class="text-title-2-medium">${R0("3em")}</b><small class="text-caption-1-regular">${R0()}</small></div>`).join("")}</div>
</section>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
- <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${z0("12em")}</p>
+ <p class="text-caption-1-regular text-text-secondary">数据库中的当前统计 · ${R0("12em")}</p>
<div class="flex flex-col gap-4"><div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-stats-metrics>${e}</div>
<div class="flex flex-col gap-5"><div class="inline-grid w-full gap-5 md:grid-cols-2">${t("网盘与本地")}${t("媒体库")}</div>
<div class="inline-grid w-full gap-5 md:grid-cols-2 xl:grid-cols-3">${[
"时长",
"画质",
"文件类型"
- ].map((e) => `<section class="${V0}"><h3 class="text-title-2-medium">${e}</h3><div class="${R0} h-64"></div></section>`).join("")}</div>
+ ].map((e) => `<section class="${B0}"><h3 class="text-title-2-medium">${e}</h3><div class="${L0} h-64"></div></section>`).join("")}</div>
</div>
</div>
<section class="rounded-surface bg-background-secondary-default dark:bg-background-primary-default">
@@ -72801,11 +72879,11 @@ function lMe() {
"最近看过",
"标签来源"
].map((e) => `<span>${e}</span>`).join("")}</div>
- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${R0} h-7"></div>`).join("")}</div>
+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${L0} h-7"></div>`).join("")}</div>
</section>
</div></div>`;
}
-function uMe() {
+function vMe() {
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 = [
"浏览记录",
"口味维度",
@@ -72813,20 +72891,20 @@ function uMe() {
"私有导出"
].map((e) => `
<div class="min-w-0 rounded-2xl shadow-card bg-background-secondary-default flex flex-col overflow-hidden pt-4 text-left">
- <span class="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"><i class="${R0} size-7 max-sm:size-6"></i>${e}</span>
- <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${z0("4em")}</b>
- <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${z0("6em")}</small>
- </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${R0} h-6"></div>`).join(""), r = (e) => `<section class="${V0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${R0} h-40"></div></section>`;
+ <span class="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"><i class="${L0} size-7 max-sm:size-6"></i>${e}</span>
+ <b class="px-4 pt-3 pb-4 text-title-1-medium max-sm:px-3 max-sm:pb-3">${R0("4em")}</b>
+ <small class="mt-auto block min-h-9.5 bg-card-footer px-4 py-2.5 text-caption-1-regular max-sm:px-3 max-sm:py-2">${R0("6em")}</small>
+ </div>`).join(""), n = Array.from({ length: 6 }, () => `<div class="${L0} h-6"></div>`).join(""), r = (e) => `<section class="${B0}"><h3 class="text-title-2-medium text-text-primary">${e}</h3><div class="${L0} h-40"></div></section>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
<div class="flex flex-col gap-5">
<div class="flex flex-wrap items-center justify-between gap-3">${e(["浏览器记录", "Peach 内部"])}
<div class="flex flex-wrap items-center gap-2">${As("全部时间")}<span data-button-group data-split-button data-variant="primary">${Os({
glyph: "compass",
label: "读取浏览器历史",
- attrs: B0
+ attrs: z0
})}${Os({
glyph: "chevron-down",
- attrs: B0
+ attrs: z0
})}</span></div>
</div>
<div class="inline-grid w-full grid-cols-2 gap-3 sm:gap-4 lg:grid-cols-4" data-taste-metrics>${t}</div>
@@ -72844,11 +72922,11 @@ function uMe() {
4,
5
].map((t) => `${(100 + e * Math.sin(t * Math.PI / 3)).toFixed(1)},${(100 - e * Math.cos(t * Math.PI / 3)).toFixed(1)}`).join(" ")}"/>`).join("")}</svg>
- <small class="text-caption-1-regular">${z0("8em")}</small></div>
+ <small class="text-caption-1-regular">${R0("8em")}</small></div>
<div class="flex min-w-0 grow flex-col justify-around gap-3">${n}</div>
</section>
<div class="inline-grid w-full items-start gap-5 lg:grid-cols-2">${r("浏览活跃时间")}${r("每日活跃")}</div>
- <section class="${V0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${R0} h-72 max-sm:h-48"></div></section>
+ <section class="${B0}"><h3 class="text-title-2-medium text-text-primary">创作者线索来源</h3><div class="${L0} h-72 max-sm:h-48"></div></section>
<section class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col">
<div class="px-4 pt-3">${e([
"标签",
@@ -72856,20 +72934,20 @@ function uMe() {
"常访问网站",
"浏览线索"
])}</div>
- <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${R0} h-7"></div>`).join("")}</div>
+ <div class="flex flex-col gap-3 px-4 pt-3.5 pb-4">${Array.from({ length: 5 }, () => `<div class="${L0} h-7"></div>`).join("")}</div>
</section>
</div>
</div></div>`;
}
-function dMe() {
+function yMe() {
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="${R0} 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">${z0("70%")}</span>
- ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${z0("3em")}</span>`).join("")}
- <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${z0("75%")}</span>
+ <span class="${L0} 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">${R0("70%")}</span>
+ ${Array.from({ length: 3 }, () => `<span class="font-mono text-caption-1-regular leading-5">${R0("3em")}</span>`).join("")}
+ <span class="col-start-2 -col-end-1 min-w-0 pt-0.5 font-mono text-caption-1-regular leading-5 max-duplicate-narrow:col-span-full">${R0("75%")}</span>
</div>`, t = `<section class="mb-6 overflow-hidden rounded-surface bg-background-secondary-default dark:bg-background-primary-default" data-duplicate-group>
<div class="flex flex-wrap items-center gap-3 bg-background-tertiary-default p-5 max-compact:p-4 dark:bg-background-secondary-default">
- <b class="text-title-2-medium">${z0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${z0("8em")}</span>
+ <b class="text-title-2-medium">${R0("5em")}</b><span class="font-mono text-caption-1-regular leading-5">${R0("8em")}</span>
<span class="ml-auto flex flex-wrap gap-2 max-compact:ml-0 max-compact:w-full">${[
"留最大",
"留最长",
@@ -72878,27 +72956,27 @@ function dMe() {
variant: "secondary",
size: "small",
label: e,
- attrs: B0
+ attrs: z0
})).join("")}</span>
</div>${e.repeat(2)}</section>`;
return `<div class="peach-react"><div class="mx-auto w-full max-w-board pb-10.5">
<div data-collection-summary class="mb-5 flex items-end justify-between gap-4 rounded-surface bg-background-secondary-default px-6 py-5 max-compact:flex-col max-compact:items-start max-compact:gap-3 max-compact:p-4 dark:bg-background-primary-default">
- <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${z0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${z0("12em")}</p>
+ <div class="flex min-w-0 flex-col gap-2"><span class="text-body-regular text-text-secondary">重复内容</span><strong class="text-display-4-medium">${R0("4em")}</strong></div><p class="text-body-regular text-text-secondary">${R0("12em")}</p>
</div>
- <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${B0} class="h-8 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>
+ <div data-filter-glass data-glass-pane class="mb-5.5 flex flex-wrap items-center gap-x-2.5 gap-y-2 px-4 py-2.5"><h3 class="mr-1 text-body-medium">批量保留</h3>${["全部保留最大", "全部保留最长"].map((e) => `<button ${z0} class="h-8 rounded-full border border-separator-border px-3 text-body-2-medium">${e}</button>`).join("")}</div>
${t.repeat(2)}
</div></div>`;
}
-function fMe() {
+function bMe() {
let e = `<li class="min-w-0 bg-background-secondary-default rounded-2xl shadow-card flex flex-col gap-3 p-3">
- <div class="flex min-w-0 gap-4"><span class="${R0} 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">${z0("80%")}</h3><p class="text-body-2-regular">${z0("60%")}</p></div>
+ <div class="flex min-w-0 gap-4"><span class="${L0} 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">${R0("80%")}</h3><p class="text-body-2-regular">${R0("60%")}</p></div>
</div>
<footer class="flex justify-end">${Os({
variant: "secondary",
size: "small",
label: "查看版本",
- attrs: B0
+ attrs: z0
})}</footer>
</li>`;
return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">
@@ -72907,20 +72985,20 @@ function fMe() {
</div></div>`;
}
// src/board-skeleton.ts
-var H0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, pMe = () => `${H0("80%")}${H0("48%")}`, U0 = (e, t) => e.repeat(t), W0 = "disabled data-skeleton-action", G0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, K0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, mMe = "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", q0 = () => `<div class="inline-grid w-full grid-cols-2 gap-3 sm:grid-cols-3 sm:gap-4 xl:grid-cols-6">${[
+var V0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, xMe = () => `${V0("80%")}${V0("48%")}`, H0 = (e, t) => e.repeat(t), U0 = "disabled data-skeleton-action", W0 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, G0 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, SMe = "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", K0 = () => `<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="${mMe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${G0("3em")}</b></div>`).join("")}</div>`, hMe = (e = "") => PZ.some(([t]) => t === e) ? e : "list", J0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${PZ.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, Y0 = (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>`, gMe = ({ table: e, sort: t, dir: n }) => {
+].map((e) => `<div class="${SMe}"><span class="text-body-medium text-text-secondary">${e}</span><b class="text-title-1-medium tabular-nums text-text-primary">${W0("3em")}</b></div>`).join("")}</div>`, CMe = (e = "") => NZ.some(([t]) => t === e) ? e : "list", q0 = (e) => `<div data-section-nav data-section-items class="flex max-w-full flex-nowrap overflow-x-auto">${NZ.map(([t, n]) => `<span class="whitespace-nowrap" aria-selected="${t === e}">${n}</span>`).join("")}</div>`, J0 = (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>`, wMe = ({ table: e, sort: t, dir: n }) => {
let r = ur.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">${G0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${Os({
+ 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">${W0("132px")}</span></span><div data-follow-toolbar-actions data-toolbar-actions>${Os({
glyph: "refresh-cw",
label: "检查全部",
compact: !0,
- attrs: W0
+ attrs: U0
})}<span data-follow-toolbar-controls class="contents"><span data-button-group role="group">${Os({
variant: "ghost",
glyph: "layout-grid",
@@ -72937,42 +73015,42 @@ var H0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, pMe
glyph: "chevron-up",
label: "全部收起",
compact: !0,
- attrs: W0
+ attrs: U0
})}</span></div></div>`;
-}, X0 = () => `<span class="flex shrink-0 items-center gap-1">${Os({
+}, Y0 = () => `<span class="flex shrink-0 items-center gap-1">${Os({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: W0
+ attrs: U0
})}${Os({
variant: "secondary",
size: "small",
glyph: "trash",
- attrs: W0
-})}</span>`, _Me = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${Y0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${G0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${K0(14, 14)}</span>${K0(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">${G0("113px")}</span>${X0()}</span></div>`, Z0 = (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>${K0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${G0("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">${Os({
+ attrs: U0
+})}</span>`, TMe = () => `<div class="flex min-h-16 flex-wrap items-center gap-3 px-2 py-3 max-sm:gap-x-2 follow-skeleton-source">${J0()}<span class="flex min-w-0 grow basis-0 flex-col gap-0.5"><span class="text-body-medium">${W0("8em")}</span></span><span class="flex shrink-0 items-center gap-1.5">${G0(14, 14)}</span>${G0(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">${W0("113px")}</span>${Y0()}</span></div>`, X0 = (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>${G0(32, 32, !0)}<b class="min-w-0 grow text-body-medium wrap-anywhere text-text-primary max-sm:basis-0">${W0("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">${Os({
variant: "secondary",
size: "small",
glyph: "refresh-cw",
- attrs: W0
-})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${K0(14, 14)}${K0(14, 14)}</span><span class="flex flex-none items-center gap-2">${Os({
+ attrs: U0
+})}<span class="flex shrink-0 items-center gap-1 max-sm:mr-auto">${G0(14, 14)}${G0(14, 14)}</span><span class="flex flex-none items-center gap-2">${Os({
variant: "secondary",
size: "small",
glyph: "check-check",
label: "全选",
- attrs: W0
+ attrs: U0
})}${Os({
variant: "secondary",
size: "small",
glyph: "chevron-up",
label: "收起",
- attrs: W0
-})}</span></span></div><div data-source-divider>${U0(_Me(), e)}</div></section>`, vMe = () => {
+ attrs: U0
+})}</span></span></div><div data-source-divider>${H0(TMe(), e)}</div></section>`, EMe = () => {
try {
return Number(JSON.parse(localStorage.getItem("peach.settings.v1") || "{}").followPageSize) || 20;
} catch {
return 20;
}
-}, yMe = [
+}, DMe = [
["select", ""],
["author", "创作者"],
["source", "来源"],
@@ -72980,92 +73058,92 @@ var H0 = (e = "60%") => `<span class="skeleton" style="width:${e}"></span>`, pMe
["status", "状态"],
["checked", "上次检查"],
["actions", ""]
-], bMe = {
+], OMe = {
name: "author",
source: "source",
provider: "provider",
status: "status",
checked: "checked"
-}, Q0 = "<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>", xMe = (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>${yMe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${bMe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${Q0}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${U0(`<tr>${[
- Y0(),
- `<span class="flex min-w-0 items-center gap-2">${K0(32, 32, !0)}${G0("5em")}</span>`,
- G0("10em"),
- `<span class="flex items-center gap-1.5">${K0(14, 14)}${G0("4em")}</span>`,
- K0(48, 24),
- G0("113px"),
- X0()
-].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, SMe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${G0("111px")}</span><div data-toolbar-actions>${As(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${K0(204, 32)}</div></div>`, CMe = () => `<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">${G0("120px")}</h3>${[
+}, Z0 = "<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>", kMe = (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>${DMe.map(([e, r]) => r ? `<th><span class="flex items-center gap-0.5">${r}<span data-sort-indicator${OMe[t] === e ? ` data-direction="${n === "asc" ? "ascending" : "descending"}"` : ""}>${Z0}</span></span></th>` : "<th></th>").join("")}</tr></thead><tbody>${H0(`<tr>${[
+ J0(),
+ `<span class="flex min-w-0 items-center gap-2">${G0(32, 32, !0)}${W0("5em")}</span>`,
+ W0("10em"),
+ `<span class="flex items-center gap-1.5">${G0(14, 14)}${W0("4em")}</span>`,
+ G0(48, 24),
+ W0("113px"),
+ Y0()
+].map((e) => `<td>${e}</td>`).join("")}</tr>`, e)}</tbody></table></div></div>`, AMe = (e, t) => `<div class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular text-text-secondary">${W0("111px")}</span><div data-toolbar-actions>${As(`每页 ${t} ${e ? "条" : "位"}`, { size: "sm" })}${G0(204, 32)}</div></div>`, jMe = () => `<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">${W0("120px")}</h3>${[
"72%",
"56%",
"64%",
"40%"
-].map((e) => `<span class="text-body-medium">${G0(e)}</span>`).join("")}</div>`, wMe = (e) => {
- let t = hMe(e.followTab);
- if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${q0()}<div class="flex flex-col gap-6">${J0(t)}<div class="flex flex-col gap-4">${CMe()}</div></div></div></div>`;
- let n = e.followLayout === "table", r = mr(e.followSort, e.followDir), i = e.followPageSize || vMe(), a = n ? xMe(i, r) : `${Y0("全选本页")}<div class="flex flex-col gap-3">${Z0(3)}${Z0(4)}${Z0(3)}</div>`;
- return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${q0()}<div class="flex flex-col gap-6">${J0(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"}">${gMe({
+].map((e) => `<span class="text-body-medium">${W0(e)}</span>`).join("")}</div>`, MMe = (e) => {
+ let t = CMe(e.followTab);
+ if (t !== "list") return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${K0()}<div class="flex flex-col gap-6">${q0(t)}<div class="flex flex-col gap-4">${jMe()}</div></div></div></div>`;
+ let n = e.followLayout === "table", r = mr(e.followSort, e.followDir), i = e.followPageSize || EMe(), a = n ? kMe(i, r) : `${J0("全选本页")}<div class="flex flex-col gap-3">${X0(3)}${X0(4)}${X0(3)}</div>`;
+ return `<div class="peach-react"><div class="mx-auto flex w-full max-w-board flex-col gap-8">${K0()}<div class="flex flex-col gap-6">${q0(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"}">${wMe({
table: n,
...r
- })}${a}${SMe(n, i)}</div></div></div></div></div>`;
+ })}${a}${AMe(n, i)}</div></div></div></div></div>`;
};
-function TMe() {
- 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">${H0("85%")}${H0("65%")}${U0(pMe(), 4)}</div></aside></div>`;
+function NMe() {
+ 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">${V0("85%")}${V0("65%")}${H0(xMe(), 4)}</div></aside></div>`;
}
-function EMe(e, t = {}) {
+function PMe(e, t = {}) {
let n = "";
- if (e === "/stats") n = lMe();
+ if (e === "/stats") n = _Me();
else if (e === "/jav") {
- let e = dU(new URLSearchParams(location.search).get("tab"));
- n = oMe(e === "library" ? "discover" : e);
- } else if (e === "/taste") n = uMe();
- else if (e === "/subscriptions") n = wMe(t);
- else if (e.startsWith("/settings/") && e.split("/")[2] in kf) n = Zje(kf[e.split("/")[2]]);
+ let e = uU(new URLSearchParams(location.search).get("tab"));
+ n = mMe(e === "library" ? "discover" : e);
+ } else if (e === "/taste") n = vMe();
+ else if (e === "/subscriptions") n = MMe(t);
+ else if (e.startsWith("/settings/") && e.split("/")[2] in kf) n = aMe(kf[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 bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${G0("8em")}</span><span class="text-caption-1-regular">${G0("14em")}</span>${G0("60%")}${G0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${G0("6em")}</div></div></section>`).join("")}</div></div>`;
- else if (e === "/duplicates") n = dMe();
- else if (e === "/quality-goals") n = fMe();
+ ].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 bg-background-secondary-default"><div class="flex flex-col gap-1.5 px-5 pt-5 pb-4"><span class="text-title-1-medium">${W0("8em")}</span><span class="text-caption-1-regular">${W0("14em")}</span>${W0("60%")}${W0("40%")}</div><div class="border-t border-separator-border px-5 py-2.5">${W0("6em")}</div></div></section>`).join("")}</div></div>`;
+ else if (e === "/duplicates") n = yMe();
+ else if (e === "/quality-goals") n = bMe();
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>${Os({
label: "新建",
- attrs: W0
- })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${U0("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;
+ attrs: U0
+ })}</div></header><div class="mx-auto w-full max-w-board"><div class="ui-playlistcards card-grid-cover gap-4.5">${H0("<article class=\"playlistcard skeletoncard\"><i></i><b></b><em></em></article>", 6)}</div></div></section></div>`;
else return "";
return `<div class="board-page-skeleton" data-skeleton="board${e}" role="status" aria-label="正在读取页面"><div aria-hidden="true" inert>${n}</div></div>`;
}
// src/react/components/overlay-host.ts
-function DMe(e) {
+function FMe(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 $0(e) {
+function Q0(e) {
let t = e?.ownerDocument ?? globalThis.document, n = e?.closest("dialog[open]");
- return DMe(n ?? t.body);
+ return FMe(n ?? t.body);
}
-var e2 = "[role=\"dialog\"],[role=\"listbox\"],[role=\"menu\"]";
-function OMe(e) {
+var $0 = "[role=\"dialog\"],[role=\"listbox\"],[role=\"menu\"]";
+function IMe(e) {
let t = e.querySelector(":scope > [data-react-overlays]");
for (let e = t?.lastElementChild; e; e = e.previousElementSibling) {
- let t = e.matches(e2) ? e : e.querySelector(e2);
+ let t = e.matches($0) ? e : e.querySelector($0);
if (t) return t;
}
return null;
}
-function t2(e) {
+function e2(e) {
let t = document.getElementById("toasts"), n = e?.open ? e : document.body;
t && t.parentElement !== n && n.append(t);
}
// src/react/follow-detail/follow-detail.ts
-var n2 = (e) => ["follow-item", e], kMe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, AMe = "/api/follow/save", jMe = "/api/follow/media/hide", r2 = class extends Error {
+var t2 = (e) => ["follow-item", e], LMe = (e) => `/api/follow?item=${encodeURIComponent(e)}`, RMe = "/api/follow/save", zMe = "/api/follow/media/hide", n2 = class extends Error {
constructor() {
super("这条关注内容已不存在");
}
};
-async function i2(e, t) {
- let n = await B(kMe(e), t);
+async function r2(e, t) {
+ let n = await B(LMe(e), t);
for (let t of n.groups || []) {
let r = la(t).find((t) => t.id === e);
if (r) return {
@@ -73075,9 +73153,9 @@ async function i2(e, t) {
aliases: n.author_aliases || []
};
}
- throw new r2();
+ throw new n2();
}
-function MMe(e) {
+function BMe(e) {
for (let [, t] of H.getQueriesData({ queryKey: ["follow-item"] })) {
if (!t?.group) continue;
let n = la(t.group).find((t) => t.id === e);
@@ -73088,20 +73166,20 @@ function MMe(e) {
}
return null;
}
-async function a2(e, t) {
- let n = n2(e.id), r = ua(e.id), i = H.getQueryData(ia) ? null : H.fetchQuery({
+async function i2(e, t) {
+ let n = t2(e.id), r = ua(e.id), i = H.getQueryData(ia) ? null : H.fetchQuery({
queryKey: ia,
queryFn: () => aa(t)
}), a = r ? {
...r,
item: r.item
- } : H.getQueryData(n) ?? MMe(e.id);
+ } : H.getQueryData(n) ?? BMe(e.id);
a ? H.setQueryData(n, a) : await H.fetchQuery({
queryKey: n,
- queryFn: () => i2(e.id, t)
+ queryFn: () => r2(e.id, t)
}), await i;
}
-function NMe(e, t, n, r) {
+function VMe(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 && va(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,
@@ -73116,32 +73194,32 @@ function NMe(e, t, n, r) {
src: e.playable ? `/follow-stream?id=${e.id}${s ? `&media=${s.index}` : ""}` : ""
};
}
-var PMe = (e) => la(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), FMe = {
+var HMe = (e) => la(e).find((e) => (e.media_items || []).some((e) => e.resource_group)), UMe = {
"gofile.io": "Gofile",
"pixeldrain.com": "Pixeldrain",
"mega.nz": "MEGA",
"mega.io": "MEGA",
"mediafire.com": "MediaFire",
"drive.google.com": "Google Drive"
-}, IMe = {
+}, WMe = {
gofile: "Gofile",
pixeldrain: "Pixeldrain",
mega: "MEGA",
mediafire: "MediaFire",
google_drive: "Google Drive"
};
-function LMe(e) {
+function GMe(e) {
try {
let t = new URL(e).hostname.replace(/^www\./, "");
- return FMe[t] || t;
+ return UMe[t] || t;
} catch {
return "外部文件页";
}
}
-function o2(e, t) {
- return IMe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
+function a2(e, t) {
+ return WMe[e?.resource_provider || ""] || t.provider_label || t.provider || "在线图片";
}
-function RMe(e, t, n = "") {
+function KMe(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;
@@ -73150,54 +73228,54 @@ function RMe(e, t, n = "") {
title: e.is_release && t.author ? `${t.author}:${i}` : i
};
}
-var zMe = (e) => String(e.name || "").trim(), s2 = (e, t) => e.tag_types?.[t] || "unknown", BMe = /* @__PURE__ */ new Set([
+var qMe = (e) => String(e.name || "").trim(), o2 = (e, t) => e.tag_types?.[t] || "unknown", JMe = /* @__PURE__ */ new Set([
"artist",
"character",
"copyright",
"metadata",
"unknown"
]);
-function VMe(e, t) {
- let n = s2(e, t);
- return `r34-${BMe.has(n) ? n : "general"}`;
+function YMe(e, t) {
+ let n = o2(e, t);
+ return `r34-${JMe.has(n) ? n : "general"}`;
}
-var c2 = [
+var s2 = [
"copyright",
"character",
"artist",
"general",
"metadata"
];
-function HMe(e, t) {
+function XMe(e, t) {
let n = e.detail_tags || e.tags || [], r = (t) => {
- let n = c2.indexOf(s2(e, t));
- return n < 0 ? c2.length : n;
+ let n = s2.indexOf(o2(e, t));
+ return n < 0 ? s2.length : n;
};
return [...n].sort((e, n) => r(e) - r(n) || t(e).localeCompare(t(n)));
}
-function l2(e, t) {
+function c2(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 UMe = (e, t) => ({
+var ZMe = (e, t) => ({
sources: e.sources,
aliases: e.aliases,
credentials: t
-}), u2 = (e) => e?.size ? { size: e.size } : {};
-function WMe(e, t) {
+}), l2 = (e) => e?.size ? { size: e.size } : {};
+function QMe(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: o2(t, e),
- ...u2(t)
+ source: a2(t, e),
+ ...l2(t)
})) : r === "image" && i ? [{
src: i,
thumb: e.thumb_url || i,
name: e.title,
- source: o2(a, e),
- ...u2(a)
+ source: a2(a, e),
+ ...l2(a)
}] : e.thumb_url ? [{
src: e.thumb_url,
thumb: e.thumb_url,
@@ -73205,7 +73283,7 @@ function WMe(e, t) {
source: e.provider_label || e.provider || "在线图片"
}] : [];
}
-var GMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", d2 = "清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。", f2 = "指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。", p2 = "点击参数插入光标处,选中文字可替换。方括号里的内容在字段为空时整段省略。", m2 = "按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。", h2 = "这些作品的源文件已删除,喜欢、稍后看、播放列表与观看历史仍保留。选择替代文件后,这些记录会转移到该文件,旧作品记录随之删除。", g2 = "勾选女优,永久删除她们在全部来源中的影片文件、影片资料和观看记录,包括回收站中的影片。女优档案和照片保留。共同出演的同一文件只删除一次。", _2 = "disabled data-skeleton-action", v2 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, y2 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, b2 = (e, t) => `<h3 class="text-title-2-medium text-text-primary${t ? ` ${t}` : ""}">${e}</h3>`, x2 = (e, { label: t = "", className: n = "" } = {}) => `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1${n ? ` ${n}` : ""}">${t ? `<span class="flex items-center gap-0.5 text-body-medium text-text-primary">${t}</span>` : ""}<div class="relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent p-2"><div class="flex w-full items-center gap-2 min-w-0"><div class="flex flex-1 items-center gap-0.5 min-w-0"><span class="flex min-w-0 flex-1 items-center pl-1 font-sans text-body-regular text-text-tertiary">${e}&#8203;</span></div></div></div></div>`, KMe = [
+var $Me = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", u2 = "清理文件名中的特殊符号与乱码,也可按模板改名并归入目录。先预览,确认后执行;执行过的一批可以整批退回。", d2 = "指定路径时包含子目录,目录模板以该路径为起点。模板均留空时只清理文件名。", f2 = "点击参数插入光标处,选中文字可替换。方括号里的内容在字段为空时整段省略。", p2 = "按馆藏记录逐条查找本地磁盘与网盘上的文件,列出文件已不存在的记录、空文件夹,以及不再被引用的缓存。", m2 = "这些作品的源文件已删除,喜欢、稍后看、播放列表与观看历史仍保留。选择替代文件后,这些记录会转移到该文件,旧作品记录随之删除。", h2 = "勾选女优,永久删除她们在全部来源中的影片文件、影片资料和观看记录,包括回收站中的影片。女优档案和照片保留。共同出演的同一文件只删除一次。", g2 = "disabled data-skeleton-action", _2 = (e) => `<span class="skeleton skeleton-text" style="width:${e}"></span>`, v2 = (e, t, n = !1) => `<span class="skeleton" style="width:${e}px;height:${t}px;flex:none${n ? ";border-radius:50%" : ""}"></span>`, y2 = (e, t) => `<h3 class="text-title-2-medium text-text-primary${t ? ` ${t}` : ""}">${e}</h3>`, b2 = (e, { label: t = "", className: n = "" } = {}) => `<div data-input-size="medium" class="group flex h-max w-full flex-col items-start gap-1${n ? ` ${n}` : ""}">${t ? `<span class="flex items-center gap-0.5 text-body-medium text-text-primary">${t}</span>` : ""}<div class="relative flex w-full items-center rounded-2lg bg-background-tertiary-default text-foreground-icon-tertiary ring-2 ring-inset ring-transparent p-2"><div class="flex w-full items-center gap-2 min-w-0"><div class="flex flex-1 items-center gap-0.5 min-w-0"><span class="flex min-w-0 flex-1 items-center pl-1 font-sans text-body-regular text-text-tertiary">${e}&#8203;</span></div></div></div></div>`, eNe = [
"3em",
"5em",
"5em",
@@ -73215,7 +73293,7 @@ var GMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", d2
"8em",
"8em",
"10em"
-], qMe = [
+], tNe = [
"5.8em",
"6.4em",
"7em",
@@ -73225,70 +73303,70 @@ var GMe = (e) => e === "seen" ? "已标记看过" : "已更新关注状态", d2
"5.8em",
"9em",
"9em"
-], S2 = (e, t) => Os({
+], x2 = (e, t) => Os({
variant: e,
size: "small",
- label: v2(t)
+ label: _2(t)
});
-function JMe() {
- return `<section class="${u$("stack")}">
- <div class="${c$.stack}">${b2("整理", "mb-3")}
- <p class="text-body-regular text-text-secondary">${d2}</p>
+function nNe() {
+ return `<section class="${l$("stack")}">
+ <div class="${s$.stack}">${y2("整理", "mb-3")}
+ <p class="text-body-regular text-text-secondary">${u2}</p>
<div class="mt-3 flex flex-col gap-3">
- <div class="flex min-w-0 flex-wrap items-start gap-2">${As(v2("3em"), {
+ <div class="flex min-w-0 flex-wrap items-start gap-2">${As(_2("3em"), {
prefix: "来源",
className: "w-fit min-w-25",
attrs: "aria-disabled=\"true\""
})}
- <div class="flex min-w-0 basis-64 flex-1 items-start gap-2">${x2("留空整理整个来源", { className: "min-w-0 flex-1" })}<button type="button" class="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 size-9">${Ts("folder-search", "size-5 shrink-0")}</button></div>
+ <div class="flex min-w-0 basis-64 flex-1 items-start gap-2">${b2("留空整理整个来源", { className: "min-w-0 flex-1" })}<button type="button" class="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 size-9">${Ts("folder-search", "size-5 shrink-0")}</button></div>
</div>
- <p class="text-caption-1-regular text-text-secondary">${f2}</p>
- ${x2(v2("12em"), { label: "文件名模板" })}${x2(v2("8em"), { label: "目录模板" })}
- <div class="flex flex-col gap-2"><p class="text-caption-1-medium text-text-secondary">套用模板</p><div class="flex flex-wrap gap-2">${KMe.map((e) => S2("secondary", e)).join("")}</div></div>
- <p class="text-caption-1-regular text-text-secondary">路径示例:${v2("16em")}</p>
- <div class="flex flex-col gap-2"><p class="text-caption-1-regular text-text-secondary"><strong class="text-caption-1-semibold text-text-primary">插入参数</strong>(到文件名模板)</p><div class="flex flex-wrap gap-1">${qMe.map((e) => S2("ghost", e)).join("")}</div></div>
- <p class="text-caption-1-regular leading-4.5 text-text-secondary">${p2}</p>
+ <p class="text-caption-1-regular text-text-secondary">${d2}</p>
+ ${b2(_2("12em"), { label: "文件名模板" })}${b2(_2("8em"), { label: "目录模板" })}
+ <div class="flex flex-col gap-2"><p class="text-caption-1-medium text-text-secondary">套用模板</p><div class="flex flex-wrap gap-2">${eNe.map((e) => x2("secondary", e)).join("")}</div></div>
+ <p class="text-caption-1-regular text-text-secondary">路径示例:${_2("16em")}</p>
+ <div class="flex flex-col gap-2"><p class="text-caption-1-regular text-text-secondary"><strong class="text-caption-1-semibold text-text-primary">插入参数</strong>(到文件名模板)</p><div class="flex flex-wrap gap-1">${tNe.map((e) => x2("ghost", e)).join("")}</div></div>
+ <p class="text-caption-1-regular leading-4.5 text-text-secondary">${f2}</p>
</div>
</div>
- <footer class="${l$.stack}">${Os({
+ <footer class="${c$.stack}">${Os({
label: "预览",
- attrs: _2
+ attrs: g2
})}</footer>
</section>`;
}
-var YMe = () => `<section class="flex scroll-mt-20 flex-col gap-4">
- <section class="${u$("split")}"><div class="${c$.split}">${b2("资源同步", "mb-2")}
- <p class="max-w-190 text-body-2-regular leading-5 text-text-secondary">${m2}</p></div>
- <footer class="${l$.split}">${Os({
+var rNe = () => `<section class="flex scroll-mt-20 flex-col gap-4">
+ <section class="${l$("split")}"><div class="${s$.split}">${y2("资源同步", "mb-2")}
+ <p class="max-w-190 text-body-2-regular leading-5 text-text-secondary">${p2}</p></div>
+ <footer class="${c$.split}">${Os({
glyph: "git-compare",
label: "检查文件",
- attrs: _2
+ attrs: g2
})}</footer></section>
-</section>`, C2 = (e, t = !1) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular leading-5 text-text-secondary">${e}</span><b class="text-title-2-semibold font-bold leading-5 tabular-nums text-text-primary">${v2("3em")}</b>${t ? `<small class="text-caption-1-regular leading-5 text-text-secondary">${v2("14em")}</small>` : ""}</div>`, XMe = () => `<section class="flex scroll-mt-20 flex-col gap-4">
- <section class="${u$("stack")}"><div class="${c$.stack}">${b2("链接管理", "mb-2")}
- <div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${C2("链接总数", !0)}${[
+</section>`, S2 = (e, t = !1) => `<div class="flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular leading-5 text-text-secondary">${e}</span><b class="text-title-2-semibold font-bold leading-5 tabular-nums text-text-primary">${_2("3em")}</b>${t ? `<small class="text-caption-1-regular leading-5 text-text-secondary">${_2("14em")}</small>` : ""}</div>`, iNe = () => `<section class="flex scroll-mt-20 flex-col gap-4">
+ <section class="${l$("stack")}"><div class="${s$.stack}">${y2("链接管理", "mb-2")}
+ <div class="link-stat-grid mt-4 gap-x-8 gap-y-3">${S2("链接总数", !0)}${[
0,
1,
2
-].map(() => C2(v2("5em"))).join("")}</div>
+].map(() => S2(_2("5em"))).join("")}</div>
<div class="mt-4 flex min-w-0 flex-col gap-0.5"><span class="text-caption-1-regular text-text-secondary">主要站点</span><div class="flex min-w-0 flex-wrap gap-x-5 gap-y-2">${[
"7em",
"10em",
"8em"
-].map((e) => `<span class="inline-flex min-w-0 items-center gap-1.5 text-body-2-medium">${y2(16, 16)}${v2(e)}${y2(28, 24)}</span>`).join("")}</div></div></div>
- <footer class="${l$.stack}">${Os({
+].map((e) => `<span class="inline-flex min-w-0 items-center gap-1.5 text-body-2-medium">${v2(16, 16)}${_2(e)}${v2(28, 24)}</span>`).join("")}</div></div></div>
+ <footer class="${c$.stack}">${Os({
glyph: "link",
label: "检查死链",
- attrs: _2
+ attrs: g2
})}</footer></section>
</section>`;
-function w2({ title: e, description: t, search: n = "", columns: r, rows: i }) {
- let a = r.reduce((e, { width: t }) => e + t, 48), o = `<th style="width:48px"><span class="flex items-center gap-0.5">${Y0()}</span></th>${r.map(({ label: e, width: t }, n) => `<th${n ? ` style="width:${t}px"` : ""}><span class="flex items-center gap-0.5">${e}<span data-sort-indicator>${Q0}</span></span></th>`).join("")}<th data-table-space style="width:0"></th>`, s = `<tr><td>${Y0()}</td>${r.map(({ cell: e }) => `<td>${e}</td>`).join("")}<td data-table-space></td></tr>`, c = n ? `<div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Ds("", "", n)}</div>` : "";
- return `<div data-data-table-panel class="${TU({
+function C2({ title: e, description: t, search: n = "", columns: r, rows: i }) {
+ let a = r.reduce((e, { width: t }) => e + t, 48), o = `<th style="width:48px"><span class="flex items-center gap-0.5">${J0()}</span></th>${r.map(({ label: e, width: t }, n) => `<th${n ? ` style="width:${t}px"` : ""}><span class="flex items-center gap-0.5">${e}<span data-sort-indicator>${Z0}</span></span></th>`).join("")}<th data-table-space style="width:0"></th>`, s = `<tr><td>${J0()}</td>${r.map(({ cell: e }) => `<td>${e}</td>`).join("")}<td data-table-space></td></tr>`, c = n ? `<div data-index-search class="ml-auto min-w-0 max-w-80 flex-1">${Ds("", "", n)}</div>` : "";
+ return `<div data-data-table-panel class="${wU({
padding: "none",
className: "flex flex-col gap-4 px-6 py-5 max-sm:px-4"
})}">
- <div data-responsive-toolbar><div data-toolbar-heading>${b2(e, "")}<span class="text-body-2-regular tabular-nums text-text-secondary">${v2("4em")}</span></div>
+ <div data-responsive-toolbar><div data-toolbar-heading>${y2(e, "")}<span class="text-body-2-regular tabular-nums text-text-secondary">${_2("4em")}</span></div>
<div data-toolbar-actions>${c}<div class="flex flex-none gap-2">${Os({
variant: "secondary",
label: "显示列"
@@ -73299,38 +73377,38 @@ function w2({ title: e, description: t, search: n = "", columns: r, rows: i }) {
<span class="flex flex-none items-center gap-2">${As("默认顺序", { prefix: "排序" })}${Os({
variant: "secondary",
glyph: "arrow-up",
- attrs: _2
+ attrs: g2
})}</span></div></div>
<p class="text-body-2-regular text-text-secondary">${t}</p>
<div data-board-data-table data-resizable-table data-follow-table><div class="relative min-w-0"><div class="w-full overflow-x-auto"><table class="bui-table bui-table-sm" style="min-width:${a}px"><thead><tr>${o}</tr></thead><tbody>${s.repeat(i)}</tbody></table></div></div></div>
- <div data-table-pagination class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular tabular-nums text-text-secondary">${v2("8em")}</span><div data-toolbar-actions>${As("每页 20 条", { size: "sm" })}</div></div>
+ <div data-table-pagination class="flex flex-wrap items-center justify-between gap-3"><span class="mr-auto text-body-2-regular tabular-nums text-text-secondary">${_2("8em")}</span><div data-toolbar-actions>${As("每页 20 条", { size: "sm" })}</div></div>
</div>`;
}
-var ZMe = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span class="text-body-regular">${v2(e)}</span><small class="text-caption-1-regular">${v2(t)}</small></span>`, QMe = {
+var aNe = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span class="text-body-regular">${_2(e)}</span><small class="text-caption-1-regular">${_2(t)}</small></span>`, oNe = {
organize: {
label: "正在读取整理配置",
- body: JMe
+ body: nNe
},
"resource-sync": {
label: "正在读取资源同步状态",
- body: YMe
+ body: rNe
},
"orphan-records": {
label: "正在读取文件已丢失的记录",
- body: () => `<section class="flex scroll-mt-20 flex-col gap-4">${w2({
+ body: () => `<section class="flex scroll-mt-20 flex-col gap-4">${C2({
title: "文件已丢失的记录",
- description: h2,
+ description: m2,
rows: 4,
columns: [
{
label: "作品",
width: 480,
- cell: `<span class="flex min-w-0 items-center gap-3"><span class="skeleton flex-none rounded-lg max-cleanup-tight:hidden" style="width:96px;height:60px"></span>${ZMe("70%", "40%")}</span>`
+ cell: `<span class="flex min-w-0 items-center gap-3"><span class="skeleton flex-none rounded-lg max-cleanup-tight:hidden" style="width:96px;height:60px"></span>${aNe("70%", "40%")}</span>`
},
{
label: "个人记录",
width: 176,
- cell: v2("6em")
+ cell: _2("6em")
},
{
label: "操作",
@@ -73339,7 +73417,7 @@ var ZMe = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span cl
variant: "secondary",
size: "small",
label: "删除记录",
- attrs: _2
+ attrs: g2
})
}
]
@@ -73347,50 +73425,50 @@ var ZMe = (e, t) => `<span class="flex min-w-0 flex-1 flex-col gap-0.5"><span cl
},
"media-repair": {
label: "正在读取媒体修复状态",
- body: Gke
+ body: $ke
},
links: {
label: "正在读取链接统计",
- body: XMe
+ body: iNe
},
"batch-delete": {
label: "正在读取女优列表",
- body: () => `<section class="flex min-w-0 scroll-mt-20 flex-col gap-3">${w2({
+ body: () => `<section class="flex min-w-0 scroll-mt-20 flex-col gap-3">${C2({
title: "批量删除",
- description: g2,
+ description: h2,
search: "搜索女优姓名或别名",
rows: 12,
columns: [
{
label: "女优",
width: 280,
- cell: `<span class="flex min-w-0 items-center gap-3">${y2(32, 32, !0)}${v2("5em")}</span>`
+ cell: `<span class="flex min-w-0 items-center gap-3">${v2(32, 32, !0)}${_2("5em")}</span>`
},
{
label: "影片",
width: 104,
- cell: v2("3em")
+ cell: _2("3em")
},
{
label: "文件",
width: 104,
- cell: v2("3em")
+ cell: _2("3em")
},
{
label: "登记大小",
width: 136,
- cell: v2("4em")
+ cell: _2("4em")
}
]
})}</section>`
}
};
-function T2(e) {
- let { label: t, body: n } = QMe[e];
+function w2(e) {
+ let { label: t, body: n } = oNe[e];
return `<div class="peach-react" data-skeleton="cleanup/${e}" aria-busy="true" role="status" aria-label="${t}"><div aria-hidden="true" inert class="mx-auto flex w-full max-w-board flex-col gap-8">${n()}</div></div>`;
}
// src/management-placeholder.ts
-var E2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => ac(e, {
+var T2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill: a, cardRatio: o, gridClass: s = "", gridSize: c = "" } = {}) => ac(e, {
variant: r || (t ? "cards" : "panel"),
className: n,
gridClass: s,
@@ -73398,7 +73476,7 @@ var E2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill
...i ? { count: i } : {},
...a === void 0 ? {} : { fill: a },
...o ? { cardRatio: o } : {}
-}), $Me = [
+}), sNe = [
"元数据字段",
"创作者标签",
"厂牌 Logo",
@@ -73408,39 +73486,39 @@ var E2 = (e, { cards: t = !1, className: n = "", variant: r = "", count: i, fill
"FC2 评论标记",
"FC2 跨号相似",
"片尾/出处证据"
-], eNe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${z(e)}">
+], cNe = (e = "正在读取复核队列") => `<div class="review review-workspace review-skeleton" data-skeleton="review" aria-busy="true" aria-label="${z(e)}">
<div class="reviewcontrols" data-section-nav><h2 class="review-category-title">复核分类</h2>
- <div class="reviewtabs" data-section-items>${$Me.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${z(e)}<span class="skeleton reviewcountskeleton" aria-hidden="true"></span></button>`).join("")}</div></div>
+ <div class="reviewtabs" data-section-items>${sNe.map((e, t) => `<button type="button" disabled aria-selected="${t === 0}">${z(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>`, tNe = {
- "/data-cleanup": () => Kke(),
- ...Object.fromEntries(Yf.map((e) => [e.path, () => T2(e.key)])),
- "/resource-sync": () => T2("resource-sync"),
- "/review": () => eNe(),
+ <section class="reviewsection"><div class="reviewlist">${"<div class=\"skeletoncard\" aria-hidden=\"true\"><i></i><b></b><em></em></div>".repeat(6)}</div></section></div>`, lNe = {
+ "/data-cleanup": () => eAe(),
+ ...Object.fromEntries(Yf.map((e) => [e.path, () => w2(e.key)])),
+ "/resource-sync": () => w2("resource-sync"),
+ "/review": () => cNe(),
"/sources": () => `<div class="scraping-page"><p>高清图片可能要经代理才能下载,先检查连接。</p>
- ${E2("正在读取采集来源", {
+ ${T2("正在读取采集来源", {
cards: !0,
count: 4,
fill: !1,
className: "cleanup-skeleton"
})}</div>`
};
-function D2(e, { followLayout: t, followSort: n, followDir: r }) {
- return EMe(e, {
+function E2(e, { followLayout: t, followSort: n, followDir: r }) {
+ return PMe(e, {
followLayout: t,
...e === "/subscriptions" ? {
followSort: n,
followDir: r
} : {}
- }) || (tNe[e] ?? (() => E2("正在读取页面")))();
+ }) || (lNe[e] ?? (() => T2("正在读取页面")))();
}
-var O2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
-function k2(e, t) {
- let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = O2(t);
+var D2 = (e) => String(e).match(/data-skeleton="([^"]*)"/)?.[1] || "";
+function O2(e, t) {
+ let n = e.querySelector("[data-skeleton]")?.dataset.skeleton || "", r = D2(t);
r && r === n || (e.innerHTML = t, pc(e));
}
// src/react/components/related-section.tsx
-function A2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {
+function k2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a, online: o = !1, ...s }) {
let c = (0, F.useCallback)((e) => {
e && (pc(e), t(e));
}, [t]);
@@ -73453,17 +73531,17 @@ function A2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,
children: "接着看"
}), i ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-related-state": "",
- children: /* @__PURE__ */ (0, I.jsx)(VG, {
+ children: /* @__PURE__ */ (0, I.jsx)(BG, {
message: i,
onRetry: a || (() => {})
})
}) : r && !n ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-related-state": "",
- children: /* @__PURE__ */ (0, I.jsx)(pV, {
+ children: /* @__PURE__ */ (0, I.jsx)(fV, {
size: "compact",
- icon: tV,
+ icon: eV,
title: "暂无接着看的内容",
- actions: /* @__PURE__ */ (0, I.jsx)(xL, {
+ actions: /* @__PURE__ */ (0, I.jsx)(bL, {
size: "small",
href: o ? "/follow" : "/",
children: o ? "返回关注" : "浏览馆藏"
@@ -73479,7 +73557,7 @@ function A2({ children: e, wireDrag: t, busy: n, empty: r, error: i, onRetry: a,
});
}
// src/react/components/detail-continuation.tsx
-function j2({ queue: e, children: t, queueCards: n }) {
+function A2({ queue: e, children: t, queueCards: n }) {
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-detail-continuation": "",
"data-queue-cards": n == null ? void 0 : Math.min(3, n),
@@ -73487,7 +73565,7 @@ function j2({ queue: e, children: t, queueCards: n }) {
});
}
// src/react/components/media-carousel.tsx
-function M2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {
+function j2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail: i }) {
let a = (0, F.useRef)(null), o = e.some((e) => e.video), s = !!i;
if ((0, F.useLayoutEffect)(() => {
let e = a.current?.querySelector("[data-media-thumbnails]");
@@ -73567,7 +73645,7 @@ function M2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail
"data-media-thumbnails": "",
role: "group",
"aria-label": "媒体缩略图",
- children: e.map((e, r) => /* @__PURE__ */ (0, I.jsx)(nNe, {
+ children: e.map((e, r) => /* @__PURE__ */ (0, I.jsx)(uNe, {
item: e,
selected: r === t,
onSelect: n,
@@ -73586,7 +73664,7 @@ function M2({ items: e, position: t, onSelect: n, below: r = !1, renderThumbnail
]
});
}
-function nNe({ item: e, selected: t, onSelect: n, render: r }) {
+function uNe({ item: e, selected: t, onSelect: n, render: r }) {
let i = (0, F.useRef)(null), [a, o] = (0, F.useState)(typeof IntersectionObserver > "u");
return (0, F.useEffect)(() => {
if (!i.current || a) return;
@@ -73612,14 +73690,14 @@ function nNe({ item: e, selected: t, onSelect: n, render: r }) {
});
}
// src/react/follow-detail/follow-related.ts
-var rNe = (e, t, n) => [
+var dNe = (e, t, n) => [
"follow-feed",
"related",
e,
t,
n
];
-function N2(e, t, n, r) {
+function M2(e, t, n, r) {
let i = new Set((t.group ? la(t.group) : [t.item]).map((e) => e.id)), a = /* @__PURE__ */ new Set(), o = new Set(t.item.tags || []), s = t.sources.find((e) => e.id === t.item.source_id)?.author_key, c = new Map(e.flatMap((e) => e.sources || []).map((e) => [e.id, e]));
return e.flatMap((e) => e.groups || []).filter((e) => {
let t = la(e);
@@ -73634,19 +73712,19 @@ function N2(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);
}
-var iNe = /* @__PURE__ */ new Set(["metadata", "artist"]);
-function aNe(e, t, n) {
+var fNe = /* @__PURE__ */ new Set(["metadata", "artist"]);
+function pNe(e, t, n) {
let r = (e) => e.detail_tags || e.tags || [], i = new Set(r(t.item)), a = t.sources.find((e) => e.id === t.item.source_id)?.author_key, o = new Map(e.flatMap((e) => e.sources || []).map((e) => [e.id, e])), s = /* @__PURE__ */ new Map();
for (let t of e.flatMap((e) => e.groups || [])) for (let e of r(ga(t, n))) s.set(e, (s.get(e) || 0) + 1);
return (e) => {
- let t = ga(e, n), c = t.source_id === void 0 ? void 0 : o.get(t.source_id), l = r(t).filter((e) => i.has(e) && !iNe.has(t.tag_types?.[e] || "")).sort((e, t) => (s.get(e) || 0) - (s.get(t) || 0) || e.localeCompare(t));
+ let t = ga(e, n), c = t.source_id === void 0 ? void 0 : o.get(t.source_id), l = r(t).filter((e) => i.has(e) && !fNe.has(t.tag_types?.[e] || "")).sort((e, t) => (s.get(e) || 0) - (s.get(t) || 0) || e.localeCompare(t));
return {
reasons: a && c?.author_key === a ? ["同创作者"] : [],
tags: l
};
};
}
-async function oNe(e, t, n, r) {
+async function mNe(e, t, n, r) {
let i = e.sources.find((t) => t.id === e.item.source_id)?.author_key || "", a = {
..._a(i),
status: "new",
@@ -73660,22 +73738,22 @@ async function oNe(e, t, n, r) {
}, t), r);
return o.push(n), n;
}, c = await s(i, 0);
- return N2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && N2(o, e, t, n).length < n && await s("", 0), {
+ return M2(o, e, t, n).length < n && c.has_more && await s(i, (c.offset || 0) + 100), i && M2(o, e, t, n).length < n && await s("", 0), {
pages: o,
pageParams: o.map((e) => e.offset || 0)
};
}
// src/react/components/detail-tags.tsx
-var P2 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var N2 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: R(e) }
-}), sNe = 20;
-function F2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, label: a, onOpen: o, onAdd: s, onRemove: c, busyAttrs: l }) {
+}), hNe = 20;
+function P2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, label: a, onOpen: o, onAdd: s, onRemove: c, busyAttrs: l }) {
let [u, d] = (0, F.useState)(null), [f, p] = (0, F.useState)(!1), m = Ft({
queryKey: ["tag-management", n],
queryFn: ({ signal: e }) => B(`/api/tag-management${n === "online" ? "?scope=online" : ""}`, e),
enabled: f && (n === "online" || !t.length)
- }), h = m.data?.items?.filter((e) => !e.hidden && !e.blocked && (n === "online" || e.cat !== "meta")) || t, g = _H(), _ = (e) => {
+ }), h = m.data?.items?.filter((e) => !e.hidden && !e.blocked && (n === "online" || e.cat !== "meta")) || t, g = gH(), _ = (e) => {
g.run("rename", async (t) => {
let r = (await H.fetchQuery({
queryKey: ["tag-management", n],
@@ -73686,7 +73764,7 @@ function F2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
}, (e) => d(e));
}, [v, y] = (0, F.useState)(!1), [b, x] = (0, F.useState)([]), S = (e) => {
x((t) => [...t, Un(e)]), s(e);
- }, C = e.length > 24, w = C && !v ? e.filter((e, t) => t < sNe || b.includes(Un(e.k))) : e;
+ }, C = e.length > 24, w = C && !v ? e.filter((e, t) => t < hNe || b.includes(Un(e.k))) : e;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-stage-tags": "",
@@ -73710,9 +73788,9 @@ function F2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
"data-edit-tag": e.k,
title: "修改标签名称",
"aria-label": `修改标签 ${a(e.k)}`,
- ..._V(!!g.busy),
+ ...gV(!!g.busy),
onClick: () => _(e),
- children: /* @__PURE__ */ (0, I.jsx)(P2, { name: "pencil" })
+ children: /* @__PURE__ */ (0, I.jsx)(N2, { name: "pencil" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -73721,7 +73799,7 @@ function F2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
"aria-label": `删除标签 ${a(e.k)}`,
...l(e.k),
onClick: () => c(e),
- children: /* @__PURE__ */ (0, I.jsx)(P2, { name: "x" })
+ children: /* @__PURE__ */ (0, I.jsx)(N2, { name: "x" })
})
]
}, e.k)),
@@ -73730,11 +73808,11 @@ function F2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
size: "small",
"data-tags-more": "",
"aria-expanded": v,
- trailingIcon: v ? CB : bB,
+ trailingIcon: v ? SB : yB,
onClick: () => y(!v),
children: v ? "收起" : `还有 ${e.length - w.length} 个`
}) : null,
- /* @__PURE__ */ (0, I.jsx)(cNe, {
+ /* @__PURE__ */ (0, I.jsx)(gNe, {
tags: e,
candidates: h,
label: a,
@@ -73746,11 +73824,11 @@ function F2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
})
]
}),
- g.error ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ g.error ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "error",
children: g.error
}) : null,
- m.isError ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ m.isError ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "error",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -73759,7 +73837,7 @@ function F2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
}),
children: "无法读取标签候选"
}) : null,
- u ? /* @__PURE__ */ (0, I.jsx)($Q, {
+ u ? /* @__PURE__ */ (0, I.jsx)(QQ, {
operation: "rename",
selected: [u],
scope: n,
@@ -73768,8 +73846,8 @@ function F2({ tags: e, candidates: t, scope: n = "local", id: r, adding: i, labe
}) : null
] });
}
-function cNe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a, onOpen: o, loading: s }) {
- let c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = HV(), d = (0, F.useRef)(null), f = (0, F.useRef)(!1), [p, m] = (0, F.useState)(!1), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(""), [y, b] = (0, F.useState)(-1), x = (0, F.useRef)({
+function gNe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a, onOpen: o, loading: s }) {
+ let c = (0, F.useRef)(null), l = (0, F.useRef)(null), u = VV(), d = (0, F.useRef)(null), f = (0, F.useRef)(!1), [p, m] = (0, F.useState)(!1), [h, g] = (0, F.useState)(""), [_, v] = (0, F.useState)(""), [y, b] = (0, F.useState)(-1), x = (0, F.useRef)({
adding: i,
query: h,
tags: e,
@@ -73814,7 +73892,7 @@ function cNe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
_,
t.length
]);
- let w = p ? Gue(_, t, zP()) : {
+ let w = p ? Zue(_, t, LP()) : {
recent: [],
results: [],
create: ""
@@ -73857,7 +73935,7 @@ function cNe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
"aria-pressed": i,
onClick: () => E(t, i),
children: [
- /* @__PURE__ */ (0, I.jsx)(P2, { name: i ? "check" : "tags" }),
+ /* @__PURE__ */ (0, I.jsx)(N2, { name: i ? "check" : "tags" }),
/* @__PURE__ */ (0, I.jsx)("span", {
"data-pick-name": "",
children: n(t.k)
@@ -73877,8 +73955,8 @@ function cNe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
title: "添加标签",
"aria-label": "添加标签",
"aria-expanded": p,
- ..._V(!!i),
- children: /* @__PURE__ */ (0, I.jsx)(P2, { name: "plus" })
+ ...gV(!!i),
+ children: /* @__PURE__ */ (0, I.jsx)(N2, { name: "plus" })
}), /* @__PURE__ */ (0, I.jsxs)("div", {
ref: l,
id: "tagPicker",
@@ -73891,7 +73969,7 @@ function cNe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
children: [s ? /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: Bs("正在读取标签") }
- }) : /* @__PURE__ */ (0, I.jsx)(P2, { name: "search" }), /* @__PURE__ */ (0, I.jsx)("input", {
+ }) : /* @__PURE__ */ (0, I.jsx)(N2, { name: "search" }), /* @__PURE__ */ (0, I.jsx)("input", {
ref: d,
id: "tagPickSearch",
maxLength: 80,
@@ -73935,7 +74013,7 @@ function cNe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
onClick: () => {
C(), r(w.create);
},
- children: [/* @__PURE__ */ (0, I.jsx)(P2, { name: "plus" }), /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(N2, { name: "plus" }), /* @__PURE__ */ (0, I.jsxs)("span", {
"data-pick-name": "",
children: [
"新建“",
@@ -73952,8 +74030,8 @@ function cNe({ tags: e, candidates: t, label: n, onAdd: r, adding: i, scope: a,
})] });
}
// src/react/follow-detail/follow-tags.tsx
-function lNe({ item: e, label: t, actions: n }) {
- let r = _H(), i = () => H.invalidateQueries({ predicate: (e) => [
+function _Ne({ item: e, label: t, actions: n }) {
+ let r = gH(), i = () => H.invalidateQueries({ predicate: (e) => [
"follow-feed",
"follow",
"tag-management"
@@ -73976,7 +74054,7 @@ function lNe({ item: e, label: t, actions: n }) {
}, "POST", t);
a(n), await i();
}, () => {
- o === "add" && BP(s);
+ o === "add" && RP(s);
let r = o === "add" ? "remove" : e.custom_tags?.includes(s) ? "add" : "restore";
n.toast(o === "add" ? `已添加标签「${t(s)}」` : `已删除标签「${t(s)}」`, { undo: async () => {
let t = await V("/api/follow/tag", {
@@ -73992,10 +74070,10 @@ function lNe({ item: e, label: t, actions: n }) {
"aria-label": "内容标签",
"data-follow-tag-editor": "",
"data-follow-detail-tags": "",
- children: [/* @__PURE__ */ (0, I.jsx)(F2, {
- tags: HMe(e, t).map((t) => ({
+ children: [/* @__PURE__ */ (0, I.jsx)(P2, {
+ tags: XMe(e, t).map((t) => ({
k: t,
- cat: VMe(e, t)
+ cat: YMe(e, t)
})),
scope: "online",
adding: !!r.busy,
@@ -74004,30 +74082,30 @@ function lNe({ item: e, label: t, actions: n }) {
onOpen: n.openTag,
onAdd: (e) => o("add", e),
onRemove: (e) => o("remove", e.k),
- busyAttrs: () => _V(!!r.busy)
- }), r.error ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ busyAttrs: () => gV(!!r.busy)
+ }), r.error ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "error",
children: r.error
}) : null]
});
}
// src/react/follow-detail/follow-detail-page.tsx
-var I2 = (e) => Number(e) > 0, uNe = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var F2 = (e) => Number(e) > 0, vNe = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: R(e) }
-}), L2 = R("external-link", "ui-externalmark");
-function dNe(e) {
+}), I2 = R("external-link", "ui-externalmark");
+function yNe(e) {
let { id: t, actions: n } = e, r = Ft({
- queryKey: n2(t),
- queryFn: ({ signal: e }) => i2(t, e)
+ queryKey: t2(t),
+ queryFn: ({ signal: e }) => r2(t, e)
}), i = Ft({
queryKey: ia,
queryFn: ({ signal: e }) => aa(e)
}), a = (0, F.useMemo)(() => new Set((i.data?.providers || []).filter((e) => e.present).map((e) => e.provider)), [i.data]), [o, s] = (0, F.useState)(e.mediaIndex);
- return r.data ? /* @__PURE__ */ (0, I.jsx)(mNe, {
+ return r.data ? /* @__PURE__ */ (0, I.jsx)(SNe, {
...e,
data: r.data,
- context: UMe(r.data, a),
+ context: ZMe(r.data, a),
mediaIndex: o,
onMedia: s
}) : /* @__PURE__ */ (0, I.jsx)("div", {
@@ -74036,9 +74114,9 @@ function dNe(e) {
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-stage-media": "",
"data-follow-detail-media": "none",
- children: [/* @__PURE__ */ (0, I.jsx)(R2, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {
+ children: [/* @__PURE__ */ (0, I.jsx)(L2, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-detail-placeholder": "",
- children: r.isError ? fNe(r.error) ? /* @__PURE__ */ (0, I.jsx)(pNe, { onBack: n.close }) : /* @__PURE__ */ (0, I.jsx)(VG, {
+ children: r.isError ? bNe(r.error) ? /* @__PURE__ */ (0, I.jsx)(xNe, { onBack: n.close }) : /* @__PURE__ */ (0, I.jsx)(BG, {
message: xn(r.error),
onRetry: () => void r.refetch()
}) : null
@@ -74046,8 +74124,8 @@ function dNe(e) {
})
});
}
-var fNe = (e) => e instanceof r2 || e instanceof sr && e.status === 404;
-function pNe({ onBack: e }) {
+var bNe = (e) => e instanceof n2 || e instanceof sr && e.status === 404;
+function xNe({ onBack: e }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-follow-detail-gone": "",
onClick: (t) => {
@@ -74056,7 +74134,7 @@ function pNe({ onBack: e }) {
dangerouslySetInnerHTML: { __html: zs("这条关注内容已不存在,可能已被来源删除或已清理。", { actionLabel: "回到关注" }) }
});
}
-var R2 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
+var L2 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -74065,8 +74143,8 @@ var R2 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: R("x") }
});
-function mNe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
- let { item: c, group: l } = e, u = NMe(c, l, n, i), d = bNe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, F.useState)({
+function SNe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, relatedLimit: a, helpers: o, actions: s }) {
+ let { item: c, group: l } = e, u = VMe(c, l, n, i), d = ONe(c, s, r), f = `${c.id}:${u.selected?.index ?? ""}`, [p, m] = (0, F.useState)({
key: "",
kind: ""
}), h = {
@@ -74086,20 +74164,20 @@ function mNe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
c,
u.kind
]);
- let g = !u.embedded.length && u.collection ? PMe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, I.jsx)(H2, {
+ let g = !u.embedded.length && u.collection ? HMe(u.collection) : void 0, _ = u.embeddedQueue ? /* @__PURE__ */ (0, I.jsx)(V2, {
item: c,
current: u.selected.index,
helpers: o,
actions: s,
onMedia: r
- }) : u.collection ? g ? /* @__PURE__ */ (0, I.jsx)(H2, {
+ }) : u.collection ? g ? /* @__PURE__ */ (0, I.jsx)(V2, {
item: g,
current: null,
helpers: o,
actions: s,
onMedia: r,
currentId: c.id
- }) : /* @__PURE__ */ (0, I.jsx)(_Ne, {
+ }) : /* @__PURE__ */ (0, I.jsx)(TNe, {
group: u.collection,
itemId: c.id,
helpers: o,
@@ -74109,14 +74187,14 @@ function mNe({ 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, I.jsx)(gNe, {
+ children: [/* @__PURE__ */ (0, I.jsx)(wNe, {
item: c,
media: u,
helpers: o,
actions: s,
onMedia: r,
issues: h
- }, f), /* @__PURE__ */ (0, I.jsx)(vNe, {
+ }, f), /* @__PURE__ */ (0, I.jsx)(ENe, {
item: c,
data: e,
context: t,
@@ -74126,9 +74204,9 @@ function mNe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
helpers: o,
actions: s
})]
- }), /* @__PURE__ */ (0, I.jsx)(j2, {
+ }), /* @__PURE__ */ (0, I.jsx)(A2, {
queue: _,
- children: a > 0 ? /* @__PURE__ */ (0, I.jsx)(hNe, {
+ children: a > 0 ? /* @__PURE__ */ (0, I.jsx)(CNe, {
data: e,
media: u.kind === "image" ? "images" : u.kind === "video" ? "videos" : i,
limit: a,
@@ -74138,23 +74216,23 @@ function mNe({ data: e, context: t, mediaIndex: n, onMedia: r, mediaView: i, rel
}) : null
})] });
}
-function hNe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
+function CNe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }) {
let o = Ft({
- queryKey: rNe(e.item.id, t, n),
- queryFn: ({ signal: r }) => oNe(e, t, n, r)
- }), [s] = (0, F.useState)(() => E2("正在读取推荐", {
+ queryKey: dNe(e.item.id, t, n),
+ queryFn: ({ signal: r }) => mNe(e, t, n, r)
+ }), [s] = (0, F.useState)(() => T2("正在读取推荐", {
cards: !0,
className: "related-skeleton"
})), c = (0, F.useMemo)(() => ({
openDetail: a.openItem,
openAuthor: a.openAuthor,
canFlip: a.canFlip
- }), [a]), l = N2(o.data?.pages || [], e, t, n), u = aNe(o.data?.pages || [], e, t), d = o.data?.pages.at(-1)?.sources || e.sources, f = {
+ }), [a]), l = M2(o.data?.pages || [], e, t, n), u = pNe(o.data?.pages || [], e, t), d = o.data?.pages.at(-1)?.sources || e.sources, f = {
...r,
sources: d,
aliases: o.data?.pages.at(-1)?.author_aliases || r.aliases
};
- return /* @__PURE__ */ (0, I.jsx)(A2, {
+ return /* @__PURE__ */ (0, I.jsx)(k2, {
online: !0,
"data-follow-related": "",
wireDrag: i.wireDrag,
@@ -74164,11 +74242,11 @@ function hNe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }
onRetry: () => {
o.refetch();
},
- children: o.data ? l.map((e) => /* @__PURE__ */ (0, I.jsx)(NZ, {
+ children: o.data ? l.map((e) => /* @__PURE__ */ (0, I.jsx)(MZ, {
variant: "next",
group: e,
media: t,
- authorSources: l2(e.primary, d),
+ authorSources: c2(e.primary, d),
context: f,
selected: !1,
selectMode: !1,
@@ -74182,8 +74260,8 @@ function hNe({ data: e, media: t, limit: n, context: r, helpers: i, actions: a }
})
});
}
-function gNe({ 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, F.useRef)(null), p = WMe(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, F.useState)(g), b = (0, F.useRef)({
+function wNe({ 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, F.useRef)(null), p = QMe(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, F.useState)(g), b = (0, F.useRef)({
item: e,
selected: o
}), x = (0, F.useRef)(i.failed);
@@ -74197,14 +74275,14 @@ function gNe({ 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, I.jsx)(R2, { onClose: n.close }),
+ /* @__PURE__ */ (0, I.jsx)(L2, { onClose: n.close }),
h ? null : g ? /* @__PURE__ */ (0, I.jsx)("img", {
"data-follow-detail-poster": "",
"data-zoomable": p.length ? "" : void 0,
src: v,
alt: e.title,
referrerPolicy: "no-referrer",
- onClick: p.length ? () => void SZ(Math.max(0, l), p) : void 0,
+ onClick: p.length ? () => void xZ(Math.max(0, l), p) : void 0,
onError: () => {
_ && v !== _ ? (y(_), i.thumbFallback()) : i.failed();
}
@@ -74212,10 +74290,10 @@ function gNe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
"data-follow-detail-placeholder": "",
children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: hG(e.resource_provider || e.provider) }
+ dangerouslySetInnerHTML: { __html: mG(e.resource_provider || e.provider) }
}), /* @__PURE__ */ (0, I.jsx)("span", { children: "没有可用预览" })]
}),
- u ? /* @__PURE__ */ (0, I.jsx)(M2, {
+ u ? /* @__PURE__ */ (0, I.jsx)(j2, {
items: c,
position: l,
onSelect: r,
@@ -74232,11 +74310,11 @@ function gNe({ item: e, media: t, actions: n, onMedia: r, issues: i }) {
]
});
}
-var z2 = ({ kind: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var R2 = ({ kind: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-nothumb": "",
dangerouslySetInnerHTML: { __html: R(e === "image" ? "image-off" : "play") }
});
-function B2({ src: e }) {
+function z2({ src: e }) {
let [t, n] = (0, F.useState)(!1);
return t ? null : /* @__PURE__ */ (0, I.jsx)("img", {
src: e,
@@ -74246,27 +74324,27 @@ function B2({ src: e }) {
onError: () => n(!0)
});
}
-function V2(e) {
+function B2(e) {
return (0, F.useCallback)((t) => {
t && e.wireDrag(t);
}, [e]);
}
-function _Ne({ group: e, itemId: t, helpers: n, actions: r }) {
- let i = va(e), a = V2(n);
- return /* @__PURE__ */ (0, I.jsx)(wK, {
+function TNe({ group: e, itemId: t, helpers: n, actions: r }) {
+ let i = va(e), a = B2(n);
+ return /* @__PURE__ */ (0, I.jsx)(CK, {
kind: "collection",
"data-follow-queue": "",
title: "视频合集",
onClose: r.close,
listRef: a,
- summary: `${_G(e.primary)} · ${i.length} 个视频`,
+ summary: `${gG(e.primary)} · ${i.length} 个视频`,
children: i.map((n) => {
- let i = e.duplicates.includes(n), a = RMe(e, n, i ? n.provider_label : ""), o = i ? hG(n.provider, n.provider_label) : "";
- return /* @__PURE__ */ (0, I.jsxs)(TK, {
+ let i = e.duplicates.includes(n), a = KMe(e, n, i ? n.provider_label : ""), o = i ? mG(n.provider, n.provider_label) : "";
+ return /* @__PURE__ */ (0, I.jsxs)(wK, {
current: n.id === t,
"data-follow-queue-item": n.id,
onClick: () => r.openItem(n.id),
- pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(B2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(z2, { kind: "video" }), I2(n.duration) ? /* @__PURE__ */ (0, I.jsx)("i", {
+ pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(z2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(R2, { kind: "video" }), F2(n.duration) ? /* @__PURE__ */ (0, I.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
children: Jn(n.duration)
@@ -74284,15 +74362,15 @@ function _Ne({ group: e, itemId: t, helpers: n, actions: r }) {
children: a.label
}), /* @__PURE__ */ (0, I.jsx)("time", {
dateTime: n.published_at || "",
- children: EG(n)
+ children: TG(n)
})]
})]
}, n.id);
})
});
}
-function H2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
- let o = e.media_items || [], s = V2(r), c = [];
+function V2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i, onMedia: a }) {
+ let o = e.media_items || [], s = B2(r), c = [];
o.forEach((e) => {
let t = e.resource_group || "ungrouped", n = c.find((e) => e.key === t);
n || (n = {
@@ -74302,26 +74380,26 @@ function H2({ 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, I.jsx)(wK, {
+ return /* @__PURE__ */ (0, I.jsx)(CK, {
kind: "media",
"data-follow-queue": "",
title: "多媒体",
onClose: i.close,
listRef: s,
- summary: `${_G(e)} · ${o.length} 个媒体`,
- children: c.map((n) => [n.label ? /* @__PURE__ */ (0, I.jsx)(wxe, {
+ summary: `${gG(e)} · ${o.length} 个媒体`,
+ children: c.map((n) => [n.label ? /* @__PURE__ */ (0, I.jsx)(Mxe, {
label: n.label,
count: n.items.length
- }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, I.jsxs)(TK, {
+ }, `label:${n.key}`) : null, ...n.items.map((n) => /* @__PURE__ */ (0, I.jsxs)(wK, {
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, I.jsx)(B2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(z2, { kind: n.media_kind || "" }),
+ pic: n.thumb_url ? /* @__PURE__ */ (0, I.jsx)(z2, { src: n.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(R2, { kind: n.media_kind || "" }),
children: [/* @__PURE__ */ (0, I.jsx)("b", {
"data-middle-truncate": "",
- children: zMe(n)
+ children: qMe(n)
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-truncate-end": "",
children: n.media_kind === "image" ? "图片" : "视频"
@@ -74329,13 +74407,13 @@ function H2({ item: e, current: t, currentId: n = e.id, helpers: r, actions: i,
}, n.index))])
});
}
-function vNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpers: o, actions: s }) {
+function ENe({ 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 = CG(d, e), p = xG(e, l2(e, t.sources), n), m = p.credited ? "" : e.author && Un(e.author) !== Un(p.author) ? e.author : "", h = wG(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {
+ }, f = SG(d, e), p = bG(e, c2(e, t.sources), n), m = p.credited ? "" : e.author && Un(e.author) !== Un(p.author) ? e.author : "", h = CG(e, n), g = e.status === "saved", { busy: _ } = i, v = (e) => _.has(e) ? {
"aria-busy": !0,
"aria-disabled": !0
} : {};
@@ -74351,7 +74429,7 @@ function vNe({ 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: SG(d, e) + z(_G(e)) }
+ dangerouslySetInnerHTML: { __html: xG(d, e) + z(gG(e)) }
}), e.url ? /* @__PURE__ */ (0, I.jsx)("a", {
"data-follow-origin": "",
href: e.url,
@@ -74359,7 +74437,7 @@ function vNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
rel: "noreferrer noopener",
title: "打开来源页面",
"aria-label": "打开来源页面",
- dangerouslySetInnerHTML: { __html: L2 }
+ dangerouslySetInnerHTML: { __html: I2 }
}) : null]
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -74367,8 +74445,8 @@ function vNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"data-stage-meta": "",
"data-reveal-line": "",
children: [
- /* @__PURE__ */ (0, I.jsx)("span", { children: EG(e) }),
- I2(e.duration) ? /* @__PURE__ */ (0, I.jsx)("span", { children: Jn(e.duration) }) : null,
+ /* @__PURE__ */ (0, I.jsx)("span", { children: TG(e) }),
+ F2(e.duration) ? /* @__PURE__ */ (0, I.jsx)("span", { children: Jn(e.duration) }) : null,
f ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-follow-badges": "",
dangerouslySetInnerHTML: { __html: f }
@@ -74385,7 +74463,7 @@ function vNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
children: "创作者"
}), /* @__PURE__ */ (0, I.jsx)("div", {
"data-id-row": "",
- children: p.entityName ? /* @__PURE__ */ (0, I.jsxs)(jZ, {
+ children: p.entityName ? /* @__PURE__ */ (0, I.jsxs)(AZ, {
name: p.entityName,
actions: s,
"data-id-cell": "creator",
@@ -74417,7 +74495,7 @@ function vNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
children: [m ? /* @__PURE__ */ (0, I.jsxs)("span", { children: ["发布者 ", m] }) : null, p.credited ? /* @__PURE__ */ (0, I.jsxs)("span", { children: ["署名含 ", p.credited] }) : null]
}) : null]
}),
- e.summary ? /* @__PURE__ */ (0, I.jsx)(yNe, { text: e.summary }, e.id) : null,
+ e.summary ? /* @__PURE__ */ (0, I.jsx)(DNe, { text: e.summary }, e.id) : null,
h ? /* @__PURE__ */ (0, I.jsx)("p", {
"data-follow-media-issue": "",
children: h
@@ -74440,9 +74518,9 @@ function vNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
href: e,
target: "_blank",
rel: "noreferrer noopener",
- children: [LMe(e), /* @__PURE__ */ (0, I.jsx)("span", {
+ children: [GMe(e), /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
- dangerouslySetInnerHTML: { __html: L2 }
+ dangerouslySetInnerHTML: { __html: I2 }
})]
}, e))
}) : null,
@@ -74542,7 +74620,7 @@ function vNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"aria-label": `恢复显示 ${e.name || ""}`,
...v(`restore:${e.index}`),
onClick: () => i.restore(e.index),
- children: [e.thumb_url ? /* @__PURE__ */ (0, I.jsx)(B2, { src: e.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(uNe, { name: "image-off" }), /* @__PURE__ */ (0, I.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]
+ children: [e.thumb_url ? /* @__PURE__ */ (0, I.jsx)(z2, { src: e.thumb_url }) : /* @__PURE__ */ (0, I.jsx)(vNe, { name: "image-off" }), /* @__PURE__ */ (0, I.jsx)("i", { dangerouslySetInnerHTML: { __html: R("rotate-ccw") } })]
}, e.index))
})]
}) : null,
@@ -74551,7 +74629,7 @@ function vNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
"aria-live": "polite",
children: i.failure
}),
- /* @__PURE__ */ (0, I.jsx)(lNe, {
+ /* @__PURE__ */ (0, I.jsx)(_Ne, {
item: e,
label: o.tagLabel,
actions: s
@@ -74560,7 +74638,7 @@ function vNe({ item: e, data: t, context: n, media: r, write: i, issue: a, helpe
})
});
}
-function yNe({ text: e }) {
+function DNe({ text: e }) {
let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(!1);
return (0, F.useLayoutEffect)(() => {
let e = t.current;
@@ -74573,7 +74651,7 @@ function yNe({ text: e }) {
ref: t,
"data-follow-detail-summary": "",
"data-long-text": "",
- lang: HI(e),
+ lang: VI(e),
"data-clamped": n ? void 0 : "",
children: e
}), i || n ? /* @__PURE__ */ (0, I.jsx)(J, {
@@ -74585,8 +74663,8 @@ function yNe({ text: e }) {
children: n ? "收起" : "展开"
}) : null] });
}
-function bNe(e, t, n) {
- let r = e.id, i = n2(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), l = (e, t) => o((n) => {
+function ONe(e, t, n) {
+ let r = e.id, i = t2(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), l = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
}), u = (e) => {
@@ -74605,7 +74683,7 @@ function bNe(e, t, n) {
to: e
}),
onSuccess: (e, { to: n, was: i }) => {
- u(n), c(""), n === "ignored" && lW(), t.toast(GMe(n), { undo: i === "saved" ? void 0 : async () => {
+ u(n), c(""), n === "ignored" && cW(), t.toast($Me(n), { undo: i === "saved" ? void 0 : async () => {
await V(Mr, {
item: r,
to: i
@@ -74615,7 +74693,7 @@ function bNe(e, t, n) {
onError: d,
onSettled: (e, t, { to: n }) => l(n, !1)
}), p = It({
- mutationFn: () => V(AMe, { item: r }),
+ mutationFn: () => V(RMe, { item: r }),
onSuccess: () => {
u("saved"), c(""), t.toast("已保存到数据库");
},
@@ -74623,7 +74701,7 @@ function bNe(e, t, n) {
onSettled: () => l("save", !1)
}), m = It({
mutationFn: async ({ index: e, hidden: t }) => {
- await V(jMe, {
+ await V(zMe, {
item: r,
media: e,
hidden: t
@@ -74639,12 +74717,12 @@ function bNe(e, t, n) {
onError: d,
onSettled: (e, t, { index: n, hidden: r }) => l(`${r ? "hide" : "restore"}:${n}`, !1)
}), h = Ft({
- queryKey: vye(r),
- queryFn: ({ signal: e }) => xye(r, e)
+ queryKey: Eye(r),
+ queryFn: ({ signal: e }) => kye(r, e)
}).data?.want ?? null, g = It({
- mutationFn: async (e) => (e ? await cW([e.id]) : await sW({ follow: r }), !e),
+ mutationFn: async (e) => (e ? await sW([e.id]) : await oW({ follow: r }), !e),
onSuccess: (e) => {
- c(""), t.toast(e ? "已加入想要" : "已取消想要"), lW();
+ c(""), t.toast(e ? "已加入想要" : "已取消想要"), cW();
},
onError: d,
onSettled: () => l("want", !1)
@@ -74683,8 +74761,8 @@ function bNe(e, t, n) {
};
}
// src/react/components/identity-cell.tsx
-function U2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {
- oL();
+function H2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a }) {
+ aL();
let o = nn(e, t.name, t.id), s = e === "performer" || e === "creator" ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-id-face": "",
dangerouslySetInnerHTML: { __html: `<span>${z(er(o))}</span>` + go({
@@ -74730,7 +74808,7 @@ function U2({ kind: e, person: t, onOpen: n, hidden: r, overflow: i, face: a })
children: c
});
}
-function W2({ people: e, onOpen: t }) {
+function U2({ people: e, onOpen: t }) {
if (!e.length) return null;
let n = (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
@@ -74763,7 +74841,7 @@ function W2({ people: e, onOpen: t }) {
});
}
// src/react/components/folded-title.ts
-function G2(e) {
+function W2(e) {
let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(!1);
return (0, F.useLayoutEffect)(() => {
let e = t.current;
@@ -74780,9 +74858,9 @@ function G2(e) {
};
}
// src/react/item-detail/catalog-picture.tsx
-function K2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
+function G2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
let [i, a] = (0, F.useState)(""), [o, s] = (0, F.useState)(0);
- if (n && t > 0 && e.code) return /* @__PURE__ */ (0, I.jsx)(pQ, {
+ if (n && t > 0 && e.code) return /* @__PURE__ */ (0, I.jsx)(fQ, {
item: {
code: e.code,
has_cover: !1,
@@ -74796,7 +74874,7 @@ function K2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
src: c,
alt: "",
onError: () => a(c)
- }) : i === c ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ }) : i === c ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "neutral",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -74814,34 +74892,34 @@ function K2({ item: e, image: t, source: n = !1, thumbnail: r = !1 }) {
}, o);
}
// src/react/jav-detail/jav-detail.ts
-var q2 = (e) => ["jav-detail", e], J2 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), xNe = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), Y2 = (e, t) => H.ensureQueryData({
- queryKey: q2(e.code),
- queryFn: () => J2(e.code, t),
+var K2 = (e) => ["jav-detail", e], q2 = (e, t, n = !1) => B(`/api/jav/detail?code=${encodeURIComponent(e)}${n ? "&refresh=1" : ""}`, t), kNe = (e, t, n, r = !1) => B(`/api/jav/reviews?code=${encodeURIComponent(e)}&page=${t}${r ? "&refresh=1" : ""}`, n), J2 = (e, t) => H.ensureQueryData({
+ queryKey: K2(e.code),
+ queryFn: () => q2(e.code, t),
staleTime: 216e5,
revalidateIfStale: !0
});
-function SNe(e, t) {
+function ANe(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;
}
// src/react/item-detail/external-playback.tsx
-var X2 = "peach.playback-target.v1", Z2 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];
-function CNe() {
+var Y2 = "peach.playback-target.v1", X2 = [["m3u", "M3U 播放列表"], ["url", "网络播放地址 / VR"]];
+function jNe() {
try {
- return localStorage.getItem(X2) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;
+ return localStorage.getItem(Y2) || `local:${localStorage.getItem("peach.local-player.v1") || "default"}`;
} catch {
return "local:default";
}
}
-function Q2({ id: e, onOpened: t }) {
- let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(CNe), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(""), [u, d] = (0, F.useState)(0), f = _H();
+function Z2({ id: e, onOpened: t }) {
+ let [n, r] = (0, F.useState)(null), [i, a] = (0, F.useState)(jNe), [o, s] = (0, F.useState)(null), [c, l] = (0, F.useState)(""), [u, d] = (0, F.useState)(0), f = gH();
(0, F.useEffect)(() => {
let e = new AbortController();
return B("/api/local-players", e.signal).then((t) => {
- e.signal.aborted || (r(t.players), a((e) => t.players.some((t) => `local:${t.id}` === e) || Z2.some(([t]) => t === e) ? e : t.players.length ? `local:${t.players[0].id}` : "m3u"));
+ e.signal.aborted || (r(t.players), a((e) => t.players.some((t) => `local:${t.id}` === e) || X2.some(([t]) => t === e) ? e : t.players.length ? `local:${t.players[0].id}` : "m3u"));
}).catch((t) => {
- e.signal.aborted || (r([]), a((e) => Z2.some(([t]) => t === e) ? e : "m3u"), l(String(t.message || t)));
+ e.signal.aborted || (r([]), a((e) => X2.some(([t]) => t === e) ? e : "m3u"), l(String(t.message || t)));
}), () => e.abort();
}, [u]);
let p = () => void f.run("open", async (t) => {
@@ -74865,29 +74943,29 @@ function Q2({ id: e, onOpened: t }) {
children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-local-playback-row": "",
- children: [/* @__PURE__ */ (0, I.jsx)(i1, {
+ children: [/* @__PURE__ */ (0, I.jsx)(r1, {
id: `external-player-${e}`,
label: "外部播放器",
- options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...Z2],
+ options: [...(n || []).map((e) => [`local:${e.id}`, e.label]), ...X2],
value: i,
disabled: n === null || !!f.busy,
epoch: u * 2 + Number(n !== null),
onPick: (e) => {
a(e), s(null), f.setError("");
try {
- localStorage.setItem(X2, e);
+ localStorage.setItem(Y2, e);
} catch {}
}
}), /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
"aria-label": "使用外部播放器打开",
disabled: n === null,
- ..._V(f.busy === "open"),
+ ...gV(f.busy === "open"),
onClick: p,
children: "打开"
})]
}),
- f.error || c ? /* @__PURE__ */ (0, I.jsx)(zH, { children: f.error || c }) : null,
+ f.error || c ? /* @__PURE__ */ (0, I.jsx)(RH, { children: f.error || c }) : null,
c ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
disabled: !!f.busy,
@@ -74896,16 +74974,16 @@ function Q2({ id: e, onOpened: t }) {
},
children: "重新检测播放器"
}) : null,
- o ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(lV, {
+ o ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(cV, {
label: "网络播放地址",
value: o.url,
isReadOnly: !0
- }), /* @__PURE__ */ (0, I.jsx)(RH, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })] }) : null
+ }), /* @__PURE__ */ (0, I.jsx)(LH, { children: "链接有效期为 6 小时。VR 播放器可使用网络播放地址;另一台设备需要能访问当前 Peach 地址。" })] }) : null
]
});
}
// src/react/boardui/components/base/switch/switch.tsx
-var wNe = II({
+var MNe = FI({
sm: {
track: "h-4 w-7",
trackRadius: {
@@ -74967,8 +75045,8 @@ var wNe = II({
}
}
});
-function TNe({ state: e, size: t = "md", shape: n = "pill" }) {
- let r = wNe[t];
+function NNe({ state: e, size: t = "md", shape: n = "pill" }) {
+ let r = MNe[t];
return /* @__PURE__ */ (0, I.jsx)("span", {
"aria-hidden": !0,
className: q("relative shrink-0 transition-colors duration-200 ease", r.track, r.trackRadius[n], e.isSelected ? q("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"),
@@ -74978,12 +75056,12 @@ function TNe({ state: e, size: t = "md", shape: n = "pill" }) {
})
});
}
-function $2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
- return /* @__PURE__ */ (0, I.jsx)(zme, {
+function Q2({ className: e, children: t, size: n = "md", shape: r = "pill", ref: i, ...a }) {
+ return /* @__PURE__ */ (0, I.jsx)(qme, {
ref: i,
...a,
className: (t) => q("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, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(TNe, {
+ children: (e) => /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(NNe, {
state: e,
size: n,
shape: r
@@ -74994,12 +75072,12 @@ function $2({ className: e, children: t, size: n = "md", shape: r = "pill", ref:
});
}
// src/react/cover-crop/cover-crop.ts
-var ENe = "/api/cover-crop", DNe = (e, t) => V(ENe, {
+var PNe = "/api/cover-crop", FNe = (e, t) => V(PNe, {
code: e,
box: t
});
// src/react/cover-crop/cover-crop-page.tsx
-function e4({ className: e }) {
+function $2({ className: e }) {
return /* @__PURE__ */ (0, I.jsx)("svg", {
"aria-hidden": !0,
viewBox: "0 0 24 24",
@@ -75012,7 +75090,7 @@ function e4({ className: e }) {
children: /* @__PURE__ */ (0, I.jsx)("use", { href: "#i-crop" })
});
}
-function ONe({ code: e, coverUrl: t, box: n, onSaved: r }) {
+function INe({ code: e, coverUrl: t, box: n, onSaved: r }) {
let [i, a] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -75022,13 +75100,13 @@ function ONe({ 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, I.jsx)(e4, { className: "size-3.75" })
- }), /* @__PURE__ */ (0, I.jsx)(uV, {
+ children: /* @__PURE__ */ (0, I.jsx)($2, { className: "size-3.75" })
+ }), /* @__PURE__ */ (0, I.jsx)(lV, {
isOpen: i,
onOpenChange: a,
width: "cover-crop",
label: "裁剪封面",
- children: /* @__PURE__ */ (0, I.jsx)(kNe, {
+ children: /* @__PURE__ */ (0, I.jsx)(LNe, {
code: e,
coverUrl: t,
box: n,
@@ -75037,9 +75115,9 @@ function ONe({ code: e, coverUrl: t, box: n, onSaved: r }) {
})
})] });
}
-function kNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
- let [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(null), [l, u] = (0, F.useState)(!0), d = HV(), f = It({
- mutationFn: (t) => DNe(e, t),
+function LNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
+ let [a, o] = (0, F.useState)(null), [s, c] = (0, F.useState)(null), [l, u] = (0, F.useState)(!0), d = VV(), f = It({
+ mutationFn: (t) => FNe(e, t),
onSuccess: (e) => {
i(), r(e.poster_box);
}
@@ -75051,19 +75129,19 @@ function kNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
y0: n.y0,
x1: n.x1,
y1: n.y1
- } : ZDe(e, no);
- c(YZ(t, e, null));
+ } : aOe(e, no);
+ c(JZ(t, e, null));
}
let m = f.isPending;
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex shrink-0 items-start gap-4 p-5",
children: [
- /* @__PURE__ */ (0, I.jsx)(dV, { children: /* @__PURE__ */ (0, I.jsx)(e4, { className: "size-6" }) }),
+ /* @__PURE__ */ (0, I.jsx)(uV, { children: /* @__PURE__ */ (0, I.jsx)($2, { className: "size-6" }) }),
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 flex-1 flex-col gap-2",
children: [
- /* @__PURE__ */ (0, I.jsx)(UL, {
+ /* @__PURE__ */ (0, I.jsx)(HL, {
slot: "title",
className: "text-title-3-semibold text-text-primary",
children: "裁剪封面"
@@ -75072,14 +75150,14 @@ function kNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
className: "text-body-2-regular text-text-secondary",
children: [e, ":框出正封那一块,封面原图不动。拖动方框移动,滚轮或角上那枚方块改大小。"]
}),
- f.error ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ f.error ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "error",
children: lr(f.error)
}) : null
]
}),
- /* @__PURE__ */ (0, I.jsx)(lL, {
- icon: DB,
+ /* @__PURE__ */ (0, I.jsx)(cL, {
+ icon: EB,
size: "small",
"aria-label": "关闭",
onClick: i
@@ -75089,24 +75167,24 @@ function kNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
/* @__PURE__ */ (0, I.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, I.jsx)(eQ, {
+ children: /* @__PURE__ */ (0, I.jsx)($Z, {
src: t,
aspect: l ? no : null,
box: s,
size: a,
label: `${e} 的正封取景框`,
onSize: (e) => {
- qZ(e) && p(e);
+ KZ(e) && p(e);
},
onBox: c
})
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex shrink-0 flex-wrap items-center gap-3 border-t border-separator-border p-5",
- children: [/* @__PURE__ */ (0, I.jsx)($2, {
+ children: [/* @__PURE__ */ (0, I.jsx)(Q2, {
isSelected: l,
onChange: (e) => {
- u(e), e && s && a && c(YZ(s, a, no));
+ u(e), e && s && a && c(JZ(s, a, no));
},
children: /* @__PURE__ */ (0, I.jsx)("span", {
className: "text-body-2-regular text-text-secondary",
@@ -75116,14 +75194,14 @@ function kNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
className: "flex flex-1 flex-wrap items-center justify-end gap-3",
children: [/* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
- ..._V(m),
+ ...gV(m),
onClick: () => {
m || f.mutate(null);
},
children: "恢复默认"
}), /* @__PURE__ */ (0, I.jsx)(J, {
disabled: !s || !a,
- ..._V(m),
+ ...gV(m),
onClick: () => {
s && !m && f.mutate(s);
},
@@ -75134,21 +75212,21 @@ function kNe({ code: e, coverUrl: t, box: n, onSaved: r, close: i }) {
] });
}
// src/react/item-detail/item-detail-page.tsx
-var t4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var e4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: R(e) }
-}), n4 = ({ html: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+}), t4 = ({ html: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
dangerouslySetInnerHTML: { __html: e }
-}), r4 = (e) => Number(e) > 0 ? Xn(Number(e)) : "大小未知";
-function ANe(e) {
+}), n4 = (e) => Number(e) > 0 ? Xn(Number(e)) : "大小未知";
+function RNe(e) {
let { queue: t, actions: n } = e, r = Ft({
- queryKey: t ? bP(t) : ["item-queue", "none"],
- queryFn: ({ signal: n }) => kP(t, e.helpers, n),
+ queryKey: t ? vP(t) : ["item-queue", "none"],
+ queryFn: ({ signal: n }) => DP(t, e.helpers, n),
enabled: !!t
- }), i = t && r.data || null, a = i ? MP(i, e.id) : t ? null : e.id, o = Ft({
- queryKey: yP(a ?? 0),
- queryFn: ({ signal: e }) => OP(a, e),
+ }), i = t && r.data || null, a = i ? AP(i, e.id) : t ? null : e.id, o = Ft({
+ queryKey: _P(a ?? 0),
+ queryFn: ({ signal: e }) => EP(a, e),
enabled: a != null
});
if (!o.data || t && !i) {
@@ -75159,9 +75237,9 @@ function ANe(e) {
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-stage-media": "",
"data-item-media": "none",
- children: [/* @__PURE__ */ (0, I.jsx)(i4, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {
+ children: [/* @__PURE__ */ (0, I.jsx)(r4, { onClose: n.close }), /* @__PURE__ */ (0, I.jsx)("div", {
"data-item-placeholder": "",
- children: e ? /* @__PURE__ */ (0, I.jsx)(VG, {
+ children: e ? /* @__PURE__ */ (0, I.jsx)(BG, {
message: xn(e),
onRetry: () => {
r.error && r.refetch(), o.error && o.refetch();
@@ -75171,13 +75249,13 @@ function ANe(e) {
})
});
}
- return /* @__PURE__ */ (0, I.jsx)(jNe, {
+ return /* @__PURE__ */ (0, I.jsx)(zNe, {
...e,
- item: Hue(o.data, i),
+ item: Jue(o.data, i),
queue: i
}, o.data.id);
}
-var i4 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
+var r4 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -75186,23 +75264,23 @@ var i4 = ({ onClose: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: R("x") }
});
-function jNe(e) {
- let { item: t, queue: n, actions: r, helpers: i } = e, a = KNe(t, r, i.tagLabel), o = (0, F.useRef)(t);
+function zNe(e) {
+ let { item: t, queue: n, actions: r, helpers: i } = e, a = ePe(t, r, i.tagLabel), o = (0, F.useRef)(t);
(0, F.useLayoutEffect)(() => {
r.present(o.current, n);
}, [r]), (0, F.useEffect)(() => {
- n?.kind === "playlist" && V(xP, {
+ n?.kind === "playlist" && V(yP, {
action: "progress",
id: n.playlistId,
asset_id: t.id
}).catch(() => {});
}, []);
- let s = $N() ? "" : Que(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = NP(n, t.id);
+ let s = ZN() ? "" : ide(t, i.sourceOffline(String(t.root_id || t.location || ""))), c = jP(n, t.id);
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsxs)("div", {
"data-stage-grid": "",
"data-with-queue": n ? "" : void 0,
"data-item-detail": "",
- children: [/* @__PURE__ */ (0, I.jsx)(MNe, {
+ children: [/* @__PURE__ */ (0, I.jsx)(BNe, {
item: t,
gate: s,
helpers: i,
@@ -75215,22 +75293,22 @@ function jNe(e) {
autoplay: !0
}, c.id);
}
- }), /* @__PURE__ */ (0, I.jsx)(LNe, {
+ }), /* @__PURE__ */ (0, I.jsx)(GNe, {
item: t,
queue: n,
write: a,
helpers: i,
actions: r
})]
- }), /* @__PURE__ */ (0, I.jsx)(j2, {
+ }), /* @__PURE__ */ (0, I.jsx)(A2, {
queueCards: n?.kind === "parts" || n?.kind === "editions" ? n.items.length : void 0,
- queue: n ? /* @__PURE__ */ (0, I.jsx)(PNe, {
+ queue: n ? /* @__PURE__ */ (0, I.jsx)(HNe, {
queue: n,
itemId: t.id,
helpers: i,
actions: r
}) : null,
- children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, I.jsx)(GNe, {
+ children: e.relatedLimit > 0 && (!n || n.kind === "parts" || n.kind === "editions") ? /* @__PURE__ */ (0, I.jsx)($Ne, {
...e,
item: n ? {
...t,
@@ -75239,12 +75317,12 @@ function jNe(e) {
}) : null
})] });
}
-function MNe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {
+function BNe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a }) {
let [o, s] = (0, F.useState)(t ? "" : "auto"), c = (0, F.useRef)(null), [l, u] = (0, F.useState)(-2), d = (0, F.useRef)(!1), f = Ft({
- queryKey: q2(e.code || ""),
+ queryKey: K2(e.code || ""),
queryFn: ({ signal: t }) => {
let n = d.current;
- return d.current = !1, J2(e.code, t, n);
+ return d.current = !1, q2(e.code, t, n);
},
staleTime: 216e5,
enabled: !!e.is_jav && !!e.code && !e.sample_images?.length
@@ -75289,7 +75367,7 @@ function MNe({ 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, I.jsx)(i4, { onClose: r.close }),
+ /* @__PURE__ */ (0, I.jsx)(r4, { onClose: r.close }),
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-player-toolbar": "",
children: [
@@ -75299,21 +75377,21 @@ function MNe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
"data-jav-preview-toggle": "",
"aria-pressed": l !== -2,
onClick: () => g(l === -2 ? m[0].index : -2),
- children: [/* @__PURE__ */ (0, I.jsx)(t4, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]
+ children: [/* @__PURE__ */ (0, I.jsx)(e4, { name: l === -2 ? "image" : "play" }), l === -2 ? "查看图片" : "播放正片"]
}) : null,
/* @__PURE__ */ (0, I.jsx)("span", { "data-player-net-slot": "" })
]
}),
- h ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [l === -2 ? null : /* @__PURE__ */ (0, I.jsx)(K2, {
+ h ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [l === -2 ? null : /* @__PURE__ */ (0, I.jsx)(G2, {
item: e,
image: l,
source: p.find((e) => e.index === l)?.source
- }, e.id), /* @__PURE__ */ (0, I.jsx)(M2, {
+ }, e.id), /* @__PURE__ */ (0, I.jsx)(j2, {
items: m,
position: Math.max(0, m.findIndex((e) => e.index === l)),
onSelect: g,
below: !0,
- renderThumbnail: (t) => /* @__PURE__ */ (0, I.jsx)(K2, {
+ renderThumbnail: (t) => /* @__PURE__ */ (0, I.jsx)(G2, {
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,
@@ -75329,7 +75407,7 @@ function MNe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
className: "relative block h-12 w-20 skeleton-sheen"
}) : /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
- ..._V(f.isFetching),
+ ...gV(f.isFetching),
title: f.data?.message || xn(f.error),
"aria-label": "立即重试样图",
onClick: () => {
@@ -75338,7 +75416,7 @@ function MNe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
children: "立即重试"
})
}) : null,
- t === "offline" ? /* @__PURE__ */ (0, I.jsx)(NNe, {
+ t === "offline" ? /* @__PURE__ */ (0, I.jsx)(VNe, {
item: e,
badge: y,
helpers: n,
@@ -75349,7 +75427,7 @@ function MNe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
children: [
/* @__PURE__ */ (0, I.jsx)("b", { children: "ISO 原盘" }),
/* @__PURE__ */ (0, I.jsx)("span", { children: "请使用支持原盘的外部播放器打开。" }),
- /* @__PURE__ */ (0, I.jsx)(Q2, {
+ /* @__PURE__ */ (0, I.jsx)(Z2, {
id: e.id,
onOpened: () => r.toast("已请求打开本地播放器")
}, e.id)
@@ -75359,7 +75437,7 @@ function MNe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
role: "status",
"data-item-gate": "online",
children: [
- /* @__PURE__ */ (0, I.jsx)(n4, { html: y }),
+ /* @__PURE__ */ (0, I.jsx)(t4, { html: y }),
/* @__PURE__ */ (0, I.jsx)("b", { children: "在线作品" }),
/* @__PURE__ */ (0, I.jsx)("span", { children: "这条没有对应的关注条目,媒体地址无从解析。" }),
/* @__PURE__ */ (0, I.jsx)("button", {
@@ -75374,12 +75452,12 @@ function MNe({ item: e, gate: t, helpers: n, actions: r, autoplay: i, onEnded: a
id: "gate",
"data-item-gate": "metered",
onClick: () => s("clicked"),
- children: [/* @__PURE__ */ (0, I.jsx)(n4, { html: y }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["点此开始拉流 · ", r4(e.size)] })]
+ children: [/* @__PURE__ */ (0, I.jsx)(t4, { html: y }), /* @__PURE__ */ (0, I.jsxs)("span", { children: ["点此开始拉流 · ", n4(e.size)] })]
}) : null
]
});
}
-function NNe({ item: e, badge: t, helpers: n, actions: r }) {
+function VNe({ item: e, badge: t, helpers: n, actions: r }) {
let [i, a] = (0, F.useState)(!1), [o, s] = (0, F.useState)(!1), c = async () => {
a(!0);
let t = await r.checkSource(e.location || "").catch(() => !1);
@@ -75390,7 +75468,7 @@ function NNe({ item: e, badge: t, helpers: n, actions: r }) {
role: "status",
"data-item-gate": "offline",
children: [
- /* @__PURE__ */ (0, I.jsx)(n4, { html: t }),
+ /* @__PURE__ */ (0, I.jsx)(t4, { html: t }),
/* @__PURE__ */ (0, I.jsx)("b", { children: "媒体目录无法访问" }),
/* @__PURE__ */ (0, I.jsx)("span", { children: n.offlineReason(String(e.root_id || e.location || "")) }),
/* @__PURE__ */ (0, I.jsx)("button", {
@@ -75404,8 +75482,8 @@ function NNe({ item: e, badge: t, helpers: n, actions: r }) {
]
});
}
-function PNe({ queue: e, itemId: t, helpers: n, actions: r }) {
- let i = Jue(e), a = (0, F.useRef)(null), o = INe(e, t, r), s = (0, F.useRef)(o);
+function HNe({ queue: e, itemId: t, helpers: n, actions: r }) {
+ let i = ede(e), a = (0, F.useRef)(null), o = WNe(e, t, r), s = (0, F.useRef)(o);
s.current = o;
let c = (0, F.useCallback)((t) => {
a.current = t, t && (n.wireDrag(t), e.kind === "playlist" && n.wireDragReorder(t, {
@@ -75413,7 +75491,7 @@ function PNe({ 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 = FNe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)("button", {
+ }, [n, e.kind]), l = UNe(e, r), u = e.kind === "mix" ? /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-save-mix": "",
title: "保存为播放列表",
@@ -75432,7 +75510,7 @@ function PNe({ queue: e, itemId: t, helpers: n, actions: r }) {
seedId: e.seedId,
playlistId: e.playlistId
};
- return /* @__PURE__ */ (0, I.jsx)(wK, {
+ return /* @__PURE__ */ (0, I.jsx)(CK, {
kind: e.kind,
title: i.title,
summary: i.summary,
@@ -75441,11 +75519,11 @@ function PNe({ 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, I.jsx)("i", {
- className: `javedition ${Kue[i.edition_label] || "censored"}`,
+ className: `javedition ${Que[i.edition_label] || "censored"}`,
"data-queue-edition": "",
children: i.edition_label
- }) : null, s = e.kind === "playlist" && jP(i);
- return /* @__PURE__ */ (0, I.jsxs)(TK, {
+ }) : null, s = e.kind === "playlist" && kP(i);
+ return /* @__PURE__ */ (0, I.jsxs)(wK, {
current: i.id === t,
"data-queue-item": i.id,
row: { "data-queue-row": i.id },
@@ -75455,25 +75533,25 @@ function PNe({ queue: e, itemId: t, helpers: n, actions: r }) {
onClick: () => {
s || r.openQueueItem(d, i.id);
},
- pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(n4, { html: Oo(i, n.javImage()) }), /* @__PURE__ */ (0, I.jsx)("i", {
+ pic: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(t4, { html: Oo(i, n.javImage()) }), /* @__PURE__ */ (0, I.jsx)("i", {
className: "mono",
"data-mix-item-duration": "",
children: Jn(i.duration)
})] }),
- lead: /* @__PURE__ */ (0, I.jsx)(n4, { html: jo(i) }),
+ lead: /* @__PURE__ */ (0, I.jsx)(t4, { html: jo(i) }),
after: e.kind === "playlist" ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-queue-edit": "",
children: [/* @__PURE__ */ (0, I.jsx)("i", {
"data-queue-grip": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "grip-vertical" })
+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "grip-vertical" })
}), /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-queue-remove": i.id,
title: "移出播放列表",
"aria-label": "移出播放列表",
onClick: () => o.remove(i.id),
- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "x" })
+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "x" })
})]
}) : null,
children: [/* @__PURE__ */ (0, I.jsxs)("span", {
@@ -75484,14 +75562,14 @@ function PNe({ queue: e, itemId: t, helpers: n, actions: r }) {
})]
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-truncate-end": "",
- children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? VP(i.part_label) : Mo(i, n.tagLabel)
+ children: s ? "已消失 · 文件已不在盘上" : e.kind === "parts" || e.kind === "editions" && i.part_label ? zP(i.part_label) : Mo(i, n.tagLabel)
})]
}, i.id);
})
});
}
-function FNe(e, t) {
- let n = It({ mutationFn: (t) => V(xP, {
+function UNe(e, t) {
+ let n = It({ mutationFn: (t) => V(yP, {
action: "create",
name: t,
asset_ids: e.items.map((e) => e.id),
@@ -75504,11 +75582,11 @@ function FNe(e, t) {
save: (e) => n.mutateAsync(e)
});
}
-function INe(e, t, n) {
- let r = bP({
+function WNe(e, t, n) {
+ let r = vP({
kind: "playlist",
playlistId: e.playlistId
- }), i = (e) => (H.setQueryData(r, AP(e)), e), a = (t) => V(xP, {
+ }), i = (e) => (H.setQueryData(r, OP(e)), e), a = (t) => V(yP, {
id: e.playlistId,
...t
}).then((e) => e.playlist), o = It({
@@ -75524,8 +75602,8 @@ function INe(e, t, n) {
return {
move: async (t, r, c) => {
if (e.kind !== "playlist") return;
- let l = Xue(s, t, r, c);
- if (Zue(l, s)) return;
+ let l = nde(s, t, r, c);
+ if (rde(l, s)) return;
let u = s;
await o.mutateAsync(l), n.toast("已调整播放顺序", { undo: async () => {
i(await a({
@@ -75567,7 +75645,7 @@ function INe(e, t, n) {
}
};
}
-function LNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
+function GNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
let a = e.location === "online", o = n.busyAttrs, [s, c] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-stage-side": "",
@@ -75575,7 +75653,7 @@ function LNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: /* @__PURE__ */ (0, I.jsxs)("div", {
"data-stage-side-content": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(RNe, {
+ /* @__PURE__ */ (0, I.jsx)(KNe, {
item: e,
queue: t,
helpers: r,
@@ -75587,7 +75665,7 @@ function LNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-live": "polite",
children: n.sourceState
}),
- /* @__PURE__ */ (0, I.jsx)(BNe, {
+ /* @__PURE__ */ (0, I.jsx)(JNe, {
item: e,
write: n
}),
@@ -75598,7 +75676,7 @@ function LNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
children: [
e.width && e.height ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, I.jsx)(t4, { name: "monitor" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [
+ children: [/* @__PURE__ */ (0, I.jsx)(e4, { name: "monitor" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [
e.width,
"×",
e.height
@@ -75606,11 +75684,11 @@ function LNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
}) : null,
/* @__PURE__ */ (0, I.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, I.jsx)(t4, { name: "hard-drive" }), /* @__PURE__ */ (0, I.jsx)("span", { children: r4(e.size) })]
+ children: [/* @__PURE__ */ (0, I.jsx)(e4, { name: "hard-drive" }), /* @__PURE__ */ (0, I.jsx)("span", { children: n4(e.size) })]
}),
e.release_date ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-spec-item": "",
- children: [/* @__PURE__ */ (0, I.jsx)(t4, { name: "calendar" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.release_date })]
+ children: [/* @__PURE__ */ (0, I.jsx)(e4, { name: "calendar" }), /* @__PURE__ */ (0, I.jsx)("span", { children: e.release_date })]
}) : null,
e.region_label ? /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
@@ -75618,32 +75696,32 @@ function LNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"data-open-region": e.region || "",
title: e.region_settled ? "已判定的产地;打开同产地的作品" : "按番号或厂牌推断的产地,批量判定后不再变;打开同产地的作品",
onClick: () => i.openRegion(e.region || ""),
- children: [/* @__PURE__ */ (0, I.jsx)(t4, { name: "globe" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
+ children: [/* @__PURE__ */ (0, I.jsx)(e4, { name: "globe" }), /* @__PURE__ */ (0, I.jsxs)("span", { children: [e.region_label, e.region_settled ? "" : "(推断)"] })]
}) : null
]
}),
- (e.medium || "video") === "video" && !a && !String(e.name || "").toLowerCase().endsWith(".iso") ? /* @__PURE__ */ (0, I.jsx)(Q2, {
+ (e.medium || "video") === "video" && !a && !String(e.name || "").toLowerCase().endsWith(".iso") ? /* @__PURE__ */ (0, I.jsx)(Z2, {
id: e.id,
onOpened: () => i.toast("已请求打开本地播放器")
}, e.id) : null,
- /* @__PURE__ */ (0, I.jsx)(VNe, {
+ /* @__PURE__ */ (0, I.jsx)(YNe, {
item: e,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, I.jsx)(HNe, {
+ /* @__PURE__ */ (0, I.jsx)(XNe, {
item: e,
write: n,
helpers: r,
actions: i
}),
- /* @__PURE__ */ (0, I.jsx)(IK, {
- assetIds: FK([e], r.javImage()),
+ /* @__PURE__ */ (0, I.jsx)(FK, {
+ assetIds: PK([e], r.javImage()),
onComplete: () => {
- H.invalidateQueries({ queryKey: yP(e.id) });
+ H.invalidateQueries({ queryKey: _P(e.id) });
}
}),
- /* @__PURE__ */ (0, I.jsx)(UNe, { item: e }),
+ /* @__PURE__ */ (0, I.jsx)(ZNe, { item: e }),
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-stage-actions": "",
"data-item-feedback": "",
@@ -75657,7 +75735,7 @@ function LNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.liked,
...o("like"),
onClick: () => n.preference({ liked: !e.liked }),
- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "thumbs-up" })
+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "thumbs-up" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -75669,7 +75747,7 @@ function LNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-controls": "preferencePanel",
"data-has-reason": String(!!e.like_reason),
onClick: () => c((e) => !e),
- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "notebook-pen" })
+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "notebook-pen" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -75680,7 +75758,7 @@ function LNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "dislike",
...o("dislike"),
onClick: () => n.feedback("dislike"),
- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "thumbs-down" })
+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "thumbs-down" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -75691,7 +75769,7 @@ function LNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.feedback === "seen",
...o("seen"),
onClick: () => n.feedback("seen"),
- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "eye" })
+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "eye" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -75702,7 +75780,7 @@ function LNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.watch_later,
...o("later"),
onClick: n.later,
- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: e.watch_later ? "check" : "bookmark-plus" })
+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: e.watch_later ? "check" : "bookmark-plus" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -75711,7 +75789,7 @@ function LNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-label": "加入播放列表",
title: "加入播放列表",
onClick: () => i.addToPlaylist(e),
- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "playlist" })
+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "playlist" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -75722,7 +75800,7 @@ function LNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": !!e.better_version,
...o("quality"),
onClick: n.quality,
- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "sparkles" })
+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "sparkles" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
@@ -75733,11 +75811,11 @@ function LNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
"aria-pressed": e.disposal === "trash",
...o("dispose"),
onClick: () => n.feedback("dispose"),
- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "trash" })
+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "trash" })
})
]
}),
- /* @__PURE__ */ (0, I.jsx)(WNe, {
+ /* @__PURE__ */ (0, I.jsx)(QNe, {
item: e,
open: s,
write: n
@@ -75748,7 +75826,7 @@ function LNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
...o("o"),
onClick: () => n.feedback("o"),
children: [
- /* @__PURE__ */ (0, I.jsx)(t4, { name: "sperm" }),
+ /* @__PURE__ */ (0, I.jsx)(e4, { name: "sperm" }),
/* @__PURE__ */ (0, I.jsx)("span", { children: "记一次高潮" }),
/* @__PURE__ */ (0, I.jsx)("b", {
className: "mono",
@@ -75761,8 +75839,8 @@ function LNe({ item: e, queue: t, write: n, helpers: r, actions: i }) {
})
});
}
-function RNe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
- let { text: a, expanded: o, foldable: s, toggle: c } = G2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + Yue(e, t);
+function KNe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
+ let { text: a, expanded: o, foldable: s, toggle: c } = W2(String(e.title || e.name || "")), l = n.badgeHtml(e.location || "", e.cost || "", "srcbig") + n.titleHtml(e) + tde(e, t);
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-item-title": "",
children: /* @__PURE__ */ (0, I.jsxs)("div", {
@@ -75789,23 +75867,23 @@ function RNe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
"aria-label": o ? "收起标题" : "展开标题",
title: o ? "收起标题" : "展开完整标题",
onClick: c,
- children: /* @__PURE__ */ (0, I.jsx)(FH, {})
+ children: /* @__PURE__ */ (0, I.jsx)(PH, {})
}),
e.has_cover && (e.cover_key || e.code) ? /* @__PURE__ */ (0, I.jsx)("span", {
"data-cover-crop-host": "",
- children: /* @__PURE__ */ (0, I.jsx)(ONe, {
+ children: /* @__PURE__ */ (0, I.jsx)(INe, {
code: e.cover_key || e.code || "",
coverUrl: lo(e),
box: e.poster_box || null,
onSaved: (t) => {
H.invalidateQueries({
- queryKey: yP(e.id),
+ queryKey: _P(e.id),
exact: !0
- }), hP((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });
+ }), pP((t) => (t.cover_key || t.code) === (e.cover_key || e.code), { poster_box: t });
}
})
}) : null,
- e.location === "online" ? null : /* @__PURE__ */ (0, I.jsx)(zNe, {
+ e.location === "online" ? null : /* @__PURE__ */ (0, I.jsx)(qNe, {
id: e.id,
actions: r,
onStatus: i
@@ -75815,7 +75893,7 @@ function RNe({ item: e, queue: t, helpers: n, actions: r, onStatus: i }) {
})
});
}
-function zNe({ id: e, actions: t, onStatus: n }) {
+function qNe({ id: e, actions: t, onStatus: n }) {
let [r, i] = (0, F.useState)(""), a = async () => {
r || (i("reveal"), n(""), n(await t.reveal(e)), i(""));
}, o = async () => {
@@ -75845,18 +75923,18 @@ function zNe({ id: e, actions: t, onStatus: n }) {
"aria-disabled": !0
} : {},
onClick: () => void o(),
- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "folder-sync" })
+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "folder-sync" })
})] });
}
-function BNe({ item: e, write: t }) {
- let n = _P(e.rating);
+function JNe({ item: e, write: t }) {
+ let n = hP(e.rating);
return /* @__PURE__ */ (0, I.jsxs)("div", {
id: "detailRating",
role: "group",
"data-item-rating": "",
"aria-label": "评分",
- "data-value": gP(e.rating),
- children: [/* @__PURE__ */ (0, I.jsx)(ZJ, {
+ "data-value": mP(e.rating),
+ children: [/* @__PURE__ */ (0, I.jsx)(XJ, {
value: n,
onRate: (e) => t.rate(e),
busyStar: [
@@ -75870,14 +75948,14 @@ function BNe({ item: e, write: t }) {
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-rating-value": "",
"aria-live": "polite",
- children: Rue(e.rating)
+ children: Wue(e.rating)
})]
});
}
-function VNe({ item: e, actions: t }) {
- let n = (0, F.useMemo)(() => Uue(e), [e]), [r, i] = (0, F.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
+function YNe({ item: e, actions: t }) {
+ let n = (0, F.useMemo)(() => Yue(e), [e]), [r, i] = (0, F.useState)(!1), a = Math.max(0, n.cast.length - 8), o = (e, n, i) => {
let a = e === "performer" && i >= 8 && !r;
- return /* @__PURE__ */ (0, I.jsx)(U2, {
+ return /* @__PURE__ */ (0, I.jsx)(H2, {
kind: e,
person: n,
onOpen: t.openEntity,
@@ -75909,7 +75987,7 @@ function VNe({ item: e, actions: t }) {
onClick: t.openUnowned,
children: [/* @__PURE__ */ (0, I.jsx)("span", {
"data-id-face": "",
- children: /* @__PURE__ */ (0, I.jsx)(t4, { name: "user-round" })
+ children: /* @__PURE__ */ (0, I.jsx)(e4, { name: "user-round" })
}), /* @__PURE__ */ (0, I.jsx)("span", {
"data-id-name": "",
children: "未归属"
@@ -75921,7 +75999,7 @@ function VNe({ item: e, actions: t }) {
size: "small",
id: "castMore",
"data-cast-more": "",
- trailingIcon: bB,
+ trailingIcon: yB,
"aria-expanded": !1,
onClick: () => i(!0),
children: [
@@ -75940,18 +76018,18 @@ function VNe({ item: e, actions: t }) {
children: [c.length ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-identity-primary": "",
children: c
- }) : null, /* @__PURE__ */ (0, I.jsx)(W2, {
+ }) : null, /* @__PURE__ */ (0, I.jsx)(U2, {
people: n.series,
onOpen: t.openEntity
})]
});
}
-function HNe({ item: e, write: t, helpers: n, actions: r }) {
+function XNe({ item: e, write: t, helpers: n, actions: r }) {
return /* @__PURE__ */ (0, I.jsx)("div", {
"data-item-tags": "",
- children: /* @__PURE__ */ (0, I.jsx)(F2, {
+ children: /* @__PURE__ */ (0, I.jsx)(P2, {
id: "detailTags",
- tags: Wue(e, n),
+ tags: Xue(e, n),
candidates: n.tagCandidates(),
label: n.tagLabel,
adding: [...t.busy].some((e) => e.startsWith("add:")),
@@ -75962,8 +76040,8 @@ function HNe({ item: e, write: t, helpers: n, actions: r }) {
}, e.id)
});
}
-function UNe({ item: e }) {
- let t = $ue(e);
+function ZNe({ item: e }) {
+ let t = ade(e);
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-item-trace": "",
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
@@ -75997,7 +76075,7 @@ function UNe({ item: e }) {
})]
});
}
-function WNe({ item: e, open: t, write: n }) {
+function QNe({ item: e, open: t, write: n }) {
let [r, i] = (0, F.useState)(e.like_reason || ""), a = (0, F.useRef)(null);
(0, F.useEffect)(() => {
t && a.current?.focus();
@@ -76036,12 +76114,12 @@ function WNe({ item: e, open: t, write: n }) {
})]
});
}
-function GNe(e) {
+function $Ne(e) {
let { item: t, relatedLimit: n, helpers: r, grid: i } = e, a = Ft({
- queryKey: zue(t.id, n),
- queryFn: async ({ signal: e }) => (await B(Vue(t.id, n), e)).items || []
+ queryKey: Gue(t.id, n),
+ queryFn: async ({ signal: e }) => (await B(que(t.id, n), e)).items || []
}), [o] = (0, F.useState)(() => r.relatedSkeletonHtml());
- return /* @__PURE__ */ (0, I.jsx)(A2, {
+ return /* @__PURE__ */ (0, I.jsx)(k2, {
wireDrag: r.wireDrag,
busy: a.isPending,
empty: a.data?.length === 0,
@@ -76049,7 +76127,7 @@ function GNe(e) {
onRetry: () => {
a.refetch();
},
- children: a.data ? /* @__PURE__ */ (0, I.jsx)(sY, {
+ children: a.data ? /* @__PURE__ */ (0, I.jsx)(oY, {
mode: "items",
variant: "next",
items: a.data,
@@ -76062,11 +76140,11 @@ function GNe(e) {
revision: 0,
wireDrag: r.wireDrag,
skeletonHtml: () => ""
- }) : /* @__PURE__ */ (0, I.jsx)(n4, { html: o })
+ }) : /* @__PURE__ */ (0, I.jsx)(t4, { html: o })
});
}
-function KNe(e, t, n) {
- let r = e.id, i = yP(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = (e, t) => o((n) => {
+function ePe(e, t, n) {
+ let r = e.id, i = _P(r), [a, o] = (0, F.useState)(() => /* @__PURE__ */ new Set()), [s, c] = (0, F.useState)(""), [l, u] = (0, F.useState)(""), d = (e, t) => o((n) => {
let r = new Set(n);
return t ? r.add(e) : r.delete(e), r;
}), f = () => H.getQueryData(i) || e, p = (e) => {
@@ -76082,7 +76160,7 @@ function KNe(e, t, n) {
rating: t.rating,
o_count: t.o_count
};
- return mP(r, n), t;
+ return fP(r, n), t;
}, m = (e, t) => V(e, {
id: r,
...t
@@ -76097,7 +76175,7 @@ function KNe(e, t, n) {
run: n
}));
}, _ = async (e, t) => {
- let n = await m(SP, t === void 0 ? { kind: e } : {
+ let n = await m(bP, t === void 0 ? { kind: e } : {
kind: e,
value: t
});
@@ -76117,21 +76195,21 @@ function KNe(e, t, n) {
"aria-disabled": !0
} : {},
rate: (e) => g(`rate:${e}`, "评分", async () => {
- let n = f().rating || 0, r = vP(n, e);
- await _("rate", r), t.toast(r ? `已评 ${_P(r)} 星` : "已取消评分", { undo: async () => {
+ let n = f().rating || 0, r = gP(n, e);
+ await _("rate", r), t.toast(r ? `已评 ${hP(r)} 星` : "已取消评分", { undo: async () => {
await _("rate", n);
} });
}),
feedback: (e) => g(e, "操作", async () => {
let n = { feedback: f().feedback || null }, r = await _(e);
- t.toast(HP(e, r), { undo: async () => {
+ t.toast(BP(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(wP, {});
+ let e = await m(SP, {});
p({ watch_later: e.watch_later }), t.toast(e.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
- p({ watch_later: (await m(wP, {})).watch_later });
+ p({ watch_later: (await m(SP, {})).watch_later });
} });
}),
quality: () => g("quality", "更新版本需求", async () => {
@@ -76141,9 +76219,9 @@ function KNe(e, t, n) {
}, n = (e) => p({
better_version: e.better_version,
better_version_reason: e.better_version_reason || ""
- }), r = await m(TP, { wanted: !e.wanted });
+ }), r = await m(CP, { wanted: !e.wanted });
n(r), t.toast(r.better_version ? "已标记寻找更好版本" : "已取消寻找更好版本", { undo: async () => {
- n(await m(TP, e));
+ n(await m(CP, e));
} });
}),
preference: ({ liked: e, reason: n }) => {
@@ -76157,7 +76235,7 @@ function KNe(e, t, n) {
});
u("保存中…");
try {
- o(await m(EP, {
+ o(await m(wP, {
liked: a,
reason: i
}));
@@ -76167,7 +76245,7 @@ function KNe(e, t, n) {
u("已保存"), setTimeout(() => u((e) => e === "已保存" ? "" : e), 1400);
let s = f();
t.toast(s.liked ? "已保存喜欢偏好" : "已取消喜欢", { undo: async () => {
- o(await m(EP, r));
+ o(await m(wP, r));
} });
});
},
@@ -76176,41 +76254,41 @@ function KNe(e, t, n) {
operation: "remove",
tag: e.k
})).ok) throw Error("标签未删除");
- p((t) => IP(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
- await m(CP, {
+ p((t) => PP(t, e.k)), t.toast(`已删除标签「${n(e.k)}」`, { undo: async () => {
+ await m(xP, {
operation: "add",
tag: e.k
- }), p((t) => LP(t, e));
+ }), p((t) => FP(t, e));
} });
}),
addTag: (e) => {
let r = e.trim();
r && g(`add:${r}`, "添加标签", async () => {
- let e = await m(CP, {
+ let e = await m(xP, {
operation: "add",
tag: r
});
if (!e.ok) return;
let i = e.tag || r;
- FP(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => LP(e, {
+ NP(f(), i) ? t.toast(`标签「${n(i)}」已存在`) : (p((e) => FP(e, {
k: i,
cat: "general"
- })), BP(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {
- await m(CP, {
+ })), RP(i), t.toast(`已添加标签「${n(i)}」`, { undo: async () => {
+ await m(xP, {
operation: "remove",
tag: i
- }), p((e) => IP(e, i));
+ }), p((e) => PP(e, i));
} }));
});
}
};
}
// src/react/publication-cache.ts
-var a4 = 864e5, o4 = (e) => {
+var i4 = 864e5, a4 = (e) => {
let t = new Date(e);
return Date.UTC(t.getFullYear(), t.getMonth(), t.getDate());
};
-function s4(e) {
+function o4(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));
@@ -76218,25 +76296,25 @@ function s4(e) {
let o = new Date(Date.UTC(n, r + 2, 0)).getUTCDate();
return Date.UTC(n, r + 1, Math.min(i, o));
}
-function qNe(e, t = Date.now()) {
- let n = s4(e);
- return n !== void 0 && o4(t) > n ? Infinity : a4;
+function tPe(e, t = Date.now()) {
+ let n = o4(e);
+ return n !== void 0 && a4(t) > n ? Infinity : i4;
}
-function c4(e, t, n = Date.now()) {
- return !Number.isFinite(e) || e <= 0 || e > n ? !1 : qNe(t, n) === Infinity ? o4(e) > s4(t) : n - e < a4;
+function s4(e, t, n = Date.now()) {
+ return !Number.isFinite(e) || e <= 0 || e > n ? !1 : tPe(t, n) === Infinity ? a4(e) > o4(t) : n - e < i4;
}
// src/react/wants/resource-cache.ts
-var l4 = "peach.want-resources.v2";
-function u4(e) {
+var c4 = "peach.want-resources.v2";
+function l4(e) {
return !e.cache_stale && (e.complete === !0 || !e.warnings?.length);
}
-function d4(e, t, n) {
- return !!e && !e.cache_stale && (e.state === "error" || !u4(e) ? Date.now() - t < 6e4 : c4(t, n));
+function u4(e, t, n) {
+ return !!e && !e.cache_stale && (e.state === "error" || !l4(e) ? Date.now() - t < 6e4 : s4(t, n));
}
-function f4() {
+function d4() {
try {
- let e = JSON.parse(localStorage.getItem(l4) || "[]");
- return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && u4(e.result) && e.result.items.every((e) => e && [
+ let e = JSON.parse(localStorage.getItem(c4) || "[]");
+ return Array.isArray(e) ? e.filter((e) => typeof e?.code == "string" && Number.isFinite(e.saved) && e.result?.state === "ready" && Array.isArray(e.result.items) && l4(e.result) && e.result.items.every((e) => e && [
"magnet",
"ed2k",
"url"
@@ -76245,23 +76323,23 @@ function f4() {
return [];
}
}
-function JNe(e, t) {
- let n = f4().find((t) => t.code === e);
- return n && c4(n.saved, t) ? n : void 0;
+function nPe(e, t) {
+ let n = d4().find((t) => t.code === e);
+ return n && s4(n.saved, t) ? n : void 0;
}
-function YNe(e) {
- let t = new Map(f4().map((e) => [e.code, e])), n = /* @__PURE__ */ new Map();
+function rPe(e) {
+ let t = new Map(d4().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 && c4(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));
+ e && s4(e.saved, r.release_date) && n.set(r.code, e.result.items.some((e) => e.protocol === "magnet"));
}
return n;
}
-function XNe(e, t) {
- if (t.state === "ready" && u4(t)) try {
- let n = f4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
- localStorage.setItem(l4, JSON.stringify([{
+function iPe(e, t) {
+ if (t.state === "ready" && l4(t)) try {
+ let n = d4().filter((t) => t.code !== e), r = Date.parse(t.checked_at || "");
+ localStorage.setItem(c4, JSON.stringify([{
code: e,
saved: Number.isFinite(r) ? r : Date.now(),
result: t
@@ -76269,15 +76347,15 @@ function XNe(e, t) {
} catch {}
}
// src/react/wants/resource-display.ts
-function ZNe(e) {
+function aPe(e) {
let t = (e ?? "").trim(), n = /^([\d,]+)\s*B$/i.exec(t);
return /^[\d,.]+$/.test(t) ? "大小未知" : n ? Xn(Number(n[1].replaceAll(",", ""))) : e || "大小未知";
}
-function QNe(e) {
+function oPe(e) {
return /^更多评论.*(?:VIP|官方 App)/.test(e) ? "来源只返回了部分评论,资源链接可能不完整。" : e;
}
// src/react/wants/want-magnets.tsx
-function p4({ icon: e, children: t, title: n }) {
+function f4({ icon: e, children: t, title: n }) {
return /* @__PURE__ */ (0, I.jsxs)("span", {
title: n,
className: "inline-flex items-center gap-1",
@@ -76287,8 +76365,8 @@ function p4({ icon: e, children: t, title: n }) {
}), t]
});
}
-function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {
- let s = (0, F.useRef)(null), [c, l] = (0, F.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, F.useState)([]), f = _H(), p = ae(), m = (0, F.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, F.useMemo)(() => JNe(h, e.release_date), [h, e.release_date]);
+function p4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSource: a, queryUrl: o }) {
+ let s = (0, F.useRef)(null), [c, l] = (0, F.useState)(typeof IntersectionObserver > "u"), [u, d] = (0, F.useState)([]), f = gH(), p = ae(), m = (0, F.useRef)(!1), h = o ? `comment-resources:${o}:${e.code}` : `all-sources:${e.code || ""}`, g = (0, F.useMemo)(() => nPe(h, e.release_date), [h, e.release_date]);
(0, F.useEffect)(() => {
if (!s.current || c) return;
let e = new IntersectionObserver((t) => {
@@ -76308,22 +76386,22 @@ function m4({ 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 B(`${r}${n ? `${r.includes("?") ? "&" : "?"}refresh=1` : ""}`, t);
- return m.current = n && i.state === "busy", XNe(h, i), i;
+ return m.current = n && i.state === "busy", iPe(h, i), i;
},
initialData: g?.result,
initialDataUpdatedAt: g?.saved,
enabled: c,
retry: !1,
- staleTime: (t) => d4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,
+ staleTime: (t) => u4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) ? Infinity : 0,
gcTime: 864e5,
- refetchOnMount: (t) => !d4(t.state.data, Date.parse(t.state.data?.checked_at || "") || t.state.dataUpdatedAt, e.release_date) && "always",
+ refetchOnMount: (t) => !u4(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, F.useEffect)(() => {
_.data?.source_url && a?.(_.data.source_url);
}, [_.data?.source_url, a]), (0, F.useEffect)(() => {
- !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && bye(e.id, _.data.items.some((e) => e.protocol === "magnet"));
+ !o && _.data && (_.data.state === "ready" || _.data.items.length > 0) && Oye(e.id, _.data.items.some((e) => e.protocol === "magnet"));
}, [
_.data,
o,
@@ -76331,7 +76409,7 @@ function m4({ 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 V(XU, {
+ let n = await V(YU, {
magnet: r.uri,
provider: v.key,
target: v.target,
@@ -76342,7 +76420,7 @@ function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
if (!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: ZU });
+ d((e) => [...e, r.id]), i(e.outcome === "submitted" ? `已添加下载:${r.name}` : `已关联现有下载:${r.name}`), p.invalidateQueries({ queryKey: XU });
});
}, b = (e) => {
f.run(`copy:${e.id}`, () => navigator.clipboard.writeText(e.uri), () => i("已复制链接"));
@@ -76360,39 +76438,39 @@ function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
}), /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: KB,
- ..._V(x),
+ leadingIcon: GB,
+ ...gV(x),
onClick: () => {
x || (m.current = !0, _.refetch());
},
children: "重新查询"
})]
}),
- x ? /* @__PURE__ */ (0, I.jsx)(kH, { label: "正在查找资源链接" }) : null,
- S ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ x ? /* @__PURE__ */ (0, I.jsx)(OH, { label: "正在查找资源链接" }) : null,
+ S ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "error",
title: "资源链接未取得",
children: S
}) : null,
- _.data?.warnings?.map((e) => /* @__PURE__ */ (0, I.jsx)(fV, {
+ _.data?.warnings?.map((e) => /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "neutral",
- children: QNe(e)
+ children: oPe(e)
}, e)),
- _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, I.jsx)(xL, {
+ _.data?.warnings?.length && _.data.source_url ? /* @__PURE__ */ (0, I.jsx)(bL, {
variant: "secondary",
size: "small",
className: "self-start",
- trailingIcon: jB,
+ trailingIcon: AB,
href: _.data.source_url,
target: "_blank",
rel: "noopener noreferrer",
children: "查看来源页"
}) : null,
- _.data?.state === "ready" && !_.data.items.length && !_.data.warnings?.length ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ _.data?.state === "ready" && !_.data.items.length && !_.data.warnings?.length ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "neutral",
children: "暂未找到资源链接。"
}) : null,
- f.error ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ f.error ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "error",
title: "操作未完成",
children: f.error
@@ -76407,7 +76485,7 @@ function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
className: "flex min-w-0 flex-col gap-1",
children: [/* @__PURE__ */ (0, I.jsxs)("div", {
className: "flex min-w-0 flex-wrap items-center gap-2",
- children: [/* @__PURE__ */ (0, I.jsx)(JU, {
+ children: [/* @__PURE__ */ (0, I.jsx)(qU, {
variant: "caption",
color: e.protocol === "magnet" ? "blue" : e.protocol === "ed2k" ? "purple" : "neutral",
children: e.protocol === "magnet" ? "磁链" : e.protocol === "ed2k" ? "ED2K" : "网页链接"
@@ -76421,26 +76499,26 @@ function m4({ 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, I.jsx)(p4, {
- icon: Sge,
+ /* @__PURE__ */ (0, I.jsx)(f4, {
+ icon: Age,
children: e.source
}),
- /* @__PURE__ */ (0, I.jsx)(p4, {
- icon: RB,
+ /* @__PURE__ */ (0, I.jsx)(f4, {
+ icon: LB,
title: e.size ? `来源大小:${e.size}` : void 0,
- children: ZNe(e.size)
+ children: aPe(e.size)
}),
- e.files ? /* @__PURE__ */ (0, I.jsx)(p4, {
- icon: dge,
+ e.files ? /* @__PURE__ */ (0, I.jsx)(f4, {
+ icon: yge,
children: e.files.replaceAll("個", "个")
}) : null,
- /* @__PURE__ */ (0, I.jsx)(p4, {
- icon: Zhe,
+ /* @__PURE__ */ (0, I.jsx)(f4, {
+ icon: age,
title: e.source === "JavDB 评论" ? "评论日期" : "收录日期",
children: e.date ? e.date.slice(0, 10) : "日期未知"
}),
- e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, I.jsx)(p4, {
- icon: GB,
+ e.attributes.filter((e) => e !== "高清").map((e) => /* @__PURE__ */ (0, I.jsx)(f4, {
+ icon: WB,
children: e
}, e))
]
@@ -76449,11 +76527,11 @@ function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
"data-resource-actions": "",
className: "flex flex-wrap gap-2",
children: [
- /* @__PURE__ */ (0, I.jsx)(xL, {
+ /* @__PURE__ */ (0, I.jsx)(bL, {
"data-button-link": "",
variant: "secondary",
size: "small",
- trailingIcon: jB,
+ trailingIcon: AB,
href: e.source_url,
target: "_blank",
rel: "noopener noreferrer",
@@ -76462,18 +76540,18 @@ function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
/* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
size: "small",
- leadingIcon: lge,
- ..._V(f.busy === `copy:${e.id}`),
+ leadingIcon: _ge,
+ ...gV(f.busy === `copy:${e.id}`),
onClick: () => b(e),
children: "复制链接"
}),
e.protocol === "magnet" ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "primary",
size: "small",
- leadingIcon: v ? WH(v.key) : nge,
+ leadingIcon: v ? UH(v.key) : uge,
title: v ? `下载到 ${v.label}` : void 0,
disabled: t || !n?.available || !v || r,
- ..._V(f.busy === e.id),
+ ...gV(f.busy === e.id),
onClick: () => y(e),
children: r ? "已添加" : "添加下载"
}) : null
@@ -76484,7 +76562,7 @@ function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
children: e.slice(0, 3)
- }), e.length > 3 ? /* @__PURE__ */ (0, I.jsx)(VH, {
+ }), e.length > 3 ? /* @__PURE__ */ (0, I.jsx)(BH, {
summary: `更多资源(${e.length - 3} 条)`,
children: /* @__PURE__ */ (0, I.jsx)("ul", {
className: "flex min-w-0 flex-col gap-4",
@@ -76496,10 +76574,10 @@ function m4({ want: e, readOnly: t, downloads: n, provider: r, toast: i, onSourc
});
}
// src/react/jav-detail/review-cache.ts
-var h4 = "peach.jav-reviews.v2";
-function g4() {
+var m4 = "peach.jav-reviews.v2";
+function h4() {
try {
- let e = localStorage.getItem(h4) || "[]";
+ let e = localStorage.getItem(m4) || "[]";
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")) : [];
@@ -76507,21 +76585,21 @@ function g4() {
return [];
}
}
-function $Ne(e, t) {
+function sPe(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
- }, ...g4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);
- i.length <= 2e6 && localStorage.setItem(h4, i);
+ }, ...h4().filter((n) => n.code !== e || n.result.page !== t.page)].slice(0, 128), i = JSON.stringify(r);
+ i.length <= 2e6 && localStorage.setItem(m4, i);
} catch {}
}
-function ePe(e, t) {
- let n = g4(), r = [], i = Infinity;
+function cPe(e, t) {
+ let n = h4(), r = [], i = Infinity;
for (let a = 1; a <= 8; a++) {
let o = n.find((t) => t.code === e && t.result.page === a);
- if (!o || !c4(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;
+ if (!o || !s4(o.saved, t) || (r.push(o.result), i = Math.min(i, o.saved), !o.result.more)) break;
}
return r.length ? {
pages: r,
@@ -76529,16 +76607,16 @@ function ePe(e, t) {
saved: i
} : void 0;
}
-function tPe(e, t, n) {
- return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && c4(Date.parse(e.checked_at || "") || t, n));
+function lPe(e, t, n) {
+ return e.length > 0 && e.every((e) => e.ok && !e.cache_stale && s4(Date.parse(e.checked_at || "") || t, n));
}
// src/react/jav-detail/jav-detail-page.tsx
-function nPe(e) {
+function uPe(e) {
let t = (0, F.useRef)(!1), n = Ft({
- queryKey: q2(e.code),
+ queryKey: K2(e.code),
queryFn: ({ signal: n }) => {
let r = t.current;
- return t.current = !1, J2(e.code, n, r);
+ return t.current = !1, q2(e.code, n, r);
},
staleTime: 216e5
}), r = () => {
@@ -76548,21 +76626,21 @@ function nPe(e) {
"data-jav-detail": "",
"data-item-detail": "",
"data-stage-grid": "",
- children: n.data ? /* @__PURE__ */ (0, I.jsx)(rPe, {
+ children: n.data ? /* @__PURE__ */ (0, I.jsx)(dPe, {
...e,
item: n.data,
retry: r,
retrying: n.isFetching
}, e.code) : /* @__PURE__ */ (0, I.jsxs)("div", {
"data-jav-failure": "",
- children: [/* @__PURE__ */ (0, I.jsx)(_4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, I.jsx)(VG, {
+ children: [/* @__PURE__ */ (0, I.jsx)(g4, { close: e.actions.close }), n.error ? /* @__PURE__ */ (0, I.jsx)(BG, {
message: lr(n.error),
onRetry: r
}) : null]
})
});
}
-var _4 = ({ close: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
+var g4 = ({ close: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-stage-close": "",
id: "closeStage",
@@ -76571,7 +76649,7 @@ var _4 = ({ close: e }) => /* @__PURE__ */ (0, I.jsx)("button", {
onClick: e,
dangerouslySetInnerHTML: { __html: R("x") }
});
-function rPe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {
+function dPe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a }) {
(0, F.useEffect)(() => {
n.canonicalCode?.(t.code);
}, [n, t.code]), (0, F.useEffect)(() => {
@@ -76591,13 +76669,13 @@ function rPe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
label: "视频预览",
video: !0
}] : []
- ], [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(t.want_id), p = _H(), m = () => {
- p.run("want", async (e) => d ? (await cW([d], e), null) : (await sW({ code: t.code }, e)).want.id, (t) => {
- f(t), H.setQueryData(q2(e), (e) => e && {
+ ], [l, u] = (0, F.useState)(null), [d, f] = (0, F.useState)(t.want_id), p = gH(), m = () => {
+ p.run("want", async (e) => d ? (await sW([d], e), null) : (await oW({ code: t.code }, e)).want.id, (t) => {
+ f(t), H.setQueryData(K2(e), (e) => e && {
...e,
wanted: !!t,
want_id: t
- }), n.receipt(t ? "已加入想要" : "已取消想要"), lW(), H.invalidateQueries({ queryKey: ["feed-new"] }), H.invalidateQueries({ queryKey: ["jav-discoveries"] });
+ }), n.receipt(t ? "已加入想要" : "已取消想要"), cW(), H.invalidateQueries({ queryKey: ["feed-new"] }), H.invalidateQueries({ queryKey: ["jav-discoveries"] });
});
};
return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
@@ -76606,24 +76684,24 @@ function rPe({ 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, I.jsx)(_4, { close: n.close }),
+ /* @__PURE__ */ (0, I.jsx)(g4, { close: n.close }),
t.preview_video_url ? /* @__PURE__ */ (0, I.jsxs)("button", {
type: "button",
"data-jav-preview-toggle": "",
"aria-pressed": o === -2,
onClick: () => s(o === -2 ? -1 : -2),
- children: [/* @__PURE__ */ (0, I.jsx)(v4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
+ children: [/* @__PURE__ */ (0, I.jsx)(_4, { name: o === -2 ? "image" : "play" }), o === -2 ? "查看图片" : "视频预览"]
}) : null,
- o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, I.jsx)(oPe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, I.jsx)(pQ, {
+ o === -2 && t.preview_video_url ? /* @__PURE__ */ (0, I.jsx)(mPe, { src: t.preview_video_url }, t.preview_video_url) : /* @__PURE__ */ (0, I.jsx)(fQ, {
item: t,
image: o === -1 ? "cover" : String(o)
}, t.code),
- /* @__PURE__ */ (0, I.jsx)(M2, {
+ /* @__PURE__ */ (0, I.jsx)(j2, {
items: c,
position: Math.max(0, c.findIndex((e) => e.index === o)),
onSelect: s,
below: !0,
- renderThumbnail: (e) => /* @__PURE__ */ (0, I.jsx)(pQ, {
+ renderThumbnail: (e) => /* @__PURE__ */ (0, I.jsx)(fQ, {
item: t,
image: e.index < 0 ? "cover" : String(e.index),
thumbnail: !0
@@ -76637,33 +76715,33 @@ function rPe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
"data-stage-side-content": "",
"data-jav-info": "",
children: [
- /* @__PURE__ */ (0, I.jsx)(iPe, { item: t }),
- Number(t.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(b4, { score: Number(t.score) }) : null,
+ /* @__PURE__ */ (0, I.jsx)(fPe, { item: t }),
+ Number(t.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(y4, { score: Number(t.score) }) : null,
/* @__PURE__ */ (0, I.jsxs)("div", {
className: "mono",
"data-stage-meta": "",
"data-reveal-line": "",
- children: [/* @__PURE__ */ (0, I.jsx)(y4, {
+ children: [/* @__PURE__ */ (0, I.jsx)(v4, {
glyph: "calendar",
label: "发行日期",
value: t.release_date
- }), /* @__PURE__ */ (0, I.jsx)(y4, {
+ }), /* @__PURE__ */ (0, I.jsx)(v4, {
glyph: "clock",
label: "时长",
value: t.duration ? `${t.duration} 分钟` : void 0
})]
}),
- /* @__PURE__ */ (0, I.jsx)(aPe, {
+ /* @__PURE__ */ (0, I.jsx)(pPe, {
item: t,
navigate: n.navigate
}),
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-jav-facts": "",
- children: [/* @__PURE__ */ (0, I.jsx)(y4, {
+ children: [/* @__PURE__ */ (0, I.jsx)(v4, {
glyph: "briefcase",
label: "发行商",
value: t.publisher
- }), /* @__PURE__ */ (0, I.jsx)(y4, {
+ }), /* @__PURE__ */ (0, I.jsx)(v4, {
glyph: "clapperboard",
label: "导演",
value: t.director
@@ -76692,14 +76770,14 @@ function rPe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
t.summary ? /* @__PURE__ */ (0, I.jsx)("p", {
"data-jav-summary": "",
"data-long-text": "",
- lang: HI(t.summary),
+ lang: VI(t.summary),
children: t.summary
}) : null,
- t.message ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ t.message ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "neutral",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
- ..._V(a),
+ ...gV(a),
onClick: i,
children: "立即重试"
}),
@@ -76708,10 +76786,10 @@ function rPe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
/* @__PURE__ */ (0, I.jsxs)("div", {
"data-jav-actions": "",
children: [
- t.source_url ? /* @__PURE__ */ (0, I.jsx)(xL, {
+ t.source_url ? /* @__PURE__ */ (0, I.jsx)(bL, {
"data-button-link": "",
variant: "secondary",
- trailingIcon: jB,
+ trailingIcon: AB,
href: t.source_url,
target: "_blank",
rel: "noopener noreferrer",
@@ -76721,7 +76799,7 @@ function rPe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
variant: "secondary",
disabled: r,
"aria-pressed": !!d,
- ..._V(!!p.busy),
+ ...gV(!!p.busy),
onClick: m,
children: d ? "取消想要" : "想要"
}),
@@ -76739,16 +76817,16 @@ function rPe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
})
]
}),
- p.error ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ p.error ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "error",
children: p.error
}) : null,
- /* @__PURE__ */ (0, I.jsx)(sPe, {
+ /* @__PURE__ */ (0, I.jsx)(hPe, {
code: t.code,
count: t.comments_count,
released: t.release_date
}),
- /* @__PURE__ */ (0, I.jsx)(cPe, {
+ /* @__PURE__ */ (0, I.jsx)(gPe, {
item: t,
actions: n,
readOnly: r
@@ -76756,24 +76834,24 @@ function rPe({ code: e, item: t, actions: n, readOnly: r, retry: i, retrying: a
]
})
}),
- /* @__PURE__ */ (0, I.jsx)(rW, {
+ /* @__PURE__ */ (0, I.jsx)(nW, {
prefill: l,
close: () => u(null),
receipt: n.receipt
})
] });
}
-var v4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
+var _4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("span", {
className: "contents",
"aria-hidden": "true",
dangerouslySetInnerHTML: { __html: R(e) }
-}), y4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, I.jsxs)("span", {
+}), v4 = ({ glyph: e, label: t, value: n }) => n ? /* @__PURE__ */ (0, I.jsxs)("span", {
"data-spec-item": "",
title: t,
- children: [/* @__PURE__ */ (0, I.jsx)(v4, { name: e }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]
+ children: [/* @__PURE__ */ (0, I.jsx)(_4, { name: e }), /* @__PURE__ */ (0, I.jsx)("span", { children: n })]
}) : null;
-function iPe({ item: e }) {
- let { text: t, expanded: n, foldable: r, toggle: i } = G2(e.title), a = e.title === e.code ? "" : e.title;
+function fPe({ item: e }) {
+ let { text: t, expanded: n, foldable: r, toggle: i } = W2(e.title), a = e.title === e.code ? "" : e.title;
return /* @__PURE__ */ (0, I.jsxs)("div", {
"data-item-title": "",
children: [/* @__PURE__ */ (0, I.jsx)("h1", {
@@ -76789,7 +76867,7 @@ function iPe({ item: e }) {
r && !String(getSelection() || "") && i();
},
children: [/* @__PURE__ */ (0, I.jsx)("b", { children: e.code }), a ? /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [" ", /* @__PURE__ */ (0, I.jsx)("span", {
- lang: HI(a),
+ lang: VI(a),
children: a
})] }) : null]
})
@@ -76803,25 +76881,25 @@ function iPe({ item: e }) {
"aria-label": n ? "收起标题" : "展开标题",
title: n ? "收起标题" : "展开完整标题",
onClick: i,
- children: /* @__PURE__ */ (0, I.jsx)(FH, {})
+ children: /* @__PURE__ */ (0, I.jsx)(PH, {})
})
})]
});
}
-function b4({ score: e, review: t = !1 }) {
+function y4({ score: e, review: t = !1 }) {
return /* @__PURE__ */ (0, I.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, I.jsx)(ZJ, { value: e }), /* @__PURE__ */ (0, I.jsxs)("span", {
+ children: [/* @__PURE__ */ (0, I.jsx)(XJ, { value: e }), /* @__PURE__ */ (0, I.jsxs)("span", {
"data-rating-value": "",
children: [e.toFixed(1), " / 5"]
})]
});
}
-function aPe({ item: e, navigate: t }) {
+function pPe({ item: e, navigate: t }) {
let n = (e, n) => t(Pn(e, n)), r = (t, r, i, a) => i.length ? /* @__PURE__ */ (0, I.jsxs)("section", {
"data-id-group": t,
"data-id-gender": a,
@@ -76830,14 +76908,14 @@ function aPe({ item: e, navigate: t }) {
children: r
}), /* @__PURE__ */ (0, I.jsx)("div", {
"data-id-row": "",
- children: i.map((r) => /* @__PURE__ */ (0, I.jsx)(U2, {
+ children: i.map((r) => /* @__PURE__ */ (0, I.jsx)(H2, {
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, I.jsx)(mQ, {
+ face: t === "performer" && !r.has_image && !r.has_avatar && r.source_avatar && r.source_actor_id ? /* @__PURE__ */ (0, I.jsx)(pQ, {
code: e.code,
person: r,
detail: !0
@@ -76854,7 +76932,7 @@ function aPe({ item: e, navigate: t }) {
r("performer", "出演者", e.performer_refs.filter((e) => !e.gender || e.gender === "unknown"), "unknown"),
r("studio", "厂牌", e.studio_refs)
]
- }), /* @__PURE__ */ (0, I.jsx)(W2, {
+ }), /* @__PURE__ */ (0, I.jsx)(U2, {
people: e.series_refs.map((e) => ({
...e,
id: e.id ?? null
@@ -76863,18 +76941,18 @@ function aPe({ item: e, navigate: t }) {
})]
});
}
-function oPe({ src: e }) {
+function mPe({ src: e }) {
let t = (0, F.useRef)(null), [n, r] = (0, F.useState)(!1), [i, a] = (0, F.useState)(0);
return (0, F.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), Tue(i, {
+ return i.className = "video-js vjs-big-play-centered", i.controls = !0, i.setAttribute("playsinline", ""), i.setAttribute("aria-label", "视频预览"), n.append(i), jue(i, {
src: e,
type: /\.m3u8(?:\?|$)/i.test(e) ? "application/x-mpegURL" : "video/mp4"
}, () => r(!0));
}, [e, i]), /* @__PURE__ */ (0, I.jsx)("div", {
ref: t,
"data-jav-video": "",
- children: n ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ children: n ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "neutral",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
@@ -76887,8 +76965,8 @@ function oPe({ src: e }) {
}) : null
});
}
-function sPe({ code: e, count: t, released: n }) {
- let r = ae(), [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => ePe(e, n), [e, n]), s = (0, F.useRef)(!1), c = Lt({
+function hPe({ code: e, count: t, released: n }) {
+ let r = ae(), [i, a] = (0, F.useState)(!1), o = (0, F.useMemo)(() => cPe(e, n), [e, n]), s = (0, F.useRef)(!1), c = Lt({
queryKey: ["jav-reviews", e],
enabled: i,
initialPageParam: 1,
@@ -76897,12 +76975,12 @@ function sPe({ code: e, count: t, released: n }) {
pageParams: o.pageParams
} : void 0,
initialDataUpdatedAt: o?.saved,
- staleTime: (e) => tPe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
+ staleTime: (e) => lPe(e.state.data?.pages || [], e.state.dataUpdatedAt, n) ? Infinity : 0,
gcTime: 864e5,
refetchOnWindowFocus: !1,
queryFn: async ({ signal: t, pageParam: n }) => {
- let i = await xNe(e, n, t, s.current);
- if ($Ne(e, i), !i.ok || i.cache_stale) {
+ let i = await kNe(e, n, t, s.current);
+ if (sPe(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,
@@ -76912,7 +76990,7 @@ function sPe({ code: e, count: t, released: n }) {
}
return i;
},
- getNextPageParam: SNe
+ getNextPageParam: ANe
});
(0, F.useEffect)(() => {
c.isFetching || (s.current = !1);
@@ -76920,10 +76998,10 @@ function sPe({ 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 ? lr(c.error) : l.find((e) => !e.ok || e.cache_stale)?.message;
return /* @__PURE__ */ (0, I.jsx)("section", {
"data-jav-reviews": "",
- children: /* @__PURE__ */ (0, I.jsxs)(VH, {
+ children: /* @__PURE__ */ (0, I.jsxs)(BH, {
trailing: !0,
summary: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [
- /* @__PURE__ */ (0, I.jsx)(Qhe, { "aria-hidden": !0 }),
+ /* @__PURE__ */ (0, I.jsx)(oge, { "aria-hidden": !0 }),
"评论",
t > 0 ? ` · ${t}` : ""
] }),
@@ -76960,7 +77038,7 @@ function sPe({ code: e, count: t, released: n }) {
"data-jav-review-meta": "",
children: [
/* @__PURE__ */ (0, I.jsx)("b", { children: e.username }),
- Number(e.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(b4, {
+ Number(e.score) > 0 ? /* @__PURE__ */ (0, I.jsx)(y4, {
score: Number(e.score),
review: !0
}) : null,
@@ -76972,28 +77050,28 @@ function sPe({ code: e, count: t, released: n }) {
]
}), /* @__PURE__ */ (0, I.jsx)("p", {
"data-long-text": "",
- lang: HI(e.content),
+ lang: VI(e.content),
children: e.content
})]
}, e.id)),
- d ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ d ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "neutral",
action: /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
- ..._V(c.isFetching),
+ ...gV(c.isFetching),
onClick: () => {
s.current = !0, c.refetch();
},
children: "立即重试"
}),
children: d
- }) : !c.isPending && !u.length ? /* @__PURE__ */ (0, I.jsx)(fV, {
+ }) : !c.isPending && !u.length ? /* @__PURE__ */ (0, I.jsx)(dV, {
tone: "neutral",
children: "暂无评论"
}) : null,
!d && l.length ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
- ..._V(c.isFetching),
+ ...gV(c.isFetching),
onClick: () => {
s.current = !0, c.refetch();
},
@@ -77001,13 +77079,13 @@ function sPe({ code: e, count: t, released: n }) {
}) : null,
c.hasNextPage ? /* @__PURE__ */ (0, I.jsx)(J, {
variant: "secondary",
- ..._V(c.isFetchingNextPage),
+ ...gV(c.isFetchingNextPage),
onClick: () => {
c.isFetchingNextPage || c.fetchNextPage();
},
children: "更多评论"
}) : null,
- !d && l.at(-1)?.page === 8 && t > u.length ? /* @__PURE__ */ (0, I.jsxs)(fV, {
+ !d && l.at(-1)?.page === 8 && t > u.length ? /* @__PURE__ */ (0, I.jsxs)(dV, {
tone: "neutral",
children: [
"已显示 ",
@@ -77019,21 +77097,21 @@ function sPe({ code: e, count: t, released: n }) {
})
});
}
-function cPe({ item: e, actions: t, readOnly: n }) {
+function gPe({ item: e, actions: t, readOnly: n }) {
let [r, i] = (0, F.useState)(!1), a = Ft({
- queryKey: ZU,
+ queryKey: XU,
enabled: r,
- queryFn: ({ signal: e }) => B(`${XU}?limit=50`, e)
+ queryFn: ({ signal: e }) => B(`${YU}?limit=50`, e)
}), o = a.data?.providers.find((e) => e.configured)?.key || "", [s, c] = (0, F.useState)(!1);
return /* @__PURE__ */ (0, I.jsx)("section", {
"data-jav-resources": "",
- children: /* @__PURE__ */ (0, I.jsx)(VH, {
+ children: /* @__PURE__ */ (0, I.jsx)(BH, {
trailing: !0,
- summary: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(v4, { name: "link" }), "资源"] }),
+ summary: /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [/* @__PURE__ */ (0, I.jsx)(_4, { name: "link" }), "资源"] }),
onOpenChange: (e) => {
i(e), e && c(!0);
},
- children: s ? /* @__PURE__ */ (0, I.jsx)(m4, {
+ children: s ? /* @__PURE__ */ (0, I.jsx)(p4, {
want: {
id: 0,
code: e.code,
@@ -77050,31 +77128,31 @@ function cPe({ item: e, actions: t, readOnly: n }) {
});
}
// src/react/stage/stage-player.ts
-var x4 = null, S4 = null, C4 = null, w4 = null, T4 = null, E4 = !1, D4 = 0, O4 = null, k4 = () => !1, A4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;
-function lPe(e, t) {
- x4 = e, k4 = () => t.isOpen(), O4 = () => t.requestClose(), Ble({
+var b4 = null, x4 = null, S4 = null, C4 = null, w4 = null, T4 = !1, E4 = 0, D4 = null, O4 = () => !1, k4 = (e, t, n) => `${e}:${t}:${n ?? ""}`;
+function _Pe(e, t) {
+ b4 = e, O4 = () => t.isOpen(), D4 = () => t.requestClose(), Wle({
...e.player,
stage: () => document.getElementById("stage")
- }), Vle({
- inMiniplayer: (e) => S4?.player === e,
- kind: (e) => S4?.player === e ? S4.kind : C4?.kind ?? w4?.kind ?? "item",
- expand: () => X4(),
- toMiniplayer: () => Z4()
- }), j4 || (j4 = !0, addEventListener("pagehide", () => JN()));
-}
-var j4 = !1;
-function M4() {
- if (!x4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
- return x4;
-}
-function N4(e) {
- w4 = e;
-}
-var uPe = () => w4;
-function P4(e, t) {
- let { kind: n, item: r, media: i = null } = t, a = A4(n, r.id, i?.index ?? null);
- if (S4 && S4.key === a) return fPe(e, S4);
- S4 && Y4();
+ }), Gle({
+ inMiniplayer: (e) => x4?.player === e,
+ kind: (e) => x4?.player === e ? x4.kind : S4?.kind ?? C4?.kind ?? "item",
+ expand: () => Y4(),
+ toMiniplayer: () => X4()
+ }), A4 || (A4 = !0, addEventListener("pagehide", () => KN()));
+}
+var A4 = !1;
+function j4() {
+ if (!b4) throw Error("舞台播放器还没有接上宿主(configureStagePlayer)");
+ return b4;
+}
+function M4(e) {
+ C4 = e;
+}
+var vPe = () => C4;
+function N4(e, t) {
+ let { kind: n, item: r, media: i = null } = t, a = k4(n, r.id, i?.index ?? null);
+ if (x4 && x4.key === a) return bPe(e, x4);
+ x4 && J4();
let o = {
player: null,
kind: n,
@@ -77082,52 +77160,52 @@ function P4(e, t) {
mediaIndex: i?.index ?? null,
key: a
};
- C4 = o;
+ S4 = 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 = sP(s, {
+ let c = aP(s, {
kind: n,
item: r,
media: i,
autoplay: t.autoplay,
resume: t.resume ?? null,
onPlayer: (e) => {
- C4 === o && (o.player = e);
+ S4 === o && (o.player = e);
},
- handedOff: (e) => S4?.player === e
+ handedOff: (e) => x4?.player === e
});
return () => {
- let e = !!o.player && S4?.player === o.player;
- C4 === o && (C4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), JN());
+ let e = !!o.player && x4?.player === o.player;
+ S4 === o && (S4 = null), c(), !e && (o.player || (s.pause(), s.removeAttribute("src"), s.load()), KN());
};
}
-async function dPe(e, t, n) {
+async function yPe(e, t, n) {
let r = await Tn(`/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("这条作品没有可播放的视频");
if (r.location === "online") throw Error("请打开详情播放在线作品");
if (r.cost === "metered") throw Error("请打开详情确认计费来源");
- let i = await M4().player.loadSourceStatus();
- if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(M4().player.offlineReason(String(r.root_id || r.location || "")));
+ let i = await j4().player.loadSourceStatus();
+ if (n.throwIfAborted(), i[String(r.root_id || r.location || "")] === !1) throw Error(j4().player.offlineReason(String(r.root_id || r.location || "")));
let a = {
kind: "item",
item: r,
title: String(r.title || r.name || ""),
sub: String(r.performers?.[0] || r.creator || "未归属")
};
- N4(a);
- let o = P4(t, {
+ M4(a);
+ let o = N4(t, {
kind: "item",
item: r,
autoplay: !0
}), s = !1;
return (e = !1) => {
- s || (s = !0, e && w4 === a && I4(!0), o(), w4 === a && N4(null));
+ s || (s = !0, e && C4 === a && F4(!0), o(), C4 === a && M4(null));
};
}
-function fPe(e, t) {
+function bPe(e, t) {
let { player: n } = t;
- q4(t), S4 = null, J4(), n.el().classList.remove("vjs-peach-mini"), aP(e), e.append(n.el()), QM(n);
+ K4(t), x4 = null, q4(), n.el().classList.remove("vjs-peach-mini"), rP(e), e.append(n.el()), JM(n);
let r = {
player: n,
kind: t.kind,
@@ -77135,23 +77213,23 @@ function fPe(e, t) {
mediaIndex: t.mediaIndex,
key: t.key
};
- C4 = r;
- let i = oP(n, e);
- return $M(n), () => {
- C4 === r && (C4 = null), i(), S4?.player !== n && (ZM() === n && QM(null), zN(n), JN());
+ S4 = r;
+ let i = iP(n, e);
+ return YM(n), () => {
+ S4 === r && (S4 = null), i(), x4?.player !== n && (qM() === n && JM(null), LN(n), KN());
};
}
-var F4 = () => {
- let e = C4?.player;
+var P4 = () => {
+ let e = S4?.player;
return e && !e.isDisposed() ? e : null;
};
-function I4(e) {
- let t = E4;
- E4 = !1, S4?.pending && Y4();
- let n = C4, r = n?.player, i = w4;
- if (!n || !r || r.isDisposed() || !i || !T4) return;
- let a = M4().player.settings();
- (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && gPe({
+function F4(e) {
+ let t = T4;
+ T4 = !1, x4?.pending && J4();
+ let n = S4, r = n?.player, i = C4;
+ if (!n || !r || r.isDisposed() || !i || !w4) return;
+ let a = j4().player.settings();
+ (t || e && a.miniplayer && !r.paused() && !r.ended() && !r.error()) && wPe({
player: r,
kind: n.kind,
item: n.item,
@@ -77159,46 +77237,46 @@ function I4(e) {
key: n.key
}, i);
}
-function L4(e, t) {
- E4 = !1, S4 && (S4.kind === e && S4.item.id === t ? (S4.pending = !0, J4()) : Y4());
+function I4(e, t) {
+ T4 = !1, x4 && (x4.kind === e && x4.item.id === t ? (x4.pending = !0, q4()) : J4());
}
-function R4(e) {
- T4 = e, T4 && G4();
+function L4(e) {
+ w4 = e, w4 && W4();
}
-var z4 = () => !!S4 && !S4.pending && !S4.player.isDisposed();
-function pPe() {
- return z4() ? T4?.frame.querySelector("video") ?? null : null;
+var R4 = () => !!x4 && !x4.pending && !x4.player.isDisposed();
+function xPe() {
+ return R4() ? w4?.frame.querySelector("video") ?? null : null;
}
-function mPe() {
- return k4() ? document.getElementById("stage")?.querySelector("video") ?? null : F4()?.el().querySelector("video") ?? pPe();
+function SPe() {
+ return O4() ? document.getElementById("stage")?.querySelector("video") ?? null : P4()?.el().querySelector("video") ?? xPe();
}
-function B4(e) {
- T4 && (T4.title.textContent = e.title || "", T4.sub.textContent = e.sub || "", T4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
+function z4(e) {
+ w4 && (w4.title.textContent = e.title || "", w4.sub.textContent = e.sub || "", w4.info.setAttribute("aria-label", e.title ? `展开到详情:${e.title}` : "展开到详情"));
}
-function V4(e = S4?.item) {
- if (!T4) return;
- let t = T4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;
- T4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);
+function B4(e = x4?.item) {
+ if (!w4) return;
+ let t = w4.frame.querySelector("video"), n = t?.videoWidth || Number(e?.width) || 16, r = t?.videoHeight || Number(e?.height) || 9;
+ w4.frame.style.setProperty("--miniplayer-aspect", `${Math.max(n, r)}/${r}`);
}
-function H4() {
- let e = S4?.player;
- if (!e || e.isDisposed() || !T4) return;
+function V4() {
+ let e = x4?.player;
+ if (!e || e.isDisposed() || !w4) return;
let t = e.paused();
- T4.play.setAttribute("aria-label", t ? "播放" : "暂停"), T4.play.querySelector("[data-icon-swap]") || (T4.play.innerHTML = Ks("player-pause", "player-play", t ? "b" : "a")), qs(T4.play, t ? "b" : "a");
-}
-function U4() {
- let e = S4?.player;
- if (!e || e.isDisposed() || !T4) return;
- let t = qn(S4?.item.duration) || qn(e.duration());
- T4.time.textContent = `${Yn(e.currentTime())} / ${t ? Yn(t) : "0:00"}`;
-}
-var W4 = () => Math.max(1, Number(M4().player.settings().seekSeconds) || 10);
-function G4() {
- if (!T4 || !x4) return;
- let e = W4();
- for (let [t, n] of [[T4.back, `后退 ${e} 秒`], [T4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;
+ w4.play.setAttribute("aria-label", t ? "播放" : "暂停"), w4.play.querySelector("[data-icon-swap]") || (w4.play.innerHTML = Ks("player-pause", "player-play", t ? "b" : "a")), qs(w4.play, t ? "b" : "a");
}
-function K4(e) {
+function H4() {
+ let e = x4?.player;
+ if (!e || e.isDisposed() || !w4) return;
+ let t = qn(x4?.item.duration) || qn(e.duration());
+ w4.time.textContent = `${Yn(e.currentTime())} / ${t ? Yn(t) : "0:00"}`;
+}
+var U4 = () => Math.max(1, Number(j4().player.settings().seekSeconds) || 10);
+function W4() {
+ if (!w4 || !b4) return;
+ let e = U4();
+ for (let [t, n] of [[w4.back, `后退 ${e} 秒`], [w4.ahead, `前进 ${e} 秒`]]) t.setAttribute("aria-label", n), t.title = n;
+}
+function G4(e) {
let t = (t, n) => {
e.player.on(t, n), e.off.push(() => {
try {
@@ -77210,17 +77288,17 @@ function K4(e) {
"play",
"pause",
"ended"
- ], H4), t([
+ ], V4), t([
"timeupdate",
"durationchange",
"loadedmetadata"
- ], U4), t("loadedmetadata", () => V4()), H4(), U4(), V4(), G4();
+ ], H4), t("loadedmetadata", () => B4()), V4(), H4(), B4(), W4();
}
-function q4(e) {
+function K4(e) {
e.off.forEach((e) => e()), e.off = [];
}
-function hPe() {
- let e = T4?.root;
+function CPe() {
+ let e = w4?.root;
if (!e) return;
let t = e.hidden;
if (e.hidden = !1, !t) return;
@@ -77228,8 +77306,8 @@ function hPe() {
let n = () => e.removeAttribute("data-miniplayer-enter");
e.addEventListener("animationend", n, { once: !0 }), setTimeout(n, 500);
}
-function J4() {
- let e = T4?.root;
+function q4() {
+ let e = w4?.root;
if (e) {
e.hidden = !0;
for (let t of [
@@ -77240,73 +77318,73 @@ function J4() {
e.style.transform = "";
}
}
-function gPe(e, t) {
- if (!T4) return;
+function wPe(e, t) {
+ if (!w4) return;
let n = {
...e,
meta: t,
off: [],
pending: !1
};
- S4 = n, D4++, e.player.el().classList.add("vjs-peach-mini"), T4.frame.prepend(e.player.el()), B4(t), K4(n), hPe(), $M(e.player);
+ x4 = n, E4++, e.player.el().classList.add("vjs-peach-mini"), w4.frame.prepend(e.player.el()), z4(t), G4(n), CPe(), YM(e.player);
}
-function Y4() {
- let e = S4;
- e && q4(e), S4 = null, D4++;
+function J4() {
+ let e = x4;
+ e && K4(e), x4 = null, E4++;
let t = e?.player ?? null;
- t && ZM() === t && QM(null), zN(t), t && JN(), T4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), YM(), J4();
+ t && qM() === t && JM(null), LN(t), t && KN(), w4?.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove()), GM(), q4();
}
-function X4() {
- if (!z4() || !S4) return;
- let { kind: e, item: t, mediaIndex: n } = S4;
- M4().expand(e, t.id, n);
+function Y4() {
+ if (!R4() || !x4) return;
+ let { kind: e, item: t, mediaIndex: n } = x4;
+ j4().expand(e, t.id, n);
}
-function Z4() {
- z4() && !k4() ? X4() : k4() && F4() && O4 && (E4 = !0, O4());
+function X4() {
+ R4() && !O4() ? Y4() : O4() && P4() && D4 && (T4 = !0, D4());
}
-function _Pe() {
- let e = S4?.player;
+function TPe() {
+ let e = x4?.player;
e && !e.isDisposed() && (e.paused() ? e.play()?.catch(() => {}) : e.pause());
}
-function Q4(e) {
- let t = S4?.player;
+function Z4(e) {
+ let t = x4?.player;
if (!t || t.isDisposed()) return;
- let n = qn(t.duration()) || qn(S4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + W4() * e);
+ let n = qn(t.duration()) || qn(x4?.item.duration) || 0, r = Math.max(0, (Number(t.currentTime()) || 0) + U4() * e);
t.currentTime(n ? Math.min(n, r) : r);
}
-function $4(e) {
- return !(!z4() || !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 || M4().sourceOffline(String(e.root_id || e.location || "")));
-}
-async function vPe(e) {
- if (!z4() || !S4 || !T4) return;
- let t = ++D4, n = await Tn(`/api/item?id=${e}`).catch(() => null);
- if (t !== D4 || !z4() || !S4 || !T4 || !n || n.error) return;
- if (!$4(n)) {
- M4().openItem(e);
+function Q4(e) {
+ return !(!R4() || !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 || j4().sourceOffline(String(e.root_id || e.location || "")));
+}
+async function EPe(e) {
+ if (!R4() || !x4 || !w4) return;
+ let t = ++E4, n = await Tn(`/api/item?id=${e}`).catch(() => null);
+ if (t !== E4 || !R4() || !x4 || !w4 || !n || n.error) return;
+ if (!Q4(n)) {
+ j4().openItem(e);
return;
}
- let r = S4;
- q4(r), ZM() === r.player && QM(null), zN(r.player), JN(), T4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
+ let r = x4;
+ K4(r), qM() === r.player && JM(null), LN(r.player), KN(), w4.frame.querySelectorAll(".video-js,video").forEach((e) => e.remove());
let i = document.createElement("video");
- i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", T4.frame.prepend(i);
+ i.className = "video-js", i.setAttribute("playsinline", ""), i.preload = "metadata", w4.frame.prepend(i);
let a = {
kind: "item",
item: n,
title: String(n.title || n.name || ""),
sub: String(n.performers?.[0] || n.creator || "未归属")
};
- B4(a), sP(i, {
+ z4(a), aP(i, {
kind: "item",
item: n,
autoplay: !0,
chrome: !1,
onPlayer: (r) => {
- if (t !== D4) {
- r && ZM() === r && QM(null), zN(r);
+ if (t !== E4) {
+ r && qM() === r && JM(null), LN(r);
return;
}
if (!r) {
- Y4(), M4().openItem(e);
+ J4(), j4().openItem(e);
return;
}
r.el().classList.add("vjs-peach-mini");
@@ -77315,25 +77393,25 @@ async function vPe(e) {
kind: "item",
item: n,
mediaIndex: null,
- key: A4("item", n.id, null),
+ key: k4("item", n.id, null),
meta: a,
off: [],
pending: !1
};
- S4 = i, K4(i);
+ x4 = i, G4(i);
}
- }), V4(n);
+ }), B4(n);
}
// src/react/stage/miniplayer.tsx
-var e3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
+var $4 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
viewBox: "0 0 24 24",
"aria-hidden": "true",
children: /* @__PURE__ */ (0, I.jsx)("use", { href: `#i-${e}` })
-}), yPe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, t3 = (e) => (t) => {
+}), DPe = { __html: "<svg viewBox=\"0 0 24 24\" aria-hidden=\"true\"><use href=\"#i-player-pause\"/></svg>" }, e3 = (e) => (t) => {
t.stopPropagation(), e();
-}, bPe = (0, F.memo)(function() {
+}, OPe = (0, F.memo)(function() {
let e = (0, F.useRef)(null), t = (0, F.useRef)(null), n = (0, F.useRef)(null), r = (0, F.useRef)(null), i = (0, F.useRef)(null), a = (0, F.useRef)(null), o = (0, F.useRef)(null), s = (0, F.useRef)(null), c = (0, F.useRef)(null), l = (0, F.useRef)(null);
- return (0, F.useLayoutEffect)(() => (R4({
+ return (0, F.useLayoutEffect)(() => (L4({
root: e.current,
frame: n.current,
play: r.current,
@@ -77343,7 +77421,7 @@ var e3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
title: s.current,
sub: c.current,
info: l.current
- }), () => R4(null)), []), (0, F.useEffect)(() => CPe(e.current, t.current), []), (0, F.useEffect)(() => xPe(e.current), []), /* @__PURE__ */ (0, I.jsx)("aside", {
+ }), () => L4(null)), []), (0, F.useEffect)(() => jPe(e.current, t.current), []), (0, F.useEffect)(() => kPe(e.current), []), /* @__PURE__ */ (0, I.jsx)("aside", {
ref: e,
"data-miniplayer": "",
id: "miniplayer",
@@ -77367,24 +77445,24 @@ var e3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
id: "miniplayerExpand",
"aria-label": "展开到详情",
"aria-keyshortcuts": "i",
- onClick: t3(X4),
- children: /* @__PURE__ */ (0, I.jsx)(e3, { name: "maximize-2" })
+ onClick: e3(Y4),
+ children: /* @__PURE__ */ (0, I.jsx)($4, { name: "maximize-2" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
type: "button",
"data-miniplayer-button": "close",
id: "miniplayerClose",
"aria-label": "关闭小窗",
- onClick: t3(Y4),
- children: /* @__PURE__ */ (0, I.jsx)(e3, { name: "x" })
+ onClick: e3(J4),
+ children: /* @__PURE__ */ (0, I.jsx)($4, { name: "x" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
ref: a,
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerBack",
- onClick: t3(() => Q4(-1)),
- children: /* @__PURE__ */ (0, I.jsx)(e3, { name: "rotate-ccw" })
+ onClick: e3(() => Z4(-1)),
+ children: /* @__PURE__ */ (0, I.jsx)($4, { name: "rotate-ccw" })
}),
/* @__PURE__ */ (0, I.jsx)("button", {
ref: r,
@@ -77393,16 +77471,16 @@ var e3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
id: "miniplayerPlay",
"aria-label": "暂停",
"aria-keyshortcuts": "k",
- onClick: t3(_Pe),
- dangerouslySetInnerHTML: yPe
+ onClick: e3(TPe),
+ dangerouslySetInnerHTML: DPe
}),
/* @__PURE__ */ (0, I.jsx)("button", {
ref: o,
type: "button",
"data-miniplayer-seek": "",
id: "miniplayerAhead",
- onClick: t3(() => Q4(1)),
- children: /* @__PURE__ */ (0, I.jsx)(e3, { name: "rotate-cw" })
+ onClick: e3(() => Z4(1)),
+ children: /* @__PURE__ */ (0, I.jsx)($4, { name: "rotate-cw" })
}),
/* @__PURE__ */ (0, I.jsx)("span", {
ref: i,
@@ -77419,7 +77497,7 @@ var e3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
"data-miniplayer-info": "",
id: "miniplayerInfo",
"aria-label": "展开到详情",
- onClick: () => X4(),
+ onClick: () => Y4(),
children: [/* @__PURE__ */ (0, I.jsx)("span", {
ref: s,
"data-miniplayer-title": "",
@@ -77433,7 +77511,7 @@ var e3 = ({ name: e }) => /* @__PURE__ */ (0, I.jsx)("svg", {
})
});
});
-function xPe(e) {
+function kPe(e) {
let t = () => {
let t = e.dataset.corner || "";
!e.hidden && t.startsWith("b") && (t === "br" || innerWidth <= 600) ? document.documentElement.style.setProperty("--miniplayer-space", `${Math.ceil(e.offsetHeight + 16 + 12)}px`) : document.documentElement.style.removeProperty("--miniplayer-space");
@@ -77447,7 +77525,7 @@ function xPe(e) {
n.disconnect(), r.disconnect(), window.removeEventListener("resize", t), document.documentElement.style.removeProperty("--miniplayer-space");
};
}
-function SPe(e, t, n) {
+function APe(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
@@ -77469,7 +77547,7 @@ function SPe(e, t, n) {
};
e.addEventListener("transitionend", u), setTimeout(u, 600);
}
-function CPe(e, t) {
+function jPe(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 = {
@@ -77495,7 +77573,7 @@ function CPe(e, t) {
} catch {}
i.moved && (e.dataset.dragged = "1", setTimeout(() => {
delete e.dataset.dragged;
- }, 0), SPe(e, i.dx, i.dy));
+ }, 0), APe(e, i.dx, i.dy));
}, o = (t) => {
e.dataset.dragged && (t.stopPropagation(), t.preventDefault());
}, s = (e) => {
@@ -77506,57 +77584,57 @@ function CPe(e, t) {
};
}
// src/react/stage/stage.tsx
-var n3 = null, r3 = null, i3 = null, a3 = /* @__PURE__ */ new Set(), o3 = 0, s3 = null, c3 = !1, l3 = !1, u3 = () => {
+var t3 = null, n3 = null, r3 = null, i3 = /* @__PURE__ */ new Set(), a3 = 0, o3 = null, s3 = !1, c3 = !1, l3 = () => {
let e = document.getElementById("stage");
return e instanceof HTMLDialogElement ? e : null;
};
-function d3() {
- if (!n3) throw Error("舞台还没有接上宿主(configureStage)");
- return n3;
+function u3() {
+ if (!t3) throw Error("舞台还没有接上宿主(configureStage)");
+ return t3;
}
-function wPe(e) {
- return a3.add(e), () => {
- a3.delete(e);
+function MPe(e) {
+ return i3.add(e), () => {
+ i3.delete(e);
};
}
-function TPe() {
- for (let e of [...a3]) e();
+function NPe() {
+ for (let e of [...i3]) e();
}
-function f3() {
- (0, Rt.flushSync)(TPe);
+function d3() {
+ (0, Rt.flushSync)(NPe);
}
-function EPe({ view: e }) {
- return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e ? /* @__PURE__ */ (0, I.jsx)(DPe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, I.jsx)(bPe, {})] });
+function PPe({ view: e }) {
+ return /* @__PURE__ */ (0, I.jsxs)(I.Fragment, { children: [e ? /* @__PURE__ */ (0, I.jsx)(FPe, { view: e }, e.generation) : null, /* @__PURE__ */ (0, I.jsx)(OPe, {})] });
}
-var p3 = () => /* @__PURE__ */ (0, I.jsx)("div", {
+var f3 = () => /* @__PURE__ */ (0, I.jsx)("div", {
"data-skeleton": "detail",
role: "status",
"aria-label": "正在读取作品详情",
- dangerouslySetInnerHTML: { __html: TMe() }
+ dangerouslySetInnerHTML: { __html: NMe() }
});
-function m3(e) {
+function p3(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 h3() {
- let e = u3(), t = e && OMe(e);
+function m3() {
+ let e = l3(), t = e && IMe(e);
t ? (t.focus({ preventScroll: !0 }), t.dispatchEvent(new KeyboardEvent("keydown", {
key: "Escape",
bubbles: !0,
cancelable: !0
- }))) : g3();
+ }))) : h3();
}
-function DPe({ view: e }) {
+function FPe({ view: e }) {
let t = (0, F.useRef)(null);
(0, F.useLayoutEffect)(() => {
let e = t.current, n = (t) => {
- t.target === e && (t.preventDefault(), h3());
+ t.target === e && (t.preventDefault(), m3());
};
return e.addEventListener("cancel", n), () => e.removeEventListener("cancel", n);
}, []);
- let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, I.jsx)(ANe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, I.jsx)(nPe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, I.jsx)(dNe, { ...r.props }, r.props.id);
+ let { phase: n, content: r } = e, i = r.kind === "item" ? /* @__PURE__ */ (0, I.jsx)(RNe, { ...r.props }) : r.kind === "jav" ? /* @__PURE__ */ (0, I.jsx)(uPe, { ...r.props }, r.props.code) : /* @__PURE__ */ (0, I.jsx)(yNe, { ...r.props }, r.props.id);
return /* @__PURE__ */ (0, I.jsxs)("dialog", {
ref: t,
id: "stage",
@@ -77564,27 +77642,27 @@ function DPe({ view: e }) {
"data-stage-kind": r.kind,
"aria-label": "作品详情",
onKeyDown: (e) => {
- e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), h3());
+ e.key !== "Escape" || e.defaultPrevented || (e.preventDefault(), m3());
},
onPointerDown: (e) => {
- l3 = m3(e);
+ c3 = p3(e);
},
onClick: (e) => {
- l3 && m3(e) && g3();
+ c3 && p3(e) && h3();
},
children: [
- n === "skeleton" ? /* @__PURE__ */ (0, I.jsx)(p3, {}, "skeleton") : null,
+ n === "skeleton" ? /* @__PURE__ */ (0, I.jsx)(f3, {}, "skeleton") : null,
n === "reveal" ? /* @__PURE__ */ (0, I.jsx)("div", {
"data-stage-fade": "",
"aria-hidden": "true",
- children: /* @__PURE__ */ (0, I.jsx)(p3, {})
+ children: /* @__PURE__ */ (0, I.jsx)(f3, {})
}, "fade") : null,
n === "skeleton" ? null : /* @__PURE__ */ (0, I.jsx)("div", {
"data-stage-scroll": "",
children: /* @__PURE__ */ (0, I.jsx)("div", {
className: "peach-react",
- children: /* @__PURE__ */ (0, I.jsx)(ED, {
- getContainer: () => $0(t.current),
+ children: /* @__PURE__ */ (0, I.jsx)(SD, {
+ getContainer: () => Q0(t.current),
children: i
})
})
@@ -77592,14 +77670,14 @@ function DPe({ view: e }) {
]
});
}
-function g3() {
- r3 && !c3 && (c3 = !0, r3.request.actions.close());
+function h3() {
+ n3 && !s3 && (s3 = !0, n3.request.actions.close());
}
-function _3(e, t) {
- let n = u3();
+function g3(e, t) {
+ let n = l3();
n?.toggleAttribute("data-ambient", e), n?.toggleAttribute("data-theater", t);
}
-function v3(e) {
+function _3(e) {
if (e.kind === "jav") return {
kind: "jav",
props: {
@@ -77607,30 +77685,30 @@ function v3(e) {
readOnly: e.readOnly,
actions: {
...e.actions,
- close: g3
+ close: h3
}
}
};
let t = e.resume ?? null, n = (n) => {
let r = t && (e.id == null || e.id === n) ? t : null;
return t = null, r;
- }, r = () => d3().player.settings(), i = () => r3?.request === e;
+ }, r = () => u3().player.settings(), i = () => n3?.request === e;
if (e.kind === "item") {
let { kind: t, resume: a, actions: o, ...s } = e, c = {
...o,
- close: g3,
+ close: h3,
present: (e, t) => {
let n = e.performers;
- N4({
+ M4({
kind: "item",
item: e,
title: String(e.title || e.name || ""),
sub: String(n?.[0] || e.creator || "未归属")
- }), _3(r().ambientMode, r().theaterMode), queueMicrotask(() => {
+ }), g3(r().ambientMode, r().theaterMode), queueMicrotask(() => {
i() && o.present(e, t);
});
},
- mountPlayer: (e, t, r, i) => P4(e, {
+ mountPlayer: (e, t, r, i) => N4(e, {
kind: "item",
item: t,
autoplay: i?.autoplay,
@@ -77648,18 +77726,18 @@ function v3(e) {
}
let { kind: a, resume: o, actions: s, ...c } = e, l = {
...s,
- close: g3,
+ close: h3,
present: (e, t) => {
- N4({
+ M4({
kind: "follow",
item: e,
title: e.title || "",
sub: e.author || e.source_label || ""
- }), _3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {
+ }), g3(t === "video" && r().ambientMode, t === "video" && r().theaterMode), queueMicrotask(() => {
i() && s.present(e, t);
});
},
- mountPlayer: (e, t, r, i) => P4(e, {
+ mountPlayer: (e, t, r, i) => N4(e, {
kind: "follow",
item: t,
media: r,
@@ -77676,106 +77754,106 @@ function v3(e) {
}
};
}
-function OPe(e, t) {
+function IPe(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 = () => {
- clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), r3?.generation === t && r3.phase === "reveal" && (r3 = {
- ...r3,
+ clearTimeout(r), n?.removeEventListener("transitionend", a), e.removeAttribute("data-stage-reveal"), e.removeAttribute("data-stage-revealing"), n3?.generation === t && n3.phase === "reveal" && (n3 = {
+ ...n3,
phase: "content"
- }, f3());
+ }, d3());
}, a = (e) => {
e.target === n && i();
};
n?.addEventListener("transitionend", a), r = window.setTimeout(i, 1e3);
}
-function y3(e) {
- let t = u3();
- return !r3 || r3.content.kind !== e || c3 || !t?.open || t.hasAttribute("data-closing") ? null : t;
+function v3(e) {
+ let t = l3();
+ return !n3 || n3.content.kind !== e || s3 || !t?.open || t.hasAttribute("data-closing") ? null : t;
}
-async function kPe(e) {
- !i3 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (i3 = {
+async function LPe(e) {
+ !r3 && document.activeElement instanceof HTMLElement && document.activeElement !== document.body && (r3 = {
left: window.scrollX,
top: window.scrollY,
anchor: document.activeElement
});
- let t = y3(e.kind);
+ let t = v3(e.kind);
if (t) {
- await jPe(e, t);
+ await zPe(e, t);
return;
}
- r3 && b3({ miniplayer: !1 });
- let n = ++o3, r = new AbortController();
- s3 = r, c3 = !1, l3 = !1, e.kind === "jav" ? Y4() : L4(e.kind, e.id ?? NaN);
- let i = v3(e);
- r3 = {
+ n3 && y3({ miniplayer: !1 });
+ let n = ++a3, r = new AbortController();
+ o3 = r, s3 = !1, c3 = !1, e.kind === "jav" ? J4() : I4(e.kind, e.id ?? NaN);
+ let i = _3(e);
+ n3 = {
generation: n,
request: e,
content: i,
phase: "skeleton"
};
- let a = i.kind === "item" ? PP(i.props, r.signal) : i.kind === "jav" ? Y2(i.props, r.signal) : a2(i.props, r.signal);
- if (n !== o3 || r3?.request !== e) {
+ let a = i.kind === "item" ? MP(i.props, r.signal) : i.kind === "jav" ? J2(i.props, r.signal) : i2(i.props, r.signal);
+ if (n !== a3 || n3?.request !== e) {
await a.catch(() => {});
return;
}
- let o = APe(i);
- r3 = {
- ...r3,
+ let o = RPe(i);
+ n3 = {
+ ...n3,
phase: o ? "content" : "skeleton"
- }, f3();
- let s = u3();
+ }, d3();
+ let s = l3();
if (!s) {
await a.catch(() => {});
return;
}
- o || pc(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), t2(s);
+ o || pc(s), document.body.setAttribute("data-detail-open", ""), s.open || s.showModal(), e2(s);
try {
await a;
} catch {
if (r.signal.aborted) return;
}
- if (n !== o3 || !r3 || o) return;
+ if (n !== a3 || !n3 || o) return;
let c = !!s.querySelector(".skeleton-awaiting");
- r3 = {
- ...r3,
+ n3 = {
+ ...n3,
phase: c ? "content" : "reveal"
- }, f3(), c || OPe(s, n), tc(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, d3(), c || IPe(s, n), tc(s, ":scope>:not([data-stage-fade]) [data-reveal-line]");
let l = document.activeElement;
l !== s && s.contains(l) || s.querySelector("#closeStage")?.focus();
}
-function APe(e) {
- if (e.kind === "jav") return !!H.getQueryData(q2(e.props.code));
- if (e.kind === "follow") return !!H.getQueryData(n2(e.props.id));
- let { queue: t, id: n } = e.props, r = t ? H.getQueryData(bP(t)) : null;
+function RPe(e) {
+ if (e.kind === "jav") return !!H.getQueryData(K2(e.props.code));
+ if (e.kind === "follow") return !!H.getQueryData(t2(e.props.id));
+ let { queue: t, id: n } = e.props, r = t ? H.getQueryData(vP(t)) : null;
if (t && !r) return !1;
- let i = r ? MP(r, n) : n;
- return i != null && !!H.getQueryData(yP(i));
+ let i = r ? AP(r, n) : n;
+ return i != null && !!H.getQueryData(_P(i));
}
-async function jPe(e, t) {
- let n = ++o3;
- s3?.abort();
+async function zPe(e, t) {
+ let n = ++a3;
+ o3?.abort();
let r = new AbortController();
- s3 = r, l3 = !1;
- let i = v3(e);
+ o3 = r, c3 = !1;
+ let i = _3(e);
try {
- i.kind === "item" ? await PP(i.props, r.signal) : i.kind === "jav" ? await Y2(i.props, r.signal) : await a2(i.props, r.signal);
+ i.kind === "item" ? await MP(i.props, r.signal) : i.kind === "jav" ? await J2(i.props, r.signal) : await i2(i.props, r.signal);
} catch {
if (r.signal.aborted) return;
}
- if (n !== o3 || !r3 || y3(e.kind) !== t) return;
- e.kind === "jav" ? Y4() : L4(e.kind, e.id ?? NaN), Nl(t), YM(), r3 = {
- ...r3,
+ if (n !== a3 || !n3 || v3(e.kind) !== t) return;
+ e.kind === "jav" ? J4() : I4(e.kind, e.id ?? NaN), Nl(t), GM(), n3 = {
+ ...n3,
request: e,
content: i,
phase: "content"
- }, f3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), tc(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");
+ }, d3(), t.removeAttribute("data-stage-reveal"), t.removeAttribute("data-stage-revealing"), t.querySelector(":scope > [data-stage-scroll]")?.scrollTo({ top: 0 }), tc(t, ":scope>:not([data-stage-fade]) [data-reveal-line]");
let a = document.activeElement;
a !== t && t.contains(a) || (t.querySelector("[data-mix-item][aria-current=\"true\"]") || t.querySelector("#closeStage"))?.focus({ preventScroll: !0 });
}
-function MPe() {
- t2(null);
- let e = u3();
+function BPe() {
+ e2(null);
+ let e = l3();
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 = () => {
clearTimeout(n), e.removeEventListener("animationend", i), t();
@@ -77785,14 +77863,14 @@ function MPe() {
e.addEventListener("animationend", i), n = window.setTimeout(r, 380);
}));
}
-function b3({ miniplayer: e = !0 } = {}) {
- if (o3++, s3?.abort(), s3 = null, I4(e), !r3) return;
- let t = u3();
- t && Nl(t), YM(), t2(null), t?.open && t.close(), r3 = null, c3 = !1, l3 = !1, f3(), N4(null), document.body.removeAttribute("data-detail-open");
- let n = i3;
- i3 = null;
+function y3({ miniplayer: e = !0 } = {}) {
+ if (a3++, o3?.abort(), o3 = null, F4(e), !n3) return;
+ let t = l3();
+ t && Nl(t), GM(), e2(null), t?.open && t.close(), n3 = null, s3 = !1, c3 = !1, d3(), M4(null), document.body.removeAttribute("data-detail-open");
+ let n = r3;
+ r3 = null;
let r = () => {
- !r3 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({
+ !n3 && n?.anchor.isConnected && n.anchor.getClientRects().length && window.scrollTo({
left: n.left,
top: n.top,
behavior: "instant"
@@ -77800,80 +77878,80 @@ function b3({ miniplayer: e = !0 } = {}) {
};
r(), requestAnimationFrame(r);
}
-function NPe(e) {
- r3 && (r3 = {
- ...r3,
- content: r3.content.kind === "item" ? {
+function VPe(e) {
+ n3 && (n3 = {
+ ...n3,
+ content: n3.content.kind === "item" ? {
kind: "item",
props: {
- ...r3.content.props,
+ ...n3.content.props,
...e
}
- } : r3.content.kind === "jav" ? r3.content : {
+ } : n3.content.kind === "jav" ? n3.content : {
kind: "follow",
props: {
- ...r3.content.props,
+ ...n3.content.props,
...e.relatedLimit === void 0 ? {} : { relatedLimit: e.relatedLimit }
}
}
- }, f3());
+ }, d3());
}
-function PPe() {
- let e = uPe(), t = e?.kind === "item" ? e.item : null, n = t ? ko(t, d3().player.settings().javImage) : "";
+function HPe() {
+ let e = vPe(), t = e?.kind === "item" ? e.item : null, n = t ? ko(t, u3().player.settings().javImage) : "";
if (!n) return;
- let r = F4();
+ let r = P4();
r ? r.poster(n) : document.getElementById("vid")?.setAttribute("poster", n);
}
-var FPe = {
- open: kPe,
- update: NPe,
- exit: MPe,
- dispose: b3,
- requestClose: g3,
- requestEscape: h3,
- repaintPoster: PPe,
- isOpen: () => !!r3,
- showing: () => r3 && y3(r3.content.kind) ? r3.content.kind : null,
- activeVideo: () => mPe(),
- mountWallPlayer: dPe,
+var UPe = {
+ open: LPe,
+ update: VPe,
+ exit: BPe,
+ dispose: y3,
+ requestClose: h3,
+ requestEscape: m3,
+ repaintPoster: HPe,
+ isOpen: () => !!n3,
+ showing: () => n3 && v3(n3.content.kind) ? n3.content.kind : null,
+ activeVideo: () => SPe(),
+ mountWallPlayer: yPe,
toggleTheater: () => {
- r3 && EN(!d3().player.settings().theaterMode);
+ n3 && wN(!u3().player.settings().theaterMode);
},
- toggleMiniplayer: () => Z4(),
- closeMiniplayer: () => Y4(),
- miniplayerActive: () => z4(),
- miniplayerTakesCard: (e) => $4(e),
+ toggleMiniplayer: () => X4(),
+ closeMiniplayer: () => J4(),
+ miniplayerActive: () => R4(),
+ miniplayerTakesCard: (e) => Q4(e),
miniplayerPlay: (e) => {
- vPe(e);
+ EPe(e);
}
};
-function IPe(e) {
- return n3 = e, lPe(e, {
- isOpen: () => !!r3,
- requestClose: g3
- }), FPe;
+function WPe(e) {
+ return t3 = e, _Pe(e, {
+ isOpen: () => !!n3,
+ requestClose: h3
+ }), UPe;
}
-function LPe() {
- let e = (0, F.useSyncExternalStore)(wPe, () => r3);
- return n3 ? /* @__PURE__ */ (0, I.jsx)(EPe, { view: e }) : null;
+function GPe() {
+ let e = (0, F.useSyncExternalStore)(MPe, () => n3);
+ return t3 ? /* @__PURE__ */ (0, I.jsx)(PPe, { view: e }) : null;
}
// src/react/stats/stats.ts
-var RPe = "/api/stats", x3 = ["stats"], S3 = (e) => B(RPe, e);
-async function zPe(e) {
+var KPe = "/api/stats", b3 = ["stats"], x3 = (e) => B(KPe, e);
+async function qPe(e) {
await H.fetchQuery({
- queryKey: x3,
- queryFn: () => S3(e)
+ queryKey: b3,
+ queryFn: () => x3(e)
});
}
-var C3 = (e) => e != null && Number.isFinite(e), BPe = (e) => C3(e) ? e.toLocaleString() : "未取得", VPe = (e, t) => C3(e) && C3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, HPe = (e, t) => {
- let n = VPe(e, t);
- return !n && C3(e) && e > 0 && C3(t) && t > 0 ? "<1%" : `${n}%`;
-}, w3 = (e) => {
- if (!C3(e)) return "未取得";
+var S3 = (e) => e != null && Number.isFinite(e), JPe = (e) => S3(e) ? e.toLocaleString() : "未取得", YPe = (e, t) => S3(e) && S3(t) && t > 0 ? Math.min(100, Math.max(0, Math.round(e / t * 100))) : 0, XPe = (e, t) => {
+ let n = YPe(e, t);
+ return !n && S3(e) && e > 0 && S3(t) && t > 0 ? "<1%" : `${n}%`;
+}, C3 = (e) => {
+ if (!S3(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)} 分钟`;
-}, T3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, E3 = (e) => (e.max_reached || 0) * 100, UPe = (e) => e.kind === "online" ? "在线直接观看" : T3(e) < E3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", WPe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;
-function GPe(e, t = 6) {
+}, w3 = (e) => e.duration ? Math.min(e.play_seconds / e.duration, 1) * 100 : 0, T3 = (e) => (e.max_reached || 0) * 100, ZPe = (e) => e.kind === "online" ? "在线直接观看" : w3(e) < T3(e) - 25 ? "快进扫过" : e.o_count ? `高潮 ${e.o_count}` : "正常观看", QPe = (e) => `${e.kind === "online" ? "/posts/" : "/assets/"}${e.id}`;
+function $Pe(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);
@@ -77883,7 +77961,7 @@ function GPe(e, t = 6) {
bytes: i.reduce((e, t) => e + (t.bytes ?? 0), 0)
}];
}
-var KPe = (e) => Math.max(1, ...e) * 1.1, qPe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, JPe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), YPe = {
+var eFe = (e) => Math.max(1, ...e) * 1.1, tFe = (e, t) => e > 0 ? Math.max(e, t * .02) : 0, nFe = (e) => Math.max(4, Math.min(14, Math.round(90 / Math.max(1, e)))), rFe = {
video: "视频",
image: "图片",
illustration: "插画",
@@ -77891,18 +77969,18 @@ var KPe = (e) => Math.max(1, ...e) * 1.1, qPe = (e, t) => e > 0 ? Math.max(e, t
audio: "音频",
account: "账号",
other: "其它文件"
-}, XPe = (e) => e.map((e) => ({
- name: YPe[e.k] ?? e.k,
+}, iFe = (e) => e.map((e) => ({
+ name: rFe[e.k] ?? e.k,
value: e.n
-})).sort((e, t) => t.value - e.value), ZPe = {
+})).sort((e, t) => t.value - e.value), aFe = {
速食: "<5 分钟",
短: "5–15 分钟",
中: "15–40 分钟",
长: ">40 分钟"
-}, D3 = (e, t = {}) => e.map((e) => ({
+}, E3 = (e, t = {}) => e.map((e) => ({
name: t[e.k] ?? e.k,
value: e.n
-})), QPe = (e) => D3(e, ZPe), $Pe = [
+})), oFe = (e) => E3(e, aFe), sFe = [
[
1,
1,
@@ -77938,12 +78016,12 @@ var KPe = (e) => Math.max(1, ...e) * 1.1, qPe = (e, t) => e > 0 ? Math.max(e, t
Infinity,
"≥10"
]
-], eFe = (e) => $Pe.map(([t, n, r]) => ({
+], cFe = (e) => sFe.map(([t, n, r]) => ({
name: r,
value: e.filter((e) => e.k >= t && e.k <= n).reduce((e, t) => e + t.n, 0)
}));
// node_modules/d3-array/src/max.js
-function O3(e, t) {
+function D3(e, t) {
let n;
if (t === void 0) for (let t of e) t != null && (n < t || n === void 0 && t >= t) && (n = t);
else {
@@ -77953,7 +78031,7 @@ function O3(e, t) {
return n;
}
// node_modules/d3-array/src/min.js
-function k3(e, t) {
+function O3(e, t) {
let n;
if (t === void 0) for (let t of e) t != null && (n > t || n === void 0 && t >= t) && (n = t);
else {
@@ -77963,7 +78041,7 @@ function k3(e, t) {
return n;
}
// node_modules/d3-array/src/sum.js
-function A3(e, t) {
+function k3(e, t) {
let n = 0;
if (t === void 0) for (let t of e) (t = +t) && (n += t);
else {
@@ -77973,64 +78051,64 @@ function A3(e, t) {
return n;
}
// node_modules/d3-sankey/src/align.js
-function tFe(e, t) {
+function lFe(e, t) {
return e.sourceLinks.length ? e.depth : t - 1;
}
// node_modules/d3-sankey/src/constant.js
-function j3(e) {
+function A3(e) {
return function() {
return e;
};
}
// node_modules/d3-sankey/src/sankey.js
+function j3(e, t) {
+ return N3(e.source, t.source) || e.index - t.index;
+}
function M3(e, t) {
- return P3(e.source, t.source) || e.index - t.index;
+ return N3(e.target, t.target) || e.index - t.index;
}
function N3(e, t) {
- return P3(e.target, t.target) || e.index - t.index;
-}
-function P3(e, t) {
return e.y0 - t.y0;
}
-function F3(e) {
+function P3(e) {
return e.value;
}
-function nFe(e) {
+function uFe(e) {
return e.index;
}
-function rFe(e) {
+function dFe(e) {
return e.nodes;
}
-function iFe(e) {
+function fFe(e) {
return e.links;
}
-function I3(e, t) {
+function F3(e, t) {
let n = e.get(t);
if (!n) throw Error("missing: " + t);
return n;
}
-function L3({ nodes: e }) {
+function I3({ 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 aFe() {
- let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = nFe, c = tFe, l, u, d = rFe, f = iFe, p = 6;
+function pFe() {
+ let e = 0, t = 0, n = 1, r = 1, i = 24, a = 8, o, s = uFe, c = lFe, l, u, d = dFe, f = fFe, 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), L3(e), e;
+ return h(e), g(e), _(e), v(e), x(e), I3(e), e;
}
m.update = function(e) {
- return L3(e), e;
+ return I3(e), e;
}, m.nodeId = function(e) {
- return arguments.length ? (s = typeof e == "function" ? e : j3(e), m) : s;
+ return arguments.length ? (s = typeof e == "function" ? e : A3(e), m) : s;
}, m.nodeAlign = function(e) {
- return arguments.length ? (c = typeof e == "function" ? e : j3(e), m) : c;
+ return arguments.length ? (c = typeof e == "function" ? e : A3(e), m) : c;
}, m.nodeSort = function(e) {
return arguments.length ? (l = e, m) : l;
}, m.nodeWidth = function(e) {
@@ -78038,9 +78116,9 @@ function aFe() {
}, m.nodePadding = function(e) {
return arguments.length ? (a = o = +e, m) : a;
}, m.nodes = function(e) {
- return arguments.length ? (d = typeof e == "function" ? e : j3(e), m) : d;
+ return arguments.length ? (d = typeof e == "function" ? e : A3(e), m) : d;
}, m.links = function(e) {
- return arguments.length ? (f = typeof e == "function" ? e : j3(e), m) : f;
+ return arguments.length ? (f = typeof e == "function" ? e : A3(e), m) : f;
}, m.linkSort = function(e) {
return arguments.length ? (u = e, m) : u;
}, m.size = function(i) {
@@ -78056,12 +78134,12 @@ function aFe() {
for (let [e, r] of t.entries()) {
r.index = e;
let { source: t, target: i } = r;
- typeof t != "object" && (t = r.source = I3(n, t)), typeof i != "object" && (i = r.target = I3(n, i)), t.sourceLinks.push(r), i.targetLinks.push(r);
+ typeof t != "object" && (t = r.source = F3(n, t)), typeof i != "object" && (i = r.target = F3(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);
}
function g({ nodes: e }) {
- for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(A3(t.sourceLinks, F3), A3(t.targetLinks, F3)) : t.fixedValue;
+ for (let t of e) t.value = t.fixedValue === void 0 ? Math.max(k3(t.sourceLinks, P3), k3(t.targetLinks, P3)) : t.fixedValue;
}
function _({ nodes: e }) {
let t = e.length, n = new Set(e), r = /* @__PURE__ */ new Set(), i = 0;
@@ -78086,7 +78164,7 @@ function aFe() {
}
}
function y({ nodes: t }) {
- let r = O3(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
+ let r = D3(t, (e) => e.depth) + 1, a = (n - e - i) / (r - 1), o = Array(r);
for (let n of t) {
let t = Math.max(0, Math.min(r - 1, Math.floor(c.call(null, n, r))));
n.layer = t, n.x0 = e + t * a, n.x1 = n.x0 + i, o[t] ? o[t].push(n) : o[t] = [n];
@@ -78095,7 +78173,7 @@ function aFe() {
return o;
}
function b(e) {
- let n = k3(e, (e) => (r - t - (e.length - 1) * o) / A3(e, F3));
+ let n = O3(e, (e) => (r - t - (e.length - 1) * o) / k3(e, P3));
for (let i of e) {
let e = t;
for (let t of i) {
@@ -78112,7 +78190,7 @@ function aFe() {
}
function x(e) {
let n = y(e);
- o = Math.min(a, (r - t) / (O3(n, (e) => e.length) - 1)), b(n);
+ o = Math.min(a, (r - t) / (D3(n, (e) => e.length) - 1)), b(n);
for (let e = 0; e < p; ++e) {
let t = .99 ** e, r = Math.max(1 - t, (e + 1) / p);
C(n, t, r), S(n, t, r);
@@ -78131,7 +78209,7 @@ function aFe() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(P3), w(i, n);
+ l === void 0 && i.sort(N3), w(i, n);
}
}
function C(e, t, n) {
@@ -78147,7 +78225,7 @@ function aFe() {
let i = (n / r - e.y0) * t;
e.y0 += i, e.y1 += i, D(e);
}
- l === void 0 && i.sort(P3), w(i, n);
+ l === void 0 && i.sort(N3), w(i, n);
}
}
function w(e, n) {
@@ -78168,12 +78246,12 @@ function aFe() {
}
function D({ sourceLinks: e, targetLinks: t }) {
if (u === void 0) {
- for (let { source: { sourceLinks: e } } of t) e.sort(N3);
- for (let { target: { targetLinks: t } } of e) t.sort(M3);
+ for (let { source: { sourceLinks: e } } of t) e.sort(M3);
+ for (let { target: { targetLinks: t } } of e) t.sort(j3);
}
}
function O(e) {
- if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(N3), n.sort(M3);
+ if (u === void 0) for (let { sourceLinks: t, targetLinks: n } of e) t.sort(M3), n.sort(j3);
}
function k(e, t) {
let n = e.y0 - (e.sourceLinks.length - 1) * o / 2;
@@ -78202,15 +78280,15 @@ function aFe() {
return m;
}
// node_modules/d3-path/src/path.js
-var R3 = Math.PI, z3 = 2 * R3, B3 = 1e-6, oFe = z3 - B3;
-function V3() {
+var L3 = Math.PI, R3 = 2 * L3, z3 = 1e-6, mFe = R3 - z3;
+function B3() {
this._x0 = this._y0 = this._x1 = this._y1 = null, this._ = "";
}
-function H3() {
- return new V3();
+function V3() {
+ return new B3();
}
-V3.prototype = H3.prototype = {
- constructor: V3,
+B3.prototype = V3.prototype = {
+ constructor: B3,
moveTo: function(e, t) {
this._ += "M" + (this._x0 = this._x1 = +e) + "," + (this._y0 = this._y1 = +t);
},
@@ -78231,11 +78309,11 @@ V3.prototype = H3.prototype = {
var a = this._x1, o = this._y1, s = n - e, c = r - t, l = a - e, u = o - t, d = l * l + u * u;
if (i < 0) throw Error("negative radius: " + i);
if (this._x1 === null) this._ += "M" + (this._x1 = e) + "," + (this._y1 = t);
- else if (d > B3) {
- if (!(Math.abs(u * s - c * l) > B3) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);
+ else if (d > z3) {
+ if (!(Math.abs(u * s - c * l) > z3) || !i) this._ += "L" + (this._x1 = e) + "," + (this._y1 = t);
else {
- var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((R3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
- Math.abs(y - 1) > B3 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);
+ var f = n - a, p = r - o, m = s * s + c * c, h = f * f + p * p, g = Math.sqrt(m), _ = Math.sqrt(d), v = i * Math.tan((L3 - Math.acos((m + d - h) / (2 * g * _))) / 2), y = v / _, b = v / g;
+ Math.abs(y - 1) > z3 && (this._ += "L" + (e + y * l) + "," + (t + y * u)), this._ += "A" + i + "," + i + ",0,0," + +(u * f > l * p) + "," + (this._x1 = e + b * s) + "," + (this._y1 = t + b * c);
}
}
},
@@ -78243,7 +78321,7 @@ V3.prototype = H3.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) > B3 || Math.abs(this._y1 - l) > B3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % z3 + z3), d > oFe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > B3 && (this._ += "A" + n + "," + n + ",0," + +(d >= R3) + "," + 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) > z3 || Math.abs(this._y1 - l) > z3) && (this._ += "L" + c + "," + l), n && (d < 0 && (d = d % R3 + R3), d > mFe ? this._ += "A" + n + "," + n + ",0,1," + u + "," + (e - o) + "," + (t - s) + "A" + n + "," + n + ",0,1," + u + "," + (this._x1 = c) + "," + (this._y1 = l) : d > z3 && (this._ += "A" + n + "," + n + ",0," + +(d >= L3) + "," + 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";
@@ -78253,93 +78331,93 @@ V3.prototype = H3.prototype = {
}
};
// node_modules/d3-shape/src/constant.js
-function U3(e) {
+function H3(e) {
return function() {
return e;
};
}
// node_modules/d3-shape/src/point.js
-function sFe(e) {
+function hFe(e) {
return e[0];
}
-function cFe(e) {
+function gFe(e) {
return e[1];
}
// node_modules/d3-shape/src/array.js
-var lFe = Array.prototype.slice;
+var _Fe = Array.prototype.slice;
// node_modules/d3-shape/src/link/index.js
-function uFe(e) {
+function vFe(e) {
return e.source;
}
-function dFe(e) {
+function yFe(e) {
return e.target;
}
-function fFe(e) {
- var t = uFe, n = dFe, r = sFe, i = cFe, a = null;
+function bFe(e) {
+ var t = vFe, n = yFe, r = hFe, i = gFe, a = null;
function o() {
- var o, s = lFe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
- if (a ||= o = H3(), 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 = _Fe.call(arguments), c = t.apply(this, s), l = n.apply(this, s);
+ if (a ||= o = V3(), 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 : U3(+e), o) : r;
+ return arguments.length ? (r = typeof e == "function" ? e : H3(+e), o) : r;
}, o.y = function(e) {
- return arguments.length ? (i = typeof e == "function" ? e : U3(+e), o) : i;
+ return arguments.length ? (i = typeof e == "function" ? e : H3(+e), o) : i;
}, o.context = function(e) {
return arguments.length ? (a = e ?? null, o) : a;
}, o;
}
-function pFe(e, t, n, r, i) {
+function xFe(e, t, n, r, i) {
e.moveTo(t, n), e.bezierCurveTo(t = (t + r) / 2, n, t, i, r, i);
}
-function mFe() {
- return fFe(pFe);
+function SFe() {
+ return bFe(xFe);
}
// node_modules/d3-sankey/src/sankeyLinkHorizontal.js
-function hFe(e) {
+function CFe(e) {
return [e.source.x1, e.y0];
}
-function gFe(e) {
+function wFe(e) {
return [e.target.x0, e.y1];
}
-function _Fe() {
- return mFe().source(hFe).target(gFe);
+function TFe() {
+ return SFe().source(CFe).target(wFe);
}
// src/react/taste/taste.ts
-var vFe = "/api/taste", W3 = "/api/taste/refresh", yFe = "/api/taste/import", G3 = "/api/taste/source", K3 = (e) => ["taste", e], bFe = ["taste", "refresh"], xFe = [
+var EFe = "/api/taste", U3 = "/api/taste/refresh", DFe = "/api/taste/import", W3 = "/api/taste/source", G3 = (e) => ["taste", e], OFe = ["taste", "refresh"], kFe = [
["7d", "最近 7 天"],
["30d", "最近 30 天"],
["90d", "最近 90 天"],
["365d", "最近一年"],
["all", "全部时间"]
-], SFe = 2e3, CFe = (e) => e?.stale && !e.error ? SFe : !1, wFe = (e) => e ? new Date(e).toLocaleString("zh-CN", {
+], AFe = 2e3, jFe = (e) => e?.stale && !e.error ? AFe : !1, MFe = (e) => e ? new Date(e).toLocaleString("zh-CN", {
month: "numeric",
day: "numeric",
hour: "2-digit",
minute: "2-digit"
-}) : "—", TFe = (e, t) => V(G3, {
+}) : "—", NFe = (e, t) => V(W3, {
...e,
window: t
-}), q3 = (e, t, n = !1) => B(`${vFe}?window=${e}${n ? "&retry=1" : ""}`, t), EFe = (e) => B(W3, e);
-async function DFe(e, t) {
+}), K3 = (e, t, n = !1) => B(`${EFe}?window=${e}${n ? "&retry=1" : ""}`, t), PFe = (e) => B(U3, e);
+async function FFe(e, t) {
await H.fetchQuery({
- queryKey: K3(e),
- queryFn: () => q3(e, t)
+ queryKey: G3(e),
+ queryFn: () => K3(e, t)
});
}
-var OFe = (e) => V(W3, {
+var IFe = (e) => V(U3, {
window: e,
background: !0
-}), kFe = (e, t) => V(G3, {
+}), LFe = (e, t) => V(W3, {
operation: "remove",
source_key: e,
window: t
});
-async function AFe(e) {
- let t = await fetch(yFe, {
+async function RFe(e) {
+ let t = await fetch(DFe, {
method: "POST",
credentials: "same-origin",
headers: {
@@ -78357,52 +78435,52 @@ async function AFe(e) {
}
return n;
}
-var jFe = 1e4, J3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";
-function MFe(e) {
+var zFe = 1e4, q3 = (e) => e ? new Date(e).toLocaleDateString("zh-CN") : "—";
+function BFe(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", {
month: "numeric",
day: "numeric"
- }) : J3(e);
+ }) : q3(e);
return `${t} · ${r(e.range_start)}–${r(e.range_end)}`;
}
-var NFe = w3, PFe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), FFe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
-function IFe(e) {
+var VFe = C3, HFe = (e) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).sort((e, t) => Number(t.score) - Number(e.score)), UFe = (e) => Number(e.web_visits ?? e.score ?? e.visits ?? e.peach_items ?? 0);
+function WFe(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 LFe(e) {
- let t = e.map(FFe), n = Math.max(1, ...t);
+function GFe(e) {
+ let t = e.map(UFe), n = Math.max(1, ...t);
return t.map((e) => Math.max(0, Math.min(100, e / n * 100)));
}
-var Y3 = (e, t) => e.filter((e) => Number.isFinite(Number(e.score)) && Number(e.score) > 0).map((e) => ({
+var J3 = (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 RFe(e) {
- let t = Y3(e, 6);
+function KFe(e) {
+ let t = J3(e, 6);
return t.length < 3 ? [] : t;
}
-var X3 = {
+var Y3 = {
width: 720,
height: 435
-}, zFe = {
+}, qFe = {
source: 145,
target: 545
-}, Z3 = 30, BFe = 240;
-function Q3(e, t, n) {
+}, X3 = 30, JFe = 240;
+function Z3(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 VFe(e = []) {
+function YFe(e = []) {
let t = e.filter((e) => e.source && e.target && Number.isFinite(e.value) && e.value > 0);
if (!t.length) return null;
- let n = Q3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = Q3(t, "target", (e) => `其余 ${e.toLocaleString()} 位创作者`), i = /* @__PURE__ */ new Map();
+ let n = Z3(t, "source", (e) => `其余 ${e.toLocaleString()} 个网站`), r = Z3(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, {
@@ -78411,7 +78489,7 @@ function VFe(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) * Z3 + BFe), u = aFe().nodeId((e) => e.id).nodeWidth(10).nodePadding(Z3).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) * X3 + JFe), u = pFe().nodeId((e) => e.id).nodeWidth(10).nodePadding(X3).extent([[155, 16], [535, l]])({
nodes: [...o.map((e) => ({
id: `source:${e}`,
name: e,
@@ -78426,7 +78504,7 @@ function VFe(e = []) {
target: `target:${e.target}`,
value: e.value
}))
- }), d = a.reduce((e, t) => e + t.value, 0), f = _Fe();
+ }), d = a.reduce((e, t) => e + t.value, 0), f = TFe();
return {
nodes: u.nodes.map((e) => ({
id: e.id,
@@ -78454,17 +78532,17 @@ function VFe(e = []) {
};
}),
total: d,
- height: l + X3.height - 404
+ height: l + Y3.height - 404
};
}
-var HFe = (e) => tr(e, 17), $3 = {
+var XFe = (e) => tr(e, 17), Q3 = {
performers: "艺人",
creators: "卖家",
studios: "厂牌",
agencies: "事务所",
series: "系列",
tags: "标签"
-}, UFe = [[
+}, ZFe = [[
"big",
"大图 · 竖幅头像",
"maximize"
@@ -78472,7 +78550,7 @@ var HFe = (e) => tr(e, 17), $3 = {
"compact",
"紧凑 · 圆形头像",
"layout-grid"
-]], WFe = [[
+]], QFe = [[
"big",
"大图 · 完整标识",
"maximize"
@@ -78480,7 +78558,7 @@ var HFe = (e) => tr(e, 17), $3 = {
"compact",
"紧凑 · 圆形标识",
"layout-grid"
-]], GFe = [[
+]], $Fe = [[
"big",
"大图 · 系列图片",
"maximize"
@@ -78488,7 +78566,7 @@ var HFe = (e) => tr(e, 17), $3 = {
"compact",
"紧凑 · 系列图片",
"layout-grid"
-]], KFe = [
+]], eIe = [
[
"studios",
"厂牌",
@@ -78504,7 +78582,7 @@ var HFe = (e) => tr(e, 17), $3 = {
"系列",
"file-stack"
]
-], qFe = [[
+], tIe = [[
"local",
"本地",
"hard-drive"
@@ -78512,7 +78590,7 @@ var HFe = (e) => tr(e, 17), $3 = {
"online",
"在线",
"rss"
-]], JFe = [
+]], nIe = [
[
"performers",
"艺人",
@@ -78528,7 +78606,7 @@ var HFe = (e) => tr(e, 17), $3 = {
"在线",
"rss"
]
-], YFe = [[
+], rIe = [[
"cloud",
"标签云",
"tags"
@@ -78536,8 +78614,8 @@ var HFe = (e) => tr(e, 17), $3 = {
"alphabet",
"字母表",
"text-aa"
-]], e6 = (e) => e === "compact" ? "compact" : "big";
-function t6(e, t) {
+]], $3 = (e) => e === "compact" ? "compact" : "big";
+function e6(e, t) {
let n = new URLSearchParams(t);
return {
kind: e,
@@ -78547,7 +78625,7 @@ function t6(e, t) {
category: n.get("category") || "all"
};
}
-var n6 = (e, t, n) => Us(e.map(([e, t, n]) => ({
+var t6 = (e, t, n) => Us(e.map(([e, t, n]) => ({
value: e,
label: t,
symbol: n
@@ -78555,12 +78633,12 @@ var n6 = (e, t, n) => Us(e.map(([e, t, n]) => ({
active: t,
label: n,
className: "indextabs"
-}), XFe = (e) => `<div class="peach-react contents"><div data-filter-glass data-glass-pane class="sticky top-topbar z-10 mb-5.5 flex flex-col">
+}), iIe = (e) => `<div class="peach-react contents"><div data-filter-glass data-glass-pane class="sticky top-topbar z-10 mb-5.5 flex flex-col">
<div class="flex h-12 min-w-0 items-center gap-1.75 overflow-x-auto overscroll-x-contain px-3 py-2" data-filter-row="top" data-skeleton-tier="filter-pill" aria-label="标签类型"></div>
<div class="flex min-h-11.5 min-w-0 items-center gap-3 px-3 py-2" data-filter-row="bottom"><span class="countskeleton"></span>
- <span class="ml-auto">${$c("tag-view", "标签视图", YFe, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;
-function ZFe({ kind: e, q: t, scope: n, view: r, category: i }, a) {
- let o = $3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? $c("people-layout", o + "索引版式", e === "series" ? GFe : c ? WFe : UFe, a) : "";
+ <span class="ml-auto">${$c("tag-view", "标签视图", rIe, e, { className: "tag-skeleton-view" })}</span></div></div></div>`;
+function aIe({ kind: e, q: t, scope: n, view: r, category: i }, a) {
+ let o = Q3[e] || "标签", s = e !== "tags", c = e === "studios" || e === "agencies" || e === "series", l = s ? $c("people-layout", o + "索引版式", e === "series" ? $Fe : c ? QFe : ZFe, 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}
@@ -78572,24 +78650,24 @@ function ZFe({ 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">${Ds("", t, "过滤" + o)}</div>
</div>
- ${e === "tags" ? n6(qFe, n, "词表") : e === "performers" || e === "creators" ? n6(JFe, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? n6(KFe, e, "资料类型") : ""}
- ${e === "tags" ? XFe(r) : ""}
- ${e === "performers" && n !== "online" ? REe(i) : ""}
+ ${e === "tags" ? t6(tIe, n, "词表") : e === "performers" || e === "creators" ? t6(nIe, e === "performers" && n === "online" ? "online" : e, "人物名册") : c ? t6(eIe, e, "资料类型") : ""}
+ ${e === "tags" ? iIe(r) : ""}
+ ${e === "performers" && n !== "online" ? KEe(i) : ""}
${oc({
kind: e,
layout: a,
mode: r
})}`;
}
-var QFe = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";
-function r6(e, t, n) {
- let r = ZFe(t, n);
- e.querySelector("[data-skeleton]")?.dataset.skeleton !== QFe(r) && (e.innerHTML = r, pc(e));
+var oIe = (e) => e.match(/data-skeleton="([^"]*)"/)?.[1] || "";
+function n6(e, t, n) {
+ let r = aIe(t, n);
+ e.querySelector("[data-skeleton]")?.dataset.skeleton !== oIe(r) && (e.innerHTML = r, pc(e));
}
// src/react/router/pages/index-entity.tsx
-var $Fe = () => pu, eIe = () => Ql, i6 = () => document.getElementById("index");
-function a6(e, t, n = {}) {
- let r = (0, F.useSyncExternalStore)(Cu, $Fe);
+var sIe = () => pu, cIe = () => Ql, r6 = () => document.getElementById("index");
+function i6(e, t, n = {}) {
+ let r = (0, F.useSyncExternalStore)(Cu, sIe);
ef();
let i = Bf(Op.navigation.location.pathname), a = (0, F.useRef)({
mounted: !0,
@@ -78637,11 +78715,11 @@ function a6(e, t, n = {}) {
i
]);
}
-async function tIe(e, t, n, r) {
- let i = i6();
+async function lIe(e, t, n, r) {
+ let i = r6();
if (!i) return;
- let a = `/${t}`, o = t6(t, n), s = e6(oM().value.peopleLayout), c = !!i.querySelector("[data-index-page]") && !i.hidden;
- c || (e.surfaceChanged("index", a), r6(i, o, s), pm(r, i, { pending: !0 })), await mp(a, {
+ let a = `/${t}`, o = e6(t, n), s = $3(nM().value.peopleLayout), c = !!i.querySelector("[data-index-page]") && !i.hidden;
+ c || (e.surfaceChanged("index", a), n6(i, o, s), pm(r, i, { pending: !0 })), await mp(a, {
...o,
layout: s,
selectMode: Ql,
@@ -78652,23 +78730,23 @@ async function tIe(e, t, n, r) {
reuse: c
}) && r() && (e.surfaceShown?.("index", a), pm(r, i));
}
-function nIe(e) {
- let t = i6(), n = t ? lp(t) : null;
+function uIe(e) {
+ let t = r6(), n = t ? lp(t) : null;
return !!t && !t.hidden && !!n && n.path === e && n.host.isConnected;
}
-function rIe({ epoch: e }) {
- let t = (0, F.useContext)($W), n = ef(), r = n.pathname.split("/").filter(Boolean)[0];
- return a6(e, (e, i) => {
- t && tIe(t, r, n.search, i);
- }, { shown: () => nIe(`/${r}`) }), null;
+function dIe({ epoch: e }) {
+ let t = (0, F.useContext)(QW), n = ef(), r = n.pathname.split("/").filter(Boolean)[0];
+ return i6(e, (e, i) => {
+ t && lIe(t, r, n.search, i);
+ }, { shown: () => uIe(`/${r}`) }), null;
}
-function iIe() {
- let e = QW(), t = (0, F.useSyncExternalStore)(Cu, eIe), n = (0, F.useRef)(t);
+function fIe() {
+ let e = ZW(), t = (0, F.useSyncExternalStore)(Cu, cIe), n = (0, F.useRef)(t);
return (0, F.useEffect)(() => {
- n.current !== t && (n.current = t, window.location.pathname === "/tags" && gp(i6(), { selectMode: t }));
- }, [t]), /* @__PURE__ */ (0, I.jsx)(rIe, { epoch: e }, e);
+ n.current !== t && (n.current = t, window.location.pathname === "/tags" && gp(r6(), { selectMode: t }));
+ }, [t]), /* @__PURE__ */ (0, I.jsx)(dIe, { epoch: e }, e);
}
-function aIe(e) {
+function pIe(e) {
let t;
try {
t = decodeURIComponent(e);
@@ -78682,9 +78760,9 @@ function aIe(e) {
name: a
} : null;
}
-var o6 = /* @__PURE__ */ new WeakMap();
-function oIe(e) {
- let t = o6.get(e);
+var a6 = /* @__PURE__ */ new WeakMap();
+function mIe(e) {
+ let t = a6.get(e);
return t || (t = {
helpers: {
...e.grid.helpers,
@@ -78694,14 +78772,14 @@ function oIe(e) {
...e.grid.actions,
revealSource: e.revealSource
}
- }, o6.set(e, t)), t;
+ }, a6.set(e, t)), t;
}
-function s6() {
- let e = i6(), t = e ? lp(e) : null;
+function o6() {
+ let e = r6(), t = e ? lp(e) : null;
return !!t && t.path.endsWith("/*") && t.host.isConnected;
}
-async function sIe(e, t, n, r, i, a, o) {
- let s = i6();
+async function hIe(e, t, n, r, i, a, o) {
+ let s = r6();
if (!s) return;
let { segment: c, kind: l, name: u } = n;
if (!a()) return;
@@ -78724,7 +78802,7 @@ async function sIe(e, t, n, r, i, a, o) {
let g = {
...h,
hosts: m,
- card: oIe(e),
+ card: mIe(e),
resolvedEntity: o,
restoreNavigation: dm(),
actions: {
@@ -78739,16 +78817,16 @@ async function sIe(e, t, n, r, i, a, o) {
isCurrent: a,
beforePlace: () => e.surfaceChanged("entity", r),
place: (e) => (e.replaceChildren(...f), p.firstElementChild)
- }) && a() && s6() && (e.surfaceShown?.("entity", r), pm(a, m.filter));
+ }) && a() && o6() && (e.surfaceShown?.("entity", r), pm(a, m.filter));
}
-function cIe({ target: e }) {
- let t = (0, F.useContext)($W), n = QW(), r = ef();
- return a6(n, (n, i) => {
+function gIe({ target: e }) {
+ let t = (0, F.useContext)(QW), n = ZW(), r = ef();
+ return i6(n, (n, i) => {
let a = t?.entity;
t && a && (async () => {
- if (n || !s6()) {
+ if (n || !o6()) {
if (t.surfaceChanged("entity", r.pathname), await a.loading(e.kind, e.name, i), !i()) return;
- pm(i, i6(), { pending: !0 });
+ pm(i, r6(), { pending: !0 });
}
let o = new URLSearchParams({ kind: e.kind });
o.set(/^[0-9]+$/.test(e.name) ? "id" : "name", e.name);
@@ -78774,7 +78852,7 @@ function cIe({ target: e }) {
return;
}
let c = String(s.canonical_name || e.name), l = Pn(e.kind, c, Number(s.id));
- l === r.pathname ? !n && a.refresh(e.kind, c, r.search) ? pm(i, i6()?.querySelector("[data-entity-filter]")) : sIe(t, a, {
+ l === r.pathname ? !n && a.refresh(e.kind, c, r.search) ? pm(i, r6()?.querySelector("[data-entity-filter]")) : hIe(t, a, {
...e,
name: c
}, r.pathname, r.search, i, s) : kp(l + r.search + r.hash, {
@@ -78782,16 +78860,16 @@ function cIe({ target: e }) {
state: Op.navigation.location.state
});
})();
- }, { shown: () => s6() && !i6()?.hidden }), null;
+ }, { shown: () => o6() && !r6()?.hidden }), null;
}
-function lIe() {
- let e = aIe(ef().pathname);
- return e ? /* @__PURE__ */ (0, I.jsx)(cIe, { target: e }, JSON.stringify([e.kind, e.name])) : null;
+function _Ie() {
+ let e = pIe(ef().pathname);
+ return e ? /* @__PURE__ */ (0, I.jsx)(gIe, { target: e }, JSON.stringify([e.kind, e.name])) : null;
}
// src/react/router/pages/follow.tsx
-var c6 = () => document.getElementById("stats"), uIe = () => yu;
-async function dIe(e, t) {
- let n = c6(), r = e.follow;
+var s6 = () => document.getElementById("stats"), vIe = () => yu;
+async function yIe(e, t) {
+ let n = s6(), r = e.follow;
if (!n || !r) return;
let i = um("follow"), a = r.refresh(i), o = r.props();
if (lm("follow", {
@@ -78800,34 +78878,34 @@ async function dIe(e, t) {
revision: o.revision
}), a) return;
let s = H.getQueryData(ra(o.view, o.revision).queryKey) !== void 0;
- s || (e.surfaceChanged("follow", "/follow"), k2(n, r.skeleton()), pm(t, n, { pending: !0 })), await mp("/follow", o, {
+ s || (e.surfaceChanged("follow", "/follow"), O2(n, r.skeleton()), pm(t, n, { pending: !0 })), await mp("/follow", o, {
container: n,
isCurrent: t,
beforePlace: s ? () => e.surfaceChanged("follow", "/follow") : void 0
}), t() && pm(t, n.querySelector("[data-filter-frame]"));
}
-function fIe() {
- let e = c6(), t = e ? lp(e) : null;
+function bIe() {
+ let e = s6(), t = e ? lp(e) : null;
return !!e && !e.hidden && !!t && t.path === "/follow" && t.host.isConnected;
}
-function pIe() {
- let e = (0, F.useContext)($W);
- return a6(QW(), (t, n) => {
- e && dIe(e, n);
+function xIe() {
+ let e = (0, F.useContext)(QW);
+ return i6(ZW(), (t, n) => {
+ e && yIe(e, n);
}, {
- shown: fIe,
+ shown: bIe,
onCovered: () => {
Op.navigation.location.pathname.startsWith("/posts/") && e?.follow?.ground();
}
}), null;
}
-function l6(e) {
+function c6(e) {
let t = e ? lp(e) : null;
return !!t && t.path === "/playlists" && t.host.isConnected;
}
-async function mIe(e, t) {
- let n = c6();
- n && (e.surfaceChanged("playlists", "/playlists"), k2(n, D2("/playlists", {
+async function SIe(e, t) {
+ let n = s6();
+ n && (e.surfaceChanged("playlists", "/playlists"), O2(n, E2("/playlists", {
followLayout: "",
followSort: "",
followDir: ""
@@ -78836,54 +78914,54 @@ async function mIe(e, t) {
isCurrent: t
}), t() && pm(t));
}
-function hIe() {
- let e = (0, F.useContext)($W), t = (0, F.useSyncExternalStore)(Cu, uIe), n = (0, F.useRef)(t);
+function CIe() {
+ let e = (0, F.useContext)(QW), t = (0, F.useSyncExternalStore)(Cu, vIe), n = (0, F.useRef)(t);
return (0, F.useEffect)(() => {
if (n.current === t) return;
n.current = t;
- let e = c6();
- l6(e) && gp(e, { revision: t });
- }, [t]), a6(QW(), (t, n) => {
- e && mIe(e, n);
+ let e = s6();
+ c6(e) && gp(e, { revision: t });
+ }, [t]), i6(ZW(), (t, n) => {
+ e && SIe(e, n);
}, { shown: () => {
- let e = c6();
- return l6(e) && !e.hidden;
+ let e = s6();
+ return c6(e) && !e.hidden;
} }), null;
}
// src/react/router/pages/immerse.tsx
-function gIe() {
+function wIe() {
let e = new URLSearchParams(Op.navigation.location.search).get("id");
return /^\d+$/.test(e || "") ? Number(e) : void 0;
}
-function _Ie() {
- let e = (0, F.useContext)($W);
- return XW(() => {
- e?.openImmerse(gIe());
+function TIe() {
+ let e = (0, F.useContext)(QW);
+ return YW(() => {
+ e?.openImmerse(wIe());
}, !0), null;
}
-function vIe() {
- return /* @__PURE__ */ (0, I.jsx)(_Ie, {}, QW());
+function EIe() {
+ return /* @__PURE__ */ (0, I.jsx)(TIe, {}, ZW());
}
// src/react/router/pages/managed.tsx
-var yIe = () => pu > 0, u6 = () => (0, F.useSyncExternalStore)(Cu, yIe), d6 = () => oM().value.followLayout === "table" ? "table" : "default", f6 = () => new URLSearchParams(window.location.search);
-function p6(e) {
+var DIe = () => pu > 0, l6 = () => (0, F.useSyncExternalStore)(Cu, DIe), u6 = () => nM().value.followLayout === "table" ? "table" : "default", d6 = () => new URLSearchParams(window.location.search);
+function f6(e) {
return Tn("/healthz", { signal: e.controller.signal }).catch((e) => {
if (En(e)) return null;
throw e;
});
}
-function m6(e, t) {
+function p6(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 bIe(e, t) {
+async function OIe(e, t) {
if (e === "/jav") {
- let e = await p6(t);
+ let e = await f6(t);
return t.live ? {
- tab: dU(f6().get("tab")),
+ tab: uU(d6().get("tab")),
readOnly: !!e?.ledger_read_only
} : null;
}
@@ -78894,50 +78972,50 @@ async function bIe(e, t) {
}
if (e.startsWith("/settings/")) {
window.location.hash === "#peachProxy" && W({ configurationRequestedSection: "网络与访问" });
- let t = f6().get("section") || uu || Af(e);
+ let t = d6().get("section") || uu || Af(e);
return t ? { section: t } : {};
}
if (e === "/review") {
- let e = f6().get("category") || "", n = await p6(t);
+ let e = d6().get("category") || "", n = await f6(t);
return t.live ? {
- category: DY(e) ? e : "",
- queue: AY(f6().get("queue")),
- ...m6(n, "/review")
+ category: EY(e) ? e : "",
+ queue: kY(d6().get("queue")),
+ ...p6(n, "/review")
} : null;
}
if (e === "/subscriptions") {
- let e = IZ("?" + f6().toString()), n = await p6(t);
+ let e = FZ("?" + d6().toString()), n = await f6(t);
if (!t.live) return null;
- let r = oM().value;
+ let r = nM().value;
return {
...e,
pageSize: Number(r.followPageSize) || 20,
- layout: d6(),
- ...m6(n, "/subscriptions")
+ layout: u6(),
+ ...p6(n, "/subscriptions")
};
}
return {};
}
-async function xIe(e, t, n) {
+async function kIe(e, t, n) {
let r = Op.navigation.seq, i = () => n.live && Op.navigation.seq === r;
- if (e === "/jav" && dU(f6().get("tab")) === "library") {
- Op.replace(Cve(window.location.search));
+ if (e === "/jav" && uU(d6().get("tab")) === "library") {
+ Op.replace(jve(window.location.search));
return;
}
- if (e === "/subscriptions" && f6().get("tab") === "wants") {
+ if (e === "/subscriptions" && d6().get("tab") === "wants") {
kp("/jav?tab=wants", { replace: !0 });
return;
}
- if (e === "/subscriptions" && f6().get("tab") === "source") {
+ if (e === "/subscriptions" && d6().get("tab") === "source") {
kp("/settings/subscriptions", { replace: !0 });
return;
}
let a = document.getElementById("stats");
if (!a) return;
- t.surfaceChanged("management", e), k2(a, D2(e, {
- followLayout: d6(),
- followSort: f6().get("sort") || "",
- followDir: f6().get("dir") || ""
+ t.surfaceChanged("management", e), O2(a, E2(e, {
+ followLayout: u6(),
+ followSort: d6().get("sort") || "",
+ followDir: d6().get("dir") || ""
})), pm(i, a, { pending: !0 }), e === "/taste" && (W({ state: {
...U,
creator: "",
@@ -78953,7 +79031,7 @@ async function xIe(e, t, n) {
q: "",
jav: ""
} }), t.clearSearch());
- let o = await bIe(e, n);
+ let o = await OIe(e, n);
if (!o) return;
let s = await mp(e, o, {
container: a,
@@ -78969,19 +79047,19 @@ async function xIe(e, t, n) {
}) : pm(i);
}
}
-function h6({ path: e }) {
- let t = QW();
+function m6({ path: e }) {
+ let t = ZW();
ef();
let n = Bf(Op.navigation.location.pathname), r = (0, F.useRef)(n ? null : t), i = (0, F.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, I.jsx)(SIe, {
+ return /* @__PURE__ */ (0, I.jsx)(AIe, {
path: e,
covered: r.current === null
}, `${a} ${r.current ?? "covered"}`);
}
-function SIe({ path: e, covered: t }) {
- let n = (0, F.useContext)($W), r = u6(), i = (0, F.useRef)(null);
+function AIe({ path: e, covered: t }) {
+ let n = (0, F.useContext)(QW), r = l6(), i = (0, F.useRef)(null);
return (0, F.useEffect)(() => {
e.startsWith("/settings/") && gp(document.getElementById("stats"), { section: Af(e) });
}, [e]), (0, F.useEffect)(() => {
@@ -78992,15 +79070,15 @@ function SIe({ path: e, covered: t }) {
controller: new AbortController()
};
i.current = a, queueMicrotask(() => {
- a.live && xIe(e, n, a);
+ a.live && kIe(e, n, a);
});
}, [r]), (0, F.useEffect)(() => () => {
let e = i.current;
e && (e.live = !1, e.controller.abort());
}, []), null;
}
-function CIe() {
- let e = u6(), t = (0, F.useRef)(!1);
+function jIe() {
+ let e = l6(), t = (0, F.useRef)(!1);
return (0, F.useEffect)(() => {
if (!e || t.current || Bf(Op.navigation.location.pathname)) return;
t.current = !0;
@@ -79013,24 +79091,24 @@ function CIe() {
}, [e]), null;
}
// src/react/router/route-chunk.ts
-var g6 = [], _6 = "peach.chunkReloadAt", wIe = 3e4;
-async function TIe() {
+var h6 = [], g6 = "peach.chunkReloadAt", MIe = 3e4;
+async function NIe() {
try {
- let e = Number(sessionStorage.getItem(_6) || 0);
- if (Date.now() - e < wIe || !(await fetch("/healthz", {
+ let e = Number(sessionStorage.getItem(g6) || 0);
+ if (Date.now() - e < MIe || !(await fetch("/healthz", {
cache: "no-store",
credentials: "same-origin"
})).ok) return;
- sessionStorage.setItem(_6, String(Date.now())), location.reload();
+ sessionStorage.setItem(g6, String(Date.now())), location.reload();
} catch {}
}
-function v6(e) {
+function _6(e) {
let t = null, n = null, r = () => n ??= e().then((e) => (t = { module: e }, e), (e) => {
throw n = null, e;
});
- return g6.push(r), {
+ return h6.push(r), {
preload: () => r().catch(async (e) => {
- throw await TIe(), e;
+ throw await NIe(), e;
}),
get: () => {
if (!t) throw Error("页面代码还没装载");
@@ -79038,10 +79116,10 @@ function v6(e) {
}
};
}
-function EIe() {
+function PIe() {
let e = globalThis.requestIdleCallback;
if (typeof e != "function") return;
- let t = [...g6], n = () => {
+ let t = [...h6], n = () => {
let r = t.shift();
r && e(() => {
r().catch(() => {}).finally(n);
@@ -79050,31 +79128,31 @@ function EIe() {
document.readyState === "complete" ? n() : window.addEventListener("load", n, { once: !0 });
}
// src/react/router/managed-routes.tsx
-async function y6(e, t) {
+async function v6(e, t) {
let [n, r] = await Promise.allSettled([e.preload(), t]);
if (r.status === "rejected") throw r.reason;
if (n.status === "rejected") throw n.reason;
}
-var b6 = v6(() => import("./peach-app.jav-page-DXAjQAx0.js")), x6 = v6(() => import("./peach-app.stats-page-fAkPsLC6.js")), S6 = v6(() => import("./peach-app.taste-page-CspPdKW5.js")), C6 = v6(() => import("./peach-app.review-page-kd1HFP2A.js")), w6 = v6(() => import("./peach-app.data-cleanup-page-CZOBqkVd.js")), T6 = v6(() => import("./peach-app.duplicates-page-Bau8HIlx.js")), E6 = v6(() => import("./peach-app.quality-goals-page-Deoy7rhD.js")), D6 = v6(() => import("./peach-app.scraping-page-Ddbx11Bn.js")), O6 = v6(async () => {
- let [{ ConfigurationPage: e }, { DiagnosticsPage: t }] = await Promise.all([import("./peach-app.configuration-page-NsP5Crfe.js"), import("./peach-app.diagnostics-page-DS1L_wLs.js")]);
+var y6 = _6(() => import("./peach-app.jav-page-DXAjQAx0.js")), b6 = _6(() => import("./peach-app.stats-page-fAkPsLC6.js")), x6 = _6(() => import("./peach-app.taste-page-CspPdKW5.js")), S6 = _6(() => import("./peach-app.review-page-kd1HFP2A.js")), C6 = _6(() => import("./peach-app.data-cleanup-page-CZOBqkVd.js")), w6 = _6(() => import("./peach-app.duplicates-page-Bau8HIlx.js")), T6 = _6(() => import("./peach-app.quality-goals-page-Deoy7rhD.js")), E6 = _6(() => import("./peach-app.scraping-page-Ddbx11Bn.js")), D6 = _6(async () => {
+ let [{ ConfigurationPage: e }, { DiagnosticsPage: t }] = await Promise.all([import("./peach-app.configuration-page-ubxQHJd0.js"), import("./peach-app.diagnostics-page-DS1L_wLs.js")]);
return {
ConfigurationPage: e,
DiagnosticsPage: t
};
-}), k6 = v6(() => import("./peach-app.activity-page-CDOzqSMm.js")), A6 = v6(() => import("./peach-app.follow-manage-page-Bvnaf0EO.js")), j6 = v6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));
-function DIe(e, t, n) {
+}), O6 = _6(() => import("./peach-app.activity-page-Ba2ZG9aL.js")), k6 = _6(() => import("./peach-app.follow-manage-page-CYtUBcyb.js")), A6 = _6(() => import("./peach-app.playlists-page-Be7ygGCR.js"));
+function FIe(e, t, n) {
if (e === "duplicates") {
n("/duplicates");
return;
}
let r = t.managePath(e);
- P6(r) ? n(r) : t.openManage(e);
+ N6(r) ? n(r) : t.openManage(e);
}
-var M6 = (e) => ({
- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: e }),
- prefetch: (t, n) => y6(O6, Promise.all([FAe(n), ...e === "/settings/diagnostics" ? [ike(n)] : []]).then(() => {})),
+var j6 = (e) => ({
+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: e }),
+ prefetch: (t, n) => v6(D6, Promise.all([UAe(n), ...e === "/settings/diagnostics" ? [fke(n)] : []]).then(() => {})),
page: (t, n) => {
- let { ConfigurationPage: r, DiagnosticsPage: i } = O6.get();
+ let { ConfigurationPage: r, DiagnosticsPage: i } = D6.get();
return /* @__PURE__ */ (0, I.jsx)(r, {
receipt: (e) => n.receipt(e),
reopenTutorial: n.reopenTutorial,
@@ -79085,12 +79163,12 @@ var M6 = (e) => ({
})
});
}
-}), N6 = {
+}), M6 = {
...Yf.reduce((e, t) => (e[t.path] = {
- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: t.path }),
- prefetch: (e, n) => y6(w6, OEe(t.key, n)),
+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: t.path }),
+ prefetch: (e, n) => v6(C6, IEe(t.key, n)),
page: (e, n) => {
- let { DataCleanupToolPage: r } = w6.get();
+ let { DataCleanupToolPage: r } = C6.get();
return /* @__PURE__ */ (0, I.jsx)(r, {
tool: t.key,
failure: n.failure,
@@ -79099,10 +79177,10 @@ var M6 = (e) => ({
}
}, e), {}),
"/jav": {
- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/jav" }),
- prefetch: (e, t) => y6(b6, kye(e.tab, t)),
+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/jav" }),
+ prefetch: (e, t) => v6(y6, Lye(e.tab, t)),
page: (e, t) => {
- let { JavPage: n } = b6.get();
+ let { JavPage: n } = y6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
...e,
navigate: t.navigate,
@@ -79111,10 +79189,10 @@ var M6 = (e) => ({
}
},
"/stats": {
- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/stats" }),
- prefetch: (e, t) => y6(x6, zPe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/stats" }),
+ prefetch: (e, t) => v6(b6, qPe(t)),
page: (e, t) => {
- let { StatsPage: n } = x6.get();
+ let { StatsPage: n } = b6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
tagLabel: Ll,
onTag: t.openTag
@@ -79122,10 +79200,10 @@ var M6 = (e) => ({
}
},
"/taste": {
- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/taste" }),
- prefetch: (e, t) => y6(S6, DFe("all", t)),
+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/taste" }),
+ prefetch: (e, t) => v6(x6, FFe("all", t)),
page: (e, t, n) => {
- let { TastePage: r } = S6.get();
+ let { TastePage: r } = x6.get();
return /* @__PURE__ */ (0, I.jsx)(r, {
onSignal: t.openTasteSignal,
navigate: n,
@@ -79135,10 +79213,10 @@ var M6 = (e) => ({
}
},
"/review": {
- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/review" }),
- prefetch: (e, t) => y6(C6, vTe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/review" }),
+ prefetch: (e, t) => v6(S6, ETe(t)),
page: (e, t) => {
- let { ReviewPage: n } = C6.get();
+ let { ReviewPage: n } = S6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
...e,
route: t.routeReview,
@@ -79150,23 +79228,23 @@ var M6 = (e) => ({
}
},
"/data-cleanup": {
- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/data-cleanup" }),
- prefetch: (e, t) => y6(w6, DEe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/data-cleanup" }),
+ prefetch: (e, t) => v6(C6, FEe(t)),
page: (e, t, n) => {
- let { DataCleanupPage: r } = w6.get();
+ let { DataCleanupPage: r } = C6.get();
return /* @__PURE__ */ (0, I.jsx)(r, {
navigate: n,
failure: t.failure,
- open: (e) => DIe(e, t, n),
+ open: (e) => FIe(e, t, n),
toast: (e, { warning: n = !1 } = {}) => n ? t.toast({ text: e }, { sound: "warning" }) : t.receipt(e)
});
}
},
"/duplicates": {
- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/duplicates" }),
- prefetch: (e, t) => y6(T6, Pwe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/duplicates" }),
+ prefetch: (e, t) => v6(w6, Hwe(t)),
page: (e, t) => {
- let { DuplicatesPage: n } = T6.get();
+ let { DuplicatesPage: n } = w6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
openItem: t.openItem,
failure: t.failure,
@@ -79175,46 +79253,46 @@ var M6 = (e) => ({
}
},
"/quality-goals": {
- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/quality-goals" }),
- prefetch: (e, t) => y6(E6, Kwe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/quality-goals" }),
+ prefetch: (e, t) => v6(T6, eTe(t)),
page: (e, t) => {
- let { QualityGoalsPage: n } = E6.get();
+ let { QualityGoalsPage: n } = T6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
openItem: t.openItem,
- javTitleHtml: GI,
- javDisplayName: WI,
+ javTitleHtml: WI,
+ javDisplayName: UI,
toast: (e) => t.receipt(e),
srcBadge: t.srcBadge
});
}
},
"/sources": {
- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/sources" }),
- prefetch: (e, t) => y6(D6, SAe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/sources" }),
+ prefetch: (e, t) => v6(E6, AAe(t)),
page: (e, t) => {
- let { ScrapingPage: n } = D6.get();
+ let { ScrapingPage: n } = E6.get();
return /* @__PURE__ */ (0, I.jsx)(n, { toast: (e) => t.toast(e) });
}
},
- "/settings/library": M6("/settings/library"),
- "/settings/subscriptions": M6("/settings/subscriptions"),
- "/settings/downloads": M6("/settings/downloads"),
- "/settings/network": M6("/settings/network"),
- "/settings/maintenance": M6("/settings/maintenance"),
- "/settings/diagnostics": M6("/settings/diagnostics"),
+ "/settings/library": j6("/settings/library"),
+ "/settings/subscriptions": j6("/settings/subscriptions"),
+ "/settings/downloads": j6("/settings/downloads"),
+ "/settings/network": j6("/settings/network"),
+ "/settings/maintenance": j6("/settings/maintenance"),
+ "/settings/diagnostics": j6("/settings/diagnostics"),
"/tasks": {
- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/tasks" }),
- prefetch: (e, t) => y6(k6, rpe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/tasks" }),
+ prefetch: (e, t) => v6(O6, dpe(t)),
page: () => {
- let { ActivityPage: e } = k6.get();
+ let { ActivityPage: e } = O6.get();
return /* @__PURE__ */ (0, I.jsx)(e, {});
}
},
"/subscriptions": {
- element: /* @__PURE__ */ (0, I.jsx)(h6, { path: "/subscriptions" }),
- prefetch: (e, t) => y6(A6, Ri(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(m6, { path: "/subscriptions" }),
+ prefetch: (e, t) => v6(k6, Ri(t)),
page: (e, t) => {
- let { FollowManagePage: n } = A6.get();
+ let { FollowManagePage: n } = k6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
...e,
route: t.routeFollowManage,
@@ -79224,12 +79302,12 @@ var M6 = (e) => ({
});
}
}
-}, P6 = (e) => Object.hasOwn(N6, e), OIe = { "/resource-sync": { element: /* @__PURE__ */ (0, I.jsx)(CIe, {}) } }, kIe = { "/immerse": { element: /* @__PURE__ */ (0, I.jsx)(vIe, {}) } }, F6 = {
+}, N6 = (e) => Object.hasOwn(M6, e), IIe = { "/resource-sync": { element: /* @__PURE__ */ (0, I.jsx)(jIe, {}) } }, LIe = { "/immerse": { element: /* @__PURE__ */ (0, I.jsx)(EIe, {}) } }, P6 = {
"/playlists": {
- element: /* @__PURE__ */ (0, I.jsx)(hIe, {}),
- prefetch: (e, t) => y6(j6, oAe(t)),
+ element: /* @__PURE__ */ (0, I.jsx)(CIe, {}),
+ prefetch: (e, t) => v6(A6, mAe(t)),
page: (e, t) => {
- let { PlaylistsPage: n } = j6.get();
+ let { PlaylistsPage: n } = A6.get();
return /* @__PURE__ */ (0, I.jsx)(n, {
revision: e.revision,
openPlaylist: t.openPlaylist,
@@ -79240,14 +79318,14 @@ var M6 = (e) => ({
}
},
"/follow": {
- element: /* @__PURE__ */ (0, I.jsx)(pIe, {}),
+ element: /* @__PURE__ */ (0, I.jsx)(xIe, {}),
prefetch: (e, t) => oa(e, t),
- page: (e) => /* @__PURE__ */ (0, I.jsx)(IDe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(WDe, { ...e })
}
-}, I6 = (e) => Object.hasOwn(F6, e), L6 = {
- element: /* @__PURE__ */ (0, I.jsx)(iIe, {}),
- prefetch: (e, t) => YEe(e, t),
- page: (e, t) => /* @__PURE__ */ (0, I.jsx)(vke, {
+}, F6 = (e) => Object.hasOwn(P6, e), I6 = {
+ element: /* @__PURE__ */ (0, I.jsx)(fIe, {}),
+ prefetch: (e, t) => rDe(e, t),
+ page: (e, t) => /* @__PURE__ */ (0, I.jsx)(Eke, {
...e,
route: t.routeIndex,
savePreference: t.savePeopleLayout,
@@ -79260,82 +79338,82 @@ var M6 = (e) => ({
openFollowAuthor: t.openFollowAuthor,
openFollowTag: t.openFollowTag
})
+}, L6 = {
+ "/performers": I6,
+ "/creators": I6,
+ "/studios": I6,
+ "/agencies": I6,
+ "/tags": I6,
+ "/series": I6
}, R6 = {
- "/performers": L6,
- "/creators": L6,
- "/studios": L6,
- "/agencies": L6,
- "/tags": L6,
- "/series": L6
+ element: /* @__PURE__ */ (0, I.jsx)(_Ie, {}),
+ prefetch: (e) => GEe(e),
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(ske, { ...e })
}, z6 = {
- element: /* @__PURE__ */ (0, I.jsx)(lIe, {}),
- prefetch: (e) => LEe(e),
- page: (e) => /* @__PURE__ */ (0, I.jsx)($Oe, { ...e })
+ "/performers/*": R6,
+ "/studios/*": R6,
+ "/creators/*": R6,
+ "/series/*": R6,
+ "/agencies/*": R6,
+ "/tags/*": R6
}, B6 = {
- "/performers/*": z6,
- "/studios/*": z6,
- "/creators/*": z6,
- "/series/*": z6,
- "/agencies/*": z6,
- "/tags/*": z6
-}, V6 = {
"/": {
- element: /* @__PURE__ */ (0, I.jsx)(JW, {}),
+ element: /* @__PURE__ */ (0, I.jsx)(qW, {}),
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, I.jsx)(sY, { ...e })
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(oY, { ...e })
},
"/junk-files": {
- element: /* @__PURE__ */ (0, I.jsx)(JW, {}),
+ element: /* @__PURE__ */ (0, I.jsx)(qW, {}),
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, I.jsx)(jke, { ...e })
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(zke, { ...e })
}
-}, H6 = (e) => Object.hasOwn(V6, e), AIe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, I.jsx)(pve, { ...e }) : /* @__PURE__ */ (0, I.jsx)(D$, { ...e }), U6 = {
+}, V6 = (e) => Object.hasOwn(B6, e), RIe = (e) => e.mode === "notice" ? /* @__PURE__ */ (0, I.jsx)(xve, { ...e }) : /* @__PURE__ */ (0, I.jsx)(E$, { ...e }), H6 = {
"catalog-filter": {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, I.jsx)(Lbe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(Gbe, { ...e })
},
"feed-new": {
- prefetch: (e) => NEe(e),
- page: (e) => /* @__PURE__ */ (0, I.jsx)(ake, { ...e })
+ prefetch: (e) => VEe(e),
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(pke, { ...e })
},
"library-processing": {
- prefetch: (e, t) => lH(t),
- page: (e) => /* @__PURE__ */ (0, I.jsx)(AIe, { ...e })
+ prefetch: (e, t) => cH(t),
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(RIe, { ...e })
},
search: {
prefetch: async () => {},
- page: (e) => /* @__PURE__ */ (0, I.jsx)(AAe, { ...e })
+ page: (e) => /* @__PURE__ */ (0, I.jsx)(RAe, { ...e })
}
-}, W6 = (e) => Object.hasOwn(U6, e), G6 = {
+}, U6 = (e) => Object.hasOwn(H6, e), W6 = {
"batch-dock": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(nle, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(ole, {})
},
"glow-picker": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(Rle, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(Hle, {})
},
"manage-header": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(Ife, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(Wfe, {})
},
immerse: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(Nde, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(Bde, {})
},
"settings-panel": {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(eje, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(cje, {})
},
sidebar: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(gje, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(wje, {})
},
stage: {
prefetch: async () => {},
- page: () => /* @__PURE__ */ (0, I.jsx)(LPe, {})
+ page: () => /* @__PURE__ */ (0, I.jsx)(GPe, {})
}
-}, K6 = (e) => Object.hasOwn(G6, e), q6 = [
+}, G6 = (e) => Object.hasOwn(W6, e), K6 = [
"/",
"/wall",
"/unseen",
@@ -79345,99 +79423,99 @@ var M6 = (e) => ({
"/junk-files"
];
[
- ...Object.keys(N6),
- ...Object.keys(F6),
- ...Object.keys(R6),
- ...Object.keys(B6),
- ...q6
+ ...Object.keys(M6),
+ ...Object.keys(P6),
+ ...Object.keys(L6),
+ ...Object.keys(z6),
+ ...K6
];
-var J6 = (e) => P6(e) || I6(e) || Object.hasOwn(R6, e) || Object.hasOwn(B6, e) || H6(e) || W6(e) || K6(e);
-function Y6(e) {
- return P6(e) ? N6[e] : I6(e) ? F6[e] : H6(e) ? V6[e] : W6(e) ? U6[e] : K6(e) ? G6[e] : Object.hasOwn(R6, e) ? R6[e] : B6[e];
+var q6 = (e) => N6(e) || F6(e) || Object.hasOwn(L6, e) || Object.hasOwn(z6, e) || V6(e) || U6(e) || G6(e);
+function J6(e) {
+ return N6(e) ? M6[e] : F6(e) ? P6[e] : V6(e) ? B6[e] : U6(e) ? H6[e] : G6(e) ? W6[e] : Object.hasOwn(L6, e) ? L6[e] : z6[e];
}
-function jIe(e, t, n) {
- return J6(e) ? Y6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
+function zIe(e, t, n) {
+ return q6(e) ? J6(e).prefetch(t, n) : Promise.reject(/* @__PURE__ */ Error(`路由树里没有这一页:${e}`));
}
-function MIe(e, t, n, r) {
- return Y6(e).page(t, n, r);
+function BIe(e, t, n, r) {
+ return J6(e).page(t, n, r);
}
// src/react/application-residents.ts
-var X6 = null, Z6 = null, Q6 = 0, $6 = /* @__PURE__ */ new Set();
-function NIe(e) {
- return X6 = e, Z6 && e(Z6), () => {
- X6 === e && (X6 = null);
+var Y6 = null, X6 = null, Z6 = 0, Q6 = /* @__PURE__ */ new Set();
+function VIe(e) {
+ return Y6 = e, X6 && e(X6), () => {
+ Y6 === e && (Y6 = null);
};
}
-function PIe(e) {
- return X6 && (Z6 = e, X6(e), cp(Promise.resolve(jIe)), EIe()), Promise.resolve();
+function HIe(e) {
+ return Y6 && (X6 = e, Y6(e), cp(Promise.resolve(zIe)), PIe()), Promise.resolve();
}
-async function e8(e, t, n = (e) => e) {
- let r = Q6;
- if (t.isConnected || $6.add(t), !await mp(e, {}, {
+async function $6(e, t, n = (e) => e) {
+ let r = Z6;
+ if (t.isConnected || Q6.add(t), !await mp(e, {}, {
container: t,
resident: !0,
- isCurrent: () => !!X6 && r === Q6,
+ isCurrent: () => !!Y6 && r === Z6,
place: () => n(t)
- }) || r !== Q6 || !X6) throw new DOMException("应用已卸载", "AbortError");
-}
-function FIe() {
- Q6 += 1, X6 = null, Z6 = null, t8 = null, n8 = null, a8 = null, o8 = null, c8 = null, l8 = null, d8 = null, f8 = null, m8 = null, h8 = null, _8 = null, v8 = null, b8 = null;
- for (let e of $6) e.remove();
- $6.clear(), KQ();
-}
-var t8 = null, n8 = null;
-function r8(e) {
- return t8 ??= (async () => {
- let t = IPe(e), n = document.createElement("div");
- return n.dataset.stageHost = "", await e8("stage", n, (e) => (document.body.append(e), e)), n8 = t, t;
- })(), t8;
-}
-var i8 = () => n8, a8 = null, o8 = null;
-function IIe(e) {
- return a8 ??= (async () => {
- let t = Mde(e), n = document.createElement("div");
- return n.dataset.immerseHost = "", await e8("immerse", n, (e) => (document.body.append(e), e)), o8 = t, t;
- })(), a8;
-}
-var s8 = () => o8, c8 = null, l8 = null;
-function LIe(e) {
- return c8 ??= (async () => {
- let t = $Ae(e), n = document.createElement("div");
- return n.dataset.settingsHost = "", await e8("settings-panel", n, (e) => (document.body.append(e), e)), l8 = t, t;
- })(), c8;
-}
-var u8 = () => l8, d8 = null, f8 = null;
-function RIe(e) {
- return d8 ??= (async () => {
- let t = hje(e);
- return await e8("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), f8 = t, t;
- })(), d8;
-}
-var p8 = () => f8, m8 = null, h8 = null;
-function zIe(e) {
- return m8 ??= (async () => {
- let t = Ffe(e);
- return await e8("manage-header", e.root, (e) => (e.replaceChildren(), e)), h8 = t, t;
- })(), m8;
-}
-var g8 = () => h8, _8 = null, v8 = null;
-function BIe(e) {
- return _8 ??= (async () => {
- let t = tle(e);
- return await e8("batch-dock", e.root), v8 = t, t;
- })(), _8;
-}
-var y8 = () => v8, b8 = null;
-function VIe(e) {
- return b8 ??= (async () => {
- Lle(e), await e8("glow-picker", e.root);
- })(), b8;
-}
-function x8(e, t, n, r) {
- qQ(e, t), JQ(n, r);
+ }) || r !== Z6 || !Y6) throw new DOMException("应用已卸载", "AbortError");
+}
+function UIe() {
+ Z6 += 1, Y6 = null, X6 = null, e8 = null, t8 = null, i8 = null, a8 = null, s8 = null, c8 = null, u8 = null, d8 = null, p8 = null, m8 = null, g8 = null, _8 = null, y8 = null;
+ for (let e of Q6) e.remove();
+ Q6.clear(), GQ();
+}
+var e8 = null, t8 = null;
+function n8(e) {
+ return e8 ??= (async () => {
+ let t = WPe(e), n = document.createElement("div");
+ return n.dataset.stageHost = "", await $6("stage", n, (e) => (document.body.append(e), e)), t8 = t, t;
+ })(), e8;
+}
+var r8 = () => t8, i8 = null, a8 = null;
+function WIe(e) {
+ return i8 ??= (async () => {
+ let t = zde(e), n = document.createElement("div");
+ return n.dataset.immerseHost = "", await $6("immerse", n, (e) => (document.body.append(e), e)), a8 = t, t;
+ })(), i8;
+}
+var o8 = () => a8, s8 = null, c8 = null;
+function GIe(e) {
+ return s8 ??= (async () => {
+ let t = sje(e), n = document.createElement("div");
+ return n.dataset.settingsHost = "", await $6("settings-panel", n, (e) => (document.body.append(e), e)), c8 = t, t;
+ })(), s8;
+}
+var l8 = () => c8, u8 = null, d8 = null;
+function KIe(e) {
+ return u8 ??= (async () => {
+ let t = Cje(e);
+ return await $6("sidebar", e.scroll, (e) => (e.replaceChildren(), e)), e.attached(), d8 = t, t;
+ })(), u8;
+}
+var f8 = () => d8, p8 = null, m8 = null;
+function qIe(e) {
+ return p8 ??= (async () => {
+ let t = Ufe(e);
+ return await $6("manage-header", e.root, (e) => (e.replaceChildren(), e)), m8 = t, t;
+ })(), p8;
+}
+var h8 = () => m8, g8 = null, _8 = null;
+function JIe(e) {
+ return g8 ??= (async () => {
+ let t = ale(e);
+ return await $6("batch-dock", e.root), _8 = t, t;
+ })(), g8;
+}
+var v8 = () => _8, y8 = null;
+function YIe(e) {
+ return y8 ??= (async () => {
+ Vle(e), await $6("glow-picker", e.root);
+ })(), y8;
+}
+function b8(e, t, n, r) {
+ KQ(e, t), qQ(n, r);
}
// src/application/receipts.js
-var S8 = {
+var x8 = {
toastBody: void 0,
toastSeq: void 0,
toast: void 0,
@@ -79446,13 +79524,13 @@ var S8 = {
rollSeed: void 0,
seededSample: void 0
};
-function HIe() {
- qQ(L("#toasts"), {
+function XIe() {
+ KQ(L("#toasts"), {
success: R("check"),
error: R("circle-alert")
- }), S8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : z(e && typeof e == "object" ? e.text ?? "" : e ?? ""), S8.toastSeq = 0, S8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {
- let a = `toast-${++S8.toastSeq}`, o = (e, t, n, r) => {
- Qo(i || (t ? "error" : "success")), x8(L("#toasts"), {
+ }), x8.toastBody = (e) => e && typeof e == "object" && "html" in e ? String(e.html) : z(e && typeof e == "object" ? e.text ?? "" : e ?? ""), x8.toastSeq = 0, x8.toast = (e, { timeout: t = 6e3, warn: n = !1, action: r = null, sound: i = null } = {}) => {
+ let a = `toast-${++x8.toastSeq}`, o = (e, t, n, r) => {
+ Qo(i || (t ? "error" : "success")), b8(L("#toasts"), {
success: R("check"),
error: R("circle-alert")
}, a, {
@@ -79467,10 +79545,10 @@ function HIe() {
} : null
});
};
- return o(S8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(S8.toastBody(e), t, n, null) };
- }, S8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {
+ return o(x8.toastBody(e), n, t, r), { replaceMessage: (e, { warn: t = !1, timeout: n = 4e3 } = {}) => o(x8.toastBody(e), t, n, null) };
+ }, x8.actionReceipt = (e, { undo: t = null, timeout: n = t ? 8e3 : 6e3 } = {}) => {
let r = null;
- return r = S8.toast({ text: e }, {
+ return r = x8.toast({ text: e }, {
timeout: n,
action: t ? {
label: "撤销",
@@ -79483,14 +79561,14 @@ function HIe() {
}
} : null
}), r;
- }, S8.actionFailure = (e, t) => S8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), S8.rollSeed = () => ir(), S8.seededSample = (e, t, n, r = (e) => e.k) => {
+ }, x8.actionFailure = (e, t) => x8.toast({ text: `${e}失败:${t?.message || "请重试"}` }, { warn: !0 }), x8.rollSeed = () => ir(), x8.seededSample = (e, t, n, r = (e) => e.k) => {
if (e.length <= t) return e;
let i = new Set([...e].sort((e, t) => rr(n, r(e)) - rr(n, r(t))).slice(0, t).map(r));
return e.filter((e) => i.has(r(e)));
};
}
// src/react/catalog-grid/catalog-state.ts
-var UIe = [
+var ZIe = [
"loc",
"creator",
"studio",
@@ -79511,10 +79589,10 @@ var UIe = [
"folder",
"folder_recursive"
];
-function C8(e, t, n, r = n.defaultSort) {
- return Vj(e, t, n.defaultSort, n.defaultSortDirection, r);
+function S8(e, t, n, r = n.defaultSort) {
+ return Lj(e, t, n.defaultSort, n.defaultSortDirection, r);
}
-function WIe(e, t, n) {
+function QIe(e, t, n) {
let r = decodeURIComponent(e.pathname), i = new URLSearchParams(e.search), a = jn(r) || r === "/trash", o = (e) => a ? i.get(e) : null;
return {
loc: i.get("loc") ?? "local,115",
@@ -79530,7 +79608,7 @@ function WIe(e, t, n) {
region: o("region") || "",
year: o("year") || "",
state: kn[r] || o("state") || "",
- ...C8(o("sort"), o("dir"), t),
+ ...S8(o("sort"), o("dir"), t),
seed: o("seed") || n(),
q: o("q") || "",
jav: o("jav") || "",
@@ -79540,18 +79618,18 @@ function WIe(e, t, n) {
folder_recursive: o("folder_recursive") === "0" ? "0" : ""
};
}
-function GIe(e, t) {
+function $Ie(e, t) {
return e.split(",").filter(Boolean).filter((e) => t[e] !== !1).join(",") || e;
}
-function KIe(e) {
+function eLe(e) {
let t = On[e.state ?? ""] || "/", n = new URLSearchParams();
- for (let t of UIe) {
+ for (let t of ZIe) {
let r = e[t];
- !r || t === "tag_match" && r === "all" || t === "dir" && r === Rj(e.sort ?? "") || n.set(t, r);
+ !r || t === "tag_match" && r === "all" || t === "dir" && r === Pj(e.sort ?? "") || n.set(t, r);
}
return !On[e.state ?? ""] && e.state && n.set("state", e.state), t + (n.size ? `?${n}` : "");
}
-function qIe(e, t, n) {
+function tLe(e, t, n) {
return {
loc: e.loc ?? "",
creator: "",
@@ -79567,7 +79645,7 @@ function qIe(e, t, n) {
year: "",
state: "",
sort: t.defaultSort,
- dir: Bj(t.defaultSort, t.defaultSort, t.defaultSortDirection),
+ dir: Ij(t.defaultSort, t.defaultSort, t.defaultSortDirection),
seed: n(),
q: "",
jav: "",
@@ -79577,7 +79655,7 @@ function qIe(e, t, n) {
folder_recursive: ""
};
}
-function w8(e) {
+function C8(e) {
return {
state: e,
barsContext: {
@@ -79588,7 +79666,7 @@ function w8(e) {
};
}
// src/react/catalog-grid/catalog-controller.ts
-var JIe = class {
+var nLe = class {
currentRevision = 0;
currentPage = "";
painting = null;
@@ -79633,44 +79711,44 @@ var JIe = class {
let e = [...this.waiters.values()];
this.waiters.clear(), e.forEach((e) => e());
}
-}, T8 = Infinity, E8 = 0, YIe = (e, t = E8) => [
+}, w8 = Infinity, T8 = 0, rLe = (e, t = T8) => [
"facets",
e,
t
-], XIe = (e, t, n = E8) => [
+], iLe = (e, t, n = T8) => [
"tops",
e,
t,
n
-], ZIe = (e, t = E8) => [
+], aLe = (e, t = T8) => [
"tops",
e,
t
];
-async function D8(e) {
+async function E8(e) {
let t = String(e), n = await Tn(`/api/tops?${t}`), r = new URLSearchParams(t);
return n.performers.length || n.studios.length || !r.has("state") ? n : (r.delete("state"), await Tn(`/api/tops?${r}`));
}
-function QIe(e, t) {
+function oLe(e, t) {
return Promise.all([H.fetchQuery({
- queryKey: YIe(e),
+ queryKey: rLe(e),
queryFn: () => Tn(`/api/facets${e ? `?${e}` : ""}`),
- staleTime: T8
+ staleTime: w8
}), H.fetchQuery({
- queryKey: XIe(t, e),
- queryFn: () => D8(t),
- staleTime: T8
+ queryKey: iLe(t, e),
+ queryFn: () => E8(t),
+ staleTime: w8
})]);
}
-function $Ie(e) {
+function sLe(e) {
return H.fetchQuery({
- queryKey: ZIe(e),
- queryFn: () => D8(e),
- staleTime: T8
+ queryKey: aLe(e),
+ queryFn: () => E8(e),
+ staleTime: w8
});
}
-function O8() {
- E8 += 1;
+function D8() {
+ T8 += 1;
let e = (e) => e.state.fetchStatus === "idle";
H.removeQueries({
queryKey: ["facets"],
@@ -79681,7 +79759,7 @@ function O8() {
});
}
// src/application/navigation-items.ts
-var k8 = [
+var O8 = [
[
"",
"首页",
@@ -79732,7 +79810,7 @@ var k8 = [
"管理",
"wrench"
]
-], A8 = [
+], k8 = [
[
"stats",
"统计",
@@ -79778,18 +79856,18 @@ var k8 = [
"Peach 配置",
"folder-cog"
]
-], j8 = [
+], A8 = [
"stats",
"taste",
"cleanup",
"follow",
"activity",
"configuration"
-], eLe = (e) => A8.filter(([t]) => j8.includes(t) && (t !== "configuration" || e)), M8 = A8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[
+], cLe = (e) => k8.filter(([t]) => A8.includes(t) && (t !== "configuration" || e)), j8 = k8.flatMap(([e, t, n]) => e === "configuration" ? [] : [[
e === "follow" ? "follow-manage" : e === "cleanup" ? "data-cleanup" : e,
t,
n
-]]), tLe = [...k8, ...M8], nLe = {
+]]), lLe = [...O8, ...j8], uLe = {
stats: "stats",
review: "review",
"data-cleanup": "cleanup",
@@ -79797,18 +79875,18 @@ var k8 = [
"follow-manage": "follow",
quality: "quality",
activity: "activity"
-}, N8 = [
+}, M8 = [
["0", "不限时间"],
["7", "最近 7 天"],
["30", "最近 30 天"],
["90", "最近 90 天"]
];
// src/react/index/index-controller.ts
-function P8({ kind: e, q: t, scope: n, view: r, category: i }) {
+function N8({ 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 F8(e, t, n) {
+function P8(e, t, n) {
let r = e.entity_id || e.id, i = t === "studio" || t === "agency";
return {
html: _o(e.k, r ? {
@@ -79821,20 +79899,20 @@ function F8(e, t, n) {
face: yo(e.avatar_focus)
};
}
-function I8(e) {
+function F8(e) {
let t = String(e.k || ""), n = (t.match(/[A-Za-z0-9]/)?.[0] || Array.from(t)[0] || "?").toUpperCase(), r = e.avatar ? `<img src="${z(e.avatar)}" alt="" loading="lazy" referrerpolicy="no-referrer" ${Va({ fallbacks: [e.avatar_fallback || ""] })}>` : "";
return `<span class="ini">${z(n)}</span>${r}`;
}
-function rLe(e) {
+function dLe(e) {
let t = (t) => {
e.adoptFollowView(t), e.hideIndex(), e.openPage(ka(t));
};
return {
route(t, { replace: n = !1 } = {}) {
- e.route(P8(t), n);
+ e.route(N8(t), n);
},
- personAvatar: F8,
- authorAvatar: I8,
+ personAvatar: P8,
+ authorAvatar: F8,
openFollowAuthor(n) {
t(Aa(e.followView(), n));
},
@@ -79844,7 +79922,7 @@ function rLe(e) {
};
}
// src/application/effects.ts
-var L8 = class {
+var I8 = class {
cleanups = /* @__PURE__ */ new Set();
active = !0;
disposed = !1;
@@ -79925,12 +80003,12 @@ var L8 = class {
}
if (e.length) throw AggregateError(e, "应用资源清理未全部完成");
}
-}, R8 = new L8();
-function iLe() {
- return R8.dispose(), R8 = new L8(), R8;
+}, L8 = new I8();
+function fLe() {
+ return L8.dispose(), L8 = new I8(), L8;
}
// src/application/source-action.ts
-function aLe(e) {
+function pLe(e) {
return async (t, n, { button: r = null } = {}) => {
if (r?.getAttribute("aria-busy") === "true") return;
let i = r?.innerHTML ?? "", a = r?.textContent?.trim() ?? "";
@@ -79945,36 +80023,36 @@ function aLe(e) {
};
}
// src/react/entity-page/entity-route.ts
-var z8 = () => Object.fromEntries(FX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
-function B8(e, t) {
- let n = new URLSearchParams(e), r = z8();
- for (let e of FX) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
+var R8 = () => Object.fromEntries(PX.map((e) => [e, e === "sort" ? "new" : e === "dir" ? "desc" : ""]));
+function z8(e, t) {
+ let n = new URLSearchParams(e), r = R8();
+ for (let e of PX) e !== "sort" && e !== "dir" && (r[e] = n.get(e) || "");
return {
...r,
- ...Vj(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")
+ ...Lj(n.get("sort"), n.get("dir"), t.sort, t.dir, "new")
};
}
-function V8(e) {
+function B8(e) {
let t = new URLSearchParams();
- for (let n of FX) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === Rj(e.sort || "") || t.set(n, e[n]);
+ for (let n of PX) !e[n] || n === "sort" && e[n] === "new" || n === "dir" && e[n] === Pj(e.sort || "") || t.set(n, e[n]);
return t.toString();
}
-function H8(e) {
+function V8(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 U8(e, t) {
- let n = new URLSearchParams(V8(e));
+function H8(e, t) {
+ let n = new URLSearchParams(B8(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 oLe(e, t, n, r) {
- let i = U8(n, r);
+function mLe(e, t, n, r) {
+ let i = H8(n, r);
return Pn(e, t) + (i ? `?${i}` : "");
}
-function sLe() {
+function hLe() {
let e = "";
return {
fresh(t, n) {
@@ -79983,22 +80061,22 @@ function sLe() {
read(t, n, r, i) {
let a = e === Pn(t, n) && !r;
e = "";
- let o = a ? z8() : { ...B8(r, i) };
+ let o = a ? R8() : { ...z8(r, i) };
return t === "creator" && (o.creator = ""), {
filters: o,
media: a ? {
media: "videos",
set: 0
- } : H8(r)
+ } : V8(r)
};
}
};
}
// src/react/entity-page/photo-surface.ts
-function cLe(e, t) {
+function gLe(e, t) {
return e.entityWall && e.entityCurrent && e.indexVisible || e.pathname === "/follow" && e.followMedia === "images" && e.statsVisible ? !0 : t();
}
-function lLe(e) {
+function _Le(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);
@@ -80020,12 +80098,12 @@ function lLe(e) {
};
}
// src/react/entity-page/entity-controller.ts
-function uLe(e, t, n) {
+function vLe(e, t, n) {
let r = (t, n, r, i = {
media: "videos",
set: 0
}, { push: a = !0 } = {}) => {
- if (a && e.route(oLe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;
+ if (a && e.route(mLe(t, n, r, i)), e.restoreHomeContext(), !e.live(t, n)) return !1;
e.releaseBodyPreviews();
let o = e.state();
return e.push({
@@ -80039,7 +80117,7 @@ function uLe(e, t, n) {
if (s) return s;
let c = () => {
let n = e.context();
- return n?.kind === t && n.name === a ? n.filters : z8();
+ return n?.kind === t && n.name === a ? n.filters : R8();
}, l = {
...n,
route: (e, n) => {
@@ -80052,7 +80130,7 @@ function uLe(e, t, n) {
e.tag = "", e.creator = "", e.studio = "", e.owner = "";
}),
setSort: (e) => {
- let n = c(), i = zj(e, n.sort || "new", n.dir || "");
+ let n = c(), i = Fj(e, n.sort || "new", n.dir || "");
i && r(t, a, {
...n,
...i
@@ -80103,7 +80181,7 @@ function uLe(e, t, n) {
};
}
// src/react/entity-page/entity-loading.ts
-function dLe(e) {
+function yLe(e) {
return async (t, n, r) => {
e.paintSkeleton(t, n), e.resetView(), e.shapesReady(t, n) || e.waitShapes().then(() => {
r() && e.syncParts(t, n);
@@ -80113,7 +80191,7 @@ function dLe(e) {
};
}
// src/react/entity-page/entity-portrait.ts
-function fLe(e, t) {
+function bLe(e, t) {
let n = e === "studio" || e === "agency", r = t.id ? go({
kind: e,
id: t.id,
@@ -80135,11 +80213,11 @@ function fLe(e, t) {
return r || (i?.avatar ? `<img src="${z(i.avatar)}" alt="${z(t.canonical_name)}" referrerpolicy="no-referrer" ${Va({ fallbacks: [i.avatar_fallback || ""] })}>` : "");
}
// src/react/entity-page/entity-application.ts
-function pLe(e) {
- let t = sLe(), n = {
+function xLe(e) {
+ let t = hLe(), n = {
...e.helpers,
- portraitImg: fLe
- }, r = uLe(e.controller, n, e.actions);
+ portraitImg: bLe
+ }, r = vLe(e.controller, n, e.actions);
return {
...r,
helpers: n,
@@ -80148,12 +80226,12 @@ function pLe(e) {
let { filters: o, media: s } = t.read(n, i, a, e.sortPreference());
return r.props(n, i, o, s);
},
- loading: dLe(e.loading),
- photos: lLe(e.photos)
+ loading: yLe(e.loading),
+ photos: _Le(e.photos)
};
}
// src/card-art/feed-identity.ts
-function mLe(e) {
+function SLe(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="${z(e.code)}" data-actor="${z(t.source_actor_id)}" data-name="${z(t.name)}"` : "", i = n ? "" : _o(t.name, t, null);
return "id" in t && t.id ? `<a class="mav"${r} href="${z(Pn("performer", t.name, t.id))}" aria-label="打开女优页:${z(t.name)}">${i}</a>` : `<span class="mav"${r} title="${z(t.name)}">${i}</span>`;
@@ -80161,7 +80239,7 @@ function mLe(e) {
return r.length > 1 ? `<div class="mavstack">${i}</div>` : i;
}
// src/application/feed.js
-var W8 = {
+var U8 = {
FEED_SKELETON_CARDS: void 0,
feedNewSkeletonHtml: void 0,
entityShapes: void 0,
@@ -80177,56 +80255,56 @@ var W8 = {
feedNewActions: void 0,
HERO_WIDE_PX: void 0
};
-function G8(e) {
+function W8(e) {
return e.has_cover ? So(e, "big") : !e.cover_url || !e.code ? e.cover_fetching ? `<span class="nopic" data-feed-cover-state="fetching">${Hs("抓取中")}</span>` : "<span class=\"nopic\" data-feed-cover-state=\"missing\">无封面</span>" : So(e, "big").replace(/ src="[^"]*"/, ` src="${z(fo(e))}" data-panel-prior="1"`).replace("data-drop=\"self\"", "data-drop=\"initial\" data-initial=\"封面未取得\" data-drop-class=\"nopic\"");
}
-function hLe(e) {
- let t = [e.performers && `<span class="feednewperformers" title="${z(e.performers)}">${z(e.performers)}</span>`, e.release_date && `<span>${z(e.release_date)}</span>`].filter(Boolean).join(""), n = G8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? GI({
+function CLe(e) {
+ let t = [e.performers && `<span class="feednewperformers" title="${z(e.performers)}">${z(e.performers)}</span>`, e.release_date && `<span>${z(e.release_date)}</span>`].filter(Boolean).join(""), n = W8(e), r = e.code || String(e.title || "").trim() || "未命名新作", i = e.code ? WI({
is_jav: !0,
code: e.code,
name: e.code,
display_title: e.title || ""
}) : z(r), a = e.code ? `<a class="feednewopen" href="/works/${encodeURIComponent(e.code)}" aria-label="打开 ${z(r)} 的作品详情"></a>` : "";
return `<article class="card feednewcard${e.read ? " isread" : ""}" data-feed-id="${e.id}">
- ${a}<div class="pic" style="--card-ratio:${hM}">${n}
+ ${a}<div class="pic" style="--card-ratio:${dM}">${n}
<div class="hovertools feednewtools">
<button type="button" data-feed-action="${e.wanted ? "unwant" : "want"}" aria-pressed="${!!e.wanted}" title="${e.wanted ? "取消想要" : "想要"}" aria-label="想要 ${z(r)}">${R("star")}</button>
<button type="button" data-feed-action="ignore" title="不想看" aria-label="不想看 ${z(r)}">${R("x")}</button>
<button type="button" data-feed-action="read" title="标为已看过" aria-label="标为已看过 ${z(r)}">${R("check")}</button></div></div>
- <div class="meta">${mLe(e)}<div class="mtext"><span class="t">${i}</span>
+ <div class="meta">${SLe(e)}<div class="mtext"><span class="t">${i}</span>
<div class="s mono">${t || (e.title ? "" : "资料还没取到")}</div></div></div></article>`;
}
-function gLe() {
+function wLe() {
let e = document.getElementById("peach-entity-shape");
if (e) try {
let t = JSON.parse(e.textContent || "null");
if (!t?.id || typeof t.kind != "string" || !Array.isArray(t.names) || !Array.isArray(t.parts)) return;
- W8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${Un(e)}`, t.parts]));
+ U8.entityShapes = new Map([String(t.id), ...t.names].map((e) => [`${t.kind}/${Un(e)}`, t.parts]));
} catch {}
}
-async function K8() {
- let e = R8, t = await Tn("/api/entity/shapes", { signal: e.signal }).catch(() => null);
- return e.isActive && t && !t.error && (W8.entityShapesComplete = !0, W8.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${Un(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && J8(t.home.feed), Q8(location.pathname) && Y8(L("#feedNew"))), W8.entityShapes;
+async function G8() {
+ let e = L8, t = await Tn("/api/entity/shapes", { signal: e.signal }).catch(() => null);
+ return e.isActive && t && !t.error && (U8.entityShapesComplete = !0, U8.entityShapes = new Map((t.entities || []).flatMap((e) => [String(e.id), ...e.names].map((t) => [`${e.kind}/${Un(t)}`, e.parts]))), typeof t.home?.feed == "boolean" && q8(t.home.feed), Z8(location.pathname) && J8(L("#feedNew"))), U8.entityShapes;
}
-var q8 = "peach.home-feed.v1";
-function J8(e) {
+var K8 = "peach.home-feed.v1";
+function q8(e) {
X.homeHasFeed = e;
try {
- localStorage.setItem(q8, e ? "1" : "0");
+ localStorage.setItem(K8, e ? "1" : "0");
} catch {}
}
-function _Le() {
+function TLe() {
try {
- let e = localStorage.getItem(q8);
+ let e = localStorage.getItem(K8);
return e === "1" || e !== "0" && null;
} catch {
return null;
}
}
-function Y8(e) {
- !e || up(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = W8.feedNewSkeletonHtml())));
+function J8(e) {
+ !e || up(e) || e.querySelector("[data-feed-id]") || (e.hidden = X.homeHasFeed !== !0, X.homeHasFeed === !0 && (e.setAttribute("aria-busy", "true"), e.querySelector(".feednewskeleton") || (e.innerHTML = U8.feedNewSkeletonHtml())));
}
-function vLe(e, t) {
+function ELe(e, t) {
return !(e > 0) || !t.some((e) => !e.has_cover) ? "" : zs(`${e} 部新作的封面连不上 DMM 图片主机,中国移动宽带常见。把 DMM / FANZA 的连接方式设成 Peach 代理,下一轮会自动重取。`, {
variant: "warning",
className: "feednetwork",
@@ -80234,55 +80312,55 @@ function vLe(e, t) {
actionHref: "/sources"
});
}
-function X8(e, t = "") {
- let n = e && !e.error && e.items || [], r = t && n.length ? `<a class="feednewall" href="${z(t)}" style="--card-ratio:${hM}">${R("chevron-right")}<span>查看全部新作</span></a>` : "";
- return vLe(e?.cover_network, n) + `<div class="feednewrow srow">${n.map(hLe).join("")}${r}</div>`;
+function Y8(e, t = "") {
+ let n = e && !e.error && e.items || [], r = t && n.length ? `<a class="feednewall" href="${z(t)}" style="--card-ratio:${dM}">${R("chevron-right")}<span>查看全部新作</span></a>` : "";
+ return ELe(e?.cover_network, n) + `<div class="feednewrow srow">${n.map(CLe).join("")}${r}</div>`;
}
-function Z8(e) {
+function X8(e) {
e && ($7(e), Z.appSettings.feedAutoScroll && Bc(e));
}
-function Q8(e) {
+function Z8(e) {
return jn(e) && e !== "/junk-files";
}
-function yLe() {
+function DLe() {
let e = L("#feedNew");
- up(e) ? e.hidden = X.homeHasFeed !== !0 : (Y8(e), mp("feed-new", {
+ up(e) ? e.hidden = X.homeHasFeed !== !0 : (J8(e), mp("feed-new", {
host: e,
- revision: W8.feedRevision,
- helpers: W8.feedNewHelpers,
- actions: W8.feedNewActions
+ revision: U8.feedRevision,
+ helpers: U8.feedNewHelpers,
+ actions: U8.feedNewActions
}, {
container: e,
- isCurrent: () => Q8(location.pathname)
+ isCurrent: () => Z8(location.pathname)
}));
}
-function $8() {
+function Q8() {
let e = L("#feedNew");
e.querySelectorAll(".feednewrow").forEach(Vc), e.hidden = !0;
}
-function e5() {
- W8.feedRevision += 1, gp(L("#feedNew"), { revision: W8.feedRevision }), r5({ feedRevision: W8.feedRevision });
+function $8() {
+ U8.feedRevision += 1, gp(L("#feedNew"), { revision: U8.feedRevision }), n5({ feedRevision: U8.feedRevision });
}
-function bLe() {
+function OLe() {
document.querySelectorAll(".feednewrow").forEach((e) => Z.appSettings.feedAutoScroll ? Bc(e) : Vc(e));
}
-var t5 = 0;
-function xLe([e]) {
- let t = e.contentRect.width >= W8.HERO_WIDE_PX;
- cancelAnimationFrame(t5), t5 = requestAnimationFrame(() => {
- t5 = 0, L("#index")?.toggleAttribute("data-hero-wide", t);
+var e5 = 0;
+function kLe([e]) {
+ let t = e.contentRect.width >= U8.HERO_WIDE_PX;
+ cancelAnimationFrame(e5), e5 = requestAnimationFrame(() => {
+ e5 = 0, L("#index")?.toggleAttribute("data-hero-wide", t);
});
}
-function SLe() {
- W8.FEED_SKELETON_CARDS = 8, W8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" data-skeleton="feed/new" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${hM}"></div>
+function ALe() {
+ U8.FEED_SKELETON_CARDS = 8, U8.feedNewSkeletonHtml = () => `<div class="feednewrow srow" data-skeleton="feed/new" aria-hidden="true">${`<article class="card feednewcard feednewskeleton"><div class="pic imgwait" style="--card-ratio:${dM}"></div>
<div class="meta"><div class="mtext"><span class="t"><span class="skeleton"></span></span>
- <div class="s mono"><span class="skeleton">&#8203;</span></div></div></div></article>`.repeat(W8.FEED_SKELETON_CARDS)}</div>`, W8.entityShapes = null, W8.entityShapesComplete = !1, W8.hasEntityShape = (e, t) => W8.entityShapesComplete || !!W8.entityShapes?.has(`${e}/${Un(t)}`), W8.hasEntityPart = (e, t, n) => !!t && !!W8.entityShapes?.get(`${e}/${Un(t)}`)?.includes(n), W8.feedNewSkeletonSection = () => `<section class="feednew">${W8.feedNewSkeletonHtml()}</section>`, W8.COSTAR_SKELETON_PEOPLE = 12, W8.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>&#8203;</span></button>".repeat(W8.COSTAR_SKELETON_PEOPLE)}</div></div>`, W8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, W8.feedRevision = 0, W8.feedNewHelpers = {
- feedRowHtml: X8,
- wireFeedRow: (e) => Z8(e)
- }, W8.feedNewActions = { settled: (e) => J8(e) }, W8.HERO_WIDE_PX = 900, R8.resize(xLe).observe(L("#index"));
+ <div class="s mono"><span class="skeleton">&#8203;</span></div></div></div></article>`.repeat(U8.FEED_SKELETON_CARDS)}</div>`, U8.entityShapes = null, U8.entityShapesComplete = !1, U8.hasEntityShape = (e, t) => U8.entityShapesComplete || !!U8.entityShapes?.has(`${e}/${Un(t)}`), U8.hasEntityPart = (e, t, n) => !!t && !!U8.entityShapes?.get(`${e}/${Un(t)}`)?.includes(n), U8.feedNewSkeletonSection = () => `<section class="feednew">${U8.feedNewSkeletonHtml()}</section>`, U8.COSTAR_SKELETON_PEOPLE = 12, U8.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>&#8203;</span></button>".repeat(U8.COSTAR_SKELETON_PEOPLE)}</div></div>`, U8.factsSkeleton = () => `<dl class="entityfacts" data-entity-facts>${"<dt><span class=\"skeleton\"></span></dt><dd><span class=\"skeleton\"></span></dd>".repeat(5)}</dl>`, U8.feedRevision = 0, U8.feedNewHelpers = {
+ feedRowHtml: Y8,
+ wireFeedRow: (e) => X8(e)
+ }, U8.feedNewActions = { settled: (e) => q8(e) }, U8.HERO_WIDE_PX = 900, L8.resize(kLe).observe(L("#index"));
}
// src/entity-skeleton.ts
-function CLe(e, t, n, r = "") {
+function jLe(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">
@@ -80321,16 +80399,16 @@ var Y = {
sourceToolButtons: void 0,
application: void 0
};
-function n5() {
+function t5() {
let e = lp(L("#index"));
return e && e.path.endsWith("/*") && e.host.isConnected ? e : null;
}
-function r5(e) {
+function n5(e) {
Y.entityPageCurrent() && gp(L("#index"), e);
}
-function i5() {
+function r5() {
if (Jl.type === "item") return Jl;
- let e = n5();
+ let e = t5();
if (e) {
let { kind: t, name: n, filters: r } = e.props;
return {
@@ -80342,23 +80420,23 @@ function i5() {
}
return Jl;
}
-function a5(e, t, n = n7()) {
- return gRe(n).map(([n, r]) => {
- let i = e === n, a = zj(n, e, t);
+function i5(e, t, n = n7()) {
+ return CRe(n).map(([n, r]) => {
+ let i = e === n, a = Fj(n, e, t);
return {
key: n,
label: r,
pressed: i,
- dir: i && Lj(n, t) ? t === "asc" ? "asc" : "desc" : "",
- ariaLabel: a ? `按${r}${a.dir ? Lj(a.sort, a.dir) : ""}排序` : ""
+ dir: i && Nj(n, t) ? t === "asc" ? "asc" : "desc" : "",
+ ariaLabel: a ? `按${r}${a.dir ? Nj(a.sort, a.dir) : ""}排序` : ""
};
});
}
-function o5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {
+function a5(e, t, n, r = Y.EMPTY_ENTITY_MEDIA, i = {}) {
return Y.application.route(e, t, n, r, i);
}
-function s5() {
- return cLe({
+function o5() {
+ return gLe({
entityWall: Y.entityPageWall,
entityCurrent: Y.entityPageCurrent(),
indexVisible: !L("#index").hidden,
@@ -80367,37 +80445,37 @@ function s5() {
statsVisible: !L("#stats").hidden
}, () => [...document.querySelectorAll(".followphotowall")].some((e) => e.getClientRects().length > 0));
}
-function c5() {
+function s5() {
Y.photos.sync();
}
-function l5() {
- s5() ? Ale(xM()) : PM();
+function c5() {
+ o5() ? Ple(_M()) : AM();
}
-function wLe(e) {
+function MLe(e) {
Y.photos.setSize(e);
}
-var u5 = aLe({
+var l5 = pLe({
request: (e) => Tn("/api/reveal", {
method: "POST",
body: JSON.stringify({ id: e })
}),
- success: () => S8.toast({ text: "已在资源管理器中显示" }),
+ success: () => x8.toast({ text: "已在资源管理器中显示" }),
failureText: (e) => Y.sourceHint(e instanceof Error ? e.message : String(e))
});
-async function d5(e) {
+async function u5(e) {
let t = { textContent: "" };
- return await u5(e, t), t.textContent;
+ return await l5(e, t), t.textContent;
}
-async function TLe(e) {
+async function NLe(e) {
let t = { textContent: "" }, n = [];
- return await f5(e, t, (e) => {
+ return await d5(e, t, (e) => {
e.items && (n = e.items.map((e) => e.id));
}), {
text: t.textContent,
removed: n
};
}
-async function f5(e, t, n) {
+async function d5(e, t, n) {
t.textContent = "正在核对目录…";
try {
let r = await Tn("/api/purge-missing", {
@@ -80410,7 +80488,7 @@ async function f5(e, t, n) {
}
if (t.textContent = r.removed ? `${Y.syncedText(r)}(核对 ${r.checked} 项${r.unreadable ? `,${r.unreadable} 项未能读取` : ""})` : r.unreadable ? `目录有 ${r.unreadable} 项暂时无法读取,本次未改动` : `目录内 ${r.checked} 项都还在,无需改动`, r.removed) {
let e = (r.items || []).filter((e) => e.disposal !== "reattached").map((e) => e.id);
- n && n(r), S8.actionReceipt(Y.syncedText(r), { undo: e.length ? async () => {
+ n && n(r), x8.actionReceipt(Y.syncedText(r), { undo: e.length ? async () => {
await Tn("/api/batch", {
method: "POST",
body: JSON.stringify({
@@ -80422,22 +80500,22 @@ async function f5(e, t, n) {
restored: e.length
});
} : null });
- } else S8.actionReceipt("目录核对完成,无需改动");
+ } else x8.actionReceipt("目录核对完成,无需改动");
} catch (e) {
- t.textContent = Y.sourceHint(e.message), S8.actionFailure("核对目录", e);
+ t.textContent = Y.sourceHint(e.message), x8.actionFailure("核对目录", e);
}
}
-function ELe(e) {
+function PLe(e) {
return `<div class="srctools">${Y.sourceToolButtons(e)}
<span class="srcstate" aria-live="polite"></span></div>`;
}
-function DLe(e, t) {
+function FLe(e, t) {
let n = e.querySelector(".srcstate");
if (!n) return;
let r = e.querySelector("[data-reveal]"), i = e.querySelector("[data-sync]");
- r && R8.handler(r, "onclick", () => u5(Number(r.dataset.reveal), n, { button: r })), i && R8.handler(i, "onclick", () => f5(Number(i.dataset.sync), n, t));
+ r && L8.handler(r, "onclick", () => l5(Number(r.dataset.reveal), n, { button: r })), i && L8.handler(i, "onclick", () => d5(Number(i.dataset.sync), n, t));
}
-async function OLe(e, t) {
+async function ILe(e, t) {
let n = sl({
title: "添加别名",
description: "图库按名字查找图片,添加别名可能找到更多备选图片;也可以将别名设为统一显示的名称。",
@@ -80449,9 +80527,9 @@ async function OLe(e, t) {
confirmDisabled: !0,
onConfirm: () => t({ alias: r.value.trim() })
}), r = n.dialog.querySelector("[name=alias]");
- R8.handler(r, "oninput", () => {
+ L8.handler(r, "oninput", () => {
n.confirmButton.disabled = !r.value.trim();
- }), n.dialog.querySelectorAll("[data-alias-drop]").forEach((e) => R8.handler(e, "onclick", async () => {
+ }), n.dialog.querySelectorAll("[data-alias-drop]").forEach((e) => L8.handler(e, "onclick", async () => {
let r = e.dataset.aliasDrop;
n.close();
try {
@@ -80460,53 +80538,53 @@ async function OLe(e, t) {
remove: !0
});
} catch (e) {
- S8.actionFailure("撤销别名", e);
+ x8.actionFailure("撤销别名", e);
return;
}
- S8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {
+ x8.actionReceipt(`已撤销别名 ${r}`, { undo: async () => {
await t({ alias: r });
} });
}));
let { confirmed: i, result: a } = await n.done;
- i && (a?.added ? S8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {
+ i && (a?.added ? x8.actionReceipt(`已添加别名 ${a.alias}`, { undo: async () => {
await t({
alias: a.alias,
remove: !0
});
- } }) : S8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));
+ } }) : x8.actionReceipt(`${a?.alias} 已经是这份档案中的名字`));
}
-function p5(e, t) {
- let n = ["performer", "studio"].includes(e) && W8.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>${Es()}${e === "agency" ? "" : D0(a5(U.sort, U.dir, n), n ? {
+function f5(e, t) {
+ let n = ["performer", "studio"].includes(e) && U8.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>${Es()}${e === "agency" ? "" : E0(i5(U.sort, U.dir, n), n ? {
name: "jav-layout",
label: "JAV 卡片版式",
- value: _M(),
- options: fM
- } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${T0}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${T0}>${R("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${X.catalogViews().map((e) => `<button type="button" data-entity-state="${z(e.k)}" aria-pressed="${U.state === e.k}" ${T0}>${z(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = CLe(e, r, e === "agency" ? oc({
+ value: pM(),
+ options: cM
+ } : null)}</div>`, i = e === "agency" ? "" : `<div data-entity-media><button type="button" data-media-view="videos" aria-label="视频" aria-pressed="true" ${w0}>${R("play")}</button><button type="button" data-media-view="photos" data-media-icon="image" aria-label="照片" ${w0}>${R("pics")}</button></div><span data-entity-sep></span><div data-entity-scroll><div data-entity-states>${X.catalogViews().map((e) => `<button type="button" data-entity-state="${z(e.k)}" aria-pressed="${U.state === e.k}" ${w0}>${z(e.label)}</button>`).join("")}<span data-entity-sep></span></div>`, a = jLe(e, r, e === "agency" ? oc({
kind: "performers",
- layout: k5.peopleIndexLayout()
- }) : VJ("正在读取作品", TM(wM({
+ layout: O5.peopleIndexLayout()
+ }) : BJ("正在读取作品", xM(bM({
active: n,
home: !1,
portrait: !1
}))), i);
- L("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? m5(e, t) : (L("#index").innerHTML = a, m5(e, t), pc(L("#index")));
+ L("#index").firstElementChild?.dataset.skeleton === `entity/${e}` ? p5(e, t) : (L("#index").innerHTML = a, p5(e, t), pc(L("#index")));
}
-function m5(e, t) {
+function p5(e, t) {
let n = L("#index").firstElementChild;
if (n?.dataset.skeleton !== `entity/${e}`) return;
let r = (e, t, n) => {
t && !e ? n() : !t && e && e.remove();
};
- r(n.querySelector(".entityfoot"), e !== "agency" && W8.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", W8.costarSkeletonFoot())), r(n.querySelector(".feednew"), W8.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", W8.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && W8.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", W8.factsSkeleton()));
+ r(n.querySelector(".entityfoot"), e !== "agency" && U8.hasEntityPart(e, t, "costars"), () => n.querySelector(".entityhero")?.insertAdjacentHTML("beforeend", U8.costarSkeletonFoot())), r(n.querySelector(".feednew"), U8.hasEntityPart(e, t, "feed"), () => n.querySelector(".entitysection")?.insertAdjacentHTML("beforebegin", U8.feedNewSkeletonSection())), r(n.querySelector(".entityfacts"), e === "performer" && U8.hasEntityPart(e, t, "facts"), () => n.querySelector(".entityprofile")?.insertAdjacentHTML("beforeend", U8.factsSkeleton()));
}
-function h5(e) {
- let t = Mn[e] || e, n = $3[t] || "条目", r = $3[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";
+function m5(e) {
+ let t = Mn[e] || e, n = Q3[t] || "条目", r = Q3[t] ? `<a class="geist-button primary" href="/${t}">返回${n}列表</a>` : "";
L("#index").innerHTML = Z.emptyState("search-x", `找不到这个${n}`, "名字可能拼错了,或者已经合并到别的名字下;回列表里重新找。", { actions: r });
}
-function g5(e, t) {
+function h5(e, t) {
_9(Y.application.fresh(e, t));
}
-function kLe() {
+function LLe() {
Y.ENTITY_FILTER_KEYS = [
"loc",
"creator",
@@ -80518,40 +80596,40 @@ function kLe() {
"year",
"sort",
"dir"
- ], Y.emptyEntityFilters = z8, Y.parseEntityFilters = (e) => B8(e, {
+ ], Y.emptyEntityFilters = R8, Y.parseEntityFilters = (e) => z8(e, {
sort: Z.appSettings.defaultSort,
dir: Z.appSettings.defaultSortDirection
- }), Y.entityFilterSearch = V8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {
+ }), Y.entityFilterSearch = B8, Y.cloneBarsContext = (e) => e && e.type === "entity" ? {
...e,
filters: { ...e.filters }
} : e, Y.activeFilterState = () => {
- let e = i5();
+ let e = r5();
return e.type === "home" ? U : e.filters;
}, L("#q").value = U.q, X.rememberSearchValue();
}
-function ALe() {
- Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!n5(), Y.entityPageLive = (e, t) => {
- let n = n5();
+function RLe() {
+ Y.entityPageView = "", Y.entityPageWall = !1, Y.entityPageRevision = 0, Y.entityPageCurrent = () => !!t5(), Y.entityPageLive = (e, t) => {
+ let n = t5();
return !!n && !L("#index").hidden && n.props.kind === e && n.props.name === t;
}, Y.EMPTY_ENTITY_MEDIA = {
media: "videos",
set: 0
- }, Y.parseMediaView = H8, Y.entityViewSearch = U8, Y.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, Y.entityBodySkeleton = () => G7(), Y.entityPageHelpers = {
+ }, Y.parseMediaView = V8, Y.entityViewSearch = H8, Y.entityBodyCanLoadMore = () => !L("#index").hidden && L("#stats").hidden, Y.entityBodySkeleton = () => G7(), Y.entityPageHelpers = {
wireDrag: (e) => {
e && $7(e);
},
wireScroller: (e) => {
e && Ac(e);
},
- wireFeedRow: (e) => Z8(e),
- feedRowHtml: X8,
- receipt: (e, t) => S8.actionReceipt(e, t),
- failure: (e, t) => S8.actionFailure(e, t),
- aliasForm: (e, t) => OLe(e, t),
- sourceToolsHtml: (e) => ELe(e),
- wireSourceTools: (e, t) => DLe(e, t),
+ wireFeedRow: (e) => X8(e),
+ feedRowHtml: Y8,
+ receipt: (e, t) => x8.actionReceipt(e, t),
+ failure: (e, t) => x8.actionFailure(e, t),
+ aliasForm: (e, t) => ILe(e, t),
+ sourceToolsHtml: (e) => PLe(e),
+ wireSourceTools: (e, t) => FLe(e, t),
comboItems: (e) => P7(e),
- sortKeys: (e, t, n) => a5(e, t, n)
+ sortKeys: (e, t, n) => i5(e, t, n)
}, Y.entityFollowActions = {
...$.followFeedActions,
route: () => {},
@@ -80574,11 +80652,11 @@ function ALe() {
<button type="button" data-sync="${e}" title="核对该目录:磁盘上已删除的移入 Peach 回收站,带个人记录的标为已消失"
aria-label="同步删除">${R("folder-sync")}</button>`;
}
-function jLe() {
- Y.application = pLe({
+function zLe() {
+ Y.application = xLe({
controller: {
context: () => {
- let e = i5();
+ let e = r5();
return e.type === "entity" ? e : null;
},
live: (e, t) => Y.entityPageLive(e, t),
@@ -80590,22 +80668,22 @@ function jLe() {
filters: U
} }),
releaseBodyPreviews: () => Nl(L("#index [data-entity-body]")),
- push: r5,
+ push: n5,
state: () => ({
seed: String(U.seed || ""),
jav: U.jav === "1"
}),
preferences: () => ({
revision: Y.entityPageRevision,
- feedRevision: W8.feedRevision,
- photoSize: xM(),
- photoLayout: SM(),
- photoLayouts: mM,
+ feedRevision: U8.feedRevision,
+ photoSize: _M(),
+ photoLayout: vM(),
+ photoLayouts: uM,
followImagesOnly: !!Z.appSettings.followImagesOnly,
- javLayout: _M(),
- javLayouts: fM,
+ javLayout: pM(),
+ javLayouts: cM,
states: X.VIEW_PILLS,
- peopleLayout: k5.peopleIndexLayout(),
+ peopleLayout: O5.peopleIndexLayout(),
layout: W7(),
selectMode: Ql,
selected: new Set(Xl),
@@ -80620,51 +80698,51 @@ function jLe() {
}
}),
changeFilter: x7,
- rollSeed: () => S8.rollSeed(),
+ rollSeed: () => x8.rollSeed(),
writeSeed: (e) => {
U.seed = e, Su();
},
setJavLayout: a7,
- javLayout: _M,
- setPhotoLayout: DM,
- syncPhotoWalls: c5,
- openEntity: g5,
- photoViewActive: s5,
+ javLayout: pM,
+ setPhotoLayout: CM,
+ syncPhotoWalls: s5,
+ openEntity: h5,
+ photoViewActive: o5,
recordPainted: (e, t) => {
Y.entityPageView = e, Y.entityPageWall = t;
},
- syncDensity: l5,
+ syncDensity: c5,
scheduleSticky: f7,
releasePage: () => _p(L("#index")),
- showMissing: h5,
- dropBars: O8
+ showMissing: m5,
+ dropBars: D8
},
loading: {
- shapesReady: (e, t) => W8.hasEntityShape(e, t),
- waitShapes: I5,
- paintSkeleton: p5,
+ shapesReady: (e, t) => U8.hasEntityShape(e, t),
+ waitShapes: F5,
+ paintSkeleton: f5,
resetView: () => {
W({ detailReturnBarsContext: null }), Y.entityPageView = "", Y.entityPageWall = !1;
},
- loadShapes: K8,
- syncParts: m5
+ loadShapes: G8,
+ syncParts: p5
},
photos: {
preferences: () => ({
- size: xM(),
- layout: SM(),
+ size: _M(),
+ layout: vM(),
imagesOnly: !!Z.appSettings.followImagesOnly
}),
walls: () => document.querySelectorAll(".followphotowall"),
- pushEntity: r5,
+ pushEntity: n5,
pushFollow: S9,
- syncDensity: l5,
- storeSize: Ole
+ syncDensity: c5,
+ storeSize: Mle
},
helpers: Y.entityPageHelpers,
actions: {
toggleTag: N7,
- openFollowAuthor: M5,
+ openFollowAuthor: j5,
javContext: (e) => W({ entityJavLayout: !!e })
},
sortPreference: () => ({
@@ -80674,8 +80752,8 @@ function jLe() {
}), Y.photos = Y.application.photos, Y.entityPageHelpers = Y.application.helpers;
}
// src/application/playlists.js
-var _5 = { playlistWrite: void 0 };
-function MLe(e, t) {
+var g5 = { playlistWrite: void 0 };
+function BLe(e, t) {
e === "tag" ? (W({ state: {
...U,
tag: t,
@@ -80685,17 +80763,17 @@ function MLe(e, t) {
q: "",
state: "",
orient: ""
- } }), X.clearSearchField(), Q.route(m7()), V5(), j7()) : g5(e, t);
+ } }), X.clearSearchField(), Q.route(m7()), B5(), j7()) : h5(e, t);
}
-function v5(e = "") {
+function _5(e = "") {
return `<label class="modalfield"><span>名称</span><input class="geist-input" name="name"
maxlength="80" placeholder="输入名称" value="${z(e)}"></label>`;
}
-async function NLe({ title: e, count: t, save: n }) {
+async function VLe({ title: e, count: t, save: n }) {
let r = sl({
title: "保存为播放列表",
description: `这个 Mix 的 ${t} 个视频会存成一份可以继续播放的列表。`,
- body: v5(e),
+ body: _5(e),
confirmLabel: "保存为播放列表",
onConfirm: () => {
let e = r.dialog.querySelector("[name=\"name\"]").value.trim();
@@ -80705,28 +80783,28 @@ async function NLe({ title: e, count: t, save: n }) {
});
r.dialog.querySelector("[name=\"name\"]").select();
let { confirmed: i, result: a } = await r.done;
- i && (await a9(a.id, a.current_asset_id, !0), S8.actionReceipt("已保存为播放列表", { undo: async () => {
- await _5.playlistWrite({
+ i && (await a9(a.id, a.current_asset_id, !0), x8.actionReceipt("已保存为播放列表", { undo: async () => {
+ await g5.playlistWrite({
action: "delete",
id: a.id
}), _9("/playlists");
} }));
}
-async function PLe(e) {
+async function HLe(e) {
let t = ((await Tn("/api/playlists")).items || []).map((e) => `<label class="pickrow">${Gs(`data-pick-playlist="${e.id}"`)}
<span class="pickrowtext"><b>${z(e.name)}</b><small>${e.item_count} 个视频</small></span></label>`).join(""), n = sl({
title: "加入播放列表",
description: "勾选要加入的列表,或者填个名称新建一份。",
- body: v5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : zs("还没有播放列表,填个名称就能新建一份。", { size: "small" })),
+ body: _5() + (t ? `<div class="picklist" role="group" aria-label="已有播放列表">${t}</div>` : zs("还没有播放列表,填个名称就能新建一份。", { size: "small" })),
confirmLabel: "保存",
confirmDisabled: !0,
onConfirm: async () => {
- let t = n.dialog.querySelector("[name=\"name\"]").value.trim(), r = [...n.dialog.querySelectorAll("[data-pick-playlist]:checked")].map((e) => +e.dataset.pickPlaylist), i = t ? (await _5.playlistWrite({
+ let t = n.dialog.querySelector("[name=\"name\"]").value.trim(), r = [...n.dialog.querySelectorAll("[data-pick-playlist]:checked")].map((e) => +e.dataset.pickPlaylist), i = t ? (await g5.playlistWrite({
action: "create",
name: t,
asset_ids: [e.id]
})).playlist : null;
- for (let t of r) await _5.playlistWrite({
+ for (let t of r) await g5.playlistWrite({
action: "add",
id: t,
asset_ids: [e.id]
@@ -80740,46 +80818,46 @@ async function PLe(e) {
let e = n.dialog.querySelector("[name=\"name\"]").value.trim();
n.confirmButton.disabled = !e && !n.dialog.querySelector("[data-pick-playlist]:checked");
};
- R8.listen(n.dialog, "input", r), R8.listen(n.dialog, "change", r);
+ L8.listen(n.dialog, "input", r), L8.listen(n.dialog, "change", r);
let { confirmed: i, result: a } = await n.done;
if (!i) return;
let o = +!!a.created + a.added.length;
- S8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {
- for (let t of a.added) await _5.playlistWrite({
+ x8.actionReceipt(`已加入 ${o} 个播放列表`, { undo: async () => {
+ for (let t of a.added) await g5.playlistWrite({
action: "remove",
id: t,
asset_id: e.id
});
- a.created && await _5.playlistWrite({
+ a.created && await g5.playlistWrite({
action: "delete",
id: a.created.id
});
} });
}
-function y5() {
- Nl(), r9(!1), B5();
+function v5() {
+ Nl(), r9(!1), z5();
let e = lp(L("#stats"));
- e?.path !== "/playlists" || !e.host.isConnected ? W({ pageOpens: pu + 1 }) : (z5({ manage: !1 }), W({ playlistsRevision: yu + 1 }));
+ e?.path !== "/playlists" || !e.host.isConnected ? W({ pageOpens: pu + 1 }) : (R5({ manage: !1 }), W({ playlistsRevision: yu + 1 }));
}
-function FLe(e) {
+function ULe(e) {
let t = new URLSearchParams(location.search);
for (let n of ["category", "queue"]) e[n] ? t.set(n, e[n]) : t.delete(n);
Q.route("/review" + (t.size ? "?" + t : ""));
}
-function b5(e) {
+function y5(e) {
W({ configurationRequestedSection: e }), Q.navigatePath(Pf(e));
}
-function ILe() {
- _5.playlistWrite = (e) => Tn("/api/playlist", {
+function WLe() {
+ g5.playlistWrite = (e) => Tn("/api/playlist", {
method: "POST",
body: JSON.stringify(e)
});
}
// src/react/catalog-grid/selection-controller.ts
-function x5(e) {
+function b5(e) {
return e === "/follow" ? "follow" : e === "/junk-files" ? "junk" : "catalog";
}
-function S5(e, t, n, r, i = !1) {
+function x5(e, t, n, r, i = !1) {
return i && (e.selected.clear(), e.followSelected.clear()), {
selectMode: r,
selectSurface: r ? t.selectMode ? t.selectSurface : n : "",
@@ -80787,23 +80865,23 @@ function S5(e, t, n, r, i = !1) {
followLastSelectedId: i ? null : t.followLastSelectedId
};
}
-function C5(e, t, n, r, i, a = !1) {
- let o = n === "follow", s = wY(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);
+function S5(e, t, n, r, i, a = !1) {
+ let o = n === "follow", s = CY(o ? e.followSelected : e.selected, r, o ? t.followLastSelectedId : t.lastSelectedId, i, a);
return {
- ...S5(e, t, n, !0),
+ ...x5(e, t, n, !0),
...o ? { followLastSelectedId: s } : { lastSelectedId: s }
};
}
-function LLe(e, t, n, r) {
- let i = x5(t);
+function GLe(e, t, n, r) {
+ let i = b5(t);
return {
count: (i === "follow" ? e.followSelected : e.selected).size,
context: i === "catalog" && r === "trash" ? "trash" : i,
- junkDismissed: zU(n).view === "dismissed"
+ junkDismissed: RU(n).view === "dismissed"
};
}
// src/application/selection.js
-var w5 = {
+var C5 = {
batchDockProps: void 0,
trashCount: void 0,
currentSelectSurface: void 0,
@@ -80811,43 +80889,43 @@ var w5 = {
BATCH_RUNNERS: void 0,
coverRecheck: void 0
};
-function T5() {
+function w5() {
H7({
selected: new Set(Xl),
selectMode: Ql
- }), r5({
+ }), n5({
selected: new Set(Xl),
selectMode: Ql
}), S9({
selected: new Set(Zl),
selectMode: Ql
- }), w5.batchDockProps = qLe(), y8() && (y8().render(w5.batchDockProps), Z.syncGlassOptics());
+ }), C5.batchDockProps = tRe(), v8() && (v8().render(C5.batchDockProps), Z.syncGlassOptics());
}
-function E5(e, t = !1) {
- W(S5({
+function T5(e, t = !1) {
+ W(x5({
selected: Xl,
followSelected: Zl
- }, O5(), x5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Ql), Ql && Nl(), L("#selectMode").setAttribute("aria-pressed", String(Ql)), T5();
+ }, D5(), b5(location.pathname), !!e, t)), document.body.classList.toggle("select-mode", Ql), Ql && Nl(), L("#selectMode").setAttribute("aria-pressed", String(Ql)), w5();
}
-function RLe() {
- return [...N5.gridCards()].map((e) => +e.dataset.id);
+function KLe() {
+ return [...M5.gridCards()].map((e) => +e.dataset.id);
}
-function D5(e, t = !1) {
- W(C5({
+function E5(e, t = !1) {
+ W(S5({
selected: Xl,
followSelected: Zl
- }, O5(), x5(location.pathname), RLe(), e, t)), E5(!0);
+ }, D5(), b5(location.pathname), KLe(), e, t)), T5(!0);
}
-function zLe() {
+function qLe() {
return [...document.querySelectorAll("[data-follow-list] > [data-follow-item]")].map((e) => +e.dataset.followItem);
}
-function BLe(e, t = !1) {
- W(C5({
+function JLe(e, t = !1) {
+ W(S5({
selected: Xl,
followSelected: Zl
- }, O5(), "follow", zLe(), e, t)), E5(!0);
+ }, D5(), "follow", qLe(), e, t)), T5(!0);
}
-async function VLe(e, t) {
+async function YLe(e, t) {
let n = {
like: "喜欢",
seen: "标为看过",
@@ -80879,9 +80957,9 @@ async function VLe(e, t) {
})
});
if (t.blocked && t.blocked.length) throw Error(`已永久删除 ${t.purged} 项;${t.blocked.length} 项未能删除,仍在回收站:\n` + t.blocked.slice(0, 5).map((e) => `${e.path}(${e.reason})`).join("\n"));
- E5(!1, !0), await s7();
+ T5(!1, !0), await s7();
let r = e === "dispose" ? "restore" : e === "restore" ? "dispose" : null;
- S8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {
+ x8.actionReceipt(`已${n[e]} ${i.length} 项`, { undo: r ? async () => {
if (r === "dispose" && t.restored_reasons) for (let e of [
null,
"manual",
@@ -80911,18 +80989,18 @@ async function VLe(e, t) {
} catch (e) {
throw Xc(t, !1), e;
} finally {
- Xc(t, !1), T5();
+ Xc(t, !1), w5();
}
}
});
}
-async function HLe() {
+async function XLe() {
let e = [...Xl];
if (!e.length) return;
let t = sl({
title: "判定产地",
description: `选中的 ${e.length} 项归为同一个产地。判定之后,刮削和自动推断不再改写产地。`,
- body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + w5.REGION_CHOICES.map(([e, t]) => `<button type="button" class="chip" aria-pressed="false" data-region-pick="${e}">
+ body: "<div class=\"chips\" role=\"group\" aria-label=\"产地\">" + C5.REGION_CHOICES.map(([e, t]) => `<button type="button" class="chip" aria-pressed="false" data-region-pick="${e}">
<span class="chip-label">${t}</span></button>`).join("") + "</div>",
confirmLabel: "判定产地",
confirmDisabled: !0,
@@ -80942,13 +81020,13 @@ async function HLe() {
};
}
});
- t.dialog.querySelectorAll("[data-region-pick]").forEach((e) => R8.handler(e, "onclick", () => {
+ t.dialog.querySelectorAll("[data-region-pick]").forEach((e) => L8.handler(e, "onclick", () => {
t.dialog.querySelectorAll("[data-region-pick]").forEach((t) => t.setAttribute("aria-pressed", String(t === e))), t.confirmButton.disabled = !1;
}));
let { confirmed: n, result: r } = await t.done;
- n && (E5(!1, !0), await s7(), S8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));
+ n && (T5(!1, !0), await s7(), x8.actionReceipt(r.region === "none" ? `已撤回 ${e.length} 项的产地判定` : `已判为${r.label}:${e.length} 项`));
}
-async function ULe(e, t) {
+async function ZLe(e, t) {
let n = [...Zl];
if (!n.length) return;
let r = {
@@ -80974,16 +81052,16 @@ async function ULe(e, t) {
items: n,
to: e
})
- }), E5(!1, !0), location.pathname === "/follow" && W({ pageOpens: pu + 1 }), S8.actionReceipt(`已${r[e]} ${n.length} 项`);
+ }), T5(!1, !0), location.pathname === "/follow" && W({ pageOpens: pu + 1 }), x8.actionReceipt(`已${r[e]} ${n.length} 项`);
} catch (e) {
throw Xc(t, !1), e;
} finally {
- Xc(t, !1), T5();
+ Xc(t, !1), w5();
}
}
});
}
-async function WLe(e, t) {
+async function QLe(e, t) {
let n = [...Xl];
if (!n.length) return;
let r = {
@@ -81010,9 +81088,9 @@ async function WLe(e, t) {
operation: e,
...e === "dispose" ? { disposal_reason: "junk" } : {}
})
- }), E5(!1, !0), await I7();
+ }), T5(!1, !0), await I7();
let t = e === "dispose" ? "restore" : e === "dismiss-junk" ? "reconsider-junk" : e === "reconsider-junk" ? "dismiss-junk" : null;
- S8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {
+ x8.actionReceipt(`已批量${r[e]}:${n.length} 项`, { undo: t ? async () => {
await Tn("/api/batch", {
method: "POST",
body: JSON.stringify({
@@ -81024,54 +81102,54 @@ async function WLe(e, t) {
} catch (e) {
throw Xc(t, !1), e;
} finally {
- Xc(t, !1), T5();
+ Xc(t, !1), w5();
}
}
});
}
-function GLe() {
- BIe({
+function $Le() {
+ JIe({
root: L("[data-batch-dock]"),
run: (e, t, n) => {
- w5.BATCH_RUNNERS[e]?.(t, n);
+ C5.BATCH_RUNNERS[e]?.(t, n);
}
}).then((e) => {
- e.render(w5.batchDockProps), Z.syncGlassOptics();
+ e.render(C5.batchDockProps), Z.syncGlassOptics();
}).catch(() => {});
}
-function KLe() {
- w5.batchDockProps = {
+function eRe() {
+ C5.batchDockProps = {
count: 0,
context: "catalog",
junkDismissed: !1
- }, w5.trashCount = null, w5.currentSelectSurface = () => x5(location.pathname), R8.handler(L("#selectMode"), "onclick", () => E5(!Ql, !!Ql)), w5.REGION_CHOICES = [
+ }, C5.trashCount = null, C5.currentSelectSurface = () => b5(location.pathname), L8.handler(L("#selectMode"), "onclick", () => T5(!Ql, !!Ql)), C5.REGION_CHOICES = [
["jp", "日本"],
["kr", "韩国"],
["cn", "国产"],
["west", "欧美"],
["other", "其他"],
["none", "撤回判定"]
- ], w5.BATCH_RUNNERS = {
- batch: VLe,
- region: HLe,
- follow: ULe,
- junk: WLe,
- clear: () => E5(!1, !0)
- }, R8.handler(L("#density"), "onclick", () => {
- s5() ? wLe(xM() === "big" ? "small" : "big") : kle();
- }), PM(), jl({
+ ], C5.BATCH_RUNNERS = {
+ batch: YLe,
+ region: XLe,
+ follow: ZLe,
+ junk: QLe,
+ clear: () => T5(!1, !0)
+ }, L8.handler(L("#density"), "onclick", () => {
+ o5() ? MLe(_M() === "big" ? "small" : "big") : Nle();
+ }), AM(), jl({
selecting: () => Ql,
censored: () => Z7(),
delaySeconds: () => Z.appSettings.hoverDelaySeconds
- }), R8.listen(window, "pagehide", () => Nl()), R8.listen(document, "visibilitychange", () => {
+ }), L8.listen(window, "pagehide", () => Nl()), L8.listen(document, "visibilitychange", () => {
document.hidden && Nl();
- }), Ol(), w5.coverRecheck = 0, R8.listen(window, "resize", () => {
- Tl(L("#index")), clearTimeout(w5.coverRecheck), w5.coverRecheck = R8.delay(() => L("#index").querySelectorAll("img.cover").forEach((e) => {
+ }), Ol(), C5.coverRecheck = 0, L8.listen(window, "resize", () => {
+ Tl(L("#index")), clearTimeout(C5.coverRecheck), C5.coverRecheck = L8.delay(() => L("#index").querySelectorAll("img.cover").forEach((e) => {
e.complete && gl(e);
}), 200);
}, { passive: !0 });
}
-function O5() {
+function D5() {
return {
selectMode: Ql,
selectSurface: tu,
@@ -81079,62 +81157,62 @@ function O5() {
followLastSelectedId: eu
};
}
-function qLe() {
- return LLe({
+function tRe() {
+ return GLe({
selected: Xl,
followSelected: Zl
}, location.pathname, location.search, U.state);
}
// src/application/index.js
-var k5 = {
+var O5 = {
peopleIndexLayout: void 0,
personAvatar: void 0
};
-function JLe() {
+function nRe() {
return Z.appSettings.followLayout === "table" ? "table" : "default";
}
-function YLe() {
- return IZ(location.search);
+function rRe() {
+ return FZ(location.search);
}
-function XLe(e) {
- return LZ(e);
+function iRe(e) {
+ return IZ(e);
}
-function ZLe(e) {
- Q.route(XLe(e));
+function aRe(e) {
+ Q.route(iRe(e));
}
-function QLe(e = "") {
- return RZ(location.search, e);
+function oRe(e = "") {
+ return LZ(location.search, e);
}
-function $Le(e) {
- return I8(e);
+function sRe(e) {
+ return F8(e);
}
-function A5(e) {
- return P8(e);
+function k5(e) {
+ return N8(e);
}
-function j5() {
+function A5() {
L("#stats").hidden = !0, L("#index").hidden = !1, R7(), X.hideCatalogCombo(), L("#count").textContent = "", L("#loadSentinel").hidden = !0;
}
-function eRe(e, t) {
+function cRe(e, t) {
W({ state: {
...U,
state: "",
tag: e.join(","),
tag_match: t
- } }), E5(!1, !1), Q.route(m7()), V5(), p9(), j7();
+ } }), T5(!1, !1), Q.route(m7()), B5(), p9(), j7();
}
-function M5(e) {
- k5.controller.openFollowAuthor(e);
+function j5(e) {
+ O5.controller.openFollowAuthor(e);
}
-function tRe(e) {
- k5.controller.openFollowTag(e);
+function lRe(e) {
+ O5.controller.openFollowTag(e);
}
-function nRe() {
- $.FOLLOW_MANAGE_TABS = FZ, R8.listen(document, "click", (e) => {
- e.target.closest?.("[data-empty-settings]") && b5("媒体库与入库");
- }), k5.peopleIndexLayout = () => e6(Z.appSettings.peopleLayout), k5.personAvatar = F8;
+function uRe() {
+ $.FOLLOW_MANAGE_TABS = PZ, L8.listen(document, "click", (e) => {
+ e.target.closest?.("[data-empty-settings]") && y5("媒体库与入库");
+ }), O5.peopleIndexLayout = () => $3(Z.appSettings.peopleLayout), O5.personAvatar = P8;
}
-function rRe() {
- k5.controller = rLe({
+function dRe() {
+ O5.controller = dLe({
route: Q.route,
followView: y9,
adoptFollowView: b9,
@@ -81145,7 +81223,7 @@ function rRe() {
});
}
// src/application/loading.js
-var N5 = {
+var M5 = {
setGridCards: void 0,
gridCards: void 0,
managementPlaceholder: void 0,
@@ -81154,58 +81232,58 @@ var N5 = {
ENTITY_SHAPES_WAIT: void 0,
syncPageTitle: void 0
};
-function P5(e = "正在读取作品") {
+function N5(e = "正在读取作品") {
if (location.pathname === "/wall") {
L("#loadSentinel").hidden = !0;
return;
}
let t = L("#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 = rye(zU(location.search)), pc(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && C7({
+ 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 = dye(RU(location.search)), pc(t)) : (t.removeAttribute("aria-busy"), t.removeAttribute("aria-label"), t.textContent = "", U && C7({
count: null,
...E7()
})), L("#loadSentinel").hidden = !0, V7()) return;
let r = L("#grid"), i = G7(e), a = r.querySelector(".catalog-skeleton");
- (a?.dataset.skeleton !== O2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== K7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : N5.setGridCards(i), pc(L("#grid")));
+ (a?.dataset.skeleton !== D2(i) || Number(a.querySelector("[style]")?.style.getPropertyValue("--skeleton-card-ratio")) !== K7()) && (a ? r.innerHTML = `<div class="grid">${i}</div>` : M5.setGridCards(i), pc(L("#grid")));
}
-function F5() {
+function P5() {
L("#catalogFilter").style.display = "none", S7();
}
-function I5() {
+function F5() {
let e = new Promise((e) => {
- let t = N5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {
+ let t = M5.ENTITY_SHAPES_WAIT, n = performance.now(), r = () => {
let i = performance.now();
- t -= Math.min(i - n, 50), n = i, t > 0 ? R8.delay(r, Math.min(t, 50)) : e();
+ t -= Math.min(i - n, 50), n = i, t > 0 ? L8.delay(r, Math.min(t, 50)) : e();
};
- R8.delay(r, 50);
+ L8.delay(r, 50);
});
- return Promise.race([N5.entityShapesReady ||= K8(), e]);
+ return Promise.race([M5.entityShapesReady ||= G8(), e]);
}
-function iRe() {
+function fRe() {
let e = decodeURIComponent(location.pathname);
- if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), F5(), Hye();
- else if (/^\/assets\/\d+$/.test(e)) F5();
- else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) F5();
- else if (e === "/junk-files") P5("正在读取垃圾文件");
- else if (e === "/jav" && dU(new URLSearchParams(location.search).get("tab")) === "library") P5("正在读取馆藏");
+ if (document.body.dataset.surface = location.pathname, e === "/wall") document.body.setAttribute("data-wall-open", ""), P5(), Xye();
+ else if (/^\/assets\/\d+$/.test(e)) P5();
+ else if (e === "/settings" || /^\/settings\/(appearance|playback|jav|search|content)$/.test(e) || e.startsWith("/posts/") || e.startsWith("/works/")) P5();
+ else if (e === "/junk-files") N5("正在读取垃圾文件");
+ else if (e === "/jav" && uU(new URLSearchParams(location.search).get("tab")) === "library") N5("正在读取馆藏");
else if (Q.managedPagePath(e)) {
- F5();
+ P5();
let t = L("#stats");
- t.hidden = !1, R7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : N5.managementPlaceholder(e), pc(t);
- } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) F5(), j5(), r6(L("#index"), t6(e.slice(1), location.search), k5.peopleIndexLayout());
+ t.hidden = !1, R7(), t.innerHTML = e.startsWith("/follow") && e !== "/subscriptions" ? $.followSkeletonHtml("正在读取关注内容") : M5.managementPlaceholder(e), pc(t);
+ } else if (/^\/(performers|creators|studios|agencies|tags)$/.test(e)) P5(), A5(), n6(L("#index"), e6(e.slice(1), location.search), O5.peopleIndexLayout());
else if (/^\/(?:performers|creators|studios|agencies|series|tags)\//.test(e)) {
- F5(), L("#index").hidden = !1, R7();
+ P5(), L("#index").hidden = !1, R7();
let t = Nn[e.split("/")[1]], n = e.split("/").slice(2).join("/");
- (W8.hasEntityShape(t, n) ? Promise.resolve() : I5()).then(() => {
- L("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (p5(t, n), pc(L("#index")));
+ (U8.hasEntityShape(t, n) ? Promise.resolve() : F5()).then(() => {
+ L("#index").firstElementChild || decodeURIComponent(location.pathname) !== e || (f5(t, n), pc(L("#index")));
});
- } else Q.routeMeta(e) ? P5() : (R7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);
+ } else Q.routeMeta(e) ? N5() : (R7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0);
}
-function aRe() {
- $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => E2(t, {
+function pRe() {
+ $.followContentSkeletonHtml = (e = new URLSearchParams(location.search).get("media") === "images" ? "images" : "videos", t = "正在读取关注内容") => T2(t, {
cards: !0,
className: "follow-content-skeleton postercard-skeleton",
gridClass: e === "images" ? "followlist followphotowall" : "",
- gridSize: xM()
+ gridSize: _M()
}), $.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>
@@ -81213,37 +81291,37 @@ function aRe() {
<div class="board-filter-frame" data-filter-frame>
<div class="tagbar followfilters" data-filter-row="top" data-skeleton-tier="pill"></div>
<div class="count followcount" data-filter-row="bottom"><span class="mono"><span class="countskeleton"></span></span></div></div>
- ${$.followContentSkeletonHtml(void 0, e)}</div></div>`, L("#loadSentinel").innerHTML = Hs(Vs), N5.setGridCards = (e) => ic(L("#grid"), () => {
+ ${$.followContentSkeletonHtml(void 0, e)}</div></div>`, L("#loadSentinel").innerHTML = Hs(Vs), M5.setGridCards = (e) => ic(L("#grid"), () => {
L("#grid").innerHTML = `<div class="grid">${e}</div>`;
- }), N5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), N5.managementPlaceholder = (e) => D2(e, {
- followLayout: JLe(),
+ }), M5.gridCards = () => document.querySelectorAll(":is(#grid,#index [data-entity-grid]) :is([data-media-grid] > [data-media-card][data-id],[data-catalog-row][data-id])"), M5.managementPlaceholder = (e) => E2(e, {
+ followLayout: nRe(),
...(({ sort: e, dir: t, tab: n }) => ({
followSort: e,
followDir: t,
followTab: n
- }))(YLe())
- }), N5.wantsDiscoveryBars = () => L("#catalogFilter").style.display !== "none", N5.entityShapesReady = null, N5.ENTITY_SHAPES_WAIT = 400, N5.syncPageTitle = (e) => {
+ }))(rRe())
+ }), M5.wantsDiscoveryBars = () => L("#catalogFilter").style.display !== "none", M5.entityShapesReady = null, M5.ENTITY_SHAPES_WAIT = 400, M5.syncPageTitle = (e) => {
let t = new URL(e, location.origin), n = ep(decodeURIComponent(t.pathname))?.title;
document.title = n ? `${n} · Peach` : "Peach · 蜜桃", document.body.dataset.surface = t.pathname, d9();
};
}
// src/sidebar-skeleton.ts
-var L5 = (e) => e.replace(/[&<>"']/g, (e) => ({
+var I5 = (e) => e.replace(/[&<>"']/g, (e) => ({
"&": "&amp;",
"<": "&lt;",
">": "&gt;",
"\"": "&quot;",
"'": "&#39;"
})[e]);
-function oRe(e, t, n) {
+function mRe(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-64.png\" srcset=\"/peach-logo-64.png 64w, /peach-logo-128.png 128w\" sizes=\"24px\" width=\"24\" height=\"24\" alt=\"\" decoding=\"async\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${L5(r)}"/></svg>`;
- return `<button type="button" data-nav="${L5(e)}" aria-pressed="${n(e)}" aria-label="${L5(t)}">${i}<span>${L5(t)}</span></button>`;
+ let i = e === "" ? "<img data-sidebar-home-logo=\"\" src=\"/peach-logo-64.png\" srcset=\"/peach-logo-64.png 64w, /peach-logo-128.png 128w\" sizes=\"24px\" width=\"24\" height=\"24\" alt=\"\" decoding=\"async\">" : `<svg viewBox="0 0 24 24" aria-hidden="true"><use href="#i-${I5(r)}"/></svg>`;
+ return `<button type="button" data-nav="${I5(e)}" aria-pressed="${n(e)}" aria-label="${I5(t)}">${i}<span>${I5(t)}</span></button>`;
}).join("")}</div>`;
}
// src/application/filter-scroll.js
-function sRe(e, t, n, r = !1) {
+function hRe(e, t, n, r = !1) {
if (t = Math.max(0, t), !e || !n || r || t <= 8) return {
y: t,
origin: t,
@@ -81261,7 +81339,7 @@ function sRe(e, t, n, r = !1) {
};
}
// src/application/layout.js
-var R5 = {
+var L5 = {
sidebarProps: void 0,
sidebarSurface: void 0,
sidebarCatalog: void 0,
@@ -81283,19 +81361,19 @@ var R5 = {
mobileFilterHost: void 0,
mobileFilterPath: void 0
};
-function z5({ manage: e = !0, placeholder: t = "" } = {}) {
- L("#stats").hidden = !1, L("#index").hidden = !0, R7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? Y5() : (X5(""), p9()), t && k2(L("#stats"), t);
+function R5({ manage: e = !0, placeholder: t = "" } = {}) {
+ L("#stats").hidden = !1, L("#index").hidden = !0, R7(), L("#count").textContent = "", L("#loadSentinel").hidden = !0, e ? J5() : (Y5(""), p9()), t && O2(L("#stats"), t);
}
-function B5() {
- L("#javLibraryHeader").hidden = !0, X.hideCatalogCombo(), F5(), document.body.classList.remove("entity-open", "index-open");
+function z5() {
+ L("#javLibraryHeader").hidden = !0, X.hideCatalogCombo(), P5(), document.body.classList.remove("entity-open", "index-open");
}
-function V5() {
- L("#javLibraryHeader").hidden = !jn(location.pathname) || !n7(), document.body.classList.remove("entity-open", "index-open"), _p(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, Q8(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", S7(), Y5(), Z5();
+function B5() {
+ L("#javLibraryHeader").hidden = !jn(location.pathname) || !n7(), document.body.classList.remove("entity-open", "index-open"), _p(L("#index")), L("#stats").hidden = !0, L("#index").hidden = !0, Z8(location.pathname) || (L("#feedNew").hidden = !0), L("#catalogFilter").style.display = "", S7(), J5(), Z5();
}
-function cRe() {
- Q.route("/"), V5();
+function gRe() {
+ Q.route("/"), B5();
}
-function H5({ tags: e = [], providers: t = [], duration: n = !1 }) {
+function V5({ tags: e = [], providers: t = [], duration: n = !1 }) {
f9({
content: e.length || t.length || n ? {
kind: "follow",
@@ -81319,28 +81397,28 @@ function H5({ tags: e = [], providers: t = [], duration: n = !1 }) {
filters: $.followSidebarFilters()
});
}
-function U5(e) {
- lze({
+function H5(e) {
+ gze({
...y9(),
...e
}), f9({ filters: $.followSidebarFilters() });
}
-function W5() {
+function U5() {
return matchMedia("(max-width:760px)").matches;
}
-function G5(e) {
+function W5(e) {
let t = L("#drawer"), n = !e && t.contains(document.activeElement);
- t.inert = !e && W5(), t.classList.toggle("open", e), L("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), L("#filterBtn").setAttribute("aria-expanded", String(!!e)), L("#filterBtn").setAttribute("aria-controls", "drawer"), L("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && L("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");
+ t.inert = !e && U5(), t.classList.toggle("open", e), L("#scrim").classList.toggle("on", e), document.body.classList.toggle("drawer-open", !!e), document.dispatchEvent(new Event("board:sidebar")), L("#filterBtn").setAttribute("aria-expanded", String(!!e)), L("#filterBtn").setAttribute("aria-controls", "drawer"), L("#filterBtn").setAttribute("aria-label", e ? "收起侧栏" : "展开侧栏"), n && L("#filterBtn").focus(), sessionStorage.setItem("board.sidebar", e ? "open" : "closed");
}
-function K5() {
- W5() && G5(!1);
+function G5() {
+ U5() && W5(!1);
}
-function lRe() {
+function _Re() {
du === null && (W({ runtimeConfigurable: !1 }), Tn("/healthz").then((e) => {
- W({ runtimeConfigurable: !!e.configurable }), du && J5() && Y5();
+ W({ runtimeConfigurable: !!e.configurable }), du && q5() && J5();
}).catch(() => {}));
}
-function q5(e = "", t = !1) {
+function K5(e = "", t = !1) {
if (!t && !Mf(location.pathname)) {
let t = Op.navigation;
Op.push(Pf(e), { settingsBackground: {
@@ -81353,20 +81431,20 @@ function q5(e = "", t = !1) {
replace: !0,
state: Op.navigation.location.state
});
- return e ||= Nf(location.pathname), LIe(R5.settingsHost()).then((t) => (t.open(e), t));
+ return e ||= Nf(location.pathname), GIe(L5.settingsHost()).then((t) => (t.open(e), t));
}
-function uRe() {
+function vRe() {
Mf(location.pathname) && (Ff(Op.navigation.location.state) ? Op.go(-1) : Q.navigatePath("/", !0));
}
-function dRe() {
+function yRe() {
return {
scroll: L("#drawerScroll"),
store: Z.settingsStore,
- navCatalog: R5.NAV_CATALOG,
+ navCatalog: L5.NAV_CATALOG,
navOn: l7,
navTo: u7,
navToTop: () => {
- K5(), fm();
+ G5(), fm();
},
toggleChip: (e, t, n) => x7((r) => {
if (n) {
@@ -81378,13 +81456,13 @@ function dRe() {
n.len = "", n.dur_min = e ? String(e * 60) : "", n.dur_max = t < 180 ? String(t * 60) : "";
}),
openFollowTag: (e) => {
- $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), G5(!1), _9(v9());
+ $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followFilter = "saved", $.followDurMin = $.followDurMax = 0, $.followTags = /* @__PURE__ */ new Set([e]), W5(!1), _9(v9());
},
selectFollowTag: (e) => {
- $.followTags = /* @__PURE__ */ new Set([e]), G5(!1), _9(v9());
+ $.followTags = /* @__PURE__ */ new Set([e]), W5(!1), _9(v9());
},
- selectFollowProvider: (e) => U5({ provider: $.followProviders.has(e) ? "" : e }),
- setFollowDuration: (e, t) => U5({
+ selectFollowProvider: (e) => H5({ provider: $.followProviders.has(e) ? "" : e }),
+ setFollowDuration: (e, t) => H5({
durMin: e ? e * 60 : 0,
durMax: t < 180 ? t * 60 : 0
}),
@@ -81393,74 +81471,74 @@ function dRe() {
}
};
}
-function fRe() {
+function bRe() {
let e = L("#drawerScroll"), t = [...e.querySelector("[data-sidebar-head]")?.children || []];
- e.innerHTML = oRe(Z.appSettings.sidebarOrder, R5.NAV_CATALOG, l7), e.querySelector("[data-sidebar-head]").append(...t), R8.listen(e, "click", (e) => {
- if (p8()) return;
+ e.innerHTML = mRe(Z.appSettings.sidebarOrder, L5.NAV_CATALOG, l7), e.querySelector("[data-sidebar-head]").append(...t), L8.listen(e, "click", (e) => {
+ if (f8()) return;
let t = e.target.closest?.("[data-nav]");
t && u7(t.dataset.nav);
- }), RIe(dRe()).then((e) => e.render(R5.sidebarProps)).catch(() => {});
+ }), KIe(yRe()).then((e) => e.render(L5.sidebarProps)).catch(() => {});
}
-async function pRe() {
- let e = R8, t = null;
+async function xRe() {
+ let e = L8, t = null;
try {
t = await Tn("/api/settings", { signal: e.signal });
} catch {
return;
}
- e.isActive && sM(t, (e) => Z.settingsEffects[e]?.());
+ e.isActive && rM(t, (e) => Z.settingsEffects[e]?.());
}
-function J5() {
+function q5() {
return Q.routeMeta(decodeURIComponent(location.pathname))?.route.section || (U.state === "ads" ? "cleanup" : "");
}
-function Y5() {
- let e = J5();
- lRe(), e && F5(), L("#count").classList.toggle("no-tagbar", !!e), p9(), e !== "trash" && (w5.trashCount = null), X5(e);
+function J5() {
+ let e = q5();
+ _Re(), e && P5(), L("#count").classList.toggle("no-tagbar", !!e), p9(), e !== "trash" && (C5.trashCount = null), Y5(e);
}
-function mRe(e) {
+function SRe(e) {
return {
section: e,
path: decodeURIComponent(location.pathname),
- sections: R5.MANAGE_SECTIONS,
- menu: e ? R5.manageMenuSections() : [],
- trash: w5.trashCount
+ sections: L5.MANAGE_SECTIONS,
+ menu: e ? L5.manageMenuSections() : [],
+ trash: C5.trashCount
};
}
-function X5(e = J5()) {
+function Y5(e = q5()) {
Z5();
- let t = mRe(e), n = g8();
+ let t = SRe(e), n = h8();
if (n) n.render(t);
else {
- let e = Lde(t);
- e !== R5.manageHeaderSkeleton && (R5.manageHeaderSkeleton = e, R5.manageHeaderRoot().innerHTML = e);
+ let e = Wde(t);
+ e !== L5.manageHeaderSkeleton && (L5.manageHeaderSkeleton = e, L5.manageHeaderRoot().innerHTML = e);
}
let r = BF(t)?.title || "";
- r !== R5.lastManagePageLabel && (R5.lastManagePageLabel = r, r && tc(R5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));
+ r !== L5.lastManagePageLabel && (L5.lastManagePageLabel = r, r && tc(L5.manageHeaderRoot(), "[data-manage-title],[data-manage-lede]"));
}
-function hRe() {
- let e = R5.manageHeaderRoot();
- R8.listen(e, "click", (e) => {
- if (g8()) return;
+function X5() {
+ let e = L5.manageHeaderRoot();
+ L8.listen(e, "click", (e) => {
+ if (h8()) return;
let t = e.target.closest?.("[data-manage]");
if (t) t7(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(), Q.navigatePath("/data-cleanup");
} else e.target.closest?.("[data-empty-trash]") && M7();
- }), zIe({
+ }), qIe({
root: e,
openManage: t7,
openDataCleanup: () => Q.navigatePath("/data-cleanup"),
emptyTrash: M7
- }).then(() => X5()).catch(() => {});
+ }).then(() => Y5()).catch(() => {});
}
function Z5() {
let e = L("#listTitle");
if (!e) return;
- let t = decodeURIComponent(location.pathname), n = !J5() && jn(t) && An[U.state] || "";
+ let t = decodeURIComponent(location.pathname), n = !q5() && jn(t) && An[U.state] || "";
e.hidden = !n, n && (e.textContent = n);
let r = L("#catalogPageHeading");
- r.hidden = !!J5() || !jn(t) || !!n || U.jav === "1", Q5(r, U.q);
+ r.hidden = !!q5() || !jn(t) || !!n || U.jav === "1", Q5(r, U.q);
}
function Q5(e, t) {
let n = e?.querySelector("[data-page-title]");
@@ -81492,42 +81570,42 @@ function e7(e) {
}
function t7(e = "stats") {
let t = Q.routePathOf("section", e);
- t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", Su(), Q.route(BU()), V5(), p9(), j7());
+ t ? Q.openRoutePath(t) : (U.orient = "", U.state = "ads", Su(), Q.route(zU()), B5(), p9(), j7());
}
function n7() {
let e = decodeURIComponent(location.pathname);
return e === "/" ? U.jav === "1" : e.startsWith("/performers/") || e.startsWith("/studios/") ? U.jav === "1" || hu : !1;
}
-function gRe(e = n7()) {
- let t = Mj.filter(([e]) => e !== "seed");
- return e ? [Nj, ...t] : t;
+function CRe(e = n7()) {
+ let t = Oj.filter(([e]) => e !== "seed");
+ return e ? [kj, ...t] : t;
}
function r7() {
return decodeURIComponent(location.pathname) === "/" && U.jav !== "1";
}
function i7() {
- return vM(r7());
+ return mM(r7());
}
-function _Re(e) {
- Ele(e), o7(), L("#grid").hidden || q7();
+function wRe(e) {
+ Ale(e), o7(), L("#grid").hidden || q7();
}
function a7(e) {
- EM(e), o7(), q7();
+ SM(e), o7(), q7();
}
function o7() {
document.querySelectorAll("[data-video-layout]").forEach((e) => {
e.checked = e.value === i7();
}), X.catalogFilterProps && C7({ layout: T7() });
}
-function vRe(e) {
- Dle(e), o7(), q7();
+function TRe(e) {
+ jle(e), o7(), q7();
}
async function s7() {
- O8(), X.mixRelatedCache.clear(), await Promise.all([c7(), j7()]);
+ D8(), X.mixRelatedCache.clear(), await Promise.all([c7(), j7()]);
}
async function c7() {
if (Y.entityPageCurrent() && !L("#index").hidden) {
- r5({ revision: ++Y.entityPageRevision });
+ n5({ revision: ++Y.entityPageRevision });
return;
}
let e = decodeURIComponent(location.pathname);
@@ -81539,23 +81617,23 @@ async function c7() {
t?.route.reload ? await t.route.reload() : await I7();
}
function l7(e) {
- let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = R5.DIRECT_MANAGE_NAV[e];
- if (r) return J5() === r;
+ let t = decodeURIComponent(location.pathname), n = Q.routeMeta(t)?.route.nav || "", r = L5.DIRECT_MANAGE_NAV[e];
+ if (r) return q5() === r;
if (e === "manage") {
- let e = J5();
- return !!e && !Z.appSettings.sidebarOrder.some((t) => R5.DIRECT_MANAGE_NAV[t] === e);
+ let e = q5();
+ return !!e && !Z.appSettings.sidebarOrder.some((t) => L5.DIRECT_MANAGE_NAV[t] === e);
}
- return e === "jav" ? t === "/jav" || n7() : e === "shorts" ? U.orient === "竖屏" : e === "" ? t === "/" && !J5() && !U.state && !n7() && U.orient !== "竖屏" : On[e] ? n === e && U.orient !== "竖屏" : n ? n === e : t === "/" && U.state === e && U.orient !== "竖屏";
+ return e === "jav" ? t === "/jav" || n7() : e === "shorts" ? U.orient === "竖屏" : e === "" ? t === "/" && !q5() && !U.state && !n7() && U.orient !== "竖屏" : On[e] ? n === e && U.orient !== "竖屏" : n ? n === e : t === "/" && U.state === e && U.orient !== "竖屏";
}
function u7(e) {
let t = om(e);
if (t === location.pathname + location.search + location.hash) return;
- if (K5(), t) {
+ if (G5(), t) {
Q.navigatePath(t);
return;
}
- if (R5.DIRECT_MANAGE_NAV[e]) {
- t7(R5.DIRECT_MANAGE_NAV[e]);
+ if (L5.DIRECT_MANAGE_NAV[e]) {
+ t7(L5.DIRECT_MANAGE_NAV[e]);
return;
}
if (e === "manage") {
@@ -81575,17 +81653,17 @@ function u7(e) {
}
function d7() {
let e = decodeURIComponent(location.pathname), t = e.split("/").filter(Boolean);
- Ql && tu !== w5.currentSelectSurface() && E5(!1, !0);
+ Ql && tu !== C5.currentSelectSurface() && T5(!1, !0);
let n = t.length > 1 && Object.prototype.hasOwnProperty.call(Nn, t[0]), r = jn(e) || e === "/trash", i = r || n || e === "/tags" || e === "/follow", a = r || n || e === "/follow";
- L("#selectMode").hidden = !i, L("#density").hidden = !a, c5(), !i && Ql && E5(!1, !0);
+ L("#selectMode").hidden = !i, L("#density").hidden = !a, s5(), !i && Ql && T5(!1, !0);
}
-function yRe() {
+function ERe() {
let e = [...document.querySelectorAll("[data-filter-frame]")], t = e.find((e) => e.offsetParent !== null);
- (t !== R5.mobileFilterHost || location.pathname !== R5.mobileFilterPath) && (R5.mobileFilterScroll = null), R5.mobileFilterHost = t, R5.mobileFilterPath = location.pathname;
+ (t !== L5.mobileFilterHost || location.pathname !== L5.mobileFilterPath) && (L5.mobileFilterScroll = null), L5.mobileFilterHost = t, L5.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\"]");
- R5.mobileFilterScroll = sRe(R5.mobileFilterScroll, n, innerWidth <= 760, r);
+ L5.mobileFilterScroll = hRe(L5.mobileFilterScroll, n, innerWidth <= 760, r);
for (let n of e) {
- let e = n === t && R5.mobileFilterScroll.free;
+ let e = n === t && L5.mobileFilterScroll.free;
if (e && n.style.setProperty("--filter-free-top", `${-n.offsetHeight - 12}px`), e === n.hasAttribute("data-filter-free")) continue;
let r = n.getBoundingClientRect().top;
n.getAnimations().forEach((e) => e.id === "filter-slide" && e.cancel()), n.toggleAttribute("data-filter-free", e);
@@ -81597,52 +81675,52 @@ function yRe() {
});
}
}
-function bRe() {
- yRe(), [".board-filter-frame", "#count"].forEach((e) => {
+function DRe() {
+ ERe(), [".board-filter-frame", "#count"].forEach((e) => {
let t = L(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 f7() {
- R5.stickyFrame ||= R8.frame(() => {
- R5.stickyFrame = 0, bRe();
+ L5.stickyFrame ||= L8.frame(() => {
+ L5.stickyFrame = 0, DRe();
});
}
-function xRe() {
+function ORe() {
$.followSidebarFilters = () => ({
provider: [...$.followProviders][0] || "",
dur_min: $.followDurMin || "",
dur_max: $.followDurMax || ""
- }), R8.handler(L("#filterBtn"), "onclick", () => G5(!L("#drawer").classList.contains("open"))), R5.SIDEBAR_ITEMS = k8, R5.MANAGE_SECTIONS = A8, R5.MANAGE_MENU_SECTIONS = j8, R5.manageMenuSections = () => eLe(du === !0), R5.OPTIONAL_SIDEBAR_ITEMS = M8, R5.NAV_CATALOG = tLe, R5.DIRECT_MANAGE_NAV = nLe, R5.settingsHost = () => ({
+ }), L8.handler(L("#filterBtn"), "onclick", () => W5(!L("#drawer").classList.contains("open"))), L5.SIDEBAR_ITEMS = O8, L5.MANAGE_SECTIONS = k8, L5.MANAGE_MENU_SECTIONS = A8, L5.manageMenuSections = () => cLe(du === !0), L5.OPTIONAL_SIDEBAR_ITEMS = j8, L5.NAV_CATALOG = lLe, L5.DIRECT_MANAGE_NAV = uLe, L5.settingsHost = () => ({
selectSection: (e) => kp(Pf(e), {
replace: !0,
state: Op.navigation.location.state
}),
- closed: uRe,
+ closed: vRe,
store: Z.settingsStore,
changed: (e) => Z.settingsEffects[e]?.(),
sound: (e) => Qo(e),
- navCatalog: R5.NAV_CATALOG,
- themeOptions: xle,
- videoLayouts: fM,
- followInitialRanges: N8,
+ navCatalog: L5.NAV_CATALOG,
+ themeOptions: Tle,
+ videoLayouts: cM,
+ followInitialRanges: M8,
videoLayout: () => i7(),
- setVideoLayout: vRe,
+ setVideoLayout: TRe,
censored: Z7,
- setCensored: HRe,
+ setCensored: YRe,
highContrast: () => document.documentElement.classList.contains("board-high-contrast"),
- setHighContrast: URe,
- receipt: (e) => S8.actionReceipt(e),
- failure: S8.actionFailure,
- syncRemote: (e) => sM(e, (e) => Z.settingsEffects[e]?.()),
+ setHighContrast: XRe,
+ receipt: (e) => x8.actionReceipt(e),
+ failure: x8.actionFailure,
+ syncRemote: (e) => rM(e, (e) => Z.settingsEffects[e]?.()),
openConfiguration: () => Q.navigatePath("/settings/library"),
attached: () => Z.syncGlassOptics(),
configurable: () => Tn("/healthz").then((e) => (W({ runtimeConfigurable: !!e.configurable }), du)).catch(() => null)
- }), R8.handler(L("#settingsBtn"), "onclick", () => void q5()), R5.lastManagePageLabel = "", R5.manageHeaderSkeleton = "", R5.manageHeaderRoot = () => L("[data-manage-header]"), window.__scrolling = !1, R5.scrollT = null, R5.stickyFrame = 0, R5.mobileFilterScroll = null, R5.mobileFilterHost = null, R5.mobileFilterPath = "", R8.listen(document, "focusin", f7), R8.listen(document, "focusout", f7), R8.listen(window, "scroll", () => {
- f7(), location.pathname === "/follow" && x9() && W({ followScrollY: scrollY }), window.__scrolling = !0, Nl(), clearTimeout(R5.scrollT), R5.scrollT = R8.delay(() => {
+ }), L8.handler(L("#settingsBtn"), "onclick", () => void K5()), L5.lastManagePageLabel = "", L5.manageHeaderSkeleton = "", L5.manageHeaderRoot = () => L("[data-manage-header]"), window.__scrolling = !1, L5.scrollT = null, L5.stickyFrame = 0, L5.mobileFilterScroll = null, L5.mobileFilterHost = null, L5.mobileFilterPath = "", L8.listen(document, "focusin", f7), L8.listen(document, "focusout", f7), L8.listen(window, "scroll", () => {
+ f7(), location.pathname === "/follow" && x9() && W({ followScrollY: scrollY }), window.__scrolling = !0, Nl(), clearTimeout(L5.scrollT), L5.scrollT = L8.delay(() => {
window.__scrolling = !1;
}, 180);
- }, { passive: !0 }), R8.listen(window, "resize", f7, { passive: !0 }), R8.handler(L("#scrim"), "onclick", () => G5(!1));
+ }, { passive: !0 }), L8.listen(window, "resize", f7, { passive: !0 }), L8.handler(L("#scrim"), "onclick", () => W5(!1));
}
// src/application/catalog.js
var X = {
@@ -81681,43 +81759,43 @@ var X = {
junkQueueHelpers: void 0,
junkQueueActions: void 0
};
-function SRe() {
+function kRe() {
X.initialParams.has("loc") || (U.loc = p7(U.loc), Su());
}
function p7(e) {
- return GIe(e, Z.sourceOnline);
+ return $Ie(e, Z.sourceOnline);
}
function m7(e = U) {
- return KIe(e);
+ return eLe(e);
}
-function CRe() {
- W(w8(qIe(U, Z.appSettings, S8.rollSeed)));
+function ARe() {
+ W(C8(tLe(U, Z.appSettings, x8.rollSeed)));
}
function h7(e = null) {
- CRe(), e && (Object.assign(U, e), Su()), Q.route(e ? m7() : "/"), X.clearSearchField(), r9(!1), p9(), j7();
+ ARe(), e && (Object.assign(U, e), Su()), Q.route(e ? m7() : "/"), X.clearSearchField(), r9(!1), p9(), j7();
}
-function wRe(e, t = null) {
+function jRe(e, t = null) {
let n = e.id;
- !e.medium || e.medium === "video" ? s9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : D5(n);
+ !e.medium || e.medium === "video" ? s9(n, !0, null, t) : e.medium === "image" && e.location !== "online" ? window.open("/photo?id=" + n, "_blank", "noopener") : E5(n);
}
function g7(e) {
return X.mixRelatedCache.has(e) || X.mixRelatedCache.set(e, Tn("/api/related?id=" + e + "&limit=28").then((t) => (t.items || []).filter((t) => t.id !== e)).catch((t) => {
throw X.mixRelatedCache.delete(e), t;
})), X.mixRelatedCache.get(e);
}
-function TRe(e, t) {
- i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : _7(e, t);
+function MRe(e, t) {
+ r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : _7(e, t);
}
function _7(e, t) {
- e.edition_group ? XRe(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? ZRe(e.part_group.seed_id, e.id, !0, t) : s9(e.id, !0, null, t);
+ e.edition_group ? rze(e.edition_group.seed_id, e.id, !0, t) : e.part_group ? ize(e.part_group.seed_id, e.id, !0, t) : s9(e.id, !0, null, t);
}
-async function ERe(e, t) {
+async function NRe(e, t) {
try {
let n = await Tn("/api/watch-later", {
method: "POST",
body: JSON.stringify({ id: e.id })
});
- e.watch_later = n.watch_later, t(!!n.watch_later), S8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
+ e.watch_later = n.watch_later, t(!!n.watch_later), x8.actionReceipt(n.watch_later ? "已加入稍后看" : "已移出稍后看", { undo: async () => {
let n = await Tn("/api/watch-later", {
method: "POST",
body: JSON.stringify({ id: e.id })
@@ -81725,10 +81803,10 @@ async function ERe(e, t) {
e.watch_later = n.watch_later, t(!!n.watch_later);
} });
} catch (e) {
- S8.actionFailure("更新稍后看", e);
+ x8.actionFailure("更新稍后看", e);
}
}
-async function DRe(e, t) {
+async function PRe(e, t) {
try {
await Tn("/api/batch", {
method: "POST",
@@ -81738,7 +81816,7 @@ async function DRe(e, t) {
})
}), await I7();
let n = t === "restore" ? "dispose" : "restore";
- S8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {
+ x8.actionReceipt(t === "restore" ? "已还原" : "已移入回收站", { undo: async () => {
await Tn("/api/batch", {
method: "POST",
body: JSON.stringify({
@@ -81749,11 +81827,11 @@ async function DRe(e, t) {
}), await I7();
} });
} catch (e) {
- throw S8.actionFailure("操作", e), e;
+ throw x8.actionFailure("操作", e), e;
}
}
-async function ORe(e, t, n, r) {
- let i = Number(e.rating) || 0, a = vP(i, t), o = async (t, r) => {
+async function FRe(e, t, n, r) {
+ let i = Number(e.rating) || 0, a = gP(i, t), o = async (t, r) => {
let i = (await Tn("/api/feedback", {
method: "POST",
body: JSON.stringify({
@@ -81767,9 +81845,9 @@ async function ORe(e, t, n, r) {
};
try {
let e = await o(a, r);
- S8.actionReceipt(e ? `已评 ${_P(e)} 星` : "已取消评分", { undo: () => o(i) });
+ x8.actionReceipt(e ? `已评 ${hP(e)} 星` : "已取消评分", { undo: () => o(i) });
} catch (e) {
- throw r?.aborted || S8.actionFailure("评分", e), e;
+ throw r?.aborted || x8.actionFailure("评分", e), e;
}
}
async function v7(e) {
@@ -81796,33 +81874,33 @@ async function v7(e) {
e[n] && t.set(n, e[n]);
});
}
- return QIe(t.toString(), X.topsQueryParams(e).toString());
+ return oLe(t.toString(), X.topsQueryParams(e).toString());
}
function y7(e) {
- i5().type !== "entity" && C7({ tags: D7(e) }), f9({ filters: { ...e } }), F7();
+ r5().type !== "entity" && C7({ tags: D7(e) }), f9({ filters: { ...e } }), F7();
}
async function b7(e) {
let t = ++X.facetCountsSeq, [n] = await v7(e);
t === X.facetCountsSeq && (e.type === "home" && (e9.facets = n), f9({ latest: X7(n, e) }));
}
function x7(e) {
- let t = i5();
+ let t = r5();
if (t.type === "entity") {
let n = { ...t.filters };
- e(n), o5(t.kind, t.name, n), y7(n), b7(i5());
+ e(n), a5(t.kind, t.name, n), y7(n), b7(r5());
} else if (t.type === "item") {
let t = Y.cloneBarsContext(Yl);
if (r9(!1), W({ detailReturnBarsContext: null }), t && t.type === "entity") {
- e(t.filters), o5(t.kind, t.name, t.filters) ? j7() : W({ pageOpens: pu + 1 });
+ e(t.filters), a5(t.kind, t.name, t.filters) ? j7() : W({ pageOpens: pu + 1 });
return;
}
e(U), W({ barsContext: {
type: "home",
filters: U
- } }), Q.route(m7()), V5(), j7();
+ } }), Q.route(m7()), B5(), j7();
} else e(U), Su(), Q.route(m7()), y7(U), b7(Jl);
}
-function kRe() {
+function IRe() {
return {
tiers: null,
tiersPending: !1,
@@ -81858,9 +81936,9 @@ function C7(e) {
...e,
offscreen: n
}, X.catalogFilterProps = {
- ...X.catalogFilterProps || kRe(),
+ ...X.catalogFilterProps || IRe(),
...e
- }, !X.catalogFilterMounting && (up(t) ? gp(t, e) : (!t.firstChild && !n && (t.innerHTML = $je(X.catalogViews(), X.catalogFilterProps.state, E7()), pc(t)), X.catalogFilterMounting = mp("catalog-filter", X.catalogFilterProps, {
+ }, !X.catalogFilterMounting && (up(t) ? gp(t, e) : (!t.firstChild && !n && (t.innerHTML = sMe(X.catalogViews(), X.catalogFilterProps.state, E7()), pc(t)), X.catalogFilterMounting = mp("catalog-filter", X.catalogFilterProps, {
container: t,
isCurrent: () => !0
}).then(() => gp(t, X.catalogFilterProps)).finally(() => {
@@ -81873,7 +81951,7 @@ function w7() {
let e = new URL(m7(), location.origin);
return e.searchParams.set("loc", U.loc || ""), e.searchParams.set("thumb", U.thumb || "0"), e.searchParams.set("sort", U.sort || ""), e.searchParams.set("dir", U.dir || ""), e.pathname + e.search;
},
- openEntity: (e, t) => g5(e, t),
+ openEntity: (e, t) => h5(e, t),
setView: (e) => {
U.state = e, Su(), C7({ state: e }), Q.route(m7()), j7();
},
@@ -81885,17 +81963,17 @@ function w7() {
e.tag = "", e.creator = "", e.studio = "", e.owner = "";
}),
setSort: (e) => {
- let t = zj(e, U.sort, U.dir);
+ let t = Fj(e, U.sort, U.dir);
t && (U.sort = t.sort, U.dir = t.dir, Su(), Y7());
},
- reshuffle: () => VRe(),
+ reshuffle: () => JRe(),
setLayout: (e) => {
- n7() ? a7(e) : _Re(e);
+ n7() ? a7(e) : wRe(e);
},
moreTops: async (e) => {
let t = X.catalogTopsPages;
if (!t) return [];
- let n = (await $Ie(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];
+ let n = (await sLe(X.topsQueryParams(t.context, ++t[e]).toString()))[e] || [];
return e === "performers" ? n.map(O7) : n.map(k7);
}
};
@@ -81904,18 +81982,18 @@ function T7() {
return n7() ? {
name: "jav-layout",
label: "JAV 卡片版式",
- value: _M(),
- options: fM
+ value: pM(),
+ options: cM
} : r7() ? {
name: "home-layout",
label: "首页卡片版式",
value: i7(),
- options: fM
+ options: cM
} : null;
}
function E7() {
return {
- sorts: a5(U.sort, U.dir),
+ sorts: i5(U.sort, U.dir),
layout: T7(),
state: U.state || "",
trash: U.state === "trash"
@@ -81948,7 +82026,7 @@ function k7(e) {
logo: e.has_logo ? po(e.k, "icon", e.logo_version) : ""
};
}
-function ARe(e, t) {
+function LRe(e, t) {
X.barsPendingSeq = t, X.catalogFilterProps?.tiers ? C7({
tiersPending: !0,
state: e.state || ""
@@ -81964,14 +82042,14 @@ function A7(e) {
async function j7() {
let e = ++X.barsRequestSeq;
if (f9(), !Gl(location.pathname) || Jl.type === "item") return;
- let t = i5(), n = Y.activeFilterState(), r = JSON.stringify([
+ let t = r5(), n = Y.activeFilterState(), r = JSON.stringify([
t,
n,
U.state || "",
U.seed || "",
n7()
]);
- ARe(n, e);
+ LRe(n, e);
let i;
try {
i = await v7(t);
@@ -81985,8 +82063,8 @@ async function j7() {
}
let s = r + "\n" + JSON.stringify([a, o]);
if (s === X.barsRendered) {
- X.barsPendingSeq = 0, C7({ tiersPending: !1 }), R5.sidebarCatalog && f9({
- content: R5.sidebarCatalog,
+ X.barsPendingSeq = 0, C7({ tiersPending: !1 }), L5.sidebarCatalog && f9({
+ content: L5.sidebarCatalog,
filters: { ...n }
});
return;
@@ -82000,7 +82078,7 @@ async function j7() {
performers: 0,
studios: 0
};
- let u = X.tagList(n.tag), d = new Map(c.map((e) => [e.k, e])), f = u.map((e) => d.get(e) || { k: e }), p = c.filter((e) => !u.includes(e.k)), m = S8.seededSample(p, X.TAGS_FIRST, `tags:${U.seed || ""}`), h = new Set(m.map((e) => e.k));
+ let u = X.tagList(n.tag), d = new Map(c.map((e) => [e.k, e])), f = u.map((e) => d.get(e) || { k: e }), p = c.filter((e) => !u.includes(e.k)), m = x8.seededSample(p, X.TAGS_FIRST, `tags:${U.seed || ""}`), h = new Set(m.map((e) => e.k));
X.catalogTagRows = f.concat(m, p.filter((e) => !h.has(e.k))).map((e) => ({
k: e.k,
label: Ll(e.k),
@@ -82017,21 +82095,21 @@ async function j7() {
tagFirst: f.length + m.length,
views: X.catalogViews(),
state: n.state || ""
- }), F7(), R5.sidebarCatalog = {
+ }), F7(), L5.sidebarCatalog = {
kind: "catalog",
- key: String(++R5.sidebarContentSeq),
+ key: String(++L5.sidebarContentSeq),
facets: X7(a, t)
}, f9({
- content: R5.sidebarCatalog,
+ content: L5.sidebarCatalog,
filters: { ...n },
latest: null
});
}
-function jRe(e, t) {
- e9.total = e, U.state === "trash" && (w5.trashCount = {
+function RRe(e, t) {
+ e9.total = e, U.state === "trash" && (C5.trashCount = {
total: e9.total,
shown: t
- }), Y5(), C7({ count: {
+ }), J5(), C7({ count: {
total: e9.total,
shown: t
} });
@@ -82046,7 +82124,7 @@ function M7() {
try {
let e = await Tn("/api/trash/empty", { method: "POST" });
if (e.blocked && e.blocked.length) throw Error(`已永久删除 ${e.purged} 项;${e.blocked.length} 项未能删除,仍在回收站:\n` + e.blocked.slice(0, 5).map((e) => `${e.path}(${e.reason})`).join("\n"));
- S8.actionReceipt(`已永久删除 ${e.purged} 项`);
+ x8.actionReceipt(`已永久删除 ${e.purged} 项`);
} finally {
await I7();
}
@@ -82096,13 +82174,13 @@ async function I7() {
filters: U
},
detailReturnBarsContext: null
- }), r9(!1), U.state === "ads") return PRe(e);
- X.controller.page === "/junk-files" && R7(), P5(), V5();
+ }), r9(!1), U.state === "ads") return VRe(e);
+ X.controller.page === "/junk-files" && R7(), N5(), B5();
let t = z7(e);
- if (Q8(location.pathname) && U.browse !== "folders") {
- if (await N5.entityShapesReady, !Q.surfaceCurrent(e)) return;
- yLe();
- } else $8();
+ if (Z8(location.pathname) && U.browse !== "folders") {
+ if (await M5.entityShapesReady, !Q.surfaceCurrent(e)) return;
+ DLe();
+ } else Q8();
return F7(), L("#count").classList.remove("manage-static", "junkcount"), t;
}
function L7(e) {
@@ -82113,10 +82191,10 @@ function R7() {
Nl(e), _p(e), X.controller.clear(), e.innerHTML = "";
}
function z7(e) {
- return U7("/", NRe, e, { place: dze });
+ return U7("/", BRe, e, { place: vze });
}
-function MRe(e) {
- return U7("/junk-files", IRe, e);
+function zRe(e) {
+ return U7("/junk-files", URe, e);
}
function B7() {
return !!lp(L("#grid"));
@@ -82144,28 +82222,28 @@ function U7(e, t, n, r = {}) {
}
function W7() {
let e = r7();
- return wM({
+ return bM({
active: n7() || e,
home: e,
portrait: U.orient === "竖屏"
});
}
function G7(e = "正在读取作品") {
- return VJ(e, K7());
+ return BJ(e, K7());
}
function K7() {
- return U ? TM(W7()) : 16 / 9;
+ return U ? xM(W7()) : 16 / 9;
}
function q7() {
V7() && (Nl(L("#grid")), H7({
layout: W7(),
seekSeconds: Z.appSettings.seekSeconds
- })), Y.entityPageCurrent() && (Nl(L("#index [data-entity-hero]")), r5({
+ })), Y.entityPageCurrent() && (Nl(L("#index [data-entity-hero]")), n5({
layout: W7(),
seekSeconds: Z.appSettings.seekSeconds
}));
}
-function NRe() {
+function BRe() {
let e = decodeURIComponent(location.pathname), t = jn(e), n = U.state === "trash";
return {
mode: "catalog",
@@ -82188,9 +82266,9 @@ function NRe() {
mix: t && e !== "/wall" && !n && U.browse !== "folders",
shorts: t && e !== "/wall" && !n7() && U.orient !== "竖屏" && !n && U.browse !== "folders",
countRow: L("#count"),
- onCount: jRe,
+ onCount: RRe,
onCountFailed: () => C7({ count: !1 }),
- emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : jK({
+ emptyHtml: ({ trash: e, libraryEmpty: t }) => e ? Z.emptyState("trash", "回收站是空的", "删掉的内容会先到这里;确认不再需要后再清空。") : AK({
jav: n7() && !t,
configurable: du,
filtered: !t
@@ -82198,11 +82276,11 @@ function NRe() {
canLoadMore: () => L("#stats").hidden && L("#index").hidden
};
}
-function PRe(e) {
+function VRe(e) {
let t = L("#count");
- return X.controller.page === "/junk-files" && B7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (R7(), P5("正在读取垃圾文件")), V5(), F7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), MRe(e);
+ return X.controller.page === "/junk-files" && B7() && !X.controller.pending && t.querySelector(":scope > .peach-react:not([data-junk-count-skeleton])") || (R7(), N5("正在读取垃圾文件")), B5(), F7(), t.classList.add("manage-static", "junkcount"), t.classList.remove("is-stuck"), zRe(e);
}
-async function FRe(e, t) {
+async function HRe(e, t) {
let n = [e.id], r = t === "dispose", i = t === "reconsider-junk";
try {
await Tn("/api/batch", {
@@ -82214,7 +82292,7 @@ async function FRe(e, t) {
})
}), await I7();
let e = r ? "restore" : i ? "dismiss-junk" : "reconsider-junk";
- S8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {
+ x8.actionReceipt(r ? "已移入回收站" : i ? "已重新加入垃圾判断" : "已标记为不是垃圾", { undo: async () => {
await Tn("/api/batch", {
method: "POST",
body: JSON.stringify({
@@ -82224,12 +82302,12 @@ async function FRe(e, t) {
}), await I7();
} });
} catch (e) {
- throw S8.actionFailure("操作", e), e;
+ throw x8.actionFailure("操作", e), e;
}
}
-function IRe() {
+function URe() {
return {
- ...zU(location.search),
+ ...RU(location.search),
helpers: X.junkQueueHelpers,
actions: X.junkQueueActions,
batchSize: Z.appSettings.batchSize,
@@ -82238,15 +82316,15 @@ function IRe() {
selected: new Set(Xl),
countRow: L("#count"),
settled: L7,
- skeletonHtml: () => E2("正在读取垃圾文件", {
+ skeletonHtml: () => T2("正在读取垃圾文件", {
cards: !0,
className: "catalog-skeleton postercard-skeleton"
}),
canLoadMore: () => L("#stats").hidden && L("#index").hidden
};
}
-function LRe() {
- X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => C8(e, t, Z.appSettings, n), W(w8(WIe(location, Z.appSettings, S8.rollSeed))), X.searchValueSnapshot = {
+function WRe() {
+ X.initialParams = new URLSearchParams(location.search), X.resolveSort = (e, t, n = Z.appSettings.defaultSort) => S8(e, t, Z.appSettings, n), W(C8(QIe(location, Z.appSettings, x8.rollSeed))), X.searchValueSnapshot = {
text: "",
scrollLeft: 0
}, X.cancelSearchDissolve = () => {}, X.rememberSearchValue = (e = L("#q")) => {
@@ -82267,44 +82345,44 @@ function LRe() {
};
};
}
-function RRe() {
- R8.handler(L("#wallBtn"), "onclick", () => {
- E5(!1, !0);
- let e = i5(), t = {
+function GRe() {
+ L8.handler(L("#wallBtn"), "onclick", () => {
+ T5(!1, !0);
+ let e = r5(), t = {
...Y.activeFilterState(),
jav: n7() ? "1" : ""
};
- e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(Exe(void 0, t));
+ e.type === "entity" && e.kind !== "tag" && (t[e.kind] = e.name), Q.navigatePath(Pxe(void 0, t));
}), X.mixRelatedCache = /* @__PURE__ */ new Map(), X.reduceMotion = () => matchMedia("(prefers-reduced-motion:reduce)").matches, X.tagList = (e = U.tag) => String(e || "").split(",").filter(Boolean), X.tagPressed = (e, t) => X.tagList(e).includes(String(t)), X.withTagToggled = (e, t) => {
let n = X.tagList(e), r = n.indexOf(t);
return r >= 0 ? n.splice(r, 1) : n.push(t), n.join(",");
}, X.gridHelpers = {
badgeHtml: (e, t) => Z.srcBadge(e, t),
- titleHtml: (e, t) => GI(e, t),
- displayName: (e, t) => WI(e, t),
+ titleHtml: (e, t) => WI(e, t),
+ displayName: (e, t) => UI(e, t),
tagLabel: (e) => Ll(e)
}, X.gridActions = {
wallPlayer: async (e, t, n) => {
- let r = await r8(e9.stageHost);
+ let r = await n8(e9.stageHost);
return n.throwIfAborted(), r.mountWallPlayer(e, t, n);
},
wallDetails: _7,
- open: (e, t) => TRe(e, t),
- openResource: (e, t) => i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : wRe(e, t),
- openShort: (e) => i8()?.miniplayerTakesCard(e) ? i8().miniplayerPlay(e.id) : u9(e.id),
+ open: (e, t) => MRe(e, t),
+ openResource: (e, t) => r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : jRe(e, t),
+ openShort: (e) => r8()?.miniplayerTakesCard(e) ? r8().miniplayerPlay(e.id) : u9(e.id),
openShorts: () => u9(),
- openMix: (e, t) => YRe(e, e, !0, t),
- openEntity: (e, t) => g5(e, t),
+ openMix: (e, t) => nze(e, e, !0, t),
+ openEntity: (e, t) => h5(e, t),
openUnowned: () => h7({ owner: "none" }),
toggleTag: (e) => {
x7((t) => {
t.tag = X.tagPressed(t.tag, e) ? "" : e;
});
},
- toggleSelection: (e, t) => D5(e, t),
- watchLater: (e, t) => ERe(e, t),
- rate: (e, t, n, r) => ORe(e, t, n, r),
- resourceOperation: (e, t) => DRe(e, t),
+ toggleSelection: (e, t) => E5(e, t),
+ watchLater: (e, t) => NRe(e, t),
+ rate: (e, t, n, r) => FRe(e, t, n, r),
+ resourceOperation: (e, t) => PRe(e, t),
mixRelated: (e) => g7(e),
canFlip: () => !Ql && !Z7() && !window.__scrolling && !X.reduceMotion()
}, X.topsQueryParams = (e, t = 0) => {
@@ -82333,7 +82411,7 @@ function RRe() {
], X.catalogViews = () => X.VIEW_PILLS.map((e) => ({
...e,
href: e.k ? On[e.k] : "/"
- })), X.TAGS_FIRST = 26, R8.listen(L("#catalogFilter"), "click", (e) => {
+ })), X.TAGS_FIRST = 26, L8.listen(L("#catalogFilter"), "click", (e) => {
let t = e.target.closest?.("[data-catalog-view]");
t && !e.defaultPrevented && (e.preventDefault(), w7().setView(t.dataset.catalogView));
}), X.catalogOnScreen = () => L("#index").hidden && L("#stats").hidden, X.COMBO_LABELS = {
@@ -82344,27 +82422,27 @@ function RRe() {
X.catalogFilterProps && C7({ comboHidden: !0 });
};
}
-function zRe() {
+function KRe() {
X.junkQueueHelpers = { badgeHtml: (e, t) => Z.srcBadge(e, t) }, X.junkQueueActions = {
navigate: (e) => {
- Ql && E5(!1, !0), Q.route(e);
+ Ql && T5(!1, !0), Q.route(e);
},
- toggleSelection: (e, t) => D5(e, t),
+ toggleSelection: (e, t) => E5(e, t),
open: (e, t) => e.junk_kind === "image" ? window.open("/photo?id=" + e.id, "_blank", "noopener") : s9(e.id, !0, null, t),
reveal: async (e) => {
try {
return await Tn("/api/reveal", {
method: "POST",
body: JSON.stringify({ id: e.id })
- }), S8.toast({ text: "已在资源管理器中显示" }), "";
+ }), x8.toast({ text: "已在资源管理器中显示" }), "";
} catch (e) {
return Y.sourceHint(e.message);
}
},
- operate: (e, t) => FRe(e, t)
+ operate: (e, t) => HRe(e, t)
};
}
-X.controller = new JIe();
+X.controller = new nLe();
// src/application/preferences.js
var Z = {
sourceOnline: void 0,
@@ -82388,7 +82466,7 @@ var Z = {
CENSOR_KEY: void 0
};
async function J7() {
- let e = R8;
+ let e = L8;
try {
let t = await Sr(e.signal);
if (!e.isActive) return Z.sourceOnline;
@@ -82398,7 +82476,7 @@ async function J7() {
if (!e.isActive) return Z.sourceOnline;
Z.sourceOnline = {}, Z.sourceProblems = {};
}
- return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), SRe(), Z.sourceOnline;
+ return document.body.classList.toggle("offline-source", Object.values(Z.sourceOnline).includes(!1)), kRe(), Z.sourceOnline;
}
function Y7() {
let e = Q.surfacePath();
@@ -82409,7 +82487,7 @@ function Y7() {
state: Op.navigation.location.state
}), t;
}
-function BRe(e) {
+function qRe(e) {
if (e === "local") return {
kind: "glyph",
name: "hard-drive"
@@ -82441,7 +82519,7 @@ function X7(e, t) {
value: e.k,
label: nr[e.k] || e.k,
n: e.n ?? null,
- dot: BRe(e.k),
+ dot: qRe(e.k),
...Z.sourceOffline(e.k) ? { offline: Z.OFFLINE_HINT } : {}
})),
regions: n(e.regions),
@@ -82454,19 +82532,19 @@ function X7(e, t) {
duration: !!e.stats?.duration
};
}
-async function VRe(e = !1) {
+async function JRe(e = !1) {
if (e && (document.hidden || !jn(decodeURIComponent(location.pathname)) || e9.stageOpen() || e9.immerseOpen() || Ql || Xl.size || document.activeElement === L("#q"))) return !1;
if (!L("#stats").hidden) {
let e = decodeURIComponent(location.pathname), t = Q.routeMeta(e)?.route.refresh;
if (t === "skip") return;
if (e === "/playlists") {
- y5();
+ v5();
return;
}
let n = t === "reopen" ? e : "/stats";
sm(), n === e ? Q.navigatePath(location.pathname + location.search + location.hash, !0, Op.navigation.location.state) : Q.navigatePath(n);
} else if (L("#index").hidden) {
- U.sort = "seed", U.dir = "", U.seed = S8.rollSeed(), Su(), O8(), C7({ refreshing: !0 });
+ U.sort = "seed", U.dir = "", U.seed = x8.rollSeed(), Su(), D8(), C7({ refreshing: !0 });
try {
sm();
let e = Y7();
@@ -82486,47 +82564,47 @@ function Z7() {
function Q7(e) {
document.body.classList.toggle("censor", e), Z.settingsStore.notify();
}
-function HRe(e) {
+function YRe(e) {
localStorage.setItem(Z.CENSOR_KEY, e ? "1" : "0"), Q7(e), e && Nl();
}
-function URe(e) {
+function XRe(e) {
localStorage.setItem("peach.high-contrast", String(e)), document.documentElement.classList.toggle("board-high-contrast", e), Z.settingsStore.notify();
}
function $7(e) {
return Ac(e, { drag: !0 });
}
-function WRe() {
+function ZRe() {
["#nrow", "#count"].forEach((e) => $7(L(e))), document.querySelectorAll(".tier,.srow").forEach($7);
}
-function GRe() {
+function QRe() {
let e = new URLSearchParams(location.search).get("id");
return /^\d+$/.test(e || "") ? Number(e) : void 0;
}
-function KRe() {
+function $Re() {
Z.sourceOnline = {}, Z.sourceProblems = {}, Z.sourceOffline = (e) => Z.sourceOnline[e] === !1, Z.OFFLINE_HINT = "媒体目录无法访问,请检查目录、读取权限和网盘挂载状态", Z.OFFLINE_REASON = {
local: "无法读取媒体目录,请检查目录是否存在及读取权限。",
115: "无法读取 115 媒体目录,请检查目录权限及网盘挂载工具是否正常运行。",
pikpak: "无法读取 PikPak 媒体目录,请检查目录权限及网盘挂载工具是否正常运行。"
- }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = oM(), Z.appSettings = Z.settingsStore.value, Zt(Z.appSettings.performerNameLanguage), Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), Zo(Z.appSettings.uiSounds), rs(), uM(), wle(), FM(), RM(), zM(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {
+ }, Z.offlineReason = (e) => Z.sourceProblems[e] || Z.OFFLINE_REASON[e] || "无法读取这个来源的媒体目录,请检查目录权限及挂载状态。", Z.settingsStore = nM(), Z.appSettings = Z.settingsStore.value, Zt(Z.appSettings.performerNameLanguage), Z.saveSettings = () => Z.settingsStore.save(), document.documentElement.style.setProperty("--hover-delay", `${Z.appSettings.hoverDelaySeconds}s`), Zo(Z.appSettings.uiSounds), rs(), oM(), Ole(), jM(), PM(), FM(), Z.catalogLoadWaiters = [], Z.nextCatalogLoad = () => new Promise((e) => Z.catalogLoadWaiters.push(e)), Z.handOff = (e) => (Z.catalogLoadWaiters.splice(0).forEach((t) => t(e)), e), Z.settingsEffects = {
performerNameLanguage: () => {
- Zt(Z.appSettings.performerNameLanguage), N5.syncPageTitle(location.href), X.barsRendered = "", j7();
+ Zt(Z.appSettings.performerNameLanguage), M5.syncPageTitle(location.href), X.barsRendered = "", j7();
},
- theme: () => uM(),
+ theme: () => oM(),
uiSounds: () => {
Zo(Z.appSettings.uiSounds), Z.appSettings.uiSounds && Qo("toggle-on");
},
- glowFrame: () => LM(),
+ glowFrame: () => NM(),
glow: () => {
- LM(), RM();
+ NM(), PM();
},
batchSize: () => {
location.pathname === "/" && I7();
},
defaultSort: () => {
- U.sort = Z.appSettings.defaultSort, U.dir = Bj(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Su(), location.pathname === "/" && Y7();
+ U.sort = Z.appSettings.defaultSort, U.dir = Ij(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Su(), location.pathname === "/" && Y7();
},
sortDirection: () => {
- U.dir = Bj(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Su(), location.pathname === "/" && Y7();
+ U.dir = Ij(U.sort, Z.appSettings.defaultSort, Z.appSettings.defaultSortDirection), Su(), location.pathname === "/" && Y7();
},
hoverDelay: () => {
Z.appSettings.hoverDelaySeconds || document.querySelectorAll("[data-previewing],[data-longhover]").forEach((e) => {
@@ -82535,14 +82613,14 @@ function KRe() {
},
seekSeconds: () => q7(),
groupCollapse: () => c7(),
- feedAutoScroll: () => bLe(),
- feedLimit: () => e5(),
- feedCompilations: () => e5(),
+ feedAutoScroll: () => OLe(),
+ feedLimit: () => $8(),
+ feedCompilations: () => $8(),
miniplayer: () => {
- Z.appSettings.miniplayer || i8()?.closeMiniplayer();
+ Z.appSettings.miniplayer || r8()?.closeMiniplayer();
},
javImage: () => {
- ao(document, Z.appSettings.javImage), q7(), document.querySelectorAll("img[data-jav-image].cover").forEach(fl), JRe();
+ ao(document, Z.appSettings.javImage), q7(), document.querySelectorAll("img[data-jav-image].cover").forEach(fl), tze();
},
searchHistoryLimit: () => gp(L("#searchMenu"), { historyLimit: Z.appSettings.searchHistoryLimit })
}, Z.syncGlassOptics = () => {}, Z.placeSidebarHead = () => {}, Z.SRCICON = {
@@ -82553,7 +82631,7 @@ function KRe() {
return `<span class="${n || "src"} ${t === "metered" ? "metered" : "free"}" title="${z(r)}" aria-label="${z(r)}">` + (Z.SRCICON[e] || "") + "</span>";
}, Z.emptyState = Ws;
}
-function qRe() {
+function eze() {
Z.CENSOR_KEY = "peach-censor", Q7(localStorage.getItem(Z.CENSOR_KEY) === "1");
}
// src/application/media.js
@@ -82576,10 +82654,10 @@ function t9() {
} : null;
}
function n9() {
- return i8()?.exit() || Promise.resolve();
+ return r8()?.exit() || Promise.resolve();
}
function r9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null } = {}) {
- Q.queueOpenRequest !== r && m9(), i8()?.dispose({ miniplayer: n }), W({
+ Q.queueOpenRequest !== r && m9(), r8()?.dispose({ miniplayer: n }), W({
activeQueue: null,
pendingQueueRoute: null,
presentedItem: null
@@ -82589,8 +82667,8 @@ function r9(e = !1, t = !1, { miniplayer: n = !0, preserveQueueRequest: r = null
detailReturnNeedsRestore: !1
}), f7(), e && Q.route(nu || "/");
}
-function JRe() {
- i8()?.repaintPoster();
+function tze() {
+ r8()?.repaintPoster();
}
function i9(e, t, n, r, i = null, a = {}) {
t = +t;
@@ -82614,13 +82692,13 @@ function i9(e, t, n, r, i = null, a = {}) {
Q.requestedQueue = () => s9(n == null ? null : +n, !1, s, i, !0, e), W({ queueOpens: mu + 1 });
} else return s9(n == null ? null : +n, !1, s, i, r);
}
-function YRe(e, t = e, n = !0, r = null) {
+function nze(e, t = e, n = !0, r = null) {
return i9("mix", e, t, n, r);
}
-function XRe(e, t = e, n = !0, r = null) {
+function rze(e, t = e, n = !0, r = null) {
return i9("editions", e, t, n, r);
}
-function ZRe(e, t = e, n = !0, r = null) {
+function ize(e, t = e, n = !0, r = null) {
return i9("parts", e, t, n, r);
}
function a9(e, t = null, n = !0) {
@@ -82636,8 +82714,8 @@ async function s9(e, t = !0, n = null, r = null, i = !1, a = null) {
return;
}
Nl(), e = e == null ? null : +e;
- let o = r?.isConnected ? r : ru?.isConnected ? ru : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : iu, c = o9(), l = au || !t && !c, u = Jl.type === "item" ? Yl : Y.cloneBarsContext(i5());
- t ? W({ detailReturnPath: location.pathname + location.search }) : i || W({ detailReturnPath: qf() || nu }), t && Wf(), i8()?.showing() !== "item" && r9(!1, !0, {
+ let o = r?.isConnected ? r : ru?.isConnected ? ru : null, s = r?.isConnected ? r.getBoundingClientRect().top + r.getBoundingClientRect().height / 2 > window.innerHeight / 2 : iu, c = o9(), l = au || !t && !c, u = Jl.type === "item" ? Yl : Y.cloneBarsContext(r5());
+ t ? W({ detailReturnPath: location.pathname + location.search }) : i || W({ detailReturnPath: qf() || nu }), t && Wf(), r8()?.showing() !== "item" && r9(!1, !0, {
miniplayer: !1,
preserveQueueRequest: a
}), W({
@@ -82649,7 +82727,7 @@ async function s9(e, t = !0, n = null, r = null, i = !1, a = null) {
seedId: n.seedId,
playlistId: n.playlistId
} }), W({ pendingQueueRoute: n && i ? `${n.kind}=${n.kind === "playlist" ? n.playlistId : n.seedId}` : null }), t && !n && Q.route("/assets/" + e, !1, Jf("item"));
- let d = await r8(e9.stageHost);
+ let d = await n8(e9.stageHost);
if (a?.cancelled) return;
let f = a ? {
...e9.itemDetailActions,
@@ -82683,20 +82761,20 @@ async function c9() {
await n9(), r9(!1, !1, { miniplayer: !1 }), W({ detailReturnBarsContext: null }), Gf(), W({ barsContext: e || {
type: "home",
filters: U
- } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? W({ pageOpens: pu + 1 }) : (j7(), location.pathname === "/playlists" && y5()));
+ } }), n && Q.managedPagePath(new URL(t, location.href).pathname) ? Q.navigatePath(t) : (Q.route(t), n ? W({ pageOpens: pu + 1 }) : (j7(), location.pathname === "/playlists" && v5()));
}
async function l9(e, t = !0) {
if (t) {
W({ detailReturnPath: location.pathname + location.search }), h9("/works/" + encodeURIComponent(e), "jav", () => l9(e, !1));
return;
}
- let n = Op.navigation.seq, r = Y.cloneBarsContext(i5()), i = !o9(), a = qf() || (i ? "/jav?tab=discover" : nu) || "/jav?tab=discover";
- i8()?.showing() !== "jav" && r9(!1, !0, { miniplayer: !1 }), W({
+ let n = Op.navigation.seq, r = Y.cloneBarsContext(r5()), i = !o9(), a = qf() || (i ? "/jav?tab=discover" : nu) || "/jav?tab=discover";
+ r8()?.showing() !== "jav" && r9(!1, !0, { miniplayer: !1 }), W({
detailReturnPath: a,
detailReturnBarsContext: r,
detailReturnNeedsRestore: i
}), Nl();
- let [o, s] = await Promise.all([r8(e9.stageHost), B("/healthz")]);
+ let [o, s] = await Promise.all([n8(e9.stageHost), B("/healthz")]);
Op.navigation.seq === n && (await o.open({
kind: "jav",
code: e,
@@ -82713,19 +82791,19 @@ async function l9(e, t = !0) {
openTag: (e) => x7((t) => {
t.tag = e;
}),
- receipt: (e) => S8.toast({ text: e })
+ receipt: (e) => x8.toast({ text: e })
}
}), f7());
}
async function u9(e = null, t = !0) {
- t ? (e9.requestedImmerseId = e, Q.route("/immerse")) : (i8()?.closeMiniplayer(), await (await IIe(e9.immerseHost)).open(e));
+ t ? (e9.requestedImmerseId = e, Q.route("/immerse")) : (r8()?.closeMiniplayer(), await (await WIe(e9.immerseHost)).open(e));
}
-function QRe() {
+function aze() {
e9.total = 0, e9.facets = null, e9.stageHost = {
player: {
settings: () => Z.appSettings,
saveSettings: () => Z.saveSettings(),
- toast: (e, t) => S8.toast({ text: e }, t),
+ toast: (e, t) => x8.toast({ text: e }, t),
loadSourceStatus: () => J7(),
offlineReason: (e) => Z.offlineReason(e)
},
@@ -82734,20 +82812,20 @@ function QRe() {
e === "follow" ? w9(t, !0, n) : s9(t, !0);
},
openItem: (e) => void s9(e)
- }, e9.stageOpen = () => !!i8()?.isOpen();
+ }, e9.stageOpen = () => !!r8()?.isOpen();
}
-function $Re() {
+function oze() {
e9.itemDetailHelpers = {
badgeHtml: (e, t, n) => Z.srcBadge(e, t, n),
- titleHtml: (e) => GI(e),
- displayName: (e) => WI(e),
+ titleHtml: (e) => WI(e),
+ displayName: (e) => UI(e),
javImage: () => Z.appSettings.javImage,
tagLabel: (e) => Ll(e),
isDurationTag: (e) => ar.has(e),
tagCandidates: () => e9.facets && e9.facets.tags || [],
sourceOffline: (e) => Z.sourceOffline(e),
offlineReason: (e) => Z.offlineReason(e),
- relatedSkeletonHtml: () => E2("正在读取推荐", {
+ relatedSkeletonHtml: () => T2("正在读取推荐", {
cards: !0,
className: "related-skeleton"
}),
@@ -82770,7 +82848,7 @@ function $Re() {
e.kind === "follow" ? (Q.queueOpenRequest = null, W({
pendingQueueRoute: null,
followDetailReturnPath: nu || "/"
- }), Q.route(`/posts/${e.id}`, !t, Jf("follow")), w9(e.id, !1, null, !0)) : e.kind === "item" ? s9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? _9("/playlists") : y5() : r9(!1);
+ }), Q.route(`/posts/${e.id}`, !t, Jf("follow")), w9(e.id, !1, null, !0)) : e.kind === "item" ? s9(e.id, !0) : e.kind === "playlists" ? t || location.pathname !== "/playlists" ? _9("/playlists") : v5() : r9(!1);
},
openQueueItem: (e, t, n = !0) => void i9(e.kind, e.kind === "playlist" ? e.playlistId : e.seedId, t, n, null, { autoplay: e.autoplay }),
reopen: () => {
@@ -82783,37 +82861,37 @@ function $Re() {
openSavedFollow: () => {
$.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.followDurMin = $.followDurMax = 0, $.followFilter = "saved", _9(v9());
},
- openEntity: (e, t) => g5(e, t),
+ openEntity: (e, t) => h5(e, t),
openUnowned: () => h7({ owner: "none" }),
openRegion: (e) => h7({ region: e || "none" }),
openTag: (e) => x7((t) => {
t.tag = e;
}),
- addToPlaylist: (e) => PLe(e),
- saveMix: (e) => NLe(e),
+ addToPlaylist: (e) => HLe(e),
+ saveMix: (e) => VLe(e),
editPlaylist: () => _9("/playlists"),
openPlaylists: () => _9("/playlists"),
- reveal: (e) => d5(e),
- sync: (e) => TLe(e),
+ reveal: (e) => u5(e),
+ sync: (e) => NLe(e),
trashChanged: async (e, t) => {
U.state === "ads" && (t || e === "trash") && (t || (Gf(), r9(!0, !1, { miniplayer: !1 })), await I7());
},
- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),
- failure: (e, t) => S8.actionFailure(e, t)
+ toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),
+ failure: (e, t) => x8.actionFailure(e, t)
}, e9.immerseHost = {
filters: () => U,
seekSeconds: () => Z.appSettings.seekSeconds,
sourceOffline: (e) => Z.sourceOffline(e),
- displayName: (e) => WI(e),
+ displayName: (e) => UI(e),
route: (e) => Q.route("/immerse?id=" + e, !0),
closed: () => h7(),
openItem: (e) => void s9(e),
- openEntity: (e, t) => g5(e, t),
+ openEntity: (e, t) => h5(e, t),
openUnowned: () => h7({ owner: "none" }),
- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),
- warn: (e) => S8.toast({ text: e }, { sound: "warning" }),
- failure: (e, t) => S8.actionFailure(e, t)
- }, e9.immerseOpen = () => !!s8()?.isOpen(), R8.handler(L("#immerseBtn"), "onclick", () => u9());
+ toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),
+ warn: (e) => x8.toast({ text: e }, { sound: "warning" }),
+ failure: (e, t) => x8.actionFailure(e, t)
+ }, e9.immerseOpen = () => !!o8()?.isOpen(), L8.handler(L("#immerseBtn"), "onclick", () => u9());
}
// src/application/navigation.js
var Q = {
@@ -82836,19 +82914,19 @@ var Q = {
initialOverlayOpened: void 0
};
function d9() {
- let e = p8();
+ let e = f8();
e ? e.navChanged() : L("#drawerScroll")?.querySelectorAll("[data-nav]").forEach((e) => e.setAttribute("aria-pressed", String(l7(e.dataset.nav))));
}
function f9(e = {}) {
let t = Q.surfacePath();
- t !== R5.sidebarSurface && (R5.sidebarSurface = t, R5.sidebarProps = {
- ...R5.sidebarProps,
+ t !== L5.sidebarSurface && (L5.sidebarSurface = t, L5.sidebarProps = {
+ ...L5.sidebarProps,
content: null,
latest: null
- }), R5.sidebarProps = {
- ...R5.sidebarProps,
+ }), L5.sidebarProps = {
+ ...L5.sidebarProps,
...e
- }, p8()?.render(R5.sidebarProps);
+ }, f8()?.render(L5.sidebarProps);
}
function p9() {
f9(), d9(), d7();
@@ -82863,12 +82941,12 @@ function h9(e, t, n) {
}, Q.route(e, !1, Jf(t));
}
function g9() {
- Q.surfaceEpoch++, X.barsRequestSeq++, N5.syncPageTitle(location.href), f9(), Gf();
+ Q.surfaceEpoch++, X.barsRequestSeq++, M5.syncPageTitle(location.href), f9(), Gf();
}
function _9(e) {
Q.route(e), W({ pageOpens: pu + 1 });
}
-function eze() {
+function sze() {
Q.routeMeta = (e) => {
let t = ep(e);
return t ? { route: t } : null;
@@ -82876,7 +82954,7 @@ function eze() {
let t = ep(e);
return !!t && t.reload !== "reopen" && !Q.catalogPage(e) && !Bf(e) && e !== "/immerse";
}, Q.openRoutePath = (e) => {
- e === "/immerse" ? u9(GRe()) : e === "/follow" ? C9() : e === "/playlists" || Q.catalogPage(e) ? _9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? QLe() : e) : (E5(!1, !0), _9(A5({
+ e === "/immerse" ? u9(QRe()) : e === "/follow" ? C9() : e === "/playlists" || Q.catalogPage(e) ? _9(e) : Q.managedPagePath(e) ? Q.navigatePath(e === "/subscriptions" ? oRe() : e) : (T5(!1, !0), _9(k5({
kind: e.slice(1),
q: "",
scope: "local",
@@ -82885,16 +82963,16 @@ function eze() {
})));
};
}
-function tze() {
+function cze() {
Q.surfaceEpoch = 0, Q.surfacePath = () => decodeURIComponent(location.pathname), Q.surfaceRequests = null, Q.surfaceToken = (e) => ({
epoch: Q.surfaceEpoch,
path: e,
signal: Q.surfaceRequests?.signal
- }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (Q8(e) || $8(), _p(L("#stats"), L("#index")), !jn(e) && e !== "/trash" && R7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {
+ }), Q.surfaceCurrent = (e) => e.epoch === Q.surfaceEpoch && Q.surfacePath() === e.path, Q.claimSurface = (e) => (Z8(e) || Q8(), _p(L("#stats"), L("#index")), !jn(e) && e !== "/trash" && R7(), Q.surfaceRequests?.abort(), Q.surfaceRequests = new AbortController(), Q.surfaceEpoch++, Q.surfaceToken(e)), Q.route = (e, t = !1, n) => {
Q.surfaceEpoch++, X.barsRequestSeq++, kp(e, {
replace: t,
state: n
- }), N5.syncPageTitle(e), queueMicrotask(() => {
+ }), M5.syncPageTitle(e), queueMicrotask(() => {
d7(), Z5(), f9();
});
}, Q.navigatePath = (e, t = !1, n) => {
@@ -82904,15 +82982,15 @@ function tze() {
}, Q.requestedOverlay = null, Q.requestedQueue = null, Q.queueOpenRequest = null, Q.initialOverlayOpened = !1;
}
// src/jobs.ts
-function nze(e, t, n) {
+function lze(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="${z(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>${z(e)}<small>${Math.round(i)}%</small></span></div>`;
}
-function rze(e, t = 0, n = 0) {
- return n > 0 ? nze(e, t, n) : Hs(e);
+function uze(e, t = 0, n = 0) {
+ return n > 0 ? lze(e, t, n) : Hs(e);
}
-async function ize(e) {
+async function dze(e) {
let t = e.pause || ((e) => new Promise((t) => setTimeout(t, e))), n = 0;
for (; e.active();) {
let r;
@@ -82927,14 +83005,14 @@ async function ize(e) {
await t(2e3);
}
}
-function aze(e) {
+function fze(e) {
let t = e.note || ((e) => zs(e, {
label: "任务状态",
variant: "error"
- })), n = e.loading || Hs, r = e.progress || ((e, t, n) => rze(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 || Hs, r = e.progress || ((e, t, n) => uze(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;
- ize({
+ dze({
read: e.read,
active: () => !c && e.active() && a.isConnected,
keepWatching: e.watchIdle !== !1,
@@ -82983,9 +83061,9 @@ var $ = {
FOLLOW_MANAGE_TABS: void 0,
followSidebarFilters: void 0
};
-function oze(e) {
+function pze(e) {
let t = (e.results || []).filter((e) => !e.ok).length;
- S8.toast({ text: Hi(e) }, {
+ x8.toast({ text: Hi(e) }, {
warn: !!t,
timeout: t ? 8e3 : 6e3,
sound: t ? "warning" : "success",
@@ -82998,7 +83076,7 @@ function oze(e) {
function v9() {
return ka(y9());
}
-function sze() {
+function mze() {
return $.controller.read();
}
function y9() {
@@ -83019,17 +83097,17 @@ function y9() {
function b9(e) {
$.followFilter = e.status, $.followMediaView = e.media, $.followAuthors = new Set(e.author ? [e.author] : []), $.followProviders = new Set(e.provider ? [e.provider] : []), $.followWorks = new Set(e.work ? [e.work] : []), $.followTags = new Set(e.tags), $.followDurMin = e.durMin || 0, $.followDurMax = e.durMax || 0, $.followSort = e.sort, $.followDir = e.dir, $.followSeed = e.seed;
}
-function cze() {
+function hze() {
let e = lp(L("#stats"));
return e && e.path === "/follow" && e.host.isConnected ? e : null;
}
function x9() {
- return !!cze();
+ return !!hze();
}
function S9(e) {
x9() && gp(L("#stats"), e);
}
-function lze(e, t = {}) {
+function gze(e, t = {}) {
return $.controller.route(e, t);
}
function C9(e = !1) {
@@ -83042,7 +83120,7 @@ async function w9(e, t = !0, n = null, r = !1) {
}
Nl(), e = +e;
let i = !location.pathname.startsWith("/posts/");
- t && i && !r && W({ followDetailReturnPath: location.pathname + location.search }), !t && !r && W({ followDetailReturnPath: qf() || "/follow" }), t && Wf(), i8()?.showing() !== "follow" && r9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, Jf("follow")), await (await r8(e9.stageHost)).open({
+ t && i && !r && W({ followDetailReturnPath: location.pathname + location.search }), !t && !r && W({ followDetailReturnPath: qf() || "/follow" }), t && Wf(), r8()?.showing() !== "follow" && r9(!1, !1, { miniplayer: !1 }), t && Q.route(`/posts/${e}`, !1, Jf("follow")), await (await n8(e9.stageHost)).open({
kind: "follow",
id: e,
mediaIndex: n,
@@ -83053,16 +83131,16 @@ async function w9(e, t = !0, n = null, r = !1) {
resume: t ? null : t9()
}), f7();
}
-async function uze() {
- await n9(), r9(!1, !1, { miniplayer: !1 }), Gf(), Q.route(lu || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && x9() ? (sze(), S9({ view: y9() })) : W({ pageOpens: pu + 1 }));
+async function _ze() {
+ await n9(), r9(!1, !1, { miniplayer: !1 }), Gf(), Q.route(lu || "/follow"), !(Y.entityPageView && Y.entityPageCurrent() && !L("#index").hidden) && (location.pathname === "/follow" && x9() ? (mze(), S9({ view: y9() })) : W({ pageOpens: pu + 1 }));
}
-function dze(e) {
+function vze(e) {
let t = document.createElement("div");
return t.className = "peach-react", ic(e, () => {
e.textContent = "", e.append(t);
}), t;
}
-function fze() {
+function yze() {
$.followFeedHelpers = zl({
wireDrag: (e) => {
e && $7(e);
@@ -83071,42 +83149,42 @@ function fze() {
e && Ac(e);
},
listSkeletonHtml: (e) => $.followContentSkeletonHtml(e),
- jobProgress: aze
+ jobProgress: fze
}), $.followFeedActions = {
- loaded: (e) => H5(e),
+ loaded: (e) => V5(e),
openDetail: (e) => w9(e),
openAuthor: (e) => Q.navigatePath(Pn("creator", e)),
- toggleSelection: (e, t) => BLe(e, t),
+ toggleSelection: (e, t) => JLe(e, t),
setImagesOnly: (e) => {
- Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), c5();
+ Z.appSettings.followImagesOnly = !!e, Z.saveSettings(), s5();
},
setPhotoLayout: (e) => {
- DM(e), c5();
+ CM(e), s5();
},
canFlip: () => !Ql && !Z7() && !window.__scrolling && !X.reduceMotion(),
- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),
- failure: (e, t) => S8.actionFailure(e, t),
- checkReport: (e) => oze(e)
+ toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),
+ failure: (e, t) => x8.actionFailure(e, t),
+ checkReport: (e) => pze(e)
}, $.followFeedShell = {
skeleton: () => $.followSkeletonHtml("正在读取关注内容"),
ground: () => {
- i8()?.showing() !== "follow" && (Nl(), r9(!1), B5(), !x9() && (Q.claimSurface(Q.surfacePath()), z5({ manage: !1 }), L("#stats").querySelector(".peach-react") && _p(L("#stats")), L("#stats").replaceChildren()));
+ r8()?.showing() !== "follow" && (Nl(), r9(!1), z5(), !x9() && (Q.claimSurface(Q.surfacePath()), R5({ manage: !1 }), L("#stats").querySelector(".peach-react") && _p(L("#stats")), L("#stats").replaceChildren()));
}
}, $.followDetailActions = ql({
view: y9,
adoptView: b9,
rememberReturn: (e) => W({ followDetailReturnPath: e }),
- close: () => void uze(),
+ close: () => void _ze(),
open: (e, t, n) => void w9(e, !0, t, n),
- drawer: H5,
+ drawer: V5,
openAuthor: (e) => Q.navigatePath(Pn("creator", e))
}, {
- toast: (e, { undo: t } = {}) => S8.actionReceipt(e, { undo: t }),
- failure: S8.actionFailure,
+ toast: (e, { undo: t } = {}) => x8.actionReceipt(e, { undo: t }),
+ failure: x8.actionFailure,
canFlip: $.followFeedActions.canFlip
});
}
-function pze() {
+function bze() {
$.controller = Ma({
location: () => location,
view: y9,
@@ -83124,8 +83202,8 @@ function pze() {
preferences: () => ({
selectMode: Ql,
selected: Zl,
- photoSize: xM(),
- photoLayout: SM(),
+ photoSize: _M(),
+ photoLayout: vM(),
imagesOnly: !!Z.appSettings.followImagesOnly
}),
live: x9,
@@ -83138,36 +83216,36 @@ function pze() {
});
},
openPage: _9,
- rollSeed: () => Number(S8.rollSeed()),
+ rollSeed: () => Number(x8.rollSeed()),
enterSeed: () => Math.floor(Math.random() * 4294967295),
revealFeed: () => {
- Nl(), B5(), z5({ manage: !1 });
+ Nl(), z5(), R5({ manage: !1 });
},
- syncPhotoWalls: c5,
+ syncPhotoWalls: s5,
scrollTop: () => {
pm(() => location.pathname === "/follow", L("#stats").querySelector("[data-filter-frame]"));
}
}, $.followFeedHelpers, $.followFeedActions), $.followFeedActions = $.controller.actions, $.followFeedProps = $.controller.props, $.followFeedShell.refresh = $.controller.refresh, $.followFeedShell.props = $.controller.props;
}
// src/application/lifecycle.js
-function mze() {
- iDe(), Qc(document), Ro(document.documentElement, { variant: "page" }), Ro(L("#drawerScroll")), R8.own(Yc()), Wa(document.body), X.homeHasFeed = _Le(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, R5.sidebarProps = {
+function xze() {
+ fDe(), Qc(document), Ro(document.documentElement, { variant: "page" }), Ro(L("#drawerScroll")), L8.own(Yc()), Wa(document.body), X.homeHasFeed = TLe(), X.barsRequestSeq = 0, X.barsPendingSeq = 0, X.barsRendered = "", X.catalogFilterProps = null, X.catalogFilterMounting = null, X.catalogTagRows = [], X.catalogTopsPages = null, L5.sidebarProps = {
content: null,
filters: {},
latest: null
- }, R5.sidebarSurface = "", R5.sidebarCatalog = null, R5.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [
+ }, L5.sidebarSurface = "", L5.sidebarCatalog = null, L5.sidebarContentSeq = 0, $.followFilter = "", $.followAuthors = /* @__PURE__ */ new Set(), $.followProviders = /* @__PURE__ */ new Set(), $.followTags = /* @__PURE__ */ new Set(), $.followWorks = /* @__PURE__ */ new Set(), $.followMediaView = "videos", $.FOLLOW_FEED_SORTS = [
["new", "更新时间"],
["hot", "热度"],
["dur", "时长"]
], $.FOLLOW_RANDOM_SORT = "rand", $.followSort = "new", $.followDir = "desc", $.followSeed = 0, $.followDurMin = 0, $.followDurMax = 0;
}
// src/application/tutorial.js
-async function hze() {
- wU({ reopen: !0 });
+async function Sze() {
+ CU({ reopen: !0 });
}
-function gze() {
+function Cze() {
let e = new URL(location.href), t = e.searchParams.get("onboarding") === "1";
- W({ cameFromSetup: t }), R8.handler(document.getElementById("tutorialBtn"), "onclick", () => wU()), wU({ invitation: !0 }), t && e.searchParams.delete("onboarding");
+ W({ cameFromSetup: t }), L8.handler(document.getElementById("tutorialBtn"), "onclick", () => CU()), CU({ invitation: !0 }), t && e.searchParams.delete("onboarding");
let n = e.searchParams.get("agentation");
try {
localStorage.removeItem("peach.agentation");
@@ -83229,15 +83307,15 @@ var T9 = [
size: 5
}
];
-function _ze() {
+function wze() {
return T9.map((e) => ({
...e,
items: [],
pending: !0
}));
}
-var vze = (e) => e.startsWith(String((/* @__PURE__ */ new Date()).getFullYear())) ? e.slice(5, 10) : e.slice(0, 10), E9 = (e, t = e.length) => t > 1 ? `${e[0]} 等 ${t} 人` : e[0] || "";
-async function yze(e) {
+var Tze = (e) => e.startsWith(String((/* @__PURE__ */ new Date()).getFullYear())) ? e.slice(5, 10) : e.slice(0, 10), E9 = (e, t = e.length) => t > 1 ? `${e[0]} 等 ${t} 人` : e[0] || "";
+async function Eze(e) {
let t = await e("/api/search/recommendations"), n = (e, t, n, r = "") => ({
value: String(e.code || e.display_title || e.title || e.name || "未命名作品"),
id: e.id,
@@ -83272,7 +83350,7 @@ async function yze(e) {
avatar_focus: n.avatar_focus,
rep: n.has_avatar ? n.rep : null,
works: [e],
- subtitle: r ? `最新作 ${r.code || "无番号"} · ${vze(r.release_date)}` : "最新作未取得"
+ subtitle: r ? `最新作 ${r.code || "无番号"} · ${Tze(r.release_date)}` : "最新作未取得"
});
}
a.performer = o && [...s.values()];
@@ -83287,9 +83365,9 @@ async function yze(e) {
let i = ha(r);
for (let a of ["videos", "images"]) {
if (a === "images" ? !i.has("image") : i.size && !i.has("video")) continue;
- let o = ga(r, a), s = n.sources.find((e) => e.id === o.source_id), c = xG(o, s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], n), l = a === "images" ? o.media_items?.find((e) => e.media_kind === "image") : void 0;
+ let o = ga(r, a), s = n.sources.find((e) => e.id === o.source_id), c = bG(o, s?.author_key ? n.sources.filter((e) => e.author_key === s.author_key) : s ? [s] : [], n), l = a === "images" ? o.media_items?.find((e) => e.media_kind === "image") : void 0;
(a === "images" ? t : e).push({
- value: _G(o),
+ value: gG(o),
id: o.id,
who: c.author,
whoAvatarHtml: c.avatar,
@@ -83311,8 +83389,8 @@ async function yze(e) {
}, `/works/${encodeURIComponent(e.code)}`)) : null, a.author = t.authors ? (t.authors.items || []).map((e) => ({
value: e.k,
href: e.entity_id ? `/creators/${e.entity_id}` : `/follow?author=${encodeURIComponent(e.key)}`,
- avatarHtml: I8(e),
- subtitle: e.latest ? `最新更新于 ${DG({ published_at: e.latest })}` : "更新时间未取得"
+ avatarHtml: F8(e),
+ subtitle: e.latest ? `最新更新于 ${EG({ published_at: e.latest })}` : "更新时间未取得"
})) : null, {
groups: T9.map((e) => {
let t = a[e.kind] ?? [];
@@ -83327,7 +83405,7 @@ async function yze(e) {
};
}
// src/application/search-morph.js
-function bze(e, t, n, r, i, a, o) {
+function Dze(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);
@@ -83352,7 +83430,7 @@ var D9 = {
function O9() {
D9.searchControl?.close();
}
-function xze(e) {
+function Oze(e) {
let t = e ? to({
...e,
is_jav: !!e.code
@@ -83371,38 +83449,38 @@ function A9(e) {
if (t.classList.toggle("open", e), L("#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 = Uc();
t.classList.add("search-morphing");
- let h = t.animate(bze(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {
+ let h = t.animate(Dze(f, p, s, r ? a : e ? d : l, e ? l : d, m.easing, innerWidth), {
duration: m.duration,
easing: "linear",
fill: "both"
});
- D9.searchMorph = h, R8.handler(h, "onfinish", () => {
+ D9.searchMorph = h, L8.handler(h, "onfinish", () => {
D9.searchMorph === h && k9();
});
}
-function Sze() {
- return e9.immerseOpen() ? s8().activeVideo() : i8()?.activeVideo() || null;
+function kze() {
+ return e9.immerseOpen() ? o8().activeVideo() : r8()?.activeVideo() || null;
}
-function Cze(e) {
+function Aze(e) {
return !!e && (e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.isContentEditable);
}
-function wze() {
+function jze() {
D9.searchControl = null, D9.searchActions = {
search: (e) => {
X.rememberSearchValue(), r9(!1), U.q = e, Su(), Q.route(U.jav === "1" ? m7() : U.q ? "/?q=" + encodeURIComponent(U.q) : "/", !0);
},
openItem: (e) => s9(e),
- openEntity: (e, t) => g5(e, t),
+ openEntity: (e, t) => h5(e, t),
openPath: (e) => Q.route(e, !1),
openFollow: (e, t, n) => {
$.followMediaView = t, w9(e, !0, n);
}
}, D9.searchHelpers = {
- pool: () => kxe(U, Tn),
- recommendations: () => yze(Tn),
- pendingRecommendations: _ze,
+ pool: () => Lxe(U, Tn),
+ recommendations: () => Eze(Tn),
+ pendingRecommendations: wze,
rollPlaceholder: (e, t) => Qs(e, t),
- coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${z(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? G8(e) : xze(e)}</span>`,
+ coverHtml: (e) => `<span class="pic">${e?.thumb_url ? `<img src="${z(e.thumb_url)}" width="640" height="360" alt="" loading="lazy" referrerpolicy="no-referrer" data-drop="self">` : e?.sourceWork ? W8(e) : Oze(e)}</span>`,
present: (e) => cs(e),
dismiss: (e) => ls(e),
wireScroller: (e) => Ac(e),
@@ -83428,30 +83506,30 @@ function wze() {
}, {
container: L("#searchMenu"),
isCurrent: () => !0
- }), R8.listen(L("#q"), "beforeinput", (e) => {
+ }), L8.listen(L("#q"), "beforeinput", (e) => {
e.isComposing || X.rememberSearchValue(e.currentTarget);
- }), R8.listen(L("#q"), "scroll", (e) => {
+ }), L8.listen(L("#q"), "scroll", (e) => {
e.currentTarget.value && X.rememberSearchValue(e.currentTarget);
- }), R8.listen(L("#q"), "pointerdown", (e) => {
+ }), L8.listen(L("#q"), "pointerdown", (e) => {
e.currentTarget.value && X.rememberSearchValue(e.currentTarget);
});
}
-function Tze() {
- D9.searchMorph = null, D9.searchMorphViewport = innerWidth, R8.listen.bind(R8, window)("resize", () => {
+function Mze() {
+ D9.searchMorph = null, D9.searchMorphViewport = innerWidth, L8.listen.bind(L8, window)("resize", () => {
innerWidth !== D9.searchMorphViewport && (D9.searchMorphViewport = innerWidth, k9());
- }, { passive: !0 }), R8.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", k9), R8.handler(L("#searchBtn"), "onclick", () => {
+ }, { passive: !0 }), L8.listen(matchMedia("(prefers-reduced-motion:reduce)"), "change", k9), L8.handler(L("#searchBtn"), "onclick", () => {
A9(!0), L("#q").focus({ preventScroll: !0 });
- }), R8.handler(L("#searchBack"), "onclick", () => {
+ }), L8.handler(L("#searchBack"), "onclick", () => {
A9(!1), O9(), L("#q").blur(), L("#searchBtn").focus({ preventScroll: !0 });
});
let e = (e) => {
e.target.closest(".search") || (e.type !== "focusin" || e.target !== document.body && e.target !== document.documentElement) && (L("#q").value || A9(!1), O9());
};
- R8.listen(document, "pointerdown", e, !0), R8.listen(document, "focusin", e), R8.handler(L("#brandHome"), "onclick", (e) => {
+ L8.listen(document, "pointerdown", e, !0), L8.listen(document, "focusin", e), L8.handler(L("#brandHome"), "onclick", (e) => {
e.preventDefault(), h7();
- }), R8.listen(document, "keydown", (e) => {
+ }), L8.listen(document, "keydown", (e) => {
if (e.key === "Escape") {
- let t = u8();
+ let t = l8();
if (t?.isOpen()) {
t.close();
return;
@@ -83461,24 +83539,24 @@ function Tze() {
return;
}
if (e9.immerseOpen()) {
- s8().close();
+ o8().close();
return;
}
if (e9.stageOpen()) {
- e.defaultPrevented || (e.preventDefault(), i8().requestEscape());
+ e.defaultPrevented || (e.preventDefault(), r8().requestEscape());
return;
}
if (L("#drawer").classList.contains("open")) {
- G5(!1);
+ W5(!1);
return;
}
if (Ql || Xl.size || Zl.size) {
- E5(!1, !0);
+ T5(!1, !0);
return;
}
return;
}
- if (Cze(e.target) || e.ctrlKey || e.metaKey || e.altKey) return;
+ if (Aze(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) {
@@ -83486,37 +83564,37 @@ function Tze() {
return;
}
}
- let t = Sze();
+ let t = kze();
if (t) {
if (e.key === "t" || e.key === "T") {
- e.preventDefault(), i8()?.toggleTheater();
+ e.preventDefault(), r8()?.toggleTheater();
return;
}
if (e.key === "ArrowLeft" || e.key === "ArrowRight") {
- e.preventDefault(), lP(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));
+ e.preventDefault(), sP(t, Z.appSettings.seekSeconds * (e.key === "ArrowRight" ? 1 : -1));
return;
}
if (e.key === " " || e.key === "k" || e.key === "K") {
- e.preventDefault(), cP(t);
+ e.preventDefault(), oP(t);
return;
}
if (e.key === "m" || e.key === "M") {
- e.preventDefault(), CN(t, ".vjs-mute-control");
+ e.preventDefault(), xN(t, ".vjs-mute-control");
return;
}
if (e.key === "f" || e.key === "F") {
- e.preventDefault(), CN(t, ".vjs-fullscreen-control");
+ e.preventDefault(), xN(t, ".vjs-fullscreen-control");
return;
}
if (e.key === "i" || e.key === "I") {
- e.preventDefault(), i8()?.toggleMiniplayer();
+ e.preventDefault(), r8()?.toggleMiniplayer();
return;
}
}
});
}
// src/history/links.ts
-function Eze(e) {
+function Nze(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;
@@ -83539,23 +83617,23 @@ var j9 = {
shellActions: void 0,
routing: void 0
};
-function Dze() {
- let e = R8, t = (e) => {
+function Pze() {
+ let e = L8, t = (e) => {
e.kind === "item" ? s9(e.id, !1) : e.kind === "jav" ? l9(e.code, !1) : e.kind === "follow" ? w9(e.id, !1) : i9(e.queue, e.key, e.item, !1);
};
- if (gLe(), N5.entityShapesReady = K8(), iRe(), location.pathname === "/") {
+ if (wLe(), M5.entityShapesReady = G8(), fRe(), location.pathname === "/") {
let e = new URLSearchParams(location.search);
!e.has("state") && e.get("jav") !== "1" && (L("#catalogPageHeading").hidden = !1, Q5(L("#catalogPageHeading"), e.get("q")));
}
- Q8(decodeURIComponent(location.pathname)) && Y8(L("#feedNew")), fRe(), j9.shellActions = {
- openSettings: (e) => q5(e, !0),
- closeSettings: () => u8()?.close(!1),
+ Z8(decodeURIComponent(location.pathname)) && J8(L("#feedNew")), bRe(), j9.shellActions = {
+ openSettings: (e) => K5(e, !0),
+ closeSettings: () => l8()?.close(!1),
openItem: (e) => void s9(e),
- openEntity: (e, t) => void g5(e, t),
+ openEntity: (e, t) => void h5(e, t),
openTag: (e) => {
- cRe(), N7(e);
+ gRe(), N7(e);
},
- openTasteSignal: MLe,
+ openTasteSignal: BLe,
navigate: (e) => {
let n = new URL(e, location.href), r = zf(n.pathname, n.search);
if (r) {
@@ -83570,34 +83648,34 @@ function Dze() {
openManage: t7,
managePath: (e) => Q.routePathOf("section", e) || "",
openFollow: () => C9(),
- receipt: (e, t) => S8.actionReceipt(e, t),
- toast: (e, t) => S8.toast(e, t),
- failure: S8.actionFailure,
- revealSource: d5,
- reopenTutorial: hze,
- routeReview: FLe,
- routeFollowManage: ZLe,
+ receipt: (e, t) => x8.actionReceipt(e, t),
+ toast: (e, t) => x8.toast(e, t),
+ failure: x8.actionFailure,
+ revealSource: u5,
+ reopenTutorial: Sze,
+ routeReview: ULe,
+ routeFollowManage: aRe,
saveFollowPreference: (e) => {
e.pageSize !== void 0 && (Z.appSettings.followPageSize = e.pageSize), e.layout !== void 0 && (Z.appSettings.followLayout = e.layout), Z.saveSettings();
},
srcBadge: (e, t) => Z.srcBadge(e, t),
- routeIndex: (e, { replace: t = !1 } = {}) => Q.route(A5(e), t),
+ routeIndex: (e, { replace: t = !1 } = {}) => Q.route(k5(e), t),
savePeopleLayout: ({ layout: e }) => {
Z.appSettings.peopleLayout = e, Z.saveSettings();
},
- exitSelectMode: () => E5(!1, !1),
- personAvatar: (e, t, n) => k5.personAvatar(e, t, n),
- authorAvatar: (e) => $Le(e),
- showIndexTags: eRe,
- openFollowAuthor: M5,
- openFollowTag: tRe,
+ exitSelectMode: () => T5(!1, !1),
+ personAvatar: (e, t, n) => O5.personAvatar(e, t, n),
+ authorAvatar: (e) => sRe(e),
+ showIndexTags: cRe,
+ openFollowAuthor: j5,
+ openFollowTag: lRe,
openPlaylist: (e, t) => void a9(e, t, !0),
canFlip: () => !Ql && !Z7() && !window.__scrolling && !X.reduceMotion(),
surfaceChanged: (e, t) => {
e === "entity" ? (Nl(), W({ barsContext: {
type: "home",
filters: U
- } }), V5(), document.body.classList.add("entity-open"), S7(), j5()) : e === "index" ? (Nl(), document.body.classList.remove("entity-open"), Q.claimSurface(t), V5(), document.body.classList.add("index-open"), S7(), j5()) : (Nl(), Q.claimSurface(t), e === "catalog" ? V5() : (B5(), z5({ manage: e === "management" })));
+ } }), B5(), document.body.classList.add("entity-open"), S7(), A5()) : e === "index" ? (Nl(), document.body.classList.remove("entity-open"), Q.claimSurface(t), B5(), document.body.classList.add("index-open"), S7(), A5()) : (Nl(), Q.claimSurface(t), e === "catalog" ? B5() : (z5(), R5({ manage: e === "management" })));
},
clearSearch: () => X.clearSearchField(),
openImmerse: (e) => {
@@ -83625,21 +83703,21 @@ function Dze() {
},
entity: {
missing: (e) => {
- j9.shellActions.surfaceChanged("entity", location.pathname), h5(e);
+ j9.shellActions.surfaceChanged("entity", location.pathname), m5(e);
},
loading: (e, t, n) => Y.application.loading(e, t, n),
props: (e, t, n) => Y.application.addressProps(e, t, n),
refresh: (e, t, n) => {
let r = Y.parseEntityFilters(n);
e === "creator" && (r.creator = "");
- let i = i5();
- return i.type !== "entity" || i.kind !== e || i.name !== t || !o5(e, t, r, Y.parseMediaView(n), { push: !1 }) ? !1 : (y7(r), b7(i5()), !0);
+ let i = r5();
+ return i.type !== "entity" || i.kind !== e || i.name !== t || !a5(e, t, r, Y.parseMediaView(n), { push: !1 }) ? !1 : (y7(r), b7(r5()), !0);
}
},
follow: $.followFeedShell,
catalog: {
defaultLoc: () => p7("local,115"),
- open: (e, { entering: t = !1, retitle: n = !1 } = {}) => (n && (g9(), d7(), Z5()), t && O8(), e === "/trash" ? X.clearSearchField() : (L("#q").value = U.q, X.rememberSearchValue()), p9(), j7(), Z.handOff(I7())),
+ open: (e, { entering: t = !1, retitle: n = !1 } = {}) => (n && (g9(), d7(), Z5()), t && D8(), e === "/trash" ? X.clearSearchField() : (L("#q").value = U.q, X.rememberSearchValue()), p9(), j7(), Z.handOff(I7())),
load: () => Z.handOff(I7()),
fill: () => {
if (V7() || !Ap() && !L("#grid").querySelector(".catalog-skeleton")) return;
@@ -83647,27 +83725,27 @@ function Dze() {
e.removeAttribute("aria-busy"), e.removeAttribute("aria-label"), z7(Q.surfaceToken(Q.surfacePath()));
},
release: () => {
- R7(), $8();
+ R7(), Q8();
}
}
}, j9.routing = !1, e.listen(document, "click", (e) => {
- let t = Eze(e);
+ let t = Nze(e);
t && (e.preventDefault(), j9.shellActions.navigate(t));
- }), R8.own(Op.listen((e) => {
+ }), L8.own(Op.listen((e) => {
Q.queueOpenRequest && e.seq !== Q.queueOpenRequest.seq && !Bf(e.location.pathname) && r9(!1), j9.routing && !e.claimed && g9();
- })), PIe(j9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), hRe(), GLe(), Y5(), Promise.all([
+ })), HIe(j9.shellActions).catch((e) => console.error("客户端导航装载失败", e)), X5(), $Le(), J5(), Promise.all([
J7(),
- pRe(),
- N5.entityShapesReady
+ xRe(),
+ M5.entityShapesReady
]).then(() => {
- e.isActive && (N5.wantsDiscoveryBars() && j7().catch((e) => console.error("首页横条装载失败", e)), p9(), WRe(), j9.routing = !0, W({ pageOpens: 1 }), g9(), f7());
+ e.isActive && (M5.wantsDiscoveryBars() && j7().catch((e) => console.error("首页横条装载失败", e)), p9(), ZRe(), j9.routing = !0, W({ pageOpens: 1 }), g9(), f7());
}).catch((t) => {
e.isActive && console.error("应用启动失败", t);
});
}
// src/theme-transition.ts
var M9 = !1;
-async function Oze(e, t) {
+async function Fze(e, t) {
if (M9) return;
if (!document.startViewTransition || matchMedia("(prefers-reduced-motion: reduce)").matches) {
t();
@@ -83689,9 +83767,9 @@ async function Oze(e, t) {
}
}
// src/application/chrome.js
-function kze() {
+function Ize() {
(() => {
- let e = R8, t = [
+ let e = L8, t = [
"#brandHome",
"#filterBtn",
"#settingsBtn"
@@ -83751,7 +83829,7 @@ function kze() {
e.key === "Escape" && (e.stopPropagation(), u.setOpen(!1), c.focus());
}), Tn("/api/libraries", { signal: e.signal }).then((t) => {
if (!e.isActive) return;
- ZG(t.libraries);
+ XG(t.libraries);
let n = [[
"",
"全部媒体库",
@@ -83772,7 +83850,7 @@ function kze() {
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="${z(e)}" aria-pressed="${e === i}"><span class="board-library-avatar">${o(n)}</span><span>${z(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), G5(!1), b5("媒体库与入库");
+ u.setOpen(!1), W5(!1), y5("媒体库与入库");
});
let d = l.querySelector(".board-library-rows");
e.listen(d, "pointerover", (e) => {
@@ -83789,18 +83867,18 @@ function kze() {
(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="浅色主题">${R("sun")}</button><button type="button" data-board-theme="dark" aria-label="深色主题">${R("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" && Oze(t, () => {
- Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), uM();
+ t.getAttribute("aria-pressed") !== "true" && Fze(t, () => {
+ Z.appSettings.theme = t.dataset.boardTheme, Z.saveSettings(), oM();
});
- })), uM();
+ })), oM();
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 = fs(g, v, _);
- e.own(y.dispose), e.own(Ile(v)), VIe({
+ e.own(y.dispose), e.own(Ble(v)), YIe({
root: _,
store: Z.settingsStore,
openDetails: () => {
- e.isActive && (y.setOpen(!1), G5(!1), q5("外观与导航").then((t) => {
+ e.isActive && (y.setOpen(!1), W5(!1), K5("外观与导航").then((t) => {
e.isActive && t.reveal("#homeGlowControls");
}));
}
@@ -83812,17 +83890,17 @@ function kze() {
let t = document.querySelector("#drawerScroll > [data-sidebar-head]"), n = document.querySelector("#drawer");
if (!t) return;
c.setAttribute("aria-label", "选择媒体库"), c.parentElement !== t && t.prepend(c);
- let r = n.classList.contains("open"), i = !W5();
+ let r = n.classList.contains("open"), i = !U5();
i || r ? m.parentElement !== t && t.append(m) : m.parentElement !== h.parentElement && h.after(m), n.inert = !i && !r;
}
- Z.placeSidebarHead = b, b(), e.listen(document, "board:sidebar", b), e.listen.bind(R8, window)("resize", b);
+ Z.placeSidebarHead = b, b(), e.listen(document, "board:sidebar", b), e.listen.bind(L8, window)("resize", b);
let x = !1;
function S() {
x = !1, document.body.classList.toggle("board-scrolled", scrollY > 8);
}
- if (e.listen.bind(R8, window)("scroll", () => {
+ if (e.listen.bind(L8, window)("scroll", () => {
x || (x = !0, e.frame(S));
- }, { passive: !0 }), e.listen.bind(R8, window)("resize", S), S(), /Chrome|Chromium|Edg\//.test(navigator.userAgent)) {
+ }, { passive: !0 }), e.listen.bind(L8, window)("resize", S), S(), /Chrome|Chromium|Edg\//.test(navigator.userAgent)) {
let t = "http://www.w3.org/2000/svg", n = document.createElementNS(t, "svg");
n.setAttribute("width", "0"), n.setAttribute("height", "0"), n.setAttribute("aria-hidden", "true"), n.style.position = "fixed", n.style.pointerEvents = "none";
let r = document.createElementNS(t, "defs");
@@ -83936,18 +84014,18 @@ function kze() {
subtree: !0
}), y();
}
- })(), G5(!W5() && sessionStorage.getItem("board.sidebar") !== "closed");
+ })(), W5(!U5() && sessionStorage.getItem("board.sidebar") !== "closed");
}
// src/application/initialize.js
-function Aze() {
- mze(), eze(), aRe(), tze(), KRe(), HIe(), LRe(), gze(), kLe(), QRe(), KLe(), RRe(), SLe(), ILe(), fze(), nRe(), ALe(), pze(), rRe(), jLe(), xRe(), zRe(), wze(), $Re(), Tze(), qRe(), Dze(), kze(), R8.own(R7), R8.own(m9);
+function Lze() {
+ xze(), sze(), pRe(), cze(), $Re(), XIe(), WRe(), Cze(), LLe(), aze(), eRe(), GRe(), ALe(), WLe(), yze(), uRe(), RLe(), bze(), dRe(), zLe(), ORe(), KRe(), jze(), oze(), Mze(), eze(), Pze(), Ize(), L8.own(R7), L8.own(m9);
}
// src/ui-kit/middle-truncate.ts
-var jze = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, P9 = /* @__PURE__ */ new WeakMap(), F9 = /* @__PURE__ */ new Set(), I9 = 0, L9 = /* @__PURE__ */ new WeakSet(), R9 = null, z9 = null, B9 = (e) => N9 ? [...N9.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? "")), V9 = (e, t) => {
+var Rze = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(void 0, { granularity: "grapheme" }) : null, P9 = /* @__PURE__ */ new WeakMap(), F9 = /* @__PURE__ */ new Set(), I9 = 0, L9 = /* @__PURE__ */ new WeakSet(), R9 = null, z9 = null, B9 = (e) => N9 ? [...N9.segment(String(e ?? ""))].map((e) => e.segment) : Array.from(String(e ?? "")), V9 = (e, t) => {
if (t >= e.length) return e.join("");
let n = Math.ceil(t / 2), r = Math.floor(t / 2);
- return e.slice(0, n).join("") + jze + (r ? e.slice(-r).join("") : "");
-}, Mze = (e, t) => {
+ return e.slice(0, n).join("") + Rze + (r ? e.slice(-r).join("") : "");
+}, zze = (e, t) => {
if (!e.length || t(e.join(""))) return e.length;
let n = 0, r = e.length - 1, i = 0;
for (; n <= r;) {
@@ -83955,21 +84033,21 @@ var jze = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(v
t(V9(e, a)) ? (i = a, n = a + 1) : r = a - 1;
}
return i;
-}, Nze = /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul} -〿＀-￯]/u, Pze = /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}]/u, Fze = /[\p{Script=Latin}\p{Script=Greek}\p{Script=Cyrillic}\p{Nd}]/u, Ize = /[＀-￯]/u, Lze = (e) => Pze.test(e) ? 1 : Fze.test(e) && !Ize.test(e) ? 2 : 0, Rze = (e) => {
+}, Bze = /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}\p{Script=Hangul} -〿＀-￯]/u, Vze = /[\p{Script=Han}\p{Script=Hiragana}\p{Script=Katakana}]/u, Hze = /[\p{Script=Latin}\p{Script=Greek}\p{Script=Cyrillic}\p{Nd}]/u, Uze = /[＀-￯]/u, Wze = (e) => Vze.test(e) ? 1 : Hze.test(e) && !Uze.test(e) ? 2 : 0, Gze = (e) => {
let t = 0, n = 0;
for (let r of e) {
- let e = Lze(r);
+ let e = Wze(r);
n && e && n !== e && t++, n = e;
}
return t;
-}, zze = null, Bze = (e, t) => {
- let n = getComputedStyle(e), r = (zze ||= document.createElement("canvas")).getContext("2d");
+}, Kze = null, qze = (e, t) => {
+ let n = getComputedStyle(e), r = (Kze ||= document.createElement("canvas")).getContext("2d");
if (!r) return () => Infinity;
r.font = n.font || `${n.fontStyle} ${n.fontWeight} ${n.fontSize} ${n.fontFamily}`;
let i = parseFloat(n.letterSpacing), a = parseFloat(n.wordSpacing), o = n.getPropertyValue("text-autospace"), s = t && o && o !== "no-autospace" ? (parseFloat(n.fontSize) || 0) / 8 : 0;
return (e) => {
let t = r.measureText(e).width;
- return Number.isFinite(i) && (t += Math.max(0, B9(e).length - 1) * i), Number.isFinite(a) && (t += (e.match(/\s/g) || []).length * a), s && (t += Rze(e) * s), t;
+ return Number.isFinite(i) && (t += Math.max(0, B9(e).length - 1) * i), Number.isFinite(a) && (t += (e.match(/\s/g) || []).length * a), s && (t += Gze(e) * s), t;
};
}, H9 = [
"font-family",
@@ -83996,7 +84074,7 @@ var jze = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(v
"text-autospace",
"text-spacing-trim",
"white-space-collapse"
-], U9 = null, Vze = (e) => {
+], U9 = null, Jze = (e) => {
if (!U9) {
let e = document.createElement("div");
e.setAttribute("aria-hidden", "true"), e.dataset.middleTruncateProbe = "", e.style.cssText = "position:fixed;left:0;top:0;width:0;height:0;overflow:hidden;visibility:hidden;pointer-events:none;contain:strict", U9 = {
@@ -84007,8 +84085,8 @@ var jze = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(v
U9.box.isConnected || document.documentElement.append(U9.box);
let t = getComputedStyle(e), n = H9.map((e) => t.getPropertyValue(e)), r = e.closest("[lang]")?.getAttribute("lang") || "", i = n.join("\n") + "\n" + r, a = U9.groups.get(i);
return a || (a = document.createElement("div"), n.forEach((e, t) => a.style.setProperty(H9[t], e)), a.lang = r, U9.box.append(a), U9.groups.set(i, a)), a;
-}, Hze = 8, Uze = (e) => {
- for (let t = 0; e.length && t < Hze; t++) {
+}, Yze = 8, Xze = (e) => {
+ for (let t = 0; e.length && t < Yze; t++) {
let t = e.map((e) => e.tries.map((t) => {
let n = document.createElement("span");
return n.style.cssText = "display:block;width:max-content;text-wrap-mode:nowrap", n.textContent = V9(e.fit.parts, t), e.group.append(n), n;
@@ -84026,28 +84104,28 @@ var jze = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(v
])].filter((t) => t > e.fits && t < e.fails), !0;
});
}
-}, Wze = (e) => {
+}, Zze = (e) => {
let t = [];
for (let n of e) {
- let e = n.state.full, r = Nze.test(e), i = Bze(n.element, r);
- if (n.kept = Mze(n.parts, (e) => i(e) <= n.available), !r) continue;
+ let e = n.state.full, r = Bze.test(e), i = qze(n.element, r);
+ if (n.kept = zze(n.parts, (e) => i(e) <= n.available), !r) continue;
let a = [n.kept, n.kept + 1].filter((e) => e > 0 && e <= n.parts.length);
t.push({
fit: n,
- group: Vze(n.element),
+ group: Jze(n.element),
fits: 0,
fails: n.parts.length + 1,
tries: a
});
}
- Uze(t);
-}, Gze = (e) => {
+ Xze(t);
+}, Qze = (e) => {
let t = getComputedStyle(e), n = parseFloat(t.width);
if (!Number.isFinite(n)) return e.clientWidth;
let r = t.boxSizing === "border-box" ? n - (parseFloat(t.borderLeftWidth) || 0) - (parseFloat(t.borderRightWidth) || 0) : n + (parseFloat(t.paddingLeft) || 0) + (parseFloat(t.paddingRight) || 0);
return Math.max(e.clientWidth, r + 1 / 64);
-}, Kze = (e) => {
- if (e.dataset.middleTruncateWithin === void 0) return Gze(e);
+}, $ze = (e) => {
+ if (e.dataset.middleTruncateWithin === void 0) return Qze(e);
let t = e.parentElement;
if (!t) return e.clientWidth;
let n = getComputedStyle(t), r = parseFloat(n.columnGap) || 0, i = 0, a = 0;
@@ -84056,7 +84134,7 @@ var jze = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(v
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);
-}, qze = () => {
+}, eBe = () => {
I9 = 0;
let e = [];
for (let t of F9) {
@@ -84064,12 +84142,12 @@ var jze = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(v
n && t.isConnected && e.push({
element: t,
state: n,
- available: Kze(t),
+ available: $ze(t),
parts: B9(n.full),
kept: 0
});
}
- F9.clear(), Wze(e.filter((e) => e.available > 0));
+ F9.clear(), Zze(e.filter((e) => e.available > 0));
for (let { element: t, state: n, available: r, parts: i, kept: a } of e) {
let e = r > 0 ? V9(i, a) : n.full;
n.rendered = e, t.textContent !== e && (t.textContent = e);
@@ -84077,7 +84155,7 @@ var jze = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(v
t.classList.toggle("middle-truncated", o), t.setAttribute("aria-label", n.full), t.hasAttribute("title") && t.dataset.middleTitle !== "true" || (t.title = n.full, t.dataset.middleTitle = "true");
}
}, W9 = (e) => {
- P9.has(e) && (F9.add(e), I9 ||= requestAnimationFrame(qze));
+ P9.has(e) && (F9.add(e), I9 ||= requestAnimationFrame(eBe));
}, G9 = (e) => {
e instanceof HTMLElement && (P9.has(e) || P9.set(e, {
full: e.textContent || "",
@@ -84088,7 +84166,7 @@ var jze = "…", N9 = typeof Intl.Segmenter == "function" ? new Intl.Segmenter(v
let t = e;
t.matches("[data-middle-truncate]") && G9(t), t.querySelectorAll("[data-middle-truncate]").forEach(G9);
};
-function Jze(e = document) {
+function tBe(e = document) {
z9?.(), L9 = /* @__PURE__ */ new WeakSet();
let t = !0;
R9 = new ResizeObserver((e) => e.forEach((e) => {
@@ -84155,7 +84233,7 @@ var q9 = [
"jav-detail",
"wants",
"index"
-], Yze = {
+], nBe = {
catalog: [
...q9,
...J9,
@@ -84176,10 +84254,10 @@ var q9 = [
"avatar-choices"
]
};
-function Xze() {
+function rBe() {
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 Yze[t] || []) e.add(n);
+ for (let t of Object.keys(r)) if (r[t] !== n[t]) for (let n of nBe[t] || []) e.add(n);
return !t && e.size && (t = (async () => {
for (; e.size;) {
let t = new Set(e);
@@ -84192,12 +84270,12 @@ function Xze() {
})), t || Promise.resolve();
};
}
-function Zze() {
+function iBe() {
let e = Ft({
- queryKey: qI,
- queryFn: ({ signal: e }) => YI(e),
- refetchInterval: (e) => JI(e.state.data)
- }), t = (0, F.useRef)(void 0), [n] = (0, F.useState)(Xze), r = e.data?.result_versions;
+ queryKey: KI,
+ queryFn: ({ signal: e }) => JI(e),
+ refetchInterval: (e) => qI(e.state.data)
+ }), t = (0, F.useRef)(void 0), [n] = (0, F.useState)(rBe), r = e.data?.result_versions;
return (0, F.useEffect)(() => {
r && (t.current && n(t.current, r), t.current = r);
}, [r, n]), null;
@@ -84207,52 +84285,52 @@ var X9 = null;
function Z9(e) {
X9 !== e || e.owners || (X9 = null, e.effects.dispose());
}
-function Qze() {
+function aBe() {
if (!X9) {
- let e = iLe();
+ let e = fLe();
X9 = {
effects: e,
owners: 0
- }, e.own(Jze(document)), e.own(() => {
+ }, e.own(tBe(document)), e.own(() => {
Nl(), H.cancelQueries();
- }), e.own(FIe), e.own(vp), e.own(os);
+ }), e.own(UIe), e.own(vp), e.own(os);
}
return X9.owners += 1, X9.effects.resume(), X9;
}
-function $ze() {
+function oBe() {
let [e, t] = (0, F.useState)(null);
return (0, F.useLayoutEffect)(() => {
- let e = X9 === null, n = Qze(), r = NIe(t);
+ let e = X9 === null, n = aBe(), r = VIe(t);
if (e) try {
- Aze();
+ Lze();
} catch (e) {
throw r(), n.effects.dispose(), X9 = null, e;
}
return () => {
r(), --n.owners, !n.owners && (n.effects.pause(), queueMicrotask(() => Z9(n)));
};
- }, []), /* @__PURE__ */ (0, I.jsx)(sbe, {
+ }, []), /* @__PURE__ */ (0, I.jsx)(hbe, {
actions: e,
processing: !0,
- background: e ? /* @__PURE__ */ (0, I.jsx)(Zze, {}) : null
+ background: e ? /* @__PURE__ */ (0, I.jsx)(iBe, {}) : null
});
}
var Q9 = /* @__PURE__ */ new WeakMap();
-function eBe(e) {
+function sBe(e) {
let t = Q9.get(e);
if (t) return t;
- let n = (0, zt.createRoot)(e, cbe);
+ let n = (0, zt.createRoot)(e, gbe);
Q9.set(e, n);
let r = n.unmount.bind(n);
return n.unmount = () => {
Q9.get(e) === n && (Q9.delete(e), r(), X9 && Z9(X9));
- }, (0, Rt.flushSync)(() => n.render(/* @__PURE__ */ (0, I.jsx)($ze, {}))), n;
+ }, (0, Rt.flushSync)(() => n.render(/* @__PURE__ */ (0, I.jsx)(oBe, {}))), n;
}
// src/react/bootstrap.tsx
O();
var $9 = document.getElementById("appRoot");
if (!$9) throw Error("主界面宿主缺失");
-eBe($9);
-export { UL as $2ec61d1d4f780267$export$a8a3e93435678ff9, ZL as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, mz as $542a13ca2fa5b484$export$5b6b19405a83ff9d, ED as $72abaeab4d80592f$export$78efe591171d7d45, oB as $76d00c5a4edb230a$export$76ccd210b9029917, rB as $76d00c5a4edb230a$export$816b5d811295e6bc, lB as $76d00c5a4edb230a$export$b59bdbef9ce70de2, dB as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, nB as $76d00c5a4edb230a$export$f850895b287ef28e, Ohe as $b4f18e3395fe64d7$export$3d96ec278d3efce4, Dhe as $b4f18e3395fe64d7$export$3e41faf802a29e71, whe as $b4f18e3395fe64d7$export$b2539bed5023c21c, hB as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, jhe as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, pE as $ea3928288112382f$export$439d29a4e110a164, Dz as $f2ff30fde7b014be$export$3ddf2d174ce01153, Pz as $fe21c36db05242bb$export$a98f0dcb43a68a25, Fz as $fe21c36db05242bb$export$d7b12c4107be0d61, mge as $l, Jj as ACCENTS, yAe as AMANE_BRIDGE_CHECK_URL, L$ as AMANE_BRIDGE_KEY, bAe as AMANE_BRIDGE_REBUILD_URL, sr as ApiError, YU as ArtSlot, g2 as BATCH_DELETE_TEXT, J as Button, xL as ButtonLink, qB as Bx, f$ as CLEANUP_ENTRY, d$ as CLEANUP_ENTRY_GRID, Zf as CLEANUP_HASH_REDIRECTS, Yf as CLEANUP_TOOLS, vn as CLOUD_LOCATIONS, H1 as CLOUD_PROXY_HELP, Kr as COLUMN_SORT, e1 as CONFIGURATION_KEY, KY as CONFIGURATION_URL, xAe as COOKIE_TEXT_LIMIT, I$ as COVER_JOB_KEY, Yi as CREDENTIAL_STATE, M$ as CUSTOM_SOURCES_KEY, j$ as CUSTOM_SOURCES_URL, uG as CatalogViewToggle, VV as Checkbox, BV as CheckboxGlyph, jV as ChevronSortDown, JU as Chip, rW as CloudDownloadDialog, FH as CollapseChevron, PH as CollapseRegion, a$ as CollectionSummary, Qwe as DEFAULT_CATEGORY, dr as DEFAULT_SORT, jQ as DIAGNOSTICS_KEY, ZTe as DIRECTORY_TEMPLATE_ERROR, uW as DISCOVERY_SORTS, ZU as DOWNLOADS_KEY, XU as DOWNLOADS_URL, fY as DUPLICATES_KEY, KJ as DataTableFooter, HJ as DataTableFrame, GJ as DataTableSort, VH as Disclosure, uye as DownloadsPanel, rge as E3, $we as ENTITY_REVIEW_KINDS, B1 as ENTRY_LINKS_HELP, V1 as ENTRY_LINKS_HINT, zB as Ea, Vge as EmptyFocusButton, pV as EmptyState, zH as ErrorText, jge as Eu, rve as ExternalLink, Vr as FEEDS_KEY, eX as FEED_SCHEDULE_KEY, l$ as FIELDSET_FOOT, zFe as FLOW_LABEL_X, X3 as FLOW_VIEWBOX, zr as FOLLOW_CHECK_KEY, Rr as FOLLOW_CREDENTIALS_KEY, N8 as FOLLOW_INITIAL_RANGE_OPTIONS, Lr as FOLLOW_MANAGE_KEY, PZ as FOLLOW_MANAGE_NAV, Br as FOLLOW_RESOLVE_KEY, $Y as FOLLOW_SCHEDULE_KEY, ove as Fact, ave as FactList, BH as FieldLabel, S$ as Fieldset, x$ as FieldsetTitle, Tpe as FilterGlass, mL as FilterGlassRows, pL as FilterIconButton, hL as FilterPill, nve as Footer, WB as Gg, gL as GlassPill, ZB as HN, RH as Help, iV as HintText, jFe as IDLE_POLL_MS, Vwe as IDLE_REPAIR, lL as IconButton, NQ as IndexSearch, lV as Input, cV as InputBase, w$ as IssueRow, fM as JAV_LAYOUTS, F0 as JAV_RECOMMENDATION_GRID, TX as JUNK_KEY, yW as JavHeader, Fwe as KEEP_LABELS, qhe as L1, Ur as LAYOUTS, z1 as LIBRARY_FOLDER_HELP, eH as LIBRARY_PROCESSING_KEY, RY as LINKS_KEY, zY as LINK_CHECK_KEY, CTe as LINK_KINDS, BY as LINK_PRUNE_KEY, nr as LOC, rV as Label, D$ as LibraryProcessingCard, AV as LibraryShortcuts, gH as LinkButton, gge as Lo, kH as LoadingDots, age as M6, OTe as MEDIA_PROCESSING_KEY, nX as MEDIA_PROCESSING_URL, _Y as MEDIA_REPAIR_KEY, gY as MEDIA_REPAIR_URL, yr as MEDIA_SOURCES_KEY, _s as MEDIA_SOURCE_ICONS, gn as MEDIA_SOURCE_OPTIONS, FV as MENU_ITEM, IV as MENU_ITEM_INTERACTIVE, PV as MENU_POPOVER_SURFACE, vge as Ma, bH as MenuDialog, bK as MixCard, uV as ModalFrame, Cx as MotionConfigContext, tV as NR, C$ as NameLink, fV as Note, Lge as OA, aX as ORGANIZE_KEY, p2 as ORGANIZE_PARAMETER_HINT, f2 as ORGANIZE_SCOPE_HINT, d2 as ORGANIZE_TEXT, cX as ORPHAN_RECORDS_KEY, h2 as ORPHAN_RECORDS_TEXT, HB as OV, DB as P7, SX as PERFORMER_DELETE_KEY, yye as PHASES, qY as PICK_FOLDER_URL, m$ as PLAIN_STAT_STRIP, k$ as PLAYLISTS_KEY, Eje as POLICY_COLUMNS, Oje as POLICY_COVER_NOTE, Dje as POLICY_MATRIX, R1 as POLICY_SUMMARY, WJ as Pagination, E$ as PathLine, $B as Pf, RI as PillTabList, Vke as PlainStat, jH as Progress, SY as QUALITY_GOALS_KEY, QB as RB, M0 as RELEASE_COLUMN_VISIBILITY_KEY, j0 as RELEASE_COLUMN_WIDTHS_KEY, dW as RELEASE_SORTS, nMe as RELEASE_SORT_COLUMNS, g$ as REPAIR_CARD_TEXT, vY as REPAIR_LIBRARIES_KEY, pX as RESOURCE_APPLY_KEY, fX as RESOURCE_SCAN_KEY, m2 as RESOURCE_SYNC_TEXT, qke as RESULT_PANEL, Jke as RESULT_SECTION, Zwe as REVIEW_CATEGORIES, wX as REVIEW_COUNTS_KEY, eTe as REVIEW_DECISION_LABELS, TY as REVIEW_KEY, EY as REVIEW_LABELS, OY as REVIEW_QUEUES, kY as REVIEW_QUEUE_LABELS, VG as RetryNote, Fge as Rf, nV as Rk, $_e as Rows, _Ae as SCRAPING_CHECK_URL, P$ as SCRAPING_COVER_URL, F$ as SCRAPING_KEY, gAe as SCRAPING_SETTINGS_URL, sU as SEGMENT, oU as SEGMENTED_TRACK, QY as SETTINGS_KEY, JY as SETTINGS_URL, fr as SORT_DEFAULT_DIR, ur as SORT_OPTIONS, yn as SOURCE_LABELS, x3 as STATS_KEY, zke as STAT_STRIP, Bke as STAT_STRIP_SIX, Q_e as Section, Yke as SectionHeading, tve as SectionSkeleton, aU as SegmentedRadioGroup, xve as SegmentedTabList, PG as Segments, UJ as Select, GU as Select$1, i1 as SelectField, KU as SelectItem, $J as SelectionActions, Ej as SelectionDock, eY as SelectionPopover, IH as SettingsCard, Z_e as SettingsRow, LH as SettingsSectionLabel, FG as Shuffle, uve as SiteLabel, fG as SortDirectionIcon, IG as SortKeys, mQ as SourceAvatar, GH as SourceLabel, HH as SourceMark, eve as Stack, Hke as StatCard, T$ as StatusLabel, Mge as Su, $2 as Switch, qI as TASKS_KEY, bFe as TASTE_REFRESH_KEY, xFe as TASTE_WINDOWS, tX as THUMBNAIL_JOBS_KEY, DX as TRASH_KEY, ipe as TRIGGER_LABELS, jJ as Table, tY as TableColumnControls, nY as TableColumnResizer, iY as TableSelectionHeader, e$ as TagManager, ive as TaskCenterLink, MH as TaskProgress, oV as TextField, aV as TextFieldContext, BB as Un, Ige as Uz, aW as WANTS_KEY, m4 as WantMagnets, Kg as WithPromise, jB as Wt, RB as Xc, eV as Xf, NB as Xl, MB as Xt, kB as _8, o as __commonJSMin, s as __exportAll, l as __toESM, XB as _p, Pge as aB, Ei as addAlias, Ti as addSource, sW as addWant, fS as animate, B as apiGet, V as apiSend, oM as appSettingsStore, gEe as applyConfirmText, xX as applyLeftovers, hEe as applyPlanText, vEe as applyText, uM as applyTheme, _y as asNumber, iEe as attachOrphan, ci as authorAvatar, ui as authorGroups, si as authorInitial, oi as authorName, yq as autoResetPageIndex, _o as avatarInner, D3 as bandRows, QTe as baseName, Bwe as batchOperate, Sue as beginPlayerGuidePreview, jj as boundedPreference, Lwe as bulkCloudPreferences, _V as busyProps, Nge as cB, YNe as cachedMagnetStates, Bg as calcGeneratorVelocity, sTe as canApprove, mg as cancelFrame, lEe as candidateText, TU as cardClass, TM as cardRatio, zJ as catalogListSkeletonCellHtml, LB as cc, Gi as checkEvidenceGap, Wi as checkFailures, Fi as checkFeeds, DTe as checkLine, Hi as checkReceipt, Ui as checkSummary, CAe as checkText, Ki as checkedText, sK as clickedBlank, K5 as closeDrawerAfterNav, kwe as cloudLocations, y0 as cloudProxySkeleton, KC as clsx, xge as cn, ov as collectMotionValues, zq as columnVisibilityFeature, EJ as column_getCanSort, SJ as column_getSortFn, aTe as commonReviewSources, Af as configurationSection, TFe as configureTasteBrowser, ll as confirmModal, npe as controlTask, tq as copyInstancePropertiesWithoutMemos, lo as coverUrl, Aq as createColumnHelper, uAe as createPlaylist, Xi as credentialDone, h0 as credentialsSkeleton, gTe as currentReviewRow, q as cx, oge as d6, KB as dZ, pTe as decisionPayload, mTe as decisionReceipt, fTe as defaultChoice, bEe as deletePerformerVideos, fAe as deletePlaylist, C0 as devicesSkeleton, x as diagnosticHeaders, L1 as diagnosticsSkeleton, Oye as discoveryArtwork, fW as discoveryKey, Tye as discoveryScore, r9 as disposeStage, Nwe as distinctName, Bi as dropSources, Age as du, Rwe as duplicateVictims, eL as elapsedText, nn as entityDisplayName, go as entityFaceImg, Pn as entityPath, ti as errorHeadline, lr as errorMessage, z as esc, vq as expandRowModel, bB as f1, bo as facePos, ei as feedIntervalText, B$ as fetchAmaneBridge, vi as fetchCheckJob, t1 as fetchConfiguration, z$ as fetchCoverJob, _i as fetchCredentials, N$ as fetchCustomSources, CX as fetchDeletePerformers, yEe as fetchDeletePlan, MQ as fetchDiagnostics, pW as fetchDiscoveries, mY as fetchDuplicates, Qfe as fetchEarlier, jTe as fetchFeedSchedule, Mi as fetchFeeds, gi as fetchFollow, ATe as fetchFollowSchedule, kX as fetchJunkSummary, cH as fetchLibraryProcessing, UY as fetchLinkCheck, WY as fetchLinkPrune, HY as fetchLinkStats, kTe as fetchMediaProcessing, yY as fetchMediaRepair, br as fetchMediaSources, oX as fetchOrganize, WTe as fetchOrganizeExample, lX as fetchOrphanRecords, ji as fetchPending, A$ as fetchPlaylists, CY as fetchQualityGoals, gW as fetchReleases, bY as fetchRepairLibraries, yi as fetchResolveJob, hX as fetchResourceApply, mX as fetchResourceScan, FY as fetchReview, OX as fetchReviewCounts, rX as fetchSettings, R$ as fetchSources, S3 as fetchStats, bi as fetchSuggestions, YI as fetchTasks, q3 as fetchTaste, EFe as fetchTasteJob, MTe as fetchThumbnailJobs, AX as fetchTrashSummary, oW as fetchWants, rTe as filterReviewRows, er as firstGrapheme, LK as flexRender, VFe as flowGraph, HFe as flowLabel, BPe as fmtCount, Jn as fmtDur, Xn as fmtSize, Zfe as foldByKind, mpe as foldRoutine, Li as followFeedByName, Hr as followSuggestKey, gpe as followupDetail, Xfe as followupTally, pg as frame, TB as g4, Hq as getDefaultPaginationState, wM as gridLayout, li as groupByAuthor, ppe as groupFollowups, MY as groupReviewRows, pEe as hasChanges, gX as hasResourceRoots, ZI as hasResultProblems, MFe as historySpan, xB as i2, AFe as importTasteExport, g0 as indexersSkeleton, Ig as interpolate, lW as invalidateWants, $I as isActive, $r as isBroken, qr as isLayout, _v as isMotionValue, DY as isReviewCategory, hpe as isRoutine, _0 as javBrowserSkeleton, L0 as javContentSkeleton, _M as javLayout, I0 as javTagSkeleton, TEe as junkBreakdown, pAe as keepPlaylist, ke as keepPreviousData, pi as keepSelected, C3 as known, Khe as l1, $he as l7, fpe as latestOfKind, $n as leadingGraphemes, QPe as lengthRows, Cr as localTime, po as logoUrl, Ii as lookupFeedActor, EB as m7, GB as mM, Dn as mapLimit, Ai as markItem, O3 as max, XPe as mediumRows, $fe as mergeFinished, k3 as min, xTe as mirrorText, Wwe as missingToolText, hY as mixedCloudPreferences, iL as momentText, pS as motion, cv as motionValue, rn as nameFallback, Ue as notifyManager, sge as oe, eEe as organizeOutcome, $0 as overlayHost, Jr as pageSizeOf, fi as pageWindow, hr as paginationRange, zi as patchSource, Op as peachHistory, Op as peachHistory$1, dTe as pendingGenres, HPe as percentText, qTe as pickOrganizeFolder, p$ as plainStatClass, $Te as planSummary, w3 as playedFor, WPe as playedItemUrl, JI as pollInterval, Ys as popCount, lAe as posterUrl, $be as previewLibraryColor, KTe as previewOrganize, qwe as previewUrl, upe as problemDestination, rH as processingActive, tL as progressText, WH as providerIcon, ETe as pruneText, vX as purgeCount, aEe as purgeOrphan, JB as pv, kge as qE, H as queryClient, SB as r2, RFe as radarRows, qPe as radialArc, JPe as radialBarSize, KPe as radialCeiling, GPe as radialSlices, BN as randomId, IFe as rankDetail, LFe as rankShares, E3 as reachedShare, nL as readableErrorHeadline, Eye as recommendationScore, _Te as recordGenre, sEe as recordsText, mAe as recreatePlaylist, sAe as refreshPlaylists, El as relayoutCovers, N0 as releaseColumns, mW as releaseFilters, hW as releaseKey, Vi as reloadFollowManage, bTe as reloadReview, jje as rememberShape, YTe as rememberTemplates, Di as removeAlias, Pi as removeFeed, wi as removeSource, kFe as removeTasteSource, cW as removeWants, Oi as renameAliasGroup, dAe as renamePlaylist, Se as replaceEqualDeep, eFe as replayRows, re as require_jsx_runtime, A as require_react, N as require_react_dom, ZK as require_with_selector, Sye as resetWants, mr as resolveFollowSort, Ug as resolveStartTime, N_e as restartEffectText, cAe as resumeAssetId, nTe as reviewGroupingOptions, jY as reviewQueueData, AY as reviewQueueOf, wEe as reviewSummary, iTe as reviewWindow, lTe as rowEvidence, PY as rowFieldName, Yq as rowPaginationFeature, gJ as rowSelectionFeature, kJ as rowSortingFeature, NY as rowSubject, uTe as rowTags, cTe as rowTitle, Xhe as s5, ki as saveCredential, mEe as scanLine, LTe as schedulePollInterval, wye as searchNote, oTe as selectReviewRange, mi as selectionState, Ni as setFeedEnabled, Ci as setSourceEnabled, Pf as settingsPath, yTe as settleReviewRows, Mwe as sharedNamePrefix, kp as shellNavigate, x8 as showToast, Bn as siteMarkUrl, lq as skipFirstRun, II as sortCx, Xr as sortLabel, bn as sourceDefaultCost, Ji as sourceIconUrl, _Ee as sourceMeta, Bs as spinnerHtml, Pg as spring, hV as spriteGlyph, xi as startCheck, wTe as startLinkCheck, TTe as startLinkPrune, JTe as startOrganize, Si as startResolve, dEe as startResourceApply, uEe as startResourceScan, OFe as startTasteRefresh, Rke as statCardClass, ope as statusLabel, Uwe as statusLine, Qr as statusText, EM as storeJavLayout, hTe as submitDecision, aL as summaryItems, jq as tableFeatures, uq as tableMemo, di as tableRows, lpe as taskIssues, dpe as taskSubject, J3 as tasteDate, PFe as tasteDimensions, NFe as tasteHours, K3 as tasteKey, CFe as tasteRefetchInterval, wFe as tasteTime, HI as textLang, A0 as tierPlaceholdersHtml, rh as time, fge as tl, hi as toggleGroup, Y3 as topScores, Cge as um, _ge as uo, _H as useAction, kZ as useBackgroundJob, lG as useCatalogView, LU as useClientUpdates, hm as useConstant, oL as useEntityNames, fL as useHorizontalScroller, gm as useIsomorphicLayoutEffect, oK as useLibraryTints, It as useMutation, HV as useOverlayScrollbar, Ft as useQuery, ae as useQueryClient, tS as useReducedMotion, ITe as useRunSchedule, PTe as useSaveFollowSchedule, iX as useSaveSettings, RTe as useSaveThumbnailMode, AJ as useTable, YJ as useTablePreferences, yL as useViewGlide, zwe as victimBytes, pge as vl, Cye as wantName, UPe as watchNote, T3 as watchedShare, Ac as wireHorizontalScroller, XTe as withOrganizeJob, Dye as writeJavQuery, ige as z3 };
+sBe($9);
+export { HL as $2ec61d1d4f780267$export$a8a3e93435678ff9, XL as $3a442827418ebe87$export$eb2fcfdbd7ba97d4, pz as $542a13ca2fa5b484$export$5b6b19405a83ff9d, SD as $72abaeab4d80592f$export$78efe591171d7d45, aB as $76d00c5a4edb230a$export$76ccd210b9029917, nB as $76d00c5a4edb230a$export$816b5d811295e6bc, cB as $76d00c5a4edb230a$export$b59bdbef9ce70de2, uB as $76d00c5a4edb230a$export$f6f0c3fe4ec306ea, tB as $76d00c5a4edb230a$export$f850895b287ef28e, Ihe as $b4f18e3395fe64d7$export$3d96ec278d3efce4, Fhe as $b4f18e3395fe64d7$export$3e41faf802a29e71, Mhe as $b4f18e3395fe64d7$export$b2539bed5023c21c, mB as $b4f18e3395fe64d7$export$e51a686c67fdaa2d, zhe as $bd263d78e9bf3c56$export$f5c9f3c2c4054eec, lE as $ea3928288112382f$export$439d29a4e110a164, Ez as $f2ff30fde7b014be$export$3ddf2d174ce01153, Nz as $fe21c36db05242bb$export$a98f0dcb43a68a25, Pz as $fe21c36db05242bb$export$d7b12c4107be0d61, Sge as $l, Wj as ACCENTS, DAe as AMANE_BRIDGE_CHECK_URL, I$ as AMANE_BRIDGE_KEY, OAe as AMANE_BRIDGE_REBUILD_URL, sr as ApiError, JU as ArtSlot, h2 as BATCH_DELETE_TEXT, J as Button, bL as ButtonLink, KB as Bx, d$ as CLEANUP_ENTRY, u$ as CLEANUP_ENTRY_GRID, Zf as CLEANUP_HASH_REDIRECTS, Yf as CLEANUP_TOOLS, vn as CLOUD_LOCATIONS, V1 as CLOUD_PROXY_HELP, Kr as COLUMN_SORT, $$ as CONFIGURATION_KEY, GY as CONFIGURATION_URL, kAe as COOKIE_TEXT_LIMIT, F$ as COVER_JOB_KEY, Yi as CREDENTIAL_STATE, j$ as CUSTOM_SOURCES_KEY, A$ as CUSTOM_SOURCES_URL, lG as CatalogViewToggle, BV as Checkbox, zV as CheckboxGlyph, AV as ChevronSortDown, qU as Chip, nW as CloudDownloadDialog, PH as CollapseChevron, NH as CollapseRegion, i$ as CollectionSummary, oTe as DEFAULT_CATEGORY, dr as DEFAULT_SORT, AQ as DIAGNOSTICS_KEY, aEe as DIRECTORY_TEMPLATE_ERROR, lW as DISCOVERY_SORTS, XU as DOWNLOADS_KEY, YU as DOWNLOADS_URL, dY as DUPLICATES_KEY, GJ as DataTableFooter, VJ as DataTableFrame, WJ as DataTableSort, BH as Disclosure, vye as DownloadsPanel, dge as E3, sTe as ENTITY_REVIEW_KINDS, z1 as ENTRY_LINKS_HELP, B1 as ENTRY_LINKS_HINT, RB as Ea, Yge as EmptyFocusButton, fV as EmptyState, RH as ErrorText, zge as Eu, dve as ExternalLink, Vr as FEEDS_KEY, $Y as FEED_SCHEDULE_KEY, c$ as FIELDSET_FOOT, qFe as FLOW_LABEL_X, Y3 as FLOW_VIEWBOX, zr as FOLLOW_CHECK_KEY, Rr as FOLLOW_CREDENTIALS_KEY, M8 as FOLLOW_INITIAL_RANGE_OPTIONS, Lr as FOLLOW_MANAGE_KEY, NZ as FOLLOW_MANAGE_NAV, Br as FOLLOW_RESOLVE_KEY, QY as FOLLOW_SCHEDULE_KEY, mve as Fact, pve as FactList, zH as FieldLabel, x$ as Fieldset, b$ as FieldsetTitle, Npe as FilterGlass, pL as FilterGlassRows, fL as FilterIconButton, mL as FilterPill, uve as Footer, UB as Gg, hL as GlassPill, XB as HN, LH as Help, rV as HintText, zFe as IDLE_POLL_MS, Ywe as IDLE_REPAIR, cL as IconButton, MQ as IndexSearch, cV as Input, sV as InputBase, C$ as IssueRow, cM as JAV_LAYOUTS, P0 as JAV_RECOMMENDATION_GRID, wX as JUNK_KEY, vW as JavHeader, Uwe as KEEP_LABELS, tge as L1, Ur as LAYOUTS, R1 as LIBRARY_FOLDER_HELP, $V as LIBRARY_PROCESSING_KEY, LY as LINKS_KEY, RY as LINK_CHECK_KEY, jTe as LINK_KINDS, zY as LINK_PRUNE_KEY, nr as LOC, nV as Label, E$ as LibraryProcessingCard, kV as LibraryShortcuts, hH as LinkButton, wge as Lo, OH as LoadingDots, pge as M6, ITe as MEDIA_PROCESSING_KEY, tX as MEDIA_PROCESSING_URL, gY as MEDIA_REPAIR_KEY, hY as MEDIA_REPAIR_URL, yr as MEDIA_SOURCES_KEY, _s as MEDIA_SOURCE_ICONS, gn as MEDIA_SOURCE_OPTIONS, PV as MENU_ITEM, FV as MENU_ITEM_INTERACTIVE, NV as MENU_POPOVER_SURFACE, Ege as Ma, yH as MenuDialog, yK as MixCard, lV as ModalFrame, yx as MotionConfigContext, eV as NR, S$ as NameLink, dV as Note, Gge as OA, iX as ORGANIZE_KEY, f2 as ORGANIZE_PARAMETER_HINT, d2 as ORGANIZE_SCOPE_HINT, u2 as ORGANIZE_TEXT, sX as ORPHAN_RECORDS_KEY, m2 as ORPHAN_RECORDS_TEXT, VB as OV, EB as P7, xX as PERFORMER_DELETE_KEY, Dye as PHASES, KY as PICK_FOLDER_URL, p$ as PLAIN_STAT_STRIP, O$ as PLAYLISTS_KEY, Pje as POLICY_COLUMNS, Ije as POLICY_COVER_NOTE, Fje as POLICY_MATRIX, L1 as POLICY_SUMMARY, UJ as Pagination, T$ as PathLine, QB as Pf, LI as PillTabList, Yke as PlainStat, AH as Progress, xY as QUALITY_GOALS_KEY, ZB as RB, j0 as RELEASE_COLUMN_VISIBILITY_KEY, A0 as RELEASE_COLUMN_WIDTHS_KEY, uW as RELEASE_SORTS, uMe as RELEASE_SORT_COLUMNS, h$ as REPAIR_CARD_TEXT, _Y as REPAIR_LIBRARIES_KEY, fX as RESOURCE_APPLY_KEY, dX as RESOURCE_SCAN_KEY, p2 as RESOURCE_SYNC_TEXT, tAe as RESULT_PANEL, nAe as RESULT_SECTION, aTe as REVIEW_CATEGORIES, CX as REVIEW_COUNTS_KEY, cTe as REVIEW_DECISION_LABELS, wY as REVIEW_KEY, TY as REVIEW_LABELS, DY as REVIEW_QUEUES, OY as REVIEW_QUEUE_LABELS, BG as RetryNote, Uge as Rf, tV as Rk, sve as Rows, TAe as SCRAPING_CHECK_URL, N$ as SCRAPING_COVER_URL, P$ as SCRAPING_KEY, wAe as SCRAPING_SETTINGS_URL, oU as SEGMENT, aU as SEGMENTED_TRACK, ZY as SETTINGS_KEY, qY as SETTINGS_URL, fr as SORT_DEFAULT_DIR, ur as SORT_OPTIONS, yn as SOURCE_LABELS, b3 as STATS_KEY, qke as STAT_STRIP, Jke as STAT_STRIP_SIX, ove as Section, rAe as SectionHeading, lve as SectionSkeleton, iU as SegmentedRadioGroup, kve as SegmentedTabList, NG as Segments, HJ as Select, WU as Select$1, r1 as SelectField, GU as SelectItem, QJ as SelectionActions, Sj as SelectionDock, $J as SelectionPopover, FH as SettingsCard, ave as SettingsRow, IH as SettingsSectionLabel, PG as Shuffle, vve as SiteLabel, dG as SortDirectionIcon, FG as SortKeys, pQ as SourceAvatar, WH as SourceLabel, VH as SourceMark, cve as Stack, Xke as StatCard, w$ as StatusLabel, Bge as Su, Q2 as Switch, KI as TASKS_KEY, OFe as TASTE_REFRESH_KEY, kFe as TASTE_WINDOWS, eX as THUMBNAIL_JOBS_KEY, EX as TRASH_KEY, fpe as TRIGGER_LABELS, AJ as Table, eY as TableColumnControls, tY as TableColumnResizer, rY as TableSelectionHeader, $Q as TagManager, fve as TaskCenterLink, jH as TaskProgress, aV as TextField, iV as TextFieldContext, zB as Un, Wge as Uz, iW as WANTS_KEY, p4 as WantMagnets, Gg as WithPromise, AB as Wt, LB as Xc, $B as Xf, MB as Xl, jB as Xt, OB as _8, o as __commonJSMin, s as __exportAll, l as __toESM, YB as _p, Hge as aB, Ei as addAlias, Ti as addSource, oW as addWant, cS as animate, B as apiGet, V as apiSend, nM as appSettingsStore, wEe as applyConfirmText, bX as applyLeftovers, CEe as applyPlanText, EEe as applyText, oM as applyTheme, gy as asNumber, fEe as attachOrphan, ci as authorAvatar, ui as authorGroups, si as authorInitial, oi as authorName, vq as autoResetPageIndex, _o as avatarInner, E3 as bandRows, oEe as baseName, Jwe as batchOperate, Oue as beginPlayerGuidePreview, Dj as boundedPreference, Gwe as bulkCloudPreferences, gV as busyProps, Vge as cB, rPe as cachedMagnetStates, zg as calcGeneratorVelocity, hTe as canApprove, mg as cancelFrame, _Ee as candidateText, wU as cardClass, xM as cardRatio, RJ as catalogListSkeletonCellHtml, IB as cc, Gi as checkEvidenceGap, Wi as checkFailures, Fi as checkFeeds, FTe as checkLine, Hi as checkReceipt, Ui as checkSummary, jAe as checkText, Ki as checkedText, oK as clickedBlank, G5 as closeDrawerAfterNav, Lwe as cloudLocations, v0 as cloudProxySkeleton, HC as clsx, kge as cn, av as collectMotionValues, Rq as columnVisibilityFeature, TJ as column_getCanSort, xJ as column_getSortFn, pTe as commonReviewSources, Af as configurationSection, NFe as configureTasteBrowser, ll as confirmModal, upe as controlTask, eq as copyInstancePropertiesWithoutMemos, lo as coverUrl, kq as createColumnHelper, vAe as createPlaylist, Xi as credentialDone, m0 as credentialsSkeleton, wTe as currentReviewRow, q as cx, mge as d6, GB as dZ, xTe as decisionPayload, STe as decisionReceipt, bTe as defaultChoice, OEe as deletePerformerVideos, bAe as deletePlaylist, S0 as devicesSkeleton, x as diagnosticHeaders, I1 as diagnosticsSkeleton, Iye as discoveryArtwork, dW as discoveryKey, Nye as discoveryScore, r9 as disposeStage, Vwe as distinctName, Bi as dropSources, Rge as du, Kwe as duplicateVictims, $I as elapsedText, nn as entityDisplayName, go as entityFaceImg, Pn as entityPath, ti as errorHeadline, lr as errorMessage, z as esc, _q as expandRowModel, yB as f1, bo as facePos, ei as feedIntervalText, z$ as fetchAmaneBridge, vi as fetchCheckJob, e1 as fetchConfiguration, R$ as fetchCoverJob, _i as fetchCredentials, M$ as fetchCustomSources, SX as fetchDeletePerformers, DEe as fetchDeletePlan, jQ as fetchDiagnostics, fW as fetchDiscoveries, pY as fetchDuplicates, ope as fetchEarlier, zTe as fetchFeedSchedule, Mi as fetchFeeds, gi as fetchFollow, RTe as fetchFollowSchedule, OX as fetchJunkSummary, sH as fetchLibraryProcessing, HY as fetchLinkCheck, UY as fetchLinkPrune, VY as fetchLinkStats, LTe as fetchMediaProcessing, vY as fetchMediaRepair, br as fetchMediaSources, aX as fetchOrganize, QTe as fetchOrganizeExample, cX as fetchOrphanRecords, ji as fetchPending, k$ as fetchPlaylists, SY as fetchQualityGoals, hW as fetchReleases, yY as fetchRepairLibraries, yi as fetchResolveJob, mX as fetchResourceApply, pX as fetchResourceScan, PY as fetchReview, DX as fetchReviewCounts, nX as fetchSettings, L$ as fetchSources, x3 as fetchStats, bi as fetchSuggestions, JI as fetchTasks, K3 as fetchTaste, PFe as fetchTasteJob, BTe as fetchThumbnailJobs, kX as fetchTrashSummary, aW as fetchWants, dTe as filterReviewRows, er as firstGrapheme, IK as flexRender, YFe as flowGraph, XFe as flowLabel, JPe as fmtCount, Jn as fmtDur, Xn as fmtSize, ape as foldByKind, Spe as foldRoutine, Li as followFeedByName, Hr as followSuggestKey, wpe as followupDetail, ipe as followupTally, pg as frame, wB as g4, Vq as getDefaultPaginationState, bM as gridLayout, li as groupByAuthor, xpe as groupFollowups, jY as groupReviewRows, xEe as hasChanges, hX as hasResourceRoots, XI as hasResultProblems, BFe as historySpan, bB as i2, RFe as importTasteExport, h0 as indexersSkeleton, Fg as interpolate, cW as invalidateWants, QI as isActive, $r as isBroken, qr as isLayout, gv as isMotionValue, EY as isReviewCategory, Cpe as isRoutine, g0 as javBrowserSkeleton, I0 as javContentSkeleton, pM as javLayout, F0 as javTagSkeleton, NEe as junkBreakdown, xAe as keepPlaylist, ke as keepPreviousData, pi as keepSelected, S3 as known, ege as l1, sge as l7, bpe as latestOfKind, $n as leadingGraphemes, oFe as lengthRows, Cr as localTime, po as logoUrl, Ii as lookupFeedActor, TB as m7, WB as mM, Dn as mapLimit, Ai as markItem, D3 as max, iFe as mediumRows, spe as mergeFinished, O3 as min, kTe as mirrorText, Qwe as missingToolText, mY as mixedCloudPreferences, rL as momentText, lS as motion, sv as motionValue, rn as nameFallback, Ue as notifyManager, hge as oe, cEe as organizeOutcome, Q0 as overlayHost, Jr as pageSizeOf, fi as pageWindow, hr as paginationRange, zi as patchSource, Op as peachHistory, Op as peachHistory$1, yTe as pendingGenres, XPe as percentText, tEe as pickOrganizeFolder, f$ as plainStatClass, sEe as planSummary, C3 as playedFor, QPe as playedItemUrl, qI as pollInterval, Ys as popCount, _Ae as posterUrl, sxe as previewLibraryColor, eEe as previewOrganize, tTe as previewUrl, vpe as problemDestination, nH as processingActive, eL as progressText, UH as providerIcon, PTe as pruneText, _X as purgeCount, pEe as purgeOrphan, qB as pv, Lge as qE, H as queryClient, xB as r2, KFe as radarRows, tFe as radialArc, nFe as radialBarSize, eFe as radialCeiling, $Pe as radialSlices, RN as randomId, WFe as rankDetail, GFe as rankShares, T3 as reachedShare, tL as readableErrorHeadline, Pye as recommendationScore, TTe as recordGenre, hEe as recordsText, SAe as recreatePlaylist, hAe as refreshPlaylists, El as relayoutCovers, M0 as releaseColumns, pW as releaseFilters, mW as releaseKey, Vi as reloadFollowManage, OTe as reloadReview, zje as rememberShape, rEe as rememberTemplates, Di as removeAlias, Pi as removeFeed, wi as removeSource, LFe as removeTasteSource, sW as removeWants, Oi as renameAliasGroup, yAe as renamePlaylist, Se as replaceEqualDeep, cFe as replayRows, re as require_jsx_runtime, A as require_react, N as require_react_dom, XK as require_with_selector, Aye as resetWants, mr as resolveFollowSort, Hg as resolveStartTime, V_e as restartEffectText, gAe as resumeAssetId, uTe as reviewGroupingOptions, AY as reviewQueueData, kY as reviewQueueOf, MEe as reviewSummary, fTe as reviewWindow, _Te as rowEvidence, NY as rowFieldName, Jq as rowPaginationFeature, hJ as rowSelectionFeature, OJ as rowSortingFeature, MY as rowSubject, vTe as rowTags, gTe as rowTitle, ige as s5, ki as saveCredential, SEe as scanLine, GTe as schedulePollInterval, Mye as searchNote, mTe as selectReviewRange, mi as selectionState, Ni as setFeedEnabled, Ci as setSourceEnabled, Pf as settingsPath, DTe as settleReviewRows, Bwe as sharedNamePrefix, kp as shellNavigate, b8 as showToast, Bn as siteMarkUrl, cq as skipFirstRun, FI as sortCx, Xr as sortLabel, bn as sourceDefaultCost, Ji as sourceIconUrl, TEe as sourceMeta, Bs as spinnerHtml, Ng as spring, mV as spriteGlyph, xi as startCheck, MTe as startLinkCheck, NTe as startLinkPrune, nEe as startOrganize, Si as startResolve, yEe as startResourceApply, vEe as startResourceScan, IFe as startTasteRefresh, Kke as statCardClass, mpe as statusLabel, Zwe as statusLine, Qr as statusText, SM as storeJavLayout, CTe as submitDecision, iL as summaryItems, Aq as tableFeatures, lq as tableMemo, di as tableRows, _pe as taskIssues, ype as taskSubject, q3 as tasteDate, HFe as tasteDimensions, VFe as tasteHours, G3 as tasteKey, jFe as tasteRefetchInterval, MFe as tasteTime, VI as textLang, k0 as tierPlaceholdersHtml, rh as time, bge as tl, hi as toggleGroup, J3 as topScores, jge as um, Tge as uo, gH as useAction, OZ as useBackgroundJob, cG as useCatalogView, IU as useClientUpdates, hm as useConstant, aL as useEntityNames, dL as useHorizontalScroller, gm as useIsomorphicLayoutEffect, aK as useLibraryTints, It as useMutation, VV as useOverlayScrollbar, Ft as useQuery, ae as useQueryClient, Zx as useReducedMotion, WTe as useRunSchedule, HTe as useSaveFollowSchedule, rX as useSaveSettings, KTe as useSaveThumbnailMode, kJ as useTable, JJ as useTablePreferences, vL as useViewGlide, qwe as victimBytes, xge as vl, jye as wantName, ZPe as watchNote, w3 as watchedShare, Ac as wireHorizontalScroller, iEe as withOrganizeJob, Fye as writeJavQuery, fge as z3 };
-//# debugId=f06a4487-f0c5-4747-9039-dc6573a8fc68
\ No newline at end of file
+//# debugId=b283a58f-4dd5-4902-bd16-b3cc85ba9191
\ No newline at end of file