Your Name 1912bcd25b
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
chore: sync all remaining local workspace changes
2026-05-08 11:26:57 +08:00

46 lines
1.3 KiB
JavaScript

/*
* Extracted from browser-delivered Turbopack chunk: cde068e14ffee6a8.f8b5a2ab76.js
* Module id: 875707
* For reading/searching only; this factory depends on the original Turbopack runtime.
*/
const moduleFactory = (e) => {
"use strict";
function t(e) {
if (!e || "string" != typeof e) return;
let t = Date.parse(e.includes("T") ? e : e.replace(" ", "T"));
return Number.isNaN(t) ? void 0 : t;
}
function i(e, i) {
let n = (function (e) {
if (!e) return null;
let t = e.properties,
i = t?.promotionLabel;
if (null == i || "object" != typeof i) return null;
let n = i.text;
return "string" != typeof n || "" === n.trim()
? null
: {
text: n.trim(),
startTime: "string" == typeof i.startTime ? i.startTime : void 0,
endTime: "string" == typeof i.endTime ? i.endTime : void 0,
};
})(e);
if (
n &&
(function (e, i = Date.now()) {
let n = t(e.startTime),
r = t(e.endTime);
return (
(null == n && null == r) ||
((null == n || !(i < n)) && (null == r || !(i > r)))
);
})(n, i)
)
return n.text;
}
e.s(["getActivePromotionTooltipText", () => i]);
};
export default moduleFactory;