Files
MeshChatX/electron/assets/js/tailwindcss/tailwind-v3.4.3-forms-v0.5.7.js

19478 lines
789 KiB
JavaScript

(() => {
var Rb = Object.create;
var ci = Object.defineProperty;
var Mb = Object.getOwnPropertyDescriptor;
var Bb = Object.getOwnPropertyNames;
var Fb = Object.getPrototypeOf,
Lb = Object.prototype.hasOwnProperty;
var gu = (r) => ci(r, "__esModule", { value: !0 });
var yu = (r) => {
if (typeof require != "undefined") return require(r);
throw new Error('Dynamic require of "' + r + '" is not supported');
};
var C = (r, e) => () => (r && (e = r((r = 0))), e);
var v = (r, e) => () => (e || r((e = { exports: {} }).exports, e), e.exports),
Ae = (r, e) => {
gu(r);
for (var t in e) ci(r, t, { get: e[t], enumerable: !0 });
},
Nb = (r, e, t) => {
if ((e && typeof e == "object") || typeof e == "function")
for (let i of Bb(e))
!Lb.call(r, i) &&
i !== "default" &&
ci(r, i, { get: () => e[i], enumerable: !(t = Mb(e, i)) || t.enumerable });
return r;
},
X = (r) =>
Nb(
gu(
ci(
r != null ? Rb(Fb(r)) : {},
"default",
r && r.__esModule && "default" in r
? { get: () => r.default, enumerable: !0 }
: { value: r, enumerable: !0 }
)
),
r
);
var h,
l = C(() => {
h = { platform: "", env: {}, versions: { node: "14.17.6" } };
});
var $b,
te,
ze = C(() => {
l();
(($b = 0),
(te = {
readFileSync: (r) => self[r] || "",
statSync: () => ({ mtimeMs: $b++ }),
promises: { readFile: (r) => Promise.resolve(self[r] || "") },
}));
});
var rs = v((eE, bu) => {
l();
("use strict");
var wu = class {
constructor(e = {}) {
if (!(e.maxSize && e.maxSize > 0)) throw new TypeError("`maxSize` must be a number greater than 0");
if (typeof e.maxAge == "number" && e.maxAge === 0)
throw new TypeError("`maxAge` must be a number greater than 0");
((this.maxSize = e.maxSize),
(this.maxAge = e.maxAge || 1 / 0),
(this.onEviction = e.onEviction),
(this.cache = new Map()),
(this.oldCache = new Map()),
(this._size = 0));
}
_emitEvictions(e) {
if (typeof this.onEviction == "function") for (let [t, i] of e) this.onEviction(t, i.value);
}
_deleteIfExpired(e, t) {
return typeof t.expiry == "number" && t.expiry <= Date.now()
? (typeof this.onEviction == "function" && this.onEviction(e, t.value), this.delete(e))
: !1;
}
_getOrDeleteIfExpired(e, t) {
if (this._deleteIfExpired(e, t) === !1) return t.value;
}
_getItemValue(e, t) {
return t.expiry ? this._getOrDeleteIfExpired(e, t) : t.value;
}
_peek(e, t) {
let i = t.get(e);
return this._getItemValue(e, i);
}
_set(e, t) {
(this.cache.set(e, t),
this._size++,
this._size >= this.maxSize &&
((this._size = 0),
this._emitEvictions(this.oldCache),
(this.oldCache = this.cache),
(this.cache = new Map())));
}
_moveToRecent(e, t) {
(this.oldCache.delete(e), this._set(e, t));
}
*_entriesAscending() {
for (let e of this.oldCache) {
let [t, i] = e;
this.cache.has(t) || (this._deleteIfExpired(t, i) === !1 && (yield e));
}
for (let e of this.cache) {
let [t, i] = e;
this._deleteIfExpired(t, i) === !1 && (yield e);
}
}
get(e) {
if (this.cache.has(e)) {
let t = this.cache.get(e);
return this._getItemValue(e, t);
}
if (this.oldCache.has(e)) {
let t = this.oldCache.get(e);
if (this._deleteIfExpired(e, t) === !1) return (this._moveToRecent(e, t), t.value);
}
}
set(e, t, { maxAge: i = this.maxAge === 1 / 0 ? void 0 : Date.now() + this.maxAge } = {}) {
this.cache.has(e) ? this.cache.set(e, { value: t, maxAge: i }) : this._set(e, { value: t, expiry: i });
}
has(e) {
return this.cache.has(e)
? !this._deleteIfExpired(e, this.cache.get(e))
: this.oldCache.has(e)
? !this._deleteIfExpired(e, this.oldCache.get(e))
: !1;
}
peek(e) {
if (this.cache.has(e)) return this._peek(e, this.cache);
if (this.oldCache.has(e)) return this._peek(e, this.oldCache);
}
delete(e) {
let t = this.cache.delete(e);
return (t && this._size--, this.oldCache.delete(e) || t);
}
clear() {
(this.cache.clear(), this.oldCache.clear(), (this._size = 0));
}
resize(e) {
if (!(e && e > 0)) throw new TypeError("`maxSize` must be a number greater than 0");
let t = [...this._entriesAscending()],
i = t.length - e;
(i < 0
? ((this.cache = new Map(t)), (this.oldCache = new Map()), (this._size = t.length))
: (i > 0 && this._emitEvictions(t.slice(0, i)),
(this.oldCache = new Map(t.slice(i))),
(this.cache = new Map()),
(this._size = 0)),
(this.maxSize = e));
}
*keys() {
for (let [e] of this) yield e;
}
*values() {
for (let [, e] of this) yield e;
}
*[Symbol.iterator]() {
for (let e of this.cache) {
let [t, i] = e;
this._deleteIfExpired(t, i) === !1 && (yield [t, i.value]);
}
for (let e of this.oldCache) {
let [t, i] = e;
this.cache.has(t) || (this._deleteIfExpired(t, i) === !1 && (yield [t, i.value]));
}
}
*entriesDescending() {
let e = [...this.cache];
for (let t = e.length - 1; t >= 0; --t) {
let i = e[t],
[n, a] = i;
this._deleteIfExpired(n, a) === !1 && (yield [n, a.value]);
}
e = [...this.oldCache];
for (let t = e.length - 1; t >= 0; --t) {
let i = e[t],
[n, a] = i;
this.cache.has(n) || (this._deleteIfExpired(n, a) === !1 && (yield [n, a.value]));
}
}
*entriesAscending() {
for (let [e, t] of this._entriesAscending()) yield [e, t.value];
}
get size() {
if (!this._size) return this.oldCache.size;
let e = 0;
for (let t of this.oldCache.keys()) this.cache.has(t) || e++;
return Math.min(this._size + e, this.maxSize);
}
};
bu.exports = wu;
});
var vu,
xu = C(() => {
l();
vu = (r) => r && r._hash;
});
function pi(r) {
return vu(r, { ignoreUnknown: !0 });
}
var ku = C(() => {
l();
xu();
});
function Ke(r) {
if (((r = `${r}`), r === "0")) return "0";
if (/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(r))
return r.replace(/^[+-]?/, (t) => (t === "-" ? "" : "-"));
let e = ["var", "calc", "min", "max", "clamp"];
for (let t of e) if (r.includes(`${t}(`)) return `calc(${r} * -1)`;
}
var di = C(() => {
l();
});
var Su,
Cu = C(() => {
l();
Su = [
"preflight",
"container",
"accessibility",
"pointerEvents",
"visibility",
"position",
"inset",
"isolation",
"zIndex",
"order",
"gridColumn",
"gridColumnStart",
"gridColumnEnd",
"gridRow",
"gridRowStart",
"gridRowEnd",
"float",
"clear",
"margin",
"boxSizing",
"lineClamp",
"display",
"aspectRatio",
"size",
"height",
"maxHeight",
"minHeight",
"width",
"minWidth",
"maxWidth",
"flex",
"flexShrink",
"flexGrow",
"flexBasis",
"tableLayout",
"captionSide",
"borderCollapse",
"borderSpacing",
"transformOrigin",
"translate",
"rotate",
"skew",
"scale",
"transform",
"animation",
"cursor",
"touchAction",
"userSelect",
"resize",
"scrollSnapType",
"scrollSnapAlign",
"scrollSnapStop",
"scrollMargin",
"scrollPadding",
"listStylePosition",
"listStyleType",
"listStyleImage",
"appearance",
"columns",
"breakBefore",
"breakInside",
"breakAfter",
"gridAutoColumns",
"gridAutoFlow",
"gridAutoRows",
"gridTemplateColumns",
"gridTemplateRows",
"flexDirection",
"flexWrap",
"placeContent",
"placeItems",
"alignContent",
"alignItems",
"justifyContent",
"justifyItems",
"gap",
"space",
"divideWidth",
"divideStyle",
"divideColor",
"divideOpacity",
"placeSelf",
"alignSelf",
"justifySelf",
"overflow",
"overscrollBehavior",
"scrollBehavior",
"textOverflow",
"hyphens",
"whitespace",
"textWrap",
"wordBreak",
"borderRadius",
"borderWidth",
"borderStyle",
"borderColor",
"borderOpacity",
"backgroundColor",
"backgroundOpacity",
"backgroundImage",
"gradientColorStops",
"boxDecorationBreak",
"backgroundSize",
"backgroundAttachment",
"backgroundClip",
"backgroundPosition",
"backgroundRepeat",
"backgroundOrigin",
"fill",
"stroke",
"strokeWidth",
"objectFit",
"objectPosition",
"padding",
"textAlign",
"textIndent",
"verticalAlign",
"fontFamily",
"fontSize",
"fontWeight",
"textTransform",
"fontStyle",
"fontVariantNumeric",
"lineHeight",
"letterSpacing",
"textColor",
"textOpacity",
"textDecoration",
"textDecorationColor",
"textDecorationStyle",
"textDecorationThickness",
"textUnderlineOffset",
"fontSmoothing",
"placeholderColor",
"placeholderOpacity",
"caretColor",
"accentColor",
"opacity",
"backgroundBlendMode",
"mixBlendMode",
"boxShadow",
"boxShadowColor",
"outlineStyle",
"outlineWidth",
"outlineOffset",
"outlineColor",
"ringWidth",
"ringColor",
"ringOpacity",
"ringOffsetWidth",
"ringOffsetColor",
"blur",
"brightness",
"contrast",
"dropShadow",
"grayscale",
"hueRotate",
"invert",
"saturate",
"sepia",
"filter",
"backdropBlur",
"backdropBrightness",
"backdropContrast",
"backdropGrayscale",
"backdropHueRotate",
"backdropInvert",
"backdropOpacity",
"backdropSaturate",
"backdropSepia",
"backdropFilter",
"transitionProperty",
"transitionDelay",
"transitionDuration",
"transitionTimingFunction",
"willChange",
"contain",
"content",
"forcedColorAdjust",
];
});
function Au(r, e) {
return r === void 0
? e
: Array.isArray(r)
? r
: [
...new Set(
e.filter((i) => r !== !1 && r[i] !== !1).concat(Object.keys(r).filter((i) => r[i] !== !1))
),
];
}
var _u = C(() => {
l();
});
var Ou = {};
Ae(Ou, { default: () => _e });
var _e,
hi = C(() => {
l();
_e = new Proxy({}, { get: () => String });
});
function is(r, e, t) {
(typeof h != "undefined" && h.env.JEST_WORKER_ID) ||
(t && Eu.has(t)) ||
(t && Eu.add(t), console.warn(""), e.forEach((i) => console.warn(r, "-", i)));
}
function ns(r) {
return _e.dim(r);
}
var Eu,
F,
Oe = C(() => {
l();
hi();
Eu = new Set();
F = {
info(r, e) {
is(_e.bold(_e.cyan("info")), ...(Array.isArray(r) ? [r] : [e, r]));
},
warn(r, e) {
["content-problems"].includes(r) ||
is(_e.bold(_e.yellow("warn")), ...(Array.isArray(r) ? [r] : [e, r]));
},
risk(r, e) {
is(_e.bold(_e.magenta("risk")), ...(Array.isArray(r) ? [r] : [e, r]));
},
};
});
var as = {};
Ae(as, { default: () => ss });
function lr({ version: r, from: e, to: t }) {
F.warn(`${e}-color-renamed`, [
`As of Tailwind CSS ${r}, \`${e}\` has been renamed to \`${t}\`.`,
"Update your configuration file to silence this warning.",
]);
}
var ss,
mi = C(() => {
l();
Oe();
ss = {
inherit: "inherit",
current: "currentColor",
transparent: "transparent",
black: "#000",
white: "#fff",
slate: {
50: "#f8fafc",
100: "#f1f5f9",
200: "#e2e8f0",
300: "#cbd5e1",
400: "#94a3b8",
500: "#64748b",
600: "#475569",
700: "#334155",
800: "#1e293b",
900: "#0f172a",
950: "#020617",
},
gray: {
50: "#f9fafb",
100: "#f3f4f6",
200: "#e5e7eb",
300: "#d1d5db",
400: "#9ca3af",
500: "#6b7280",
600: "#4b5563",
700: "#374151",
800: "#1f2937",
900: "#111827",
950: "#030712",
},
zinc: {
50: "#fafafa",
100: "#f4f4f5",
200: "#e4e4e7",
300: "#d4d4d8",
400: "#a1a1aa",
500: "#71717a",
600: "#52525b",
700: "#3f3f46",
800: "#27272a",
900: "#18181b",
950: "#09090b",
},
neutral: {
50: "#fafafa",
100: "#f5f5f5",
200: "#e5e5e5",
300: "#d4d4d4",
400: "#a3a3a3",
500: "#737373",
600: "#525252",
700: "#404040",
800: "#262626",
900: "#171717",
950: "#0a0a0a",
},
stone: {
50: "#fafaf9",
100: "#f5f5f4",
200: "#e7e5e4",
300: "#d6d3d1",
400: "#a8a29e",
500: "#78716c",
600: "#57534e",
700: "#44403c",
800: "#292524",
900: "#1c1917",
950: "#0c0a09",
},
red: {
50: "#fef2f2",
100: "#fee2e2",
200: "#fecaca",
300: "#fca5a5",
400: "#f87171",
500: "#ef4444",
600: "#dc2626",
700: "#b91c1c",
800: "#991b1b",
900: "#7f1d1d",
950: "#450a0a",
},
orange: {
50: "#fff7ed",
100: "#ffedd5",
200: "#fed7aa",
300: "#fdba74",
400: "#fb923c",
500: "#f97316",
600: "#ea580c",
700: "#c2410c",
800: "#9a3412",
900: "#7c2d12",
950: "#431407",
},
amber: {
50: "#fffbeb",
100: "#fef3c7",
200: "#fde68a",
300: "#fcd34d",
400: "#fbbf24",
500: "#f59e0b",
600: "#d97706",
700: "#b45309",
800: "#92400e",
900: "#78350f",
950: "#451a03",
},
yellow: {
50: "#fefce8",
100: "#fef9c3",
200: "#fef08a",
300: "#fde047",
400: "#facc15",
500: "#eab308",
600: "#ca8a04",
700: "#a16207",
800: "#854d0e",
900: "#713f12",
950: "#422006",
},
lime: {
50: "#f7fee7",
100: "#ecfccb",
200: "#d9f99d",
300: "#bef264",
400: "#a3e635",
500: "#84cc16",
600: "#65a30d",
700: "#4d7c0f",
800: "#3f6212",
900: "#365314",
950: "#1a2e05",
},
green: {
50: "#f0fdf4",
100: "#dcfce7",
200: "#bbf7d0",
300: "#86efac",
400: "#4ade80",
500: "#22c55e",
600: "#16a34a",
700: "#15803d",
800: "#166534",
900: "#14532d",
950: "#052e16",
},
emerald: {
50: "#ecfdf5",
100: "#d1fae5",
200: "#a7f3d0",
300: "#6ee7b7",
400: "#34d399",
500: "#10b981",
600: "#059669",
700: "#047857",
800: "#065f46",
900: "#064e3b",
950: "#022c22",
},
teal: {
50: "#f0fdfa",
100: "#ccfbf1",
200: "#99f6e4",
300: "#5eead4",
400: "#2dd4bf",
500: "#14b8a6",
600: "#0d9488",
700: "#0f766e",
800: "#115e59",
900: "#134e4a",
950: "#042f2e",
},
cyan: {
50: "#ecfeff",
100: "#cffafe",
200: "#a5f3fc",
300: "#67e8f9",
400: "#22d3ee",
500: "#06b6d4",
600: "#0891b2",
700: "#0e7490",
800: "#155e75",
900: "#164e63",
950: "#083344",
},
sky: {
50: "#f0f9ff",
100: "#e0f2fe",
200: "#bae6fd",
300: "#7dd3fc",
400: "#38bdf8",
500: "#0ea5e9",
600: "#0284c7",
700: "#0369a1",
800: "#075985",
900: "#0c4a6e",
950: "#082f49",
},
blue: {
50: "#eff6ff",
100: "#dbeafe",
200: "#bfdbfe",
300: "#93c5fd",
400: "#60a5fa",
500: "#3b82f6",
600: "#2563eb",
700: "#1d4ed8",
800: "#1e40af",
900: "#1e3a8a",
950: "#172554",
},
indigo: {
50: "#eef2ff",
100: "#e0e7ff",
200: "#c7d2fe",
300: "#a5b4fc",
400: "#818cf8",
500: "#6366f1",
600: "#4f46e5",
700: "#4338ca",
800: "#3730a3",
900: "#312e81",
950: "#1e1b4b",
},
violet: {
50: "#f5f3ff",
100: "#ede9fe",
200: "#ddd6fe",
300: "#c4b5fd",
400: "#a78bfa",
500: "#8b5cf6",
600: "#7c3aed",
700: "#6d28d9",
800: "#5b21b6",
900: "#4c1d95",
950: "#2e1065",
},
purple: {
50: "#faf5ff",
100: "#f3e8ff",
200: "#e9d5ff",
300: "#d8b4fe",
400: "#c084fc",
500: "#a855f7",
600: "#9333ea",
700: "#7e22ce",
800: "#6b21a8",
900: "#581c87",
950: "#3b0764",
},
fuchsia: {
50: "#fdf4ff",
100: "#fae8ff",
200: "#f5d0fe",
300: "#f0abfc",
400: "#e879f9",
500: "#d946ef",
600: "#c026d3",
700: "#a21caf",
800: "#86198f",
900: "#701a75",
950: "#4a044e",
},
pink: {
50: "#fdf2f8",
100: "#fce7f3",
200: "#fbcfe8",
300: "#f9a8d4",
400: "#f472b6",
500: "#ec4899",
600: "#db2777",
700: "#be185d",
800: "#9d174d",
900: "#831843",
950: "#500724",
},
rose: {
50: "#fff1f2",
100: "#ffe4e6",
200: "#fecdd3",
300: "#fda4af",
400: "#fb7185",
500: "#f43f5e",
600: "#e11d48",
700: "#be123c",
800: "#9f1239",
900: "#881337",
950: "#4c0519",
},
get lightBlue() {
return (lr({ version: "v2.2", from: "lightBlue", to: "sky" }), this.sky);
},
get warmGray() {
return (lr({ version: "v3.0", from: "warmGray", to: "stone" }), this.stone);
},
get trueGray() {
return (lr({ version: "v3.0", from: "trueGray", to: "neutral" }), this.neutral);
},
get coolGray() {
return (lr({ version: "v3.0", from: "coolGray", to: "gray" }), this.gray);
},
get blueGray() {
return (lr({ version: "v3.0", from: "blueGray", to: "slate" }), this.slate);
},
};
});
function os(r, ...e) {
for (let t of e) {
for (let i in t) r?.hasOwnProperty?.(i) || (r[i] = t[i]);
for (let i of Object.getOwnPropertySymbols(t)) r?.hasOwnProperty?.(i) || (r[i] = t[i]);
}
return r;
}
var Tu = C(() => {
l();
});
function Ze(r) {
if (Array.isArray(r)) return r;
let e = r.split("[").length - 1,
t = r.split("]").length - 1;
if (e !== t) throw new Error(`Path is invalid. Has unbalanced brackets: ${r}`);
return r.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean);
}
var gi = C(() => {
l();
});
function K(r, e) {
return yi.future.includes(e)
? r.future === "all" || (r?.future?.[e] ?? Pu[e] ?? !1)
: yi.experimental.includes(e)
? r.experimental === "all" || (r?.experimental?.[e] ?? Pu[e] ?? !1)
: !1;
}
function Du(r) {
return r.experimental === "all"
? yi.experimental
: Object.keys(r?.experimental ?? {}).filter((e) => yi.experimental.includes(e) && r.experimental[e]);
}
function Iu(r) {
if (h.env.JEST_WORKER_ID === void 0 && Du(r).length > 0) {
let e = Du(r)
.map((t) => _e.yellow(t))
.join(", ");
F.warn("experimental-flags-enabled", [
`You have enabled experimental features: ${e}`,
"Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time.",
]);
}
}
var Pu,
yi,
je = C(() => {
l();
hi();
Oe();
((Pu = {
optimizeUniversalDefaults: !1,
generalizedModifiers: !0,
disableColorOpacityUtilitiesByDefault: !1,
relativeContentPathsByDefault: !1,
}),
(yi = {
future: [
"hoverOnlyWhenSupported",
"respectDefaultRingColorOpacity",
"disableColorOpacityUtilitiesByDefault",
"relativeContentPathsByDefault",
],
experimental: ["optimizeUniversalDefaults", "generalizedModifiers"],
}));
});
function qu(r) {
((() => {
if (
r.purge ||
!r.content ||
(!Array.isArray(r.content) && !(typeof r.content == "object" && r.content !== null))
)
return !1;
if (Array.isArray(r.content))
return r.content.every((t) =>
typeof t == "string"
? !0
: !(typeof t?.raw != "string" || (t?.extension && typeof t?.extension != "string"))
);
if (typeof r.content == "object" && r.content !== null) {
if (Object.keys(r.content).some((t) => !["files", "relative", "extract", "transform"].includes(t)))
return !1;
if (Array.isArray(r.content.files)) {
if (
!r.content.files.every((t) =>
typeof t == "string"
? !0
: !(typeof t?.raw != "string" || (t?.extension && typeof t?.extension != "string"))
)
)
return !1;
if (typeof r.content.extract == "object") {
for (let t of Object.values(r.content.extract)) if (typeof t != "function") return !1;
} else if (!(r.content.extract === void 0 || typeof r.content.extract == "function")) return !1;
if (typeof r.content.transform == "object") {
for (let t of Object.values(r.content.transform)) if (typeof t != "function") return !1;
} else if (!(r.content.transform === void 0 || typeof r.content.transform == "function")) return !1;
if (typeof r.content.relative != "boolean" && typeof r.content.relative != "undefined") return !1;
}
return !0;
}
return !1;
})() ||
F.warn("purge-deprecation", [
"The `purge`/`content` options have changed in Tailwind CSS v3.0.",
"Update your configuration file to eliminate this warning.",
"https://tailwindcss.com/docs/upgrade-guide#configure-content-sources",
]),
(r.safelist = (() => {
let { content: t, purge: i, safelist: n } = r;
return Array.isArray(n)
? n
: Array.isArray(t?.safelist)
? t.safelist
: Array.isArray(i?.safelist)
? i.safelist
: Array.isArray(i?.options?.safelist)
? i.options.safelist
: [];
})()),
(r.blocklist = (() => {
let { blocklist: t } = r;
if (Array.isArray(t)) {
if (t.every((i) => typeof i == "string")) return t;
F.warn("blocklist-invalid", [
"The `blocklist` option must be an array of strings.",
"https://tailwindcss.com/docs/content-configuration#discarding-classes",
]);
}
return [];
})()),
typeof r.prefix == "function"
? (F.warn("prefix-function", [
"As of Tailwind CSS v3.0, `prefix` cannot be a function.",
"Update `prefix` in your configuration to be a string to eliminate this warning.",
"https://tailwindcss.com/docs/upgrade-guide#prefix-cannot-be-a-function",
]),
(r.prefix = ""))
: (r.prefix = r.prefix ?? ""),
(r.content = {
relative: (() => {
let { content: t } = r;
return t?.relative ? t.relative : K(r, "relativeContentPathsByDefault");
})(),
files: (() => {
let { content: t, purge: i } = r;
return Array.isArray(i)
? i
: Array.isArray(i?.content)
? i.content
: Array.isArray(t)
? t
: Array.isArray(t?.content)
? t.content
: Array.isArray(t?.files)
? t.files
: [];
})(),
extract: (() => {
let t = (() =>
r.purge?.extract
? r.purge.extract
: r.content?.extract
? r.content.extract
: r.purge?.extract?.DEFAULT
? r.purge.extract.DEFAULT
: r.content?.extract?.DEFAULT
? r.content.extract.DEFAULT
: r.purge?.options?.extractors
? r.purge.options.extractors
: r.content?.options?.extractors
? r.content.options.extractors
: {})(),
i = {},
n = (() => {
if (r.purge?.options?.defaultExtractor) return r.purge.options.defaultExtractor;
if (r.content?.options?.defaultExtractor) return r.content.options.defaultExtractor;
})();
if ((n !== void 0 && (i.DEFAULT = n), typeof t == "function")) i.DEFAULT = t;
else if (Array.isArray(t))
for (let { extensions: a, extractor: s } of t ?? []) for (let o of a) i[o] = s;
else typeof t == "object" && t !== null && Object.assign(i, t);
return i;
})(),
transform: (() => {
let t = (() =>
r.purge?.transform
? r.purge.transform
: r.content?.transform
? r.content.transform
: r.purge?.transform?.DEFAULT
? r.purge.transform.DEFAULT
: r.content?.transform?.DEFAULT
? r.content.transform.DEFAULT
: {})(),
i = {};
return (
typeof t == "function" && (i.DEFAULT = t),
typeof t == "object" && t !== null && Object.assign(i, t),
i
);
})(),
}));
for (let t of r.content.files)
if (typeof t == "string" && /{([^,]*?)}/g.test(t)) {
F.warn("invalid-glob-braces", [
`The glob pattern ${ns(t)} in your Tailwind CSS configuration is invalid.`,
`Update it to ${ns(t.replace(/{([^,]*?)}/g, "$1"))} to silence this warning.`,
]);
break;
}
return r;
}
var Ru = C(() => {
l();
je();
Oe();
});
function ie(r) {
if (Object.prototype.toString.call(r) !== "[object Object]") return !1;
let e = Object.getPrototypeOf(r);
return e === null || Object.getPrototypeOf(e) === null;
}
var At = C(() => {
l();
});
function et(r) {
return Array.isArray(r)
? r.map((e) => et(e))
: typeof r == "object" && r !== null
? Object.fromEntries(Object.entries(r).map(([e, t]) => [e, et(t)]))
: r;
}
var wi = C(() => {
l();
});
function wt(r) {
return r.replace(/\\,/g, "\\2c ");
}
var bi = C(() => {
l();
});
var ls,
Mu = C(() => {
l();
ls = {
aliceblue: [240, 248, 255],
antiquewhite: [250, 235, 215],
aqua: [0, 255, 255],
aquamarine: [127, 255, 212],
azure: [240, 255, 255],
beige: [245, 245, 220],
bisque: [255, 228, 196],
black: [0, 0, 0],
blanchedalmond: [255, 235, 205],
blue: [0, 0, 255],
blueviolet: [138, 43, 226],
brown: [165, 42, 42],
burlywood: [222, 184, 135],
cadetblue: [95, 158, 160],
chartreuse: [127, 255, 0],
chocolate: [210, 105, 30],
coral: [255, 127, 80],
cornflowerblue: [100, 149, 237],
cornsilk: [255, 248, 220],
crimson: [220, 20, 60],
cyan: [0, 255, 255],
darkblue: [0, 0, 139],
darkcyan: [0, 139, 139],
darkgoldenrod: [184, 134, 11],
darkgray: [169, 169, 169],
darkgreen: [0, 100, 0],
darkgrey: [169, 169, 169],
darkkhaki: [189, 183, 107],
darkmagenta: [139, 0, 139],
darkolivegreen: [85, 107, 47],
darkorange: [255, 140, 0],
darkorchid: [153, 50, 204],
darkred: [139, 0, 0],
darksalmon: [233, 150, 122],
darkseagreen: [143, 188, 143],
darkslateblue: [72, 61, 139],
darkslategray: [47, 79, 79],
darkslategrey: [47, 79, 79],
darkturquoise: [0, 206, 209],
darkviolet: [148, 0, 211],
deeppink: [255, 20, 147],
deepskyblue: [0, 191, 255],
dimgray: [105, 105, 105],
dimgrey: [105, 105, 105],
dodgerblue: [30, 144, 255],
firebrick: [178, 34, 34],
floralwhite: [255, 250, 240],
forestgreen: [34, 139, 34],
fuchsia: [255, 0, 255],
gainsboro: [220, 220, 220],
ghostwhite: [248, 248, 255],
gold: [255, 215, 0],
goldenrod: [218, 165, 32],
gray: [128, 128, 128],
green: [0, 128, 0],
greenyellow: [173, 255, 47],
grey: [128, 128, 128],
honeydew: [240, 255, 240],
hotpink: [255, 105, 180],
indianred: [205, 92, 92],
indigo: [75, 0, 130],
ivory: [255, 255, 240],
khaki: [240, 230, 140],
lavender: [230, 230, 250],
lavenderblush: [255, 240, 245],
lawngreen: [124, 252, 0],
lemonchiffon: [255, 250, 205],
lightblue: [173, 216, 230],
lightcoral: [240, 128, 128],
lightcyan: [224, 255, 255],
lightgoldenrodyellow: [250, 250, 210],
lightgray: [211, 211, 211],
lightgreen: [144, 238, 144],
lightgrey: [211, 211, 211],
lightpink: [255, 182, 193],
lightsalmon: [255, 160, 122],
lightseagreen: [32, 178, 170],
lightskyblue: [135, 206, 250],
lightslategray: [119, 136, 153],
lightslategrey: [119, 136, 153],
lightsteelblue: [176, 196, 222],
lightyellow: [255, 255, 224],
lime: [0, 255, 0],
limegreen: [50, 205, 50],
linen: [250, 240, 230],
magenta: [255, 0, 255],
maroon: [128, 0, 0],
mediumaquamarine: [102, 205, 170],
mediumblue: [0, 0, 205],
mediumorchid: [186, 85, 211],
mediumpurple: [147, 112, 219],
mediumseagreen: [60, 179, 113],
mediumslateblue: [123, 104, 238],
mediumspringgreen: [0, 250, 154],
mediumturquoise: [72, 209, 204],
mediumvioletred: [199, 21, 133],
midnightblue: [25, 25, 112],
mintcream: [245, 255, 250],
mistyrose: [255, 228, 225],
moccasin: [255, 228, 181],
navajowhite: [255, 222, 173],
navy: [0, 0, 128],
oldlace: [253, 245, 230],
olive: [128, 128, 0],
olivedrab: [107, 142, 35],
orange: [255, 165, 0],
orangered: [255, 69, 0],
orchid: [218, 112, 214],
palegoldenrod: [238, 232, 170],
palegreen: [152, 251, 152],
paleturquoise: [175, 238, 238],
palevioletred: [219, 112, 147],
papayawhip: [255, 239, 213],
peachpuff: [255, 218, 185],
peru: [205, 133, 63],
pink: [255, 192, 203],
plum: [221, 160, 221],
powderblue: [176, 224, 230],
purple: [128, 0, 128],
rebeccapurple: [102, 51, 153],
red: [255, 0, 0],
rosybrown: [188, 143, 143],
royalblue: [65, 105, 225],
saddlebrown: [139, 69, 19],
salmon: [250, 128, 114],
sandybrown: [244, 164, 96],
seagreen: [46, 139, 87],
seashell: [255, 245, 238],
sienna: [160, 82, 45],
silver: [192, 192, 192],
skyblue: [135, 206, 235],
slateblue: [106, 90, 205],
slategray: [112, 128, 144],
slategrey: [112, 128, 144],
snow: [255, 250, 250],
springgreen: [0, 255, 127],
steelblue: [70, 130, 180],
tan: [210, 180, 140],
teal: [0, 128, 128],
thistle: [216, 191, 216],
tomato: [255, 99, 71],
turquoise: [64, 224, 208],
violet: [238, 130, 238],
wheat: [245, 222, 179],
white: [255, 255, 255],
whitesmoke: [245, 245, 245],
yellow: [255, 255, 0],
yellowgreen: [154, 205, 50],
};
});
function ur(r, { loose: e = !1 } = {}) {
if (typeof r != "string") return null;
if (((r = r.trim()), r === "transparent")) return { mode: "rgb", color: ["0", "0", "0"], alpha: "0" };
if (r in ls) return { mode: "rgb", color: ls[r].map((a) => a.toString()) };
let t = r.replace(jb, (a, s, o, u, c) => ["#", s, s, o, o, u, u, c ? c + c : ""].join("")).match(zb);
if (t !== null)
return {
mode: "rgb",
color: [parseInt(t[1], 16), parseInt(t[2], 16), parseInt(t[3], 16)].map((a) => a.toString()),
alpha: t[4] ? (parseInt(t[4], 16) / 255).toString() : void 0,
};
let i = r.match(Vb) ?? r.match(Ub);
if (i === null) return null;
let n = [i[2], i[3], i[4]].filter(Boolean).map((a) => a.toString());
return n.length === 2 && n[0].startsWith("var(")
? { mode: i[1], color: [n[0]], alpha: n[1] }
: (!e && n.length !== 3) || (n.length < 3 && !n.some((a) => /^var\(.*?\)$/.test(a)))
? null
: { mode: i[1], color: n, alpha: i[5]?.toString?.() };
}
function us({ mode: r, color: e, alpha: t }) {
let i = t !== void 0;
return r === "rgba" || r === "hsla"
? `${r}(${e.join(", ")}${i ? `, ${t}` : ""})`
: `${r}(${e.join(" ")}${i ? ` / ${t}` : ""})`;
}
var zb,
jb,
tt,
vi,
Bu,
rt,
Vb,
Ub,
fs = C(() => {
l();
Mu();
((zb = /^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i),
(jb = /^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i),
(tt = /(?:\d+|\d*\.\d+)%?/),
(vi = /(?:\s*,\s*|\s+)/),
(Bu = /\s*[,/]\s*/),
(rt = /var\(--(?:[^ )]*?)(?:,(?:[^ )]*?|var\(--[^ )]*?\)))?\)/),
(Vb = new RegExp(
`^(rgba?)\\(\\s*(${tt.source}|${rt.source})(?:${vi.source}(${tt.source}|${rt.source}))?(?:${vi.source}(${tt.source}|${rt.source}))?(?:${Bu.source}(${tt.source}|${rt.source}))?\\s*\\)$`
)),
(Ub = new RegExp(
`^(hsla?)\\(\\s*((?:${tt.source})(?:deg|rad|grad|turn)?|${rt.source})(?:${vi.source}(${tt.source}|${rt.source}))?(?:${vi.source}(${tt.source}|${rt.source}))?(?:${Bu.source}(${tt.source}|${rt.source}))?\\s*\\)$`
)));
});
function Ie(r, e, t) {
if (typeof r == "function") return r({ opacityValue: e });
let i = ur(r, { loose: !0 });
return i === null ? t : us({ ...i, alpha: e });
}
function se({ color: r, property: e, variable: t }) {
let i = [].concat(e);
if (typeof r == "function")
return {
[t]: "1",
...Object.fromEntries(i.map((a) => [a, r({ opacityVariable: t, opacityValue: `var(${t})` })])),
};
let n = ur(r);
return n === null
? Object.fromEntries(i.map((a) => [a, r]))
: n.alpha !== void 0
? Object.fromEntries(i.map((a) => [a, r]))
: { [t]: "1", ...Object.fromEntries(i.map((a) => [a, us({ ...n, alpha: `var(${t})` })])) };
}
var fr = C(() => {
l();
fs();
});
function ae(r, e) {
let t = [],
i = [],
n = 0,
a = !1;
for (let s = 0; s < r.length; s++) {
let o = r[s];
(t.length === 0 &&
o === e[0] &&
!a &&
(e.length === 1 || r.slice(s, s + e.length) === e) &&
(i.push(r.slice(n, s)), (n = s + e.length)),
a ? (a = !1) : o === "\\" && (a = !0),
o === "(" || o === "[" || o === "{"
? t.push(o)
: ((o === ")" && t[t.length - 1] === "(") ||
(o === "]" && t[t.length - 1] === "[") ||
(o === "}" && t[t.length - 1] === "{")) &&
t.pop());
}
return (i.push(r.slice(n)), i);
}
var _t = C(() => {
l();
});
function xi(r) {
return ae(r, ",").map((t) => {
let i = t.trim(),
n = { raw: i },
a = i.split(Gb),
s = new Set();
for (let o of a)
((Fu.lastIndex = 0),
!s.has("KEYWORD") && Wb.has(o)
? ((n.keyword = o), s.add("KEYWORD"))
: Fu.test(o)
? s.has("X")
? s.has("Y")
? s.has("BLUR")
? s.has("SPREAD") || ((n.spread = o), s.add("SPREAD"))
: ((n.blur = o), s.add("BLUR"))
: ((n.y = o), s.add("Y"))
: ((n.x = o), s.add("X"))
: n.color
? (n.unknown || (n.unknown = []), n.unknown.push(o))
: (n.color = o));
return ((n.valid = n.x !== void 0 && n.y !== void 0), n);
});
}
function Lu(r) {
return r
.map((e) => (e.valid ? [e.keyword, e.x, e.y, e.blur, e.spread, e.color].filter(Boolean).join(" ") : e.raw))
.join(", ");
}
var Wb,
Gb,
Fu,
cs = C(() => {
l();
_t();
((Wb = new Set(["inset", "inherit", "initial", "revert", "unset"])),
(Gb = /\ +(?![^(]*\))/g),
(Fu = /^-?(\d+|\.\d+)(.*?)$/g));
});
function ps(r) {
return Hb.some((e) => new RegExp(`^${e}\\(.*\\)`).test(r));
}
function L(r, e = null, t = !0) {
let i = e && Yb.has(e.property);
return r.startsWith("--") && !i
? `var(${r})`
: r.includes("url(")
? r
.split(/(url\(.*?\))/g)
.filter(Boolean)
.map((n) => (/^url\(.*?\)$/.test(n) ? n : L(n, e, !1)))
.join("")
: ((r = r
.replace(/([^\\])_+/g, (n, a) => a + " ".repeat(n.length - 1))
.replace(/^_/g, " ")
.replace(/\\_/g, "_")),
t && (r = r.trim()),
(r = Qb(r)),
r);
}
function Qb(r) {
let e = ["theme"],
t = [
"min-content",
"max-content",
"fit-content",
"safe-area-inset-top",
"safe-area-inset-right",
"safe-area-inset-bottom",
"safe-area-inset-left",
"titlebar-area-x",
"titlebar-area-y",
"titlebar-area-width",
"titlebar-area-height",
"keyboard-inset-top",
"keyboard-inset-right",
"keyboard-inset-bottom",
"keyboard-inset-left",
"keyboard-inset-width",
"keyboard-inset-height",
"radial-gradient",
"linear-gradient",
"conic-gradient",
"repeating-radial-gradient",
"repeating-linear-gradient",
"repeating-conic-gradient",
];
return r.replace(/(calc|min|max|clamp)\(.+\)/g, (i) => {
let n = "";
function a() {
let s = n.trimEnd();
return s[s.length - 1];
}
for (let s = 0; s < i.length; s++) {
let o = function (f) {
return f.split("").every((d, p) => i[s + p] === d);
},
u = function (f) {
let d = 1 / 0;
for (let m of f) {
let b = i.indexOf(m, s);
b !== -1 && b < d && (d = b);
}
let p = i.slice(s, d);
return ((s += p.length - 1), p);
},
c = i[s];
if (o("var")) n += u([")", ","]);
else if (t.some((f) => o(f))) {
let f = t.find((d) => o(d));
((n += f), (s += f.length - 1));
} else
e.some((f) => o(f))
? (n += u([")"]))
: o("[")
? (n += u(["]"]))
: ["+", "-", "*", "/"].includes(c) && !["(", "+", "-", "*", "/", ","].includes(a())
? (n += ` ${c} `)
: (n += c);
}
return n.replace(/\s+/g, " ");
});
}
function ds(r) {
return r.startsWith("url(");
}
function hs(r) {
return !isNaN(Number(r)) || ps(r);
}
function cr(r) {
return (r.endsWith("%") && hs(r.slice(0, -1))) || ps(r);
}
function pr(r) {
return r === "0" || new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${Xb}$`).test(r) || ps(r);
}
function Nu(r) {
return Kb.has(r);
}
function $u(r) {
let e = xi(L(r));
for (let t of e) if (!t.valid) return !1;
return !0;
}
function zu(r) {
let e = 0;
return ae(r, "_").every(
(i) => ((i = L(i)), i.startsWith("var(") ? !0 : ur(i, { loose: !0 }) !== null ? (e++, !0) : !1)
)
? e > 0
: !1;
}
function ju(r) {
let e = 0;
return ae(r, ",").every(
(i) => (
(i = L(i)),
i.startsWith("var(")
? !0
: ds(i) || e0(i) || ["element(", "image(", "cross-fade(", "image-set("].some((n) => i.startsWith(n))
? (e++, !0)
: !1
)
)
? e > 0
: !1;
}
function e0(r) {
r = L(r);
for (let e of Zb) if (r.startsWith(`${e}(`)) return !0;
return !1;
}
function Vu(r) {
let e = 0;
return ae(r, "_").every(
(i) => ((i = L(i)), i.startsWith("var(") ? !0 : t0.has(i) || pr(i) || cr(i) ? (e++, !0) : !1)
)
? e > 0
: !1;
}
function Uu(r) {
let e = 0;
return ae(r, ",").every(
(i) => (
(i = L(i)),
i.startsWith("var(")
? !0
: (i.includes(" ") && !/(['"])([^"']+)\1/g.test(i)) || /^\d/g.test(i)
? !1
: (e++, !0)
)
)
? e > 0
: !1;
}
function Wu(r) {
return r0.has(r);
}
function Gu(r) {
return i0.has(r);
}
function Hu(r) {
return n0.has(r);
}
var Hb,
Yb,
Jb,
Xb,
Kb,
Zb,
t0,
r0,
i0,
n0,
dr = C(() => {
l();
fs();
cs();
_t();
Hb = ["min", "max", "clamp", "calc"];
Yb = new Set([
"scroll-timeline-name",
"timeline-scope",
"view-timeline-name",
"font-palette",
"scroll-timeline",
"animation-timeline",
"view-timeline",
]);
((Jb = [
"cm",
"mm",
"Q",
"in",
"pc",
"pt",
"px",
"em",
"ex",
"ch",
"rem",
"lh",
"rlh",
"vw",
"vh",
"vmin",
"vmax",
"vb",
"vi",
"svw",
"svh",
"lvw",
"lvh",
"dvw",
"dvh",
"cqw",
"cqh",
"cqi",
"cqb",
"cqmin",
"cqmax",
]),
(Xb = `(?:${Jb.join("|")})`));
Kb = new Set(["thin", "medium", "thick"]);
Zb = new Set([
"conic-gradient",
"linear-gradient",
"radial-gradient",
"repeating-conic-gradient",
"repeating-linear-gradient",
"repeating-radial-gradient",
]);
t0 = new Set(["center", "top", "right", "bottom", "left"]);
r0 = new Set([
"serif",
"sans-serif",
"monospace",
"cursive",
"fantasy",
"system-ui",
"ui-serif",
"ui-sans-serif",
"ui-monospace",
"ui-rounded",
"math",
"emoji",
"fangsong",
]);
i0 = new Set(["xx-small", "x-small", "small", "medium", "large", "x-large", "xx-large", "xxx-large"]);
n0 = new Set(["larger", "smaller"]);
});
function Yu(r) {
let e = ["cover", "contain"];
return ae(r, ",").every((t) => {
let i = ae(t, "_").filter(Boolean);
return i.length === 1 && e.includes(i[0])
? !0
: i.length !== 1 && i.length !== 2
? !1
: i.every((n) => pr(n) || cr(n) || n === "auto");
});
}
var Qu = C(() => {
l();
dr();
_t();
});
function Ju(r, e) {
r.walkClasses((t) => {
((t.value = e(t.value)), t.raws && t.raws.value && (t.raws.value = wt(t.raws.value)));
});
}
function Xu(r, e) {
if (!it(r)) return;
let t = r.slice(1, -1);
if (!!e(t)) return L(t);
}
function s0(r, e = {}, t) {
let i = e[r];
if (i !== void 0) return Ke(i);
if (it(r)) {
let n = Xu(r, t);
return n === void 0 ? void 0 : Ke(n);
}
}
function ki(r, e = {}, { validate: t = () => !0 } = {}) {
let i = e.values?.[r];
return i !== void 0
? i
: e.supportsNegativeValues && r.startsWith("-")
? s0(r.slice(1), e.values, t)
: Xu(r, t);
}
function it(r) {
return r.startsWith("[") && r.endsWith("]");
}
function Ku(r) {
let e = r.lastIndexOf("/"),
t = r.lastIndexOf("[", e),
i = r.indexOf("]", e);
return (
r[e - 1] === "]" ||
r[e + 1] === "[" ||
(t !== -1 && i !== -1 && t < e && e < i && (e = r.lastIndexOf("/", t))),
e === -1 || e === r.length - 1
? [r, void 0]
: it(r) && !r.includes("]/[")
? [r, void 0]
: [r.slice(0, e), r.slice(e + 1)]
);
}
function Ot(r) {
if (typeof r == "string" && r.includes("<alpha-value>")) {
let e = r;
return ({ opacityValue: t = 1 }) => e.replace("<alpha-value>", t);
}
return r;
}
function Zu(r) {
return L(r.slice(1, -1));
}
function a0(r, e = {}, { tailwindConfig: t = {} } = {}) {
if (e.values?.[r] !== void 0) return Ot(e.values?.[r]);
let [i, n] = Ku(r);
if (n !== void 0) {
let a = e.values?.[i] ?? (it(i) ? i.slice(1, -1) : void 0);
return a === void 0
? void 0
: ((a = Ot(a)),
it(n) ? Ie(a, Zu(n)) : t.theme?.opacity?.[n] === void 0 ? void 0 : Ie(a, t.theme.opacity[n]));
}
return ki(r, e, { validate: zu });
}
function o0(r, e = {}) {
return e.values?.[r];
}
function me(r) {
return (e, t) => ki(e, t, { validate: r });
}
function l0(r, e) {
let t = r.indexOf(e);
return t === -1 ? [void 0, r] : [r.slice(0, t), r.slice(t + 1)];
}
function gs(r, e, t, i) {
if (t.values && e in t.values)
for (let { type: a } of r ?? []) {
let s = ms[a](e, t, { tailwindConfig: i });
if (s !== void 0) return [s, a, null];
}
if (it(e)) {
let a = e.slice(1, -1),
[s, o] = l0(a, ":");
if (!/^[\w-_]+$/g.test(s)) o = a;
else if (s !== void 0 && !ef.includes(s)) return [];
if (o.length > 0 && ef.includes(s)) return [ki(`[${o}]`, t), s, null];
}
let n = ys(r, e, t, i);
for (let a of n) return a;
return [];
}
function* ys(r, e, t, i) {
let n = K(i, "generalizedModifiers"),
[a, s] = Ku(e);
if (
((n &&
t.modifiers != null &&
(t.modifiers === "any" || (typeof t.modifiers == "object" && ((s && it(s)) || s in t.modifiers)))) ||
((a = e), (s = void 0)),
s !== void 0 && a === "" && (a = "DEFAULT"),
s !== void 0 && typeof t.modifiers == "object")
) {
let u = t.modifiers?.[s] ?? null;
u !== null ? (s = u) : it(s) && (s = Zu(s));
}
for (let { type: u } of r ?? []) {
let c = ms[u](a, t, { tailwindConfig: i });
c !== void 0 && (yield [c, u, s ?? null]);
}
}
var ms,
ef,
hr = C(() => {
l();
bi();
fr();
dr();
di();
Qu();
je();
((ms = {
any: ki,
color: a0,
url: me(ds),
image: me(ju),
length: me(pr),
percentage: me(cr),
position: me(Vu),
lookup: o0,
"generic-name": me(Wu),
"family-name": me(Uu),
number: me(hs),
"line-width": me(Nu),
"absolute-size": me(Gu),
"relative-size": me(Hu),
shadow: me($u),
size: me(Yu),
}),
(ef = Object.keys(ms)));
});
function N(r) {
return typeof r == "function" ? r({}) : r;
}
var ws = C(() => {
l();
});
function Et(r) {
return typeof r == "function";
}
function mr(r, ...e) {
let t = e.pop();
for (let i of e)
for (let n in i) {
let a = t(r[n], i[n]);
a === void 0 ? (ie(r[n]) && ie(i[n]) ? (r[n] = mr({}, r[n], i[n], t)) : (r[n] = i[n])) : (r[n] = a);
}
return r;
}
function u0(r, ...e) {
return Et(r) ? r(...e) : r;
}
function f0(r) {
return r.reduce(
(e, { extend: t }) => mr(e, t, (i, n) => (i === void 0 ? [n] : Array.isArray(i) ? [n, ...i] : [n, i])),
{}
);
}
function c0(r) {
return { ...r.reduce((e, t) => os(e, t), {}), extend: f0(r) };
}
function tf(r, e) {
if (Array.isArray(r) && ie(r[0])) return r.concat(e);
if (Array.isArray(e) && ie(e[0]) && ie(r)) return [r, ...e];
if (Array.isArray(e)) return e;
}
function p0({ extend: r, ...e }) {
return mr(e, r, (t, i) =>
!Et(t) && !i.some(Et) ? mr({}, t, ...i, tf) : (n, a) => mr({}, ...[t, ...i].map((s) => u0(s, n, a)), tf)
);
}
function* d0(r) {
let e = Ze(r);
if (e.length === 0 || (yield e, Array.isArray(r))) return;
let t = /^(.*?)\s*\/\s*([^/]+)$/,
i = r.match(t);
if (i !== null) {
let [, n, a] = i,
s = Ze(n);
((s.alpha = a), yield s);
}
}
function h0(r) {
let e = (t, i) => {
for (let n of d0(t)) {
let a = 0,
s = r;
for (; s != null && a < n.length; )
((s = s[n[a++]]), (s = Et(s) && (n.alpha === void 0 || a <= n.length - 1) ? s(e, bs) : s));
if (s !== void 0) {
if (n.alpha !== void 0) {
let o = Ot(s);
return Ie(o, n.alpha, N(o));
}
return ie(s) ? et(s) : s;
}
}
return i;
};
return (
Object.assign(e, { theme: e, ...bs }),
Object.keys(r).reduce((t, i) => ((t[i] = Et(r[i]) ? r[i](e, bs) : r[i]), t), {})
);
}
function rf(r) {
let e = [];
return (
r.forEach((t) => {
e = [...e, t];
let i = t?.plugins ?? [];
i.length !== 0 &&
i.forEach((n) => {
(n.__isOptionsFunction && (n = n()), (e = [...e, ...rf([n?.config ?? {}])]));
});
}),
e
);
}
function m0(r) {
return [...r].reduceRight((t, i) => (Et(i) ? i({ corePlugins: t }) : Au(i, t)), Su);
}
function g0(r) {
return [...r].reduceRight((t, i) => [...t, ...i], []);
}
function vs(r) {
let e = [...rf(r), { prefix: "", important: !1, separator: ":" }];
return qu(
os(
{
theme: h0(p0(c0(e.map((t) => t?.theme ?? {})))),
corePlugins: m0(e.map((t) => t.corePlugins)),
plugins: g0(r.map((t) => t?.plugins ?? [])),
},
...e
)
);
}
var bs,
nf = C(() => {
l();
di();
Cu();
_u();
mi();
Tu();
gi();
Ru();
At();
wi();
hr();
fr();
ws();
bs = {
colors: ss,
negative(r) {
return Object.keys(r)
.filter((e) => r[e] !== "0")
.reduce((e, t) => {
let i = Ke(r[t]);
return (i !== void 0 && (e[`-${t}`] = i), e);
}, {});
},
breakpoints(r) {
return Object.keys(r)
.filter((e) => typeof r[e] == "string")
.reduce((e, t) => ({ ...e, [`screen-${t}`]: r[t] }), {});
},
};
});
var Si = v((i3, sf) => {
l();
sf.exports = {
content: [],
presets: [],
darkMode: "media",
theme: {
accentColor: ({ theme: r }) => ({ ...r("colors"), auto: "auto" }),
animation: {
none: "none",
spin: "spin 1s linear infinite",
ping: "ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",
pulse: "pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",
bounce: "bounce 1s infinite",
},
aria: {
busy: 'busy="true"',
checked: 'checked="true"',
disabled: 'disabled="true"',
expanded: 'expanded="true"',
hidden: 'hidden="true"',
pressed: 'pressed="true"',
readonly: 'readonly="true"',
required: 'required="true"',
selected: 'selected="true"',
},
aspectRatio: { auto: "auto", square: "1 / 1", video: "16 / 9" },
backdropBlur: ({ theme: r }) => r("blur"),
backdropBrightness: ({ theme: r }) => r("brightness"),
backdropContrast: ({ theme: r }) => r("contrast"),
backdropGrayscale: ({ theme: r }) => r("grayscale"),
backdropHueRotate: ({ theme: r }) => r("hueRotate"),
backdropInvert: ({ theme: r }) => r("invert"),
backdropOpacity: ({ theme: r }) => r("opacity"),
backdropSaturate: ({ theme: r }) => r("saturate"),
backdropSepia: ({ theme: r }) => r("sepia"),
backgroundColor: ({ theme: r }) => r("colors"),
backgroundImage: {
none: "none",
"gradient-to-t": "linear-gradient(to top, var(--tw-gradient-stops))",
"gradient-to-tr": "linear-gradient(to top right, var(--tw-gradient-stops))",
"gradient-to-r": "linear-gradient(to right, var(--tw-gradient-stops))",
"gradient-to-br": "linear-gradient(to bottom right, var(--tw-gradient-stops))",
"gradient-to-b": "linear-gradient(to bottom, var(--tw-gradient-stops))",
"gradient-to-bl": "linear-gradient(to bottom left, var(--tw-gradient-stops))",
"gradient-to-l": "linear-gradient(to left, var(--tw-gradient-stops))",
"gradient-to-tl": "linear-gradient(to top left, var(--tw-gradient-stops))",
},
backgroundOpacity: ({ theme: r }) => r("opacity"),
backgroundPosition: {
bottom: "bottom",
center: "center",
left: "left",
"left-bottom": "left bottom",
"left-top": "left top",
right: "right",
"right-bottom": "right bottom",
"right-top": "right top",
top: "top",
},
backgroundSize: { auto: "auto", cover: "cover", contain: "contain" },
blur: {
0: "0",
none: "0",
sm: "4px",
DEFAULT: "8px",
md: "12px",
lg: "16px",
xl: "24px",
"2xl": "40px",
"3xl": "64px",
},
borderColor: ({ theme: r }) => ({ ...r("colors"), DEFAULT: r("colors.gray.200", "currentColor") }),
borderOpacity: ({ theme: r }) => r("opacity"),
borderRadius: {
none: "0px",
sm: "0.125rem",
DEFAULT: "0.25rem",
md: "0.375rem",
lg: "0.5rem",
xl: "0.75rem",
"2xl": "1rem",
"3xl": "1.5rem",
full: "9999px",
},
borderSpacing: ({ theme: r }) => ({ ...r("spacing") }),
borderWidth: { DEFAULT: "1px", 0: "0px", 2: "2px", 4: "4px", 8: "8px" },
boxShadow: {
sm: "0 1px 2px 0 rgb(0 0 0 / 0.05)",
DEFAULT: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",
md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",
xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",
"2xl": "0 25px 50px -12px rgb(0 0 0 / 0.25)",
inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",
none: "none",
},
boxShadowColor: ({ theme: r }) => r("colors"),
brightness: {
0: "0",
50: ".5",
75: ".75",
90: ".9",
95: ".95",
100: "1",
105: "1.05",
110: "1.1",
125: "1.25",
150: "1.5",
200: "2",
},
caretColor: ({ theme: r }) => r("colors"),
colors: ({ colors: r }) => ({
inherit: r.inherit,
current: r.current,
transparent: r.transparent,
black: r.black,
white: r.white,
slate: r.slate,
gray: r.gray,
zinc: r.zinc,
neutral: r.neutral,
stone: r.stone,
red: r.red,
orange: r.orange,
amber: r.amber,
yellow: r.yellow,
lime: r.lime,
green: r.green,
emerald: r.emerald,
teal: r.teal,
cyan: r.cyan,
sky: r.sky,
blue: r.blue,
indigo: r.indigo,
violet: r.violet,
purple: r.purple,
fuchsia: r.fuchsia,
pink: r.pink,
rose: r.rose,
}),
columns: {
auto: "auto",
1: "1",
2: "2",
3: "3",
4: "4",
5: "5",
6: "6",
7: "7",
8: "8",
9: "9",
10: "10",
11: "11",
12: "12",
"3xs": "16rem",
"2xs": "18rem",
xs: "20rem",
sm: "24rem",
md: "28rem",
lg: "32rem",
xl: "36rem",
"2xl": "42rem",
"3xl": "48rem",
"4xl": "56rem",
"5xl": "64rem",
"6xl": "72rem",
"7xl": "80rem",
},
container: {},
content: { none: "none" },
contrast: { 0: "0", 50: ".5", 75: ".75", 100: "1", 125: "1.25", 150: "1.5", 200: "2" },
cursor: {
auto: "auto",
default: "default",
pointer: "pointer",
wait: "wait",
text: "text",
move: "move",
help: "help",
"not-allowed": "not-allowed",
none: "none",
"context-menu": "context-menu",
progress: "progress",
cell: "cell",
crosshair: "crosshair",
"vertical-text": "vertical-text",
alias: "alias",
copy: "copy",
"no-drop": "no-drop",
grab: "grab",
grabbing: "grabbing",
"all-scroll": "all-scroll",
"col-resize": "col-resize",
"row-resize": "row-resize",
"n-resize": "n-resize",
"e-resize": "e-resize",
"s-resize": "s-resize",
"w-resize": "w-resize",
"ne-resize": "ne-resize",
"nw-resize": "nw-resize",
"se-resize": "se-resize",
"sw-resize": "sw-resize",
"ew-resize": "ew-resize",
"ns-resize": "ns-resize",
"nesw-resize": "nesw-resize",
"nwse-resize": "nwse-resize",
"zoom-in": "zoom-in",
"zoom-out": "zoom-out",
},
divideColor: ({ theme: r }) => r("borderColor"),
divideOpacity: ({ theme: r }) => r("borderOpacity"),
divideWidth: ({ theme: r }) => r("borderWidth"),
dropShadow: {
sm: "0 1px 1px rgb(0 0 0 / 0.05)",
DEFAULT: ["0 1px 2px rgb(0 0 0 / 0.1)", "0 1px 1px rgb(0 0 0 / 0.06)"],
md: ["0 4px 3px rgb(0 0 0 / 0.07)", "0 2px 2px rgb(0 0 0 / 0.06)"],
lg: ["0 10px 8px rgb(0 0 0 / 0.04)", "0 4px 3px rgb(0 0 0 / 0.1)"],
xl: ["0 20px 13px rgb(0 0 0 / 0.03)", "0 8px 5px rgb(0 0 0 / 0.08)"],
"2xl": "0 25px 25px rgb(0 0 0 / 0.15)",
none: "0 0 #0000",
},
fill: ({ theme: r }) => ({ none: "none", ...r("colors") }),
flex: { 1: "1 1 0%", auto: "1 1 auto", initial: "0 1 auto", none: "none" },
flexBasis: ({ theme: r }) => ({
auto: "auto",
...r("spacing"),
"1/2": "50%",
"1/3": "33.333333%",
"2/3": "66.666667%",
"1/4": "25%",
"2/4": "50%",
"3/4": "75%",
"1/5": "20%",
"2/5": "40%",
"3/5": "60%",
"4/5": "80%",
"1/6": "16.666667%",
"2/6": "33.333333%",
"3/6": "50%",
"4/6": "66.666667%",
"5/6": "83.333333%",
"1/12": "8.333333%",
"2/12": "16.666667%",
"3/12": "25%",
"4/12": "33.333333%",
"5/12": "41.666667%",
"6/12": "50%",
"7/12": "58.333333%",
"8/12": "66.666667%",
"9/12": "75%",
"10/12": "83.333333%",
"11/12": "91.666667%",
full: "100%",
}),
flexGrow: { 0: "0", DEFAULT: "1" },
flexShrink: { 0: "0", DEFAULT: "1" },
fontFamily: {
sans: [
"ui-sans-serif",
"system-ui",
"sans-serif",
'"Apple Color Emoji"',
'"Segoe UI Emoji"',
'"Segoe UI Symbol"',
'"Noto Color Emoji"',
],
serif: ["ui-serif", "Georgia", "Cambria", '"Times New Roman"', "Times", "serif"],
mono: [
"ui-monospace",
"SFMono-Regular",
"Menlo",
"Monaco",
"Consolas",
'"Liberation Mono"',
'"Courier New"',
"monospace",
],
},
fontSize: {
xs: ["0.75rem", { lineHeight: "1rem" }],
sm: ["0.875rem", { lineHeight: "1.25rem" }],
base: ["1rem", { lineHeight: "1.5rem" }],
lg: ["1.125rem", { lineHeight: "1.75rem" }],
xl: ["1.25rem", { lineHeight: "1.75rem" }],
"2xl": ["1.5rem", { lineHeight: "2rem" }],
"3xl": ["1.875rem", { lineHeight: "2.25rem" }],
"4xl": ["2.25rem", { lineHeight: "2.5rem" }],
"5xl": ["3rem", { lineHeight: "1" }],
"6xl": ["3.75rem", { lineHeight: "1" }],
"7xl": ["4.5rem", { lineHeight: "1" }],
"8xl": ["6rem", { lineHeight: "1" }],
"9xl": ["8rem", { lineHeight: "1" }],
},
fontWeight: {
thin: "100",
extralight: "200",
light: "300",
normal: "400",
medium: "500",
semibold: "600",
bold: "700",
extrabold: "800",
black: "900",
},
gap: ({ theme: r }) => r("spacing"),
gradientColorStops: ({ theme: r }) => r("colors"),
gradientColorStopPositions: {
"0%": "0%",
"5%": "5%",
"10%": "10%",
"15%": "15%",
"20%": "20%",
"25%": "25%",
"30%": "30%",
"35%": "35%",
"40%": "40%",
"45%": "45%",
"50%": "50%",
"55%": "55%",
"60%": "60%",
"65%": "65%",
"70%": "70%",
"75%": "75%",
"80%": "80%",
"85%": "85%",
"90%": "90%",
"95%": "95%",
"100%": "100%",
},
grayscale: { 0: "0", DEFAULT: "100%" },
gridAutoColumns: { auto: "auto", min: "min-content", max: "max-content", fr: "minmax(0, 1fr)" },
gridAutoRows: { auto: "auto", min: "min-content", max: "max-content", fr: "minmax(0, 1fr)" },
gridColumn: {
auto: "auto",
"span-1": "span 1 / span 1",
"span-2": "span 2 / span 2",
"span-3": "span 3 / span 3",
"span-4": "span 4 / span 4",
"span-5": "span 5 / span 5",
"span-6": "span 6 / span 6",
"span-7": "span 7 / span 7",
"span-8": "span 8 / span 8",
"span-9": "span 9 / span 9",
"span-10": "span 10 / span 10",
"span-11": "span 11 / span 11",
"span-12": "span 12 / span 12",
"span-full": "1 / -1",
},
gridColumnEnd: {
auto: "auto",
1: "1",
2: "2",
3: "3",
4: "4",
5: "5",
6: "6",
7: "7",
8: "8",
9: "9",
10: "10",
11: "11",
12: "12",
13: "13",
},
gridColumnStart: {
auto: "auto",
1: "1",
2: "2",
3: "3",
4: "4",
5: "5",
6: "6",
7: "7",
8: "8",
9: "9",
10: "10",
11: "11",
12: "12",
13: "13",
},
gridRow: {
auto: "auto",
"span-1": "span 1 / span 1",
"span-2": "span 2 / span 2",
"span-3": "span 3 / span 3",
"span-4": "span 4 / span 4",
"span-5": "span 5 / span 5",
"span-6": "span 6 / span 6",
"span-7": "span 7 / span 7",
"span-8": "span 8 / span 8",
"span-9": "span 9 / span 9",
"span-10": "span 10 / span 10",
"span-11": "span 11 / span 11",
"span-12": "span 12 / span 12",
"span-full": "1 / -1",
},
gridRowEnd: {
auto: "auto",
1: "1",
2: "2",
3: "3",
4: "4",
5: "5",
6: "6",
7: "7",
8: "8",
9: "9",
10: "10",
11: "11",
12: "12",
13: "13",
},
gridRowStart: {
auto: "auto",
1: "1",
2: "2",
3: "3",
4: "4",
5: "5",
6: "6",
7: "7",
8: "8",
9: "9",
10: "10",
11: "11",
12: "12",
13: "13",
},
gridTemplateColumns: {
none: "none",
subgrid: "subgrid",
1: "repeat(1, minmax(0, 1fr))",
2: "repeat(2, minmax(0, 1fr))",
3: "repeat(3, minmax(0, 1fr))",
4: "repeat(4, minmax(0, 1fr))",
5: "repeat(5, minmax(0, 1fr))",
6: "repeat(6, minmax(0, 1fr))",
7: "repeat(7, minmax(0, 1fr))",
8: "repeat(8, minmax(0, 1fr))",
9: "repeat(9, minmax(0, 1fr))",
10: "repeat(10, minmax(0, 1fr))",
11: "repeat(11, minmax(0, 1fr))",
12: "repeat(12, minmax(0, 1fr))",
},
gridTemplateRows: {
none: "none",
subgrid: "subgrid",
1: "repeat(1, minmax(0, 1fr))",
2: "repeat(2, minmax(0, 1fr))",
3: "repeat(3, minmax(0, 1fr))",
4: "repeat(4, minmax(0, 1fr))",
5: "repeat(5, minmax(0, 1fr))",
6: "repeat(6, minmax(0, 1fr))",
7: "repeat(7, minmax(0, 1fr))",
8: "repeat(8, minmax(0, 1fr))",
9: "repeat(9, minmax(0, 1fr))",
10: "repeat(10, minmax(0, 1fr))",
11: "repeat(11, minmax(0, 1fr))",
12: "repeat(12, minmax(0, 1fr))",
},
height: ({ theme: r }) => ({
auto: "auto",
...r("spacing"),
"1/2": "50%",
"1/3": "33.333333%",
"2/3": "66.666667%",
"1/4": "25%",
"2/4": "50%",
"3/4": "75%",
"1/5": "20%",
"2/5": "40%",
"3/5": "60%",
"4/5": "80%",
"1/6": "16.666667%",
"2/6": "33.333333%",
"3/6": "50%",
"4/6": "66.666667%",
"5/6": "83.333333%",
full: "100%",
screen: "100vh",
svh: "100svh",
lvh: "100lvh",
dvh: "100dvh",
min: "min-content",
max: "max-content",
fit: "fit-content",
}),
hueRotate: { 0: "0deg", 15: "15deg", 30: "30deg", 60: "60deg", 90: "90deg", 180: "180deg" },
inset: ({ theme: r }) => ({
auto: "auto",
...r("spacing"),
"1/2": "50%",
"1/3": "33.333333%",
"2/3": "66.666667%",
"1/4": "25%",
"2/4": "50%",
"3/4": "75%",
full: "100%",
}),
invert: { 0: "0", DEFAULT: "100%" },
keyframes: {
spin: { to: { transform: "rotate(360deg)" } },
ping: { "75%, 100%": { transform: "scale(2)", opacity: "0" } },
pulse: { "50%": { opacity: ".5" } },
bounce: {
"0%, 100%": {
transform: "translateY(-25%)",
animationTimingFunction: "cubic-bezier(0.8,0,1,1)",
},
"50%": { transform: "none", animationTimingFunction: "cubic-bezier(0,0,0.2,1)" },
},
},
letterSpacing: {
tighter: "-0.05em",
tight: "-0.025em",
normal: "0em",
wide: "0.025em",
wider: "0.05em",
widest: "0.1em",
},
lineHeight: {
none: "1",
tight: "1.25",
snug: "1.375",
normal: "1.5",
relaxed: "1.625",
loose: "2",
3: ".75rem",
4: "1rem",
5: "1.25rem",
6: "1.5rem",
7: "1.75rem",
8: "2rem",
9: "2.25rem",
10: "2.5rem",
},
listStyleType: { none: "none", disc: "disc", decimal: "decimal" },
listStyleImage: { none: "none" },
margin: ({ theme: r }) => ({ auto: "auto", ...r("spacing") }),
lineClamp: { 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6" },
maxHeight: ({ theme: r }) => ({
...r("spacing"),
none: "none",
full: "100%",
screen: "100vh",
svh: "100svh",
lvh: "100lvh",
dvh: "100dvh",
min: "min-content",
max: "max-content",
fit: "fit-content",
}),
maxWidth: ({ theme: r, breakpoints: e }) => ({
...r("spacing"),
none: "none",
xs: "20rem",
sm: "24rem",
md: "28rem",
lg: "32rem",
xl: "36rem",
"2xl": "42rem",
"3xl": "48rem",
"4xl": "56rem",
"5xl": "64rem",
"6xl": "72rem",
"7xl": "80rem",
full: "100%",
min: "min-content",
max: "max-content",
fit: "fit-content",
prose: "65ch",
...e(r("screens")),
}),
minHeight: ({ theme: r }) => ({
...r("spacing"),
full: "100%",
screen: "100vh",
svh: "100svh",
lvh: "100lvh",
dvh: "100dvh",
min: "min-content",
max: "max-content",
fit: "fit-content",
}),
minWidth: ({ theme: r }) => ({
...r("spacing"),
full: "100%",
min: "min-content",
max: "max-content",
fit: "fit-content",
}),
objectPosition: {
bottom: "bottom",
center: "center",
left: "left",
"left-bottom": "left bottom",
"left-top": "left top",
right: "right",
"right-bottom": "right bottom",
"right-top": "right top",
top: "top",
},
opacity: {
0: "0",
5: "0.05",
10: "0.1",
15: "0.15",
20: "0.2",
25: "0.25",
30: "0.3",
35: "0.35",
40: "0.4",
45: "0.45",
50: "0.5",
55: "0.55",
60: "0.6",
65: "0.65",
70: "0.7",
75: "0.75",
80: "0.8",
85: "0.85",
90: "0.9",
95: "0.95",
100: "1",
},
order: {
first: "-9999",
last: "9999",
none: "0",
1: "1",
2: "2",
3: "3",
4: "4",
5: "5",
6: "6",
7: "7",
8: "8",
9: "9",
10: "10",
11: "11",
12: "12",
},
outlineColor: ({ theme: r }) => r("colors"),
outlineOffset: { 0: "0px", 1: "1px", 2: "2px", 4: "4px", 8: "8px" },
outlineWidth: { 0: "0px", 1: "1px", 2: "2px", 4: "4px", 8: "8px" },
padding: ({ theme: r }) => r("spacing"),
placeholderColor: ({ theme: r }) => r("colors"),
placeholderOpacity: ({ theme: r }) => r("opacity"),
ringColor: ({ theme: r }) => ({ DEFAULT: r("colors.blue.500", "#3b82f6"), ...r("colors") }),
ringOffsetColor: ({ theme: r }) => r("colors"),
ringOffsetWidth: { 0: "0px", 1: "1px", 2: "2px", 4: "4px", 8: "8px" },
ringOpacity: ({ theme: r }) => ({ DEFAULT: "0.5", ...r("opacity") }),
ringWidth: { DEFAULT: "3px", 0: "0px", 1: "1px", 2: "2px", 4: "4px", 8: "8px" },
rotate: {
0: "0deg",
1: "1deg",
2: "2deg",
3: "3deg",
6: "6deg",
12: "12deg",
45: "45deg",
90: "90deg",
180: "180deg",
},
saturate: { 0: "0", 50: ".5", 100: "1", 150: "1.5", 200: "2" },
scale: {
0: "0",
50: ".5",
75: ".75",
90: ".9",
95: ".95",
100: "1",
105: "1.05",
110: "1.1",
125: "1.25",
150: "1.5",
},
screens: { sm: "640px", md: "768px", lg: "1024px", xl: "1280px", "2xl": "1536px" },
scrollMargin: ({ theme: r }) => ({ ...r("spacing") }),
scrollPadding: ({ theme: r }) => r("spacing"),
sepia: { 0: "0", DEFAULT: "100%" },
skew: { 0: "0deg", 1: "1deg", 2: "2deg", 3: "3deg", 6: "6deg", 12: "12deg" },
space: ({ theme: r }) => ({ ...r("spacing") }),
spacing: {
px: "1px",
0: "0px",
0.5: "0.125rem",
1: "0.25rem",
1.5: "0.375rem",
2: "0.5rem",
2.5: "0.625rem",
3: "0.75rem",
3.5: "0.875rem",
4: "1rem",
5: "1.25rem",
6: "1.5rem",
7: "1.75rem",
8: "2rem",
9: "2.25rem",
10: "2.5rem",
11: "2.75rem",
12: "3rem",
14: "3.5rem",
16: "4rem",
20: "5rem",
24: "6rem",
28: "7rem",
32: "8rem",
36: "9rem",
40: "10rem",
44: "11rem",
48: "12rem",
52: "13rem",
56: "14rem",
60: "15rem",
64: "16rem",
72: "18rem",
80: "20rem",
96: "24rem",
},
stroke: ({ theme: r }) => ({ none: "none", ...r("colors") }),
strokeWidth: { 0: "0", 1: "1", 2: "2" },
supports: {},
data: {},
textColor: ({ theme: r }) => r("colors"),
textDecorationColor: ({ theme: r }) => r("colors"),
textDecorationThickness: {
auto: "auto",
"from-font": "from-font",
0: "0px",
1: "1px",
2: "2px",
4: "4px",
8: "8px",
},
textIndent: ({ theme: r }) => ({ ...r("spacing") }),
textOpacity: ({ theme: r }) => r("opacity"),
textUnderlineOffset: { auto: "auto", 0: "0px", 1: "1px", 2: "2px", 4: "4px", 8: "8px" },
transformOrigin: {
center: "center",
top: "top",
"top-right": "top right",
right: "right",
"bottom-right": "bottom right",
bottom: "bottom",
"bottom-left": "bottom left",
left: "left",
"top-left": "top left",
},
transitionDelay: {
0: "0s",
75: "75ms",
100: "100ms",
150: "150ms",
200: "200ms",
300: "300ms",
500: "500ms",
700: "700ms",
1e3: "1000ms",
},
transitionDuration: {
DEFAULT: "150ms",
0: "0s",
75: "75ms",
100: "100ms",
150: "150ms",
200: "200ms",
300: "300ms",
500: "500ms",
700: "700ms",
1e3: "1000ms",
},
transitionProperty: {
none: "none",
all: "all",
DEFAULT:
"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",
colors: "color, background-color, border-color, text-decoration-color, fill, stroke",
opacity: "opacity",
shadow: "box-shadow",
transform: "transform",
},
transitionTimingFunction: {
DEFAULT: "cubic-bezier(0.4, 0, 0.2, 1)",
linear: "linear",
in: "cubic-bezier(0.4, 0, 1, 1)",
out: "cubic-bezier(0, 0, 0.2, 1)",
"in-out": "cubic-bezier(0.4, 0, 0.2, 1)",
},
translate: ({ theme: r }) => ({
...r("spacing"),
"1/2": "50%",
"1/3": "33.333333%",
"2/3": "66.666667%",
"1/4": "25%",
"2/4": "50%",
"3/4": "75%",
full: "100%",
}),
size: ({ theme: r }) => ({
auto: "auto",
...r("spacing"),
"1/2": "50%",
"1/3": "33.333333%",
"2/3": "66.666667%",
"1/4": "25%",
"2/4": "50%",
"3/4": "75%",
"1/5": "20%",
"2/5": "40%",
"3/5": "60%",
"4/5": "80%",
"1/6": "16.666667%",
"2/6": "33.333333%",
"3/6": "50%",
"4/6": "66.666667%",
"5/6": "83.333333%",
"1/12": "8.333333%",
"2/12": "16.666667%",
"3/12": "25%",
"4/12": "33.333333%",
"5/12": "41.666667%",
"6/12": "50%",
"7/12": "58.333333%",
"8/12": "66.666667%",
"9/12": "75%",
"10/12": "83.333333%",
"11/12": "91.666667%",
full: "100%",
min: "min-content",
max: "max-content",
fit: "fit-content",
}),
width: ({ theme: r }) => ({
auto: "auto",
...r("spacing"),
"1/2": "50%",
"1/3": "33.333333%",
"2/3": "66.666667%",
"1/4": "25%",
"2/4": "50%",
"3/4": "75%",
"1/5": "20%",
"2/5": "40%",
"3/5": "60%",
"4/5": "80%",
"1/6": "16.666667%",
"2/6": "33.333333%",
"3/6": "50%",
"4/6": "66.666667%",
"5/6": "83.333333%",
"1/12": "8.333333%",
"2/12": "16.666667%",
"3/12": "25%",
"4/12": "33.333333%",
"5/12": "41.666667%",
"6/12": "50%",
"7/12": "58.333333%",
"8/12": "66.666667%",
"9/12": "75%",
"10/12": "83.333333%",
"11/12": "91.666667%",
full: "100%",
screen: "100vw",
svw: "100svw",
lvw: "100lvw",
dvw: "100dvw",
min: "min-content",
max: "max-content",
fit: "fit-content",
}),
willChange: { auto: "auto", scroll: "scroll-position", contents: "contents", transform: "transform" },
zIndex: { auto: "auto", 0: "0", 10: "10", 20: "20", 30: "30", 40: "40", 50: "50" },
},
plugins: [],
};
});
function Ci(r) {
let e = (r?.presets ?? [af.default])
.slice()
.reverse()
.flatMap((n) => Ci(n instanceof Function ? n() : n)),
t = {
respectDefaultRingColorOpacity: {
theme: { ringColor: ({ theme: n }) => ({ DEFAULT: "#3b82f67f", ...n("colors") }) },
},
disableColorOpacityUtilitiesByDefault: {
corePlugins: {
backgroundOpacity: !1,
borderOpacity: !1,
divideOpacity: !1,
placeholderOpacity: !1,
ringOpacity: !1,
textOpacity: !1,
},
},
},
i = Object.keys(t)
.filter((n) => K(r, n))
.map((n) => t[n]);
return [r, ...i, ...e];
}
var af,
of = C(() => {
l();
af = X(Si());
je();
});
var lf = {};
Ae(lf, { default: () => gr });
function gr(...r) {
let [, ...e] = Ci(r[0]);
return vs([...r, ...e]);
}
var xs = C(() => {
l();
nf();
of();
});
var uf = {};
Ae(uf, { default: () => Z });
var Z,
bt = C(() => {
l();
Z = { resolve: (r) => r, extname: (r) => "." + r.split(".").pop() };
});
function Ai(r) {
return typeof r == "object" && r !== null;
}
function w0(r) {
return Object.keys(r).length === 0;
}
function ff(r) {
return typeof r == "string" || r instanceof String;
}
function ks(r) {
return Ai(r) && r.config === void 0 && !w0(r)
? null
: Ai(r) && r.config !== void 0 && ff(r.config)
? Z.resolve(r.config)
: Ai(r) && r.config !== void 0 && Ai(r.config)
? null
: ff(r)
? Z.resolve(r)
: b0();
}
function b0() {
for (let r of y0)
try {
let e = Z.resolve(r);
return (te.accessSync(e), e);
} catch (e) {}
return null;
}
var y0,
cf = C(() => {
l();
ze();
bt();
y0 = ["./tailwind.config.js", "./tailwind.config.cjs", "./tailwind.config.mjs", "./tailwind.config.ts"];
});
var pf = {};
Ae(pf, { default: () => Ss });
var Ss,
Cs = C(() => {
l();
Ss = { parse: (r) => ({ href: r }) };
});
var As = v(() => {
l();
});
var _i = v((d3, mf) => {
l();
("use strict");
var df = (hi(), Ou),
hf = As(),
Tt = class extends Error {
constructor(e, t, i, n, a, s) {
super(e);
((this.name = "CssSyntaxError"),
(this.reason = e),
a && (this.file = a),
n && (this.source = n),
s && (this.plugin = s),
typeof t != "undefined" &&
typeof i != "undefined" &&
(typeof t == "number"
? ((this.line = t), (this.column = i))
: ((this.line = t.line),
(this.column = t.column),
(this.endLine = i.line),
(this.endColumn = i.column))),
this.setMessage(),
Error.captureStackTrace && Error.captureStackTrace(this, Tt));
}
setMessage() {
((this.message = this.plugin ? this.plugin + ": " : ""),
(this.message += this.file ? this.file : "<css input>"),
typeof this.line != "undefined" && (this.message += ":" + this.line + ":" + this.column),
(this.message += ": " + this.reason));
}
showSourceCode(e) {
if (!this.source) return "";
let t = this.source;
(e == null && (e = df.isColorSupported), hf && e && (t = hf(t)));
let i = t.split(/\r?\n/),
n = Math.max(this.line - 3, 0),
a = Math.min(this.line + 2, i.length),
s = String(a).length,
o,
u;
if (e) {
let { bold: c, red: f, gray: d } = df.createColors(!0);
((o = (p) => c(f(p))), (u = (p) => d(p)));
} else o = u = (c) => c;
return i.slice(n, a).map((c, f) => {
let d = n + 1 + f,
p = " " + (" " + d).slice(-s) + " | ";
if (d === this.line) {
let m = u(p.replace(/\d/g, " ")) + c.slice(0, this.column - 1).replace(/[^\t]/g, " ");
return (
o(">") +
u(p) +
c +
`
` +
m +
o("^")
);
}
return " " + u(p) + c;
}).join(`
`);
}
toString() {
let e = this.showSourceCode();
return (
e &&
(e =
`
` +
e +
`
`),
this.name + ": " + this.message + e
);
}
};
mf.exports = Tt;
Tt.default = Tt;
});
var Oi = v((h3, _s) => {
l();
("use strict");
_s.exports.isClean = Symbol("isClean");
_s.exports.my = Symbol("my");
});
var Os = v((m3, yf) => {
l();
("use strict");
var gf = {
colon: ": ",
indent: " ",
beforeDecl: `
`,
beforeRule: `
`,
beforeOpen: " ",
beforeClose: `
`,
beforeComment: `
`,
after: `
`,
emptyBody: "",
commentLeft: " ",
commentRight: " ",
semicolon: !1,
};
function v0(r) {
return r[0].toUpperCase() + r.slice(1);
}
var Ei = class {
constructor(e) {
this.builder = e;
}
stringify(e, t) {
if (!this[e.type])
throw new Error(
"Unknown AST node type " + e.type + ". Maybe you need to change PostCSS stringifier."
);
this[e.type](e, t);
}
document(e) {
this.body(e);
}
root(e) {
(this.body(e), e.raws.after && this.builder(e.raws.after));
}
comment(e) {
let t = this.raw(e, "left", "commentLeft"),
i = this.raw(e, "right", "commentRight");
this.builder("/*" + t + e.text + i + "*/", e);
}
decl(e, t) {
let i = this.raw(e, "between", "colon"),
n = e.prop + i + this.rawValue(e, "value");
(e.important && (n += e.raws.important || " !important"), t && (n += ";"), this.builder(n, e));
}
rule(e) {
(this.block(e, this.rawValue(e, "selector")),
e.raws.ownSemicolon && this.builder(e.raws.ownSemicolon, e, "end"));
}
atrule(e, t) {
let i = "@" + e.name,
n = e.params ? this.rawValue(e, "params") : "";
if ((typeof e.raws.afterName != "undefined" ? (i += e.raws.afterName) : n && (i += " "), e.nodes))
this.block(e, i + n);
else {
let a = (e.raws.between || "") + (t ? ";" : "");
this.builder(i + n + a, e);
}
}
body(e) {
let t = e.nodes.length - 1;
for (; t > 0 && e.nodes[t].type === "comment"; ) t -= 1;
let i = this.raw(e, "semicolon");
for (let n = 0; n < e.nodes.length; n++) {
let a = e.nodes[n],
s = this.raw(a, "before");
(s && this.builder(s), this.stringify(a, t !== n || i));
}
}
block(e, t) {
let i = this.raw(e, "between", "beforeOpen");
this.builder(t + i + "{", e, "start");
let n;
(e.nodes && e.nodes.length
? (this.body(e), (n = this.raw(e, "after")))
: (n = this.raw(e, "after", "emptyBody")),
n && this.builder(n),
this.builder("}", e, "end"));
}
raw(e, t, i) {
let n;
if ((i || (i = t), t && ((n = e.raws[t]), typeof n != "undefined"))) return n;
let a = e.parent;
if (i === "before" && (!a || (a.type === "root" && a.first === e) || (a && a.type === "document")))
return "";
if (!a) return gf[i];
let s = e.root();
if ((s.rawCache || (s.rawCache = {}), typeof s.rawCache[i] != "undefined")) return s.rawCache[i];
if (i === "before" || i === "after") return this.beforeAfter(e, i);
{
let o = "raw" + v0(i);
this[o]
? (n = this[o](s, e))
: s.walk((u) => {
if (((n = u.raws[t]), typeof n != "undefined")) return !1;
});
}
return (typeof n == "undefined" && (n = gf[i]), (s.rawCache[i] = n), n);
}
rawSemicolon(e) {
let t;
return (
e.walk((i) => {
if (
i.nodes &&
i.nodes.length &&
i.last.type === "decl" &&
((t = i.raws.semicolon), typeof t != "undefined")
)
return !1;
}),
t
);
}
rawEmptyBody(e) {
let t;
return (
e.walk((i) => {
if (i.nodes && i.nodes.length === 0 && ((t = i.raws.after), typeof t != "undefined")) return !1;
}),
t
);
}
rawIndent(e) {
if (e.raws.indent) return e.raws.indent;
let t;
return (
e.walk((i) => {
let n = i.parent;
if (n && n !== e && n.parent && n.parent === e && typeof i.raws.before != "undefined") {
let a = i.raws.before.split(`
`);
return ((t = a[a.length - 1]), (t = t.replace(/\S/g, "")), !1);
}
}),
t
);
}
rawBeforeComment(e, t) {
let i;
return (
e.walkComments((n) => {
if (typeof n.raws.before != "undefined")
return (
(i = n.raws.before),
i.includes(`
`) && (i = i.replace(/[^\n]+$/, "")),
!1
);
}),
typeof i == "undefined" ? (i = this.raw(t, null, "beforeDecl")) : i && (i = i.replace(/\S/g, "")),
i
);
}
rawBeforeDecl(e, t) {
let i;
return (
e.walkDecls((n) => {
if (typeof n.raws.before != "undefined")
return (
(i = n.raws.before),
i.includes(`
`) && (i = i.replace(/[^\n]+$/, "")),
!1
);
}),
typeof i == "undefined" ? (i = this.raw(t, null, "beforeRule")) : i && (i = i.replace(/\S/g, "")),
i
);
}
rawBeforeRule(e) {
let t;
return (
e.walk((i) => {
if (i.nodes && (i.parent !== e || e.first !== i) && typeof i.raws.before != "undefined")
return (
(t = i.raws.before),
t.includes(`
`) && (t = t.replace(/[^\n]+$/, "")),
!1
);
}),
t && (t = t.replace(/\S/g, "")),
t
);
}
rawBeforeClose(e) {
let t;
return (
e.walk((i) => {
if (i.nodes && i.nodes.length > 0 && typeof i.raws.after != "undefined")
return (
(t = i.raws.after),
t.includes(`
`) && (t = t.replace(/[^\n]+$/, "")),
!1
);
}),
t && (t = t.replace(/\S/g, "")),
t
);
}
rawBeforeOpen(e) {
let t;
return (
e.walk((i) => {
if (i.type !== "decl" && ((t = i.raws.between), typeof t != "undefined")) return !1;
}),
t
);
}
rawColon(e) {
let t;
return (
e.walkDecls((i) => {
if (typeof i.raws.between != "undefined")
return ((t = i.raws.between.replace(/[^\s:]/g, "")), !1);
}),
t
);
}
beforeAfter(e, t) {
let i;
e.type === "decl"
? (i = this.raw(e, null, "beforeDecl"))
: e.type === "comment"
? (i = this.raw(e, null, "beforeComment"))
: t === "before"
? (i = this.raw(e, null, "beforeRule"))
: (i = this.raw(e, null, "beforeClose"));
let n = e.parent,
a = 0;
for (; n && n.type !== "root"; ) ((a += 1), (n = n.parent));
if (
i.includes(`
`)
) {
let s = this.raw(e, null, "indent");
if (s.length) for (let o = 0; o < a; o++) i += s;
}
return i;
}
rawValue(e, t) {
let i = e[t],
n = e.raws[t];
return n && n.value === i ? n.raw : i;
}
};
yf.exports = Ei;
Ei.default = Ei;
});
var yr = v((g3, wf) => {
l();
("use strict");
var x0 = Os();
function Es(r, e) {
new x0(e).stringify(r);
}
wf.exports = Es;
Es.default = Es;
});
var wr = v((y3, bf) => {
l();
("use strict");
var { isClean: Ti, my: k0 } = Oi(),
S0 = _i(),
C0 = Os(),
A0 = yr();
function Ts(r, e) {
let t = new r.constructor();
for (let i in r) {
if (!Object.prototype.hasOwnProperty.call(r, i) || i === "proxyCache") continue;
let n = r[i],
a = typeof n;
i === "parent" && a === "object"
? e && (t[i] = e)
: i === "source"
? (t[i] = n)
: Array.isArray(n)
? (t[i] = n.map((s) => Ts(s, t)))
: (a === "object" && n !== null && (n = Ts(n)), (t[i] = n));
}
return t;
}
var Pi = class {
constructor(e = {}) {
((this.raws = {}), (this[Ti] = !1), (this[k0] = !0));
for (let t in e)
if (t === "nodes") {
this.nodes = [];
for (let i of e[t]) typeof i.clone == "function" ? this.append(i.clone()) : this.append(i);
} else this[t] = e[t];
}
error(e, t = {}) {
if (this.source) {
let { start: i, end: n } = this.rangeBy(t);
return this.source.input.error(
e,
{ line: i.line, column: i.column },
{ line: n.line, column: n.column },
t
);
}
return new S0(e);
}
warn(e, t, i) {
let n = { node: this };
for (let a in i) n[a] = i[a];
return e.warn(t, n);
}
remove() {
return (this.parent && this.parent.removeChild(this), (this.parent = void 0), this);
}
toString(e = A0) {
e.stringify && (e = e.stringify);
let t = "";
return (
e(this, (i) => {
t += i;
}),
t
);
}
assign(e = {}) {
for (let t in e) this[t] = e[t];
return this;
}
clone(e = {}) {
let t = Ts(this);
for (let i in e) t[i] = e[i];
return t;
}
cloneBefore(e = {}) {
let t = this.clone(e);
return (this.parent.insertBefore(this, t), t);
}
cloneAfter(e = {}) {
let t = this.clone(e);
return (this.parent.insertAfter(this, t), t);
}
replaceWith(...e) {
if (this.parent) {
let t = this,
i = !1;
for (let n of e)
n === this
? (i = !0)
: i
? (this.parent.insertAfter(t, n), (t = n))
: this.parent.insertBefore(t, n);
i || this.remove();
}
return this;
}
next() {
if (!this.parent) return;
let e = this.parent.index(this);
return this.parent.nodes[e + 1];
}
prev() {
if (!this.parent) return;
let e = this.parent.index(this);
return this.parent.nodes[e - 1];
}
before(e) {
return (this.parent.insertBefore(this, e), this);
}
after(e) {
return (this.parent.insertAfter(this, e), this);
}
root() {
let e = this;
for (; e.parent && e.parent.type !== "document"; ) e = e.parent;
return e;
}
raw(e, t) {
return new C0().raw(this, e, t);
}
cleanRaws(e) {
(delete this.raws.before, delete this.raws.after, e || delete this.raws.between);
}
toJSON(e, t) {
let i = {},
n = t == null;
t = t || new Map();
let a = 0;
for (let s in this) {
if (!Object.prototype.hasOwnProperty.call(this, s) || s === "parent" || s === "proxyCache")
continue;
let o = this[s];
if (Array.isArray(o))
i[s] = o.map((u) => (typeof u == "object" && u.toJSON ? u.toJSON(null, t) : u));
else if (typeof o == "object" && o.toJSON) i[s] = o.toJSON(null, t);
else if (s === "source") {
let u = t.get(o.input);
(u == null && ((u = a), t.set(o.input, a), a++),
(i[s] = { inputId: u, start: o.start, end: o.end }));
} else i[s] = o;
}
return (n && (i.inputs = [...t.keys()].map((s) => s.toJSON())), i);
}
positionInside(e) {
let t = this.toString(),
i = this.source.start.column,
n = this.source.start.line;
for (let a = 0; a < e; a++)
t[a] ===
`
`
? ((i = 1), (n += 1))
: (i += 1);
return { line: n, column: i };
}
positionBy(e) {
let t = this.source.start;
if (e.index) t = this.positionInside(e.index);
else if (e.word) {
let i = this.toString().indexOf(e.word);
i !== -1 && (t = this.positionInside(i));
}
return t;
}
rangeBy(e) {
let t = { line: this.source.start.line, column: this.source.start.column },
i = this.source.end
? { line: this.source.end.line, column: this.source.end.column + 1 }
: { line: t.line, column: t.column + 1 };
if (e.word) {
let n = this.toString().indexOf(e.word);
n !== -1 && ((t = this.positionInside(n)), (i = this.positionInside(n + e.word.length)));
} else
(e.start
? (t = { line: e.start.line, column: e.start.column })
: e.index && (t = this.positionInside(e.index)),
e.end
? (i = { line: e.end.line, column: e.end.column })
: e.endIndex
? (i = this.positionInside(e.endIndex))
: e.index && (i = this.positionInside(e.index + 1)));
return (
(i.line < t.line || (i.line === t.line && i.column <= t.column)) &&
(i = { line: t.line, column: t.column + 1 }),
{ start: t, end: i }
);
}
getProxyProcessor() {
return {
set(e, t, i) {
return (
e[t] === i ||
((e[t] = i),
(t === "prop" ||
t === "value" ||
t === "name" ||
t === "params" ||
t === "important" ||
t === "text") &&
e.markDirty()),
!0
);
},
get(e, t) {
return t === "proxyOf" ? e : t === "root" ? () => e.root().toProxy() : e[t];
},
};
}
toProxy() {
return (
this.proxyCache || (this.proxyCache = new Proxy(this, this.getProxyProcessor())),
this.proxyCache
);
}
addToError(e) {
if (((e.postcssNode = this), e.stack && this.source && /\n\s{4}at /.test(e.stack))) {
let t = this.source;
e.stack = e.stack.replace(/\n\s{4}at /, `$&${t.input.from}:${t.start.line}:${t.start.column}$&`);
}
return e;
}
markDirty() {
if (this[Ti]) {
this[Ti] = !1;
let e = this;
for (; (e = e.parent); ) e[Ti] = !1;
}
}
get proxyOf() {
return this;
}
};
bf.exports = Pi;
Pi.default = Pi;
});
var br = v((w3, vf) => {
l();
("use strict");
var _0 = wr(),
Di = class extends _0 {
constructor(e) {
e &&
typeof e.value != "undefined" &&
typeof e.value != "string" &&
(e = { ...e, value: String(e.value) });
super(e);
this.type = "decl";
}
get variable() {
return this.prop.startsWith("--") || this.prop[0] === "$";
}
};
vf.exports = Di;
Di.default = Di;
});
var Ps = v((b3, xf) => {
l();
xf.exports = function (r, e) {
return {
generate: () => {
let t = "";
return (
r(e, (i) => {
t += i;
}),
[t]
);
},
};
};
});
var vr = v((v3, kf) => {
l();
("use strict");
var O0 = wr(),
Ii = class extends O0 {
constructor(e) {
super(e);
this.type = "comment";
}
};
kf.exports = Ii;
Ii.default = Ii;
});
var nt = v((x3, Df) => {
l();
("use strict");
var { isClean: Sf, my: Cf } = Oi(),
Af = br(),
_f = vr(),
E0 = wr(),
Of,
Ds,
Is,
Ef;
function Tf(r) {
return r.map((e) => (e.nodes && (e.nodes = Tf(e.nodes)), delete e.source, e));
}
function Pf(r) {
if (((r[Sf] = !1), r.proxyOf.nodes)) for (let e of r.proxyOf.nodes) Pf(e);
}
var we = class extends E0 {
push(e) {
return ((e.parent = this), this.proxyOf.nodes.push(e), this);
}
each(e) {
if (!this.proxyOf.nodes) return;
let t = this.getIterator(),
i,
n;
for (
;
this.indexes[t] < this.proxyOf.nodes.length &&
((i = this.indexes[t]), (n = e(this.proxyOf.nodes[i], i)), n !== !1);
)
this.indexes[t] += 1;
return (delete this.indexes[t], n);
}
walk(e) {
return this.each((t, i) => {
let n;
try {
n = e(t, i);
} catch (a) {
throw t.addToError(a);
}
return (n !== !1 && t.walk && (n = t.walk(e)), n);
});
}
walkDecls(e, t) {
return t
? e instanceof RegExp
? this.walk((i, n) => {
if (i.type === "decl" && e.test(i.prop)) return t(i, n);
})
: this.walk((i, n) => {
if (i.type === "decl" && i.prop === e) return t(i, n);
})
: ((t = e),
this.walk((i, n) => {
if (i.type === "decl") return t(i, n);
}));
}
walkRules(e, t) {
return t
? e instanceof RegExp
? this.walk((i, n) => {
if (i.type === "rule" && e.test(i.selector)) return t(i, n);
})
: this.walk((i, n) => {
if (i.type === "rule" && i.selector === e) return t(i, n);
})
: ((t = e),
this.walk((i, n) => {
if (i.type === "rule") return t(i, n);
}));
}
walkAtRules(e, t) {
return t
? e instanceof RegExp
? this.walk((i, n) => {
if (i.type === "atrule" && e.test(i.name)) return t(i, n);
})
: this.walk((i, n) => {
if (i.type === "atrule" && i.name === e) return t(i, n);
})
: ((t = e),
this.walk((i, n) => {
if (i.type === "atrule") return t(i, n);
}));
}
walkComments(e) {
return this.walk((t, i) => {
if (t.type === "comment") return e(t, i);
});
}
append(...e) {
for (let t of e) {
let i = this.normalize(t, this.last);
for (let n of i) this.proxyOf.nodes.push(n);
}
return (this.markDirty(), this);
}
prepend(...e) {
e = e.reverse();
for (let t of e) {
let i = this.normalize(t, this.first, "prepend").reverse();
for (let n of i) this.proxyOf.nodes.unshift(n);
for (let n in this.indexes) this.indexes[n] = this.indexes[n] + i.length;
}
return (this.markDirty(), this);
}
cleanRaws(e) {
if ((super.cleanRaws(e), this.nodes)) for (let t of this.nodes) t.cleanRaws(e);
}
insertBefore(e, t) {
let i = this.index(e),
n = i === 0 ? "prepend" : !1,
a = this.normalize(t, this.proxyOf.nodes[i], n).reverse();
i = this.index(e);
for (let o of a) this.proxyOf.nodes.splice(i, 0, o);
let s;
for (let o in this.indexes) ((s = this.indexes[o]), i <= s && (this.indexes[o] = s + a.length));
return (this.markDirty(), this);
}
insertAfter(e, t) {
let i = this.index(e),
n = this.normalize(t, this.proxyOf.nodes[i]).reverse();
i = this.index(e);
for (let s of n) this.proxyOf.nodes.splice(i + 1, 0, s);
let a;
for (let s in this.indexes) ((a = this.indexes[s]), i < a && (this.indexes[s] = a + n.length));
return (this.markDirty(), this);
}
removeChild(e) {
((e = this.index(e)), (this.proxyOf.nodes[e].parent = void 0), this.proxyOf.nodes.splice(e, 1));
let t;
for (let i in this.indexes) ((t = this.indexes[i]), t >= e && (this.indexes[i] = t - 1));
return (this.markDirty(), this);
}
removeAll() {
for (let e of this.proxyOf.nodes) e.parent = void 0;
return ((this.proxyOf.nodes = []), this.markDirty(), this);
}
replaceValues(e, t, i) {
return (
i || ((i = t), (t = {})),
this.walkDecls((n) => {
(t.props && !t.props.includes(n.prop)) ||
(t.fast && !n.value.includes(t.fast)) ||
(n.value = n.value.replace(e, i));
}),
this.markDirty(),
this
);
}
every(e) {
return this.nodes.every(e);
}
some(e) {
return this.nodes.some(e);
}
index(e) {
return typeof e == "number" ? e : (e.proxyOf && (e = e.proxyOf), this.proxyOf.nodes.indexOf(e));
}
get first() {
if (!!this.proxyOf.nodes) return this.proxyOf.nodes[0];
}
get last() {
if (!!this.proxyOf.nodes) return this.proxyOf.nodes[this.proxyOf.nodes.length - 1];
}
normalize(e, t) {
if (typeof e == "string") e = Tf(Of(e).nodes);
else if (Array.isArray(e)) {
e = e.slice(0);
for (let n of e) n.parent && n.parent.removeChild(n, "ignore");
} else if (e.type === "root" && this.type !== "document") {
e = e.nodes.slice(0);
for (let n of e) n.parent && n.parent.removeChild(n, "ignore");
} else if (e.type) e = [e];
else if (e.prop) {
if (typeof e.value == "undefined") throw new Error("Value field is missed in node creation");
(typeof e.value != "string" && (e.value = String(e.value)), (e = [new Af(e)]));
} else if (e.selector) e = [new Ds(e)];
else if (e.name) e = [new Is(e)];
else if (e.text) e = [new _f(e)];
else throw new Error("Unknown node type in node creation");
return e.map(
(n) => (
n[Cf] || we.rebuild(n),
(n = n.proxyOf),
n.parent && n.parent.removeChild(n),
n[Sf] && Pf(n),
typeof n.raws.before == "undefined" &&
t &&
typeof t.raws.before != "undefined" &&
(n.raws.before = t.raws.before.replace(/\S/g, "")),
(n.parent = this.proxyOf),
n
)
);
}
getProxyProcessor() {
return {
set(e, t, i) {
return (
e[t] === i ||
((e[t] = i), (t === "name" || t === "params" || t === "selector") && e.markDirty()),
!0
);
},
get(e, t) {
return t === "proxyOf"
? e
: e[t]
? t === "each" || (typeof t == "string" && t.startsWith("walk"))
? (...i) =>
e[t](
...i.map((n) => (typeof n == "function" ? (a, s) => n(a.toProxy(), s) : n))
)
: t === "every" || t === "some"
? (i) => e[t]((n, ...a) => i(n.toProxy(), ...a))
: t === "root"
? () => e.root().toProxy()
: t === "nodes"
? e.nodes.map((i) => i.toProxy())
: t === "first" || t === "last"
? e[t].toProxy()
: e[t]
: e[t];
},
};
}
getIterator() {
(this.lastEach || (this.lastEach = 0), this.indexes || (this.indexes = {}), (this.lastEach += 1));
let e = this.lastEach;
return ((this.indexes[e] = 0), e);
}
};
we.registerParse = (r) => {
Of = r;
};
we.registerRule = (r) => {
Ds = r;
};
we.registerAtRule = (r) => {
Is = r;
};
we.registerRoot = (r) => {
Ef = r;
};
Df.exports = we;
we.default = we;
we.rebuild = (r) => {
(r.type === "atrule"
? Object.setPrototypeOf(r, Is.prototype)
: r.type === "rule"
? Object.setPrototypeOf(r, Ds.prototype)
: r.type === "decl"
? Object.setPrototypeOf(r, Af.prototype)
: r.type === "comment"
? Object.setPrototypeOf(r, _f.prototype)
: r.type === "root" && Object.setPrototypeOf(r, Ef.prototype),
(r[Cf] = !0),
r.nodes &&
r.nodes.forEach((e) => {
we.rebuild(e);
}));
};
});
var qi = v((k3, Rf) => {
l();
("use strict");
var T0 = nt(),
If,
qf,
Pt = class extends T0 {
constructor(e) {
super({ type: "document", ...e });
this.nodes || (this.nodes = []);
}
toResult(e = {}) {
return new If(new qf(), this, e).stringify();
}
};
Pt.registerLazyResult = (r) => {
If = r;
};
Pt.registerProcessor = (r) => {
qf = r;
};
Rf.exports = Pt;
Pt.default = Pt;
});
var qs = v((S3, Bf) => {
l();
("use strict");
var Mf = {};
Bf.exports = function (e) {
Mf[e] || ((Mf[e] = !0), typeof console != "undefined" && console.warn && console.warn(e));
};
});
var Rs = v((C3, Ff) => {
l();
("use strict");
var Ri = class {
constructor(e, t = {}) {
if (((this.type = "warning"), (this.text = e), t.node && t.node.source)) {
let i = t.node.rangeBy(t);
((this.line = i.start.line),
(this.column = i.start.column),
(this.endLine = i.end.line),
(this.endColumn = i.end.column));
}
for (let i in t) this[i] = t[i];
}
toString() {
return this.node
? this.node.error(this.text, { plugin: this.plugin, index: this.index, word: this.word }).message
: this.plugin
? this.plugin + ": " + this.text
: this.text;
}
};
Ff.exports = Ri;
Ri.default = Ri;
});
var Bi = v((A3, Lf) => {
l();
("use strict");
var P0 = Rs(),
Mi = class {
constructor(e, t, i) {
((this.processor = e),
(this.messages = []),
(this.root = t),
(this.opts = i),
(this.css = void 0),
(this.map = void 0));
}
toString() {
return this.css;
}
warn(e, t = {}) {
t.plugin ||
(this.lastPlugin &&
this.lastPlugin.postcssPlugin &&
(t.plugin = this.lastPlugin.postcssPlugin));
let i = new P0(e, t);
return (this.messages.push(i), i);
}
warnings() {
return this.messages.filter((e) => e.type === "warning");
}
get content() {
return this.css;
}
};
Lf.exports = Mi;
Mi.default = Mi;
});
var Vf = v((_3, jf) => {
l();
("use strict");
var Ms = "'".charCodeAt(0),
Nf = '"'.charCodeAt(0),
Fi = "\\".charCodeAt(0),
$f = "/".charCodeAt(0),
Li = `
`.charCodeAt(0),
xr = " ".charCodeAt(0),
Ni = "\f".charCodeAt(0),
$i = " ".charCodeAt(0),
zi = "\r".charCodeAt(0),
D0 = "[".charCodeAt(0),
I0 = "]".charCodeAt(0),
q0 = "(".charCodeAt(0),
R0 = ")".charCodeAt(0),
M0 = "{".charCodeAt(0),
B0 = "}".charCodeAt(0),
F0 = ";".charCodeAt(0),
L0 = "*".charCodeAt(0),
N0 = ":".charCodeAt(0),
$0 = "@".charCodeAt(0),
ji = /[\t\n\f\r "#'()/;[\\\]{}]/g,
Vi = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,
z0 = /.[\n"'(/\\]/,
zf = /[\da-f]/i;
jf.exports = function (e, t = {}) {
let i = e.css.valueOf(),
n = t.ignoreErrors,
a,
s,
o,
u,
c,
f,
d,
p,
m,
b,
x = i.length,
y = 0,
w = [],
k = [];
function S() {
return y;
}
function _(R) {
throw e.error("Unclosed " + R, y);
}
function E() {
return k.length === 0 && y >= x;
}
function I(R) {
if (k.length) return k.pop();
if (y >= x) return;
let J = R ? R.ignoreUnclosed : !1;
switch (((a = i.charCodeAt(y)), a)) {
case Li:
case xr:
case $i:
case zi:
case Ni: {
s = y;
do ((s += 1), (a = i.charCodeAt(s)));
while (a === xr || a === Li || a === $i || a === zi || a === Ni);
((b = ["space", i.slice(y, s)]), (y = s - 1));
break;
}
case D0:
case I0:
case M0:
case B0:
case N0:
case F0:
case R0: {
let ue = String.fromCharCode(a);
b = [ue, ue, y];
break;
}
case q0: {
if (
((p = w.length ? w.pop()[1] : ""),
(m = i.charCodeAt(y + 1)),
p === "url" &&
m !== Ms &&
m !== Nf &&
m !== xr &&
m !== Li &&
m !== $i &&
m !== Ni &&
m !== zi)
) {
s = y;
do {
if (((f = !1), (s = i.indexOf(")", s + 1)), s === -1))
if (n || J) {
s = y;
break;
} else _("bracket");
for (d = s; i.charCodeAt(d - 1) === Fi; ) ((d -= 1), (f = !f));
} while (f);
((b = ["brackets", i.slice(y, s + 1), y, s]), (y = s));
} else
((s = i.indexOf(")", y + 1)),
(u = i.slice(y, s + 1)),
s === -1 || z0.test(u) ? (b = ["(", "(", y]) : ((b = ["brackets", u, y, s]), (y = s)));
break;
}
case Ms:
case Nf: {
((o = a === Ms ? "'" : '"'), (s = y));
do {
if (((f = !1), (s = i.indexOf(o, s + 1)), s === -1))
if (n || J) {
s = y + 1;
break;
} else _("string");
for (d = s; i.charCodeAt(d - 1) === Fi; ) ((d -= 1), (f = !f));
} while (f);
((b = ["string", i.slice(y, s + 1), y, s]), (y = s));
break;
}
case $0: {
((ji.lastIndex = y + 1),
ji.test(i),
ji.lastIndex === 0 ? (s = i.length - 1) : (s = ji.lastIndex - 2),
(b = ["at-word", i.slice(y, s + 1), y, s]),
(y = s));
break;
}
case Fi: {
for (s = y, c = !0; i.charCodeAt(s + 1) === Fi; ) ((s += 1), (c = !c));
if (
((a = i.charCodeAt(s + 1)),
c &&
a !== $f &&
a !== xr &&
a !== Li &&
a !== $i &&
a !== zi &&
a !== Ni &&
((s += 1), zf.test(i.charAt(s))))
) {
for (; zf.test(i.charAt(s + 1)); ) s += 1;
i.charCodeAt(s + 1) === xr && (s += 1);
}
((b = ["word", i.slice(y, s + 1), y, s]), (y = s));
break;
}
default: {
a === $f && i.charCodeAt(y + 1) === L0
? ((s = i.indexOf("*/", y + 2) + 1),
s === 0 && (n || J ? (s = i.length) : _("comment")),
(b = ["comment", i.slice(y, s + 1), y, s]),
(y = s))
: ((Vi.lastIndex = y + 1),
Vi.test(i),
Vi.lastIndex === 0 ? (s = i.length - 1) : (s = Vi.lastIndex - 2),
(b = ["word", i.slice(y, s + 1), y, s]),
w.push(b),
(y = s));
break;
}
}
return (y++, b);
}
function q(R) {
k.push(R);
}
return { back: q, nextToken: I, endOfFile: E, position: S };
};
});
var Ui = v((O3, Wf) => {
l();
("use strict");
var Uf = nt(),
kr = class extends Uf {
constructor(e) {
super(e);
this.type = "atrule";
}
append(...e) {
return (this.proxyOf.nodes || (this.nodes = []), super.append(...e));
}
prepend(...e) {
return (this.proxyOf.nodes || (this.nodes = []), super.prepend(...e));
}
};
Wf.exports = kr;
kr.default = kr;
Uf.registerAtRule(kr);
});
var Dt = v((E3, Qf) => {
l();
("use strict");
var Gf = nt(),
Hf,
Yf,
vt = class extends Gf {
constructor(e) {
super(e);
((this.type = "root"), this.nodes || (this.nodes = []));
}
removeChild(e, t) {
let i = this.index(e);
return (
!t &&
i === 0 &&
this.nodes.length > 1 &&
(this.nodes[1].raws.before = this.nodes[i].raws.before),
super.removeChild(e)
);
}
normalize(e, t, i) {
let n = super.normalize(e);
if (t) {
if (i === "prepend")
this.nodes.length > 1 ? (t.raws.before = this.nodes[1].raws.before) : delete t.raws.before;
else if (this.first !== t) for (let a of n) a.raws.before = t.raws.before;
}
return n;
}
toResult(e = {}) {
return new Hf(new Yf(), this, e).stringify();
}
};
vt.registerLazyResult = (r) => {
Hf = r;
};
vt.registerProcessor = (r) => {
Yf = r;
};
Qf.exports = vt;
vt.default = vt;
Gf.registerRoot(vt);
});
var Bs = v((T3, Jf) => {
l();
("use strict");
var Sr = {
split(r, e, t) {
let i = [],
n = "",
a = !1,
s = 0,
o = !1,
u = "",
c = !1;
for (let f of r)
(c
? (c = !1)
: f === "\\"
? (c = !0)
: o
? f === u && (o = !1)
: f === '"' || f === "'"
? ((o = !0), (u = f))
: f === "("
? (s += 1)
: f === ")"
? s > 0 && (s -= 1)
: s === 0 && e.includes(f) && (a = !0),
a ? (n !== "" && i.push(n.trim()), (n = ""), (a = !1)) : (n += f));
return ((t || n !== "") && i.push(n.trim()), i);
},
space(r) {
let e = [
" ",
`
`,
" ",
];
return Sr.split(r, e);
},
comma(r) {
return Sr.split(r, [","], !0);
},
};
Jf.exports = Sr;
Sr.default = Sr;
});
var Wi = v((P3, Kf) => {
l();
("use strict");
var Xf = nt(),
j0 = Bs(),
Cr = class extends Xf {
constructor(e) {
super(e);
((this.type = "rule"), this.nodes || (this.nodes = []));
}
get selectors() {
return j0.comma(this.selector);
}
set selectors(e) {
let t = this.selector ? this.selector.match(/,\s*/) : null,
i = t ? t[0] : "," + this.raw("between", "beforeOpen");
this.selector = e.join(i);
}
};
Kf.exports = Cr;
Cr.default = Cr;
Xf.registerRule(Cr);
});
var ic = v((D3, rc) => {
l();
("use strict");
var V0 = br(),
U0 = Vf(),
W0 = vr(),
G0 = Ui(),
H0 = Dt(),
Zf = Wi(),
ec = { empty: !0, space: !0 };
function Y0(r) {
for (let e = r.length - 1; e >= 0; e--) {
let t = r[e],
i = t[3] || t[2];
if (i) return i;
}
}
var tc = class {
constructor(e) {
((this.input = e),
(this.root = new H0()),
(this.current = this.root),
(this.spaces = ""),
(this.semicolon = !1),
(this.customProperty = !1),
this.createTokenizer(),
(this.root.source = { input: e, start: { offset: 0, line: 1, column: 1 } }));
}
createTokenizer() {
this.tokenizer = U0(this.input);
}
parse() {
let e;
for (; !this.tokenizer.endOfFile(); )
switch (((e = this.tokenizer.nextToken()), e[0])) {
case "space":
this.spaces += e[1];
break;
case ";":
this.freeSemicolon(e);
break;
case "}":
this.end(e);
break;
case "comment":
this.comment(e);
break;
case "at-word":
this.atrule(e);
break;
case "{":
this.emptyRule(e);
break;
default:
this.other(e);
break;
}
this.endFile();
}
comment(e) {
let t = new W0();
(this.init(t, e[2]), (t.source.end = this.getPosition(e[3] || e[2])));
let i = e[1].slice(2, -2);
if (/^\s*$/.test(i)) ((t.text = ""), (t.raws.left = i), (t.raws.right = ""));
else {
let n = i.match(/^(\s*)([^]*\S)(\s*)$/);
((t.text = n[2]), (t.raws.left = n[1]), (t.raws.right = n[3]));
}
}
emptyRule(e) {
let t = new Zf();
(this.init(t, e[2]), (t.selector = ""), (t.raws.between = ""), (this.current = t));
}
other(e) {
let t = !1,
i = null,
n = !1,
a = null,
s = [],
o = e[1].startsWith("--"),
u = [],
c = e;
for (; c; ) {
if (((i = c[0]), u.push(c), i === "(" || i === "[")) (a || (a = c), s.push(i === "(" ? ")" : "]"));
else if (o && n && i === "{") (a || (a = c), s.push("}"));
else if (s.length === 0)
if (i === ";")
if (n) {
this.decl(u, o);
return;
} else break;
else if (i === "{") {
this.rule(u);
return;
} else if (i === "}") {
(this.tokenizer.back(u.pop()), (t = !0));
break;
} else i === ":" && (n = !0);
else i === s[s.length - 1] && (s.pop(), s.length === 0 && (a = null));
c = this.tokenizer.nextToken();
}
if ((this.tokenizer.endOfFile() && (t = !0), s.length > 0 && this.unclosedBracket(a), t && n)) {
if (!o)
for (; u.length && ((c = u[u.length - 1][0]), !(c !== "space" && c !== "comment")); )
this.tokenizer.back(u.pop());
this.decl(u, o);
} else this.unknownWord(u);
}
rule(e) {
e.pop();
let t = new Zf();
(this.init(t, e[0][2]),
(t.raws.between = this.spacesAndCommentsFromEnd(e)),
this.raw(t, "selector", e),
(this.current = t));
}
decl(e, t) {
let i = new V0();
this.init(i, e[0][2]);
let n = e[e.length - 1];
for (
n[0] === ";" && ((this.semicolon = !0), e.pop()),
i.source.end = this.getPosition(n[3] || n[2] || Y0(e));
e[0][0] !== "word";
)
(e.length === 1 && this.unknownWord(e), (i.raws.before += e.shift()[1]));
for (i.source.start = this.getPosition(e[0][2]), i.prop = ""; e.length; ) {
let c = e[0][0];
if (c === ":" || c === "space" || c === "comment") break;
i.prop += e.shift()[1];
}
i.raws.between = "";
let a;
for (; e.length; )
if (((a = e.shift()), a[0] === ":")) {
i.raws.between += a[1];
break;
} else (a[0] === "word" && /\w/.test(a[1]) && this.unknownWord([a]), (i.raws.between += a[1]));
(i.prop[0] === "_" || i.prop[0] === "*") && ((i.raws.before += i.prop[0]), (i.prop = i.prop.slice(1)));
let s = [],
o;
for (; e.length && ((o = e[0][0]), !(o !== "space" && o !== "comment")); ) s.push(e.shift());
this.precheckMissedSemicolon(e);
for (let c = e.length - 1; c >= 0; c--) {
if (((a = e[c]), a[1].toLowerCase() === "!important")) {
i.important = !0;
let f = this.stringFrom(e, c);
((f = this.spacesFromEnd(e) + f), f !== " !important" && (i.raws.important = f));
break;
} else if (a[1].toLowerCase() === "important") {
let f = e.slice(0),
d = "";
for (let p = c; p > 0; p--) {
let m = f[p][0];
if (d.trim().indexOf("!") === 0 && m !== "space") break;
d = f.pop()[1] + d;
}
d.trim().indexOf("!") === 0 && ((i.important = !0), (i.raws.important = d), (e = f));
}
if (a[0] !== "space" && a[0] !== "comment") break;
}
(e.some((c) => c[0] !== "space" && c[0] !== "comment") &&
((i.raws.between += s.map((c) => c[1]).join("")), (s = [])),
this.raw(i, "value", s.concat(e), t),
i.value.includes(":") && !t && this.checkMissedSemicolon(e));
}
atrule(e) {
let t = new G0();
((t.name = e[1].slice(1)), t.name === "" && this.unnamedAtrule(t, e), this.init(t, e[2]));
let i,
n,
a,
s = !1,
o = !1,
u = [],
c = [];
for (; !this.tokenizer.endOfFile(); ) {
if (
((e = this.tokenizer.nextToken()),
(i = e[0]),
i === "(" || i === "["
? c.push(i === "(" ? ")" : "]")
: i === "{" && c.length > 0
? c.push("}")
: i === c[c.length - 1] && c.pop(),
c.length === 0)
)
if (i === ";") {
((t.source.end = this.getPosition(e[2])), (this.semicolon = !0));
break;
} else if (i === "{") {
o = !0;
break;
} else if (i === "}") {
if (u.length > 0) {
for (a = u.length - 1, n = u[a]; n && n[0] === "space"; ) n = u[--a];
n && (t.source.end = this.getPosition(n[3] || n[2]));
}
this.end(e);
break;
} else u.push(e);
else u.push(e);
if (this.tokenizer.endOfFile()) {
s = !0;
break;
}
}
((t.raws.between = this.spacesAndCommentsFromEnd(u)),
u.length
? ((t.raws.afterName = this.spacesAndCommentsFromStart(u)),
this.raw(t, "params", u),
s &&
((e = u[u.length - 1]),
(t.source.end = this.getPosition(e[3] || e[2])),
(this.spaces = t.raws.between),
(t.raws.between = "")))
: ((t.raws.afterName = ""), (t.params = "")),
o && ((t.nodes = []), (this.current = t)));
}
end(e) {
(this.current.nodes && this.current.nodes.length && (this.current.raws.semicolon = this.semicolon),
(this.semicolon = !1),
(this.current.raws.after = (this.current.raws.after || "") + this.spaces),
(this.spaces = ""),
this.current.parent
? ((this.current.source.end = this.getPosition(e[2])), (this.current = this.current.parent))
: this.unexpectedClose(e));
}
endFile() {
(this.current.parent && this.unclosedBlock(),
this.current.nodes && this.current.nodes.length && (this.current.raws.semicolon = this.semicolon),
(this.current.raws.after = (this.current.raws.after || "") + this.spaces));
}
freeSemicolon(e) {
if (((this.spaces += e[1]), this.current.nodes)) {
let t = this.current.nodes[this.current.nodes.length - 1];
t &&
t.type === "rule" &&
!t.raws.ownSemicolon &&
((t.raws.ownSemicolon = this.spaces), (this.spaces = ""));
}
}
getPosition(e) {
let t = this.input.fromOffset(e);
return { offset: e, line: t.line, column: t.col };
}
init(e, t) {
(this.current.push(e),
(e.source = { start: this.getPosition(t), input: this.input }),
(e.raws.before = this.spaces),
(this.spaces = ""),
e.type !== "comment" && (this.semicolon = !1));
}
raw(e, t, i, n) {
let a,
s,
o = i.length,
u = "",
c = !0,
f,
d;
for (let p = 0; p < o; p += 1)
((a = i[p]),
(s = a[0]),
s === "space" && p === o - 1 && !n
? (c = !1)
: s === "comment"
? ((d = i[p - 1] ? i[p - 1][0] : "empty"),
(f = i[p + 1] ? i[p + 1][0] : "empty"),
!ec[d] && !ec[f] ? (u.slice(-1) === "," ? (c = !1) : (u += a[1])) : (c = !1))
: (u += a[1]));
if (!c) {
let p = i.reduce((m, b) => m + b[1], "");
e.raws[t] = { value: u, raw: p };
}
e[t] = u;
}
spacesAndCommentsFromEnd(e) {
let t,
i = "";
for (; e.length && ((t = e[e.length - 1][0]), !(t !== "space" && t !== "comment")); )
i = e.pop()[1] + i;
return i;
}
spacesAndCommentsFromStart(e) {
let t,
i = "";
for (; e.length && ((t = e[0][0]), !(t !== "space" && t !== "comment")); ) i += e.shift()[1];
return i;
}
spacesFromEnd(e) {
let t,
i = "";
for (; e.length && ((t = e[e.length - 1][0]), t === "space"); ) i = e.pop()[1] + i;
return i;
}
stringFrom(e, t) {
let i = "";
for (let n = t; n < e.length; n++) i += e[n][1];
return (e.splice(t, e.length - t), i);
}
colon(e) {
let t = 0,
i,
n,
a;
for (let [s, o] of e.entries()) {
if (((i = o), (n = i[0]), n === "(" && (t += 1), n === ")" && (t -= 1), t === 0 && n === ":"))
if (!a) this.doubleColon(i);
else {
if (a[0] === "word" && a[1] === "progid") continue;
return s;
}
a = i;
}
return !1;
}
unclosedBracket(e) {
throw this.input.error("Unclosed bracket", { offset: e[2] }, { offset: e[2] + 1 });
}
unknownWord(e) {
throw this.input.error("Unknown word", { offset: e[0][2] }, { offset: e[0][2] + e[0][1].length });
}
unexpectedClose(e) {
throw this.input.error("Unexpected }", { offset: e[2] }, { offset: e[2] + 1 });
}
unclosedBlock() {
let e = this.current.source.start;
throw this.input.error("Unclosed block", e.line, e.column);
}
doubleColon(e) {
throw this.input.error("Double colon", { offset: e[2] }, { offset: e[2] + e[1].length });
}
unnamedAtrule(e, t) {
throw this.input.error("At-rule without name", { offset: t[2] }, { offset: t[2] + t[1].length });
}
precheckMissedSemicolon() {}
checkMissedSemicolon(e) {
let t = this.colon(e);
if (t === !1) return;
let i = 0,
n;
for (let a = t - 1; a >= 0 && ((n = e[a]), !(n[0] !== "space" && ((i += 1), i === 2))); a--);
throw this.input.error("Missed semicolon", n[0] === "word" ? n[3] + 1 : n[2]);
}
};
rc.exports = tc;
});
var nc = v(() => {
l();
});
var ac = v((R3, sc) => {
l();
var Q0 = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",
J0 =
(r, e = 21) =>
(t = e) => {
let i = "",
n = t;
for (; n--; ) i += r[(Math.random() * r.length) | 0];
return i;
},
X0 = (r = 21) => {
let e = "",
t = r;
for (; t--; ) e += Q0[(Math.random() * 64) | 0];
return e;
};
sc.exports = { nanoid: X0, customAlphabet: J0 };
});
var Fs = v((M3, oc) => {
l();
oc.exports = {};
});
var Hi = v((B3, cc) => {
l();
("use strict");
var { SourceMapConsumer: K0, SourceMapGenerator: Z0 } = nc(),
{ fileURLToPath: lc, pathToFileURL: Gi } = (Cs(), pf),
{ resolve: Ls, isAbsolute: Ns } = (bt(), uf),
{ nanoid: ev } = ac(),
$s = As(),
uc = _i(),
tv = Fs(),
zs = Symbol("fromOffsetCache"),
rv = Boolean(K0 && Z0),
fc = Boolean(Ls && Ns),
Ar = class {
constructor(e, t = {}) {
if (e === null || typeof e == "undefined" || (typeof e == "object" && !e.toString))
throw new Error(`PostCSS received ${e} instead of CSS string`);
if (
((this.css = e.toString()),
this.css[0] === "\uFEFF" || this.css[0] === "\uFFFE"
? ((this.hasBOM = !0), (this.css = this.css.slice(1)))
: (this.hasBOM = !1),
t.from &&
(!fc || /^\w+:\/\//.test(t.from) || Ns(t.from)
? (this.file = t.from)
: (this.file = Ls(t.from))),
fc && rv)
) {
let i = new tv(this.css, t);
if (i.text) {
this.map = i;
let n = i.consumer().file;
!this.file && n && (this.file = this.mapResolve(n));
}
}
(this.file || (this.id = "<input css " + ev(6) + ">"), this.map && (this.map.file = this.from));
}
fromOffset(e) {
let t, i;
if (this[zs]) i = this[zs];
else {
let a = this.css.split(`
`);
i = new Array(a.length);
let s = 0;
for (let o = 0, u = a.length; o < u; o++) ((i[o] = s), (s += a[o].length + 1));
this[zs] = i;
}
t = i[i.length - 1];
let n = 0;
if (e >= t) n = i.length - 1;
else {
let a = i.length - 2,
s;
for (; n < a; )
if (((s = n + ((a - n) >> 1)), e < i[s])) a = s - 1;
else if (e >= i[s + 1]) n = s + 1;
else {
n = s;
break;
}
}
return { line: n + 1, col: e - i[n] + 1 };
}
error(e, t, i, n = {}) {
let a, s, o;
if (t && typeof t == "object") {
let c = t,
f = i;
if (typeof c.offset == "number") {
let d = this.fromOffset(c.offset);
((t = d.line), (i = d.col));
} else ((t = c.line), (i = c.column));
if (typeof f.offset == "number") {
let d = this.fromOffset(f.offset);
((s = d.line), (o = d.col));
} else ((s = f.line), (o = f.column));
} else if (!i) {
let c = this.fromOffset(t);
((t = c.line), (i = c.col));
}
let u = this.origin(t, i, s, o);
return (
u
? (a = new uc(
e,
u.endLine === void 0 ? u.line : { line: u.line, column: u.column },
u.endLine === void 0 ? u.column : { line: u.endLine, column: u.endColumn },
u.source,
u.file,
n.plugin
))
: (a = new uc(
e,
s === void 0 ? t : { line: t, column: i },
s === void 0 ? i : { line: s, column: o },
this.css,
this.file,
n.plugin
)),
(a.input = { line: t, column: i, endLine: s, endColumn: o, source: this.css }),
this.file && (Gi && (a.input.url = Gi(this.file).toString()), (a.input.file = this.file)),
a
);
}
origin(e, t, i, n) {
if (!this.map) return !1;
let a = this.map.consumer(),
s = a.originalPositionFor({ line: e, column: t });
if (!s.source) return !1;
let o;
typeof i == "number" && (o = a.originalPositionFor({ line: i, column: n }));
let u;
Ns(s.source)
? (u = Gi(s.source))
: (u = new URL(s.source, this.map.consumer().sourceRoot || Gi(this.map.mapFile)));
let c = {
url: u.toString(),
line: s.line,
column: s.column,
endLine: o && o.line,
endColumn: o && o.column,
};
if (u.protocol === "file:")
if (lc) c.file = lc(u);
else throw new Error("file: protocol is not available in this PostCSS build");
let f = a.sourceContentFor(s.source);
return (f && (c.source = f), c);
}
mapResolve(e) {
return /^\w+:\/\//.test(e) ? e : Ls(this.map.consumer().sourceRoot || this.map.root || ".", e);
}
get from() {
return this.file || this.id;
}
toJSON() {
let e = {};
for (let t of ["hasBOM", "css", "file", "id"]) this[t] != null && (e[t] = this[t]);
return (
this.map && ((e.map = { ...this.map }), e.map.consumerCache && (e.map.consumerCache = void 0)),
e
);
}
};
cc.exports = Ar;
Ar.default = Ar;
$s && $s.registerInput && $s.registerInput(Ar);
});
var Qi = v((F3, pc) => {
l();
("use strict");
var iv = nt(),
nv = ic(),
sv = Hi();
function Yi(r, e) {
let t = new sv(r, e),
i = new nv(t);
try {
i.parse();
} catch (n) {
throw n;
}
return i.root;
}
pc.exports = Yi;
Yi.default = Yi;
iv.registerParse(Yi);
});
var Us = v((N3, gc) => {
l();
("use strict");
var { isClean: qe, my: av } = Oi(),
ov = Ps(),
lv = yr(),
uv = nt(),
fv = qi(),
L3 = qs(),
dc = Bi(),
cv = Qi(),
pv = Dt(),
dv = {
document: "Document",
root: "Root",
atrule: "AtRule",
rule: "Rule",
decl: "Declaration",
comment: "Comment",
},
hv = {
postcssPlugin: !0,
prepare: !0,
Once: !0,
Document: !0,
Root: !0,
Declaration: !0,
Rule: !0,
AtRule: !0,
Comment: !0,
DeclarationExit: !0,
RuleExit: !0,
AtRuleExit: !0,
CommentExit: !0,
RootExit: !0,
DocumentExit: !0,
OnceExit: !0,
},
mv = { postcssPlugin: !0, prepare: !0, Once: !0 },
It = 0;
function _r(r) {
return typeof r == "object" && typeof r.then == "function";
}
function hc(r) {
let e = !1,
t = dv[r.type];
return (
r.type === "decl" ? (e = r.prop.toLowerCase()) : r.type === "atrule" && (e = r.name.toLowerCase()),
e && r.append
? [t, t + "-" + e, It, t + "Exit", t + "Exit-" + e]
: e
? [t, t + "-" + e, t + "Exit", t + "Exit-" + e]
: r.append
? [t, It, t + "Exit"]
: [t, t + "Exit"]
);
}
function mc(r) {
let e;
return (
r.type === "document"
? (e = ["Document", It, "DocumentExit"])
: r.type === "root"
? (e = ["Root", It, "RootExit"])
: (e = hc(r)),
{ node: r, events: e, eventIndex: 0, visitors: [], visitorIndex: 0, iterator: 0 }
);
}
function js(r) {
return ((r[qe] = !1), r.nodes && r.nodes.forEach((e) => js(e)), r);
}
var Vs = {},
Ve = class {
constructor(e, t, i) {
((this.stringified = !1), (this.processed = !1));
let n;
if (typeof t == "object" && t !== null && (t.type === "root" || t.type === "document")) n = js(t);
else if (t instanceof Ve || t instanceof dc)
((n = js(t.root)),
t.map &&
(typeof i.map == "undefined" && (i.map = {}),
i.map.inline || (i.map.inline = !1),
(i.map.prev = t.map)));
else {
let a = cv;
(i.syntax && (a = i.syntax.parse), i.parser && (a = i.parser), a.parse && (a = a.parse));
try {
n = a(t, i);
} catch (s) {
((this.processed = !0), (this.error = s));
}
n && !n[av] && uv.rebuild(n);
}
((this.result = new dc(e, n, i)),
(this.helpers = { ...Vs, result: this.result, postcss: Vs }),
(this.plugins = this.processor.plugins.map((a) =>
typeof a == "object" && a.prepare ? { ...a, ...a.prepare(this.result) } : a
)));
}
get [Symbol.toStringTag]() {
return "LazyResult";
}
get processor() {
return this.result.processor;
}
get opts() {
return this.result.opts;
}
get css() {
return this.stringify().css;
}
get content() {
return this.stringify().content;
}
get map() {
return this.stringify().map;
}
get root() {
return this.sync().root;
}
get messages() {
return this.sync().messages;
}
warnings() {
return this.sync().warnings();
}
toString() {
return this.css;
}
then(e, t) {
return this.async().then(e, t);
}
catch(e) {
return this.async().catch(e);
}
finally(e) {
return this.async().then(e, e);
}
async() {
return this.error
? Promise.reject(this.error)
: this.processed
? Promise.resolve(this.result)
: (this.processing || (this.processing = this.runAsync()), this.processing);
}
sync() {
if (this.error) throw this.error;
if (this.processed) return this.result;
if (((this.processed = !0), this.processing)) throw this.getAsyncError();
for (let e of this.plugins) {
let t = this.runOnRoot(e);
if (_r(t)) throw this.getAsyncError();
}
if ((this.prepareVisitors(), this.hasListener)) {
let e = this.result.root;
for (; !e[qe]; ) ((e[qe] = !0), this.walkSync(e));
if (this.listeners.OnceExit)
if (e.type === "document")
for (let t of e.nodes) this.visitSync(this.listeners.OnceExit, t);
else this.visitSync(this.listeners.OnceExit, e);
}
return this.result;
}
stringify() {
if (this.error) throw this.error;
if (this.stringified) return this.result;
((this.stringified = !0), this.sync());
let e = this.result.opts,
t = lv;
(e.syntax && (t = e.syntax.stringify),
e.stringifier && (t = e.stringifier),
t.stringify && (t = t.stringify));
let n = new ov(t, this.result.root, this.result.opts).generate();
return ((this.result.css = n[0]), (this.result.map = n[1]), this.result);
}
walkSync(e) {
e[qe] = !0;
let t = hc(e);
for (let i of t)
if (i === It)
e.nodes &&
e.each((n) => {
n[qe] || this.walkSync(n);
});
else {
let n = this.listeners[i];
if (n && this.visitSync(n, e.toProxy())) return;
}
}
visitSync(e, t) {
for (let [i, n] of e) {
this.result.lastPlugin = i;
let a;
try {
a = n(t, this.helpers);
} catch (s) {
throw this.handleError(s, t.proxyOf);
}
if (t.type !== "root" && t.type !== "document" && !t.parent) return !0;
if (_r(a)) throw this.getAsyncError();
}
}
runOnRoot(e) {
this.result.lastPlugin = e;
try {
if (typeof e == "object" && e.Once) {
if (this.result.root.type === "document") {
let t = this.result.root.nodes.map((i) => e.Once(i, this.helpers));
return _r(t[0]) ? Promise.all(t) : t;
}
return e.Once(this.result.root, this.helpers);
} else if (typeof e == "function") return e(this.result.root, this.result);
} catch (t) {
throw this.handleError(t);
}
}
getAsyncError() {
throw new Error("Use process(css).then(cb) to work with async plugins");
}
handleError(e, t) {
let i = this.result.lastPlugin;
try {
(t && t.addToError(e),
(this.error = e),
e.name === "CssSyntaxError" && !e.plugin
? ((e.plugin = i.postcssPlugin), e.setMessage())
: i.postcssVersion);
} catch (n) {
console && console.error && console.error(n);
}
return e;
}
async runAsync() {
this.plugin = 0;
for (let e = 0; e < this.plugins.length; e++) {
let t = this.plugins[e],
i = this.runOnRoot(t);
if (_r(i))
try {
await i;
} catch (n) {
throw this.handleError(n);
}
}
if ((this.prepareVisitors(), this.hasListener)) {
let e = this.result.root;
for (; !e[qe]; ) {
e[qe] = !0;
let t = [mc(e)];
for (; t.length > 0; ) {
let i = this.visitTick(t);
if (_r(i))
try {
await i;
} catch (n) {
let a = t[t.length - 1].node;
throw this.handleError(n, a);
}
}
}
if (this.listeners.OnceExit)
for (let [t, i] of this.listeners.OnceExit) {
this.result.lastPlugin = t;
try {
if (e.type === "document") {
let n = e.nodes.map((a) => i(a, this.helpers));
await Promise.all(n);
} else await i(e, this.helpers);
} catch (n) {
throw this.handleError(n);
}
}
}
return ((this.processed = !0), this.stringify());
}
prepareVisitors() {
this.listeners = {};
let e = (t, i, n) => {
(this.listeners[i] || (this.listeners[i] = []), this.listeners[i].push([t, n]));
};
for (let t of this.plugins)
if (typeof t == "object")
for (let i in t) {
if (!hv[i] && /^[A-Z]/.test(i))
throw new Error(
`Unknown event ${i} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`
);
if (!mv[i])
if (typeof t[i] == "object")
for (let n in t[i])
n === "*" ? e(t, i, t[i][n]) : e(t, i + "-" + n.toLowerCase(), t[i][n]);
else typeof t[i] == "function" && e(t, i, t[i]);
}
this.hasListener = Object.keys(this.listeners).length > 0;
}
visitTick(e) {
let t = e[e.length - 1],
{ node: i, visitors: n } = t;
if (i.type !== "root" && i.type !== "document" && !i.parent) {
e.pop();
return;
}
if (n.length > 0 && t.visitorIndex < n.length) {
let [s, o] = n[t.visitorIndex];
((t.visitorIndex += 1),
t.visitorIndex === n.length && ((t.visitors = []), (t.visitorIndex = 0)),
(this.result.lastPlugin = s));
try {
return o(i.toProxy(), this.helpers);
} catch (u) {
throw this.handleError(u, i);
}
}
if (t.iterator !== 0) {
let s = t.iterator,
o;
for (; (o = i.nodes[i.indexes[s]]); )
if (((i.indexes[s] += 1), !o[qe])) {
((o[qe] = !0), e.push(mc(o)));
return;
}
((t.iterator = 0), delete i.indexes[s]);
}
let a = t.events;
for (; t.eventIndex < a.length; ) {
let s = a[t.eventIndex];
if (((t.eventIndex += 1), s === It)) {
i.nodes && i.nodes.length && ((i[qe] = !0), (t.iterator = i.getIterator()));
return;
} else if (this.listeners[s]) {
t.visitors = this.listeners[s];
return;
}
}
e.pop();
}
};
Ve.registerPostcss = (r) => {
Vs = r;
};
gc.exports = Ve;
Ve.default = Ve;
pv.registerLazyResult(Ve);
fv.registerLazyResult(Ve);
});
var wc = v((z3, yc) => {
l();
("use strict");
var gv = Ps(),
yv = yr(),
$3 = qs(),
wv = Qi(),
bv = Bi(),
Ji = class {
constructor(e, t, i) {
((t = t.toString()),
(this.stringified = !1),
(this._processor = e),
(this._css = t),
(this._opts = i),
(this._map = void 0));
let n,
a = yv;
((this.result = new bv(this._processor, n, this._opts)), (this.result.css = t));
let s = this;
Object.defineProperty(this.result, "root", {
get() {
return s.root;
},
});
let o = new gv(a, n, this._opts, t);
if (o.isMap()) {
let [u, c] = o.generate();
(u && (this.result.css = u), c && (this.result.map = c));
}
}
get [Symbol.toStringTag]() {
return "NoWorkResult";
}
get processor() {
return this.result.processor;
}
get opts() {
return this.result.opts;
}
get css() {
return this.result.css;
}
get content() {
return this.result.css;
}
get map() {
return this.result.map;
}
get root() {
if (this._root) return this._root;
let e,
t = wv;
try {
e = t(this._css, this._opts);
} catch (i) {
this.error = i;
}
if (this.error) throw this.error;
return ((this._root = e), e);
}
get messages() {
return [];
}
warnings() {
return [];
}
toString() {
return this._css;
}
then(e, t) {
return this.async().then(e, t);
}
catch(e) {
return this.async().catch(e);
}
finally(e) {
return this.async().then(e, e);
}
async() {
return this.error ? Promise.reject(this.error) : Promise.resolve(this.result);
}
sync() {
if (this.error) throw this.error;
return this.result;
}
};
yc.exports = Ji;
Ji.default = Ji;
});
var vc = v((j3, bc) => {
l();
("use strict");
var vv = wc(),
xv = Us(),
kv = qi(),
Sv = Dt(),
qt = class {
constructor(e = []) {
((this.version = "8.4.24"), (this.plugins = this.normalize(e)));
}
use(e) {
return ((this.plugins = this.plugins.concat(this.normalize([e]))), this);
}
process(e, t = {}) {
return this.plugins.length === 0 &&
typeof t.parser == "undefined" &&
typeof t.stringifier == "undefined" &&
typeof t.syntax == "undefined"
? new vv(this, e, t)
: new xv(this, e, t);
}
normalize(e) {
let t = [];
for (let i of e)
if (
(i.postcss === !0 ? (i = i()) : i.postcss && (i = i.postcss),
typeof i == "object" && Array.isArray(i.plugins))
)
t = t.concat(i.plugins);
else if (typeof i == "object" && i.postcssPlugin) t.push(i);
else if (typeof i == "function") t.push(i);
else if (!(typeof i == "object" && (i.parse || i.stringify)))
throw new Error(i + " is not a PostCSS plugin");
return t;
}
};
bc.exports = qt;
qt.default = qt;
Sv.registerProcessor(qt);
kv.registerProcessor(qt);
});
var kc = v((V3, xc) => {
l();
("use strict");
var Cv = br(),
Av = Fs(),
_v = vr(),
Ov = Ui(),
Ev = Hi(),
Tv = Dt(),
Pv = Wi();
function Or(r, e) {
if (Array.isArray(r)) return r.map((n) => Or(n));
let { inputs: t, ...i } = r;
if (t) {
e = [];
for (let n of t) {
let a = { ...n, __proto__: Ev.prototype };
(a.map && (a.map = { ...a.map, __proto__: Av.prototype }), e.push(a));
}
}
if ((i.nodes && (i.nodes = r.nodes.map((n) => Or(n, e))), i.source)) {
let { inputId: n, ...a } = i.source;
((i.source = a), n != null && (i.source.input = e[n]));
}
if (i.type === "root") return new Tv(i);
if (i.type === "decl") return new Cv(i);
if (i.type === "rule") return new Pv(i);
if (i.type === "comment") return new _v(i);
if (i.type === "atrule") return new Ov(i);
throw new Error("Unknown node type: " + r.type);
}
xc.exports = Or;
Or.default = Or;
});
var ge = v((U3, Tc) => {
l();
("use strict");
var Dv = _i(),
Sc = br(),
Iv = Us(),
qv = nt(),
Ws = vc(),
Rv = yr(),
Mv = kc(),
Cc = qi(),
Bv = Rs(),
Ac = vr(),
_c = Ui(),
Fv = Bi(),
Lv = Hi(),
Nv = Qi(),
$v = Bs(),
Oc = Wi(),
Ec = Dt(),
zv = wr();
function z(...r) {
return (r.length === 1 && Array.isArray(r[0]) && (r = r[0]), new Ws(r));
}
z.plugin = function (e, t) {
let i = !1;
function n(...s) {
console &&
console.warn &&
!i &&
((i = !0),
console.warn(
e +
`: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration`
),
h.env.LANG &&
h.env.LANG.startsWith("cn") &&
console.warn(
e +
`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357:
https://www.w3ctech.com/topic/2226`
));
let o = t(...s);
return ((o.postcssPlugin = e), (o.postcssVersion = new Ws().version), o);
}
let a;
return (
Object.defineProperty(n, "postcss", {
get() {
return (a || (a = n()), a);
},
}),
(n.process = function (s, o, u) {
return z([n(u)]).process(s, o);
}),
n
);
};
z.stringify = Rv;
z.parse = Nv;
z.fromJSON = Mv;
z.list = $v;
z.comment = (r) => new Ac(r);
z.atRule = (r) => new _c(r);
z.decl = (r) => new Sc(r);
z.rule = (r) => new Oc(r);
z.root = (r) => new Ec(r);
z.document = (r) => new Cc(r);
z.CssSyntaxError = Dv;
z.Declaration = Sc;
z.Container = qv;
z.Processor = Ws;
z.Document = Cc;
z.Comment = Ac;
z.Warning = Bv;
z.AtRule = _c;
z.Result = Fv;
z.Input = Lv;
z.Rule = Oc;
z.Root = Ec;
z.Node = zv;
Iv.registerPostcss(z);
Tc.exports = z;
z.default = z;
});
var U,
j,
W3,
G3,
H3,
Y3,
Q3,
J3,
X3,
K3,
Z3,
eT,
tT,
rT,
iT,
nT,
sT,
aT,
oT,
lT,
uT,
fT,
cT,
pT,
dT,
hT,
st = C(() => {
l();
((U = X(ge())),
(j = U.default),
(W3 = U.default.stringify),
(G3 = U.default.fromJSON),
(H3 = U.default.plugin),
(Y3 = U.default.parse),
(Q3 = U.default.list),
(J3 = U.default.document),
(X3 = U.default.comment),
(K3 = U.default.atRule),
(Z3 = U.default.rule),
(eT = U.default.decl),
(tT = U.default.root),
(rT = U.default.CssSyntaxError),
(iT = U.default.Declaration),
(nT = U.default.Container),
(sT = U.default.Processor),
(aT = U.default.Document),
(oT = U.default.Comment),
(lT = U.default.Warning),
(uT = U.default.AtRule),
(fT = U.default.Result),
(cT = U.default.Input),
(pT = U.default.Rule),
(dT = U.default.Root),
(hT = U.default.Node));
});
var Gs = v((gT, Pc) => {
l();
Pc.exports = function (r, e, t, i, n) {
for (e = e.split ? e.split(".") : e, i = 0; i < e.length; i++) r = r ? r[e[i]] : n;
return r === n ? t : r;
};
});
var Ki = v((Xi, Dc) => {
l();
("use strict");
Xi.__esModule = !0;
Xi.default = Uv;
function jv(r) {
for (var e = r.toLowerCase(), t = "", i = !1, n = 0; n < 6 && e[n] !== void 0; n++) {
var a = e.charCodeAt(n),
s = (a >= 97 && a <= 102) || (a >= 48 && a <= 57);
if (((i = a === 32), !s)) break;
t += e[n];
}
if (t.length !== 0) {
var o = parseInt(t, 16),
u = o >= 55296 && o <= 57343;
return u || o === 0 || o > 1114111
? ["\uFFFD", t.length + (i ? 1 : 0)]
: [String.fromCodePoint(o), t.length + (i ? 1 : 0)];
}
}
var Vv = /\\/;
function Uv(r) {
var e = Vv.test(r);
if (!e) return r;
for (var t = "", i = 0; i < r.length; i++) {
if (r[i] === "\\") {
var n = jv(r.slice(i + 1, i + 7));
if (n !== void 0) {
((t += n[0]), (i += n[1]));
continue;
}
if (r[i + 1] === "\\") {
((t += "\\"), i++);
continue;
}
r.length === i + 1 && (t += r[i]);
continue;
}
t += r[i];
}
return t;
}
Dc.exports = Xi.default;
});
var qc = v((Zi, Ic) => {
l();
("use strict");
Zi.__esModule = !0;
Zi.default = Wv;
function Wv(r) {
for (var e = arguments.length, t = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++) t[i - 1] = arguments[i];
for (; t.length > 0; ) {
var n = t.shift();
if (!r[n]) return;
r = r[n];
}
return r;
}
Ic.exports = Zi.default;
});
var Mc = v((en, Rc) => {
l();
("use strict");
en.__esModule = !0;
en.default = Gv;
function Gv(r) {
for (var e = arguments.length, t = new Array(e > 1 ? e - 1 : 0), i = 1; i < e; i++) t[i - 1] = arguments[i];
for (; t.length > 0; ) {
var n = t.shift();
(r[n] || (r[n] = {}), (r = r[n]));
}
}
Rc.exports = en.default;
});
var Fc = v((tn, Bc) => {
l();
("use strict");
tn.__esModule = !0;
tn.default = Hv;
function Hv(r) {
for (var e = "", t = r.indexOf("/*"), i = 0; t >= 0; ) {
e = e + r.slice(i, t);
var n = r.indexOf("*/", t + 2);
if (n < 0) return e;
((i = n + 2), (t = r.indexOf("/*", i)));
}
return ((e = e + r.slice(i)), e);
}
Bc.exports = tn.default;
});
var Er = v((Re) => {
l();
("use strict");
Re.__esModule = !0;
Re.unesc = Re.stripComments = Re.getProp = Re.ensureObject = void 0;
var Yv = rn(Ki());
Re.unesc = Yv.default;
var Qv = rn(qc());
Re.getProp = Qv.default;
var Jv = rn(Mc());
Re.ensureObject = Jv.default;
var Xv = rn(Fc());
Re.stripComments = Xv.default;
function rn(r) {
return r && r.__esModule ? r : { default: r };
}
});
var Ue = v((Tr, $c) => {
l();
("use strict");
Tr.__esModule = !0;
Tr.default = void 0;
var Lc = Er();
function Nc(r, e) {
for (var t = 0; t < e.length; t++) {
var i = e[t];
((i.enumerable = i.enumerable || !1),
(i.configurable = !0),
"value" in i && (i.writable = !0),
Object.defineProperty(r, i.key, i));
}
}
function Kv(r, e, t) {
return (e && Nc(r.prototype, e), t && Nc(r, t), Object.defineProperty(r, "prototype", { writable: !1 }), r);
}
var Zv = function r(e, t) {
if (typeof e != "object" || e === null) return e;
var i = new e.constructor();
for (var n in e)
if (!!e.hasOwnProperty(n)) {
var a = e[n],
s = typeof a;
n === "parent" && s === "object"
? t && (i[n] = t)
: a instanceof Array
? (i[n] = a.map(function (o) {
return r(o, i);
}))
: (i[n] = r(a, i));
}
return i;
},
ex = (function () {
function r(t) {
(t === void 0 && (t = {}),
Object.assign(this, t),
(this.spaces = this.spaces || {}),
(this.spaces.before = this.spaces.before || ""),
(this.spaces.after = this.spaces.after || ""));
}
var e = r.prototype;
return (
(e.remove = function () {
return (this.parent && this.parent.removeChild(this), (this.parent = void 0), this);
}),
(e.replaceWith = function () {
if (this.parent) {
for (var i in arguments) this.parent.insertBefore(this, arguments[i]);
this.remove();
}
return this;
}),
(e.next = function () {
return this.parent.at(this.parent.index(this) + 1);
}),
(e.prev = function () {
return this.parent.at(this.parent.index(this) - 1);
}),
(e.clone = function (i) {
i === void 0 && (i = {});
var n = Zv(this);
for (var a in i) n[a] = i[a];
return n;
}),
(e.appendToPropertyAndEscape = function (i, n, a) {
this.raws || (this.raws = {});
var s = this[i],
o = this.raws[i];
((this[i] = s + n), o || a !== n ? (this.raws[i] = (o || s) + a) : delete this.raws[i]);
}),
(e.setPropertyAndEscape = function (i, n, a) {
(this.raws || (this.raws = {}), (this[i] = n), (this.raws[i] = a));
}),
(e.setPropertyWithoutEscape = function (i, n) {
((this[i] = n), this.raws && delete this.raws[i]);
}),
(e.isAtPosition = function (i, n) {
if (this.source && this.source.start && this.source.end)
return !(
this.source.start.line > i ||
this.source.end.line < i ||
(this.source.start.line === i && this.source.start.column > n) ||
(this.source.end.line === i && this.source.end.column < n)
);
}),
(e.stringifyProperty = function (i) {
return (this.raws && this.raws[i]) || this[i];
}),
(e.valueToString = function () {
return String(this.stringifyProperty("value"));
}),
(e.toString = function () {
return [this.rawSpaceBefore, this.valueToString(), this.rawSpaceAfter].join("");
}),
Kv(r, [
{
key: "rawSpaceBefore",
get: function () {
var i = this.raws && this.raws.spaces && this.raws.spaces.before;
return (i === void 0 && (i = this.spaces && this.spaces.before), i || "");
},
set: function (i) {
((0, Lc.ensureObject)(this, "raws", "spaces"), (this.raws.spaces.before = i));
},
},
{
key: "rawSpaceAfter",
get: function () {
var i = this.raws && this.raws.spaces && this.raws.spaces.after;
return (i === void 0 && (i = this.spaces.after), i || "");
},
set: function (i) {
((0, Lc.ensureObject)(this, "raws", "spaces"), (this.raws.spaces.after = i));
},
},
]),
r
);
})();
Tr.default = ex;
$c.exports = Tr.default;
});
var ne = v((W) => {
l();
("use strict");
W.__esModule = !0;
W.UNIVERSAL =
W.TAG =
W.STRING =
W.SELECTOR =
W.ROOT =
W.PSEUDO =
W.NESTING =
W.ID =
W.COMMENT =
W.COMBINATOR =
W.CLASS =
W.ATTRIBUTE =
void 0;
var tx = "tag";
W.TAG = tx;
var rx = "string";
W.STRING = rx;
var ix = "selector";
W.SELECTOR = ix;
var nx = "root";
W.ROOT = nx;
var sx = "pseudo";
W.PSEUDO = sx;
var ax = "nesting";
W.NESTING = ax;
var ox = "id";
W.ID = ox;
var lx = "comment";
W.COMMENT = lx;
var ux = "combinator";
W.COMBINATOR = ux;
var fx = "class";
W.CLASS = fx;
var cx = "attribute";
W.ATTRIBUTE = cx;
var px = "universal";
W.UNIVERSAL = px;
});
var nn = v((Pr, Uc) => {
l();
("use strict");
Pr.__esModule = !0;
Pr.default = void 0;
var dx = mx(Ue()),
We = hx(ne());
function zc(r) {
if (typeof WeakMap != "function") return null;
var e = new WeakMap(),
t = new WeakMap();
return (zc = function (n) {
return n ? t : e;
})(r);
}
function hx(r, e) {
if (!e && r && r.__esModule) return r;
if (r === null || (typeof r != "object" && typeof r != "function")) return { default: r };
var t = zc(e);
if (t && t.has(r)) return t.get(r);
var i = {},
n = Object.defineProperty && Object.getOwnPropertyDescriptor;
for (var a in r)
if (a !== "default" && Object.prototype.hasOwnProperty.call(r, a)) {
var s = n ? Object.getOwnPropertyDescriptor(r, a) : null;
s && (s.get || s.set) ? Object.defineProperty(i, a, s) : (i[a] = r[a]);
}
return ((i.default = r), t && t.set(r, i), i);
}
function mx(r) {
return r && r.__esModule ? r : { default: r };
}
function gx(r, e) {
var t = (typeof Symbol != "undefined" && r[Symbol.iterator]) || r["@@iterator"];
if (t) return (t = t.call(r)).next.bind(t);
if (Array.isArray(r) || (t = yx(r)) || (e && r && typeof r.length == "number")) {
t && (r = t);
var i = 0;
return function () {
return i >= r.length ? { done: !0 } : { done: !1, value: r[i++] };
};
}
throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
}
function yx(r, e) {
if (!!r) {
if (typeof r == "string") return jc(r, e);
var t = Object.prototype.toString.call(r).slice(8, -1);
if ((t === "Object" && r.constructor && (t = r.constructor.name), t === "Map" || t === "Set"))
return Array.from(r);
if (t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)) return jc(r, e);
}
}
function jc(r, e) {
(e == null || e > r.length) && (e = r.length);
for (var t = 0, i = new Array(e); t < e; t++) i[t] = r[t];
return i;
}
function Vc(r, e) {
for (var t = 0; t < e.length; t++) {
var i = e[t];
((i.enumerable = i.enumerable || !1),
(i.configurable = !0),
"value" in i && (i.writable = !0),
Object.defineProperty(r, i.key, i));
}
}
function wx(r, e, t) {
return (e && Vc(r.prototype, e), t && Vc(r, t), Object.defineProperty(r, "prototype", { writable: !1 }), r);
}
function bx(r, e) {
((r.prototype = Object.create(e.prototype)), (r.prototype.constructor = r), Hs(r, e));
}
function Hs(r, e) {
return (
(Hs = Object.setPrototypeOf
? Object.setPrototypeOf.bind()
: function (i, n) {
return ((i.__proto__ = n), i);
}),
Hs(r, e)
);
}
var vx = (function (r) {
bx(e, r);
function e(i) {
var n;
return ((n = r.call(this, i) || this), n.nodes || (n.nodes = []), n);
}
var t = e.prototype;
return (
(t.append = function (n) {
return ((n.parent = this), this.nodes.push(n), this);
}),
(t.prepend = function (n) {
return ((n.parent = this), this.nodes.unshift(n), this);
}),
(t.at = function (n) {
return this.nodes[n];
}),
(t.index = function (n) {
return typeof n == "number" ? n : this.nodes.indexOf(n);
}),
(t.removeChild = function (n) {
((n = this.index(n)), (this.at(n).parent = void 0), this.nodes.splice(n, 1));
var a;
for (var s in this.indexes) ((a = this.indexes[s]), a >= n && (this.indexes[s] = a - 1));
return this;
}),
(t.removeAll = function () {
for (var n = gx(this.nodes), a; !(a = n()).done; ) {
var s = a.value;
s.parent = void 0;
}
return ((this.nodes = []), this);
}),
(t.empty = function () {
return this.removeAll();
}),
(t.insertAfter = function (n, a) {
a.parent = this;
var s = this.index(n);
(this.nodes.splice(s + 1, 0, a), (a.parent = this));
var o;
for (var u in this.indexes) ((o = this.indexes[u]), s <= o && (this.indexes[u] = o + 1));
return this;
}),
(t.insertBefore = function (n, a) {
a.parent = this;
var s = this.index(n);
(this.nodes.splice(s, 0, a), (a.parent = this));
var o;
for (var u in this.indexes) ((o = this.indexes[u]), o <= s && (this.indexes[u] = o + 1));
return this;
}),
(t._findChildAtPosition = function (n, a) {
var s = void 0;
return (
this.each(function (o) {
if (o.atPosition) {
var u = o.atPosition(n, a);
if (u) return ((s = u), !1);
} else if (o.isAtPosition(n, a)) return ((s = o), !1);
}),
s
);
}),
(t.atPosition = function (n, a) {
if (this.isAtPosition(n, a)) return this._findChildAtPosition(n, a) || this;
}),
(t._inferEndPosition = function () {
this.last &&
this.last.source &&
this.last.source.end &&
((this.source = this.source || {}),
(this.source.end = this.source.end || {}),
Object.assign(this.source.end, this.last.source.end));
}),
(t.each = function (n) {
(this.lastEach || (this.lastEach = 0), this.indexes || (this.indexes = {}), this.lastEach++);
var a = this.lastEach;
if (((this.indexes[a] = 0), !!this.length)) {
for (
var s, o;
this.indexes[a] < this.length && ((s = this.indexes[a]), (o = n(this.at(s), s)), o !== !1);
)
this.indexes[a] += 1;
if ((delete this.indexes[a], o === !1)) return !1;
}
}),
(t.walk = function (n) {
return this.each(function (a, s) {
var o = n(a, s);
if ((o !== !1 && a.length && (o = a.walk(n)), o === !1)) return !1;
});
}),
(t.walkAttributes = function (n) {
var a = this;
return this.walk(function (s) {
if (s.type === We.ATTRIBUTE) return n.call(a, s);
});
}),
(t.walkClasses = function (n) {
var a = this;
return this.walk(function (s) {
if (s.type === We.CLASS) return n.call(a, s);
});
}),
(t.walkCombinators = function (n) {
var a = this;
return this.walk(function (s) {
if (s.type === We.COMBINATOR) return n.call(a, s);
});
}),
(t.walkComments = function (n) {
var a = this;
return this.walk(function (s) {
if (s.type === We.COMMENT) return n.call(a, s);
});
}),
(t.walkIds = function (n) {
var a = this;
return this.walk(function (s) {
if (s.type === We.ID) return n.call(a, s);
});
}),
(t.walkNesting = function (n) {
var a = this;
return this.walk(function (s) {
if (s.type === We.NESTING) return n.call(a, s);
});
}),
(t.walkPseudos = function (n) {
var a = this;
return this.walk(function (s) {
if (s.type === We.PSEUDO) return n.call(a, s);
});
}),
(t.walkTags = function (n) {
var a = this;
return this.walk(function (s) {
if (s.type === We.TAG) return n.call(a, s);
});
}),
(t.walkUniversals = function (n) {
var a = this;
return this.walk(function (s) {
if (s.type === We.UNIVERSAL) return n.call(a, s);
});
}),
(t.split = function (n) {
var a = this,
s = [];
return this.reduce(function (o, u, c) {
var f = n.call(a, u);
return (s.push(u), f ? (o.push(s), (s = [])) : c === a.length - 1 && o.push(s), o);
}, []);
}),
(t.map = function (n) {
return this.nodes.map(n);
}),
(t.reduce = function (n, a) {
return this.nodes.reduce(n, a);
}),
(t.every = function (n) {
return this.nodes.every(n);
}),
(t.some = function (n) {
return this.nodes.some(n);
}),
(t.filter = function (n) {
return this.nodes.filter(n);
}),
(t.sort = function (n) {
return this.nodes.sort(n);
}),
(t.toString = function () {
return this.map(String).join("");
}),
wx(e, [
{
key: "first",
get: function () {
return this.at(0);
},
},
{
key: "last",
get: function () {
return this.at(this.length - 1);
},
},
{
key: "length",
get: function () {
return this.nodes.length;
},
},
]),
e
);
})(dx.default);
Pr.default = vx;
Uc.exports = Pr.default;
});
var Qs = v((Dr, Gc) => {
l();
("use strict");
Dr.__esModule = !0;
Dr.default = void 0;
var xx = Sx(nn()),
kx = ne();
function Sx(r) {
return r && r.__esModule ? r : { default: r };
}
function Wc(r, e) {
for (var t = 0; t < e.length; t++) {
var i = e[t];
((i.enumerable = i.enumerable || !1),
(i.configurable = !0),
"value" in i && (i.writable = !0),
Object.defineProperty(r, i.key, i));
}
}
function Cx(r, e, t) {
return (e && Wc(r.prototype, e), t && Wc(r, t), Object.defineProperty(r, "prototype", { writable: !1 }), r);
}
function Ax(r, e) {
((r.prototype = Object.create(e.prototype)), (r.prototype.constructor = r), Ys(r, e));
}
function Ys(r, e) {
return (
(Ys = Object.setPrototypeOf
? Object.setPrototypeOf.bind()
: function (i, n) {
return ((i.__proto__ = n), i);
}),
Ys(r, e)
);
}
var _x = (function (r) {
Ax(e, r);
function e(i) {
var n;
return ((n = r.call(this, i) || this), (n.type = kx.ROOT), n);
}
var t = e.prototype;
return (
(t.toString = function () {
var n = this.reduce(function (a, s) {
return (a.push(String(s)), a);
}, []).join(",");
return this.trailingComma ? n + "," : n;
}),
(t.error = function (n, a) {
return this._error ? this._error(n, a) : new Error(n);
}),
Cx(e, [
{
key: "errorGenerator",
set: function (n) {
this._error = n;
},
},
]),
e
);
})(xx.default);
Dr.default = _x;
Gc.exports = Dr.default;
});
var Xs = v((Ir, Hc) => {
l();
("use strict");
Ir.__esModule = !0;
Ir.default = void 0;
var Ox = Tx(nn()),
Ex = ne();
function Tx(r) {
return r && r.__esModule ? r : { default: r };
}
function Px(r, e) {
((r.prototype = Object.create(e.prototype)), (r.prototype.constructor = r), Js(r, e));
}
function Js(r, e) {
return (
(Js = Object.setPrototypeOf
? Object.setPrototypeOf.bind()
: function (i, n) {
return ((i.__proto__ = n), i);
}),
Js(r, e)
);
}
var Dx = (function (r) {
Px(e, r);
function e(t) {
var i;
return ((i = r.call(this, t) || this), (i.type = Ex.SELECTOR), i);
}
return e;
})(Ox.default);
Ir.default = Dx;
Hc.exports = Ir.default;
});
var sn = v((bT, Yc) => {
l();
("use strict");
var Ix = {},
qx = Ix.hasOwnProperty,
Rx = function (e, t) {
if (!e) return t;
var i = {};
for (var n in t) i[n] = qx.call(e, n) ? e[n] : t[n];
return i;
},
Mx = /[ -,\.\/:-@\[-\^`\{-~]/,
Bx = /[ -,\.\/:-@\[\]\^`\{-~]/,
Fx = /(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,
Ks = function r(e, t) {
((t = Rx(t, r.options)), t.quotes != "single" && t.quotes != "double" && (t.quotes = "single"));
for (
var i = t.quotes == "double" ? '"' : "'",
n = t.isIdentifier,
a = e.charAt(0),
s = "",
o = 0,
u = e.length;
o < u;
) {
var c = e.charAt(o++),
f = c.charCodeAt(),
d = void 0;
if (f < 32 || f > 126) {
if (f >= 55296 && f <= 56319 && o < u) {
var p = e.charCodeAt(o++);
(p & 64512) == 56320 ? (f = ((f & 1023) << 10) + (p & 1023) + 65536) : o--;
}
d = "\\" + f.toString(16).toUpperCase() + " ";
} else
t.escapeEverything
? Mx.test(c)
? (d = "\\" + c)
: (d = "\\" + f.toString(16).toUpperCase() + " ")
: /[\t\n\f\r\x0B]/.test(c)
? (d = "\\" + f.toString(16).toUpperCase() + " ")
: c == "\\" || (!n && ((c == '"' && i == c) || (c == "'" && i == c))) || (n && Bx.test(c))
? (d = "\\" + c)
: (d = c);
s += d;
}
return (
n &&
(/^-[-\d]/.test(s)
? (s = "\\-" + s.slice(1))
: /\d/.test(a) && (s = "\\3" + a + " " + s.slice(1))),
(s = s.replace(Fx, function (m, b, x) {
return b && b.length % 2 ? m : (b || "") + x;
})),
!n && t.wrap ? i + s + i : s
);
};
Ks.options = { escapeEverything: !1, isIdentifier: !1, quotes: "single", wrap: !1 };
Ks.version = "3.0.0";
Yc.exports = Ks;
});
var ea = v((qr, Xc) => {
l();
("use strict");
qr.__esModule = !0;
qr.default = void 0;
var Lx = Qc(sn()),
Nx = Er(),
$x = Qc(Ue()),
zx = ne();
function Qc(r) {
return r && r.__esModule ? r : { default: r };
}
function Jc(r, e) {
for (var t = 0; t < e.length; t++) {
var i = e[t];
((i.enumerable = i.enumerable || !1),
(i.configurable = !0),
"value" in i && (i.writable = !0),
Object.defineProperty(r, i.key, i));
}
}
function jx(r, e, t) {
return (e && Jc(r.prototype, e), t && Jc(r, t), Object.defineProperty(r, "prototype", { writable: !1 }), r);
}
function Vx(r, e) {
((r.prototype = Object.create(e.prototype)), (r.prototype.constructor = r), Zs(r, e));
}
function Zs(r, e) {
return (
(Zs = Object.setPrototypeOf
? Object.setPrototypeOf.bind()
: function (i, n) {
return ((i.__proto__ = n), i);
}),
Zs(r, e)
);
}
var Ux = (function (r) {
Vx(e, r);
function e(i) {
var n;
return ((n = r.call(this, i) || this), (n.type = zx.CLASS), (n._constructed = !0), n);
}
var t = e.prototype;
return (
(t.valueToString = function () {
return "." + r.prototype.valueToString.call(this);
}),
jx(e, [
{
key: "value",
get: function () {
return this._value;
},
set: function (n) {
if (this._constructed) {
var a = (0, Lx.default)(n, { isIdentifier: !0 });
a !== n
? ((0, Nx.ensureObject)(this, "raws"), (this.raws.value = a))
: this.raws && delete this.raws.value;
}
this._value = n;
},
},
]),
e
);
})($x.default);
qr.default = Ux;
Xc.exports = qr.default;
});
var ra = v((Rr, Kc) => {
l();
("use strict");
Rr.__esModule = !0;
Rr.default = void 0;
var Wx = Hx(Ue()),
Gx = ne();
function Hx(r) {
return r && r.__esModule ? r : { default: r };
}
function Yx(r, e) {
((r.prototype = Object.create(e.prototype)), (r.prototype.constructor = r), ta(r, e));
}
function ta(r, e) {
return (
(ta = Object.setPrototypeOf
? Object.setPrototypeOf.bind()
: function (i, n) {
return ((i.__proto__ = n), i);
}),
ta(r, e)
);
}
var Qx = (function (r) {
Yx(e, r);
function e(t) {
var i;
return ((i = r.call(this, t) || this), (i.type = Gx.COMMENT), i);
}
return e;
})(Wx.default);
Rr.default = Qx;
Kc.exports = Rr.default;
});
var na = v((Mr, Zc) => {
l();
("use strict");
Mr.__esModule = !0;
Mr.default = void 0;
var Jx = Kx(Ue()),
Xx = ne();
function Kx(r) {
return r && r.__esModule ? r : { default: r };
}
function Zx(r, e) {
((r.prototype = Object.create(e.prototype)), (r.prototype.constructor = r), ia(r, e));
}
function ia(r, e) {
return (
(ia = Object.setPrototypeOf
? Object.setPrototypeOf.bind()
: function (i, n) {
return ((i.__proto__ = n), i);
}),
ia(r, e)
);
}
var e1 = (function (r) {
Zx(e, r);
function e(i) {
var n;
return ((n = r.call(this, i) || this), (n.type = Xx.ID), n);
}
var t = e.prototype;
return (
(t.valueToString = function () {
return "#" + r.prototype.valueToString.call(this);
}),
e
);
})(Jx.default);
Mr.default = e1;
Zc.exports = Mr.default;
});
var an = v((Br, rp) => {
l();
("use strict");
Br.__esModule = !0;
Br.default = void 0;
var t1 = ep(sn()),
r1 = Er(),
i1 = ep(Ue());
function ep(r) {
return r && r.__esModule ? r : { default: r };
}
function tp(r, e) {
for (var t = 0; t < e.length; t++) {
var i = e[t];
((i.enumerable = i.enumerable || !1),
(i.configurable = !0),
"value" in i && (i.writable = !0),
Object.defineProperty(r, i.key, i));
}
}
function n1(r, e, t) {
return (e && tp(r.prototype, e), t && tp(r, t), Object.defineProperty(r, "prototype", { writable: !1 }), r);
}
function s1(r, e) {
((r.prototype = Object.create(e.prototype)), (r.prototype.constructor = r), sa(r, e));
}
function sa(r, e) {
return (
(sa = Object.setPrototypeOf
? Object.setPrototypeOf.bind()
: function (i, n) {
return ((i.__proto__ = n), i);
}),
sa(r, e)
);
}
var a1 = (function (r) {
s1(e, r);
function e() {
return r.apply(this, arguments) || this;
}
var t = e.prototype;
return (
(t.qualifiedName = function (n) {
return this.namespace ? this.namespaceString + "|" + n : n;
}),
(t.valueToString = function () {
return this.qualifiedName(r.prototype.valueToString.call(this));
}),
n1(e, [
{
key: "namespace",
get: function () {
return this._namespace;
},
set: function (n) {
if (n === !0 || n === "*" || n === "&") {
((this._namespace = n), this.raws && delete this.raws.namespace);
return;
}
var a = (0, t1.default)(n, { isIdentifier: !0 });
((this._namespace = n),
a !== n
? ((0, r1.ensureObject)(this, "raws"), (this.raws.namespace = a))
: this.raws && delete this.raws.namespace);
},
},
{
key: "ns",
get: function () {
return this._namespace;
},
set: function (n) {
this.namespace = n;
},
},
{
key: "namespaceString",
get: function () {
if (this.namespace) {
var n = this.stringifyProperty("namespace");
return n === !0 ? "" : n;
} else return "";
},
},
]),
e
);
})(i1.default);
Br.default = a1;
rp.exports = Br.default;
});
var oa = v((Fr, ip) => {
l();
("use strict");
Fr.__esModule = !0;
Fr.default = void 0;
var o1 = u1(an()),
l1 = ne();
function u1(r) {
return r && r.__esModule ? r : { default: r };
}
function f1(r, e) {
((r.prototype = Object.create(e.prototype)), (r.prototype.constructor = r), aa(r, e));
}
function aa(r, e) {
return (
(aa = Object.setPrototypeOf
? Object.setPrototypeOf.bind()
: function (i, n) {
return ((i.__proto__ = n), i);
}),
aa(r, e)
);
}
var c1 = (function (r) {
f1(e, r);
function e(t) {
var i;
return ((i = r.call(this, t) || this), (i.type = l1.TAG), i);
}
return e;
})(o1.default);
Fr.default = c1;
ip.exports = Fr.default;
});
var ua = v((Lr, np) => {
l();
("use strict");
Lr.__esModule = !0;
Lr.default = void 0;
var p1 = h1(Ue()),
d1 = ne();
function h1(r) {
return r && r.__esModule ? r : { default: r };
}
function m1(r, e) {
((r.prototype = Object.create(e.prototype)), (r.prototype.constructor = r), la(r, e));
}
function la(r, e) {
return (
(la = Object.setPrototypeOf
? Object.setPrototypeOf.bind()
: function (i, n) {
return ((i.__proto__ = n), i);
}),
la(r, e)
);
}
var g1 = (function (r) {
m1(e, r);
function e(t) {
var i;
return ((i = r.call(this, t) || this), (i.type = d1.STRING), i);
}
return e;
})(p1.default);
Lr.default = g1;
np.exports = Lr.default;
});
var ca = v((Nr, sp) => {
l();
("use strict");
Nr.__esModule = !0;
Nr.default = void 0;
var y1 = b1(nn()),
w1 = ne();
function b1(r) {
return r && r.__esModule ? r : { default: r };
}
function v1(r, e) {
((r.prototype = Object.create(e.prototype)), (r.prototype.constructor = r), fa(r, e));
}
function fa(r, e) {
return (
(fa = Object.setPrototypeOf
? Object.setPrototypeOf.bind()
: function (i, n) {
return ((i.__proto__ = n), i);
}),
fa(r, e)
);
}
var x1 = (function (r) {
v1(e, r);
function e(i) {
var n;
return ((n = r.call(this, i) || this), (n.type = w1.PSEUDO), n);
}
var t = e.prototype;
return (
(t.toString = function () {
var n = this.length ? "(" + this.map(String).join(",") + ")" : "";
return [this.rawSpaceBefore, this.stringifyProperty("value"), n, this.rawSpaceAfter].join("");
}),
e
);
})(y1.default);
Nr.default = x1;
sp.exports = Nr.default;
});
var ap = {};
Ae(ap, { deprecate: () => k1 });
function k1(r) {
return r;
}
var op = C(() => {
l();
});
var up = v((vT, lp) => {
l();
lp.exports = (op(), ap).deprecate;
});
var ya = v((jr) => {
l();
("use strict");
jr.__esModule = !0;
jr.default = void 0;
jr.unescapeValue = ma;
var $r = da(sn()),
S1 = da(Ki()),
C1 = da(an()),
A1 = ne(),
pa;
function da(r) {
return r && r.__esModule ? r : { default: r };
}
function fp(r, e) {
for (var t = 0; t < e.length; t++) {
var i = e[t];
((i.enumerable = i.enumerable || !1),
(i.configurable = !0),
"value" in i && (i.writable = !0),
Object.defineProperty(r, i.key, i));
}
}
function _1(r, e, t) {
return (e && fp(r.prototype, e), t && fp(r, t), Object.defineProperty(r, "prototype", { writable: !1 }), r);
}
function O1(r, e) {
((r.prototype = Object.create(e.prototype)), (r.prototype.constructor = r), ha(r, e));
}
function ha(r, e) {
return (
(ha = Object.setPrototypeOf
? Object.setPrototypeOf.bind()
: function (i, n) {
return ((i.__proto__ = n), i);
}),
ha(r, e)
);
}
var zr = up(),
E1 = /^('|")([^]*)\1$/,
T1 = zr(
function () {},
"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."
),
P1 = zr(
function () {},
"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."
),
D1 = zr(
function () {},
"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now."
);
function ma(r) {
var e = !1,
t = null,
i = r,
n = i.match(E1);
return (
n && ((t = n[1]), (i = n[2])),
(i = (0, S1.default)(i)),
i !== r && (e = !0),
{ deprecatedUsage: e, unescaped: i, quoteMark: t }
);
}
function I1(r) {
if (r.quoteMark !== void 0 || r.value === void 0) return r;
D1();
var e = ma(r.value),
t = e.quoteMark,
i = e.unescaped;
return (
r.raws || (r.raws = {}),
r.raws.value === void 0 && (r.raws.value = r.value),
(r.value = i),
(r.quoteMark = t),
r
);
}
var on = (function (r) {
O1(e, r);
function e(i) {
var n;
return (
i === void 0 && (i = {}),
(n = r.call(this, I1(i)) || this),
(n.type = A1.ATTRIBUTE),
(n.raws = n.raws || {}),
Object.defineProperty(n.raws, "unquoted", {
get: zr(function () {
return n.value;
}, "attr.raws.unquoted is deprecated. Call attr.value instead."),
set: zr(function () {
return n.value;
}, "Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now."),
}),
(n._constructed = !0),
n
);
}
var t = e.prototype;
return (
(t.getQuotedValue = function (n) {
n === void 0 && (n = {});
var a = this._determineQuoteMark(n),
s = ga[a],
o = (0, $r.default)(this._value, s);
return o;
}),
(t._determineQuoteMark = function (n) {
return n.smart ? this.smartQuoteMark(n) : this.preferredQuoteMark(n);
}),
(t.setValue = function (n, a) {
(a === void 0 && (a = {}),
(this._value = n),
(this._quoteMark = this._determineQuoteMark(a)),
this._syncRawValue());
}),
(t.smartQuoteMark = function (n) {
var a = this.value,
s = a.replace(/[^']/g, "").length,
o = a.replace(/[^"]/g, "").length;
if (s + o === 0) {
var u = (0, $r.default)(a, { isIdentifier: !0 });
if (u === a) return e.NO_QUOTE;
var c = this.preferredQuoteMark(n);
if (c === e.NO_QUOTE) {
var f = this.quoteMark || n.quoteMark || e.DOUBLE_QUOTE,
d = ga[f],
p = (0, $r.default)(a, d);
if (p.length < u.length) return f;
}
return c;
} else return o === s ? this.preferredQuoteMark(n) : o < s ? e.DOUBLE_QUOTE : e.SINGLE_QUOTE;
}),
(t.preferredQuoteMark = function (n) {
var a = n.preferCurrentQuoteMark ? this.quoteMark : n.quoteMark;
return (
a === void 0 && (a = n.preferCurrentQuoteMark ? n.quoteMark : this.quoteMark),
a === void 0 && (a = e.DOUBLE_QUOTE),
a
);
}),
(t._syncRawValue = function () {
var n = (0, $r.default)(this._value, ga[this.quoteMark]);
n === this._value ? this.raws && delete this.raws.value : (this.raws.value = n);
}),
(t._handleEscapes = function (n, a) {
if (this._constructed) {
var s = (0, $r.default)(a, { isIdentifier: !0 });
s !== a ? (this.raws[n] = s) : delete this.raws[n];
}
}),
(t._spacesFor = function (n) {
var a = { before: "", after: "" },
s = this.spaces[n] || {},
o = (this.raws.spaces && this.raws.spaces[n]) || {};
return Object.assign(a, s, o);
}),
(t._stringFor = function (n, a, s) {
(a === void 0 && (a = n), s === void 0 && (s = cp));
var o = this._spacesFor(a);
return s(this.stringifyProperty(n), o);
}),
(t.offsetOf = function (n) {
var a = 1,
s = this._spacesFor("attribute");
if (((a += s.before.length), n === "namespace" || n === "ns")) return this.namespace ? a : -1;
if (
n === "attributeNS" ||
((a += this.namespaceString.length), this.namespace && (a += 1), n === "attribute")
)
return a;
((a += this.stringifyProperty("attribute").length), (a += s.after.length));
var o = this._spacesFor("operator");
a += o.before.length;
var u = this.stringifyProperty("operator");
if (n === "operator") return u ? a : -1;
((a += u.length), (a += o.after.length));
var c = this._spacesFor("value");
a += c.before.length;
var f = this.stringifyProperty("value");
if (n === "value") return f ? a : -1;
((a += f.length), (a += c.after.length));
var d = this._spacesFor("insensitive");
return ((a += d.before.length), n === "insensitive" && this.insensitive ? a : -1);
}),
(t.toString = function () {
var n = this,
a = [this.rawSpaceBefore, "["];
return (
a.push(this._stringFor("qualifiedAttribute", "attribute")),
this.operator &&
(this.value || this.value === "") &&
(a.push(this._stringFor("operator")),
a.push(this._stringFor("value")),
a.push(
this._stringFor("insensitiveFlag", "insensitive", function (s, o) {
return (
s.length > 0 &&
!n.quoted &&
o.before.length === 0 &&
!(n.spaces.value && n.spaces.value.after) &&
(o.before = " "),
cp(s, o)
);
})
)),
a.push("]"),
a.push(this.rawSpaceAfter),
a.join("")
);
}),
_1(e, [
{
key: "quoted",
get: function () {
var n = this.quoteMark;
return n === "'" || n === '"';
},
set: function (n) {
P1();
},
},
{
key: "quoteMark",
get: function () {
return this._quoteMark;
},
set: function (n) {
if (!this._constructed) {
this._quoteMark = n;
return;
}
this._quoteMark !== n && ((this._quoteMark = n), this._syncRawValue());
},
},
{
key: "qualifiedAttribute",
get: function () {
return this.qualifiedName(this.raws.attribute || this.attribute);
},
},
{
key: "insensitiveFlag",
get: function () {
return this.insensitive ? "i" : "";
},
},
{
key: "value",
get: function () {
return this._value;
},
set: function (n) {
if (this._constructed) {
var a = ma(n),
s = a.deprecatedUsage,
o = a.unescaped,
u = a.quoteMark;
if ((s && T1(), o === this._value && u === this._quoteMark)) return;
((this._value = o), (this._quoteMark = u), this._syncRawValue());
} else this._value = n;
},
},
{
key: "insensitive",
get: function () {
return this._insensitive;
},
set: function (n) {
(n ||
((this._insensitive = !1),
this.raws &&
(this.raws.insensitiveFlag === "I" || this.raws.insensitiveFlag === "i") &&
(this.raws.insensitiveFlag = void 0)),
(this._insensitive = n));
},
},
{
key: "attribute",
get: function () {
return this._attribute;
},
set: function (n) {
(this._handleEscapes("attribute", n), (this._attribute = n));
},
},
]),
e
);
})(C1.default);
jr.default = on;
on.NO_QUOTE = null;
on.SINGLE_QUOTE = "'";
on.DOUBLE_QUOTE = '"';
var ga =
((pa = { "'": { quotes: "single", wrap: !0 }, '"': { quotes: "double", wrap: !0 } }),
(pa[null] = { isIdentifier: !0 }),
pa);
function cp(r, e) {
return "" + e.before + r + e.after;
}
});
var ba = v((Vr, pp) => {
l();
("use strict");
Vr.__esModule = !0;
Vr.default = void 0;
var q1 = M1(an()),
R1 = ne();
function M1(r) {
return r && r.__esModule ? r : { default: r };
}
function B1(r, e) {
((r.prototype = Object.create(e.prototype)), (r.prototype.constructor = r), wa(r, e));
}
function wa(r, e) {
return (
(wa = Object.setPrototypeOf
? Object.setPrototypeOf.bind()
: function (i, n) {
return ((i.__proto__ = n), i);
}),
wa(r, e)
);
}
var F1 = (function (r) {
B1(e, r);
function e(t) {
var i;
return ((i = r.call(this, t) || this), (i.type = R1.UNIVERSAL), (i.value = "*"), i);
}
return e;
})(q1.default);
Vr.default = F1;
pp.exports = Vr.default;
});
var xa = v((Ur, dp) => {
l();
("use strict");
Ur.__esModule = !0;
Ur.default = void 0;
var L1 = $1(Ue()),
N1 = ne();
function $1(r) {
return r && r.__esModule ? r : { default: r };
}
function z1(r, e) {
((r.prototype = Object.create(e.prototype)), (r.prototype.constructor = r), va(r, e));
}
function va(r, e) {
return (
(va = Object.setPrototypeOf
? Object.setPrototypeOf.bind()
: function (i, n) {
return ((i.__proto__ = n), i);
}),
va(r, e)
);
}
var j1 = (function (r) {
z1(e, r);
function e(t) {
var i;
return ((i = r.call(this, t) || this), (i.type = N1.COMBINATOR), i);
}
return e;
})(L1.default);
Ur.default = j1;
dp.exports = Ur.default;
});
var Sa = v((Wr, hp) => {
l();
("use strict");
Wr.__esModule = !0;
Wr.default = void 0;
var V1 = W1(Ue()),
U1 = ne();
function W1(r) {
return r && r.__esModule ? r : { default: r };
}
function G1(r, e) {
((r.prototype = Object.create(e.prototype)), (r.prototype.constructor = r), ka(r, e));
}
function ka(r, e) {
return (
(ka = Object.setPrototypeOf
? Object.setPrototypeOf.bind()
: function (i, n) {
return ((i.__proto__ = n), i);
}),
ka(r, e)
);
}
var H1 = (function (r) {
G1(e, r);
function e(t) {
var i;
return ((i = r.call(this, t) || this), (i.type = U1.NESTING), (i.value = "&"), i);
}
return e;
})(V1.default);
Wr.default = H1;
hp.exports = Wr.default;
});
var gp = v((ln, mp) => {
l();
("use strict");
ln.__esModule = !0;
ln.default = Y1;
function Y1(r) {
return r.sort(function (e, t) {
return e - t;
});
}
mp.exports = ln.default;
});
var Ca = v((D) => {
l();
("use strict");
D.__esModule = !0;
D.word =
D.tilde =
D.tab =
D.str =
D.space =
D.slash =
D.singleQuote =
D.semicolon =
D.plus =
D.pipe =
D.openSquare =
D.openParenthesis =
D.newline =
D.greaterThan =
D.feed =
D.equals =
D.doubleQuote =
D.dollar =
D.cr =
D.comment =
D.comma =
D.combinator =
D.colon =
D.closeSquare =
D.closeParenthesis =
D.caret =
D.bang =
D.backslash =
D.at =
D.asterisk =
D.ampersand =
void 0;
var Q1 = 38;
D.ampersand = Q1;
var J1 = 42;
D.asterisk = J1;
var X1 = 64;
D.at = X1;
var K1 = 44;
D.comma = K1;
var Z1 = 58;
D.colon = Z1;
var ek = 59;
D.semicolon = ek;
var tk = 40;
D.openParenthesis = tk;
var rk = 41;
D.closeParenthesis = rk;
var ik = 91;
D.openSquare = ik;
var nk = 93;
D.closeSquare = nk;
var sk = 36;
D.dollar = sk;
var ak = 126;
D.tilde = ak;
var ok = 94;
D.caret = ok;
var lk = 43;
D.plus = lk;
var uk = 61;
D.equals = uk;
var fk = 124;
D.pipe = fk;
var ck = 62;
D.greaterThan = ck;
var pk = 32;
D.space = pk;
var yp = 39;
D.singleQuote = yp;
var dk = 34;
D.doubleQuote = dk;
var hk = 47;
D.slash = hk;
var mk = 33;
D.bang = mk;
var gk = 92;
D.backslash = gk;
var yk = 13;
D.cr = yk;
var wk = 12;
D.feed = wk;
var bk = 10;
D.newline = bk;
var vk = 9;
D.tab = vk;
var xk = yp;
D.str = xk;
var kk = -1;
D.comment = kk;
var Sk = -2;
D.word = Sk;
var Ck = -3;
D.combinator = Ck;
});
var vp = v((Gr) => {
l();
("use strict");
Gr.__esModule = !0;
Gr.FIELDS = void 0;
Gr.default = Dk;
var O = Ak(Ca()),
Rt,
V;
function wp(r) {
if (typeof WeakMap != "function") return null;
var e = new WeakMap(),
t = new WeakMap();
return (wp = function (n) {
return n ? t : e;
})(r);
}
function Ak(r, e) {
if (!e && r && r.__esModule) return r;
if (r === null || (typeof r != "object" && typeof r != "function")) return { default: r };
var t = wp(e);
if (t && t.has(r)) return t.get(r);
var i = {},
n = Object.defineProperty && Object.getOwnPropertyDescriptor;
for (var a in r)
if (a !== "default" && Object.prototype.hasOwnProperty.call(r, a)) {
var s = n ? Object.getOwnPropertyDescriptor(r, a) : null;
s && (s.get || s.set) ? Object.defineProperty(i, a, s) : (i[a] = r[a]);
}
return ((i.default = r), t && t.set(r, i), i);
}
var _k = ((Rt = {}), (Rt[O.tab] = !0), (Rt[O.newline] = !0), (Rt[O.cr] = !0), (Rt[O.feed] = !0), Rt),
Ok =
((V = {}),
(V[O.space] = !0),
(V[O.tab] = !0),
(V[O.newline] = !0),
(V[O.cr] = !0),
(V[O.feed] = !0),
(V[O.ampersand] = !0),
(V[O.asterisk] = !0),
(V[O.bang] = !0),
(V[O.comma] = !0),
(V[O.colon] = !0),
(V[O.semicolon] = !0),
(V[O.openParenthesis] = !0),
(V[O.closeParenthesis] = !0),
(V[O.openSquare] = !0),
(V[O.closeSquare] = !0),
(V[O.singleQuote] = !0),
(V[O.doubleQuote] = !0),
(V[O.plus] = !0),
(V[O.pipe] = !0),
(V[O.tilde] = !0),
(V[O.greaterThan] = !0),
(V[O.equals] = !0),
(V[O.dollar] = !0),
(V[O.caret] = !0),
(V[O.slash] = !0),
V),
Aa = {},
bp = "0123456789abcdefABCDEF";
for (un = 0; un < bp.length; un++) Aa[bp.charCodeAt(un)] = !0;
var un;
function Ek(r, e) {
var t = e,
i;
do {
if (((i = r.charCodeAt(t)), Ok[i])) return t - 1;
i === O.backslash ? (t = Tk(r, t) + 1) : t++;
} while (t < r.length);
return t - 1;
}
function Tk(r, e) {
var t = e,
i = r.charCodeAt(t + 1);
if (!_k[i])
if (Aa[i]) {
var n = 0;
do (t++, n++, (i = r.charCodeAt(t + 1)));
while (Aa[i] && n < 6);
n < 6 && i === O.space && t++;
} else t++;
return t;
}
var Pk = { TYPE: 0, START_LINE: 1, START_COL: 2, END_LINE: 3, END_COL: 4, START_POS: 5, END_POS: 6 };
Gr.FIELDS = Pk;
function Dk(r) {
var e = [],
t = r.css.valueOf(),
i = t,
n = i.length,
a = -1,
s = 1,
o = 0,
u = 0,
c,
f,
d,
p,
m,
b,
x,
y,
w,
k,
S,
_,
E;
function I(q, R) {
if (r.safe) ((t += R), (w = t.length - 1));
else throw r.error("Unclosed " + q, s, o - a, o);
}
for (; o < n; ) {
switch (((c = t.charCodeAt(o)), c === O.newline && ((a = o), (s += 1)), c)) {
case O.space:
case O.tab:
case O.newline:
case O.cr:
case O.feed:
w = o;
do ((w += 1), (c = t.charCodeAt(w)), c === O.newline && ((a = w), (s += 1)));
while (c === O.space || c === O.newline || c === O.tab || c === O.cr || c === O.feed);
((E = O.space), (p = s), (d = w - a - 1), (u = w));
break;
case O.plus:
case O.greaterThan:
case O.tilde:
case O.pipe:
w = o;
do ((w += 1), (c = t.charCodeAt(w)));
while (c === O.plus || c === O.greaterThan || c === O.tilde || c === O.pipe);
((E = O.combinator), (p = s), (d = o - a), (u = w));
break;
case O.asterisk:
case O.ampersand:
case O.bang:
case O.comma:
case O.equals:
case O.dollar:
case O.caret:
case O.openSquare:
case O.closeSquare:
case O.colon:
case O.semicolon:
case O.openParenthesis:
case O.closeParenthesis:
((w = o), (E = c), (p = s), (d = o - a), (u = w + 1));
break;
case O.singleQuote:
case O.doubleQuote:
((_ = c === O.singleQuote ? "'" : '"'), (w = o));
do
for (
m = !1, w = t.indexOf(_, w + 1), w === -1 && I("quote", _), b = w;
t.charCodeAt(b - 1) === O.backslash;
)
((b -= 1), (m = !m));
while (m);
((E = O.str), (p = s), (d = o - a), (u = w + 1));
break;
default:
(c === O.slash && t.charCodeAt(o + 1) === O.asterisk
? ((w = t.indexOf("*/", o + 2) + 1),
w === 0 && I("comment", "*/"),
(f = t.slice(o, w + 1)),
(y = f.split(`
`)),
(x = y.length - 1),
x > 0 ? ((k = s + x), (S = w - y[x].length)) : ((k = s), (S = a)),
(E = O.comment),
(s = k),
(p = k),
(d = w - S))
: c === O.slash
? ((w = o), (E = c), (p = s), (d = o - a), (u = w + 1))
: ((w = Ek(t, o)), (E = O.word), (p = s), (d = w - a)),
(u = w + 1));
break;
}
(e.push([E, s, o - a, p, d, o, u]), S && ((a = S), (S = null)), (o = u));
}
return e;
}
});
var Ep = v((Hr, Op) => {
l();
("use strict");
Hr.__esModule = !0;
Hr.default = void 0;
var Ik = be(Qs()),
_a = be(Xs()),
qk = be(ea()),
xp = be(ra()),
Rk = be(na()),
Mk = be(oa()),
Oa = be(ua()),
Bk = be(ca()),
kp = fn(ya()),
Fk = be(ba()),
Ea = be(xa()),
Lk = be(Sa()),
Nk = be(gp()),
A = fn(vp()),
T = fn(Ca()),
$k = fn(ne()),
Y = Er(),
xt,
Ta;
function Sp(r) {
if (typeof WeakMap != "function") return null;
var e = new WeakMap(),
t = new WeakMap();
return (Sp = function (n) {
return n ? t : e;
})(r);
}
function fn(r, e) {
if (!e && r && r.__esModule) return r;
if (r === null || (typeof r != "object" && typeof r != "function")) return { default: r };
var t = Sp(e);
if (t && t.has(r)) return t.get(r);
var i = {},
n = Object.defineProperty && Object.getOwnPropertyDescriptor;
for (var a in r)
if (a !== "default" && Object.prototype.hasOwnProperty.call(r, a)) {
var s = n ? Object.getOwnPropertyDescriptor(r, a) : null;
s && (s.get || s.set) ? Object.defineProperty(i, a, s) : (i[a] = r[a]);
}
return ((i.default = r), t && t.set(r, i), i);
}
function be(r) {
return r && r.__esModule ? r : { default: r };
}
function Cp(r, e) {
for (var t = 0; t < e.length; t++) {
var i = e[t];
((i.enumerable = i.enumerable || !1),
(i.configurable = !0),
"value" in i && (i.writable = !0),
Object.defineProperty(r, i.key, i));
}
}
function zk(r, e, t) {
return (e && Cp(r.prototype, e), t && Cp(r, t), Object.defineProperty(r, "prototype", { writable: !1 }), r);
}
var Pa =
((xt = {}),
(xt[T.space] = !0),
(xt[T.cr] = !0),
(xt[T.feed] = !0),
(xt[T.newline] = !0),
(xt[T.tab] = !0),
xt),
jk = Object.assign({}, Pa, ((Ta = {}), (Ta[T.comment] = !0), Ta));
function Ap(r) {
return { line: r[A.FIELDS.START_LINE], column: r[A.FIELDS.START_COL] };
}
function _p(r) {
return { line: r[A.FIELDS.END_LINE], column: r[A.FIELDS.END_COL] };
}
function kt(r, e, t, i) {
return { start: { line: r, column: e }, end: { line: t, column: i } };
}
function Mt(r) {
return kt(r[A.FIELDS.START_LINE], r[A.FIELDS.START_COL], r[A.FIELDS.END_LINE], r[A.FIELDS.END_COL]);
}
function Da(r, e) {
if (!!r)
return kt(r[A.FIELDS.START_LINE], r[A.FIELDS.START_COL], e[A.FIELDS.END_LINE], e[A.FIELDS.END_COL]);
}
function Bt(r, e) {
var t = r[e];
if (typeof t == "string")
return (
t.indexOf("\\") !== -1 &&
((0, Y.ensureObject)(r, "raws"),
(r[e] = (0, Y.unesc)(t)),
r.raws[e] === void 0 && (r.raws[e] = t)),
r
);
}
function Ia(r, e) {
for (var t = -1, i = []; (t = r.indexOf(e, t + 1)) !== -1; ) i.push(t);
return i;
}
function Vk() {
var r = Array.prototype.concat.apply([], arguments);
return r.filter(function (e, t) {
return t === r.indexOf(e);
});
}
var Uk = (function () {
function r(t, i) {
(i === void 0 && (i = {}),
(this.rule = t),
(this.options = Object.assign({ lossy: !1, safe: !1 }, i)),
(this.position = 0),
(this.css = typeof this.rule == "string" ? this.rule : this.rule.selector),
(this.tokens = (0, A.default)({
css: this.css,
error: this._errorGenerator(),
safe: this.options.safe,
})));
var n = Da(this.tokens[0], this.tokens[this.tokens.length - 1]);
((this.root = new Ik.default({ source: n })), (this.root.errorGenerator = this._errorGenerator()));
var a = new _a.default({ source: { start: { line: 1, column: 1 } } });
(this.root.append(a), (this.current = a), this.loop());
}
var e = r.prototype;
return (
(e._errorGenerator = function () {
var i = this;
return function (n, a) {
return typeof i.rule == "string" ? new Error(n) : i.rule.error(n, a);
};
}),
(e.attribute = function () {
var i = [],
n = this.currToken;
for (
this.position++;
this.position < this.tokens.length && this.currToken[A.FIELDS.TYPE] !== T.closeSquare;
)
(i.push(this.currToken), this.position++);
if (this.currToken[A.FIELDS.TYPE] !== T.closeSquare)
return this.expected("closing square bracket", this.currToken[A.FIELDS.START_POS]);
var a = i.length,
s = {
source: kt(n[1], n[2], this.currToken[3], this.currToken[4]),
sourceIndex: n[A.FIELDS.START_POS],
};
if (a === 1 && !~[T.word].indexOf(i[0][A.FIELDS.TYPE]))
return this.expected("attribute", i[0][A.FIELDS.START_POS]);
for (var o = 0, u = "", c = "", f = null, d = !1; o < a; ) {
var p = i[o],
m = this.content(p),
b = i[o + 1];
switch (p[A.FIELDS.TYPE]) {
case T.space:
if (((d = !0), this.options.lossy)) break;
if (f) {
(0, Y.ensureObject)(s, "spaces", f);
var x = s.spaces[f].after || "";
s.spaces[f].after = x + m;
var y = (0, Y.getProp)(s, "raws", "spaces", f, "after") || null;
y && (s.raws.spaces[f].after = y + m);
} else ((u = u + m), (c = c + m));
break;
case T.asterisk:
if (b[A.FIELDS.TYPE] === T.equals) ((s.operator = m), (f = "operator"));
else if ((!s.namespace || (f === "namespace" && !d)) && b) {
(u &&
((0, Y.ensureObject)(s, "spaces", "attribute"),
(s.spaces.attribute.before = u),
(u = "")),
c &&
((0, Y.ensureObject)(s, "raws", "spaces", "attribute"),
(s.raws.spaces.attribute.before = u),
(c = "")),
(s.namespace = (s.namespace || "") + m));
var w = (0, Y.getProp)(s, "raws", "namespace") || null;
(w && (s.raws.namespace += m), (f = "namespace"));
}
d = !1;
break;
case T.dollar:
if (f === "value") {
var k = (0, Y.getProp)(s, "raws", "value");
((s.value += "$"), k && (s.raws.value = k + "$"));
break;
}
case T.caret:
(b[A.FIELDS.TYPE] === T.equals && ((s.operator = m), (f = "operator")), (d = !1));
break;
case T.combinator:
if (
(m === "~" && b[A.FIELDS.TYPE] === T.equals && ((s.operator = m), (f = "operator")),
m !== "|")
) {
d = !1;
break;
}
(b[A.FIELDS.TYPE] === T.equals
? ((s.operator = m), (f = "operator"))
: !s.namespace && !s.attribute && (s.namespace = !0),
(d = !1));
break;
case T.word:
if (
b &&
this.content(b) === "|" &&
i[o + 2] &&
i[o + 2][A.FIELDS.TYPE] !== T.equals &&
!s.operator &&
!s.namespace
)
((s.namespace = m), (f = "namespace"));
else if (!s.attribute || (f === "attribute" && !d)) {
(u &&
((0, Y.ensureObject)(s, "spaces", "attribute"),
(s.spaces.attribute.before = u),
(u = "")),
c &&
((0, Y.ensureObject)(s, "raws", "spaces", "attribute"),
(s.raws.spaces.attribute.before = c),
(c = "")),
(s.attribute = (s.attribute || "") + m));
var S = (0, Y.getProp)(s, "raws", "attribute") || null;
(S && (s.raws.attribute += m), (f = "attribute"));
} else if ((!s.value && s.value !== "") || (f === "value" && !(d || s.quoteMark))) {
var _ = (0, Y.unesc)(m),
E = (0, Y.getProp)(s, "raws", "value") || "",
I = s.value || "";
((s.value = I + _),
(s.quoteMark = null),
(_ !== m || E) &&
((0, Y.ensureObject)(s, "raws"), (s.raws.value = (E || I) + m)),
(f = "value"));
} else {
var q = m === "i" || m === "I";
(s.value || s.value === "") && (s.quoteMark || d)
? ((s.insensitive = q),
(!q || m === "I") &&
((0, Y.ensureObject)(s, "raws"), (s.raws.insensitiveFlag = m)),
(f = "insensitive"),
u &&
((0, Y.ensureObject)(s, "spaces", "insensitive"),
(s.spaces.insensitive.before = u),
(u = "")),
c &&
((0, Y.ensureObject)(s, "raws", "spaces", "insensitive"),
(s.raws.spaces.insensitive.before = c),
(c = "")))
: (s.value || s.value === "") &&
((f = "value"), (s.value += m), s.raws.value && (s.raws.value += m));
}
d = !1;
break;
case T.str:
if (!s.attribute || !s.operator)
return this.error(
"Expected an attribute followed by an operator preceding the string.",
{ index: p[A.FIELDS.START_POS] }
);
var R = (0, kp.unescapeValue)(m),
J = R.unescaped,
ue = R.quoteMark;
((s.value = J),
(s.quoteMark = ue),
(f = "value"),
(0, Y.ensureObject)(s, "raws"),
(s.raws.value = m),
(d = !1));
break;
case T.equals:
if (!s.attribute) return this.expected("attribute", p[A.FIELDS.START_POS], m);
if (s.value)
return this.error('Unexpected "=" found; an operator was already defined.', {
index: p[A.FIELDS.START_POS],
});
((s.operator = s.operator ? s.operator + m : m), (f = "operator"), (d = !1));
break;
case T.comment:
if (f)
if (d || (b && b[A.FIELDS.TYPE] === T.space) || f === "insensitive") {
var de = (0, Y.getProp)(s, "spaces", f, "after") || "",
De = (0, Y.getProp)(s, "raws", "spaces", f, "after") || de;
((0, Y.ensureObject)(s, "raws", "spaces", f),
(s.raws.spaces[f].after = De + m));
} else {
var ee = s[f] || "",
oe = (0, Y.getProp)(s, "raws", f) || ee;
((0, Y.ensureObject)(s, "raws"), (s.raws[f] = oe + m));
}
else c = c + m;
break;
default:
return this.error('Unexpected "' + m + '" found.', { index: p[A.FIELDS.START_POS] });
}
o++;
}
(Bt(s, "attribute"), Bt(s, "namespace"), this.newNode(new kp.default(s)), this.position++);
}),
(e.parseWhitespaceEquivalentTokens = function (i) {
i < 0 && (i = this.tokens.length);
var n = this.position,
a = [],
s = "",
o = void 0;
do
if (Pa[this.currToken[A.FIELDS.TYPE]]) this.options.lossy || (s += this.content());
else if (this.currToken[A.FIELDS.TYPE] === T.comment) {
var u = {};
(s && ((u.before = s), (s = "")),
(o = new xp.default({
value: this.content(),
source: Mt(this.currToken),
sourceIndex: this.currToken[A.FIELDS.START_POS],
spaces: u,
})),
a.push(o));
}
while (++this.position < i);
if (s) {
if (o) o.spaces.after = s;
else if (!this.options.lossy) {
var c = this.tokens[n],
f = this.tokens[this.position - 1];
a.push(
new Oa.default({
value: "",
source: kt(
c[A.FIELDS.START_LINE],
c[A.FIELDS.START_COL],
f[A.FIELDS.END_LINE],
f[A.FIELDS.END_COL]
),
sourceIndex: c[A.FIELDS.START_POS],
spaces: { before: s, after: "" },
})
);
}
}
return a;
}),
(e.convertWhitespaceNodesToSpace = function (i, n) {
var a = this;
n === void 0 && (n = !1);
var s = "",
o = "";
(i.forEach(function (c) {
var f = a.lossySpace(c.spaces.before, n),
d = a.lossySpace(c.rawSpaceBefore, n);
((s += f + a.lossySpace(c.spaces.after, n && f.length === 0)),
(o += f + c.value + a.lossySpace(c.rawSpaceAfter, n && d.length === 0)));
}),
o === s && (o = void 0));
var u = { space: s, rawSpace: o };
return u;
}),
(e.isNamedCombinator = function (i) {
return (
i === void 0 && (i = this.position),
this.tokens[i + 0] &&
this.tokens[i + 0][A.FIELDS.TYPE] === T.slash &&
this.tokens[i + 1] &&
this.tokens[i + 1][A.FIELDS.TYPE] === T.word &&
this.tokens[i + 2] &&
this.tokens[i + 2][A.FIELDS.TYPE] === T.slash
);
}),
(e.namedCombinator = function () {
if (this.isNamedCombinator()) {
var i = this.content(this.tokens[this.position + 1]),
n = (0, Y.unesc)(i).toLowerCase(),
a = {};
n !== i && (a.value = "/" + i + "/");
var s = new Ea.default({
value: "/" + n + "/",
source: kt(
this.currToken[A.FIELDS.START_LINE],
this.currToken[A.FIELDS.START_COL],
this.tokens[this.position + 2][A.FIELDS.END_LINE],
this.tokens[this.position + 2][A.FIELDS.END_COL]
),
sourceIndex: this.currToken[A.FIELDS.START_POS],
raws: a,
});
return ((this.position = this.position + 3), s);
} else this.unexpected();
}),
(e.combinator = function () {
var i = this;
if (this.content() === "|") return this.namespace();
var n = this.locateNextMeaningfulToken(this.position);
if (n < 0 || this.tokens[n][A.FIELDS.TYPE] === T.comma) {
var a = this.parseWhitespaceEquivalentTokens(n);
if (a.length > 0) {
var s = this.current.last;
if (s) {
var o = this.convertWhitespaceNodesToSpace(a),
u = o.space,
c = o.rawSpace;
(c !== void 0 && (s.rawSpaceAfter += c), (s.spaces.after += u));
} else
a.forEach(function (E) {
return i.newNode(E);
});
}
return;
}
var f = this.currToken,
d = void 0;
n > this.position && (d = this.parseWhitespaceEquivalentTokens(n));
var p;
if (
(this.isNamedCombinator()
? (p = this.namedCombinator())
: this.currToken[A.FIELDS.TYPE] === T.combinator
? ((p = new Ea.default({
value: this.content(),
source: Mt(this.currToken),
sourceIndex: this.currToken[A.FIELDS.START_POS],
})),
this.position++)
: Pa[this.currToken[A.FIELDS.TYPE]] || d || this.unexpected(),
p)
) {
if (d) {
var m = this.convertWhitespaceNodesToSpace(d),
b = m.space,
x = m.rawSpace;
((p.spaces.before = b), (p.rawSpaceBefore = x));
}
} else {
var y = this.convertWhitespaceNodesToSpace(d, !0),
w = y.space,
k = y.rawSpace;
k || (k = w);
var S = {},
_ = { spaces: {} };
(w.endsWith(" ") && k.endsWith(" ")
? ((S.before = w.slice(0, w.length - 1)), (_.spaces.before = k.slice(0, k.length - 1)))
: w.startsWith(" ") && k.startsWith(" ")
? ((S.after = w.slice(1)), (_.spaces.after = k.slice(1)))
: (_.value = k),
(p = new Ea.default({
value: " ",
source: Da(f, this.tokens[this.position - 1]),
sourceIndex: f[A.FIELDS.START_POS],
spaces: S,
raws: _,
})));
}
return (
this.currToken &&
this.currToken[A.FIELDS.TYPE] === T.space &&
((p.spaces.after = this.optionalSpace(this.content())), this.position++),
this.newNode(p)
);
}),
(e.comma = function () {
if (this.position === this.tokens.length - 1) {
((this.root.trailingComma = !0), this.position++);
return;
}
this.current._inferEndPosition();
var i = new _a.default({ source: { start: Ap(this.tokens[this.position + 1]) } });
(this.current.parent.append(i), (this.current = i), this.position++);
}),
(e.comment = function () {
var i = this.currToken;
(this.newNode(
new xp.default({ value: this.content(), source: Mt(i), sourceIndex: i[A.FIELDS.START_POS] })
),
this.position++);
}),
(e.error = function (i, n) {
throw this.root.error(i, n);
}),
(e.missingBackslash = function () {
return this.error("Expected a backslash preceding the semicolon.", {
index: this.currToken[A.FIELDS.START_POS],
});
}),
(e.missingParenthesis = function () {
return this.expected("opening parenthesis", this.currToken[A.FIELDS.START_POS]);
}),
(e.missingSquareBracket = function () {
return this.expected("opening square bracket", this.currToken[A.FIELDS.START_POS]);
}),
(e.unexpected = function () {
return this.error(
"Unexpected '" + this.content() + "'. Escaping special characters with \\ may help.",
this.currToken[A.FIELDS.START_POS]
);
}),
(e.unexpectedPipe = function () {
return this.error("Unexpected '|'.", this.currToken[A.FIELDS.START_POS]);
}),
(e.namespace = function () {
var i = (this.prevToken && this.content(this.prevToken)) || !0;
if (this.nextToken[A.FIELDS.TYPE] === T.word) return (this.position++, this.word(i));
if (this.nextToken[A.FIELDS.TYPE] === T.asterisk) return (this.position++, this.universal(i));
this.unexpectedPipe();
}),
(e.nesting = function () {
if (this.nextToken) {
var i = this.content(this.nextToken);
if (i === "|") {
this.position++;
return;
}
}
var n = this.currToken;
(this.newNode(
new Lk.default({ value: this.content(), source: Mt(n), sourceIndex: n[A.FIELDS.START_POS] })
),
this.position++);
}),
(e.parentheses = function () {
var i = this.current.last,
n = 1;
if ((this.position++, i && i.type === $k.PSEUDO)) {
var a = new _a.default({ source: { start: Ap(this.tokens[this.position - 1]) } }),
s = this.current;
for (i.append(a), this.current = a; this.position < this.tokens.length && n; )
(this.currToken[A.FIELDS.TYPE] === T.openParenthesis && n++,
this.currToken[A.FIELDS.TYPE] === T.closeParenthesis && n--,
n
? this.parse()
: ((this.current.source.end = _p(this.currToken)),
(this.current.parent.source.end = _p(this.currToken)),
this.position++));
this.current = s;
} else {
for (var o = this.currToken, u = "(", c; this.position < this.tokens.length && n; )
(this.currToken[A.FIELDS.TYPE] === T.openParenthesis && n++,
this.currToken[A.FIELDS.TYPE] === T.closeParenthesis && n--,
(c = this.currToken),
(u += this.parseParenthesisToken(this.currToken)),
this.position++);
i
? i.appendToPropertyAndEscape("value", u, u)
: this.newNode(
new Oa.default({
value: u,
source: kt(
o[A.FIELDS.START_LINE],
o[A.FIELDS.START_COL],
c[A.FIELDS.END_LINE],
c[A.FIELDS.END_COL]
),
sourceIndex: o[A.FIELDS.START_POS],
})
);
}
if (n) return this.expected("closing parenthesis", this.currToken[A.FIELDS.START_POS]);
}),
(e.pseudo = function () {
for (
var i = this, n = "", a = this.currToken;
this.currToken && this.currToken[A.FIELDS.TYPE] === T.colon;
)
((n += this.content()), this.position++);
if (!this.currToken) return this.expected(["pseudo-class", "pseudo-element"], this.position - 1);
if (this.currToken[A.FIELDS.TYPE] === T.word)
this.splitWord(!1, function (s, o) {
((n += s),
i.newNode(
new Bk.default({
value: n,
source: Da(a, i.currToken),
sourceIndex: a[A.FIELDS.START_POS],
})
),
o > 1 &&
i.nextToken &&
i.nextToken[A.FIELDS.TYPE] === T.openParenthesis &&
i.error("Misplaced parenthesis.", { index: i.nextToken[A.FIELDS.START_POS] }));
});
else return this.expected(["pseudo-class", "pseudo-element"], this.currToken[A.FIELDS.START_POS]);
}),
(e.space = function () {
var i = this.content();
this.position === 0 ||
this.prevToken[A.FIELDS.TYPE] === T.comma ||
this.prevToken[A.FIELDS.TYPE] === T.openParenthesis ||
this.current.nodes.every(function (n) {
return n.type === "comment";
})
? ((this.spaces = this.optionalSpace(i)), this.position++)
: this.position === this.tokens.length - 1 ||
this.nextToken[A.FIELDS.TYPE] === T.comma ||
this.nextToken[A.FIELDS.TYPE] === T.closeParenthesis
? ((this.current.last.spaces.after = this.optionalSpace(i)), this.position++)
: this.combinator();
}),
(e.string = function () {
var i = this.currToken;
(this.newNode(
new Oa.default({ value: this.content(), source: Mt(i), sourceIndex: i[A.FIELDS.START_POS] })
),
this.position++);
}),
(e.universal = function (i) {
var n = this.nextToken;
if (n && this.content(n) === "|") return (this.position++, this.namespace());
var a = this.currToken;
(this.newNode(
new Fk.default({ value: this.content(), source: Mt(a), sourceIndex: a[A.FIELDS.START_POS] }),
i
),
this.position++);
}),
(e.splitWord = function (i, n) {
for (
var a = this, s = this.nextToken, o = this.content();
s && ~[T.dollar, T.caret, T.equals, T.word].indexOf(s[A.FIELDS.TYPE]);
) {
this.position++;
var u = this.content();
if (((o += u), u.lastIndexOf("\\") === u.length - 1)) {
var c = this.nextToken;
c &&
c[A.FIELDS.TYPE] === T.space &&
((o += this.requiredSpace(this.content(c))), this.position++);
}
s = this.nextToken;
}
var f = Ia(o, ".").filter(function (b) {
var x = o[b - 1] === "\\",
y = /^\d+\.\d+%$/.test(o);
return !x && !y;
}),
d = Ia(o, "#").filter(function (b) {
return o[b - 1] !== "\\";
}),
p = Ia(o, "#{");
p.length &&
(d = d.filter(function (b) {
return !~p.indexOf(b);
}));
var m = (0, Nk.default)(Vk([0].concat(f, d)));
(m.forEach(function (b, x) {
var y = m[x + 1] || o.length,
w = o.slice(b, y);
if (x === 0 && n) return n.call(a, w, m.length);
var k,
S = a.currToken,
_ = S[A.FIELDS.START_POS] + m[x],
E = kt(S[1], S[2] + b, S[3], S[2] + (y - 1));
if (~f.indexOf(b)) {
var I = { value: w.slice(1), source: E, sourceIndex: _ };
k = new qk.default(Bt(I, "value"));
} else if (~d.indexOf(b)) {
var q = { value: w.slice(1), source: E, sourceIndex: _ };
k = new Rk.default(Bt(q, "value"));
} else {
var R = { value: w, source: E, sourceIndex: _ };
(Bt(R, "value"), (k = new Mk.default(R)));
}
(a.newNode(k, i), (i = null));
}),
this.position++);
}),
(e.word = function (i) {
var n = this.nextToken;
return n && this.content(n) === "|" ? (this.position++, this.namespace()) : this.splitWord(i);
}),
(e.loop = function () {
for (; this.position < this.tokens.length; ) this.parse(!0);
return (this.current._inferEndPosition(), this.root);
}),
(e.parse = function (i) {
switch (this.currToken[A.FIELDS.TYPE]) {
case T.space:
this.space();
break;
case T.comment:
this.comment();
break;
case T.openParenthesis:
this.parentheses();
break;
case T.closeParenthesis:
i && this.missingParenthesis();
break;
case T.openSquare:
this.attribute();
break;
case T.dollar:
case T.caret:
case T.equals:
case T.word:
this.word();
break;
case T.colon:
this.pseudo();
break;
case T.comma:
this.comma();
break;
case T.asterisk:
this.universal();
break;
case T.ampersand:
this.nesting();
break;
case T.slash:
case T.combinator:
this.combinator();
break;
case T.str:
this.string();
break;
case T.closeSquare:
this.missingSquareBracket();
case T.semicolon:
this.missingBackslash();
default:
this.unexpected();
}
}),
(e.expected = function (i, n, a) {
if (Array.isArray(i)) {
var s = i.pop();
i = i.join(", ") + " or " + s;
}
var o = /^[aeiou]/.test(i[0]) ? "an" : "a";
return a
? this.error("Expected " + o + " " + i + ', found "' + a + '" instead.', { index: n })
: this.error("Expected " + o + " " + i + ".", { index: n });
}),
(e.requiredSpace = function (i) {
return this.options.lossy ? " " : i;
}),
(e.optionalSpace = function (i) {
return this.options.lossy ? "" : i;
}),
(e.lossySpace = function (i, n) {
return this.options.lossy ? (n ? " " : "") : i;
}),
(e.parseParenthesisToken = function (i) {
var n = this.content(i);
return i[A.FIELDS.TYPE] === T.space ? this.requiredSpace(n) : n;
}),
(e.newNode = function (i, n) {
return (
n &&
(/^ +$/.test(n) &&
(this.options.lossy || (this.spaces = (this.spaces || "") + n), (n = !0)),
(i.namespace = n),
Bt(i, "namespace")),
this.spaces && ((i.spaces.before = this.spaces), (this.spaces = "")),
this.current.append(i)
);
}),
(e.content = function (i) {
return (
i === void 0 && (i = this.currToken),
this.css.slice(i[A.FIELDS.START_POS], i[A.FIELDS.END_POS])
);
}),
(e.locateNextMeaningfulToken = function (i) {
i === void 0 && (i = this.position + 1);
for (var n = i; n < this.tokens.length; )
if (jk[this.tokens[n][A.FIELDS.TYPE]]) {
n++;
continue;
} else return n;
return -1;
}),
zk(r, [
{
key: "currToken",
get: function () {
return this.tokens[this.position];
},
},
{
key: "nextToken",
get: function () {
return this.tokens[this.position + 1];
},
},
{
key: "prevToken",
get: function () {
return this.tokens[this.position - 1];
},
},
]),
r
);
})();
Hr.default = Uk;
Op.exports = Hr.default;
});
var Pp = v((Yr, Tp) => {
l();
("use strict");
Yr.__esModule = !0;
Yr.default = void 0;
var Wk = Gk(Ep());
function Gk(r) {
return r && r.__esModule ? r : { default: r };
}
var Hk = (function () {
function r(t, i) {
((this.func = t || function () {}), (this.funcRes = null), (this.options = i));
}
var e = r.prototype;
return (
(e._shouldUpdateSelector = function (i, n) {
n === void 0 && (n = {});
var a = Object.assign({}, this.options, n);
return a.updateSelector === !1 ? !1 : typeof i != "string";
}),
(e._isLossy = function (i) {
i === void 0 && (i = {});
var n = Object.assign({}, this.options, i);
return n.lossless === !1;
}),
(e._root = function (i, n) {
n === void 0 && (n = {});
var a = new Wk.default(i, this._parseOptions(n));
return a.root;
}),
(e._parseOptions = function (i) {
return { lossy: this._isLossy(i) };
}),
(e._run = function (i, n) {
var a = this;
return (
n === void 0 && (n = {}),
new Promise(function (s, o) {
try {
var u = a._root(i, n);
Promise.resolve(a.func(u))
.then(function (c) {
var f = void 0;
return (
a._shouldUpdateSelector(i, n) && ((f = u.toString()), (i.selector = f)),
{ transform: c, root: u, string: f }
);
})
.then(s, o);
} catch (c) {
o(c);
return;
}
})
);
}),
(e._runSync = function (i, n) {
n === void 0 && (n = {});
var a = this._root(i, n),
s = this.func(a);
if (s && typeof s.then == "function")
throw new Error("Selector processor returned a promise to a synchronous call.");
var o = void 0;
return (
n.updateSelector && typeof i != "string" && ((o = a.toString()), (i.selector = o)),
{ transform: s, root: a, string: o }
);
}),
(e.ast = function (i, n) {
return this._run(i, n).then(function (a) {
return a.root;
});
}),
(e.astSync = function (i, n) {
return this._runSync(i, n).root;
}),
(e.transform = function (i, n) {
return this._run(i, n).then(function (a) {
return a.transform;
});
}),
(e.transformSync = function (i, n) {
return this._runSync(i, n).transform;
}),
(e.process = function (i, n) {
return this._run(i, n).then(function (a) {
return a.string || a.root.toString();
});
}),
(e.processSync = function (i, n) {
var a = this._runSync(i, n);
return a.string || a.root.toString();
}),
r
);
})();
Yr.default = Hk;
Tp.exports = Yr.default;
});
var Dp = v((G) => {
l();
("use strict");
G.__esModule = !0;
G.universal =
G.tag =
G.string =
G.selector =
G.root =
G.pseudo =
G.nesting =
G.id =
G.comment =
G.combinator =
G.className =
G.attribute =
void 0;
var Yk = ve(ya()),
Qk = ve(ea()),
Jk = ve(xa()),
Xk = ve(ra()),
Kk = ve(na()),
Zk = ve(Sa()),
eS = ve(ca()),
tS = ve(Qs()),
rS = ve(Xs()),
iS = ve(ua()),
nS = ve(oa()),
sS = ve(ba());
function ve(r) {
return r && r.__esModule ? r : { default: r };
}
var aS = function (e) {
return new Yk.default(e);
};
G.attribute = aS;
var oS = function (e) {
return new Qk.default(e);
};
G.className = oS;
var lS = function (e) {
return new Jk.default(e);
};
G.combinator = lS;
var uS = function (e) {
return new Xk.default(e);
};
G.comment = uS;
var fS = function (e) {
return new Kk.default(e);
};
G.id = fS;
var cS = function (e) {
return new Zk.default(e);
};
G.nesting = cS;
var pS = function (e) {
return new eS.default(e);
};
G.pseudo = pS;
var dS = function (e) {
return new tS.default(e);
};
G.root = dS;
var hS = function (e) {
return new rS.default(e);
};
G.selector = hS;
var mS = function (e) {
return new iS.default(e);
};
G.string = mS;
var gS = function (e) {
return new nS.default(e);
};
G.tag = gS;
var yS = function (e) {
return new sS.default(e);
};
G.universal = yS;
});
var Mp = v(($) => {
l();
("use strict");
$.__esModule = !0;
$.isComment = $.isCombinator = $.isClassName = $.isAttribute = void 0;
$.isContainer = TS;
$.isIdentifier = void 0;
$.isNamespace = PS;
$.isNesting = void 0;
$.isNode = qa;
$.isPseudo = void 0;
$.isPseudoClass = ES;
$.isPseudoElement = Rp;
$.isUniversal = $.isTag = $.isString = $.isSelector = $.isRoot = void 0;
var Q = ne(),
fe,
wS =
((fe = {}),
(fe[Q.ATTRIBUTE] = !0),
(fe[Q.CLASS] = !0),
(fe[Q.COMBINATOR] = !0),
(fe[Q.COMMENT] = !0),
(fe[Q.ID] = !0),
(fe[Q.NESTING] = !0),
(fe[Q.PSEUDO] = !0),
(fe[Q.ROOT] = !0),
(fe[Q.SELECTOR] = !0),
(fe[Q.STRING] = !0),
(fe[Q.TAG] = !0),
(fe[Q.UNIVERSAL] = !0),
fe);
function qa(r) {
return typeof r == "object" && wS[r.type];
}
function xe(r, e) {
return qa(e) && e.type === r;
}
var Ip = xe.bind(null, Q.ATTRIBUTE);
$.isAttribute = Ip;
var bS = xe.bind(null, Q.CLASS);
$.isClassName = bS;
var vS = xe.bind(null, Q.COMBINATOR);
$.isCombinator = vS;
var xS = xe.bind(null, Q.COMMENT);
$.isComment = xS;
var kS = xe.bind(null, Q.ID);
$.isIdentifier = kS;
var SS = xe.bind(null, Q.NESTING);
$.isNesting = SS;
var Ra = xe.bind(null, Q.PSEUDO);
$.isPseudo = Ra;
var CS = xe.bind(null, Q.ROOT);
$.isRoot = CS;
var AS = xe.bind(null, Q.SELECTOR);
$.isSelector = AS;
var _S = xe.bind(null, Q.STRING);
$.isString = _S;
var qp = xe.bind(null, Q.TAG);
$.isTag = qp;
var OS = xe.bind(null, Q.UNIVERSAL);
$.isUniversal = OS;
function Rp(r) {
return (
Ra(r) &&
r.value &&
(r.value.startsWith("::") ||
r.value.toLowerCase() === ":before" ||
r.value.toLowerCase() === ":after" ||
r.value.toLowerCase() === ":first-letter" ||
r.value.toLowerCase() === ":first-line")
);
}
function ES(r) {
return Ra(r) && !Rp(r);
}
function TS(r) {
return !!(qa(r) && r.walk);
}
function PS(r) {
return Ip(r) || qp(r);
}
});
var Bp = v((Ee) => {
l();
("use strict");
Ee.__esModule = !0;
var Ma = ne();
Object.keys(Ma).forEach(function (r) {
r === "default" || r === "__esModule" || (r in Ee && Ee[r] === Ma[r]) || (Ee[r] = Ma[r]);
});
var Ba = Dp();
Object.keys(Ba).forEach(function (r) {
r === "default" || r === "__esModule" || (r in Ee && Ee[r] === Ba[r]) || (Ee[r] = Ba[r]);
});
var Fa = Mp();
Object.keys(Fa).forEach(function (r) {
r === "default" || r === "__esModule" || (r in Ee && Ee[r] === Fa[r]) || (Ee[r] = Fa[r]);
});
});
var Me = v((Qr, Lp) => {
l();
("use strict");
Qr.__esModule = !0;
Qr.default = void 0;
var DS = RS(Pp()),
IS = qS(Bp());
function Fp(r) {
if (typeof WeakMap != "function") return null;
var e = new WeakMap(),
t = new WeakMap();
return (Fp = function (n) {
return n ? t : e;
})(r);
}
function qS(r, e) {
if (!e && r && r.__esModule) return r;
if (r === null || (typeof r != "object" && typeof r != "function")) return { default: r };
var t = Fp(e);
if (t && t.has(r)) return t.get(r);
var i = {},
n = Object.defineProperty && Object.getOwnPropertyDescriptor;
for (var a in r)
if (a !== "default" && Object.prototype.hasOwnProperty.call(r, a)) {
var s = n ? Object.getOwnPropertyDescriptor(r, a) : null;
s && (s.get || s.set) ? Object.defineProperty(i, a, s) : (i[a] = r[a]);
}
return ((i.default = r), t && t.set(r, i), i);
}
function RS(r) {
return r && r.__esModule ? r : { default: r };
}
var La = function (e) {
return new DS.default(e);
};
Object.assign(La, IS);
delete La.__esModule;
var MS = La;
Qr.default = MS;
Lp.exports = Qr.default;
});
function Ge(r) {
return ["fontSize", "outline"].includes(r)
? (e) => (typeof e == "function" && (e = e({})), Array.isArray(e) && (e = e[0]), e)
: r === "fontFamily"
? (e) => {
typeof e == "function" && (e = e({}));
let t = Array.isArray(e) && ie(e[1]) ? e[0] : e;
return Array.isArray(t) ? t.join(", ") : t;
}
: [
"boxShadow",
"transitionProperty",
"transitionDuration",
"transitionDelay",
"transitionTimingFunction",
"backgroundImage",
"backgroundSize",
"backgroundColor",
"cursor",
"animation",
].includes(r)
? (e) => (typeof e == "function" && (e = e({})), Array.isArray(e) && (e = e.join(", ")), e)
: ["gridTemplateColumns", "gridTemplateRows", "objectPosition"].includes(r)
? (e) => (
typeof e == "function" && (e = e({})),
typeof e == "string" && (e = j.list.comma(e).join(" ")),
e
)
: (e, t = {}) => (typeof e == "function" && (e = e(t)), e);
}
var Jr = C(() => {
l();
st();
At();
});
var Wp = v((PT, Va) => {
l();
var { Rule: Np, AtRule: BS } = ge(),
$p = Me();
function Na(r, e) {
let t;
try {
$p((i) => {
t = i;
}).processSync(r);
} catch (i) {
throw r.includes(":") ? (e ? e.error("Missed semicolon") : i) : e ? e.error(i.message) : i;
}
return t.at(0);
}
function zp(r, e) {
let t = !1;
return (
r.each((i) => {
if (i.type === "nesting") {
let n = e.clone({});
(i.value !== "&" ? i.replaceWith(Na(i.value.replace("&", n.toString()))) : i.replaceWith(n),
(t = !0));
} else "nodes" in i && i.nodes && zp(i, e) && (t = !0);
}),
t
);
}
function jp(r, e) {
let t = [];
return (
r.selectors.forEach((i) => {
let n = Na(i, r);
e.selectors.forEach((a) => {
if (!a) return;
let s = Na(a, e);
(zp(s, n) || (s.prepend($p.combinator({ value: " " })), s.prepend(n.clone({}))),
t.push(s.toString()));
});
}),
t
);
}
function cn(r, e) {
let t = r.prev();
for (e.after(r); t && t.type === "comment"; ) {
let i = t.prev();
(e.after(t), (t = i));
}
return r;
}
function FS(r) {
return function e(t, i, n, a = n) {
let s = [];
if (
(i.each((o) => {
o.type === "rule" && n
? a && (o.selectors = jp(t, o))
: o.type === "atrule" && o.nodes
? r[o.name]
? e(t, o, a)
: i[za] !== !1 && s.push(o)
: s.push(o);
}),
n && s.length)
) {
let o = t.clone({ nodes: [] });
for (let u of s) o.append(u);
i.prepend(o);
}
};
}
function $a(r, e, t) {
let i = new Np({ selector: r, nodes: [] });
return (i.append(e), t.after(i), i);
}
function Vp(r, e) {
let t = {};
for (let i of r) t[i] = !0;
if (e) for (let i of e) t[i.replace(/^@/, "")] = !0;
return t;
}
function LS(r) {
r = r.trim();
let e = r.match(/^\((.*)\)$/);
if (!e) return { type: "basic", selector: r };
let t = e[1].match(/^(with(?:out)?):(.+)$/);
if (t) {
let i = t[1] === "with",
n = Object.fromEntries(
t[2]
.trim()
.split(/\s+/)
.map((s) => [s, !0])
);
if (i && n.all) return { type: "noop" };
let a = (s) => !!n[s];
return (
n.all ? (a = () => !0) : i && (a = (s) => (s === "all" ? !1 : !n[s])),
{ type: "withrules", escapes: a }
);
}
return { type: "unknown" };
}
function NS(r) {
let e = [],
t = r.parent;
for (; t && t instanceof BS; ) (e.push(t), (t = t.parent));
return e;
}
function $S(r) {
let e = r[Up];
if (!e) r.after(r.nodes);
else {
let t = r.nodes,
i,
n = -1,
a,
s,
o,
u = NS(r);
if (
(u.forEach((c, f) => {
if (e(c.name)) ((i = c), (n = f), (s = o));
else {
let d = o;
((o = c.clone({ nodes: [] })), d && o.append(d), (a = a || o));
}
}),
i ? (s ? (a.append(t), i.after(s)) : i.after(t)) : r.after(t),
r.next() && i)
) {
let c;
(u.slice(0, n + 1).forEach((f, d, p) => {
let m = c;
((c = f.clone({ nodes: [] })), m && c.append(m));
let b = [],
y = (p[d - 1] || r).next();
for (; y; ) (b.push(y), (y = y.next()));
c.append(b);
}),
c && (s || t[t.length - 1]).after(c));
}
}
r.remove();
}
var za = Symbol("rootRuleMergeSel"),
Up = Symbol("rootRuleEscapes");
function zS(r) {
let { params: e } = r,
{ type: t, selector: i, escapes: n } = LS(e);
if (t === "unknown") throw r.error(`Unknown @${r.name} parameter ${JSON.stringify(e)}`);
if (t === "basic" && i) {
let a = new Np({ selector: i, nodes: r.nodes });
(r.removeAll(), r.append(a));
}
((r[Up] = n), (r[za] = n ? !n("all") : t === "noop"));
}
var ja = Symbol("hasRootRule");
Va.exports = (r = {}) => {
let e = Vp(["media", "supports", "layer", "container"], r.bubble),
t = FS(e),
i = Vp(["document", "font-face", "keyframes", "-webkit-keyframes", "-moz-keyframes"], r.unwrap),
n = (r.rootRuleName || "at-root").replace(/^@/, ""),
a = r.preserveEmpty;
return {
postcssPlugin: "postcss-nested",
Once(s) {
s.walkAtRules(n, (o) => {
(zS(o), (s[ja] = !0));
});
},
Rule(s) {
let o = !1,
u = s,
c = !1,
f = [];
(s.each((d) => {
d.type === "rule"
? (f.length && ((u = $a(s.selector, f, u)), (f = [])),
(c = !0),
(o = !0),
(d.selectors = jp(s, d)),
(u = cn(d, u)))
: d.type === "atrule"
? (f.length && ((u = $a(s.selector, f, u)), (f = [])),
d.name === n
? ((o = !0), t(s, d, !0, d[za]), (u = cn(d, u)))
: e[d.name]
? ((c = !0), (o = !0), t(s, d, !0), (u = cn(d, u)))
: i[d.name]
? ((c = !0), (o = !0), t(s, d, !1), (u = cn(d, u)))
: c && f.push(d))
: d.type === "decl" && c && f.push(d);
}),
f.length && (u = $a(s.selector, f, u)),
o && a !== !0 && ((s.raws.semicolon = !0), s.nodes.length === 0 && s.remove()));
},
RootExit(s) {
s[ja] && (s.walkAtRules(n, $S), (s[ja] = !1));
},
};
};
Va.exports.postcss = !0;
});
var Qp = v((DT, Yp) => {
l();
("use strict");
var Gp = /-(\w|$)/g,
Hp = (r, e) => e.toUpperCase(),
jS = (r) => (
(r = r.toLowerCase()),
r === "float" ? "cssFloat" : r.startsWith("-ms-") ? r.substr(1).replace(Gp, Hp) : r.replace(Gp, Hp)
);
Yp.exports = jS;
});
var Ga = v((IT, Jp) => {
l();
var VS = Qp(),
US = {
boxFlex: !0,
boxFlexGroup: !0,
columnCount: !0,
flex: !0,
flexGrow: !0,
flexPositive: !0,
flexShrink: !0,
flexNegative: !0,
fontWeight: !0,
lineClamp: !0,
lineHeight: !0,
opacity: !0,
order: !0,
orphans: !0,
tabSize: !0,
widows: !0,
zIndex: !0,
zoom: !0,
fillOpacity: !0,
strokeDashoffset: !0,
strokeOpacity: !0,
strokeWidth: !0,
};
function Ua(r) {
return typeof r.nodes == "undefined" ? !0 : Wa(r);
}
function Wa(r) {
let e,
t = {};
return (
r.each((i) => {
if (i.type === "atrule")
((e = "@" + i.name),
i.params && (e += " " + i.params),
typeof t[e] == "undefined"
? (t[e] = Ua(i))
: Array.isArray(t[e])
? t[e].push(Ua(i))
: (t[e] = [t[e], Ua(i)]));
else if (i.type === "rule") {
let n = Wa(i);
if (t[i.selector]) for (let a in n) t[i.selector][a] = n[a];
else t[i.selector] = n;
} else if (i.type === "decl") {
(i.prop[0] === "-" && i.prop[1] === "-") || (i.parent && i.parent.selector === ":export")
? (e = i.prop)
: (e = VS(i.prop));
let n = i.value;
(!isNaN(i.value) && US[e] && (n = parseFloat(i.value)),
i.important && (n += " !important"),
typeof t[e] == "undefined"
? (t[e] = n)
: Array.isArray(t[e])
? t[e].push(n)
: (t[e] = [t[e], n]));
}
}),
t
);
}
Jp.exports = Wa;
});
var pn = v((qT, ed) => {
l();
var Xr = ge(),
Xp = /\s*!important\s*$/i,
WS = {
"box-flex": !0,
"box-flex-group": !0,
"column-count": !0,
flex: !0,
"flex-grow": !0,
"flex-positive": !0,
"flex-shrink": !0,
"flex-negative": !0,
"font-weight": !0,
"line-clamp": !0,
"line-height": !0,
opacity: !0,
order: !0,
orphans: !0,
"tab-size": !0,
widows: !0,
"z-index": !0,
zoom: !0,
"fill-opacity": !0,
"stroke-dashoffset": !0,
"stroke-opacity": !0,
"stroke-width": !0,
};
function GS(r) {
return r
.replace(/([A-Z])/g, "-$1")
.replace(/^ms-/, "-ms-")
.toLowerCase();
}
function Kp(r, e, t) {
t === !1 ||
t === null ||
(e.startsWith("--") || (e = GS(e)),
typeof t == "number" && (t === 0 || WS[e] ? (t = t.toString()) : (t += "px")),
e === "css-float" && (e = "float"),
Xp.test(t)
? ((t = t.replace(Xp, "")), r.push(Xr.decl({ prop: e, value: t, important: !0 })))
: r.push(Xr.decl({ prop: e, value: t })));
}
function Zp(r, e, t) {
let i = Xr.atRule({ name: e[1], params: e[3] || "" });
(typeof t == "object" && ((i.nodes = []), Ha(t, i)), r.push(i));
}
function Ha(r, e) {
let t, i, n;
for (t in r)
if (((i = r[t]), !(i === null || typeof i == "undefined")))
if (t[0] === "@") {
let a = t.match(/@(\S+)(\s+([\W\w]*)\s*)?/);
if (Array.isArray(i)) for (let s of i) Zp(e, a, s);
else Zp(e, a, i);
} else if (Array.isArray(i)) for (let a of i) Kp(e, t, a);
else typeof i == "object" ? ((n = Xr.rule({ selector: t })), Ha(i, n), e.push(n)) : Kp(e, t, i);
}
ed.exports = function (r) {
let e = Xr.root();
return (Ha(r, e), e);
};
});
var Ya = v((RT, td) => {
l();
var HS = Ga();
td.exports = function (e) {
return (
console &&
console.warn &&
e.warnings().forEach((t) => {
let i = t.plugin || "PostCSS";
console.warn(i + ": " + t.text);
}),
HS(e.root)
);
};
});
var id = v((MT, rd) => {
l();
var YS = ge(),
QS = Ya(),
JS = pn();
rd.exports = function (e) {
let t = YS(e);
return async (i) => {
let n = await t.process(i, { parser: JS, from: void 0 });
return QS(n);
};
};
});
var sd = v((BT, nd) => {
l();
var XS = ge(),
KS = Ya(),
ZS = pn();
nd.exports = function (r) {
let e = XS(r);
return (t) => {
let i = e.process(t, { parser: ZS, from: void 0 });
return KS(i);
};
};
});
var od = v((FT, ad) => {
l();
var e2 = Ga(),
t2 = pn(),
r2 = id(),
i2 = sd();
ad.exports = { objectify: e2, parse: t2, async: r2, sync: i2 };
});
var Ft,
ld,
LT,
NT,
$T,
zT,
ud = C(() => {
l();
((Ft = X(od())),
(ld = Ft.default),
(LT = Ft.default.objectify),
(NT = Ft.default.parse),
($T = Ft.default.async),
(zT = Ft.default.sync));
});
function Lt(r) {
return Array.isArray(r)
? r.flatMap((e) => j([(0, fd.default)({ bubble: ["screen"] })]).process(e, { parser: ld }).root.nodes)
: Lt([r]);
}
var fd,
Qa = C(() => {
l();
st();
fd = X(Wp());
ud();
});
function Nt(r, e, t = !1) {
if (r === "") return e;
let i = typeof e == "string" ? (0, cd.default)().astSync(e) : e;
return (
i.walkClasses((n) => {
let a = n.value,
s = t && a.startsWith("-");
n.value = s ? `-${r}${a.slice(1)}` : `${r}${a}`;
}),
typeof e == "string" ? i.toString() : i
);
}
var cd,
dn = C(() => {
l();
cd = X(Me());
});
function ce(r) {
let e = pd.default.className();
return ((e.value = r), wt(e?.raws?.value ?? e.value));
}
var pd,
$t = C(() => {
l();
pd = X(Me());
bi();
});
function Ja(r) {
return wt(`.${ce(r)}`);
}
function hn(r, e) {
return Ja(Kr(r, e));
}
function Kr(r, e) {
return e === "DEFAULT"
? r
: e === "-" || e === "-DEFAULT"
? `-${r}`
: e.startsWith("-")
? `-${r}${e}`
: e.startsWith("/")
? `${r}${e}`
: `${r}-${e}`;
}
var Xa = C(() => {
l();
$t();
bi();
});
function P(r, e = [[r, [r]]], { filterDefault: t = !1, ...i } = {}) {
let n = Ge(r);
return function ({ matchUtilities: a, theme: s }) {
for (let o of e) {
let u = Array.isArray(o[0]) ? o : [o];
a(
u.reduce(
(c, [f, d]) =>
Object.assign(c, {
[f]: (p) =>
d.reduce(
(m, b) =>
Array.isArray(b)
? Object.assign(m, { [b[0]]: b[1] })
: Object.assign(m, { [b]: n(p) }),
{}
),
}),
{}
),
{
...i,
values: t
? Object.fromEntries(Object.entries(s(r) ?? {}).filter(([c]) => c !== "DEFAULT"))
: s(r),
}
);
}
};
}
var dd = C(() => {
l();
Jr();
});
function at(r) {
return (
(r = Array.isArray(r) ? r : [r]),
r
.map((e) => {
let t = e.values.map((i) =>
i.raw !== void 0
? i.raw
: [i.min && `(min-width: ${i.min})`, i.max && `(max-width: ${i.max})`]
.filter(Boolean)
.join(" and ")
);
return e.not ? `not all and ${t}` : t;
})
.join(", ")
);
}
var mn = C(() => {
l();
});
function Ka(r) {
return r.split(f2).map((t) => {
let i = t.trim(),
n = { value: i },
a = i.split(c2),
s = new Set();
for (let o of a)
!s.has("DIRECTIONS") && n2.has(o)
? ((n.direction = o), s.add("DIRECTIONS"))
: !s.has("PLAY_STATES") && s2.has(o)
? ((n.playState = o), s.add("PLAY_STATES"))
: !s.has("FILL_MODES") && a2.has(o)
? ((n.fillMode = o), s.add("FILL_MODES"))
: !s.has("ITERATION_COUNTS") && (o2.has(o) || p2.test(o))
? ((n.iterationCount = o), s.add("ITERATION_COUNTS"))
: (!s.has("TIMING_FUNCTION") && l2.has(o)) ||
(!s.has("TIMING_FUNCTION") && u2.some((u) => o.startsWith(`${u}(`)))
? ((n.timingFunction = o), s.add("TIMING_FUNCTION"))
: !s.has("DURATION") && hd.test(o)
? ((n.duration = o), s.add("DURATION"))
: !s.has("DELAY") && hd.test(o)
? ((n.delay = o), s.add("DELAY"))
: s.has("NAME")
? (n.unknown || (n.unknown = []), n.unknown.push(o))
: ((n.name = o), s.add("NAME"));
return n;
});
}
var n2,
s2,
a2,
o2,
l2,
u2,
f2,
c2,
hd,
p2,
md = C(() => {
l();
((n2 = new Set(["normal", "reverse", "alternate", "alternate-reverse"])),
(s2 = new Set(["running", "paused"])),
(a2 = new Set(["none", "forwards", "backwards", "both"])),
(o2 = new Set(["infinite"])),
(l2 = new Set(["linear", "ease", "ease-in", "ease-out", "ease-in-out", "step-start", "step-end"])),
(u2 = ["cubic-bezier", "steps"]),
(f2 = /\,(?![^(]*\))/g),
(c2 = /\ +(?![^(]*\))/g),
(hd = /^(-?[\d.]+m?s)$/),
(p2 = /^(\d+)$/));
});
var gd,
re,
yd = C(() => {
l();
((gd = (r) =>
Object.assign(
{},
...Object.entries(r ?? {}).flatMap(([e, t]) =>
typeof t == "object"
? Object.entries(gd(t)).map(([i, n]) => ({ [e + (i === "DEFAULT" ? "" : `-${i}`)]: n }))
: [{ [`${e}`]: t }]
)
)),
(re = gd));
});
var bd,
wd = C(() => {
bd = "3.4.3";
});
function ot(r, e = !0) {
return Array.isArray(r)
? r.map((t) => {
if (e && Array.isArray(t)) throw new Error("The tuple syntax is not supported for `screens`.");
if (typeof t == "string") return { name: t.toString(), not: !1, values: [{ min: t, max: void 0 }] };
let [i, n] = t;
return (
(i = i.toString()),
typeof n == "string"
? { name: i, not: !1, values: [{ min: n, max: void 0 }] }
: Array.isArray(n)
? { name: i, not: !1, values: n.map((a) => xd(a)) }
: { name: i, not: !1, values: [xd(n)] }
);
})
: ot(Object.entries(r ?? {}), !1);
}
function gn(r) {
return r.values.length !== 1
? { result: !1, reason: "multiple-values" }
: r.values[0].raw !== void 0
? { result: !1, reason: "raw-values" }
: r.values[0].min !== void 0 && r.values[0].max !== void 0
? { result: !1, reason: "min-and-max" }
: { result: !0, reason: null };
}
function vd(r, e, t) {
let i = yn(e, r),
n = yn(t, r),
a = gn(i),
s = gn(n);
if (a.reason === "multiple-values" || s.reason === "multiple-values")
throw new Error(
"Attempted to sort a screen with multiple values. This should never happen. Please open a bug report."
);
if (a.reason === "raw-values" || s.reason === "raw-values")
throw new Error(
"Attempted to sort a screen with raw values. This should never happen. Please open a bug report."
);
if (a.reason === "min-and-max" || s.reason === "min-and-max")
throw new Error(
"Attempted to sort a screen with both min and max values. This should never happen. Please open a bug report."
);
let { min: o, max: u } = i.values[0],
{ min: c, max: f } = n.values[0];
(e.not && ([o, u] = [u, o]),
t.not && ([c, f] = [f, c]),
(o = o === void 0 ? o : parseFloat(o)),
(u = u === void 0 ? u : parseFloat(u)),
(c = c === void 0 ? c : parseFloat(c)),
(f = f === void 0 ? f : parseFloat(f)));
let [d, p] = r === "min" ? [o, c] : [f, u];
return d - p;
}
function yn(r, e) {
return typeof r == "object" ? r : { name: "arbitrary-screen", values: [{ [e]: r }] };
}
function xd({ "min-width": r, min: e = r, max: t, raw: i } = {}) {
return { min: e, max: t, raw: i };
}
var wn = C(() => {
l();
});
function bn(r, e) {
r.walkDecls((t) => {
if (e.includes(t.prop)) {
t.remove();
return;
}
for (let i of e) t.value.includes(`/ var(${i})`) && (t.value = t.value.replace(`/ var(${i})`, ""));
});
}
var kd = C(() => {
l();
});
var H,
Te,
Be,
Fe,
Sd,
Cd = C(() => {
l();
ze();
bt();
st();
dd();
mn();
$t();
md();
yd();
fr();
ws();
At();
Jr();
wd();
Oe();
wn();
cs();
kd();
je();
dr();
ei();
((H = {
childVariant: ({ addVariant: r }) => {
r("*", "& > *");
},
pseudoElementVariants: ({ addVariant: r }) => {
(r("first-letter", "&::first-letter"),
r("first-line", "&::first-line"),
r("marker", [
({ container: e }) => (bn(e, ["--tw-text-opacity"]), "& *::marker"),
({ container: e }) => (bn(e, ["--tw-text-opacity"]), "&::marker"),
]),
r("selection", ["& *::selection", "&::selection"]),
r("file", "&::file-selector-button"),
r("placeholder", "&::placeholder"),
r("backdrop", "&::backdrop"),
r(
"before",
({ container: e }) => (
e.walkRules((t) => {
let i = !1;
(t.walkDecls("content", () => {
i = !0;
}),
i || t.prepend(j.decl({ prop: "content", value: "var(--tw-content)" })));
}),
"&::before"
)
),
r(
"after",
({ container: e }) => (
e.walkRules((t) => {
let i = !1;
(t.walkDecls("content", () => {
i = !0;
}),
i || t.prepend(j.decl({ prop: "content", value: "var(--tw-content)" })));
}),
"&::after"
)
));
},
pseudoClassVariants: ({ addVariant: r, matchVariant: e, config: t, prefix: i }) => {
let n = [
["first", "&:first-child"],
["last", "&:last-child"],
["only", "&:only-child"],
["odd", "&:nth-child(odd)"],
["even", "&:nth-child(even)"],
"first-of-type",
"last-of-type",
"only-of-type",
[
"visited",
({ container: s }) => (
bn(s, ["--tw-text-opacity", "--tw-border-opacity", "--tw-bg-opacity"]),
"&:visited"
),
],
"target",
["open", "&[open]"],
"default",
"checked",
"indeterminate",
"placeholder-shown",
"autofill",
"optional",
"required",
"valid",
"invalid",
"in-range",
"out-of-range",
"read-only",
"empty",
"focus-within",
[
"hover",
K(t(), "hoverOnlyWhenSupported")
? "@media (hover: hover) and (pointer: fine) { &:hover }"
: "&:hover",
],
"focus",
"focus-visible",
"active",
"enabled",
"disabled",
].map((s) => (Array.isArray(s) ? s : [s, `&:${s}`]));
for (let [s, o] of n) r(s, (u) => (typeof o == "function" ? o(u) : o));
let a = {
group: (s, { modifier: o }) =>
o ? [`:merge(${i(".group")}\\/${ce(o)})`, " &"] : [`:merge(${i(".group")})`, " &"],
peer: (s, { modifier: o }) =>
o ? [`:merge(${i(".peer")}\\/${ce(o)})`, " ~ &"] : [`:merge(${i(".peer")})`, " ~ &"],
};
for (let [s, o] of Object.entries(a))
e(
s,
(u = "", c) => {
let f = L(typeof u == "function" ? u(c) : u);
f.includes("&") || (f = "&" + f);
let [d, p] = o("", c),
m = null,
b = null,
x = 0;
for (let y = 0; y < f.length; ++y) {
let w = f[y];
w === "&"
? (m = y)
: w === "'" || w === '"'
? (x += 1)
: m !== null && w === " " && !x && (b = y);
}
return (
m !== null && b === null && (b = f.length),
f.slice(0, m) + d + f.slice(m + 1, b) + p + f.slice(b)
);
},
{ values: Object.fromEntries(n), [Zr]: { respectPrefix: !1 } }
);
},
directionVariants: ({ addVariant: r }) => {
(r("ltr", '&:where([dir="ltr"], [dir="ltr"] *)'), r("rtl", '&:where([dir="rtl"], [dir="rtl"] *)'));
},
reducedMotionVariants: ({ addVariant: r }) => {
(r("motion-safe", "@media (prefers-reduced-motion: no-preference)"),
r("motion-reduce", "@media (prefers-reduced-motion: reduce)"));
},
darkVariants: ({ config: r, addVariant: e }) => {
let [t, i = ".dark"] = [].concat(r("darkMode", "media"));
if (
(t === !1 &&
((t = "media"),
F.warn("darkmode-false", [
"The `darkMode` option in your Tailwind CSS configuration is set to `false`, which now behaves the same as `media`.",
"Change `darkMode` to `media` or remove it entirely.",
"https://tailwindcss.com/docs/upgrade-guide#remove-dark-mode-configuration",
])),
t === "variant")
) {
let n;
if (
(Array.isArray(i) || typeof i == "function" ? (n = i) : typeof i == "string" && (n = [i]),
Array.isArray(n))
)
for (let a of n)
a === ".dark"
? ((t = !1),
F.warn("darkmode-variant-without-selector", [
"When using `variant` for `darkMode`, you must provide a selector.",
'Example: `darkMode: ["variant", ".your-selector &"]`',
]))
: a.includes("&") ||
((t = !1),
F.warn("darkmode-variant-without-ampersand", [
"When using `variant` for `darkMode`, your selector must contain `&`.",
'Example `darkMode: ["variant", ".your-selector &"]`',
]));
i = n;
}
t === "selector"
? e("dark", `&:where(${i}, ${i} *)`)
: t === "media"
? e("dark", "@media (prefers-color-scheme: dark)")
: t === "variant"
? e("dark", i)
: t === "class" && e("dark", `&:is(${i} *)`);
},
printVariant: ({ addVariant: r }) => {
r("print", "@media print");
},
screenVariants: ({ theme: r, addVariant: e, matchVariant: t }) => {
let i = r("screens") ?? {},
n = Object.values(i).every((w) => typeof w == "string"),
a = ot(r("screens")),
s = new Set([]);
function o(w) {
return w.match(/(\D+)$/)?.[1] ?? "(none)";
}
function u(w) {
w !== void 0 && s.add(o(w));
}
function c(w) {
return (u(w), s.size === 1);
}
for (let w of a) for (let k of w.values) (u(k.min), u(k.max));
let f = s.size <= 1;
function d(w) {
return Object.fromEntries(
a
.filter((k) => gn(k).result)
.map((k) => {
let { min: S, max: _ } = k.values[0];
if (w === "min" && S !== void 0) return k;
if (w === "min" && _ !== void 0) return { ...k, not: !k.not };
if (w === "max" && _ !== void 0) return k;
if (w === "max" && S !== void 0) return { ...k, not: !k.not };
})
.map((k) => [k.name, k])
);
}
function p(w) {
return (k, S) => vd(w, k.value, S.value);
}
let m = p("max"),
b = p("min");
function x(w) {
return (k) => {
if (n)
if (f) {
if (typeof k == "string" && !c(k))
return (
F.warn("minmax-have-mixed-units", [
"The `min-*` and `max-*` variants are not supported with a `screens` configuration containing mixed units.",
]),
[]
);
} else
return (
F.warn("mixed-screen-units", [
"The `min-*` and `max-*` variants are not supported with a `screens` configuration containing mixed units.",
]),
[]
);
else
return (
F.warn("complex-screen-config", [
"The `min-*` and `max-*` variants are not supported with a `screens` configuration containing objects.",
]),
[]
);
return [`@media ${at(yn(k, w))}`];
};
}
t("max", x("max"), { sort: m, values: n ? d("max") : {} });
let y = "min-screens";
for (let w of a) e(w.name, `@media ${at(w)}`, { id: y, sort: n && f ? b : void 0, value: w });
t("min", x("min"), { id: y, sort: b });
},
supportsVariants: ({ matchVariant: r, theme: e }) => {
r(
"supports",
(t = "") => {
let i = L(t),
n = /^\w*\s*\(/.test(i);
return (
(i = n ? i.replace(/\b(and|or|not)\b/g, " $1 ") : i),
n
? `@supports ${i}`
: (i.includes(":") || (i = `${i}: var(--tw)`),
(i.startsWith("(") && i.endsWith(")")) || (i = `(${i})`),
`@supports ${i}`)
);
},
{ values: e("supports") ?? {} }
);
},
hasVariants: ({ matchVariant: r }) => {
(r("has", (e) => `&:has(${L(e)})`, { values: {} }),
r(
"group-has",
(e, { modifier: t }) =>
t ? `:merge(.group\\/${t}):has(${L(e)}) &` : `:merge(.group):has(${L(e)}) &`,
{ values: {} }
),
r(
"peer-has",
(e, { modifier: t }) =>
t ? `:merge(.peer\\/${t}):has(${L(e)}) ~ &` : `:merge(.peer):has(${L(e)}) ~ &`,
{ values: {} }
));
},
ariaVariants: ({ matchVariant: r, theme: e }) => {
(r("aria", (t) => `&[aria-${L(t)}]`, { values: e("aria") ?? {} }),
r(
"group-aria",
(t, { modifier: i }) =>
i ? `:merge(.group\\/${i})[aria-${L(t)}] &` : `:merge(.group)[aria-${L(t)}] &`,
{ values: e("aria") ?? {} }
),
r(
"peer-aria",
(t, { modifier: i }) =>
i ? `:merge(.peer\\/${i})[aria-${L(t)}] ~ &` : `:merge(.peer)[aria-${L(t)}] ~ &`,
{ values: e("aria") ?? {} }
));
},
dataVariants: ({ matchVariant: r, theme: e }) => {
(r("data", (t) => `&[data-${L(t)}]`, { values: e("data") ?? {} }),
r(
"group-data",
(t, { modifier: i }) =>
i ? `:merge(.group\\/${i})[data-${L(t)}] &` : `:merge(.group)[data-${L(t)}] &`,
{ values: e("data") ?? {} }
),
r(
"peer-data",
(t, { modifier: i }) =>
i ? `:merge(.peer\\/${i})[data-${L(t)}] ~ &` : `:merge(.peer)[data-${L(t)}] ~ &`,
{ values: e("data") ?? {} }
));
},
orientationVariants: ({ addVariant: r }) => {
(r("portrait", "@media (orientation: portrait)"),
r("landscape", "@media (orientation: landscape)"));
},
prefersContrastVariants: ({ addVariant: r }) => {
(r("contrast-more", "@media (prefers-contrast: more)"),
r("contrast-less", "@media (prefers-contrast: less)"));
},
forcedColorsVariants: ({ addVariant: r }) => {
r("forced-colors", "@media (forced-colors: active)");
},
}),
(Te = [
"translate(var(--tw-translate-x), var(--tw-translate-y))",
"rotate(var(--tw-rotate))",
"skewX(var(--tw-skew-x))",
"skewY(var(--tw-skew-y))",
"scaleX(var(--tw-scale-x))",
"scaleY(var(--tw-scale-y))",
].join(" ")),
(Be = [
"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)",
].join(" ")),
(Fe = [
"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)",
].join(" ")),
(Sd = {
preflight: ({ addBase: r }) => {
let e = j.parse(
`*,::after,::before{box-sizing:border-box;border-width:0;border-style:solid;border-color:theme('borderColor.DEFAULT', currentColor)}::after,::before{--tw-content:''}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;font-family:theme('fontFamily.sans', ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:theme('fontFamily.sans[1].fontFeatureSettings', normal);font-variation-settings:theme('fontFamily.sans[1].fontVariationSettings', normal);-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:theme('fontFamily.mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:theme('fontFamily.mono[1].fontFeatureSettings', normal);font-variation-settings:theme('fontFamily.mono[1].fontVariationSettings', normal);font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{opacity:1;color:theme('colors.gray.4', #9ca3af)}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}`
);
r([
j.comment({ text: `! tailwindcss v${bd} | MIT License | https://tailwindcss.com` }),
...e.nodes,
]);
},
container: (() => {
function r(t = []) {
return t.flatMap((i) => i.values.map((n) => n.min)).filter((i) => i !== void 0);
}
function e(t, i, n) {
if (typeof n == "undefined") return [];
if (!(typeof n == "object" && n !== null))
return [{ screen: "DEFAULT", minWidth: 0, padding: n }];
let a = [];
n.DEFAULT && a.push({ screen: "DEFAULT", minWidth: 0, padding: n.DEFAULT });
for (let s of t)
for (let o of i)
for (let { min: u } of o.values)
u === s && a.push({ minWidth: s, padding: n[o.name] });
return a;
}
return function ({ addComponents: t, theme: i }) {
let n = ot(i("container.screens", i("screens"))),
a = r(n),
s = e(a, n, i("container.padding")),
o = (c) => {
let f = s.find((d) => d.minWidth === c);
return f ? { paddingRight: f.padding, paddingLeft: f.padding } : {};
},
u = Array.from(new Set(a.slice().sort((c, f) => parseInt(c) - parseInt(f)))).map(
(c) => ({
[`@media (min-width: ${c})`]: { ".container": { "max-width": c, ...o(c) } },
})
);
t([
{
".container": Object.assign(
{ width: "100%" },
i("container.center", !1) ? { marginRight: "auto", marginLeft: "auto" } : {},
o(0)
),
},
...u,
]);
};
})(),
accessibility: ({ addUtilities: r }) => {
r({
".sr-only": {
position: "absolute",
width: "1px",
height: "1px",
padding: "0",
margin: "-1px",
overflow: "hidden",
clip: "rect(0, 0, 0, 0)",
whiteSpace: "nowrap",
borderWidth: "0",
},
".not-sr-only": {
position: "static",
width: "auto",
height: "auto",
padding: "0",
margin: "0",
overflow: "visible",
clip: "auto",
whiteSpace: "normal",
},
});
},
pointerEvents: ({ addUtilities: r }) => {
r({
".pointer-events-none": { "pointer-events": "none" },
".pointer-events-auto": { "pointer-events": "auto" },
});
},
visibility: ({ addUtilities: r }) => {
r({
".visible": { visibility: "visible" },
".invisible": { visibility: "hidden" },
".collapse": { visibility: "collapse" },
});
},
position: ({ addUtilities: r }) => {
r({
".static": { position: "static" },
".fixed": { position: "fixed" },
".absolute": { position: "absolute" },
".relative": { position: "relative" },
".sticky": { position: "sticky" },
});
},
inset: P(
"inset",
[
["inset", ["inset"]],
[
["inset-x", ["left", "right"]],
["inset-y", ["top", "bottom"]],
],
[
["start", ["inset-inline-start"]],
["end", ["inset-inline-end"]],
["top", ["top"]],
["right", ["right"]],
["bottom", ["bottom"]],
["left", ["left"]],
],
],
{ supportsNegativeValues: !0 }
),
isolation: ({ addUtilities: r }) => {
r({ ".isolate": { isolation: "isolate" }, ".isolation-auto": { isolation: "auto" } });
},
zIndex: P("zIndex", [["z", ["zIndex"]]], { supportsNegativeValues: !0 }),
order: P("order", void 0, { supportsNegativeValues: !0 }),
gridColumn: P("gridColumn", [["col", ["gridColumn"]]]),
gridColumnStart: P("gridColumnStart", [["col-start", ["gridColumnStart"]]]),
gridColumnEnd: P("gridColumnEnd", [["col-end", ["gridColumnEnd"]]]),
gridRow: P("gridRow", [["row", ["gridRow"]]]),
gridRowStart: P("gridRowStart", [["row-start", ["gridRowStart"]]]),
gridRowEnd: P("gridRowEnd", [["row-end", ["gridRowEnd"]]]),
float: ({ addUtilities: r }) => {
r({
".float-start": { float: "inline-start" },
".float-end": { float: "inline-end" },
".float-right": { float: "right" },
".float-left": { float: "left" },
".float-none": { float: "none" },
});
},
clear: ({ addUtilities: r }) => {
r({
".clear-start": { clear: "inline-start" },
".clear-end": { clear: "inline-end" },
".clear-left": { clear: "left" },
".clear-right": { clear: "right" },
".clear-both": { clear: "both" },
".clear-none": { clear: "none" },
});
},
margin: P(
"margin",
[
["m", ["margin"]],
[
["mx", ["margin-left", "margin-right"]],
["my", ["margin-top", "margin-bottom"]],
],
[
["ms", ["margin-inline-start"]],
["me", ["margin-inline-end"]],
["mt", ["margin-top"]],
["mr", ["margin-right"]],
["mb", ["margin-bottom"]],
["ml", ["margin-left"]],
],
],
{ supportsNegativeValues: !0 }
),
boxSizing: ({ addUtilities: r }) => {
r({
".box-border": { "box-sizing": "border-box" },
".box-content": { "box-sizing": "content-box" },
});
},
lineClamp: ({ matchUtilities: r, addUtilities: e, theme: t }) => {
(r(
{
"line-clamp": (i) => ({
overflow: "hidden",
display: "-webkit-box",
"-webkit-box-orient": "vertical",
"-webkit-line-clamp": `${i}`,
}),
},
{ values: t("lineClamp") }
),
e({
".line-clamp-none": {
overflow: "visible",
display: "block",
"-webkit-box-orient": "horizontal",
"-webkit-line-clamp": "none",
},
}));
},
display: ({ addUtilities: r }) => {
r({
".block": { display: "block" },
".inline-block": { display: "inline-block" },
".inline": { display: "inline" },
".flex": { display: "flex" },
".inline-flex": { display: "inline-flex" },
".table": { display: "table" },
".inline-table": { display: "inline-table" },
".table-caption": { display: "table-caption" },
".table-cell": { display: "table-cell" },
".table-column": { display: "table-column" },
".table-column-group": { display: "table-column-group" },
".table-footer-group": { display: "table-footer-group" },
".table-header-group": { display: "table-header-group" },
".table-row-group": { display: "table-row-group" },
".table-row": { display: "table-row" },
".flow-root": { display: "flow-root" },
".grid": { display: "grid" },
".inline-grid": { display: "inline-grid" },
".contents": { display: "contents" },
".list-item": { display: "list-item" },
".hidden": { display: "none" },
});
},
aspectRatio: P("aspectRatio", [["aspect", ["aspect-ratio"]]]),
size: P("size", [["size", ["width", "height"]]]),
height: P("height", [["h", ["height"]]]),
maxHeight: P("maxHeight", [["max-h", ["maxHeight"]]]),
minHeight: P("minHeight", [["min-h", ["minHeight"]]]),
width: P("width", [["w", ["width"]]]),
minWidth: P("minWidth", [["min-w", ["minWidth"]]]),
maxWidth: P("maxWidth", [["max-w", ["maxWidth"]]]),
flex: P("flex"),
flexShrink: P("flexShrink", [
["flex-shrink", ["flex-shrink"]],
["shrink", ["flex-shrink"]],
]),
flexGrow: P("flexGrow", [
["flex-grow", ["flex-grow"]],
["grow", ["flex-grow"]],
]),
flexBasis: P("flexBasis", [["basis", ["flex-basis"]]]),
tableLayout: ({ addUtilities: r }) => {
r({ ".table-auto": { "table-layout": "auto" }, ".table-fixed": { "table-layout": "fixed" } });
},
captionSide: ({ addUtilities: r }) => {
r({
".caption-top": { "caption-side": "top" },
".caption-bottom": { "caption-side": "bottom" },
});
},
borderCollapse: ({ addUtilities: r }) => {
r({
".border-collapse": { "border-collapse": "collapse" },
".border-separate": { "border-collapse": "separate" },
});
},
borderSpacing: ({ addDefaults: r, matchUtilities: e, theme: t }) => {
(r("border-spacing", { "--tw-border-spacing-x": 0, "--tw-border-spacing-y": 0 }),
e(
{
"border-spacing": (i) => ({
"--tw-border-spacing-x": i,
"--tw-border-spacing-y": i,
"@defaults border-spacing": {},
"border-spacing": "var(--tw-border-spacing-x) var(--tw-border-spacing-y)",
}),
"border-spacing-x": (i) => ({
"--tw-border-spacing-x": i,
"@defaults border-spacing": {},
"border-spacing": "var(--tw-border-spacing-x) var(--tw-border-spacing-y)",
}),
"border-spacing-y": (i) => ({
"--tw-border-spacing-y": i,
"@defaults border-spacing": {},
"border-spacing": "var(--tw-border-spacing-x) var(--tw-border-spacing-y)",
}),
},
{ values: t("borderSpacing") }
));
},
transformOrigin: P("transformOrigin", [["origin", ["transformOrigin"]]]),
translate: P(
"translate",
[
[
["translate-x", [["@defaults transform", {}], "--tw-translate-x", ["transform", Te]]],
["translate-y", [["@defaults transform", {}], "--tw-translate-y", ["transform", Te]]],
],
],
{ supportsNegativeValues: !0 }
),
rotate: P("rotate", [["rotate", [["@defaults transform", {}], "--tw-rotate", ["transform", Te]]]], {
supportsNegativeValues: !0,
}),
skew: P(
"skew",
[
[
["skew-x", [["@defaults transform", {}], "--tw-skew-x", ["transform", Te]]],
["skew-y", [["@defaults transform", {}], "--tw-skew-y", ["transform", Te]]],
],
],
{ supportsNegativeValues: !0 }
),
scale: P(
"scale",
[
["scale", [["@defaults transform", {}], "--tw-scale-x", "--tw-scale-y", ["transform", Te]]],
[
["scale-x", [["@defaults transform", {}], "--tw-scale-x", ["transform", Te]]],
["scale-y", [["@defaults transform", {}], "--tw-scale-y", ["transform", Te]]],
],
],
{ supportsNegativeValues: !0 }
),
transform: ({ addDefaults: r, addUtilities: e }) => {
(r("transform", {
"--tw-translate-x": "0",
"--tw-translate-y": "0",
"--tw-rotate": "0",
"--tw-skew-x": "0",
"--tw-skew-y": "0",
"--tw-scale-x": "1",
"--tw-scale-y": "1",
}),
e({
".transform": { "@defaults transform": {}, transform: Te },
".transform-cpu": { transform: Te },
".transform-gpu": {
transform: Te.replace(
"translate(var(--tw-translate-x), var(--tw-translate-y))",
"translate3d(var(--tw-translate-x), var(--tw-translate-y), 0)"
),
},
".transform-none": { transform: "none" },
}));
},
animation: ({ matchUtilities: r, theme: e, config: t }) => {
let i = (a) => ce(t("prefix") + a),
n = Object.fromEntries(
Object.entries(e("keyframes") ?? {}).map(([a, s]) => [a, { [`@keyframes ${i(a)}`]: s }])
);
r(
{
animate: (a) => {
let s = Ka(a);
return [
...s.flatMap((o) => n[o.name]),
{
animation: s
.map(({ name: o, value: u }) =>
o === void 0 || n[o] === void 0 ? u : u.replace(o, i(o))
)
.join(", "),
},
];
},
},
{ values: e("animation") }
);
},
cursor: P("cursor"),
touchAction: ({ addDefaults: r, addUtilities: e }) => {
r("touch-action", { "--tw-pan-x": " ", "--tw-pan-y": " ", "--tw-pinch-zoom": " " });
let t = "var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)";
e({
".touch-auto": { "touch-action": "auto" },
".touch-none": { "touch-action": "none" },
".touch-pan-x": { "@defaults touch-action": {}, "--tw-pan-x": "pan-x", "touch-action": t },
".touch-pan-left": {
"@defaults touch-action": {},
"--tw-pan-x": "pan-left",
"touch-action": t,
},
".touch-pan-right": {
"@defaults touch-action": {},
"--tw-pan-x": "pan-right",
"touch-action": t,
},
".touch-pan-y": { "@defaults touch-action": {}, "--tw-pan-y": "pan-y", "touch-action": t },
".touch-pan-up": {
"@defaults touch-action": {},
"--tw-pan-y": "pan-up",
"touch-action": t,
},
".touch-pan-down": {
"@defaults touch-action": {},
"--tw-pan-y": "pan-down",
"touch-action": t,
},
".touch-pinch-zoom": {
"@defaults touch-action": {},
"--tw-pinch-zoom": "pinch-zoom",
"touch-action": t,
},
".touch-manipulation": { "touch-action": "manipulation" },
});
},
userSelect: ({ addUtilities: r }) => {
r({
".select-none": { "user-select": "none" },
".select-text": { "user-select": "text" },
".select-all": { "user-select": "all" },
".select-auto": { "user-select": "auto" },
});
},
resize: ({ addUtilities: r }) => {
r({
".resize-none": { resize: "none" },
".resize-y": { resize: "vertical" },
".resize-x": { resize: "horizontal" },
".resize": { resize: "both" },
});
},
scrollSnapType: ({ addDefaults: r, addUtilities: e }) => {
(r("scroll-snap-type", { "--tw-scroll-snap-strictness": "proximity" }),
e({
".snap-none": { "scroll-snap-type": "none" },
".snap-x": {
"@defaults scroll-snap-type": {},
"scroll-snap-type": "x var(--tw-scroll-snap-strictness)",
},
".snap-y": {
"@defaults scroll-snap-type": {},
"scroll-snap-type": "y var(--tw-scroll-snap-strictness)",
},
".snap-both": {
"@defaults scroll-snap-type": {},
"scroll-snap-type": "both var(--tw-scroll-snap-strictness)",
},
".snap-mandatory": { "--tw-scroll-snap-strictness": "mandatory" },
".snap-proximity": { "--tw-scroll-snap-strictness": "proximity" },
}));
},
scrollSnapAlign: ({ addUtilities: r }) => {
r({
".snap-start": { "scroll-snap-align": "start" },
".snap-end": { "scroll-snap-align": "end" },
".snap-center": { "scroll-snap-align": "center" },
".snap-align-none": { "scroll-snap-align": "none" },
});
},
scrollSnapStop: ({ addUtilities: r }) => {
r({
".snap-normal": { "scroll-snap-stop": "normal" },
".snap-always": { "scroll-snap-stop": "always" },
});
},
scrollMargin: P(
"scrollMargin",
[
["scroll-m", ["scroll-margin"]],
[
["scroll-mx", ["scroll-margin-left", "scroll-margin-right"]],
["scroll-my", ["scroll-margin-top", "scroll-margin-bottom"]],
],
[
["scroll-ms", ["scroll-margin-inline-start"]],
["scroll-me", ["scroll-margin-inline-end"]],
["scroll-mt", ["scroll-margin-top"]],
["scroll-mr", ["scroll-margin-right"]],
["scroll-mb", ["scroll-margin-bottom"]],
["scroll-ml", ["scroll-margin-left"]],
],
],
{ supportsNegativeValues: !0 }
),
scrollPadding: P("scrollPadding", [
["scroll-p", ["scroll-padding"]],
[
["scroll-px", ["scroll-padding-left", "scroll-padding-right"]],
["scroll-py", ["scroll-padding-top", "scroll-padding-bottom"]],
],
[
["scroll-ps", ["scroll-padding-inline-start"]],
["scroll-pe", ["scroll-padding-inline-end"]],
["scroll-pt", ["scroll-padding-top"]],
["scroll-pr", ["scroll-padding-right"]],
["scroll-pb", ["scroll-padding-bottom"]],
["scroll-pl", ["scroll-padding-left"]],
],
]),
listStylePosition: ({ addUtilities: r }) => {
r({
".list-inside": { "list-style-position": "inside" },
".list-outside": { "list-style-position": "outside" },
});
},
listStyleType: P("listStyleType", [["list", ["listStyleType"]]]),
listStyleImage: P("listStyleImage", [["list-image", ["listStyleImage"]]]),
appearance: ({ addUtilities: r }) => {
r({ ".appearance-none": { appearance: "none" }, ".appearance-auto": { appearance: "auto" } });
},
columns: P("columns", [["columns", ["columns"]]]),
breakBefore: ({ addUtilities: r }) => {
r({
".break-before-auto": { "break-before": "auto" },
".break-before-avoid": { "break-before": "avoid" },
".break-before-all": { "break-before": "all" },
".break-before-avoid-page": { "break-before": "avoid-page" },
".break-before-page": { "break-before": "page" },
".break-before-left": { "break-before": "left" },
".break-before-right": { "break-before": "right" },
".break-before-column": { "break-before": "column" },
});
},
breakInside: ({ addUtilities: r }) => {
r({
".break-inside-auto": { "break-inside": "auto" },
".break-inside-avoid": { "break-inside": "avoid" },
".break-inside-avoid-page": { "break-inside": "avoid-page" },
".break-inside-avoid-column": { "break-inside": "avoid-column" },
});
},
breakAfter: ({ addUtilities: r }) => {
r({
".break-after-auto": { "break-after": "auto" },
".break-after-avoid": { "break-after": "avoid" },
".break-after-all": { "break-after": "all" },
".break-after-avoid-page": { "break-after": "avoid-page" },
".break-after-page": { "break-after": "page" },
".break-after-left": { "break-after": "left" },
".break-after-right": { "break-after": "right" },
".break-after-column": { "break-after": "column" },
});
},
gridAutoColumns: P("gridAutoColumns", [["auto-cols", ["gridAutoColumns"]]]),
gridAutoFlow: ({ addUtilities: r }) => {
r({
".grid-flow-row": { gridAutoFlow: "row" },
".grid-flow-col": { gridAutoFlow: "column" },
".grid-flow-dense": { gridAutoFlow: "dense" },
".grid-flow-row-dense": { gridAutoFlow: "row dense" },
".grid-flow-col-dense": { gridAutoFlow: "column dense" },
});
},
gridAutoRows: P("gridAutoRows", [["auto-rows", ["gridAutoRows"]]]),
gridTemplateColumns: P("gridTemplateColumns", [["grid-cols", ["gridTemplateColumns"]]]),
gridTemplateRows: P("gridTemplateRows", [["grid-rows", ["gridTemplateRows"]]]),
flexDirection: ({ addUtilities: r }) => {
r({
".flex-row": { "flex-direction": "row" },
".flex-row-reverse": { "flex-direction": "row-reverse" },
".flex-col": { "flex-direction": "column" },
".flex-col-reverse": { "flex-direction": "column-reverse" },
});
},
flexWrap: ({ addUtilities: r }) => {
r({
".flex-wrap": { "flex-wrap": "wrap" },
".flex-wrap-reverse": { "flex-wrap": "wrap-reverse" },
".flex-nowrap": { "flex-wrap": "nowrap" },
});
},
placeContent: ({ addUtilities: r }) => {
r({
".place-content-center": { "place-content": "center" },
".place-content-start": { "place-content": "start" },
".place-content-end": { "place-content": "end" },
".place-content-between": { "place-content": "space-between" },
".place-content-around": { "place-content": "space-around" },
".place-content-evenly": { "place-content": "space-evenly" },
".place-content-baseline": { "place-content": "baseline" },
".place-content-stretch": { "place-content": "stretch" },
});
},
placeItems: ({ addUtilities: r }) => {
r({
".place-items-start": { "place-items": "start" },
".place-items-end": { "place-items": "end" },
".place-items-center": { "place-items": "center" },
".place-items-baseline": { "place-items": "baseline" },
".place-items-stretch": { "place-items": "stretch" },
});
},
alignContent: ({ addUtilities: r }) => {
r({
".content-normal": { "align-content": "normal" },
".content-center": { "align-content": "center" },
".content-start": { "align-content": "flex-start" },
".content-end": { "align-content": "flex-end" },
".content-between": { "align-content": "space-between" },
".content-around": { "align-content": "space-around" },
".content-evenly": { "align-content": "space-evenly" },
".content-baseline": { "align-content": "baseline" },
".content-stretch": { "align-content": "stretch" },
});
},
alignItems: ({ addUtilities: r }) => {
r({
".items-start": { "align-items": "flex-start" },
".items-end": { "align-items": "flex-end" },
".items-center": { "align-items": "center" },
".items-baseline": { "align-items": "baseline" },
".items-stretch": { "align-items": "stretch" },
});
},
justifyContent: ({ addUtilities: r }) => {
r({
".justify-normal": { "justify-content": "normal" },
".justify-start": { "justify-content": "flex-start" },
".justify-end": { "justify-content": "flex-end" },
".justify-center": { "justify-content": "center" },
".justify-between": { "justify-content": "space-between" },
".justify-around": { "justify-content": "space-around" },
".justify-evenly": { "justify-content": "space-evenly" },
".justify-stretch": { "justify-content": "stretch" },
});
},
justifyItems: ({ addUtilities: r }) => {
r({
".justify-items-start": { "justify-items": "start" },
".justify-items-end": { "justify-items": "end" },
".justify-items-center": { "justify-items": "center" },
".justify-items-stretch": { "justify-items": "stretch" },
});
},
gap: P("gap", [
["gap", ["gap"]],
[
["gap-x", ["columnGap"]],
["gap-y", ["rowGap"]],
],
]),
space: ({ matchUtilities: r, addUtilities: e, theme: t }) => {
(r(
{
"space-x": (i) => (
(i = i === "0" ? "0px" : i),
{
"& > :not([hidden]) ~ :not([hidden])": {
"--tw-space-x-reverse": "0",
"margin-right": `calc(${i} * var(--tw-space-x-reverse))`,
"margin-left": `calc(${i} * calc(1 - var(--tw-space-x-reverse)))`,
},
}
),
"space-y": (i) => (
(i = i === "0" ? "0px" : i),
{
"& > :not([hidden]) ~ :not([hidden])": {
"--tw-space-y-reverse": "0",
"margin-top": `calc(${i} * calc(1 - var(--tw-space-y-reverse)))`,
"margin-bottom": `calc(${i} * var(--tw-space-y-reverse))`,
},
}
),
},
{ values: t("space"), supportsNegativeValues: !0 }
),
e({
".space-y-reverse > :not([hidden]) ~ :not([hidden])": { "--tw-space-y-reverse": "1" },
".space-x-reverse > :not([hidden]) ~ :not([hidden])": { "--tw-space-x-reverse": "1" },
}));
},
divideWidth: ({ matchUtilities: r, addUtilities: e, theme: t }) => {
(r(
{
"divide-x": (i) => (
(i = i === "0" ? "0px" : i),
{
"& > :not([hidden]) ~ :not([hidden])": {
"@defaults border-width": {},
"--tw-divide-x-reverse": "0",
"border-right-width": `calc(${i} * var(--tw-divide-x-reverse))`,
"border-left-width": `calc(${i} * calc(1 - var(--tw-divide-x-reverse)))`,
},
}
),
"divide-y": (i) => (
(i = i === "0" ? "0px" : i),
{
"& > :not([hidden]) ~ :not([hidden])": {
"@defaults border-width": {},
"--tw-divide-y-reverse": "0",
"border-top-width": `calc(${i} * calc(1 - var(--tw-divide-y-reverse)))`,
"border-bottom-width": `calc(${i} * var(--tw-divide-y-reverse))`,
},
}
),
},
{ values: t("divideWidth"), type: ["line-width", "length", "any"] }
),
e({
".divide-y-reverse > :not([hidden]) ~ :not([hidden])": {
"@defaults border-width": {},
"--tw-divide-y-reverse": "1",
},
".divide-x-reverse > :not([hidden]) ~ :not([hidden])": {
"@defaults border-width": {},
"--tw-divide-x-reverse": "1",
},
}));
},
divideStyle: ({ addUtilities: r }) => {
r({
".divide-solid > :not([hidden]) ~ :not([hidden])": { "border-style": "solid" },
".divide-dashed > :not([hidden]) ~ :not([hidden])": { "border-style": "dashed" },
".divide-dotted > :not([hidden]) ~ :not([hidden])": { "border-style": "dotted" },
".divide-double > :not([hidden]) ~ :not([hidden])": { "border-style": "double" },
".divide-none > :not([hidden]) ~ :not([hidden])": { "border-style": "none" },
});
},
divideColor: ({ matchUtilities: r, theme: e, corePlugins: t }) => {
r(
{
divide: (i) =>
t("divideOpacity")
? {
["& > :not([hidden]) ~ :not([hidden])"]: se({
color: i,
property: "border-color",
variable: "--tw-divide-opacity",
}),
}
: { ["& > :not([hidden]) ~ :not([hidden])"]: { "border-color": N(i) } },
},
{ values: (({ DEFAULT: i, ...n }) => n)(re(e("divideColor"))), type: ["color", "any"] }
);
},
divideOpacity: ({ matchUtilities: r, theme: e }) => {
r(
{
"divide-opacity": (t) => ({
["& > :not([hidden]) ~ :not([hidden])"]: { "--tw-divide-opacity": t },
}),
},
{ values: e("divideOpacity") }
);
},
placeSelf: ({ addUtilities: r }) => {
r({
".place-self-auto": { "place-self": "auto" },
".place-self-start": { "place-self": "start" },
".place-self-end": { "place-self": "end" },
".place-self-center": { "place-self": "center" },
".place-self-stretch": { "place-self": "stretch" },
});
},
alignSelf: ({ addUtilities: r }) => {
r({
".self-auto": { "align-self": "auto" },
".self-start": { "align-self": "flex-start" },
".self-end": { "align-self": "flex-end" },
".self-center": { "align-self": "center" },
".self-stretch": { "align-self": "stretch" },
".self-baseline": { "align-self": "baseline" },
});
},
justifySelf: ({ addUtilities: r }) => {
r({
".justify-self-auto": { "justify-self": "auto" },
".justify-self-start": { "justify-self": "start" },
".justify-self-end": { "justify-self": "end" },
".justify-self-center": { "justify-self": "center" },
".justify-self-stretch": { "justify-self": "stretch" },
});
},
overflow: ({ addUtilities: r }) => {
r({
".overflow-auto": { overflow: "auto" },
".overflow-hidden": { overflow: "hidden" },
".overflow-clip": { overflow: "clip" },
".overflow-visible": { overflow: "visible" },
".overflow-scroll": { overflow: "scroll" },
".overflow-x-auto": { "overflow-x": "auto" },
".overflow-y-auto": { "overflow-y": "auto" },
".overflow-x-hidden": { "overflow-x": "hidden" },
".overflow-y-hidden": { "overflow-y": "hidden" },
".overflow-x-clip": { "overflow-x": "clip" },
".overflow-y-clip": { "overflow-y": "clip" },
".overflow-x-visible": { "overflow-x": "visible" },
".overflow-y-visible": { "overflow-y": "visible" },
".overflow-x-scroll": { "overflow-x": "scroll" },
".overflow-y-scroll": { "overflow-y": "scroll" },
});
},
overscrollBehavior: ({ addUtilities: r }) => {
r({
".overscroll-auto": { "overscroll-behavior": "auto" },
".overscroll-contain": { "overscroll-behavior": "contain" },
".overscroll-none": { "overscroll-behavior": "none" },
".overscroll-y-auto": { "overscroll-behavior-y": "auto" },
".overscroll-y-contain": { "overscroll-behavior-y": "contain" },
".overscroll-y-none": { "overscroll-behavior-y": "none" },
".overscroll-x-auto": { "overscroll-behavior-x": "auto" },
".overscroll-x-contain": { "overscroll-behavior-x": "contain" },
".overscroll-x-none": { "overscroll-behavior-x": "none" },
});
},
scrollBehavior: ({ addUtilities: r }) => {
r({
".scroll-auto": { "scroll-behavior": "auto" },
".scroll-smooth": { "scroll-behavior": "smooth" },
});
},
textOverflow: ({ addUtilities: r }) => {
r({
".truncate": { overflow: "hidden", "text-overflow": "ellipsis", "white-space": "nowrap" },
".overflow-ellipsis": { "text-overflow": "ellipsis" },
".text-ellipsis": { "text-overflow": "ellipsis" },
".text-clip": { "text-overflow": "clip" },
});
},
hyphens: ({ addUtilities: r }) => {
r({
".hyphens-none": { hyphens: "none" },
".hyphens-manual": { hyphens: "manual" },
".hyphens-auto": { hyphens: "auto" },
});
},
whitespace: ({ addUtilities: r }) => {
r({
".whitespace-normal": { "white-space": "normal" },
".whitespace-nowrap": { "white-space": "nowrap" },
".whitespace-pre": { "white-space": "pre" },
".whitespace-pre-line": { "white-space": "pre-line" },
".whitespace-pre-wrap": { "white-space": "pre-wrap" },
".whitespace-break-spaces": { "white-space": "break-spaces" },
});
},
textWrap: ({ addUtilities: r }) => {
r({
".text-wrap": { "text-wrap": "wrap" },
".text-nowrap": { "text-wrap": "nowrap" },
".text-balance": { "text-wrap": "balance" },
".text-pretty": { "text-wrap": "pretty" },
});
},
wordBreak: ({ addUtilities: r }) => {
r({
".break-normal": { "overflow-wrap": "normal", "word-break": "normal" },
".break-words": { "overflow-wrap": "break-word" },
".break-all": { "word-break": "break-all" },
".break-keep": { "word-break": "keep-all" },
});
},
borderRadius: P("borderRadius", [
["rounded", ["border-radius"]],
[
["rounded-s", ["border-start-start-radius", "border-end-start-radius"]],
["rounded-e", ["border-start-end-radius", "border-end-end-radius"]],
["rounded-t", ["border-top-left-radius", "border-top-right-radius"]],
["rounded-r", ["border-top-right-radius", "border-bottom-right-radius"]],
["rounded-b", ["border-bottom-right-radius", "border-bottom-left-radius"]],
["rounded-l", ["border-top-left-radius", "border-bottom-left-radius"]],
],
[
["rounded-ss", ["border-start-start-radius"]],
["rounded-se", ["border-start-end-radius"]],
["rounded-ee", ["border-end-end-radius"]],
["rounded-es", ["border-end-start-radius"]],
["rounded-tl", ["border-top-left-radius"]],
["rounded-tr", ["border-top-right-radius"]],
["rounded-br", ["border-bottom-right-radius"]],
["rounded-bl", ["border-bottom-left-radius"]],
],
]),
borderWidth: P(
"borderWidth",
[
["border", [["@defaults border-width", {}], "border-width"]],
[
[
"border-x",
[["@defaults border-width", {}], "border-left-width", "border-right-width"],
],
[
"border-y",
[["@defaults border-width", {}], "border-top-width", "border-bottom-width"],
],
],
[
["border-s", [["@defaults border-width", {}], "border-inline-start-width"]],
["border-e", [["@defaults border-width", {}], "border-inline-end-width"]],
["border-t", [["@defaults border-width", {}], "border-top-width"]],
["border-r", [["@defaults border-width", {}], "border-right-width"]],
["border-b", [["@defaults border-width", {}], "border-bottom-width"]],
["border-l", [["@defaults border-width", {}], "border-left-width"]],
],
],
{ type: ["line-width", "length"] }
),
borderStyle: ({ addUtilities: r }) => {
r({
".border-solid": { "border-style": "solid" },
".border-dashed": { "border-style": "dashed" },
".border-dotted": { "border-style": "dotted" },
".border-double": { "border-style": "double" },
".border-hidden": { "border-style": "hidden" },
".border-none": { "border-style": "none" },
});
},
borderColor: ({ matchUtilities: r, theme: e, corePlugins: t }) => {
(r(
{
border: (i) =>
t("borderOpacity")
? se({ color: i, property: "border-color", variable: "--tw-border-opacity" })
: { "border-color": N(i) },
},
{ values: (({ DEFAULT: i, ...n }) => n)(re(e("borderColor"))), type: ["color", "any"] }
),
r(
{
"border-x": (i) =>
t("borderOpacity")
? se({
color: i,
property: ["border-left-color", "border-right-color"],
variable: "--tw-border-opacity",
})
: { "border-left-color": N(i), "border-right-color": N(i) },
"border-y": (i) =>
t("borderOpacity")
? se({
color: i,
property: ["border-top-color", "border-bottom-color"],
variable: "--tw-border-opacity",
})
: { "border-top-color": N(i), "border-bottom-color": N(i) },
},
{ values: (({ DEFAULT: i, ...n }) => n)(re(e("borderColor"))), type: ["color", "any"] }
),
r(
{
"border-s": (i) =>
t("borderOpacity")
? se({
color: i,
property: "border-inline-start-color",
variable: "--tw-border-opacity",
})
: { "border-inline-start-color": N(i) },
"border-e": (i) =>
t("borderOpacity")
? se({
color: i,
property: "border-inline-end-color",
variable: "--tw-border-opacity",
})
: { "border-inline-end-color": N(i) },
"border-t": (i) =>
t("borderOpacity")
? se({
color: i,
property: "border-top-color",
variable: "--tw-border-opacity",
})
: { "border-top-color": N(i) },
"border-r": (i) =>
t("borderOpacity")
? se({
color: i,
property: "border-right-color",
variable: "--tw-border-opacity",
})
: { "border-right-color": N(i) },
"border-b": (i) =>
t("borderOpacity")
? se({
color: i,
property: "border-bottom-color",
variable: "--tw-border-opacity",
})
: { "border-bottom-color": N(i) },
"border-l": (i) =>
t("borderOpacity")
? se({
color: i,
property: "border-left-color",
variable: "--tw-border-opacity",
})
: { "border-left-color": N(i) },
},
{ values: (({ DEFAULT: i, ...n }) => n)(re(e("borderColor"))), type: ["color", "any"] }
));
},
borderOpacity: P("borderOpacity", [["border-opacity", ["--tw-border-opacity"]]]),
backgroundColor: ({ matchUtilities: r, theme: e, corePlugins: t }) => {
r(
{
bg: (i) =>
t("backgroundOpacity")
? se({ color: i, property: "background-color", variable: "--tw-bg-opacity" })
: { "background-color": N(i) },
},
{ values: re(e("backgroundColor")), type: ["color", "any"] }
);
},
backgroundOpacity: P("backgroundOpacity", [["bg-opacity", ["--tw-bg-opacity"]]]),
backgroundImage: P("backgroundImage", [["bg", ["background-image"]]], {
type: ["lookup", "image", "url"],
}),
gradientColorStops: (() => {
function r(e) {
return Ie(e, 0, "rgb(255 255 255 / 0)");
}
return function ({ matchUtilities: e, theme: t, addDefaults: i }) {
i("gradient-color-stops", {
"--tw-gradient-from-position": " ",
"--tw-gradient-via-position": " ",
"--tw-gradient-to-position": " ",
});
let n = { values: re(t("gradientColorStops")), type: ["color", "any"] },
a = { values: t("gradientColorStopPositions"), type: ["length", "percentage"] };
(e(
{
from: (s) => {
let o = r(s);
return {
"@defaults gradient-color-stops": {},
"--tw-gradient-from": `${N(s)} var(--tw-gradient-from-position)`,
"--tw-gradient-to": `${o} var(--tw-gradient-to-position)`,
"--tw-gradient-stops": "var(--tw-gradient-from), var(--tw-gradient-to)",
};
},
},
n
),
e({ from: (s) => ({ "--tw-gradient-from-position": s }) }, a),
e(
{
via: (s) => {
let o = r(s);
return {
"@defaults gradient-color-stops": {},
"--tw-gradient-to": `${o} var(--tw-gradient-to-position)`,
"--tw-gradient-stops": `var(--tw-gradient-from), ${N(s)} var(--tw-gradient-via-position), var(--tw-gradient-to)`,
};
},
},
n
),
e({ via: (s) => ({ "--tw-gradient-via-position": s }) }, a),
e(
{
to: (s) => ({
"@defaults gradient-color-stops": {},
"--tw-gradient-to": `${N(s)} var(--tw-gradient-to-position)`,
}),
},
n
),
e({ to: (s) => ({ "--tw-gradient-to-position": s }) }, a));
};
})(),
boxDecorationBreak: ({ addUtilities: r }) => {
r({
".decoration-slice": { "box-decoration-break": "slice" },
".decoration-clone": { "box-decoration-break": "clone" },
".box-decoration-slice": { "box-decoration-break": "slice" },
".box-decoration-clone": { "box-decoration-break": "clone" },
});
},
backgroundSize: P("backgroundSize", [["bg", ["background-size"]]], {
type: ["lookup", "length", "percentage", "size"],
}),
backgroundAttachment: ({ addUtilities: r }) => {
r({
".bg-fixed": { "background-attachment": "fixed" },
".bg-local": { "background-attachment": "local" },
".bg-scroll": { "background-attachment": "scroll" },
});
},
backgroundClip: ({ addUtilities: r }) => {
r({
".bg-clip-border": { "background-clip": "border-box" },
".bg-clip-padding": { "background-clip": "padding-box" },
".bg-clip-content": { "background-clip": "content-box" },
".bg-clip-text": { "background-clip": "text" },
});
},
backgroundPosition: P("backgroundPosition", [["bg", ["background-position"]]], {
type: ["lookup", ["position", { preferOnConflict: !0 }]],
}),
backgroundRepeat: ({ addUtilities: r }) => {
r({
".bg-repeat": { "background-repeat": "repeat" },
".bg-no-repeat": { "background-repeat": "no-repeat" },
".bg-repeat-x": { "background-repeat": "repeat-x" },
".bg-repeat-y": { "background-repeat": "repeat-y" },
".bg-repeat-round": { "background-repeat": "round" },
".bg-repeat-space": { "background-repeat": "space" },
});
},
backgroundOrigin: ({ addUtilities: r }) => {
r({
".bg-origin-border": { "background-origin": "border-box" },
".bg-origin-padding": { "background-origin": "padding-box" },
".bg-origin-content": { "background-origin": "content-box" },
});
},
fill: ({ matchUtilities: r, theme: e }) => {
r({ fill: (t) => ({ fill: N(t) }) }, { values: re(e("fill")), type: ["color", "any"] });
},
stroke: ({ matchUtilities: r, theme: e }) => {
r(
{ stroke: (t) => ({ stroke: N(t) }) },
{ values: re(e("stroke")), type: ["color", "url", "any"] }
);
},
strokeWidth: P("strokeWidth", [["stroke", ["stroke-width"]]], {
type: ["length", "number", "percentage"],
}),
objectFit: ({ addUtilities: r }) => {
r({
".object-contain": { "object-fit": "contain" },
".object-cover": { "object-fit": "cover" },
".object-fill": { "object-fit": "fill" },
".object-none": { "object-fit": "none" },
".object-scale-down": { "object-fit": "scale-down" },
});
},
objectPosition: P("objectPosition", [["object", ["object-position"]]]),
padding: P("padding", [
["p", ["padding"]],
[
["px", ["padding-left", "padding-right"]],
["py", ["padding-top", "padding-bottom"]],
],
[
["ps", ["padding-inline-start"]],
["pe", ["padding-inline-end"]],
["pt", ["padding-top"]],
["pr", ["padding-right"]],
["pb", ["padding-bottom"]],
["pl", ["padding-left"]],
],
]),
textAlign: ({ addUtilities: r }) => {
r({
".text-left": { "text-align": "left" },
".text-center": { "text-align": "center" },
".text-right": { "text-align": "right" },
".text-justify": { "text-align": "justify" },
".text-start": { "text-align": "start" },
".text-end": { "text-align": "end" },
});
},
textIndent: P("textIndent", [["indent", ["text-indent"]]], { supportsNegativeValues: !0 }),
verticalAlign: ({ addUtilities: r, matchUtilities: e }) => {
(r({
".align-baseline": { "vertical-align": "baseline" },
".align-top": { "vertical-align": "top" },
".align-middle": { "vertical-align": "middle" },
".align-bottom": { "vertical-align": "bottom" },
".align-text-top": { "vertical-align": "text-top" },
".align-text-bottom": { "vertical-align": "text-bottom" },
".align-sub": { "vertical-align": "sub" },
".align-super": { "vertical-align": "super" },
}),
e({ align: (t) => ({ "vertical-align": t }) }));
},
fontFamily: ({ matchUtilities: r, theme: e }) => {
r(
{
font: (t) => {
let [i, n = {}] = Array.isArray(t) && ie(t[1]) ? t : [t],
{ fontFeatureSettings: a, fontVariationSettings: s } = n;
return {
"font-family": Array.isArray(i) ? i.join(", ") : i,
...(a === void 0 ? {} : { "font-feature-settings": a }),
...(s === void 0 ? {} : { "font-variation-settings": s }),
};
},
},
{ values: e("fontFamily"), type: ["lookup", "generic-name", "family-name"] }
);
},
fontSize: ({ matchUtilities: r, theme: e }) => {
r(
{
text: (t, { modifier: i }) => {
let [n, a] = Array.isArray(t) ? t : [t];
if (i) return { "font-size": n, "line-height": i };
let {
lineHeight: s,
letterSpacing: o,
fontWeight: u,
} = ie(a) ? a : { lineHeight: a };
return {
"font-size": n,
...(s === void 0 ? {} : { "line-height": s }),
...(o === void 0 ? {} : { "letter-spacing": o }),
...(u === void 0 ? {} : { "font-weight": u }),
};
},
},
{
values: e("fontSize"),
modifiers: e("lineHeight"),
type: ["absolute-size", "relative-size", "length", "percentage"],
}
);
},
fontWeight: P("fontWeight", [["font", ["fontWeight"]]], { type: ["lookup", "number", "any"] }),
textTransform: ({ addUtilities: r }) => {
r({
".uppercase": { "text-transform": "uppercase" },
".lowercase": { "text-transform": "lowercase" },
".capitalize": { "text-transform": "capitalize" },
".normal-case": { "text-transform": "none" },
});
},
fontStyle: ({ addUtilities: r }) => {
r({ ".italic": { "font-style": "italic" }, ".not-italic": { "font-style": "normal" } });
},
fontVariantNumeric: ({ addDefaults: r, addUtilities: e }) => {
let t =
"var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)";
(r("font-variant-numeric", {
"--tw-ordinal": " ",
"--tw-slashed-zero": " ",
"--tw-numeric-figure": " ",
"--tw-numeric-spacing": " ",
"--tw-numeric-fraction": " ",
}),
e({
".normal-nums": { "font-variant-numeric": "normal" },
".ordinal": {
"@defaults font-variant-numeric": {},
"--tw-ordinal": "ordinal",
"font-variant-numeric": t,
},
".slashed-zero": {
"@defaults font-variant-numeric": {},
"--tw-slashed-zero": "slashed-zero",
"font-variant-numeric": t,
},
".lining-nums": {
"@defaults font-variant-numeric": {},
"--tw-numeric-figure": "lining-nums",
"font-variant-numeric": t,
},
".oldstyle-nums": {
"@defaults font-variant-numeric": {},
"--tw-numeric-figure": "oldstyle-nums",
"font-variant-numeric": t,
},
".proportional-nums": {
"@defaults font-variant-numeric": {},
"--tw-numeric-spacing": "proportional-nums",
"font-variant-numeric": t,
},
".tabular-nums": {
"@defaults font-variant-numeric": {},
"--tw-numeric-spacing": "tabular-nums",
"font-variant-numeric": t,
},
".diagonal-fractions": {
"@defaults font-variant-numeric": {},
"--tw-numeric-fraction": "diagonal-fractions",
"font-variant-numeric": t,
},
".stacked-fractions": {
"@defaults font-variant-numeric": {},
"--tw-numeric-fraction": "stacked-fractions",
"font-variant-numeric": t,
},
}));
},
lineHeight: P("lineHeight", [["leading", ["lineHeight"]]]),
letterSpacing: P("letterSpacing", [["tracking", ["letterSpacing"]]], {
supportsNegativeValues: !0,
}),
textColor: ({ matchUtilities: r, theme: e, corePlugins: t }) => {
r(
{
text: (i) =>
t("textOpacity")
? se({ color: i, property: "color", variable: "--tw-text-opacity" })
: { color: N(i) },
},
{ values: re(e("textColor")), type: ["color", "any"] }
);
},
textOpacity: P("textOpacity", [["text-opacity", ["--tw-text-opacity"]]]),
textDecoration: ({ addUtilities: r }) => {
r({
".underline": { "text-decoration-line": "underline" },
".overline": { "text-decoration-line": "overline" },
".line-through": { "text-decoration-line": "line-through" },
".no-underline": { "text-decoration-line": "none" },
});
},
textDecorationColor: ({ matchUtilities: r, theme: e }) => {
r(
{ decoration: (t) => ({ "text-decoration-color": N(t) }) },
{ values: re(e("textDecorationColor")), type: ["color", "any"] }
);
},
textDecorationStyle: ({ addUtilities: r }) => {
r({
".decoration-solid": { "text-decoration-style": "solid" },
".decoration-double": { "text-decoration-style": "double" },
".decoration-dotted": { "text-decoration-style": "dotted" },
".decoration-dashed": { "text-decoration-style": "dashed" },
".decoration-wavy": { "text-decoration-style": "wavy" },
});
},
textDecorationThickness: P(
"textDecorationThickness",
[["decoration", ["text-decoration-thickness"]]],
{ type: ["length", "percentage"] }
),
textUnderlineOffset: P("textUnderlineOffset", [["underline-offset", ["text-underline-offset"]]], {
type: ["length", "percentage", "any"],
}),
fontSmoothing: ({ addUtilities: r }) => {
r({
".antialiased": {
"-webkit-font-smoothing": "antialiased",
"-moz-osx-font-smoothing": "grayscale",
},
".subpixel-antialiased": {
"-webkit-font-smoothing": "auto",
"-moz-osx-font-smoothing": "auto",
},
});
},
placeholderColor: ({ matchUtilities: r, theme: e, corePlugins: t }) => {
r(
{
placeholder: (i) =>
t("placeholderOpacity")
? {
"&::placeholder": se({
color: i,
property: "color",
variable: "--tw-placeholder-opacity",
}),
}
: { "&::placeholder": { color: N(i) } },
},
{ values: re(e("placeholderColor")), type: ["color", "any"] }
);
},
placeholderOpacity: ({ matchUtilities: r, theme: e }) => {
r(
{
"placeholder-opacity": (t) => ({
["&::placeholder"]: { "--tw-placeholder-opacity": t },
}),
},
{ values: e("placeholderOpacity") }
);
},
caretColor: ({ matchUtilities: r, theme: e }) => {
r(
{ caret: (t) => ({ "caret-color": N(t) }) },
{ values: re(e("caretColor")), type: ["color", "any"] }
);
},
accentColor: ({ matchUtilities: r, theme: e }) => {
r(
{ accent: (t) => ({ "accent-color": N(t) }) },
{ values: re(e("accentColor")), type: ["color", "any"] }
);
},
opacity: P("opacity", [["opacity", ["opacity"]]]),
backgroundBlendMode: ({ addUtilities: r }) => {
r({
".bg-blend-normal": { "background-blend-mode": "normal" },
".bg-blend-multiply": { "background-blend-mode": "multiply" },
".bg-blend-screen": { "background-blend-mode": "screen" },
".bg-blend-overlay": { "background-blend-mode": "overlay" },
".bg-blend-darken": { "background-blend-mode": "darken" },
".bg-blend-lighten": { "background-blend-mode": "lighten" },
".bg-blend-color-dodge": { "background-blend-mode": "color-dodge" },
".bg-blend-color-burn": { "background-blend-mode": "color-burn" },
".bg-blend-hard-light": { "background-blend-mode": "hard-light" },
".bg-blend-soft-light": { "background-blend-mode": "soft-light" },
".bg-blend-difference": { "background-blend-mode": "difference" },
".bg-blend-exclusion": { "background-blend-mode": "exclusion" },
".bg-blend-hue": { "background-blend-mode": "hue" },
".bg-blend-saturation": { "background-blend-mode": "saturation" },
".bg-blend-color": { "background-blend-mode": "color" },
".bg-blend-luminosity": { "background-blend-mode": "luminosity" },
});
},
mixBlendMode: ({ addUtilities: r }) => {
r({
".mix-blend-normal": { "mix-blend-mode": "normal" },
".mix-blend-multiply": { "mix-blend-mode": "multiply" },
".mix-blend-screen": { "mix-blend-mode": "screen" },
".mix-blend-overlay": { "mix-blend-mode": "overlay" },
".mix-blend-darken": { "mix-blend-mode": "darken" },
".mix-blend-lighten": { "mix-blend-mode": "lighten" },
".mix-blend-color-dodge": { "mix-blend-mode": "color-dodge" },
".mix-blend-color-burn": { "mix-blend-mode": "color-burn" },
".mix-blend-hard-light": { "mix-blend-mode": "hard-light" },
".mix-blend-soft-light": { "mix-blend-mode": "soft-light" },
".mix-blend-difference": { "mix-blend-mode": "difference" },
".mix-blend-exclusion": { "mix-blend-mode": "exclusion" },
".mix-blend-hue": { "mix-blend-mode": "hue" },
".mix-blend-saturation": { "mix-blend-mode": "saturation" },
".mix-blend-color": { "mix-blend-mode": "color" },
".mix-blend-luminosity": { "mix-blend-mode": "luminosity" },
".mix-blend-plus-darker": { "mix-blend-mode": "plus-darker" },
".mix-blend-plus-lighter": { "mix-blend-mode": "plus-lighter" },
});
},
boxShadow: (() => {
let r = Ge("boxShadow"),
e = [
"var(--tw-ring-offset-shadow, 0 0 #0000)",
"var(--tw-ring-shadow, 0 0 #0000)",
"var(--tw-shadow)",
].join(", ");
return function ({ matchUtilities: t, addDefaults: i, theme: n }) {
(i("box-shadow", {
"--tw-ring-offset-shadow": "0 0 #0000",
"--tw-ring-shadow": "0 0 #0000",
"--tw-shadow": "0 0 #0000",
"--tw-shadow-colored": "0 0 #0000",
}),
t(
{
shadow: (a) => {
a = r(a);
let s = xi(a);
for (let o of s) !o.valid || (o.color = "var(--tw-shadow-color)");
return {
"@defaults box-shadow": {},
"--tw-shadow": a === "none" ? "0 0 #0000" : a,
"--tw-shadow-colored": a === "none" ? "0 0 #0000" : Lu(s),
"box-shadow": e,
};
},
},
{ values: n("boxShadow"), type: ["shadow"] }
));
};
})(),
boxShadowColor: ({ matchUtilities: r, theme: e }) => {
r(
{
shadow: (t) => ({
"--tw-shadow-color": N(t),
"--tw-shadow": "var(--tw-shadow-colored)",
}),
},
{ values: re(e("boxShadowColor")), type: ["color", "any"] }
);
},
outlineStyle: ({ addUtilities: r }) => {
r({
".outline-none": { outline: "2px solid transparent", "outline-offset": "2px" },
".outline": { "outline-style": "solid" },
".outline-dashed": { "outline-style": "dashed" },
".outline-dotted": { "outline-style": "dotted" },
".outline-double": { "outline-style": "double" },
});
},
outlineWidth: P("outlineWidth", [["outline", ["outline-width"]]], {
type: ["length", "number", "percentage"],
}),
outlineOffset: P("outlineOffset", [["outline-offset", ["outline-offset"]]], {
type: ["length", "number", "percentage", "any"],
supportsNegativeValues: !0,
}),
outlineColor: ({ matchUtilities: r, theme: e }) => {
r(
{ outline: (t) => ({ "outline-color": N(t) }) },
{ values: re(e("outlineColor")), type: ["color", "any"] }
);
},
ringWidth: ({ matchUtilities: r, addDefaults: e, addUtilities: t, theme: i, config: n }) => {
let a = (() => {
if (K(n(), "respectDefaultRingColorOpacity")) return i("ringColor.DEFAULT");
let s = i("ringOpacity.DEFAULT", "0.5");
return i("ringColor")?.DEFAULT
? Ie(i("ringColor")?.DEFAULT, s, `rgb(147 197 253 / ${s})`)
: `rgb(147 197 253 / ${s})`;
})();
(e("ring-width", {
"--tw-ring-inset": " ",
"--tw-ring-offset-width": i("ringOffsetWidth.DEFAULT", "0px"),
"--tw-ring-offset-color": i("ringOffsetColor.DEFAULT", "#fff"),
"--tw-ring-color": a,
"--tw-ring-offset-shadow": "0 0 #0000",
"--tw-ring-shadow": "0 0 #0000",
"--tw-shadow": "0 0 #0000",
"--tw-shadow-colored": "0 0 #0000",
}),
r(
{
ring: (s) => ({
"@defaults ring-width": {},
"--tw-ring-offset-shadow":
"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)",
"--tw-ring-shadow": `var(--tw-ring-inset) 0 0 0 calc(${s} + var(--tw-ring-offset-width)) var(--tw-ring-color)`,
"box-shadow": [
"var(--tw-ring-offset-shadow)",
"var(--tw-ring-shadow)",
"var(--tw-shadow, 0 0 #0000)",
].join(", "),
}),
},
{ values: i("ringWidth"), type: "length" }
),
t({ ".ring-inset": { "@defaults ring-width": {}, "--tw-ring-inset": "inset" } }));
},
ringColor: ({ matchUtilities: r, theme: e, corePlugins: t }) => {
r(
{
ring: (i) =>
t("ringOpacity")
? se({ color: i, property: "--tw-ring-color", variable: "--tw-ring-opacity" })
: { "--tw-ring-color": N(i) },
},
{
values: Object.fromEntries(
Object.entries(re(e("ringColor"))).filter(([i]) => i !== "DEFAULT")
),
type: ["color", "any"],
}
);
},
ringOpacity: (r) => {
let { config: e } = r;
return P("ringOpacity", [["ring-opacity", ["--tw-ring-opacity"]]], {
filterDefault: !K(e(), "respectDefaultRingColorOpacity"),
})(r);
},
ringOffsetWidth: P("ringOffsetWidth", [["ring-offset", ["--tw-ring-offset-width"]]], {
type: "length",
}),
ringOffsetColor: ({ matchUtilities: r, theme: e }) => {
r(
{ "ring-offset": (t) => ({ "--tw-ring-offset-color": N(t) }) },
{ values: re(e("ringOffsetColor")), type: ["color", "any"] }
);
},
blur: ({ matchUtilities: r, theme: e }) => {
r(
{ blur: (t) => ({ "--tw-blur": `blur(${t})`, "@defaults filter": {}, filter: Be }) },
{ values: e("blur") }
);
},
brightness: ({ matchUtilities: r, theme: e }) => {
r(
{
brightness: (t) => ({
"--tw-brightness": `brightness(${t})`,
"@defaults filter": {},
filter: Be,
}),
},
{ values: e("brightness") }
);
},
contrast: ({ matchUtilities: r, theme: e }) => {
r(
{
contrast: (t) => ({
"--tw-contrast": `contrast(${t})`,
"@defaults filter": {},
filter: Be,
}),
},
{ values: e("contrast") }
);
},
dropShadow: ({ matchUtilities: r, theme: e }) => {
r(
{
"drop-shadow": (t) => ({
"--tw-drop-shadow": Array.isArray(t)
? t.map((i) => `drop-shadow(${i})`).join(" ")
: `drop-shadow(${t})`,
"@defaults filter": {},
filter: Be,
}),
},
{ values: e("dropShadow") }
);
},
grayscale: ({ matchUtilities: r, theme: e }) => {
r(
{
grayscale: (t) => ({
"--tw-grayscale": `grayscale(${t})`,
"@defaults filter": {},
filter: Be,
}),
},
{ values: e("grayscale") }
);
},
hueRotate: ({ matchUtilities: r, theme: e }) => {
r(
{
"hue-rotate": (t) => ({
"--tw-hue-rotate": `hue-rotate(${t})`,
"@defaults filter": {},
filter: Be,
}),
},
{ values: e("hueRotate"), supportsNegativeValues: !0 }
);
},
invert: ({ matchUtilities: r, theme: e }) => {
r(
{ invert: (t) => ({ "--tw-invert": `invert(${t})`, "@defaults filter": {}, filter: Be }) },
{ values: e("invert") }
);
},
saturate: ({ matchUtilities: r, theme: e }) => {
r(
{
saturate: (t) => ({
"--tw-saturate": `saturate(${t})`,
"@defaults filter": {},
filter: Be,
}),
},
{ values: e("saturate") }
);
},
sepia: ({ matchUtilities: r, theme: e }) => {
r(
{ sepia: (t) => ({ "--tw-sepia": `sepia(${t})`, "@defaults filter": {}, filter: Be }) },
{ values: e("sepia") }
);
},
filter: ({ addDefaults: r, addUtilities: e }) => {
(r("filter", {
"--tw-blur": " ",
"--tw-brightness": " ",
"--tw-contrast": " ",
"--tw-grayscale": " ",
"--tw-hue-rotate": " ",
"--tw-invert": " ",
"--tw-saturate": " ",
"--tw-sepia": " ",
"--tw-drop-shadow": " ",
}),
e({
".filter": { "@defaults filter": {}, filter: Be },
".filter-none": { filter: "none" },
}));
},
backdropBlur: ({ matchUtilities: r, theme: e }) => {
r(
{
"backdrop-blur": (t) => ({
"--tw-backdrop-blur": `blur(${t})`,
"@defaults backdrop-filter": {},
"backdrop-filter": Fe,
}),
},
{ values: e("backdropBlur") }
);
},
backdropBrightness: ({ matchUtilities: r, theme: e }) => {
r(
{
"backdrop-brightness": (t) => ({
"--tw-backdrop-brightness": `brightness(${t})`,
"@defaults backdrop-filter": {},
"backdrop-filter": Fe,
}),
},
{ values: e("backdropBrightness") }
);
},
backdropContrast: ({ matchUtilities: r, theme: e }) => {
r(
{
"backdrop-contrast": (t) => ({
"--tw-backdrop-contrast": `contrast(${t})`,
"@defaults backdrop-filter": {},
"backdrop-filter": Fe,
}),
},
{ values: e("backdropContrast") }
);
},
backdropGrayscale: ({ matchUtilities: r, theme: e }) => {
r(
{
"backdrop-grayscale": (t) => ({
"--tw-backdrop-grayscale": `grayscale(${t})`,
"@defaults backdrop-filter": {},
"backdrop-filter": Fe,
}),
},
{ values: e("backdropGrayscale") }
);
},
backdropHueRotate: ({ matchUtilities: r, theme: e }) => {
r(
{
"backdrop-hue-rotate": (t) => ({
"--tw-backdrop-hue-rotate": `hue-rotate(${t})`,
"@defaults backdrop-filter": {},
"backdrop-filter": Fe,
}),
},
{ values: e("backdropHueRotate"), supportsNegativeValues: !0 }
);
},
backdropInvert: ({ matchUtilities: r, theme: e }) => {
r(
{
"backdrop-invert": (t) => ({
"--tw-backdrop-invert": `invert(${t})`,
"@defaults backdrop-filter": {},
"backdrop-filter": Fe,
}),
},
{ values: e("backdropInvert") }
);
},
backdropOpacity: ({ matchUtilities: r, theme: e }) => {
r(
{
"backdrop-opacity": (t) => ({
"--tw-backdrop-opacity": `opacity(${t})`,
"@defaults backdrop-filter": {},
"backdrop-filter": Fe,
}),
},
{ values: e("backdropOpacity") }
);
},
backdropSaturate: ({ matchUtilities: r, theme: e }) => {
r(
{
"backdrop-saturate": (t) => ({
"--tw-backdrop-saturate": `saturate(${t})`,
"@defaults backdrop-filter": {},
"backdrop-filter": Fe,
}),
},
{ values: e("backdropSaturate") }
);
},
backdropSepia: ({ matchUtilities: r, theme: e }) => {
r(
{
"backdrop-sepia": (t) => ({
"--tw-backdrop-sepia": `sepia(${t})`,
"@defaults backdrop-filter": {},
"backdrop-filter": Fe,
}),
},
{ values: e("backdropSepia") }
);
},
backdropFilter: ({ addDefaults: r, addUtilities: e }) => {
(r("backdrop-filter", {
"--tw-backdrop-blur": " ",
"--tw-backdrop-brightness": " ",
"--tw-backdrop-contrast": " ",
"--tw-backdrop-grayscale": " ",
"--tw-backdrop-hue-rotate": " ",
"--tw-backdrop-invert": " ",
"--tw-backdrop-opacity": " ",
"--tw-backdrop-saturate": " ",
"--tw-backdrop-sepia": " ",
}),
e({
".backdrop-filter": { "@defaults backdrop-filter": {}, "backdrop-filter": Fe },
".backdrop-filter-none": { "backdrop-filter": "none" },
}));
},
transitionProperty: ({ matchUtilities: r, theme: e }) => {
let t = e("transitionTimingFunction.DEFAULT"),
i = e("transitionDuration.DEFAULT");
r(
{
transition: (n) => ({
"transition-property": n,
...(n === "none"
? {}
: { "transition-timing-function": t, "transition-duration": i }),
}),
},
{ values: e("transitionProperty") }
);
},
transitionDelay: P("transitionDelay", [["delay", ["transitionDelay"]]]),
transitionDuration: P("transitionDuration", [["duration", ["transitionDuration"]]], {
filterDefault: !0,
}),
transitionTimingFunction: P("transitionTimingFunction", [["ease", ["transitionTimingFunction"]]], {
filterDefault: !0,
}),
willChange: P("willChange", [["will-change", ["will-change"]]]),
contain: ({ addDefaults: r, addUtilities: e }) => {
let t =
"var(--tw-contain-size) var(--tw-contain-layout) var(--tw-contain-paint) var(--tw-contain-style)";
(r("contain", {
"--tw-contain-size": " ",
"--tw-contain-layout": " ",
"--tw-contain-paint": " ",
"--tw-contain-style": " ",
}),
e({
".contain-none": { contain: "none" },
".contain-content": { contain: "content" },
".contain-strict": { contain: "strict" },
".contain-size": { "@defaults contain": {}, "--tw-contain-size": "size", contain: t },
".contain-inline-size": {
"@defaults contain": {},
"--tw-contain-size": "inline-size",
contain: t,
},
".contain-layout": {
"@defaults contain": {},
"--tw-contain-layout": "layout",
contain: t,
},
".contain-paint": {
"@defaults contain": {},
"--tw-contain-paint": "paint",
contain: t,
},
".contain-style": {
"@defaults contain": {},
"--tw-contain-style": "style",
contain: t,
},
}));
},
content: P("content", [["content", ["--tw-content", ["content", "var(--tw-content)"]]]]),
forcedColorAdjust: ({ addUtilities: r }) => {
r({
".forced-color-adjust-auto": { "forced-color-adjust": "auto" },
".forced-color-adjust-none": { "forced-color-adjust": "none" },
});
},
}));
});
function h2(r) {
if (r === void 0) return !1;
if (r === "true" || r === "1") return !0;
if (r === "false" || r === "0") return !1;
if (r === "*") return !0;
let e = r.split(",").map((t) => t.split(":")[0]);
return e.includes("-tailwindcss") ? !1 : !!e.includes("tailwindcss");
}
var Pe,
Ad,
_d,
vn,
Za,
He,
ti,
lt = C(() => {
l();
((Pe =
typeof h != "undefined"
? { NODE_ENV: "production", DEBUG: h2(h.env.DEBUG) }
: { NODE_ENV: "production", DEBUG: !1 }),
(Ad = new Map()),
(_d = new Map()),
(vn = new Map()),
(Za = new Map()),
(He = new String("*")),
(ti = Symbol("__NONE__")));
});
function zt(r) {
let e = [],
t = !1;
for (let i = 0; i < r.length; i++) {
let n = r[i];
if (n === ":" && !t && e.length === 0) return !1;
if ((m2.has(n) && r[i - 1] !== "\\" && (t = !t), !t && r[i - 1] !== "\\")) {
if (Od.has(n)) e.push(n);
else if (Ed.has(n)) {
let a = Ed.get(n);
if (e.length <= 0 || e.pop() !== a) return !1;
}
}
}
return !(e.length > 0);
}
var Od,
Ed,
m2,
eo = C(() => {
l();
((Od = new Map([
["{", "}"],
["[", "]"],
["(", ")"],
])),
(Ed = new Map(Array.from(Od.entries()).map(([r, e]) => [e, r]))),
(m2 = new Set(['"', "'", "`"])));
});
function jt(r) {
let [e] = Td(r);
return (e.forEach(([t, i]) => t.removeChild(i)), r.nodes.push(...e.map(([, t]) => t)), r);
}
function Td(r) {
let e = [],
t = null;
for (let i of r.nodes)
if (i.type === "combinator") ((e = e.filter(([, n]) => ro(n).includes("jumpable"))), (t = null));
else if (i.type === "pseudo") {
g2(i) ? ((t = i), e.push([r, i, null])) : t && y2(i, t) ? e.push([r, i, t]) : (t = null);
for (let n of i.nodes ?? []) {
let [a, s] = Td(n);
((t = s || t), e.push(...a));
}
}
return [e, t];
}
function Pd(r) {
return r.value.startsWith("::") || to[r.value] !== void 0;
}
function g2(r) {
return Pd(r) && ro(r).includes("terminal");
}
function y2(r, e) {
return r.type !== "pseudo" || Pd(r) ? !1 : ro(e).includes("actionable");
}
function ro(r) {
return to[r.value] ?? to.__default__;
}
var to,
xn = C(() => {
l();
to = {
"::after": ["terminal", "jumpable"],
"::backdrop": ["terminal", "jumpable"],
"::before": ["terminal", "jumpable"],
"::cue": ["terminal"],
"::cue-region": ["terminal"],
"::first-letter": ["terminal", "jumpable"],
"::first-line": ["terminal", "jumpable"],
"::grammar-error": ["terminal"],
"::marker": ["terminal", "jumpable"],
"::part": ["terminal", "actionable"],
"::placeholder": ["terminal", "jumpable"],
"::selection": ["terminal", "jumpable"],
"::slotted": ["terminal"],
"::spelling-error": ["terminal"],
"::target-text": ["terminal"],
"::file-selector-button": ["terminal", "actionable"],
"::deep": ["actionable"],
"::v-deep": ["actionable"],
"::ng-deep": ["actionable"],
":after": ["terminal", "jumpable"],
":before": ["terminal", "jumpable"],
":first-letter": ["terminal", "jumpable"],
":first-line": ["terminal", "jumpable"],
":where": [],
":is": [],
":has": [],
__default__: ["terminal", "actionable"],
};
});
function Vt(r, { context: e, candidate: t }) {
let i = e?.tailwindConfig.prefix ?? "",
n = r.map((s) => {
let o = (0, Le.default)().astSync(s.format);
return { ...s, ast: s.respectPrefix ? Nt(i, o) : o };
}),
a = Le.default.root({ nodes: [Le.default.selector({ nodes: [Le.default.className({ value: ce(t) })] })] });
for (let { ast: s } of n)
(([a, s] = b2(a, s)), s.walkNesting((o) => o.replaceWith(...a.nodes[0].nodes)), (a = s));
return a;
}
function Id(r) {
let e = [];
for (; r.prev() && r.prev().type !== "combinator"; ) r = r.prev();
for (; r && r.type !== "combinator"; ) (e.push(r), (r = r.next()));
return e;
}
function w2(r) {
return (
r.sort((e, t) =>
e.type === "tag" && t.type === "class"
? -1
: e.type === "class" && t.type === "tag"
? 1
: e.type === "class" && t.type === "pseudo" && t.value.startsWith("::")
? -1
: e.type === "pseudo" && e.value.startsWith("::") && t.type === "class"
? 1
: r.index(e) - r.index(t)
),
r
);
}
function no(r, e) {
let t = !1;
(r.walk((i) => {
if (i.type === "class" && i.value === e) return ((t = !0), !1);
}),
t || r.remove());
}
function kn(r, e, { context: t, candidate: i, base: n }) {
let a = t?.tailwindConfig?.separator ?? ":";
n = n ?? ae(i, a).pop();
let s = (0, Le.default)().astSync(r);
if (
(s.walkClasses((f) => {
f.raws && f.value.includes(n) && (f.raws.value = ce((0, Dd.default)(f.raws.value)));
}),
s.each((f) => no(f, n)),
s.length === 0)
)
return null;
let o = Array.isArray(e) ? Vt(e, { context: t, candidate: i }) : e;
if (o === null) return s.toString();
let u = Le.default.comment({ value: "/*__simple__*/" }),
c = Le.default.comment({ value: "/*__simple__*/" });
return (
s.walkClasses((f) => {
if (f.value !== n) return;
let d = f.parent,
p = o.nodes[0].nodes;
if (d.nodes.length === 1) {
f.replaceWith(...p);
return;
}
let m = Id(f);
(d.insertBefore(m[0], u), d.insertAfter(m[m.length - 1], c));
for (let x of p) d.insertBefore(m[0], x.clone());
(f.remove(), (m = Id(u)));
let b = d.index(u);
(d.nodes.splice(b, m.length, ...w2(Le.default.selector({ nodes: m })).nodes), u.remove(), c.remove());
}),
s.walkPseudos((f) => {
f.value === io && f.replaceWith(f.nodes);
}),
s.each((f) => jt(f)),
s.toString()
);
}
function b2(r, e) {
let t = [];
return (
r.walkPseudos((i) => {
i.value === io && t.push({ pseudo: i, value: i.nodes[0].toString() });
}),
e.walkPseudos((i) => {
if (i.value !== io) return;
let n = i.nodes[0].toString(),
a = t.find((c) => c.value === n);
if (!a) return;
let s = [],
o = i.next();
for (; o && o.type !== "combinator"; ) (s.push(o), (o = o.next()));
let u = o;
(a.pseudo.parent.insertAfter(a.pseudo, Le.default.selector({ nodes: s.map((c) => c.clone()) })),
i.remove(),
s.forEach((c) => c.remove()),
u && u.type === "combinator" && u.remove());
}),
[r, e]
);
}
var Le,
Dd,
io,
so = C(() => {
l();
((Le = X(Me())), (Dd = X(Ki())));
$t();
dn();
xn();
_t();
io = ":merge";
});
function Sn(r, e) {
let t = (0, ao.default)().astSync(r);
return (
t.each((i) => {
((i.nodes[0].type === "pseudo" &&
i.nodes[0].value === ":is" &&
i.nodes.every((a) => a.type !== "combinator")) ||
(i.nodes = [ao.default.pseudo({ value: ":is", nodes: [i.clone()] })]),
jt(i));
}),
`${e} ${t.toString()}`
);
}
var ao,
oo = C(() => {
l();
ao = X(Me());
xn();
});
function lo(r) {
return v2.transformSync(r);
}
function* x2(r) {
let e = 1 / 0;
for (; e >= 0; ) {
let t,
i = !1;
if (e === 1 / 0 && r.endsWith("]")) {
let s = r.indexOf("[");
r[s - 1] === "-" ? (t = s - 1) : r[s - 1] === "/" ? ((t = s - 1), (i = !0)) : (t = -1);
} else e === 1 / 0 && r.includes("/") ? ((t = r.lastIndexOf("/")), (i = !0)) : (t = r.lastIndexOf("-", e));
if (t < 0) break;
let n = r.slice(0, t),
a = r.slice(i ? t : t + 1);
((e = t - 1), !(n === "" || a === "/") && (yield [n, a]));
}
}
function k2(r, e) {
if (r.length === 0 || e.tailwindConfig.prefix === "") return r;
for (let t of r) {
let [i] = t;
if (i.options.respectPrefix) {
let n = j.root({ nodes: [t[1].clone()] }),
a = t[1].raws.tailwind.classCandidate;
(n.walkRules((s) => {
let o = a.startsWith("-");
s.selector = Nt(e.tailwindConfig.prefix, s.selector, o);
}),
(t[1] = n.nodes[0]));
}
}
return r;
}
function S2(r, e) {
if (r.length === 0) return r;
let t = [];
function i(n) {
return n.parent && n.parent.type === "atrule" && n.parent.name === "keyframes";
}
for (let [n, a] of r) {
let s = j.root({ nodes: [a.clone()] });
(s.walkRules((o) => {
if (i(o)) return;
let u = (0, Cn.default)().astSync(o.selector);
(u.each((c) => no(c, e)),
Ju(u, (c) => (c === e ? `!${c}` : c)),
(o.selector = u.toString()),
o.walkDecls((c) => (c.important = !0)));
}),
t.push([{ ...n, important: !0 }, s.nodes[0]]));
}
return t;
}
function C2(r, e, t) {
if (e.length === 0) return e;
let i = { modifier: null, value: ti };
{
let [n, ...a] = ae(r, "/");
if (
(a.length > 1 && ((n = n + "/" + a.slice(0, -1).join("/")), (a = a.slice(-1))),
a.length &&
!t.variantMap.has(r) &&
((r = n), (i.modifier = a[0]), !K(t.tailwindConfig, "generalizedModifiers")))
)
return [];
}
if (r.endsWith("]") && !r.startsWith("[")) {
let n = /(.)(-?)\[(.*)\]/g.exec(r);
if (n) {
let [, a, s, o] = n;
if (a === "@" && s === "-") return [];
if (a !== "@" && s === "") return [];
((r = r.replace(`${s}[${o}]`, "")), (i.value = o));
}
}
if (co(r) && !t.variantMap.has(r)) {
let n = t.offsets.recordVariant(r),
a = L(r.slice(1, -1)),
s = ae(a, ",");
if (s.length > 1) return [];
if (!s.every(En)) return [];
let o = s.map((u, c) => [t.offsets.applyParallelOffset(n, c), ri(u.trim())]);
t.variantMap.set(r, o);
}
if (t.variantMap.has(r)) {
let n = co(r),
a = t.variantOptions.get(r)?.[Zr] ?? {},
s = t.variantMap.get(r).slice(),
o = [],
u = (() => !(n || a.respectPrefix === !1))();
for (let [c, f] of e) {
if (c.layer === "user") continue;
let d = j.root({ nodes: [f.clone()] });
for (let [p, m, b] of s) {
let w = function () {
x.raws.neededBackup ||
((x.raws.neededBackup = !0),
x.walkRules((E) => (E.raws.originalSelector = E.selector)));
},
k = function (E) {
return (
w(),
x.each((I) => {
I.type === "rule" &&
(I.selectors = I.selectors.map((q) =>
E({
get className() {
return lo(q);
},
selector: q,
})
));
}),
x
);
},
x = (b ?? d).clone(),
y = [],
S = m({
get container() {
return (w(), x);
},
separator: t.tailwindConfig.separator,
modifySelectors: k,
wrap(E) {
let I = x.nodes;
(x.removeAll(), E.append(I), x.append(E));
},
format(E) {
y.push({ format: E, respectPrefix: u });
},
args: i,
});
if (Array.isArray(S)) {
for (let [E, I] of S.entries()) s.push([t.offsets.applyParallelOffset(p, E), I, x.clone()]);
continue;
}
if ((typeof S == "string" && y.push({ format: S, respectPrefix: u }), S === null)) continue;
(x.raws.neededBackup &&
(delete x.raws.neededBackup,
x.walkRules((E) => {
let I = E.raws.originalSelector;
if (!I || (delete E.raws.originalSelector, I === E.selector)) return;
let q = E.selector,
R = (0, Cn.default)((J) => {
J.walkClasses((ue) => {
ue.value = `${r}${t.tailwindConfig.separator}${ue.value}`;
});
}).processSync(I);
(y.push({ format: q.replace(R, "&"), respectPrefix: u }), (E.selector = I));
})),
(x.nodes[0].raws.tailwind = { ...x.nodes[0].raws.tailwind, parentLayer: c.layer }));
let _ = [
{
...c,
sort: t.offsets.applyVariantOffset(c.sort, p, Object.assign(i, t.variantOptions.get(r))),
collectedFormats: (c.collectedFormats ?? []).concat(y),
},
x.nodes[0],
];
o.push(_);
}
}
return o;
}
return [];
}
function uo(r, e, t = {}) {
return !ie(r) && !Array.isArray(r)
? [[r], t]
: Array.isArray(r)
? uo(r[0], e, r[1])
: (e.has(r) || e.set(r, Lt(r)), [e.get(r), t]);
}
function _2(r) {
return A2.test(r);
}
function O2(r) {
if (!r.includes("://")) return !1;
try {
let e = new URL(r);
return e.scheme !== "" && e.host !== "";
} catch (e) {
return !1;
}
}
function qd(r) {
let e = !0;
return (
r.walkDecls((t) => {
if (!Rd(t.prop, t.value)) return ((e = !1), !1);
}),
e
);
}
function Rd(r, e) {
if (O2(`${r}:${e}`)) return !1;
try {
return (j.parse(`a{${r}:${e}}`).toResult(), !0);
} catch (t) {
return !1;
}
}
function E2(r, e) {
let [, t, i] = r.match(/^\[([a-zA-Z0-9-_]+):(\S+)\]$/) ?? [];
if (i === void 0 || !_2(t) || !zt(i)) return null;
let n = L(i, { property: t });
return Rd(t, n)
? [
[
{ sort: e.offsets.arbitraryProperty(r), layer: "utilities", options: { respectImportant: !0 } },
() => ({ [Ja(r)]: { [t]: n } }),
],
]
: null;
}
function* T2(r, e) {
(e.candidateRuleMap.has(r) && (yield [e.candidateRuleMap.get(r), "DEFAULT"]),
yield* (function* (o) {
o !== null && (yield [o, "DEFAULT"]);
})(E2(r, e)));
let t = r,
i = !1,
n = e.tailwindConfig.prefix,
a = n.length,
s = t.startsWith(n) || t.startsWith(`-${n}`);
(t[a] === "-" && s && ((i = !0), (t = n + t.slice(a + 1))),
i && e.candidateRuleMap.has(t) && (yield [e.candidateRuleMap.get(t), "-DEFAULT"]));
for (let [o, u] of x2(t)) e.candidateRuleMap.has(o) && (yield [e.candidateRuleMap.get(o), i ? `-${u}` : u]);
}
function P2(r, e) {
return r === He ? [He] : ae(r, e);
}
function* D2(r, e) {
for (let t of r)
((t[1].raws.tailwind = {
...t[1].raws.tailwind,
classCandidate: e,
preserveSource: t[0].options?.preserveSource ?? !1,
}),
yield t);
}
function* fo(r, e) {
let t = e.tailwindConfig.separator,
[i, ...n] = P2(r, t).reverse(),
a = !1;
i.startsWith("!") && ((a = !0), (i = i.slice(1)));
for (let s of T2(i, e)) {
let o = [],
u = new Map(),
[c, f] = s,
d = c.length === 1;
for (let [p, m] of c) {
let b = [];
if (typeof m == "function")
for (let x of [].concat(m(f, { isOnlyPlugin: d }))) {
let [y, w] = uo(x, e.postCssNodeCache);
for (let k of y) b.push([{ ...p, options: { ...p.options, ...w } }, k]);
}
else if (f === "DEFAULT" || f === "-DEFAULT") {
let x = m,
[y, w] = uo(x, e.postCssNodeCache);
for (let k of y) b.push([{ ...p, options: { ...p.options, ...w } }, k]);
}
if (b.length > 0) {
let x = Array.from(ys(p.options?.types ?? [], f, p.options ?? {}, e.tailwindConfig)).map(
([y, w]) => w
);
(x.length > 0 && u.set(b, x), o.push(b));
}
}
if (co(f)) {
if (o.length > 1) {
let b = function (y) {
return y.length === 1
? y[0]
: y.find((w) => {
let k = u.get(w);
return w.some(([{ options: S }, _]) =>
qd(_)
? S.types.some(({ type: E, preferOnConflict: I }) => k.includes(E) && I)
: !1
);
});
},
[p, m] = o.reduce(
(y, w) => (
w.some(([{ options: S }]) => S.types.some(({ type: _ }) => _ === "any"))
? y[0].push(w)
: y[1].push(w),
y
),
[[], []]
),
x = b(m) ?? b(p);
if (x) o = [x];
else {
let y = o.map((k) => new Set([...(u.get(k) ?? [])]));
for (let k of y)
for (let S of k) {
let _ = !1;
for (let E of y) k !== E && E.has(S) && (E.delete(S), (_ = !0));
_ && k.delete(S);
}
let w = [];
for (let [k, S] of y.entries())
for (let _ of S) {
let E = o[k]
.map(([, I]) => I)
.flat()
.map((I) =>
I.toString()
.split(
`
`
)
.slice(1, -1)
.map((q) => q.trim())
.map((q) => ` ${q}`).join(`
`)
).join(`
`);
w.push(` Use \`${r.replace("[", `[${_}:`)}\` for \`${E.trim()}\``);
break;
}
F.warn([
`The class \`${r}\` is ambiguous and matches multiple utilities.`,
...w,
`If this is content and not a class, replace it with \`${r.replace("[", "&lsqb;").replace("]", "&rsqb;")}\` to silence this warning.`,
]);
continue;
}
}
o = o.map((p) => p.filter((m) => qd(m[1])));
}
((o = o.flat()), (o = Array.from(D2(o, i))), (o = k2(o, e)), a && (o = S2(o, i)));
for (let p of n) o = C2(p, o, e);
for (let p of o)
((p[1].raws.tailwind = { ...p[1].raws.tailwind, candidate: r }),
(p = I2(p, { context: e, candidate: r })),
p !== null && (yield p));
}
}
function I2(r, { context: e, candidate: t }) {
if (!r[0].collectedFormats) return r;
let i = !0,
n;
try {
n = Vt(r[0].collectedFormats, { context: e, candidate: t });
} catch {
return null;
}
let a = j.root({ nodes: [r[1].clone()] });
return (
a.walkRules((s) => {
if (!An(s))
try {
let o = kn(s.selector, n, { candidate: t, context: e });
if (o === null) {
s.remove();
return;
}
s.selector = o;
} catch {
return ((i = !1), !1);
}
}),
!i || a.nodes.length === 0 ? null : ((r[1] = a.nodes[0]), r)
);
}
function An(r) {
return r.parent && r.parent.type === "atrule" && r.parent.name === "keyframes";
}
function q2(r) {
if (r === !0)
return (e) => {
An(e) ||
e.walkDecls((t) => {
t.parent.type === "rule" && !An(t.parent) && (t.important = !0);
});
};
if (typeof r == "string")
return (e) => {
An(e) || (e.selectors = e.selectors.map((t) => Sn(t, r)));
};
}
function _n(r, e, t = !1) {
let i = [],
n = q2(e.tailwindConfig.important);
for (let a of r) {
if (e.notClassCache.has(a)) continue;
if (e.candidateRuleCache.has(a)) {
i = i.concat(Array.from(e.candidateRuleCache.get(a)));
continue;
}
let s = Array.from(fo(a, e));
if (s.length === 0) {
e.notClassCache.add(a);
continue;
}
e.classCache.set(a, s);
let o = e.candidateRuleCache.get(a) ?? new Set();
e.candidateRuleCache.set(a, o);
for (let u of s) {
let [{ sort: c, options: f }, d] = u;
if (f.respectImportant && n) {
let m = j.root({ nodes: [d.clone()] });
(m.walkRules(n), (d = m.nodes[0]));
}
let p = [c, t ? d.clone() : d];
(o.add(p), e.ruleCache.add(p), i.push(p));
}
}
return i;
}
function co(r) {
return r.startsWith("[") && r.endsWith("]");
}
var Cn,
v2,
A2,
On = C(() => {
l();
st();
Cn = X(Me());
Qa();
At();
dn();
hr();
Oe();
lt();
so();
Xa();
dr();
ei();
eo();
_t();
je();
oo();
v2 = (0, Cn.default)((r) => r.first.filter(({ type: e }) => e === "class").pop().value);
A2 = /^[a-z_-]/;
});
var Md,
Bd = C(() => {
l();
Md = {};
});
function R2(r) {
try {
return Md.createHash("md5").update(r, "utf-8").digest("binary");
} catch (e) {
return "";
}
}
function Fd(r, e) {
let t = e.toString();
if (!t.includes("@tailwind")) return !1;
let i = Za.get(r),
n = R2(t),
a = i !== n;
return (Za.set(r, n), a);
}
var Ld = C(() => {
l();
Bd();
lt();
});
function Tn(r) {
return (r > 0n) - (r < 0n);
}
var Nd = C(() => {
l();
});
function $d(r, e) {
let t = 0n,
i = 0n;
for (let [n, a] of e) r & n && ((t = t | n), (i = i | a));
return (r & ~t) | i;
}
var zd = C(() => {
l();
});
function jd(r) {
let e = null;
for (let t of r) ((e = e ?? t), (e = e > t ? e : t));
return e;
}
function M2(r, e) {
let t = r.length,
i = e.length,
n = t < i ? t : i;
for (let a = 0; a < n; a++) {
let s = r.charCodeAt(a) - e.charCodeAt(a);
if (s !== 0) return s;
}
return t - i;
}
var po,
Vd = C(() => {
l();
Nd();
zd();
po = class {
constructor() {
((this.offsets = { defaults: 0n, base: 0n, components: 0n, utilities: 0n, variants: 0n, user: 0n }),
(this.layerPositions = {
defaults: 0n,
base: 1n,
components: 2n,
utilities: 3n,
user: 4n,
variants: 5n,
}),
(this.reservedVariantBits = 0n),
(this.variantOffsets = new Map()));
}
create(e) {
return {
layer: e,
parentLayer: e,
arbitrary: 0n,
variants: 0n,
parallelIndex: 0n,
index: this.offsets[e]++,
propertyOffset: 0n,
property: "",
options: [],
};
}
arbitraryProperty(e) {
return { ...this.create("utilities"), arbitrary: 1n, property: e };
}
forVariant(e, t = 0) {
let i = this.variantOffsets.get(e);
if (i === void 0) throw new Error(`Cannot find offset for unknown variant ${e}`);
return { ...this.create("variants"), variants: i << BigInt(t) };
}
applyVariantOffset(e, t, i) {
return (
(i.variant = t.variants),
{
...e,
layer: "variants",
parentLayer: e.layer === "variants" ? e.parentLayer : e.layer,
variants: e.variants | t.variants,
options: i.sort ? [].concat(i, e.options) : e.options,
parallelIndex: jd([e.parallelIndex, t.parallelIndex]),
}
);
}
applyParallelOffset(e, t) {
return { ...e, parallelIndex: BigInt(t) };
}
recordVariants(e, t) {
for (let i of e) this.recordVariant(i, t(i));
}
recordVariant(e, t = 1) {
return (
this.variantOffsets.set(e, 1n << this.reservedVariantBits),
(this.reservedVariantBits += BigInt(t)),
{ ...this.create("variants"), variants: this.variantOffsets.get(e) }
);
}
compare(e, t) {
if (e.layer !== t.layer) return this.layerPositions[e.layer] - this.layerPositions[t.layer];
if (e.parentLayer !== t.parentLayer)
return this.layerPositions[e.parentLayer] - this.layerPositions[t.parentLayer];
for (let i of e.options)
for (let n of t.options) {
if (i.id !== n.id || !i.sort || !n.sort) continue;
let a = jd([i.variant, n.variant]) ?? 0n,
s = ~(a | (a - 1n)),
o = e.variants & s,
u = t.variants & s;
if (o !== u) continue;
let c = i.sort(
{ value: i.value, modifier: i.modifier },
{ value: n.value, modifier: n.modifier }
);
if (c !== 0) return c;
}
return e.variants !== t.variants
? e.variants - t.variants
: e.parallelIndex !== t.parallelIndex
? e.parallelIndex - t.parallelIndex
: e.arbitrary !== t.arbitrary
? e.arbitrary - t.arbitrary
: e.propertyOffset !== t.propertyOffset
? e.propertyOffset - t.propertyOffset
: e.index - t.index;
}
recalculateVariantOffsets() {
let e = Array.from(this.variantOffsets.entries())
.filter(([n]) => n.startsWith("["))
.sort(([n], [a]) => M2(n, a)),
t = e.map(([, n]) => n).sort((n, a) => Tn(n - a));
return e.map(([, n], a) => [n, t[a]]).filter(([n, a]) => n !== a);
}
remapArbitraryVariantOffsets(e) {
let t = this.recalculateVariantOffsets();
return t.length === 0
? e
: e.map((i) => {
let [n, a] = i;
return ((n = { ...n, variants: $d(n.variants, t) }), [n, a]);
});
}
sortArbitraryProperties(e) {
let t = new Set();
for (let [s] of e) s.arbitrary === 1n && t.add(s.property);
if (t.size === 0) return e;
let i = Array.from(t).sort(),
n = new Map(),
a = 1n;
for (let s of i) n.set(s, a++);
return e.map((s) => {
let [o, u] = s;
return ((o = { ...o, propertyOffset: n.get(o.property) ?? 0n }), [o, u]);
});
}
sort(e) {
return (
(e = this.remapArbitraryVariantOffsets(e)),
(e = this.sortArbitraryProperties(e)),
e.sort(([t], [i]) => Tn(this.compare(t, i)))
);
}
};
});
function yo(r, e) {
let t = r.tailwindConfig.prefix;
return typeof t == "function" ? t(e) : t + e;
}
function Wd({ type: r = "any", ...e }) {
let t = [].concat(r);
return {
...e,
types: t.map((i) => (Array.isArray(i) ? { type: i[0], ...i[1] } : { type: i, preferOnConflict: !1 })),
};
}
function B2(r) {
let e = [],
t = "",
i = 0;
for (let n = 0; n < r.length; n++) {
let a = r[n];
if (a === "\\") t += "\\" + r[++n];
else if (a === "{") (++i, e.push(t.trim()), (t = ""));
else if (a === "}") {
if (--i < 0) throw new Error("Your { and } are unbalanced.");
(e.push(t.trim()), (t = ""));
} else t += a;
}
return (t.length > 0 && e.push(t.trim()), (e = e.filter((n) => n !== "")), e);
}
function F2(r, e, { before: t = [] } = {}) {
if (((t = [].concat(t)), t.length <= 0)) {
r.push(e);
return;
}
let i = r.length - 1;
for (let n of t) {
let a = r.indexOf(n);
a !== -1 && (i = Math.min(i, a));
}
r.splice(i, 0, e);
}
function Gd(r) {
return Array.isArray(r) ? r.flatMap((e) => (!Array.isArray(e) && !ie(e) ? e : Lt(e))) : Gd([r]);
}
function L2(r, e) {
return (0, ho.default)((i) => {
let n = [];
return (
e && e(i),
i.walkClasses((a) => {
n.push(a.value);
}),
n
);
}).transformSync(r);
}
function N2(r) {
r.walkPseudos((e) => {
e.value === ":not" && e.remove();
});
}
function $2(r, e = { containsNonOnDemandable: !1 }, t = 0) {
let i = [],
n = [];
r.type === "rule" ? n.push(...r.selectors) : r.type === "atrule" && r.walkRules((a) => n.push(...a.selectors));
for (let a of n) {
let s = L2(a, N2);
s.length === 0 && (e.containsNonOnDemandable = !0);
for (let o of s) i.push(o);
}
return t === 0 ? [e.containsNonOnDemandable || i.length === 0, i] : i;
}
function Pn(r) {
return Gd(r).flatMap((e) => {
let t = new Map(),
[i, n] = $2(e);
return (i && n.unshift(He), n.map((a) => (t.has(e) || t.set(e, e), [a, t.get(e)])));
});
}
function En(r) {
return r.startsWith("@") || r.includes("&");
}
function ri(r) {
r = r
.replace(/\n+/g, "")
.replace(/\s{1,}/g, " ")
.trim();
let e = B2(r)
.map((t) => {
if (!t.startsWith("@")) return ({ format: a }) => a(t);
let [, i, n] = /@(\S*)( .+|[({].*)?/g.exec(t);
return ({ wrap: a }) => a(j.atRule({ name: i, params: n?.trim() ?? "" }));
})
.reverse();
return (t) => {
for (let i of e) i(t);
};
}
function z2(r, e, { variantList: t, variantMap: i, offsets: n, classList: a }) {
function s(p, m) {
return p ? (0, Ud.default)(r, p, m) : r;
}
function o(p) {
return Nt(r.prefix, p);
}
function u(p, m) {
return p === He ? He : m.respectPrefix ? e.tailwindConfig.prefix + p : p;
}
function c(p, m, b = {}) {
let x = Ze(p),
y = s(["theme", ...x], m);
return Ge(x[0])(y, b);
}
let f = 0,
d = {
postcss: j,
prefix: o,
e: ce,
config: s,
theme: c,
corePlugins: (p) =>
Array.isArray(r.corePlugins) ? r.corePlugins.includes(p) : s(["corePlugins", p], !0),
variants: () => [],
addBase(p) {
for (let [m, b] of Pn(p)) {
let x = u(m, {}),
y = n.create("base");
(e.candidateRuleMap.has(x) || e.candidateRuleMap.set(x, []),
e.candidateRuleMap.get(x).push([{ sort: y, layer: "base" }, b]));
}
},
addDefaults(p, m) {
let b = { [`@defaults ${p}`]: m };
for (let [x, y] of Pn(b)) {
let w = u(x, {});
(e.candidateRuleMap.has(w) || e.candidateRuleMap.set(w, []),
e.candidateRuleMap.get(w).push([{ sort: n.create("defaults"), layer: "defaults" }, y]));
}
},
addComponents(p, m) {
m = Object.assign(
{},
{ preserveSource: !1, respectPrefix: !0, respectImportant: !1 },
Array.isArray(m) ? {} : m
);
for (let [x, y] of Pn(p)) {
let w = u(x, m);
(a.add(w),
e.candidateRuleMap.has(w) || e.candidateRuleMap.set(w, []),
e.candidateRuleMap
.get(w)
.push([{ sort: n.create("components"), layer: "components", options: m }, y]));
}
},
addUtilities(p, m) {
m = Object.assign(
{},
{ preserveSource: !1, respectPrefix: !0, respectImportant: !0 },
Array.isArray(m) ? {} : m
);
for (let [x, y] of Pn(p)) {
let w = u(x, m);
(a.add(w),
e.candidateRuleMap.has(w) || e.candidateRuleMap.set(w, []),
e.candidateRuleMap
.get(w)
.push([{ sort: n.create("utilities"), layer: "utilities", options: m }, y]));
}
},
matchUtilities: function (p, m) {
m = Wd({ ...{ respectPrefix: !0, respectImportant: !0, modifiers: !1 }, ...m });
let x = n.create("utilities");
for (let y in p) {
let S = function (E, { isOnlyPlugin: I }) {
let [q, R, J] = gs(m.types, E, m, r);
if (q === void 0) return [];
if (!m.types.some(({ type: ee }) => ee === R))
if (I)
F.warn([
`Unnecessary typehint \`${R}\` in \`${y}-${E}\`.`,
`You can safely update it to \`${y}-${E.replace(R + ":", "")}\`.`,
]);
else return [];
if (!zt(q)) return [];
let ue = {
get modifier() {
return (
m.modifiers ||
F.warn(`modifier-used-without-options-for-${y}`, [
"Your plugin must set `modifiers: true` in its options to support modifiers.",
]),
J
);
},
},
de = K(r, "generalizedModifiers");
return []
.concat(de ? k(q, ue) : k(q))
.filter(Boolean)
.map((ee) => ({ [hn(y, E)]: ee }));
},
w = u(y, m),
k = p[y];
a.add([w, m]);
let _ = [{ sort: x, layer: "utilities", options: m }, S];
(e.candidateRuleMap.has(w) || e.candidateRuleMap.set(w, []), e.candidateRuleMap.get(w).push(_));
}
},
matchComponents: function (p, m) {
m = Wd({ ...{ respectPrefix: !0, respectImportant: !1, modifiers: !1 }, ...m });
let x = n.create("components");
for (let y in p) {
let S = function (E, { isOnlyPlugin: I }) {
let [q, R, J] = gs(m.types, E, m, r);
if (q === void 0) return [];
if (!m.types.some(({ type: ee }) => ee === R))
if (I)
F.warn([
`Unnecessary typehint \`${R}\` in \`${y}-${E}\`.`,
`You can safely update it to \`${y}-${E.replace(R + ":", "")}\`.`,
]);
else return [];
if (!zt(q)) return [];
let ue = {
get modifier() {
return (
m.modifiers ||
F.warn(`modifier-used-without-options-for-${y}`, [
"Your plugin must set `modifiers: true` in its options to support modifiers.",
]),
J
);
},
},
de = K(r, "generalizedModifiers");
return []
.concat(de ? k(q, ue) : k(q))
.filter(Boolean)
.map((ee) => ({ [hn(y, E)]: ee }));
},
w = u(y, m),
k = p[y];
a.add([w, m]);
let _ = [{ sort: x, layer: "components", options: m }, S];
(e.candidateRuleMap.has(w) || e.candidateRuleMap.set(w, []), e.candidateRuleMap.get(w).push(_));
}
},
addVariant(p, m, b = {}) {
((m = [].concat(m).map((x) => {
if (typeof x != "string")
return (y = {}) => {
let { args: w, modifySelectors: k, container: S, separator: _, wrap: E, format: I } = y,
q = x(
Object.assign(
{ modifySelectors: k, container: S, separator: _ },
b.type === mo.MatchVariant && { args: w, wrap: E, format: I }
)
);
if (typeof q == "string" && !En(q))
throw new Error(
`Your custom variant \`${p}\` has an invalid format string. Make sure it's an at-rule or contains a \`&\` placeholder.`
);
return Array.isArray(q)
? q.filter((R) => typeof R == "string").map((R) => ri(R))
: q && typeof q == "string" && ri(q)(y);
};
if (!En(x))
throw new Error(
`Your custom variant \`${p}\` has an invalid format string. Make sure it's an at-rule or contains a \`&\` placeholder.`
);
return ri(x);
})),
F2(t, p, b),
i.set(p, m),
e.variantOptions.set(p, b));
},
matchVariant(p, m, b) {
let x = b?.id ?? ++f,
y = p === "@",
w = K(r, "generalizedModifiers");
for (let [S, _] of Object.entries(b?.values ?? {}))
S !== "DEFAULT" &&
d.addVariant(
y ? `${p}${S}` : `${p}-${S}`,
({ args: E, container: I }) =>
m(_, w ? { modifier: E?.modifier, container: I } : { container: I }),
{ ...b, value: _, id: x, type: mo.MatchVariant, variantInfo: go.Base }
);
let k = "DEFAULT" in (b?.values ?? {});
d.addVariant(
p,
({ args: S, container: _ }) =>
S?.value === ti && !k
? null
: m(
S?.value === ti
? b.values.DEFAULT
: (S?.value ?? (typeof S == "string" ? S : "")),
w ? { modifier: S?.modifier, container: _ } : { container: _ }
),
{ ...b, id: x, type: mo.MatchVariant, variantInfo: go.Dynamic }
);
},
};
return d;
}
function Dn(r) {
return (wo.has(r) || wo.set(r, new Map()), wo.get(r));
}
function Hd(r, e) {
let t = !1,
i = new Map();
for (let n of r) {
if (!n) continue;
let a = Ss.parse(n),
s = a.hash ? a.href.replace(a.hash, "") : a.href;
s = a.search ? s.replace(a.search, "") : s;
let o = te.statSync(decodeURIComponent(s), { throwIfNoEntry: !1 })?.mtimeMs;
!o || ((!e.has(n) || o > e.get(n)) && (t = !0), i.set(n, o));
}
return [t, i];
}
function Yd(r) {
r.walkAtRules((e) => {
["responsive", "variants"].includes(e.name) && (Yd(e), e.before(e.nodes), e.remove());
});
}
function j2(r) {
let e = [];
return (
r.each((t) => {
t.type === "atrule" &&
["responsive", "variants"].includes(t.name) &&
((t.name = "layer"), (t.params = "utilities"));
}),
r.walkAtRules("layer", (t) => {
if ((Yd(t), t.params === "base")) {
for (let i of t.nodes)
e.push(function ({ addBase: n }) {
n(i, { respectPrefix: !1 });
});
t.remove();
} else if (t.params === "components") {
for (let i of t.nodes)
e.push(function ({ addComponents: n }) {
n(i, { respectPrefix: !1, preserveSource: !0 });
});
t.remove();
} else if (t.params === "utilities") {
for (let i of t.nodes)
e.push(function ({ addUtilities: n }) {
n(i, { respectPrefix: !1, preserveSource: !0 });
});
t.remove();
}
}),
e
);
}
function V2(r, e) {
let t = Object.entries({ ...H, ...Sd })
.map(([u, c]) => (r.tailwindConfig.corePlugins.includes(u) ? c : null))
.filter(Boolean),
i = r.tailwindConfig.plugins.map(
(u) => (u.__isOptionsFunction && (u = u()), typeof u == "function" ? u : u.handler)
),
n = j2(e),
a = [
H.childVariant,
H.pseudoElementVariants,
H.pseudoClassVariants,
H.hasVariants,
H.ariaVariants,
H.dataVariants,
],
s = [
H.supportsVariants,
H.reducedMotionVariants,
H.prefersContrastVariants,
H.screenVariants,
H.orientationVariants,
H.directionVariants,
H.darkVariants,
H.forcedColorsVariants,
H.printVariant,
];
return (
(r.tailwindConfig.darkMode === "class" ||
(Array.isArray(r.tailwindConfig.darkMode) && r.tailwindConfig.darkMode[0] === "class")) &&
(s = [
H.supportsVariants,
H.reducedMotionVariants,
H.prefersContrastVariants,
H.darkVariants,
H.screenVariants,
H.orientationVariants,
H.directionVariants,
H.forcedColorsVariants,
H.printVariant,
]),
[...t, ...a, ...i, ...s, ...n]
);
}
function U2(r, e) {
let t = [],
i = new Map();
e.variantMap = i;
let n = new po();
e.offsets = n;
let a = new Set(),
s = z2(e.tailwindConfig, e, { variantList: t, variantMap: i, offsets: n, classList: a });
for (let f of r)
if (Array.isArray(f)) for (let d of f) d(s);
else f?.(s);
n.recordVariants(t, (f) => i.get(f).length);
for (let [f, d] of i.entries())
e.variantMap.set(
f,
d.map((p, m) => [n.forVariant(f, m), p])
);
let o = (e.tailwindConfig.safelist ?? []).filter(Boolean);
if (o.length > 0) {
let f = [];
for (let d of o) {
if (typeof d == "string") {
e.changedContent.push({ content: d, extension: "html" });
continue;
}
if (d instanceof RegExp) {
F.warn("root-regex", [
"Regular expressions in `safelist` work differently in Tailwind CSS v3.0.",
"Update your `safelist` configuration to eliminate this warning.",
"https://tailwindcss.com/docs/content-configuration#safelisting-classes",
]);
continue;
}
f.push(d);
}
if (f.length > 0) {
let d = new Map(),
p = e.tailwindConfig.prefix.length,
m = f.some((b) => b.pattern.source.includes("!"));
for (let b of a) {
let x = Array.isArray(b)
? (() => {
let [y, w] = b,
S = Object.keys(w?.values ?? {}).map((_) => Kr(y, _));
return (
w?.supportsNegativeValues &&
((S = [...S, ...S.map((_) => "-" + _)]),
(S = [...S, ...S.map((_) => _.slice(0, p) + "-" + _.slice(p))])),
w.types.some(({ type: _ }) => _ === "color") &&
(S = [
...S,
...S.flatMap((_) =>
Object.keys(e.tailwindConfig.theme.opacity).map((E) => `${_}/${E}`)
),
]),
m && w?.respectImportant && (S = [...S, ...S.map((_) => "!" + _)]),
S
);
})()
: [b];
for (let y of x)
for (let { pattern: w, variants: k = [] } of f)
if (((w.lastIndex = 0), d.has(w) || d.set(w, 0), !!w.test(y))) {
(d.set(w, d.get(w) + 1), e.changedContent.push({ content: y, extension: "html" }));
for (let S of k)
e.changedContent.push({
content: S + e.tailwindConfig.separator + y,
extension: "html",
});
}
}
for (let [b, x] of d.entries())
x === 0 &&
F.warn([
`The safelist pattern \`${b}\` doesn't match any Tailwind CSS classes.`,
"Fix this pattern or remove it from your `safelist` configuration.",
"https://tailwindcss.com/docs/content-configuration#safelisting-classes",
]);
}
}
let u = [].concat(e.tailwindConfig.darkMode ?? "media")[1] ?? "dark",
c = [yo(e, u), yo(e, "group"), yo(e, "peer")];
((e.getClassOrder = function (d) {
let p = [...d].sort((y, w) => (y === w ? 0 : y < w ? -1 : 1)),
m = new Map(p.map((y) => [y, null])),
b = _n(new Set(p), e, !0);
b = e.offsets.sort(b);
let x = BigInt(c.length);
for (let [, y] of b) {
let w = y.raws.tailwind.candidate;
m.set(w, m.get(w) ?? x++);
}
return d.map((y) => {
let w = m.get(y) ?? null,
k = c.indexOf(y);
return (w === null && k !== -1 && (w = BigInt(k)), [y, w]);
});
}),
(e.getClassList = function (d = {}) {
let p = [];
for (let m of a)
if (Array.isArray(m)) {
let [b, x] = m,
y = [],
w = Object.keys(x?.modifiers ?? {});
x?.types?.some(({ type: _ }) => _ === "color") &&
w.push(...Object.keys(e.tailwindConfig.theme.opacity ?? {}));
let k = { modifiers: w },
S = d.includeMetadata && w.length > 0;
for (let [_, E] of Object.entries(x?.values ?? {})) {
if (E == null) continue;
let I = Kr(b, _);
if ((p.push(S ? [I, k] : I), x?.supportsNegativeValues && Ke(E))) {
let q = Kr(b, `-${_}`);
y.push(S ? [q, k] : q);
}
}
p.push(...y);
} else p.push(m);
return p;
}),
(e.getVariants = function () {
let d = Math.random().toString(36).substring(7).toUpperCase(),
p = [];
for (let [m, b] of e.variantOptions.entries())
b.variantInfo !== go.Base &&
p.push({
name: m,
isArbitrary: b.type === Symbol.for("MATCH_VARIANT"),
values: Object.keys(b.values ?? {}),
hasDash: m !== "@",
selectors({ modifier: x, value: y } = {}) {
let w = `TAILWINDPLACEHOLDER${d}`,
k = j.rule({ selector: `.${w}` }),
S = j.root({ nodes: [k.clone()] }),
_ = S.toString(),
E = (e.variantMap.get(m) ?? []).flatMap(([oe, he]) => he),
I = [];
for (let oe of E) {
let he = [],
ui = {
args: { modifier: x, value: b.values?.[y] ?? y },
separator: e.tailwindConfig.separator,
modifySelectors(Ce) {
return (
S.each((ts) => {
ts.type === "rule" &&
(ts.selectors = ts.selectors.map((mu) =>
Ce({
get className() {
return lo(mu);
},
selector: mu,
})
));
}),
S
);
},
format(Ce) {
he.push(Ce);
},
wrap(Ce) {
he.push(`@${Ce.name} ${Ce.params} { & }`);
},
container: S,
},
fi = oe(ui);
if ((he.length > 0 && I.push(he), Array.isArray(fi)))
for (let Ce of fi) ((he = []), Ce(ui), I.push(he));
}
let q = [],
R = S.toString();
_ !== R &&
(S.walkRules((oe) => {
let he = oe.selector,
ui = (0, ho.default)((fi) => {
fi.walkClasses((Ce) => {
Ce.value = `${m}${e.tailwindConfig.separator}${Ce.value}`;
});
}).processSync(he);
q.push(he.replace(ui, "&").replace(w, "&"));
}),
S.walkAtRules((oe) => {
q.push(`@${oe.name} (${oe.params}) { & }`);
}));
let J = !(y in (b.values ?? {})),
ue = b[Zr] ?? {},
de = (() => !(J || ue.respectPrefix === !1))();
((I = I.map((oe) => oe.map((he) => ({ format: he, respectPrefix: de })))),
(q = q.map((oe) => ({ format: oe, respectPrefix: de }))));
let De = { candidate: w, context: e },
ee = I.map((oe) =>
kn(`.${w}`, Vt(oe, De), De).replace(`.${w}`, "&").replace("{ & }", "").trim()
);
return (q.length > 0 && ee.push(Vt(q, De).toString().replace(`.${w}`, "&")), ee);
},
});
return p;
}));
}
function Qd(r, e) {
!r.classCache.has(e) ||
(r.notClassCache.add(e),
r.classCache.delete(e),
r.applyClassCache.delete(e),
r.candidateRuleMap.delete(e),
r.candidateRuleCache.delete(e),
(r.stylesheetCache = null));
}
function W2(r, e) {
let t = e.raws.tailwind.candidate;
if (!!t) {
for (let i of r.ruleCache) i[1].raws.tailwind.candidate === t && r.ruleCache.delete(i);
Qd(r, t);
}
}
function bo(r, e = [], t = j.root()) {
let i = {
disposables: [],
ruleCache: new Set(),
candidateRuleCache: new Map(),
classCache: new Map(),
applyClassCache: new Map(),
notClassCache: new Set(r.blocklist ?? []),
postCssNodeCache: new Map(),
candidateRuleMap: new Map(),
tailwindConfig: r,
changedContent: e,
variantMap: new Map(),
stylesheetCache: null,
variantOptions: new Map(),
markInvalidUtilityCandidate: (a) => Qd(i, a),
markInvalidUtilityNode: (a) => W2(i, a),
},
n = V2(i, t);
return (U2(n, i), i);
}
function Jd(r, e, t, i, n, a) {
let s = e.opts.from,
o = i !== null;
Pe.DEBUG && console.log("Source path:", s);
let u;
if (o && Ut.has(s)) u = Ut.get(s);
else if (ii.has(n)) {
let p = ii.get(n);
(ut.get(p).add(s), Ut.set(s, p), (u = p));
}
let c = Fd(s, r);
if (u) {
let [p, m] = Hd([...a], Dn(u));
if (!p && !c) return [u, !1, m];
}
if (Ut.has(s)) {
let p = Ut.get(s);
if (ut.has(p) && (ut.get(p).delete(s), ut.get(p).size === 0)) {
ut.delete(p);
for (let [m, b] of ii) b === p && ii.delete(m);
for (let m of p.disposables.splice(0)) m(p);
}
}
Pe.DEBUG && console.log("Setting up new context...");
let f = bo(t, [], r);
Object.assign(f, { userConfigPath: i });
let [, d] = Hd([...a], Dn(f));
return (ii.set(n, f), Ut.set(s, f), ut.has(f) || ut.set(f, new Set()), ut.get(f).add(s), [f, !0, d]);
}
var Ud,
ho,
Zr,
mo,
go,
wo,
Ut,
ii,
ut,
ei = C(() => {
l();
ze();
Cs();
st();
((Ud = X(Gs())), (ho = X(Me())));
Jr();
Qa();
dn();
At();
$t();
Xa();
hr();
Cd();
lt();
lt();
gi();
Oe();
di();
eo();
On();
Ld();
Vd();
je();
so();
((Zr = Symbol()),
(mo = { AddVariant: Symbol.for("ADD_VARIANT"), MatchVariant: Symbol.for("MATCH_VARIANT") }),
(go = { Base: 1 << 0, Dynamic: 1 << 1 }));
wo = new WeakMap();
((Ut = Ad), (ii = _d), (ut = vn));
});
function vo(r) {
return r.ignore
? []
: r.glob
? h.env.ROLLUP_WATCH === "true"
? [{ type: "dependency", file: r.base }]
: [{ type: "dir-dependency", dir: r.base, glob: r.glob }]
: [{ type: "dependency", file: r.base }];
}
var Xd = C(() => {
l();
});
function Kd(r, e) {
return { handler: r, config: e };
}
var Zd,
eh = C(() => {
l();
Kd.withOptions = function (r, e = () => ({})) {
let t = function (i) {
return { __options: i, handler: r(i), config: e(i) };
};
return ((t.__isOptionsFunction = !0), (t.__pluginFunction = r), (t.__configFunction = e), t);
};
Zd = Kd;
});
var In = {};
Ae(In, { default: () => G2 });
var G2,
qn = C(() => {
l();
eh();
G2 = Zd;
});
var rh = v((M6, th) => {
l();
var H2 = (qn(), In).default,
Y2 = { overflow: "hidden", display: "-webkit-box", "-webkit-box-orient": "vertical" },
Q2 = H2(
function ({ matchUtilities: r, addUtilities: e, theme: t, variants: i }) {
let n = t("lineClamp");
(r({ "line-clamp": (a) => ({ ...Y2, "-webkit-line-clamp": `${a}` }) }, { values: n }),
e([{ ".line-clamp-none": { "-webkit-line-clamp": "unset" } }], i("lineClamp")));
},
{
theme: { lineClamp: { 1: "1", 2: "2", 3: "3", 4: "4", 5: "5", 6: "6" } },
variants: { lineClamp: ["responsive"] },
}
);
th.exports = Q2;
});
function xo(r) {
r.content.files.length === 0 &&
F.warn("content-problems", [
"The `content` option in your Tailwind CSS configuration is missing or empty.",
"Configure your content sources or your generated CSS will be missing styles.",
"https://tailwindcss.com/docs/content-configuration",
]);
try {
let e = rh();
r.plugins.includes(e) &&
(F.warn("line-clamp-in-core", [
"As of Tailwind CSS v3.3, the `@tailwindcss/line-clamp` plugin is now included by default.",
"Remove it from the `plugins` array in your configuration to eliminate this warning.",
]),
(r.plugins = r.plugins.filter((t) => t !== e)));
} catch {}
return r;
}
var ih = C(() => {
l();
Oe();
});
var nh,
sh = C(() => {
l();
nh = () => !1;
});
var Rn,
ah = C(() => {
l();
Rn = {
sync: (r) => [].concat(r),
generateTasks: (r) => [
{ dynamic: !1, base: ".", negative: [], positive: [].concat(r), patterns: [].concat(r) },
],
escapePath: (r) => r,
};
});
var ko,
oh = C(() => {
l();
ko = (r) => r;
});
var lh,
uh = C(() => {
l();
lh = () => "";
});
function fh(r) {
let e = r,
t = lh(r);
return (
t !== "." && ((e = r.substr(t.length)), e.charAt(0) === "/" && (e = e.substr(1))),
e.substr(0, 2) === "./" && (e = e.substr(2)),
e.charAt(0) === "/" && (e = e.substr(1)),
{ base: t, glob: e }
);
}
var ch = C(() => {
l();
uh();
});
function ph(r, e) {
let t = e.content.files;
((t = t.filter((o) => typeof o == "string")), (t = t.map(ko)));
let i = Rn.generateTasks(t),
n = [],
a = [];
for (let o of i) (n.push(...o.positive.map((u) => dh(u, !1))), a.push(...o.negative.map((u) => dh(u, !0))));
let s = [...n, ...a];
return ((s = X2(r, s)), (s = s.flatMap(K2)), (s = s.map(J2)), s);
}
function dh(r, e) {
let t = { original: r, base: r, ignore: e, pattern: r, glob: null };
return (nh(r) && Object.assign(t, fh(r)), t);
}
function J2(r) {
let e = ko(r.base);
return (
(e = Rn.escapePath(e)),
(r.pattern = r.glob ? `${e}/${r.glob}` : e),
(r.pattern = r.ignore ? `!${r.pattern}` : r.pattern),
r
);
}
function X2(r, e) {
let t = [];
return (
r.userConfigPath && r.tailwindConfig.content.relative && (t = [Z.dirname(r.userConfigPath)]),
e.map((i) => ((i.base = Z.resolve(...t, i.base)), i))
);
}
function K2(r) {
let e = [r];
try {
let t = te.realpathSync(r.base);
t !== r.base && e.push({ ...r, base: t });
} catch {}
return e;
}
function hh(r, e, t) {
let i = r.tailwindConfig.content.files
.filter((s) => typeof s.raw == "string")
.map(({ raw: s, extension: o = "html" }) => ({ content: s, extension: o })),
[n, a] = Z2(e, t);
for (let s of n) {
let o = Z.extname(s).slice(1);
i.push({ file: s, extension: o });
}
return [i, a];
}
function Z2(r, e) {
let t = r.map((s) => s.pattern),
i = new Map(),
n = new Set();
Pe.DEBUG && console.time("Finding changed files");
let a = Rn.sync(t, { absolute: !0 });
for (let s of a) {
let o = e.get(s) || -1 / 0,
u = te.statSync(s).mtimeMs;
u > o && (n.add(s), i.set(s, u));
}
return (Pe.DEBUG && console.timeEnd("Finding changed files"), [n, i]);
}
var mh = C(() => {
l();
ze();
bt();
sh();
ah();
oh();
ch();
lt();
});
function gh() {}
var yh = C(() => {
l();
});
function iC(r, e) {
for (let t of e) {
let i = `${r}${t}`;
if (te.existsSync(i) && te.statSync(i).isFile()) return i;
}
for (let t of e) {
let i = `${r}/index${t}`;
if (te.existsSync(i)) return i;
}
return null;
}
function* wh(r, e, t, i = Z.extname(r)) {
let n = iC(Z.resolve(e, r), eC.includes(i) ? tC : rC);
if (n === null || t.has(n)) return;
(t.add(n), yield n, (e = Z.dirname(n)), (i = Z.extname(n)));
let a = te.readFileSync(n, "utf-8");
for (let s of [
...a.matchAll(/import[\s\S]*?['"](.{3,}?)['"]/gi),
...a.matchAll(/import[\s\S]*from[\s\S]*?['"](.{3,}?)['"]/gi),
...a.matchAll(/require\(['"`](.+)['"`]\)/gi),
])
!s[1].startsWith(".") || (yield* wh(s[1], e, t, i));
}
function So(r) {
return r === null ? new Set() : new Set(wh(r, Z.dirname(r), new Set()));
}
var eC,
tC,
rC,
bh = C(() => {
l();
ze();
bt();
((eC = [".js", ".cjs", ".mjs"]),
(tC = ["", ".js", ".cjs", ".mjs", ".ts", ".cts", ".mts", ".jsx", ".tsx"]),
(rC = ["", ".ts", ".cts", ".mts", ".tsx", ".js", ".cjs", ".mjs", ".jsx"]));
});
function nC(r, e) {
if (Co.has(r)) return Co.get(r);
let t = ph(r, e);
return Co.set(r, t).get(r);
}
function sC(r) {
let e = ks(r);
if (e !== null) {
let [i, n, a, s] = xh.get(e) || [],
o = So(e),
u = !1,
c = new Map();
for (let p of o) {
let m = te.statSync(p).mtimeMs;
(c.set(p, m), (!s || !s.has(p) || m > s.get(p)) && (u = !0));
}
if (!u) return [i, e, n, a];
for (let p of o) delete yu.cache[p];
let f = xo(gr(gh(e))),
d = pi(f);
return (xh.set(e, [f, d, o, c]), [f, e, d, o]);
}
let t = gr(r?.config ?? r ?? {});
return ((t = xo(t)), [t, null, pi(t), []]);
}
function Ao(r) {
return ({ tailwindDirectives: e, registerDependency: t }) =>
(i, n) => {
let [a, s, o, u] = sC(r),
c = new Set(u);
if (e.size > 0) {
c.add(n.opts.from);
for (let b of n.messages) b.type === "dependency" && c.add(b.file);
}
let [f, , d] = Jd(i, n, a, s, o, c),
p = Dn(f),
m = nC(f, a);
if (e.size > 0) {
for (let y of m) for (let w of vo(y)) t(w);
let [b, x] = hh(f, m, p);
for (let y of b) f.changedContent.push(y);
for (let [y, w] of x.entries()) d.set(y, w);
}
for (let b of u) t({ type: "dependency", file: b });
for (let [b, x] of d.entries()) p.set(b, x);
return f;
};
}
var vh,
xh,
Co,
kh = C(() => {
l();
ze();
vh = X(rs());
ku();
xs();
cf();
ei();
Xd();
ih();
mh();
yh();
bh();
((xh = new vh.default({ maxSize: 100 })), (Co = new WeakMap()));
});
function _o(r) {
let e = new Set(),
t = new Set(),
i = new Set();
if (
(r.walkAtRules((n) => {
(n.name === "apply" && i.add(n),
n.name === "import" &&
(n.params === '"tailwindcss/base"' || n.params === "'tailwindcss/base'"
? ((n.name = "tailwind"), (n.params = "base"))
: n.params === '"tailwindcss/components"' || n.params === "'tailwindcss/components'"
? ((n.name = "tailwind"), (n.params = "components"))
: n.params === '"tailwindcss/utilities"' || n.params === "'tailwindcss/utilities'"
? ((n.name = "tailwind"), (n.params = "utilities"))
: (n.params === '"tailwindcss/screens"' ||
n.params === "'tailwindcss/screens'" ||
n.params === '"tailwindcss/variants"' ||
n.params === "'tailwindcss/variants'") &&
((n.name = "tailwind"), (n.params = "variants"))),
n.name === "tailwind" && (n.params === "screens" && (n.params = "variants"), e.add(n.params)),
["layer", "responsive", "variants"].includes(n.name) &&
(["responsive", "variants"].includes(n.name) &&
F.warn(`${n.name}-at-rule-deprecated`, [
`The \`@${n.name}\` directive has been deprecated in Tailwind CSS v3.0.`,
"Use `@layer utilities` or `@layer components` instead.",
"https://tailwindcss.com/docs/upgrade-guide#replace-variants-with-layer",
]),
t.add(n)));
}),
!e.has("base") || !e.has("components") || !e.has("utilities"))
) {
for (let n of t)
if (n.name === "layer" && ["base", "components", "utilities"].includes(n.params)) {
if (!e.has(n.params))
throw n.error(
`\`@layer ${n.params}\` is used but no matching \`@tailwind ${n.params}\` directive is present.`
);
} else if (n.name === "responsive") {
if (!e.has("utilities"))
throw n.error("`@responsive` is used but `@tailwind utilities` is missing.");
} else if (n.name === "variants" && !e.has("utilities"))
throw n.error("`@variants` is used but `@tailwind utilities` is missing.");
}
return { tailwindDirectives: e, applyDirectives: i };
}
var Sh = C(() => {
l();
Oe();
});
function St(r, e = void 0, t = void 0) {
return r.map((i) => {
let n = i.clone();
return (
t !== void 0 && (n.raws.tailwind = { ...n.raws.tailwind, ...t }),
e !== void 0 &&
Ch(n, (a) => {
if (a.raws.tailwind?.preserveSource === !0 && a.source) return !1;
a.source = e;
}),
n
);
});
}
function Ch(r, e) {
e(r) !== !1 && r.each?.((t) => Ch(t, e));
}
var Ah = C(() => {
l();
});
function Oo(r) {
return ((r = Array.isArray(r) ? r : [r]), (r = r.map((e) => (e instanceof RegExp ? e.source : e))), r.join(""));
}
function ye(r) {
return new RegExp(Oo(r), "g");
}
function ft(r) {
return `(?:${r.map(Oo).join("|")})`;
}
function Eo(r) {
return `(?:${Oo(r)})?`;
}
function Oh(r) {
return r && aC.test(r) ? r.replace(_h, "\\$&") : r || "";
}
var _h,
aC,
Eh = C(() => {
l();
((_h = /[\\^$.*+?()[\]{}|]/g), (aC = RegExp(_h.source)));
});
function Th(r) {
let e = Array.from(oC(r));
return (t) => {
let i = [];
for (let n of e) for (let a of t.match(n) ?? []) i.push(fC(a));
return i;
};
}
function* oC(r) {
let e = r.tailwindConfig.separator,
t = r.tailwindConfig.prefix !== "" ? Eo(ye([/-?/, Oh(r.tailwindConfig.prefix)])) : "",
i = ft([
/\[[^\s:'"`]+:[^\s\[\]]+\]/,
/\[[^\s:'"`\]]+:[^\s]+?\[[^\s]+\][^\s]+?\]/,
ye([
ft([/-?(?:\w+)/, /@(?:\w+)/]),
Eo(
ft([
ye([
ft([
/-(?:\w+-)*\['[^\s]+'\]/,
/-(?:\w+-)*\["[^\s]+"\]/,
/-(?:\w+-)*\[`[^\s]+`\]/,
/-(?:\w+-)*\[(?:[^\s\[\]]+\[[^\s\[\]]+\])*[^\s:\[\]]+\]/,
]),
/(?![{([]])/,
/(?:\/[^\s'"`\\><$]*)?/,
]),
ye([
ft([
/-(?:\w+-)*\['[^\s]+'\]/,
/-(?:\w+-)*\["[^\s]+"\]/,
/-(?:\w+-)*\[`[^\s]+`\]/,
/-(?:\w+-)*\[(?:[^\s\[\]]+\[[^\s\[\]]+\])*[^\s\[\]]+\]/,
]),
/(?![{([]])/,
/(?:\/[^\s'"`\\$]*)?/,
]),
/[-\/][^\s'"`\\$={><]*/,
])
),
]),
]),
n = [
ft([
ye([/@\[[^\s"'`]+\](\/[^\s"'`]+)?/, e]),
ye([/([^\s"'`\[\\]+-)?\[[^\s"'`]+\]\/[\w_-]+/, e]),
ye([/([^\s"'`\[\\]+-)?\[[^\s"'`]+\]/, e]),
ye([/[^\s"'`\[\\]+/, e]),
]),
ft([
ye([/([^\s"'`\[\\]+-)?\[[^\s`]+\]\/[\w_-]+/, e]),
ye([/([^\s"'`\[\\]+-)?\[[^\s`]+\]/, e]),
ye([/[^\s`\[\\]+/, e]),
]),
];
for (let a of n) yield ye(["((?=((", a, ")+))\\2)?", /!?/, t, i]);
yield /[^<>"'`\s.(){}[\]#=%$]*[^<>"'`\s.(){}[\]#=%:$]/g;
}
function fC(r) {
if (!r.includes("-[")) return r;
let e = 0,
t = [],
i = r.matchAll(lC);
i = Array.from(i).flatMap((n) => {
let [, ...a] = n;
return a.map((s, o) => Object.assign([], n, { index: n.index + o, 0: s }));
});
for (let n of i) {
let a = n[0],
s = t[t.length - 1];
if ((a === s ? t.pop() : (a === "'" || a === '"' || a === "`") && t.push(a), !s)) {
if (a === "[") {
e++;
continue;
} else if (a === "]") {
e--;
continue;
}
if (e < 0) return r.substring(0, n.index - 1);
if (e === 0 && !uC.test(a)) return r.substring(0, n.index);
}
}
return r;
}
var lC,
uC,
Ph = C(() => {
l();
Eh();
((lC = /([\[\]'"`])([^\[\]'"`])?/g), (uC = /[^"'`\s<>\]]+/));
});
function cC(r, e) {
let t = r.tailwindConfig.content.extract;
return t[e] || t.DEFAULT || Ih[e] || Ih.DEFAULT(r);
}
function pC(r, e) {
let t = r.content.transform;
return t[e] || t.DEFAULT || qh[e] || qh.DEFAULT;
}
function dC(r, e, t, i) {
ni.has(e) || ni.set(e, new Dh.default({ maxSize: 25e3 }));
for (let n of r.split(`
`))
if (((n = n.trim()), !i.has(n)))
if ((i.add(n), ni.get(e).has(n))) for (let a of ni.get(e).get(n)) t.add(a);
else {
let a = e(n).filter((o) => o !== "!*"),
s = new Set(a);
for (let o of s) t.add(o);
ni.get(e).set(n, s);
}
}
function hC(r, e) {
let t = e.offsets.sort(r),
i = {
base: new Set(),
defaults: new Set(),
components: new Set(),
utilities: new Set(),
variants: new Set(),
};
for (let [n, a] of t) i[n.layer].add(a);
return i;
}
function To(r) {
return async (e) => {
let t = { base: null, components: null, utilities: null, variants: null };
if (
(e.walkAtRules((y) => {
y.name === "tailwind" && Object.keys(t).includes(y.params) && (t[y.params] = y);
}),
Object.values(t).every((y) => y === null))
)
return e;
let i = new Set([...(r.candidates ?? []), He]),
n = new Set();
Ye.DEBUG && console.time("Reading changed files");
let a = [];
for (let y of r.changedContent) {
let w = pC(r.tailwindConfig, y.extension),
k = cC(r, y.extension);
a.push([y, { transformer: w, extractor: k }]);
}
let s = 500;
for (let y = 0; y < a.length; y += s) {
let w = a.slice(y, y + s);
await Promise.all(
w.map(async ([{ file: k, content: S }, { transformer: _, extractor: E }]) => {
((S = k ? await te.promises.readFile(k, "utf8") : S), dC(_(S), E, i, n));
})
);
}
Ye.DEBUG && console.timeEnd("Reading changed files");
let o = r.classCache.size;
(Ye.DEBUG && console.time("Generate rules"), Ye.DEBUG && console.time("Sorting candidates"));
let u = new Set([...i].sort((y, w) => (y === w ? 0 : y < w ? -1 : 1)));
(Ye.DEBUG && console.timeEnd("Sorting candidates"),
_n(u, r),
Ye.DEBUG && console.timeEnd("Generate rules"),
Ye.DEBUG && console.time("Build stylesheet"),
(r.stylesheetCache === null || r.classCache.size !== o) &&
(r.stylesheetCache = hC([...r.ruleCache], r)),
Ye.DEBUG && console.timeEnd("Build stylesheet"));
let { defaults: c, base: f, components: d, utilities: p, variants: m } = r.stylesheetCache;
(t.base && (t.base.before(St([...f, ...c], t.base.source, { layer: "base" })), t.base.remove()),
t.components &&
(t.components.before(St([...d], t.components.source, { layer: "components" })),
t.components.remove()),
t.utilities &&
(t.utilities.before(St([...p], t.utilities.source, { layer: "utilities" })), t.utilities.remove()));
let b = Array.from(m).filter((y) => {
let w = y.raws.tailwind?.parentLayer;
return w === "components" ? t.components !== null : w === "utilities" ? t.utilities !== null : !0;
});
(t.variants
? (t.variants.before(St(b, t.variants.source, { layer: "variants" })), t.variants.remove())
: b.length > 0 && e.append(St(b, e.source, { layer: "variants" })),
(e.source.end = e.source.end ?? e.source.start));
let x = b.some((y) => y.raws.tailwind?.parentLayer === "utilities");
(t.utilities &&
p.size === 0 &&
!x &&
F.warn("content-problems", [
"No utility classes were detected in your source files. If this is unexpected, double-check the `content` option in your Tailwind CSS configuration.",
"https://tailwindcss.com/docs/content-configuration",
]),
Ye.DEBUG && (console.log("Potential classes: ", i.size), console.log("Active contexts: ", vn.size)),
(r.changedContent = []),
e.walkAtRules("layer", (y) => {
Object.keys(t).includes(y.params) && y.remove();
}));
};
}
var Dh,
Ye,
Ih,
qh,
ni,
Rh = C(() => {
l();
ze();
Dh = X(rs());
lt();
On();
Oe();
Ah();
Ph();
((Ye = Pe),
(Ih = { DEFAULT: Th }),
(qh = { DEFAULT: (r) => r, svelte: (r) => r.replace(/(?:^|\s)class:/g, " ") }));
ni = new WeakMap();
});
function Bn(r) {
let e = new Map();
j.root({ nodes: [r.clone()] }).walkRules((a) => {
(0, Mn.default)((s) => {
s.walkClasses((o) => {
let u = o.parent.toString(),
c = e.get(u);
(c || e.set(u, (c = new Set())), c.add(o.value));
});
}).processSync(a.selector);
});
let i = Array.from(e.values(), (a) => Array.from(a)),
n = i.flat();
return Object.assign(n, { groups: i });
}
function Po(r) {
return mC.astSync(r);
}
function Mh(r, e) {
let t = new Set();
for (let i of r) t.add(i.split(e).pop());
return Array.from(t);
}
function Bh(r, e) {
let t = r.tailwindConfig.prefix;
return typeof t == "function" ? t(e) : t + e;
}
function* Fh(r) {
for (yield r; r.parent; ) (yield r.parent, (r = r.parent));
}
function gC(r, e = {}) {
let t = r.nodes;
r.nodes = [];
let i = r.clone(e);
return ((r.nodes = t), i);
}
function yC(r) {
for (let e of Fh(r))
if (r !== e) {
if (e.type === "root") break;
r = gC(e, { nodes: [r] });
}
return r;
}
function wC(r, e) {
let t = new Map();
return (
r.walkRules((i) => {
for (let s of Fh(i)) if (s.raws.tailwind?.layer !== void 0) return;
let n = yC(i),
a = e.offsets.create("user");
for (let s of Bn(i)) {
let o = t.get(s) || [];
(t.set(s, o), o.push([{ layer: "user", sort: a, important: !1 }, n]));
}
}),
t
);
}
function bC(r, e) {
for (let t of r) {
if (e.notClassCache.has(t) || e.applyClassCache.has(t)) continue;
if (e.classCache.has(t)) {
e.applyClassCache.set(
t,
e.classCache.get(t).map(([n, a]) => [n, a.clone()])
);
continue;
}
let i = Array.from(fo(t, e));
if (i.length === 0) {
e.notClassCache.add(t);
continue;
}
e.applyClassCache.set(t, i);
}
return e.applyClassCache;
}
function vC(r) {
let e = null;
return { get: (t) => ((e = e || r()), e.get(t)), has: (t) => ((e = e || r()), e.has(t)) };
}
function xC(r) {
return { get: (e) => r.flatMap((t) => t.get(e) || []), has: (e) => r.some((t) => t.has(e)) };
}
function Lh(r) {
let e = r.split(/[\s\t\n]+/g);
return e[e.length - 1] === "!important" ? [e.slice(0, -1), !0] : [e, !1];
}
function Nh(r, e, t) {
let i = new Set(),
n = [];
if (
(r.walkAtRules("apply", (u) => {
let [c] = Lh(u.params);
for (let f of c) i.add(f);
n.push(u);
}),
n.length === 0)
)
return;
let a = xC([t, bC(i, e)]);
function s(u, c, f) {
let d = Po(u),
p = Po(c),
b = Po(`.${ce(f)}`).nodes[0].nodes[0];
return (
d.each((x) => {
let y = new Set();
p.each((w) => {
let k = !1;
((w = w.clone()),
w.walkClasses((S) => {
S.value === b.value &&
(k || (S.replaceWith(...x.nodes.map((_) => _.clone())), y.add(w), (k = !0)));
}));
});
for (let w of y) {
let k = [[]];
for (let S of w.nodes)
S.type === "combinator" ? (k.push(S), k.push([])) : k[k.length - 1].push(S);
w.nodes = [];
for (let S of k)
(Array.isArray(S) &&
S.sort((_, E) =>
_.type === "tag" && E.type === "class"
? -1
: _.type === "class" && E.type === "tag"
? 1
: _.type === "class" && E.type === "pseudo" && E.value.startsWith("::")
? -1
: _.type === "pseudo" && _.value.startsWith("::") && E.type === "class"
? 1
: 0
),
(w.nodes = w.nodes.concat(S)));
}
x.replaceWith(...y);
}),
d.toString()
);
}
let o = new Map();
for (let u of n) {
let [c] = o.get(u.parent) || [[], u.source];
o.set(u.parent, [c, u.source]);
let [f, d] = Lh(u.params);
if (u.parent.type === "atrule") {
if (u.parent.name === "screen") {
let p = u.parent.params;
throw u.error(
`@apply is not supported within nested at-rules like @screen. We suggest you write this as @apply ${f.map((m) => `${p}:${m}`).join(" ")} instead.`
);
}
throw u.error(
`@apply is not supported within nested at-rules like @${u.parent.name}. You can fix this by un-nesting @${u.parent.name}.`
);
}
for (let p of f) {
if ([Bh(e, "group"), Bh(e, "peer")].includes(p))
throw u.error(`@apply should not be used with the '${p}' utility`);
if (!a.has(p))
throw u.error(
`The \`${p}\` class does not exist. If \`${p}\` is a custom class, make sure it is defined within a \`@layer\` directive.`
);
let m = a.get(p);
for (let [, b] of m)
b.type !== "atrule" &&
b.walkRules(() => {
throw u.error(
[
`The \`${p}\` class cannot be used with \`@apply\` because \`@apply\` does not currently support nested CSS.`,
"Rewrite the selector without nesting or configure the `tailwindcss/nesting` plugin:",
"https://tailwindcss.com/docs/using-with-preprocessors#nesting",
].join(`
`)
);
});
c.push([p, d, m]);
}
}
for (let [u, [c, f]] of o) {
let d = [];
for (let [m, b, x] of c) {
let y = [m, ...Mh([m], e.tailwindConfig.separator)];
for (let [w, k] of x) {
let S = Bn(u),
_ = Bn(k);
if (
((_ = _.groups.filter((R) => R.some((J) => y.includes(J))).flat()),
(_ = _.concat(Mh(_, e.tailwindConfig.separator))),
S.some((R) => _.includes(R)))
)
throw k.error(
`You cannot \`@apply\` the \`${m}\` utility here because it creates a circular dependency.`
);
let I = j.root({ nodes: [k.clone()] });
(I.walk((R) => {
R.source = f;
}),
(k.type !== "atrule" || (k.type === "atrule" && k.name !== "keyframes")) &&
I.walkRules((R) => {
if (!Bn(R).some((ee) => ee === m)) {
R.remove();
return;
}
let J =
typeof e.tailwindConfig.important == "string"
? e.tailwindConfig.important
: null,
de =
u.raws.tailwind !== void 0 && J && u.selector.indexOf(J) === 0
? u.selector.slice(J.length)
: u.selector;
(de === "" && (de = u.selector),
(R.selector = s(de, R.selector, m)),
J && de !== u.selector && (R.selector = Sn(R.selector, J)),
R.walkDecls((ee) => {
ee.important = w.important || b;
}));
let De = (0, Mn.default)().astSync(R.selector);
(De.each((ee) => jt(ee)), (R.selector = De.toString()));
}),
!!I.nodes[0] && d.push([w.sort, I.nodes[0]]));
}
}
let p = e.offsets.sort(d).map((m) => m[1]);
u.after(p);
}
for (let u of n) u.parent.nodes.length > 1 ? u.remove() : u.parent.remove();
Nh(r, e, t);
}
function Do(r) {
return (e) => {
let t = vC(() => wC(e, r));
Nh(e, r, t);
};
}
var Mn,
mC,
$h = C(() => {
l();
st();
Mn = X(Me());
On();
$t();
oo();
xn();
mC = (0, Mn.default)();
});
var zh = v((I4, Fn) => {
l();
(function () {
"use strict";
function r(i, n, a) {
if (!i) return null;
r.caseSensitive || (i = i.toLowerCase());
var s = r.threshold === null ? null : r.threshold * i.length,
o = r.thresholdAbsolute,
u;
s !== null && o !== null
? (u = Math.min(s, o))
: s !== null
? (u = s)
: o !== null
? (u = o)
: (u = null);
var c,
f,
d,
p,
m,
b = n.length;
for (m = 0; m < b; m++)
if (
((f = n[m]),
a && (f = f[a]),
!!f &&
(r.caseSensitive ? (d = f) : (d = f.toLowerCase()),
(p = t(i, d, u)),
(u === null || p < u) &&
((u = p), a && r.returnWinningObject ? (c = n[m]) : (c = f), r.returnFirstMatch)))
)
return c;
return c || r.nullResultValue;
}
((r.threshold = 0.4),
(r.thresholdAbsolute = 20),
(r.caseSensitive = !1),
(r.nullResultValue = null),
(r.returnWinningObject = null),
(r.returnFirstMatch = !1),
typeof Fn != "undefined" && Fn.exports ? (Fn.exports = r) : (window.didYouMean = r));
var e = Math.pow(2, 32) - 1;
function t(i, n, a) {
a = a || a === 0 ? a : e;
var s = i.length,
o = n.length;
if (s === 0) return Math.min(a + 1, o);
if (o === 0) return Math.min(a + 1, s);
if (Math.abs(s - o) > a) return a + 1;
var u = [],
c,
f,
d,
p,
m;
for (c = 0; c <= o; c++) u[c] = [c];
for (f = 0; f <= s; f++) u[0][f] = f;
for (c = 1; c <= o; c++) {
for (d = e, p = 1, c > a && (p = c - a), m = o + 1, m > a + c && (m = a + c), f = 1; f <= s; f++)
(f < p || f > m
? (u[c][f] = a + 1)
: n.charAt(c - 1) === i.charAt(f - 1)
? (u[c][f] = u[c - 1][f - 1])
: (u[c][f] = Math.min(u[c - 1][f - 1] + 1, Math.min(u[c][f - 1] + 1, u[c - 1][f] + 1))),
u[c][f] < d && (d = u[c][f]));
if (d > a) return a + 1;
}
return u[o][s];
}
})();
});
var Vh = v((q4, jh) => {
l();
var Io = "(".charCodeAt(0),
qo = ")".charCodeAt(0),
Ln = "'".charCodeAt(0),
Ro = '"'.charCodeAt(0),
Mo = "\\".charCodeAt(0),
Wt = "/".charCodeAt(0),
Bo = ",".charCodeAt(0),
Fo = ":".charCodeAt(0),
Nn = "*".charCodeAt(0),
kC = "u".charCodeAt(0),
SC = "U".charCodeAt(0),
CC = "+".charCodeAt(0),
AC = /^[a-f0-9?-]+$/i;
jh.exports = function (r) {
for (
var e = [],
t = r,
i,
n,
a,
s,
o,
u,
c,
f,
d = 0,
p = t.charCodeAt(d),
m = t.length,
b = [{ nodes: e }],
x = 0,
y,
w = "",
k = "",
S = "";
d < m;
)
if (p <= 32) {
i = d;
do ((i += 1), (p = t.charCodeAt(i)));
while (p <= 32);
((s = t.slice(d, i)),
(a = e[e.length - 1]),
p === qo && x
? (S = s)
: a && a.type === "div"
? ((a.after = s), (a.sourceEndIndex += s.length))
: p === Bo ||
p === Fo ||
(p === Wt && t.charCodeAt(i + 1) !== Nn && (!y || (y && y.type === "function" && !1)))
? (k = s)
: e.push({ type: "space", sourceIndex: d, sourceEndIndex: i, value: s }),
(d = i));
} else if (p === Ln || p === Ro) {
((i = d), (n = p === Ln ? "'" : '"'), (s = { type: "string", sourceIndex: d, quote: n }));
do
if (((o = !1), (i = t.indexOf(n, i + 1)), ~i))
for (u = i; t.charCodeAt(u - 1) === Mo; ) ((u -= 1), (o = !o));
else ((t += n), (i = t.length - 1), (s.unclosed = !0));
while (o);
((s.value = t.slice(d + 1, i)),
(s.sourceEndIndex = s.unclosed ? i : i + 1),
e.push(s),
(d = i + 1),
(p = t.charCodeAt(d)));
} else if (p === Wt && t.charCodeAt(d + 1) === Nn)
((i = t.indexOf("*/", d)),
(s = { type: "comment", sourceIndex: d, sourceEndIndex: i + 2 }),
i === -1 && ((s.unclosed = !0), (i = t.length), (s.sourceEndIndex = i)),
(s.value = t.slice(d + 2, i)),
e.push(s),
(d = i + 2),
(p = t.charCodeAt(d)));
else if ((p === Wt || p === Nn) && y && y.type === "function")
((s = t[d]),
e.push({ type: "word", sourceIndex: d - k.length, sourceEndIndex: d + s.length, value: s }),
(d += 1),
(p = t.charCodeAt(d)));
else if (p === Wt || p === Bo || p === Fo)
((s = t[d]),
e.push({
type: "div",
sourceIndex: d - k.length,
sourceEndIndex: d + s.length,
value: s,
before: k,
after: "",
}),
(k = ""),
(d += 1),
(p = t.charCodeAt(d)));
else if (Io === p) {
i = d;
do ((i += 1), (p = t.charCodeAt(i)));
while (p <= 32);
if (
((f = d),
(s = { type: "function", sourceIndex: d - w.length, value: w, before: t.slice(f + 1, i) }),
(d = i),
w === "url" && p !== Ln && p !== Ro)
) {
i -= 1;
do
if (((o = !1), (i = t.indexOf(")", i + 1)), ~i))
for (u = i; t.charCodeAt(u - 1) === Mo; ) ((u -= 1), (o = !o));
else ((t += ")"), (i = t.length - 1), (s.unclosed = !0));
while (o);
c = i;
do ((c -= 1), (p = t.charCodeAt(c)));
while (p <= 32);
(f < c
? (d !== c + 1
? (s.nodes = [
{
type: "word",
sourceIndex: d,
sourceEndIndex: c + 1,
value: t.slice(d, c + 1),
},
])
: (s.nodes = []),
s.unclosed && c + 1 !== i
? ((s.after = ""),
s.nodes.push({
type: "space",
sourceIndex: c + 1,
sourceEndIndex: i,
value: t.slice(c + 1, i),
}))
: ((s.after = t.slice(c + 1, i)), (s.sourceEndIndex = i)))
: ((s.after = ""), (s.nodes = [])),
(d = i + 1),
(s.sourceEndIndex = s.unclosed ? i : d),
(p = t.charCodeAt(d)),
e.push(s));
} else
((x += 1),
(s.after = ""),
(s.sourceEndIndex = d + 1),
e.push(s),
b.push(s),
(e = s.nodes = []),
(y = s));
w = "";
} else if (qo === p && x)
((d += 1),
(p = t.charCodeAt(d)),
(y.after = S),
(y.sourceEndIndex += S.length),
(S = ""),
(x -= 1),
(b[b.length - 1].sourceEndIndex = d),
b.pop(),
(y = b[x]),
(e = y.nodes));
else {
i = d;
do (p === Mo && (i += 1), (i += 1), (p = t.charCodeAt(i)));
while (
i < m &&
!(
p <= 32 ||
p === Ln ||
p === Ro ||
p === Bo ||
p === Fo ||
p === Wt ||
p === Io ||
(p === Nn && y && y.type === "function" && !0) ||
(p === Wt && y.type === "function" && !0) ||
(p === qo && x)
)
);
((s = t.slice(d, i)),
Io === p
? (w = s)
: (kC === s.charCodeAt(0) || SC === s.charCodeAt(0)) &&
CC === s.charCodeAt(1) &&
AC.test(s.slice(2))
? e.push({ type: "unicode-range", sourceIndex: d, sourceEndIndex: i, value: s })
: e.push({ type: "word", sourceIndex: d, sourceEndIndex: i, value: s }),
(d = i));
}
for (d = b.length - 1; d; d -= 1) ((b[d].unclosed = !0), (b[d].sourceEndIndex = t.length));
return b[0].nodes;
};
});
var Wh = v((R4, Uh) => {
l();
Uh.exports = function r(e, t, i) {
var n, a, s, o;
for (n = 0, a = e.length; n < a; n += 1)
((s = e[n]),
i || (o = t(s, n, e)),
o !== !1 && s.type === "function" && Array.isArray(s.nodes) && r(s.nodes, t, i),
i && t(s, n, e));
};
});
var Qh = v((M4, Yh) => {
l();
function Gh(r, e) {
var t = r.type,
i = r.value,
n,
a;
return e && (a = e(r)) !== void 0
? a
: t === "word" || t === "space"
? i
: t === "string"
? ((n = r.quote || ""), n + i + (r.unclosed ? "" : n))
: t === "comment"
? "/*" + i + (r.unclosed ? "" : "*/")
: t === "div"
? (r.before || "") + i + (r.after || "")
: Array.isArray(r.nodes)
? ((n = Hh(r.nodes, e)),
t !== "function"
? n
: i + "(" + (r.before || "") + n + (r.after || "") + (r.unclosed ? "" : ")"))
: i;
}
function Hh(r, e) {
var t, i;
if (Array.isArray(r)) {
for (t = "", i = r.length - 1; ~i; i -= 1) t = Gh(r[i], e) + t;
return t;
}
return Gh(r, e);
}
Yh.exports = Hh;
});
var Xh = v((B4, Jh) => {
l();
var $n = "-".charCodeAt(0),
zn = "+".charCodeAt(0),
Lo = ".".charCodeAt(0),
_C = "e".charCodeAt(0),
OC = "E".charCodeAt(0);
function EC(r) {
var e = r.charCodeAt(0),
t;
if (e === zn || e === $n) {
if (((t = r.charCodeAt(1)), t >= 48 && t <= 57)) return !0;
var i = r.charCodeAt(2);
return t === Lo && i >= 48 && i <= 57;
}
return e === Lo ? ((t = r.charCodeAt(1)), t >= 48 && t <= 57) : e >= 48 && e <= 57;
}
Jh.exports = function (r) {
var e = 0,
t = r.length,
i,
n,
a;
if (t === 0 || !EC(r)) return !1;
for (
i = r.charCodeAt(e), (i === zn || i === $n) && e++;
e < t && ((i = r.charCodeAt(e)), !(i < 48 || i > 57));
)
e += 1;
if (((i = r.charCodeAt(e)), (n = r.charCodeAt(e + 1)), i === Lo && n >= 48 && n <= 57))
for (e += 2; e < t && ((i = r.charCodeAt(e)), !(i < 48 || i > 57)); ) e += 1;
if (
((i = r.charCodeAt(e)),
(n = r.charCodeAt(e + 1)),
(a = r.charCodeAt(e + 2)),
(i === _C || i === OC) && ((n >= 48 && n <= 57) || ((n === zn || n === $n) && a >= 48 && a <= 57)))
)
for (e += n === zn || n === $n ? 3 : 2; e < t && ((i = r.charCodeAt(e)), !(i < 48 || i > 57)); ) e += 1;
return { number: r.slice(0, e), unit: r.slice(e) };
};
});
var tm = v((F4, em) => {
l();
var TC = Vh(),
Kh = Wh(),
Zh = Qh();
function ct(r) {
return this instanceof ct ? ((this.nodes = TC(r)), this) : new ct(r);
}
ct.prototype.toString = function () {
return Array.isArray(this.nodes) ? Zh(this.nodes) : "";
};
ct.prototype.walk = function (r, e) {
return (Kh(this.nodes, r, e), this);
};
ct.unit = Xh();
ct.walk = Kh;
ct.stringify = Zh;
em.exports = ct;
});
function $o(r) {
return typeof r == "object" && r !== null;
}
function PC(r, e) {
let t = Ze(e);
do if ((t.pop(), (0, si.default)(r, t) !== void 0)) break;
while (t.length);
return t.length ? t : void 0;
}
function Gt(r) {
return typeof r == "string"
? r
: r.reduce((e, t, i) => (t.includes(".") ? `${e}[${t}]` : i === 0 ? t : `${e}.${t}`), "");
}
function im(r) {
return r.map((e) => `'${e}'`).join(", ");
}
function nm(r) {
return im(Object.keys(r));
}
function zo(r, e, t, i = {}) {
let n = Array.isArray(e) ? Gt(e) : e.replace(/^['"]+|['"]+$/g, ""),
a = Array.isArray(e) ? e : Ze(n),
s = (0, si.default)(r.theme, a, t);
if (s === void 0) {
let u = `'${n}' does not exist in your theme config.`,
c = a.slice(0, -1),
f = (0, si.default)(r.theme, c);
if ($o(f)) {
let d = Object.keys(f).filter((m) => zo(r, [...c, m]).isValid),
p = (0, rm.default)(a[a.length - 1], d);
p
? (u += ` Did you mean '${Gt([...c, p])}'?`)
: d.length > 0 && (u += ` '${Gt(c)}' has the following valid keys: ${im(d)}`);
} else {
let d = PC(r.theme, n);
if (d) {
let p = (0, si.default)(r.theme, d);
$o(p)
? (u += ` '${Gt(d)}' has the following keys: ${nm(p)}`)
: (u += ` '${Gt(d)}' is not an object.`);
} else u += ` Your theme has the following top-level keys: ${nm(r.theme)}`;
}
return { isValid: !1, error: u };
}
if (
!(
typeof s == "string" ||
typeof s == "number" ||
typeof s == "function" ||
s instanceof String ||
s instanceof Number ||
Array.isArray(s)
)
) {
let u = `'${n}' was found but does not resolve to a string.`;
if ($o(s)) {
let c = Object.keys(s).filter((f) => zo(r, [...a, f]).isValid);
c.length && (u += ` Did you mean something like '${Gt([...a, c[0]])}'?`);
}
return { isValid: !1, error: u };
}
let [o] = a;
return { isValid: !0, value: Ge(o)(s, i) };
}
function DC(r, e, t) {
e = e.map((n) => sm(r, n, t));
let i = [""];
for (let n of e)
n.type === "div" && n.value === "," ? i.push("") : (i[i.length - 1] += No.default.stringify(n));
return i;
}
function sm(r, e, t) {
if (e.type === "function" && t[e.value] !== void 0) {
let i = DC(r, e.nodes, t);
((e.type = "word"), (e.value = t[e.value](r, ...i)));
}
return e;
}
function IC(r, e, t) {
return Object.keys(t).some((n) => e.includes(`${n}(`))
? (0, No.default)(e)
.walk((n) => {
sm(r, n, t);
})
.toString()
: e;
}
function* RC(r) {
r = r.replace(/^['"]+|['"]+$/g, "");
let e = r.match(/^([^\s]+)(?![^\[]*\])(?:\s*\/\s*([^\/\s]+))$/),
t;
(yield [r, void 0], e && ((r = e[1]), (t = e[2]), yield [r, t]));
}
function MC(r, e, t) {
let i = Array.from(RC(e)).map(([n, a]) =>
Object.assign(zo(r, n, t, { opacityValue: a }), { resolvedPath: n, alpha: a })
);
return i.find((n) => n.isValid) ?? i[0];
}
function am(r) {
let e = r.tailwindConfig,
t = {
theme: (i, n, ...a) => {
let { isValid: s, value: o, error: u, alpha: c } = MC(e, n, a.length ? a : void 0);
if (!s) {
let p = i.parent,
m = p?.raws.tailwind?.candidate;
if (p && m !== void 0) {
(r.markInvalidUtilityNode(p),
p.remove(),
F.warn("invalid-theme-key-in-class", [
`The utility \`${m}\` contains an invalid theme value and was not generated.`,
]));
return;
}
throw i.error(u);
}
let f = Ot(o),
d = f !== void 0 && typeof f == "function";
return ((c !== void 0 || d) && (c === void 0 && (c = 1), (o = Ie(f, c, f))), o);
},
screen: (i, n) => {
n = n.replace(/^['"]+/g, "").replace(/['"]+$/g, "");
let s = ot(e.theme.screens).find(({ name: o }) => o === n);
if (!s) throw i.error(`The '${n}' screen does not exist in your theme.`);
return at(s);
},
};
return (i) => {
i.walk((n) => {
let a = qC[n.type];
a !== void 0 && (n[a] = IC(n, n[a], t));
});
};
}
var si,
rm,
No,
qC,
om = C(() => {
l();
((si = X(Gs())), (rm = X(zh())));
Jr();
No = X(tm());
wn();
mn();
gi();
fr();
hr();
Oe();
qC = { atrule: "params", decl: "value" };
});
function lm({ tailwindConfig: { theme: r } }) {
return function (e) {
e.walkAtRules("screen", (t) => {
let i = t.params,
a = ot(r.screens).find(({ name: s }) => s === i);
if (!a) throw t.error(`No \`${i}\` screen found.`);
((t.name = "media"), (t.params = at(a)));
});
};
}
var um = C(() => {
l();
wn();
mn();
});
function BC(r) {
let e = r
.filter((o) =>
o.type !== "pseudo" || o.nodes.length > 0
? !0
: o.value.startsWith("::") ||
[":before", ":after", ":first-line", ":first-letter"].includes(o.value)
)
.reverse(),
t = new Set(["tag", "class", "id", "attribute"]),
i = e.findIndex((o) => t.has(o.type));
if (i === -1) return e.reverse().join("").trim();
let n = e[i],
a = fm[n.type] ? fm[n.type](n) : n;
e = e.slice(0, i);
let s = e.findIndex((o) => o.type === "combinator" && o.value === ">");
return (s !== -1 && (e.splice(0, s), e.unshift(jn.default.universal())), [a, ...e.reverse()].join("").trim());
}
function LC(r) {
return (jo.has(r) || jo.set(r, FC.transformSync(r)), jo.get(r));
}
function Vo({ tailwindConfig: r }) {
return (e) => {
let t = new Map(),
i = new Set();
if (
(e.walkAtRules("defaults", (n) => {
if (n.nodes && n.nodes.length > 0) {
i.add(n);
return;
}
let a = n.params;
(t.has(a) || t.set(a, new Set()), t.get(a).add(n.parent), n.remove());
}),
K(r, "optimizeUniversalDefaults"))
)
for (let n of i) {
let a = new Map(),
s = t.get(n.params) ?? [];
for (let o of s)
for (let u of LC(o.selector)) {
let c = u.includes(":-") || u.includes("::-") || u.includes(":has") ? u : "__DEFAULT__",
f = a.get(c) ?? new Set();
(a.set(c, f), f.add(u));
}
if (K(r, "optimizeUniversalDefaults")) {
if (a.size === 0) {
n.remove();
continue;
}
for (let [, o] of a) {
let u = j.rule({ source: n.source });
((u.selectors = [...o]), u.append(n.nodes.map((c) => c.clone())), n.before(u));
}
}
n.remove();
}
else if (i.size) {
let n = j.rule({ selectors: ["*", "::before", "::after"] });
for (let s of i)
(n.append(s.nodes), n.parent || s.before(n), n.source || (n.source = s.source), s.remove());
let a = n.clone({ selectors: ["::backdrop"] });
n.after(a);
}
};
}
var jn,
fm,
FC,
jo,
cm = C(() => {
l();
st();
jn = X(Me());
je();
fm = {
id(r) {
return jn.default.attribute({ attribute: "id", operator: "=", value: r.value, quoteMark: '"' });
},
};
((FC = (0, jn.default)((r) =>
r.map((e) => {
let t = e.split((i) => i.type === "combinator" && i.value === " ").pop();
return BC(t);
})
)),
(jo = new Map()));
});
function Uo() {
function r(e) {
let t = null;
(e.each((i) => {
if (!NC.has(i.type)) {
t = null;
return;
}
if (t === null) {
t = i;
return;
}
let n = pm[i.type];
i.type === "atrule" && i.name === "font-face"
? (t = i)
: n.every((a) => (i[a] ?? "").replace(/\s+/g, " ") === (t[a] ?? "").replace(/\s+/g, " "))
? (i.nodes && t.append(i.nodes), i.remove())
: (t = i);
}),
e.each((i) => {
i.type === "atrule" && r(i);
}));
}
return (e) => {
r(e);
};
}
var pm,
NC,
dm = C(() => {
l();
((pm = { atrule: ["name", "params"], rule: ["selector"] }), (NC = new Set(Object.keys(pm))));
});
function Wo() {
return (r) => {
r.walkRules((e) => {
let t = new Map(),
i = new Set([]),
n = new Map();
e.walkDecls((a) => {
if (a.parent === e) {
if (t.has(a.prop)) {
if (t.get(a.prop).value === a.value) {
(i.add(t.get(a.prop)), t.set(a.prop, a));
return;
}
(n.has(a.prop) || n.set(a.prop, new Set()),
n.get(a.prop).add(t.get(a.prop)),
n.get(a.prop).add(a));
}
t.set(a.prop, a);
}
});
for (let a of i) a.remove();
for (let a of n.values()) {
let s = new Map();
for (let o of a) {
let u = zC(o.value);
u !== null && (s.has(u) || s.set(u, new Set()), s.get(u).add(o));
}
for (let o of s.values()) {
let u = Array.from(o).slice(0, -1);
for (let c of u) c.remove();
}
}
});
};
}
function zC(r) {
let e = /^-?\d*.?\d+([\w%]+)?$/g.exec(r);
return e ? (e[1] ?? $C) : null;
}
var $C,
hm = C(() => {
l();
$C = Symbol("unitless-number");
});
function jC(r) {
if (!r.walkAtRules) return;
let e = new Set();
if (
(r.walkAtRules("apply", (t) => {
e.add(t.parent);
}),
e.size !== 0)
)
for (let t of e) {
let i = [],
n = [];
for (let a of t.nodes)
a.type === "atrule" && a.name === "apply"
? (n.length > 0 && (i.push(n), (n = [])), i.push([a]))
: n.push(a);
if ((n.length > 0 && i.push(n), i.length !== 1)) {
for (let a of [...i].reverse()) {
let s = t.clone({ nodes: [] });
(s.append(a), t.after(s));
}
t.remove();
}
}
}
function Vn() {
return (r) => {
jC(r);
};
}
var mm = C(() => {
l();
});
function Un(r) {
return async function (e, t) {
let { tailwindDirectives: i, applyDirectives: n } = _o(e);
Vn()(e, t);
let a = r({
tailwindDirectives: i,
applyDirectives: n,
registerDependency(s) {
t.messages.push({ plugin: "tailwindcss", parent: t.opts.from, ...s });
},
createContext(s, o) {
return bo(s, o, e);
},
})(e, t);
if (a.tailwindConfig.separator === "-")
throw new Error(
"The '-' character cannot be used as a custom separator in JIT mode due to parsing ambiguity. Please use another character like '_' instead."
);
(Iu(a.tailwindConfig),
await To(a)(e, t),
Vn()(e, t),
Do(a)(e, t),
am(a)(e, t),
lm(a)(e, t),
Vo(a)(e, t),
Uo(a)(e, t),
Wo(a)(e, t));
};
}
var gm = C(() => {
l();
Sh();
Rh();
$h();
om();
um();
cm();
dm();
hm();
mm();
ei();
je();
});
function ym(r, e) {
let t = null,
i = null;
return (
r.walkAtRules("config", (n) => {
if (((i = n.source?.input.file ?? e.opts.from ?? null), i === null))
throw n.error(
"The `@config` directive cannot be used without setting `from` in your PostCSS config."
);
if (t) throw n.error("Only one `@config` directive is allowed per file.");
let a = n.params.match(/(['"])(.*?)\1/);
if (!a) throw n.error("A path is required when using the `@config` directive.");
let s = a[2];
if (Z.isAbsolute(s)) throw n.error("The `@config` directive cannot be used with an absolute path.");
if (((t = Z.resolve(Z.dirname(i), s)), !te.existsSync(t)))
throw n.error(
`The config file at "${s}" does not exist. Make sure the path is correct and the file exists.`
);
n.remove();
}),
t || null
);
}
var wm = C(() => {
l();
ze();
bt();
});
var bm = v((vD, Go) => {
l();
kh();
gm();
lt();
wm();
Go.exports = function (e) {
return {
postcssPlugin: "tailwindcss",
plugins: [
Pe.DEBUG &&
function (t) {
return (
console.log(`
`),
console.time("JIT TOTAL"),
t
);
},
async function (t, i) {
e = ym(t, i) ?? e;
let n = Ao(e);
if (t.type === "document") {
let a = t.nodes.filter((s) => s.type === "root");
for (let s of a) s.type === "root" && (await Un(n)(s, i));
return;
}
await Un(n)(t, i);
},
Pe.DEBUG &&
function (t) {
return (
console.timeEnd("JIT TOTAL"),
console.log(`
`),
t
);
},
].filter(Boolean),
};
};
Go.exports.postcss = !0;
});
var xm = v((xD, vm) => {
l();
vm.exports = bm();
});
var Ho = v((kD, km) => {
l();
km.exports = () => [
"and_chr 114",
"and_uc 15.5",
"chrome 114",
"chrome 113",
"chrome 109",
"edge 114",
"firefox 114",
"ios_saf 16.5",
"ios_saf 16.4",
"ios_saf 16.3",
"ios_saf 16.1",
"opera 99",
"safari 16.5",
"samsung 21",
];
});
var Wn = {};
Ae(Wn, { agents: () => VC, feature: () => UC });
function UC() {
return {
status: "cr",
title: "CSS Feature Queries",
stats: {
ie: { 6: "n", 7: "n", 8: "n", 9: "n", 10: "n", 11: "n", 5.5: "n" },
edge: {
12: "y",
13: "y",
14: "y",
15: "y",
16: "y",
17: "y",
18: "y",
79: "y",
80: "y",
81: "y",
83: "y",
84: "y",
85: "y",
86: "y",
87: "y",
88: "y",
89: "y",
90: "y",
91: "y",
92: "y",
93: "y",
94: "y",
95: "y",
96: "y",
97: "y",
98: "y",
99: "y",
100: "y",
101: "y",
102: "y",
103: "y",
104: "y",
105: "y",
106: "y",
107: "y",
108: "y",
109: "y",
110: "y",
111: "y",
112: "y",
113: "y",
114: "y",
},
firefox: {
2: "n",
3: "n",
4: "n",
5: "n",
6: "n",
7: "n",
8: "n",
9: "n",
10: "n",
11: "n",
12: "n",
13: "n",
14: "n",
15: "n",
16: "n",
17: "n",
18: "n",
19: "n",
20: "n",
21: "n",
22: "y",
23: "y",
24: "y",
25: "y",
26: "y",
27: "y",
28: "y",
29: "y",
30: "y",
31: "y",
32: "y",
33: "y",
34: "y",
35: "y",
36: "y",
37: "y",
38: "y",
39: "y",
40: "y",
41: "y",
42: "y",
43: "y",
44: "y",
45: "y",
46: "y",
47: "y",
48: "y",
49: "y",
50: "y",
51: "y",
52: "y",
53: "y",
54: "y",
55: "y",
56: "y",
57: "y",
58: "y",
59: "y",
60: "y",
61: "y",
62: "y",
63: "y",
64: "y",
65: "y",
66: "y",
67: "y",
68: "y",
69: "y",
70: "y",
71: "y",
72: "y",
73: "y",
74: "y",
75: "y",
76: "y",
77: "y",
78: "y",
79: "y",
80: "y",
81: "y",
82: "y",
83: "y",
84: "y",
85: "y",
86: "y",
87: "y",
88: "y",
89: "y",
90: "y",
91: "y",
92: "y",
93: "y",
94: "y",
95: "y",
96: "y",
97: "y",
98: "y",
99: "y",
100: "y",
101: "y",
102: "y",
103: "y",
104: "y",
105: "y",
106: "y",
107: "y",
108: "y",
109: "y",
110: "y",
111: "y",
112: "y",
113: "y",
114: "y",
115: "y",
116: "y",
117: "y",
3.5: "n",
3.6: "n",
},
chrome: {
4: "n",
5: "n",
6: "n",
7: "n",
8: "n",
9: "n",
10: "n",
11: "n",
12: "n",
13: "n",
14: "n",
15: "n",
16: "n",
17: "n",
18: "n",
19: "n",
20: "n",
21: "n",
22: "n",
23: "n",
24: "n",
25: "n",
26: "n",
27: "n",
28: "y",
29: "y",
30: "y",
31: "y",
32: "y",
33: "y",
34: "y",
35: "y",
36: "y",
37: "y",
38: "y",
39: "y",
40: "y",
41: "y",
42: "y",
43: "y",
44: "y",
45: "y",
46: "y",
47: "y",
48: "y",
49: "y",
50: "y",
51: "y",
52: "y",
53: "y",
54: "y",
55: "y",
56: "y",
57: "y",
58: "y",
59: "y",
60: "y",
61: "y",
62: "y",
63: "y",
64: "y",
65: "y",
66: "y",
67: "y",
68: "y",
69: "y",
70: "y",
71: "y",
72: "y",
73: "y",
74: "y",
75: "y",
76: "y",
77: "y",
78: "y",
79: "y",
80: "y",
81: "y",
83: "y",
84: "y",
85: "y",
86: "y",
87: "y",
88: "y",
89: "y",
90: "y",
91: "y",
92: "y",
93: "y",
94: "y",
95: "y",
96: "y",
97: "y",
98: "y",
99: "y",
100: "y",
101: "y",
102: "y",
103: "y",
104: "y",
105: "y",
106: "y",
107: "y",
108: "y",
109: "y",
110: "y",
111: "y",
112: "y",
113: "y",
114: "y",
115: "y",
116: "y",
117: "y",
},
safari: {
4: "n",
5: "n",
6: "n",
7: "n",
8: "n",
9: "y",
10: "y",
11: "y",
12: "y",
13: "y",
14: "y",
15: "y",
17: "y",
9.1: "y",
10.1: "y",
11.1: "y",
12.1: "y",
13.1: "y",
14.1: "y",
15.1: "y",
"15.2-15.3": "y",
15.4: "y",
15.5: "y",
15.6: "y",
"16.0": "y",
16.1: "y",
16.2: "y",
16.3: "y",
16.4: "y",
16.5: "y",
16.6: "y",
TP: "y",
3.1: "n",
3.2: "n",
5.1: "n",
6.1: "n",
7.1: "n",
},
opera: {
9: "n",
11: "n",
12: "n",
15: "y",
16: "y",
17: "y",
18: "y",
19: "y",
20: "y",
21: "y",
22: "y",
23: "y",
24: "y",
25: "y",
26: "y",
27: "y",
28: "y",
29: "y",
30: "y",
31: "y",
32: "y",
33: "y",
34: "y",
35: "y",
36: "y",
37: "y",
38: "y",
39: "y",
40: "y",
41: "y",
42: "y",
43: "y",
44: "y",
45: "y",
46: "y",
47: "y",
48: "y",
49: "y",
50: "y",
51: "y",
52: "y",
53: "y",
54: "y",
55: "y",
56: "y",
57: "y",
58: "y",
60: "y",
62: "y",
63: "y",
64: "y",
65: "y",
66: "y",
67: "y",
68: "y",
69: "y",
70: "y",
71: "y",
72: "y",
73: "y",
74: "y",
75: "y",
76: "y",
77: "y",
78: "y",
79: "y",
80: "y",
81: "y",
82: "y",
83: "y",
84: "y",
85: "y",
86: "y",
87: "y",
88: "y",
89: "y",
90: "y",
91: "y",
92: "y",
93: "y",
94: "y",
95: "y",
96: "y",
97: "y",
98: "y",
99: "y",
100: "y",
12.1: "y",
"9.5-9.6": "n",
"10.0-10.1": "n",
10.5: "n",
10.6: "n",
11.1: "n",
11.5: "n",
11.6: "n",
},
ios_saf: {
8: "n",
17: "y",
"9.0-9.2": "y",
9.3: "y",
"10.0-10.2": "y",
10.3: "y",
"11.0-11.2": "y",
"11.3-11.4": "y",
"12.0-12.1": "y",
"12.2-12.5": "y",
"13.0-13.1": "y",
13.2: "y",
13.3: "y",
"13.4-13.7": "y",
"14.0-14.4": "y",
"14.5-14.8": "y",
"15.0-15.1": "y",
"15.2-15.3": "y",
15.4: "y",
15.5: "y",
15.6: "y",
"16.0": "y",
16.1: "y",
16.2: "y",
16.3: "y",
16.4: "y",
16.5: "y",
16.6: "y",
3.2: "n",
"4.0-4.1": "n",
"4.2-4.3": "n",
"5.0-5.1": "n",
"6.0-6.1": "n",
"7.0-7.1": "n",
"8.1-8.4": "n",
},
op_mini: { all: "y" },
android: {
3: "n",
4: "n",
114: "y",
4.4: "y",
"4.4.3-4.4.4": "y",
2.1: "n",
2.2: "n",
2.3: "n",
4.1: "n",
"4.2-4.3": "n",
},
bb: { 7: "n", 10: "n" },
op_mob: { 10: "n", 11: "n", 12: "n", 73: "y", 11.1: "n", 11.5: "n", 12.1: "n" },
and_chr: { 114: "y" },
and_ff: { 115: "y" },
ie_mob: { 10: "n", 11: "n" },
and_uc: { 15.5: "y" },
samsung: {
4: "y",
20: "y",
21: "y",
"5.0-5.4": "y",
"6.2-6.4": "y",
"7.2-7.4": "y",
8.2: "y",
9.2: "y",
10.1: "y",
"11.1-11.2": "y",
"12.0": "y",
"13.0": "y",
"14.0": "y",
"15.0": "y",
"16.0": "y",
"17.0": "y",
"18.0": "y",
"19.0": "y",
},
and_qq: { 13.1: "y" },
baidu: { 13.18: "y" },
kaios: { 2.5: "y", "3.0-3.1": "y" },
},
};
}
var VC,
Gn = C(() => {
l();
VC = {
ie: { prefix: "ms" },
edge: {
prefix: "webkit",
prefix_exceptions: { 12: "ms", 13: "ms", 14: "ms", 15: "ms", 16: "ms", 17: "ms", 18: "ms" },
},
firefox: { prefix: "moz" },
chrome: { prefix: "webkit" },
safari: { prefix: "webkit" },
opera: {
prefix: "webkit",
prefix_exceptions: {
9: "o",
11: "o",
12: "o",
"9.5-9.6": "o",
"10.0-10.1": "o",
10.5: "o",
10.6: "o",
11.1: "o",
11.5: "o",
11.6: "o",
12.1: "o",
},
},
ios_saf: { prefix: "webkit" },
op_mini: { prefix: "o" },
android: { prefix: "webkit" },
bb: { prefix: "webkit" },
op_mob: { prefix: "o", prefix_exceptions: { 73: "webkit" } },
and_chr: { prefix: "webkit" },
and_ff: { prefix: "moz" },
ie_mob: { prefix: "ms" },
and_uc: { prefix: "webkit", prefix_exceptions: { 15.5: "webkit" } },
samsung: { prefix: "webkit" },
and_qq: { prefix: "webkit" },
baidu: { prefix: "webkit" },
kaios: { prefix: "moz" },
};
});
var Sm = v(() => {
l();
});
var le = v((AD, pt) => {
l();
var { list: Yo } = ge();
pt.exports.error = function (r) {
let e = new Error(r);
throw ((e.autoprefixer = !0), e);
};
pt.exports.uniq = function (r) {
return [...new Set(r)];
};
pt.exports.removeNote = function (r) {
return r.includes(" ") ? r.split(" ")[0] : r;
};
pt.exports.escapeRegexp = function (r) {
return r.replace(/[$()*+-.?[\\\]^{|}]/g, "\\$&");
};
pt.exports.regexp = function (r, e = !0) {
return (e && (r = this.escapeRegexp(r)), new RegExp(`(^|[\\s,(])(${r}($|[\\s(,]))`, "gi"));
};
pt.exports.editList = function (r, e) {
let t = Yo.comma(r),
i = e(t, []);
if (t === i) return r;
let n = r.match(/,\s*/);
return ((n = n ? n[0] : ", "), i.join(n));
};
pt.exports.splitSelector = function (r) {
return Yo.comma(r).map((e) => Yo.space(e).map((t) => t.split(/(?=\.|#)/g)));
};
});
var dt = v((_D, _m) => {
l();
var WC = Ho(),
Cm = (Gn(), Wn).agents,
GC = le(),
Am = class {
static prefixes() {
if (this.prefixesCache) return this.prefixesCache;
this.prefixesCache = [];
for (let e in Cm) this.prefixesCache.push(`-${Cm[e].prefix}-`);
return (
(this.prefixesCache = GC.uniq(this.prefixesCache).sort((e, t) => t.length - e.length)),
this.prefixesCache
);
}
static withPrefix(e) {
return (
this.prefixesRegexp || (this.prefixesRegexp = new RegExp(this.prefixes().join("|"))),
this.prefixesRegexp.test(e)
);
}
constructor(e, t, i, n) {
((this.data = e),
(this.options = i || {}),
(this.browserslistOpts = n || {}),
(this.selected = this.parse(t)));
}
parse(e) {
let t = {};
for (let i in this.browserslistOpts) t[i] = this.browserslistOpts[i];
return ((t.path = this.options.from), WC(e, t));
}
prefix(e) {
let [t, i] = e.split(" "),
n = this.data[t],
a = n.prefix_exceptions && n.prefix_exceptions[i];
return (a || (a = n.prefix), `-${a}-`);
}
isSelected(e) {
return this.selected.includes(e);
}
};
_m.exports = Am;
});
var ai = v((OD, Om) => {
l();
Om.exports = {
prefix(r) {
let e = r.match(/^(-\w+-)/);
return e ? e[0] : "";
},
unprefixed(r) {
return r.replace(/^-\w+-/, "");
},
};
});
var Ht = v((ED, Tm) => {
l();
var HC = dt(),
Em = ai(),
YC = le();
function Qo(r, e) {
let t = new r.constructor();
for (let i of Object.keys(r || {})) {
let n = r[i];
i === "parent" && typeof n == "object"
? e && (t[i] = e)
: i === "source" || i === null
? (t[i] = n)
: Array.isArray(n)
? (t[i] = n.map((a) => Qo(a, t)))
: i !== "_autoprefixerPrefix" &&
i !== "_autoprefixerValues" &&
i !== "proxyCache" &&
(typeof n == "object" && n !== null && (n = Qo(n, t)), (t[i] = n));
}
return t;
}
var Hn = class {
static hack(e) {
return (this.hacks || (this.hacks = {}), e.names.map((t) => ((this.hacks[t] = e), this.hacks[t])));
}
static load(e, t, i) {
let n = this.hacks && this.hacks[e];
return n ? new n(e, t, i) : new this(e, t, i);
}
static clone(e, t) {
let i = Qo(e);
for (let n in t) i[n] = t[n];
return i;
}
constructor(e, t, i) {
((this.prefixes = t), (this.name = e), (this.all = i));
}
parentPrefix(e) {
let t;
return (
typeof e._autoprefixerPrefix != "undefined"
? (t = e._autoprefixerPrefix)
: e.type === "decl" && e.prop[0] === "-"
? (t = Em.prefix(e.prop))
: e.type === "root"
? (t = !1)
: e.type === "rule" && e.selector.includes(":-") && /:(-\w+-)/.test(e.selector)
? (t = e.selector.match(/:(-\w+-)/)[1])
: e.type === "atrule" && e.name[0] === "-"
? (t = Em.prefix(e.name))
: (t = this.parentPrefix(e.parent)),
HC.prefixes().includes(t) || (t = !1),
(e._autoprefixerPrefix = t),
e._autoprefixerPrefix
);
}
process(e, t) {
if (!this.check(e)) return;
let i = this.parentPrefix(e),
n = this.prefixes.filter((s) => !i || i === YC.removeNote(s)),
a = [];
for (let s of n) this.add(e, s, a.concat([s]), t) && a.push(s);
return a;
}
clone(e, t) {
return Hn.clone(e, t);
}
};
Tm.exports = Hn;
});
var M = v((TD, Im) => {
l();
var QC = Ht(),
JC = dt(),
Pm = le(),
Dm = class extends QC {
check() {
return !0;
}
prefixed(e, t) {
return t + e;
}
normalize(e) {
return e;
}
otherPrefixes(e, t) {
for (let i of JC.prefixes()) if (i !== t && e.includes(i)) return !0;
return !1;
}
set(e, t) {
return ((e.prop = this.prefixed(e.prop, t)), e);
}
needCascade(e) {
return (
e._autoprefixerCascade ||
(e._autoprefixerCascade =
this.all.options.cascade !== !1 &&
e.raw("before").includes(`
`)),
e._autoprefixerCascade
);
}
maxPrefixed(e, t) {
if (t._autoprefixerMax) return t._autoprefixerMax;
let i = 0;
for (let n of e) ((n = Pm.removeNote(n)), n.length > i && (i = n.length));
return ((t._autoprefixerMax = i), t._autoprefixerMax);
}
calcBefore(e, t, i = "") {
let a = this.maxPrefixed(e, t) - Pm.removeNote(i).length,
s = t.raw("before");
return (a > 0 && (s += Array(a).fill(" ").join("")), s);
}
restoreBefore(e) {
let t = e.raw("before").split(`
`),
i = t[t.length - 1];
(this.all.group(e).up((n) => {
let a = n.raw("before").split(`
`),
s = a[a.length - 1];
s.length < i.length && (i = s);
}),
(t[t.length - 1] = i),
(e.raws.before = t.join(`
`)));
}
insert(e, t, i) {
let n = this.set(this.clone(e), t);
if (!(!n || e.parent.some((s) => s.prop === n.prop && s.value === n.value)))
return (
this.needCascade(e) && (n.raws.before = this.calcBefore(i, e, t)),
e.parent.insertBefore(e, n)
);
}
isAlready(e, t) {
let i = this.all.group(e).up((n) => n.prop === t);
return (i || (i = this.all.group(e).down((n) => n.prop === t)), i);
}
add(e, t, i, n) {
let a = this.prefixed(e.prop, t);
if (!(this.isAlready(e, a) || this.otherPrefixes(e.value, t))) return this.insert(e, t, i, n);
}
process(e, t) {
if (!this.needCascade(e)) {
super.process(e, t);
return;
}
let i = super.process(e, t);
!i || !i.length || (this.restoreBefore(e), (e.raws.before = this.calcBefore(i, e)));
}
old(e, t) {
return [this.prefixed(e, t)];
}
};
Im.exports = Dm;
});
var Rm = v((PD, qm) => {
l();
qm.exports = function r(e) {
return {
mul: (t) => new r(e * t),
div: (t) => new r(e / t),
simplify: () => new r(e),
toString: () => e.toString(),
};
};
});
var Fm = v((DD, Bm) => {
l();
var XC = Rm(),
KC = Ht(),
Jo = le(),
ZC = /(min|max)-resolution\s*:\s*\d*\.?\d+(dppx|dpcm|dpi|x)/gi,
eA = /(min|max)-resolution(\s*:\s*)(\d*\.?\d+)(dppx|dpcm|dpi|x)/i,
Mm = class extends KC {
prefixName(e, t) {
return e === "-moz-" ? t + "--moz-device-pixel-ratio" : e + t + "-device-pixel-ratio";
}
prefixQuery(e, t, i, n, a) {
return (
(n = new XC(n)),
a === "dpi" ? (n = n.div(96)) : a === "dpcm" && (n = n.mul(2.54).div(96)),
(n = n.simplify()),
e === "-o-" && (n = n.n + "/" + n.d),
this.prefixName(e, t) + i + n
);
}
clean(e) {
if (!this.bad) {
this.bad = [];
for (let t of this.prefixes)
(this.bad.push(this.prefixName(t, "min")), this.bad.push(this.prefixName(t, "max")));
}
e.params = Jo.editList(e.params, (t) => t.filter((i) => this.bad.every((n) => !i.includes(n))));
}
process(e) {
let t = this.parentPrefix(e),
i = t ? [t] : this.prefixes;
e.params = Jo.editList(e.params, (n, a) => {
for (let s of n) {
if (!s.includes("min-resolution") && !s.includes("max-resolution")) {
a.push(s);
continue;
}
for (let o of i) {
let u = s.replace(ZC, (c) => {
let f = c.match(eA);
return this.prefixQuery(o, f[1], f[2], f[3], f[4]);
});
a.push(u);
}
a.push(s);
}
return Jo.uniq(a);
});
}
};
Bm.exports = Mm;
});
var Nm = v((ID, Lm) => {
l();
var Xo = "(".charCodeAt(0),
Ko = ")".charCodeAt(0),
Yn = "'".charCodeAt(0),
Zo = '"'.charCodeAt(0),
el = "\\".charCodeAt(0),
Yt = "/".charCodeAt(0),
tl = ",".charCodeAt(0),
rl = ":".charCodeAt(0),
Qn = "*".charCodeAt(0),
tA = "u".charCodeAt(0),
rA = "U".charCodeAt(0),
iA = "+".charCodeAt(0),
nA = /^[a-f0-9?-]+$/i;
Lm.exports = function (r) {
for (
var e = [],
t = r,
i,
n,
a,
s,
o,
u,
c,
f,
d = 0,
p = t.charCodeAt(d),
m = t.length,
b = [{ nodes: e }],
x = 0,
y,
w = "",
k = "",
S = "";
d < m;
)
if (p <= 32) {
i = d;
do ((i += 1), (p = t.charCodeAt(i)));
while (p <= 32);
((s = t.slice(d, i)),
(a = e[e.length - 1]),
p === Ko && x
? (S = s)
: a && a.type === "div"
? ((a.after = s), (a.sourceEndIndex += s.length))
: p === tl ||
p === rl ||
(p === Yt &&
t.charCodeAt(i + 1) !== Qn &&
(!y || (y && y.type === "function" && y.value !== "calc")))
? (k = s)
: e.push({ type: "space", sourceIndex: d, sourceEndIndex: i, value: s }),
(d = i));
} else if (p === Yn || p === Zo) {
((i = d), (n = p === Yn ? "'" : '"'), (s = { type: "string", sourceIndex: d, quote: n }));
do
if (((o = !1), (i = t.indexOf(n, i + 1)), ~i))
for (u = i; t.charCodeAt(u - 1) === el; ) ((u -= 1), (o = !o));
else ((t += n), (i = t.length - 1), (s.unclosed = !0));
while (o);
((s.value = t.slice(d + 1, i)),
(s.sourceEndIndex = s.unclosed ? i : i + 1),
e.push(s),
(d = i + 1),
(p = t.charCodeAt(d)));
} else if (p === Yt && t.charCodeAt(d + 1) === Qn)
((i = t.indexOf("*/", d)),
(s = { type: "comment", sourceIndex: d, sourceEndIndex: i + 2 }),
i === -1 && ((s.unclosed = !0), (i = t.length), (s.sourceEndIndex = i)),
(s.value = t.slice(d + 2, i)),
e.push(s),
(d = i + 2),
(p = t.charCodeAt(d)));
else if ((p === Yt || p === Qn) && y && y.type === "function" && y.value === "calc")
((s = t[d]),
e.push({ type: "word", sourceIndex: d - k.length, sourceEndIndex: d + s.length, value: s }),
(d += 1),
(p = t.charCodeAt(d)));
else if (p === Yt || p === tl || p === rl)
((s = t[d]),
e.push({
type: "div",
sourceIndex: d - k.length,
sourceEndIndex: d + s.length,
value: s,
before: k,
after: "",
}),
(k = ""),
(d += 1),
(p = t.charCodeAt(d)));
else if (Xo === p) {
i = d;
do ((i += 1), (p = t.charCodeAt(i)));
while (p <= 32);
if (
((f = d),
(s = { type: "function", sourceIndex: d - w.length, value: w, before: t.slice(f + 1, i) }),
(d = i),
w === "url" && p !== Yn && p !== Zo)
) {
i -= 1;
do
if (((o = !1), (i = t.indexOf(")", i + 1)), ~i))
for (u = i; t.charCodeAt(u - 1) === el; ) ((u -= 1), (o = !o));
else ((t += ")"), (i = t.length - 1), (s.unclosed = !0));
while (o);
c = i;
do ((c -= 1), (p = t.charCodeAt(c)));
while (p <= 32);
(f < c
? (d !== c + 1
? (s.nodes = [
{
type: "word",
sourceIndex: d,
sourceEndIndex: c + 1,
value: t.slice(d, c + 1),
},
])
: (s.nodes = []),
s.unclosed && c + 1 !== i
? ((s.after = ""),
s.nodes.push({
type: "space",
sourceIndex: c + 1,
sourceEndIndex: i,
value: t.slice(c + 1, i),
}))
: ((s.after = t.slice(c + 1, i)), (s.sourceEndIndex = i)))
: ((s.after = ""), (s.nodes = [])),
(d = i + 1),
(s.sourceEndIndex = s.unclosed ? i : d),
(p = t.charCodeAt(d)),
e.push(s));
} else
((x += 1),
(s.after = ""),
(s.sourceEndIndex = d + 1),
e.push(s),
b.push(s),
(e = s.nodes = []),
(y = s));
w = "";
} else if (Ko === p && x)
((d += 1),
(p = t.charCodeAt(d)),
(y.after = S),
(y.sourceEndIndex += S.length),
(S = ""),
(x -= 1),
(b[b.length - 1].sourceEndIndex = d),
b.pop(),
(y = b[x]),
(e = y.nodes));
else {
i = d;
do (p === el && (i += 1), (i += 1), (p = t.charCodeAt(i)));
while (
i < m &&
!(
p <= 32 ||
p === Yn ||
p === Zo ||
p === tl ||
p === rl ||
p === Yt ||
p === Xo ||
(p === Qn && y && y.type === "function" && y.value === "calc") ||
(p === Yt && y.type === "function" && y.value === "calc") ||
(p === Ko && x)
)
);
((s = t.slice(d, i)),
Xo === p
? (w = s)
: (tA === s.charCodeAt(0) || rA === s.charCodeAt(0)) &&
iA === s.charCodeAt(1) &&
nA.test(s.slice(2))
? e.push({ type: "unicode-range", sourceIndex: d, sourceEndIndex: i, value: s })
: e.push({ type: "word", sourceIndex: d, sourceEndIndex: i, value: s }),
(d = i));
}
for (d = b.length - 1; d; d -= 1) ((b[d].unclosed = !0), (b[d].sourceEndIndex = t.length));
return b[0].nodes;
};
});
var zm = v((qD, $m) => {
l();
$m.exports = function r(e, t, i) {
var n, a, s, o;
for (n = 0, a = e.length; n < a; n += 1)
((s = e[n]),
i || (o = t(s, n, e)),
o !== !1 && s.type === "function" && Array.isArray(s.nodes) && r(s.nodes, t, i),
i && t(s, n, e));
};
});
var Wm = v((RD, Um) => {
l();
function jm(r, e) {
var t = r.type,
i = r.value,
n,
a;
return e && (a = e(r)) !== void 0
? a
: t === "word" || t === "space"
? i
: t === "string"
? ((n = r.quote || ""), n + i + (r.unclosed ? "" : n))
: t === "comment"
? "/*" + i + (r.unclosed ? "" : "*/")
: t === "div"
? (r.before || "") + i + (r.after || "")
: Array.isArray(r.nodes)
? ((n = Vm(r.nodes, e)),
t !== "function"
? n
: i + "(" + (r.before || "") + n + (r.after || "") + (r.unclosed ? "" : ")"))
: i;
}
function Vm(r, e) {
var t, i;
if (Array.isArray(r)) {
for (t = "", i = r.length - 1; ~i; i -= 1) t = jm(r[i], e) + t;
return t;
}
return jm(r, e);
}
Um.exports = Vm;
});
var Hm = v((MD, Gm) => {
l();
var Jn = "-".charCodeAt(0),
Xn = "+".charCodeAt(0),
il = ".".charCodeAt(0),
sA = "e".charCodeAt(0),
aA = "E".charCodeAt(0);
function oA(r) {
var e = r.charCodeAt(0),
t;
if (e === Xn || e === Jn) {
if (((t = r.charCodeAt(1)), t >= 48 && t <= 57)) return !0;
var i = r.charCodeAt(2);
return t === il && i >= 48 && i <= 57;
}
return e === il ? ((t = r.charCodeAt(1)), t >= 48 && t <= 57) : e >= 48 && e <= 57;
}
Gm.exports = function (r) {
var e = 0,
t = r.length,
i,
n,
a;
if (t === 0 || !oA(r)) return !1;
for (
i = r.charCodeAt(e), (i === Xn || i === Jn) && e++;
e < t && ((i = r.charCodeAt(e)), !(i < 48 || i > 57));
)
e += 1;
if (((i = r.charCodeAt(e)), (n = r.charCodeAt(e + 1)), i === il && n >= 48 && n <= 57))
for (e += 2; e < t && ((i = r.charCodeAt(e)), !(i < 48 || i > 57)); ) e += 1;
if (
((i = r.charCodeAt(e)),
(n = r.charCodeAt(e + 1)),
(a = r.charCodeAt(e + 2)),
(i === sA || i === aA) && ((n >= 48 && n <= 57) || ((n === Xn || n === Jn) && a >= 48 && a <= 57)))
)
for (e += n === Xn || n === Jn ? 3 : 2; e < t && ((i = r.charCodeAt(e)), !(i < 48 || i > 57)); ) e += 1;
return { number: r.slice(0, e), unit: r.slice(e) };
};
});
var Kn = v((BD, Jm) => {
l();
var lA = Nm(),
Ym = zm(),
Qm = Wm();
function ht(r) {
return this instanceof ht ? ((this.nodes = lA(r)), this) : new ht(r);
}
ht.prototype.toString = function () {
return Array.isArray(this.nodes) ? Qm(this.nodes) : "";
};
ht.prototype.walk = function (r, e) {
return (Ym(this.nodes, r, e), this);
};
ht.unit = Hm();
ht.walk = Ym;
ht.stringify = Qm;
Jm.exports = ht;
});
var tg = v((FD, eg) => {
l();
var { list: uA } = ge(),
Xm = Kn(),
fA = dt(),
Km = ai(),
Zm = class {
constructor(e) {
((this.props = ["transition", "transition-property"]), (this.prefixes = e));
}
add(e, t) {
let i,
n,
a = this.prefixes.add[e.prop],
s = this.ruleVendorPrefixes(e),
o = s || (a && a.prefixes) || [],
u = this.parse(e.value),
c = u.map((m) => this.findProp(m)),
f = [];
if (c.some((m) => m[0] === "-")) return;
for (let m of u) {
if (((n = this.findProp(m)), n[0] === "-")) continue;
let b = this.prefixes.add[n];
if (!(!b || !b.prefixes))
for (i of b.prefixes) {
if (s && !s.some((y) => i.includes(y))) continue;
let x = this.prefixes.prefixed(n, i);
x !== "-ms-transform" &&
!c.includes(x) &&
(this.disabled(n, i) || f.push(this.clone(n, x, m)));
}
}
u = u.concat(f);
let d = this.stringify(u),
p = this.stringify(this.cleanFromUnprefixed(u, "-webkit-"));
if (
(o.includes("-webkit-") && this.cloneBefore(e, `-webkit-${e.prop}`, p),
this.cloneBefore(e, e.prop, p),
o.includes("-o-"))
) {
let m = this.stringify(this.cleanFromUnprefixed(u, "-o-"));
this.cloneBefore(e, `-o-${e.prop}`, m);
}
for (i of o)
if (i !== "-webkit-" && i !== "-o-") {
let m = this.stringify(this.cleanOtherPrefixes(u, i));
this.cloneBefore(e, i + e.prop, m);
}
d !== e.value &&
!this.already(e, e.prop, d) &&
(this.checkForWarning(t, e), e.cloneBefore(), (e.value = d));
}
findProp(e) {
let t = e[0].value;
if (/^\d/.test(t)) {
for (let [i, n] of e.entries()) if (i !== 0 && n.type === "word") return n.value;
}
return t;
}
already(e, t, i) {
return e.parent.some((n) => n.prop === t && n.value === i);
}
cloneBefore(e, t, i) {
this.already(e, t, i) || e.cloneBefore({ prop: t, value: i });
}
checkForWarning(e, t) {
if (t.prop !== "transition-property") return;
let i = !1,
n = !1;
(t.parent.each((a) => {
if (a.type !== "decl" || a.prop.indexOf("transition-") !== 0) return;
let s = uA.comma(a.value);
if (a.prop === "transition-property") {
s.forEach((o) => {
let u = this.prefixes.add[o];
u && u.prefixes && u.prefixes.length > 0 && (i = !0);
});
return;
}
return ((n = n || s.length > 1), !1);
}),
i &&
n &&
t.warn(
e,
"Replace transition-property to transition, because Autoprefixer could not support any cases of transition-property and other transition-*"
));
}
remove(e) {
let t = this.parse(e.value);
t = t.filter((s) => {
let o = this.prefixes.remove[this.findProp(s)];
return !o || !o.remove;
});
let i = this.stringify(t);
if (e.value === i) return;
if (t.length === 0) {
e.remove();
return;
}
let n = e.parent.some((s) => s.prop === e.prop && s.value === i),
a = e.parent.some((s) => s !== e && s.prop === e.prop && s.value.length > i.length);
if (n || a) {
e.remove();
return;
}
e.value = i;
}
parse(e) {
let t = Xm(e),
i = [],
n = [];
for (let a of t.nodes) (n.push(a), a.type === "div" && a.value === "," && (i.push(n), (n = [])));
return (i.push(n), i.filter((a) => a.length > 0));
}
stringify(e) {
if (e.length === 0) return "";
let t = [];
for (let i of e) (i[i.length - 1].type !== "div" && i.push(this.div(e)), (t = t.concat(i)));
return (
t[0].type === "div" && (t = t.slice(1)),
t[t.length - 1].type === "div" && (t = t.slice(0, -2 + 1 || void 0)),
Xm.stringify({ nodes: t })
);
}
clone(e, t, i) {
let n = [],
a = !1;
for (let s of i)
!a && s.type === "word" && s.value === e
? (n.push({ type: "word", value: t }), (a = !0))
: n.push(s);
return n;
}
div(e) {
for (let t of e) for (let i of t) if (i.type === "div" && i.value === ",") return i;
return { type: "div", value: ",", after: " " };
}
cleanOtherPrefixes(e, t) {
return e.filter((i) => {
let n = Km.prefix(this.findProp(i));
return n === "" || n === t;
});
}
cleanFromUnprefixed(e, t) {
let i = e
.map((a) => this.findProp(a))
.filter((a) => a.slice(0, t.length) === t)
.map((a) => this.prefixes.unprefixed(a)),
n = [];
for (let a of e) {
let s = this.findProp(a),
o = Km.prefix(s);
!i.includes(s) && (o === t || o === "") && n.push(a);
}
return n;
}
disabled(e, t) {
let i = ["order", "justify-content", "align-self", "align-content"];
if (e.includes("flex") || i.includes(e)) {
if (this.prefixes.options.flexbox === !1) return !0;
if (this.prefixes.options.flexbox === "no-2009") return t.includes("2009");
}
}
ruleVendorPrefixes(e) {
let { parent: t } = e;
if (t.type !== "rule") return !1;
if (!t.selector.includes(":-")) return !1;
let i = fA.prefixes().filter((n) => t.selector.includes(":" + n));
return i.length > 0 ? i : !1;
}
};
eg.exports = Zm;
});
var Qt = v((LD, ig) => {
l();
var cA = le(),
rg = class {
constructor(e, t, i, n) {
((this.unprefixed = e),
(this.prefixed = t),
(this.string = i || t),
(this.regexp = n || cA.regexp(t)));
}
check(e) {
return e.includes(this.string) ? !!e.match(this.regexp) : !1;
}
};
ig.exports = rg;
});
var ke = v((ND, sg) => {
l();
var pA = Ht(),
dA = Qt(),
hA = ai(),
mA = le(),
ng = class extends pA {
static save(e, t) {
let i = t.prop,
n = [];
for (let a in t._autoprefixerValues) {
let s = t._autoprefixerValues[a];
if (s === t.value) continue;
let o,
u = hA.prefix(i);
if (u === "-pie-") continue;
if (u === a) {
((o = t.value = s), n.push(o));
continue;
}
let c = e.prefixed(i, a),
f = t.parent;
if (!f.every((b) => b.prop !== c)) {
n.push(o);
continue;
}
let d = s.replace(/\s+/, " ");
if (f.some((b) => b.prop === t.prop && b.value.replace(/\s+/, " ") === d)) {
n.push(o);
continue;
}
let m = this.clone(t, { value: s });
((o = t.parent.insertBefore(t, m)), n.push(o));
}
return n;
}
check(e) {
let t = e.value;
return t.includes(this.name) ? !!t.match(this.regexp()) : !1;
}
regexp() {
return this.regexpCache || (this.regexpCache = mA.regexp(this.name));
}
replace(e, t) {
return e.replace(this.regexp(), `$1${t}$2`);
}
value(e) {
return e.raws.value && e.raws.value.value === e.value ? e.raws.value.raw : e.value;
}
add(e, t) {
e._autoprefixerValues || (e._autoprefixerValues = {});
let i = e._autoprefixerValues[t] || this.value(e),
n;
do if (((n = i), (i = this.replace(i, t)), i === !1)) return;
while (i !== n);
e._autoprefixerValues[t] = i;
}
old(e) {
return new dA(this.name, e + this.name);
}
};
sg.exports = ng;
});
var mt = v(($D, ag) => {
l();
ag.exports = {};
});
var sl = v((zD, ug) => {
l();
var og = Kn(),
gA = ke(),
yA = mt().insertAreas,
wA = /(^|[^-])linear-gradient\(\s*(top|left|right|bottom)/i,
bA = /(^|[^-])radial-gradient\(\s*\d+(\w*|%)\s+\d+(\w*|%)\s*,/i,
vA = /(!\s*)?autoprefixer:\s*ignore\s+next/i,
xA = /(!\s*)?autoprefixer\s*grid:\s*(on|off|(no-)?autoplace)/i,
kA = [
"width",
"height",
"min-width",
"max-width",
"min-height",
"max-height",
"inline-size",
"min-inline-size",
"max-inline-size",
"block-size",
"min-block-size",
"max-block-size",
];
function nl(r) {
return r.parent.some((e) => e.prop === "grid-template" || e.prop === "grid-template-areas");
}
function SA(r) {
let e = r.parent.some((i) => i.prop === "grid-template-rows"),
t = r.parent.some((i) => i.prop === "grid-template-columns");
return e && t;
}
var lg = class {
constructor(e) {
this.prefixes = e;
}
add(e, t) {
let i = this.prefixes.add["@resolution"],
n = this.prefixes.add["@keyframes"],
a = this.prefixes.add["@viewport"],
s = this.prefixes.add["@supports"];
(e.walkAtRules((f) => {
if (f.name === "keyframes") {
if (!this.disabled(f, t)) return n && n.process(f);
} else if (f.name === "viewport") {
if (!this.disabled(f, t)) return a && a.process(f);
} else if (f.name === "supports") {
if (this.prefixes.options.supports !== !1 && !this.disabled(f, t)) return s.process(f);
} else if (f.name === "media" && f.params.includes("-resolution") && !this.disabled(f, t))
return i && i.process(f);
}),
e.walkRules((f) => {
if (!this.disabled(f, t)) return this.prefixes.add.selectors.map((d) => d.process(f, t));
}));
function o(f) {
return f.parent.nodes.some((d) => {
if (d.type !== "decl") return !1;
let p = d.prop === "display" && /(inline-)?grid/.test(d.value),
m = d.prop.startsWith("grid-template"),
b = /^grid-([A-z]+-)?gap/.test(d.prop);
return p || m || b;
});
}
function u(f) {
return f.parent.some((d) => d.prop === "display" && /(inline-)?flex/.test(d.value));
}
let c =
this.gridStatus(e, t) && this.prefixes.add["grid-area"] && this.prefixes.add["grid-area"].prefixes;
return (
e.walkDecls((f) => {
if (this.disabledDecl(f, t)) return;
let d = f.parent,
p = f.prop,
m = f.value;
if (p === "grid-row-span") {
t.warn("grid-row-span is not part of final Grid Layout. Use grid-row.", { node: f });
return;
} else if (p === "grid-column-span") {
t.warn("grid-column-span is not part of final Grid Layout. Use grid-column.", { node: f });
return;
} else if (p === "display" && m === "box") {
t.warn("You should write display: flex by final spec instead of display: box", { node: f });
return;
} else if (p === "text-emphasis-position")
(m === "under" || m === "over") &&
t.warn(
"You should use 2 values for text-emphasis-position For example, `under left` instead of just `under`.",
{ node: f }
);
else if (/^(align|justify|place)-(items|content)$/.test(p) && u(f))
(m === "start" || m === "end") &&
t.warn(`${m} value has mixed support, consider using flex-${m} instead`, { node: f });
else if (p === "text-decoration-skip" && m === "ink")
t.warn(
"Replace text-decoration-skip: ink to text-decoration-skip-ink: auto, because spec had been changed",
{ node: f }
);
else {
if (c && this.gridStatus(f, t))
if (
(f.value === "subgrid" && t.warn("IE does not support subgrid", { node: f }),
/^(align|justify|place)-items$/.test(p) && o(f))
) {
let x = p.replace("-items", "-self");
t.warn(
`IE does not support ${p} on grid containers. Try using ${x} on child elements instead: ${f.parent.selector} > * { ${x}: ${f.value} }`,
{ node: f }
);
} else if (/^(align|justify|place)-content$/.test(p) && o(f))
t.warn(`IE does not support ${f.prop} on grid containers`, { node: f });
else if (p === "display" && f.value === "contents") {
t.warn("Please do not use display: contents; if you have grid setting enabled", {
node: f,
});
return;
} else if (f.prop === "grid-gap") {
let x = this.gridStatus(f, t);
x === "autoplace" && !SA(f) && !nl(f)
? t.warn(
"grid-gap only works if grid-template(-areas) is being used or both rows and columns have been declared and cells have not been manually placed inside the explicit grid",
{ node: f }
)
: (x === !0 || x === "no-autoplace") &&
!nl(f) &&
t.warn("grid-gap only works if grid-template(-areas) is being used", {
node: f,
});
} else if (p === "grid-auto-columns") {
t.warn("grid-auto-columns is not supported by IE", { node: f });
return;
} else if (p === "grid-auto-rows") {
t.warn("grid-auto-rows is not supported by IE", { node: f });
return;
} else if (p === "grid-auto-flow") {
let x = d.some((w) => w.prop === "grid-template-rows"),
y = d.some((w) => w.prop === "grid-template-columns");
nl(f)
? t.warn("grid-auto-flow is not supported by IE", { node: f })
: m.includes("dense")
? t.warn("grid-auto-flow: dense is not supported by IE", { node: f })
: !x &&
!y &&
t.warn(
"grid-auto-flow works only if grid-template-rows and grid-template-columns are present in the same rule",
{ node: f }
);
return;
} else if (m.includes("auto-fit")) {
t.warn("auto-fit value is not supported by IE", { node: f, word: "auto-fit" });
return;
} else if (m.includes("auto-fill")) {
t.warn("auto-fill value is not supported by IE", { node: f, word: "auto-fill" });
return;
} else
p.startsWith("grid-template") &&
m.includes("[") &&
t.warn(
"Autoprefixer currently does not support line names. Try using grid-template-areas instead.",
{ node: f, word: "[" }
);
if (m.includes("radial-gradient"))
if (bA.test(f.value))
t.warn(
"Gradient has outdated direction syntax. New syntax is like `closest-side at 0 0` instead of `0 0, closest-side`.",
{ node: f }
);
else {
let x = og(m);
for (let y of x.nodes)
if (y.type === "function" && y.value === "radial-gradient")
for (let w of y.nodes)
w.type === "word" &&
(w.value === "cover"
? t.warn(
"Gradient has outdated direction syntax. Replace `cover` to `farthest-corner`.",
{ node: f }
)
: w.value === "contain" &&
t.warn(
"Gradient has outdated direction syntax. Replace `contain` to `closest-side`.",
{ node: f }
));
}
m.includes("linear-gradient") &&
wA.test(m) &&
t.warn(
"Gradient has outdated direction syntax. New syntax is like `to left` instead of `right`.",
{ node: f }
);
}
kA.includes(f.prop) &&
(f.value.includes("-fill-available") ||
(f.value.includes("fill-available")
? t.warn("Replace fill-available to stretch, because spec had been changed", {
node: f,
})
: f.value.includes("fill") &&
og(m).nodes.some((y) => y.type === "word" && y.value === "fill") &&
t.warn("Replace fill to stretch, because spec had been changed", { node: f })));
let b;
if (f.prop === "transition" || f.prop === "transition-property")
return this.prefixes.transition.add(f, t);
if (f.prop === "align-self") {
if (
(this.displayType(f) !== "grid" &&
this.prefixes.options.flexbox !== !1 &&
((b = this.prefixes.add["align-self"]), b && b.prefixes && b.process(f)),
this.gridStatus(f, t) !== !1 &&
((b = this.prefixes.add["grid-row-align"]), b && b.prefixes))
)
return b.process(f, t);
} else if (f.prop === "justify-self") {
if (
this.gridStatus(f, t) !== !1 &&
((b = this.prefixes.add["grid-column-align"]), b && b.prefixes)
)
return b.process(f, t);
} else if (f.prop === "place-self") {
if (
((b = this.prefixes.add["place-self"]), b && b.prefixes && this.gridStatus(f, t) !== !1)
)
return b.process(f, t);
} else if (((b = this.prefixes.add[f.prop]), b && b.prefixes)) return b.process(f, t);
}),
this.gridStatus(e, t) && yA(e, this.disabled),
e.walkDecls((f) => {
if (this.disabledValue(f, t)) return;
let d = this.prefixes.unprefixed(f.prop),
p = this.prefixes.values("add", d);
if (Array.isArray(p)) for (let m of p) m.process && m.process(f, t);
gA.save(this.prefixes, f);
})
);
}
remove(e, t) {
let i = this.prefixes.remove["@resolution"];
e.walkAtRules((n, a) => {
this.prefixes.remove[`@${n.name}`]
? this.disabled(n, t) || n.parent.removeChild(a)
: n.name === "media" && n.params.includes("-resolution") && i && i.clean(n);
});
for (let n of this.prefixes.remove.selectors)
e.walkRules((a, s) => {
n.check(a) && (this.disabled(a, t) || a.parent.removeChild(s));
});
return e.walkDecls((n, a) => {
if (this.disabled(n, t)) return;
let s = n.parent,
o = this.prefixes.unprefixed(n.prop);
if (
((n.prop === "transition" || n.prop === "transition-property") &&
this.prefixes.transition.remove(n),
this.prefixes.remove[n.prop] && this.prefixes.remove[n.prop].remove)
) {
let u = this.prefixes.group(n).down((c) => this.prefixes.normalize(c.prop) === o);
if ((o === "flex-flow" && (u = !0), n.prop === "-webkit-box-orient")) {
let c = { "flex-direction": !0, "flex-flow": !0 };
if (!n.parent.some((f) => c[f.prop])) return;
}
if (u && !this.withHackValue(n)) {
(n.raw("before").includes(`
`) && this.reduceSpaces(n),
s.removeChild(a));
return;
}
}
for (let u of this.prefixes.values("remove", o)) {
if (!u.check || !u.check(n.value)) continue;
if (((o = u.unprefixed), this.prefixes.group(n).down((f) => f.value.includes(o)))) {
s.removeChild(a);
return;
}
}
});
}
withHackValue(e) {
return e.prop === "-webkit-background-clip" && e.value === "text";
}
disabledValue(e, t) {
return (this.gridStatus(e, t) === !1 &&
e.type === "decl" &&
e.prop === "display" &&
e.value.includes("grid")) ||
(this.prefixes.options.flexbox === !1 &&
e.type === "decl" &&
e.prop === "display" &&
e.value.includes("flex")) ||
(e.type === "decl" && e.prop === "content")
? !0
: this.disabled(e, t);
}
disabledDecl(e, t) {
if (
this.gridStatus(e, t) === !1 &&
e.type === "decl" &&
(e.prop.includes("grid") || e.prop === "justify-items")
)
return !0;
if (this.prefixes.options.flexbox === !1 && e.type === "decl") {
let i = ["order", "justify-content", "align-items", "align-content"];
if (e.prop.includes("flex") || i.includes(e.prop)) return !0;
}
return this.disabled(e, t);
}
disabled(e, t) {
if (!e) return !1;
if (e._autoprefixerDisabled !== void 0) return e._autoprefixerDisabled;
if (e.parent) {
let n = e.prev();
if (n && n.type === "comment" && vA.test(n.text))
return ((e._autoprefixerDisabled = !0), (e._autoprefixerSelfDisabled = !0), !0);
}
let i = null;
if (e.nodes) {
let n;
(e.each((a) => {
a.type === "comment" &&
/(!\s*)?autoprefixer:\s*(off|on)/i.test(a.text) &&
(typeof n != "undefined"
? t.warn(
"Second Autoprefixer control comment was ignored. Autoprefixer applies control comment to whole block, not to next rules.",
{ node: a }
)
: (n = /on/i.test(a.text)));
}),
n !== void 0 && (i = !n));
}
if (!e.nodes || i === null)
if (e.parent) {
let n = this.disabled(e.parent, t);
e.parent._autoprefixerSelfDisabled === !0 ? (i = !1) : (i = n);
} else i = !1;
return ((e._autoprefixerDisabled = i), i);
}
reduceSpaces(e) {
let t = !1;
if ((this.prefixes.group(e).up(() => ((t = !0), !0)), t)) return;
let i = e.raw("before").split(`
`),
n = i[i.length - 1].length,
a = !1;
this.prefixes.group(e).down((s) => {
i = s.raw("before").split(`
`);
let o = i.length - 1;
i[o].length > n &&
(a === !1 && (a = i[o].length - n),
(i[o] = i[o].slice(0, -a)),
(s.raws.before = i.join(`
`)));
});
}
displayType(e) {
for (let t of e.parent.nodes)
if (t.prop === "display") {
if (t.value.includes("flex")) return "flex";
if (t.value.includes("grid")) return "grid";
}
return !1;
}
gridStatus(e, t) {
if (!e) return !1;
if (e._autoprefixerGridStatus !== void 0) return e._autoprefixerGridStatus;
let i = null;
if (e.nodes) {
let n;
(e.each((a) => {
if (a.type === "comment" && xA.test(a.text)) {
let s = /:\s*autoplace/i.test(a.text),
o = /no-autoplace/i.test(a.text);
typeof n != "undefined"
? t.warn(
"Second Autoprefixer grid control comment was ignored. Autoprefixer applies control comments to the whole block, not to the next rules.",
{ node: a }
)
: s
? (n = "autoplace")
: o
? (n = !0)
: (n = /on/i.test(a.text));
}
}),
n !== void 0 && (i = n));
}
if (e.type === "atrule" && e.name === "supports") {
let n = e.params;
n.includes("grid") && n.includes("auto") && (i = !1);
}
if (!e.nodes || i === null)
if (e.parent) {
let n = this.gridStatus(e.parent, t);
e.parent._autoprefixerSelfDisabled === !0 ? (i = !1) : (i = n);
} else
typeof this.prefixes.options.grid != "undefined"
? (i = this.prefixes.options.grid)
: typeof h.env.AUTOPREFIXER_GRID != "undefined"
? h.env.AUTOPREFIXER_GRID === "autoplace"
? (i = "autoplace")
: (i = !0)
: (i = !1);
return ((e._autoprefixerGridStatus = i), i);
}
};
ug.exports = lg;
});
var cg = v((jD, fg) => {
l();
fg.exports = {
A: {
A: { 2: "K E F G A B JC" },
B: { 1: "C L M H N D O P Q R S T U V W X Y Z a b c d e f g h i j n o p q r s t u v w x y z I" },
C: {
1: "2 3 4 5 6 7 8 9 AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB 0B dB 1B eB fB gB hB iB jB kB lB mB nB oB m pB qB rB sB tB P Q R 2B S T U V W X Y Z a b c d e f g h i j n o p q r s t u v w x y z I uB 3B 4B",
2: "0 1 KC zB J K E F G A B C L M H N D O k l LC MC",
},
D: {
1: "8 9 AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB 0B dB 1B eB fB gB hB iB jB kB lB mB nB oB m pB qB rB sB tB P Q R S T U V W X Y Z a b c d e f g h i j n o p q r s t u v w x y z I uB 3B 4B",
2: "0 1 2 3 4 5 6 7 J K E F G A B C L M H N D O k l",
},
E: {
1: "G A B C L M H D RC 6B vB wB 7B SC TC 8B 9B xB AC yB BC CC DC EC FC GC UC",
2: "0 J K E F NC 5B OC PC QC",
},
F: {
1: "1 2 3 4 5 6 7 8 9 H N D O k l AB BB CB DB EB FB GB HB IB JB KB LB MB NB OB PB QB RB SB TB UB VB WB XB YB ZB aB bB cB dB eB fB gB hB iB jB kB lB mB nB oB m pB qB rB sB tB P Q R 2B S T U V W X Y Z a b c d e f g h i j wB",
2: "G B C VC WC XC YC vB HC ZC",
},
G: {
1: "D fC gC hC iC jC kC lC mC nC oC pC qC rC sC tC 8B 9B xB AC yB BC CC DC EC FC GC",
2: "F 5B aC IC bC cC dC eC",
},
H: { 1: "uC" },
I: { 1: "I zC 0C", 2: "zB J vC wC xC yC IC" },
J: { 2: "E A" },
K: { 1: "m", 2: "A B C vB HC wB" },
L: { 1: "I" },
M: { 1: "uB" },
N: { 2: "A B" },
O: { 1: "xB" },
P: { 1: "J k l 1C 2C 3C 4C 5C 6B 6C 7C 8C 9C AD yB BD CD DD" },
Q: { 1: "7B" },
R: { 1: "ED" },
S: { 1: "FD GD" },
},
B: 4,
C: "CSS Feature Queries",
};
});
var mg = v((VD, hg) => {
l();
function pg(r) {
return r[r.length - 1];
}
var dg = {
parse(r) {
let e = [""],
t = [e];
for (let i of r) {
if (i === "(") {
((e = [""]), pg(t).push(e), t.push(e));
continue;
}
if (i === ")") {
(t.pop(), (e = pg(t)), e.push(""));
continue;
}
e[e.length - 1] += i;
}
return t[0];
},
stringify(r) {
let e = "";
for (let t of r) {
if (typeof t == "object") {
e += `(${dg.stringify(t)})`;
continue;
}
e += t;
}
return e;
},
};
hg.exports = dg;
});
var vg = v((UD, bg) => {
l();
var CA = cg(),
{ feature: AA } = (Gn(), Wn),
{ parse: _A } = ge(),
OA = dt(),
al = mg(),
EA = ke(),
TA = le(),
gg = AA(CA),
yg = [];
for (let r in gg.stats) {
let e = gg.stats[r];
for (let t in e) {
let i = e[t];
/y/.test(i) && yg.push(r + " " + t);
}
}
var wg = class {
constructor(e, t) {
((this.Prefixes = e), (this.all = t));
}
prefixer() {
if (this.prefixerCache) return this.prefixerCache;
let e = this.all.browsers.selected.filter((i) => yg.includes(i)),
t = new OA(this.all.browsers.data, e, this.all.options);
return (
(this.prefixerCache = new this.Prefixes(this.all.data, t, this.all.options)),
this.prefixerCache
);
}
parse(e) {
let t = e.split(":"),
i = t[0],
n = t[1];
return (n || (n = ""), [i.trim(), n.trim()]);
}
virtual(e) {
let [t, i] = this.parse(e),
n = _A("a{}").first;
return (n.append({ prop: t, value: i, raws: { before: "" } }), n);
}
prefixed(e) {
let t = this.virtual(e);
if (this.disabled(t.first)) return t.nodes;
let i = { warn: () => null },
n = this.prefixer().add[t.first.prop];
n && n.process && n.process(t.first, i);
for (let a of t.nodes) {
for (let s of this.prefixer().values("add", t.first.prop)) s.process(a);
EA.save(this.all, a);
}
return t.nodes;
}
isNot(e) {
return typeof e == "string" && /not\s*/i.test(e);
}
isOr(e) {
return typeof e == "string" && /\s*or\s*/i.test(e);
}
isProp(e) {
return typeof e == "object" && e.length === 1 && typeof e[0] == "string";
}
isHack(e, t) {
return !new RegExp(`(\\(|\\s)${TA.escapeRegexp(t)}:`).test(e);
}
toRemove(e, t) {
let [i, n] = this.parse(e),
a = this.all.unprefixed(i),
s = this.all.cleaner();
if (s.remove[i] && s.remove[i].remove && !this.isHack(t, a)) return !0;
for (let o of s.values("remove", a)) if (o.check(n)) return !0;
return !1;
}
remove(e, t) {
let i = 0;
for (; i < e.length; ) {
if (!this.isNot(e[i - 1]) && this.isProp(e[i]) && this.isOr(e[i + 1])) {
if (this.toRemove(e[i][0], t)) {
e.splice(i, 2);
continue;
}
i += 2;
continue;
}
(typeof e[i] == "object" && (e[i] = this.remove(e[i], t)), (i += 1));
}
return e;
}
cleanBrackets(e) {
return e.map((t) =>
typeof t != "object"
? t
: t.length === 1 && typeof t[0] == "object"
? this.cleanBrackets(t[0])
: this.cleanBrackets(t)
);
}
convert(e) {
let t = [""];
for (let i of e) (t.push([`${i.prop}: ${i.value}`]), t.push(" or "));
return ((t[t.length - 1] = ""), t);
}
normalize(e) {
if (typeof e != "object") return e;
if (((e = e.filter((t) => t !== "")), typeof e[0] == "string")) {
let t = e[0].trim();
if (t.includes(":") || t === "selector" || t === "not selector") return [al.stringify(e)];
}
return e.map((t) => this.normalize(t));
}
add(e, t) {
return e.map((i) => {
if (this.isProp(i)) {
let n = this.prefixed(i[0]);
return n.length > 1 ? this.convert(n) : i;
}
return typeof i == "object" ? this.add(i, t) : i;
});
}
process(e) {
let t = al.parse(e.params);
((t = this.normalize(t)),
(t = this.remove(t, e.params)),
(t = this.add(t, e.params)),
(t = this.cleanBrackets(t)),
(e.params = al.stringify(t)));
}
disabled(e) {
if (
!this.all.options.grid &&
((e.prop === "display" && e.value.includes("grid")) ||
e.prop.includes("grid") ||
e.prop === "justify-items")
)
return !0;
if (this.all.options.flexbox === !1) {
if (e.prop === "display" && e.value.includes("flex")) return !0;
let t = ["order", "justify-content", "align-items", "align-content"];
if (e.prop.includes("flex") || t.includes(e.prop)) return !0;
}
return !1;
}
};
bg.exports = wg;
});
var Sg = v((WD, kg) => {
l();
var xg = class {
constructor(e, t) {
((this.prefix = t),
(this.prefixed = e.prefixed(this.prefix)),
(this.regexp = e.regexp(this.prefix)),
(this.prefixeds = e.possible().map((i) => [e.prefixed(i), e.regexp(i)])),
(this.unprefixed = e.name),
(this.nameRegexp = e.regexp()));
}
isHack(e) {
let t = e.parent.index(e) + 1,
i = e.parent.nodes;
for (; t < i.length; ) {
let n = i[t].selector;
if (!n) return !0;
if (n.includes(this.unprefixed) && n.match(this.nameRegexp)) return !1;
let a = !1;
for (let [s, o] of this.prefixeds)
if (n.includes(s) && n.match(o)) {
a = !0;
break;
}
if (!a) return !0;
t += 1;
}
return !0;
}
check(e) {
return !(!e.selector.includes(this.prefixed) || !e.selector.match(this.regexp) || this.isHack(e));
}
};
kg.exports = xg;
});
var Jt = v((GD, Ag) => {
l();
var { list: PA } = ge(),
DA = Sg(),
IA = Ht(),
qA = dt(),
RA = le(),
Cg = class extends IA {
constructor(e, t, i) {
super(e, t, i);
this.regexpCache = new Map();
}
check(e) {
return e.selector.includes(this.name) ? !!e.selector.match(this.regexp()) : !1;
}
prefixed(e) {
return this.name.replace(/^(\W*)/, `$1${e}`);
}
regexp(e) {
if (!this.regexpCache.has(e)) {
let t = e ? this.prefixed(e) : this.name;
this.regexpCache.set(e, new RegExp(`(^|[^:"'=])${RA.escapeRegexp(t)}`, "gi"));
}
return this.regexpCache.get(e);
}
possible() {
return qA.prefixes();
}
prefixeds(e) {
if (e._autoprefixerPrefixeds) {
if (e._autoprefixerPrefixeds[this.name]) return e._autoprefixerPrefixeds;
} else e._autoprefixerPrefixeds = {};
let t = {};
if (e.selector.includes(",")) {
let n = PA.comma(e.selector).filter((a) => a.includes(this.name));
for (let a of this.possible()) t[a] = n.map((s) => this.replace(s, a)).join(", ");
} else for (let i of this.possible()) t[i] = this.replace(e.selector, i);
return ((e._autoprefixerPrefixeds[this.name] = t), e._autoprefixerPrefixeds);
}
already(e, t, i) {
let n = e.parent.index(e) - 1;
for (; n >= 0; ) {
let a = e.parent.nodes[n];
if (a.type !== "rule") return !1;
let s = !1;
for (let o in t[this.name]) {
let u = t[this.name][o];
if (a.selector === u) {
if (i === o) return !0;
s = !0;
break;
}
}
if (!s) return !1;
n -= 1;
}
return !1;
}
replace(e, t) {
return e.replace(this.regexp(), `$1${this.prefixed(t)}`);
}
add(e, t) {
let i = this.prefixeds(e);
if (this.already(e, i, t)) return;
let n = this.clone(e, { selector: i[this.name][t] });
e.parent.insertBefore(e, n);
}
old(e) {
return new DA(this, e);
}
};
Ag.exports = Cg;
});
var Eg = v((HD, Og) => {
l();
var MA = Ht(),
_g = class extends MA {
add(e, t) {
let i = t + e.name;
if (e.parent.some((s) => s.name === i && s.params === e.params)) return;
let a = this.clone(e, { name: i });
return e.parent.insertBefore(e, a);
}
process(e) {
let t = this.parentPrefix(e);
for (let i of this.prefixes) (!t || t === i) && this.add(e, i);
}
};
Og.exports = _g;
});
var Pg = v((YD, Tg) => {
l();
var BA = Jt(),
ol = class extends BA {
prefixed(e) {
return e === "-webkit-"
? ":-webkit-full-screen"
: e === "-moz-"
? ":-moz-full-screen"
: `:${e}fullscreen`;
}
};
ol.names = [":fullscreen"];
Tg.exports = ol;
});
var Ig = v((QD, Dg) => {
l();
var FA = Jt(),
ll = class extends FA {
possible() {
return super.possible().concat(["-moz- old", "-ms- old"]);
}
prefixed(e) {
return e === "-webkit-"
? "::-webkit-input-placeholder"
: e === "-ms-"
? "::-ms-input-placeholder"
: e === "-ms- old"
? ":-ms-input-placeholder"
: e === "-moz- old"
? ":-moz-placeholder"
: `::${e}placeholder`;
}
};
ll.names = ["::placeholder"];
Dg.exports = ll;
});
var Rg = v((JD, qg) => {
l();
var LA = Jt(),
ul = class extends LA {
prefixed(e) {
return e === "-ms-" ? ":-ms-input-placeholder" : `:${e}placeholder-shown`;
}
};
ul.names = [":placeholder-shown"];
qg.exports = ul;
});
var Bg = v((XD, Mg) => {
l();
var NA = Jt(),
$A = le(),
fl = class extends NA {
constructor(e, t, i) {
super(e, t, i);
this.prefixes && (this.prefixes = $A.uniq(this.prefixes.map((n) => "-webkit-")));
}
prefixed(e) {
return e === "-webkit-" ? "::-webkit-file-upload-button" : `::${e}file-selector-button`;
}
};
fl.names = ["::file-selector-button"];
Mg.exports = fl;
});
var pe = v((KD, Fg) => {
l();
Fg.exports = function (r) {
let e;
return (
r === "-webkit- 2009" || r === "-moz-"
? (e = 2009)
: r === "-ms-"
? (e = 2012)
: r === "-webkit-" && (e = "final"),
r === "-webkit- 2009" && (r = "-webkit-"),
[e, r]
);
};
});
var zg = v((ZD, $g) => {
l();
var Lg = ge().list,
Ng = pe(),
zA = M(),
Xt = class extends zA {
prefixed(e, t) {
let i;
return (([i, t] = Ng(t)), i === 2009 ? t + "box-flex" : super.prefixed(e, t));
}
normalize() {
return "flex";
}
set(e, t) {
let i = Ng(t)[0];
if (i === 2009)
return (
(e.value = Lg.space(e.value)[0]),
(e.value = Xt.oldValues[e.value] || e.value),
super.set(e, t)
);
if (i === 2012) {
let n = Lg.space(e.value);
n.length === 3 && n[2] === "0" && (e.value = n.slice(0, 2).concat("0px").join(" "));
}
return super.set(e, t);
}
};
Xt.names = ["flex", "box-flex"];
Xt.oldValues = { auto: "1", none: "0" };
$g.exports = Xt;
});
var Ug = v((eI, Vg) => {
l();
var jg = pe(),
jA = M(),
cl = class extends jA {
prefixed(e, t) {
let i;
return (
([i, t] = jg(t)),
i === 2009 ? t + "box-ordinal-group" : i === 2012 ? t + "flex-order" : super.prefixed(e, t)
);
}
normalize() {
return "order";
}
set(e, t) {
return jg(t)[0] === 2009 && /\d/.test(e.value)
? ((e.value = (parseInt(e.value) + 1).toString()), super.set(e, t))
: super.set(e, t);
}
};
cl.names = ["order", "flex-order", "box-ordinal-group"];
Vg.exports = cl;
});
var Gg = v((tI, Wg) => {
l();
var VA = M(),
pl = class extends VA {
check(e) {
let t = e.value;
return (
!t.toLowerCase().includes("alpha(") &&
!t.includes("DXImageTransform.Microsoft") &&
!t.includes("data:image/svg+xml")
);
}
};
pl.names = ["filter"];
Wg.exports = pl;
});
var Yg = v((rI, Hg) => {
l();
var UA = M(),
dl = class extends UA {
insert(e, t, i, n) {
if (t !== "-ms-") return super.insert(e, t, i);
let a = this.clone(e),
s = e.prop.replace(/end$/, "start"),
o = t + e.prop.replace(/end$/, "span");
if (!e.parent.some((u) => u.prop === o)) {
if (((a.prop = o), e.value.includes("span"))) a.value = e.value.replace(/span\s/i, "");
else {
let u;
if (
(e.parent.walkDecls(s, (c) => {
u = c;
}),
u)
) {
let c = Number(e.value) - Number(u.value) + "";
a.value = c;
} else e.warn(n, `Can not prefix ${e.prop} (${s} is not found)`);
}
e.cloneBefore(a);
}
}
};
dl.names = ["grid-row-end", "grid-column-end"];
Hg.exports = dl;
});
var Jg = v((iI, Qg) => {
l();
var WA = M(),
hl = class extends WA {
check(e) {
return !e.value.split(/\s+/).some((t) => {
let i = t.toLowerCase();
return i === "reverse" || i === "alternate-reverse";
});
}
};
hl.names = ["animation", "animation-direction"];
Qg.exports = hl;
});
var Kg = v((nI, Xg) => {
l();
var GA = pe(),
HA = M(),
ml = class extends HA {
insert(e, t, i) {
let n;
if ((([n, t] = GA(t)), n !== 2009)) return super.insert(e, t, i);
let a = e.value.split(/\s+/).filter((d) => d !== "wrap" && d !== "nowrap" && "wrap-reverse");
if (
a.length === 0 ||
e.parent.some((d) => d.prop === t + "box-orient" || d.prop === t + "box-direction")
)
return;
let o = a[0],
u = o.includes("row") ? "horizontal" : "vertical",
c = o.includes("reverse") ? "reverse" : "normal",
f = this.clone(e);
return (
(f.prop = t + "box-orient"),
(f.value = u),
this.needCascade(e) && (f.raws.before = this.calcBefore(i, e, t)),
e.parent.insertBefore(e, f),
(f = this.clone(e)),
(f.prop = t + "box-direction"),
(f.value = c),
this.needCascade(e) && (f.raws.before = this.calcBefore(i, e, t)),
e.parent.insertBefore(e, f)
);
}
};
ml.names = ["flex-flow", "box-direction", "box-orient"];
Xg.exports = ml;
});
var ey = v((sI, Zg) => {
l();
var YA = pe(),
QA = M(),
gl = class extends QA {
normalize() {
return "flex";
}
prefixed(e, t) {
let i;
return (
([i, t] = YA(t)),
i === 2009 ? t + "box-flex" : i === 2012 ? t + "flex-positive" : super.prefixed(e, t)
);
}
};
gl.names = ["flex-grow", "flex-positive"];
Zg.exports = gl;
});
var ry = v((aI, ty) => {
l();
var JA = pe(),
XA = M(),
yl = class extends XA {
set(e, t) {
if (JA(t)[0] !== 2009) return super.set(e, t);
}
};
yl.names = ["flex-wrap"];
ty.exports = yl;
});
var ny = v((oI, iy) => {
l();
var KA = M(),
Kt = mt(),
wl = class extends KA {
insert(e, t, i, n) {
if (t !== "-ms-") return super.insert(e, t, i);
let a = Kt.parse(e),
[s, o] = Kt.translate(a, 0, 2),
[u, c] = Kt.translate(a, 1, 3);
([
["grid-row", s],
["grid-row-span", o],
["grid-column", u],
["grid-column-span", c],
].forEach(([f, d]) => {
Kt.insertDecl(e, f, d);
}),
Kt.warnTemplateSelectorNotFound(e, n),
Kt.warnIfGridRowColumnExists(e, n));
}
};
wl.names = ["grid-area"];
iy.exports = wl;
});
var ay = v((lI, sy) => {
l();
var ZA = M(),
oi = mt(),
bl = class extends ZA {
insert(e, t, i) {
if (t !== "-ms-") return super.insert(e, t, i);
if (e.parent.some((s) => s.prop === "-ms-grid-row-align")) return;
let [[n, a]] = oi.parse(e);
a
? (oi.insertDecl(e, "grid-row-align", n), oi.insertDecl(e, "grid-column-align", a))
: (oi.insertDecl(e, "grid-row-align", n), oi.insertDecl(e, "grid-column-align", n));
}
};
bl.names = ["place-self"];
sy.exports = bl;
});
var ly = v((uI, oy) => {
l();
var e5 = M(),
vl = class extends e5 {
check(e) {
let t = e.value;
return !t.includes("/") || t.includes("span");
}
normalize(e) {
return e.replace("-start", "");
}
prefixed(e, t) {
let i = super.prefixed(e, t);
return (t === "-ms-" && (i = i.replace("-start", "")), i);
}
};
vl.names = ["grid-row-start", "grid-column-start"];
oy.exports = vl;
});
var cy = v((fI, fy) => {
l();
var uy = pe(),
t5 = M(),
Zt = class extends t5 {
check(e) {
return e.parent && !e.parent.some((t) => t.prop && t.prop.startsWith("grid-"));
}
prefixed(e, t) {
let i;
return (([i, t] = uy(t)), i === 2012 ? t + "flex-item-align" : super.prefixed(e, t));
}
normalize() {
return "align-self";
}
set(e, t) {
let i = uy(t)[0];
if (i === 2012) return ((e.value = Zt.oldValues[e.value] || e.value), super.set(e, t));
if (i === "final") return super.set(e, t);
}
};
Zt.names = ["align-self", "flex-item-align"];
Zt.oldValues = { "flex-end": "end", "flex-start": "start" };
fy.exports = Zt;
});
var dy = v((cI, py) => {
l();
var r5 = M(),
i5 = le(),
xl = class extends r5 {
constructor(e, t, i) {
super(e, t, i);
this.prefixes &&
(this.prefixes = i5.uniq(this.prefixes.map((n) => (n === "-ms-" ? "-webkit-" : n))));
}
};
xl.names = ["appearance"];
py.exports = xl;
});
var gy = v((pI, my) => {
l();
var hy = pe(),
n5 = M(),
kl = class extends n5 {
normalize() {
return "flex-basis";
}
prefixed(e, t) {
let i;
return (([i, t] = hy(t)), i === 2012 ? t + "flex-preferred-size" : super.prefixed(e, t));
}
set(e, t) {
let i;
if ((([i, t] = hy(t)), i === 2012 || i === "final")) return super.set(e, t);
}
};
kl.names = ["flex-basis", "flex-preferred-size"];
my.exports = kl;
});
var wy = v((dI, yy) => {
l();
var s5 = M(),
Sl = class extends s5 {
normalize() {
return this.name.replace("box-image", "border");
}
prefixed(e, t) {
let i = super.prefixed(e, t);
return (t === "-webkit-" && (i = i.replace("border", "box-image")), i);
}
};
Sl.names = [
"mask-border",
"mask-border-source",
"mask-border-slice",
"mask-border-width",
"mask-border-outset",
"mask-border-repeat",
"mask-box-image",
"mask-box-image-source",
"mask-box-image-slice",
"mask-box-image-width",
"mask-box-image-outset",
"mask-box-image-repeat",
];
yy.exports = Sl;
});
var vy = v((hI, by) => {
l();
var a5 = M(),
Ne = class extends a5 {
insert(e, t, i) {
let n = e.prop === "mask-composite",
a;
(n ? (a = e.value.split(",")) : (a = e.value.match(Ne.regexp) || []),
(a = a.map((c) => c.trim()).filter((c) => c)));
let s = a.length,
o;
if (
(s &&
((o = this.clone(e)),
(o.value = a.map((c) => Ne.oldValues[c] || c).join(", ")),
a.includes("intersect") && (o.value += ", xor"),
(o.prop = t + "mask-composite")),
n)
)
return s
? (this.needCascade(e) && (o.raws.before = this.calcBefore(i, e, t)),
e.parent.insertBefore(e, o))
: void 0;
let u = this.clone(e);
return (
(u.prop = t + u.prop),
s && (u.value = u.value.replace(Ne.regexp, "")),
this.needCascade(e) && (u.raws.before = this.calcBefore(i, e, t)),
e.parent.insertBefore(e, u),
s
? (this.needCascade(e) && (o.raws.before = this.calcBefore(i, e, t)),
e.parent.insertBefore(e, o))
: e
);
}
};
Ne.names = ["mask", "mask-composite"];
Ne.oldValues = { add: "source-over", subtract: "source-out", intersect: "source-in", exclude: "xor" };
Ne.regexp = new RegExp(`\\s+(${Object.keys(Ne.oldValues).join("|")})\\b(?!\\))\\s*(?=[,])`, "ig");
by.exports = Ne;
});
var Sy = v((mI, ky) => {
l();
var xy = pe(),
o5 = M(),
er = class extends o5 {
prefixed(e, t) {
let i;
return (
([i, t] = xy(t)),
i === 2009 ? t + "box-align" : i === 2012 ? t + "flex-align" : super.prefixed(e, t)
);
}
normalize() {
return "align-items";
}
set(e, t) {
let i = xy(t)[0];
return (
(i === 2009 || i === 2012) && (e.value = er.oldValues[e.value] || e.value),
super.set(e, t)
);
}
};
er.names = ["align-items", "flex-align", "box-align"];
er.oldValues = { "flex-end": "end", "flex-start": "start" };
ky.exports = er;
});
var Ay = v((gI, Cy) => {
l();
var l5 = M(),
Cl = class extends l5 {
set(e, t) {
return (t === "-ms-" && e.value === "contain" && (e.value = "element"), super.set(e, t));
}
insert(e, t, i) {
if (!(e.value === "all" && t === "-ms-")) return super.insert(e, t, i);
}
};
Cl.names = ["user-select"];
Cy.exports = Cl;
});
var Ey = v((yI, Oy) => {
l();
var _y = pe(),
u5 = M(),
Al = class extends u5 {
normalize() {
return "flex-shrink";
}
prefixed(e, t) {
let i;
return (([i, t] = _y(t)), i === 2012 ? t + "flex-negative" : super.prefixed(e, t));
}
set(e, t) {
let i;
if ((([i, t] = _y(t)), i === 2012 || i === "final")) return super.set(e, t);
}
};
Al.names = ["flex-shrink", "flex-negative"];
Oy.exports = Al;
});
var Py = v((wI, Ty) => {
l();
var f5 = M(),
_l = class extends f5 {
prefixed(e, t) {
return `${t}column-${e}`;
}
normalize(e) {
return e.includes("inside")
? "break-inside"
: e.includes("before")
? "break-before"
: "break-after";
}
set(e, t) {
return (
((e.prop === "break-inside" && e.value === "avoid-column") || e.value === "avoid-page") &&
(e.value = "avoid"),
super.set(e, t)
);
}
insert(e, t, i) {
if (e.prop !== "break-inside") return super.insert(e, t, i);
if (!(/region/i.test(e.value) || /page/i.test(e.value))) return super.insert(e, t, i);
}
};
_l.names = [
"break-inside",
"page-break-inside",
"column-break-inside",
"break-before",
"page-break-before",
"column-break-before",
"break-after",
"page-break-after",
"column-break-after",
];
Ty.exports = _l;
});
var Iy = v((bI, Dy) => {
l();
var c5 = M(),
Ol = class extends c5 {
prefixed(e, t) {
return t + "print-color-adjust";
}
normalize() {
return "color-adjust";
}
};
Ol.names = ["color-adjust", "print-color-adjust"];
Dy.exports = Ol;
});
var Ry = v((vI, qy) => {
l();
var p5 = M(),
tr = class extends p5 {
insert(e, t, i) {
if (t === "-ms-") {
let n = this.set(this.clone(e), t);
this.needCascade(e) && (n.raws.before = this.calcBefore(i, e, t));
let a = "ltr";
return (
e.parent.nodes.forEach((s) => {
s.prop === "direction" && (s.value === "rtl" || s.value === "ltr") && (a = s.value);
}),
(n.value = tr.msValues[a][e.value] || e.value),
e.parent.insertBefore(e, n)
);
}
return super.insert(e, t, i);
}
};
tr.names = ["writing-mode"];
tr.msValues = {
ltr: { "horizontal-tb": "lr-tb", "vertical-rl": "tb-rl", "vertical-lr": "tb-lr" },
rtl: { "horizontal-tb": "rl-tb", "vertical-rl": "bt-rl", "vertical-lr": "bt-lr" },
};
qy.exports = tr;
});
var By = v((xI, My) => {
l();
var d5 = M(),
El = class extends d5 {
set(e, t) {
return ((e.value = e.value.replace(/\s+fill(\s)/, "$1")), super.set(e, t));
}
};
El.names = ["border-image"];
My.exports = El;
});
var Ny = v((kI, Ly) => {
l();
var Fy = pe(),
h5 = M(),
rr = class extends h5 {
prefixed(e, t) {
let i;
return (([i, t] = Fy(t)), i === 2012 ? t + "flex-line-pack" : super.prefixed(e, t));
}
normalize() {
return "align-content";
}
set(e, t) {
let i = Fy(t)[0];
if (i === 2012) return ((e.value = rr.oldValues[e.value] || e.value), super.set(e, t));
if (i === "final") return super.set(e, t);
}
};
rr.names = ["align-content", "flex-line-pack"];
rr.oldValues = {
"flex-end": "end",
"flex-start": "start",
"space-between": "justify",
"space-around": "distribute",
};
Ly.exports = rr;
});
var zy = v((SI, $y) => {
l();
var m5 = M(),
Se = class extends m5 {
prefixed(e, t) {
return t === "-moz-" ? t + (Se.toMozilla[e] || e) : super.prefixed(e, t);
}
normalize(e) {
return Se.toNormal[e] || e;
}
};
Se.names = ["border-radius"];
Se.toMozilla = {};
Se.toNormal = {};
for (let r of ["top", "bottom"])
for (let e of ["left", "right"]) {
let t = `border-${r}-${e}-radius`,
i = `border-radius-${r}${e}`;
(Se.names.push(t), Se.names.push(i), (Se.toMozilla[t] = i), (Se.toNormal[i] = t));
}
$y.exports = Se;
});
var Vy = v((CI, jy) => {
l();
var g5 = M(),
Tl = class extends g5 {
prefixed(e, t) {
return e.includes("-start")
? t + e.replace("-block-start", "-before")
: t + e.replace("-block-end", "-after");
}
normalize(e) {
return e.includes("-before")
? e.replace("-before", "-block-start")
: e.replace("-after", "-block-end");
}
};
Tl.names = [
"border-block-start",
"border-block-end",
"margin-block-start",
"margin-block-end",
"padding-block-start",
"padding-block-end",
"border-before",
"border-after",
"margin-before",
"margin-after",
"padding-before",
"padding-after",
];
jy.exports = Tl;
});
var Wy = v((AI, Uy) => {
l();
var y5 = M(),
{ parseTemplate: w5, warnMissedAreas: b5, getGridGap: v5, warnGridGap: x5, inheritGridGap: k5 } = mt(),
Pl = class extends y5 {
insert(e, t, i, n) {
if (t !== "-ms-") return super.insert(e, t, i);
if (e.parent.some((m) => m.prop === "-ms-grid-rows")) return;
let a = v5(e),
s = k5(e, a),
{ rows: o, columns: u, areas: c } = w5({ decl: e, gap: s || a }),
f = Object.keys(c).length > 0,
d = Boolean(o),
p = Boolean(u);
return (
x5({ gap: a, hasColumns: p, decl: e, result: n }),
b5(c, e, n),
((d && p) || f) && e.cloneBefore({ prop: "-ms-grid-rows", value: o, raws: {} }),
p && e.cloneBefore({ prop: "-ms-grid-columns", value: u, raws: {} }),
e
);
}
};
Pl.names = ["grid-template"];
Uy.exports = Pl;
});
var Hy = v((_I, Gy) => {
l();
var S5 = M(),
Dl = class extends S5 {
prefixed(e, t) {
return t + e.replace("-inline", "");
}
normalize(e) {
return e.replace(/(margin|padding|border)-(start|end)/, "$1-inline-$2");
}
};
Dl.names = [
"border-inline-start",
"border-inline-end",
"margin-inline-start",
"margin-inline-end",
"padding-inline-start",
"padding-inline-end",
"border-start",
"border-end",
"margin-start",
"margin-end",
"padding-start",
"padding-end",
];
Gy.exports = Dl;
});
var Qy = v((OI, Yy) => {
l();
var C5 = M(),
Il = class extends C5 {
check(e) {
return !e.value.includes("flex-") && e.value !== "baseline";
}
prefixed(e, t) {
return t + "grid-row-align";
}
normalize() {
return "align-self";
}
};
Il.names = ["grid-row-align"];
Yy.exports = Il;
});
var Xy = v((EI, Jy) => {
l();
var A5 = M(),
ir = class extends A5 {
keyframeParents(e) {
let { parent: t } = e;
for (; t; ) {
if (t.type === "atrule" && t.name === "keyframes") return !0;
({ parent: t } = t);
}
return !1;
}
contain3d(e) {
if (e.prop === "transform-origin") return !1;
for (let t of ir.functions3d) if (e.value.includes(`${t}(`)) return !0;
return !1;
}
set(e, t) {
return (
(e = super.set(e, t)),
t === "-ms-" && (e.value = e.value.replace(/rotatez/gi, "rotate")),
e
);
}
insert(e, t, i) {
if (t === "-ms-") {
if (!this.contain3d(e) && !this.keyframeParents(e)) return super.insert(e, t, i);
} else if (t === "-o-") {
if (!this.contain3d(e)) return super.insert(e, t, i);
} else return super.insert(e, t, i);
}
};
ir.names = ["transform", "transform-origin"];
ir.functions3d = [
"matrix3d",
"translate3d",
"translateZ",
"scale3d",
"scaleZ",
"rotate3d",
"rotateX",
"rotateY",
"perspective",
];
Jy.exports = ir;
});
var ew = v((TI, Zy) => {
l();
var Ky = pe(),
_5 = M(),
ql = class extends _5 {
normalize() {
return "flex-direction";
}
insert(e, t, i) {
let n;
if ((([n, t] = Ky(t)), n !== 2009)) return super.insert(e, t, i);
if (e.parent.some((f) => f.prop === t + "box-orient" || f.prop === t + "box-direction")) return;
let s = e.value,
o,
u;
s === "inherit" || s === "initial" || s === "unset"
? ((o = s), (u = s))
: ((o = s.includes("row") ? "horizontal" : "vertical"),
(u = s.includes("reverse") ? "reverse" : "normal"));
let c = this.clone(e);
return (
(c.prop = t + "box-orient"),
(c.value = o),
this.needCascade(e) && (c.raws.before = this.calcBefore(i, e, t)),
e.parent.insertBefore(e, c),
(c = this.clone(e)),
(c.prop = t + "box-direction"),
(c.value = u),
this.needCascade(e) && (c.raws.before = this.calcBefore(i, e, t)),
e.parent.insertBefore(e, c)
);
}
old(e, t) {
let i;
return (([i, t] = Ky(t)), i === 2009 ? [t + "box-orient", t + "box-direction"] : super.old(e, t));
}
};
ql.names = ["flex-direction", "box-direction", "box-orient"];
Zy.exports = ql;
});
var rw = v((PI, tw) => {
l();
var O5 = M(),
Rl = class extends O5 {
check(e) {
return e.value === "pixelated";
}
prefixed(e, t) {
return t === "-ms-" ? "-ms-interpolation-mode" : super.prefixed(e, t);
}
set(e, t) {
return t !== "-ms-"
? super.set(e, t)
: ((e.prop = "-ms-interpolation-mode"), (e.value = "nearest-neighbor"), e);
}
normalize() {
return "image-rendering";
}
process(e, t) {
return super.process(e, t);
}
};
Rl.names = ["image-rendering", "interpolation-mode"];
tw.exports = Rl;
});
var nw = v((DI, iw) => {
l();
var E5 = M(),
T5 = le(),
Ml = class extends E5 {
constructor(e, t, i) {
super(e, t, i);
this.prefixes &&
(this.prefixes = T5.uniq(this.prefixes.map((n) => (n === "-ms-" ? "-webkit-" : n))));
}
};
Ml.names = ["backdrop-filter"];
iw.exports = Ml;
});
var aw = v((II, sw) => {
l();
var P5 = M(),
D5 = le(),
Bl = class extends P5 {
constructor(e, t, i) {
super(e, t, i);
this.prefixes &&
(this.prefixes = D5.uniq(this.prefixes.map((n) => (n === "-ms-" ? "-webkit-" : n))));
}
check(e) {
return e.value.toLowerCase() === "text";
}
};
Bl.names = ["background-clip"];
sw.exports = Bl;
});
var lw = v((qI, ow) => {
l();
var I5 = M(),
q5 = ["none", "underline", "overline", "line-through", "blink", "inherit", "initial", "unset"],
Fl = class extends I5 {
check(e) {
return e.value.split(/\s+/).some((t) => !q5.includes(t));
}
};
Fl.names = ["text-decoration"];
ow.exports = Fl;
});
var cw = v((RI, fw) => {
l();
var uw = pe(),
R5 = M(),
nr = class extends R5 {
prefixed(e, t) {
let i;
return (
([i, t] = uw(t)),
i === 2009 ? t + "box-pack" : i === 2012 ? t + "flex-pack" : super.prefixed(e, t)
);
}
normalize() {
return "justify-content";
}
set(e, t) {
let i = uw(t)[0];
if (i === 2009 || i === 2012) {
let n = nr.oldValues[e.value] || e.value;
if (((e.value = n), i !== 2009 || n !== "distribute")) return super.set(e, t);
} else if (i === "final") return super.set(e, t);
}
};
nr.names = ["justify-content", "flex-pack", "box-pack"];
nr.oldValues = {
"flex-end": "end",
"flex-start": "start",
"space-between": "justify",
"space-around": "distribute",
};
fw.exports = nr;
});
var dw = v((MI, pw) => {
l();
var M5 = M(),
Ll = class extends M5 {
set(e, t) {
let i = e.value.toLowerCase();
return (
t === "-webkit-" &&
!i.includes(" ") &&
i !== "contain" &&
i !== "cover" &&
(e.value = e.value + " " + e.value),
super.set(e, t)
);
}
};
Ll.names = ["background-size"];
pw.exports = Ll;
});
var mw = v((BI, hw) => {
l();
var B5 = M(),
Nl = mt(),
$l = class extends B5 {
insert(e, t, i) {
if (t !== "-ms-") return super.insert(e, t, i);
let n = Nl.parse(e),
[a, s] = Nl.translate(n, 0, 1);
(n[0] && n[0].includes("span") && (s = n[0].join("").replace(/\D/g, "")),
[
[e.prop, a],
[`${e.prop}-span`, s],
].forEach(([u, c]) => {
Nl.insertDecl(e, u, c);
}));
}
};
$l.names = ["grid-row", "grid-column"];
hw.exports = $l;
});
var ww = v((FI, yw) => {
l();
var F5 = M(),
{
prefixTrackProp: gw,
prefixTrackValue: L5,
autoplaceGridItems: N5,
getGridGap: $5,
inheritGridGap: z5,
} = mt(),
j5 = sl(),
zl = class extends F5 {
prefixed(e, t) {
return t === "-ms-" ? gw({ prop: e, prefix: t }) : super.prefixed(e, t);
}
normalize(e) {
return e.replace(/^grid-(rows|columns)/, "grid-template-$1");
}
insert(e, t, i, n) {
if (t !== "-ms-") return super.insert(e, t, i);
let { parent: a, prop: s, value: o } = e,
u = s.includes("rows"),
c = s.includes("columns"),
f = a.some((k) => k.prop === "grid-template" || k.prop === "grid-template-areas");
if (f && u) return !1;
let d = new j5({ options: {} }),
p = d.gridStatus(a, n),
m = $5(e);
m = z5(e, m) || m;
let b = u ? m.row : m.column;
(p === "no-autoplace" || p === !0) && !f && (b = null);
let x = L5({ value: o, gap: b });
e.cloneBefore({ prop: gw({ prop: s, prefix: t }), value: x });
let y = a.nodes.find((k) => k.prop === "grid-auto-flow"),
w = "row";
if ((y && !d.disabled(y, n) && (w = y.value.trim()), p === "autoplace")) {
let k = a.nodes.find((_) => _.prop === "grid-template-rows");
if (!k && f) return;
if (!k && !f) {
e.warn(n, "Autoplacement does not work without grid-template-rows property");
return;
}
(!a.nodes.find((_) => _.prop === "grid-template-columns") &&
!f &&
e.warn(n, "Autoplacement does not work without grid-template-columns property"),
c && !f && N5(e, n, m, w));
}
}
};
zl.names = ["grid-template-rows", "grid-template-columns", "grid-rows", "grid-columns"];
yw.exports = zl;
});
var vw = v((LI, bw) => {
l();
var V5 = M(),
jl = class extends V5 {
check(e) {
return !e.value.includes("flex-") && e.value !== "baseline";
}
prefixed(e, t) {
return t + "grid-column-align";
}
normalize() {
return "justify-self";
}
};
jl.names = ["grid-column-align"];
bw.exports = jl;
});
var kw = v((NI, xw) => {
l();
var U5 = M(),
Vl = class extends U5 {
prefixed(e, t) {
return t + "scroll-chaining";
}
normalize() {
return "overscroll-behavior";
}
set(e, t) {
return (
e.value === "auto"
? (e.value = "chained")
: (e.value === "none" || e.value === "contain") && (e.value = "none"),
super.set(e, t)
);
}
};
Vl.names = ["overscroll-behavior", "scroll-chaining"];
xw.exports = Vl;
});
var Aw = v(($I, Cw) => {
l();
var W5 = M(),
{
parseGridAreas: G5,
warnMissedAreas: H5,
prefixTrackProp: Y5,
prefixTrackValue: Sw,
getGridGap: Q5,
warnGridGap: J5,
inheritGridGap: X5,
} = mt();
function K5(r) {
return r
.trim()
.slice(1, -1)
.split(/["']\s*["']?/g);
}
var Ul = class extends W5 {
insert(e, t, i, n) {
if (t !== "-ms-") return super.insert(e, t, i);
let a = !1,
s = !1,
o = e.parent,
u = Q5(e);
((u = X5(e, u) || u),
o.walkDecls(/-ms-grid-rows/, (d) => d.remove()),
o.walkDecls(/grid-template-(rows|columns)/, (d) => {
if (d.prop === "grid-template-rows") {
s = !0;
let { prop: p, value: m } = d;
d.cloneBefore({ prop: Y5({ prop: p, prefix: t }), value: Sw({ value: m, gap: u.row }) });
} else a = !0;
}));
let c = K5(e.value);
(a &&
!s &&
u.row &&
c.length > 1 &&
e.cloneBefore({
prop: "-ms-grid-rows",
value: Sw({ value: `repeat(${c.length}, auto)`, gap: u.row }),
raws: {},
}),
J5({ gap: u, hasColumns: a, decl: e, result: n }));
let f = G5({ rows: c, gap: u });
return (H5(f, e, n), e);
}
};
Ul.names = ["grid-template-areas"];
Cw.exports = Ul;
});
var Ow = v((zI, _w) => {
l();
var Z5 = M(),
Wl = class extends Z5 {
set(e, t) {
return (
t === "-webkit-" && (e.value = e.value.replace(/\s*(right|left)\s*/i, "")),
super.set(e, t)
);
}
};
Wl.names = ["text-emphasis-position"];
_w.exports = Wl;
});
var Tw = v((jI, Ew) => {
l();
var e_ = M(),
Gl = class extends e_ {
set(e, t) {
return e.prop === "text-decoration-skip-ink" && e.value === "auto"
? ((e.prop = t + "text-decoration-skip"), (e.value = "ink"), e)
: super.set(e, t);
}
};
Gl.names = ["text-decoration-skip-ink", "text-decoration-skip"];
Ew.exports = Gl;
});
var Mw = v((VI, Rw) => {
l();
("use strict");
Rw.exports = { wrap: Pw, limit: Dw, validate: Iw, test: Hl, curry: t_, name: qw };
function Pw(r, e, t) {
var i = e - r;
return ((((t - r) % i) + i) % i) + r;
}
function Dw(r, e, t) {
return Math.max(r, Math.min(e, t));
}
function Iw(r, e, t, i, n) {
if (!Hl(r, e, t, i, n)) throw new Error(t + " is outside of range [" + r + "," + e + ")");
return t;
}
function Hl(r, e, t, i, n) {
return !(t < r || t > e || (n && t === e) || (i && t === r));
}
function qw(r, e, t, i) {
return (t ? "(" : "[") + r + "," + e + (i ? ")" : "]");
}
function t_(r, e, t, i) {
var n = qw.bind(null, r, e, t, i);
return {
wrap: Pw.bind(null, r, e),
limit: Dw.bind(null, r, e),
validate: function (a) {
return Iw(r, e, a, t, i);
},
test: function (a) {
return Hl(r, e, a, t, i);
},
toString: n,
name: n,
};
}
});
var Lw = v((UI, Fw) => {
l();
var Yl = Kn(),
r_ = Mw(),
i_ = Qt(),
n_ = ke(),
s_ = le(),
Bw = /top|left|right|bottom/gi,
Qe = class extends n_ {
replace(e, t) {
let i = Yl(e);
for (let n of i.nodes)
if (n.type === "function" && n.value === this.name)
if (
((n.nodes = this.newDirection(n.nodes)),
(n.nodes = this.normalize(n.nodes)),
t === "-webkit- old")
) {
if (!this.oldWebkit(n)) return !1;
} else ((n.nodes = this.convertDirection(n.nodes)), (n.value = t + n.value));
return i.toString();
}
replaceFirst(e, ...t) {
return t
.map((n) => (n === " " ? { type: "space", value: n } : { type: "word", value: n }))
.concat(e.slice(1));
}
normalizeUnit(e, t) {
return `${(parseFloat(e) / t) * 360}deg`;
}
normalize(e) {
if (!e[0]) return e;
if (/-?\d+(.\d+)?grad/.test(e[0].value)) e[0].value = this.normalizeUnit(e[0].value, 400);
else if (/-?\d+(.\d+)?rad/.test(e[0].value))
e[0].value = this.normalizeUnit(e[0].value, 2 * Math.PI);
else if (/-?\d+(.\d+)?turn/.test(e[0].value)) e[0].value = this.normalizeUnit(e[0].value, 1);
else if (e[0].value.includes("deg")) {
let t = parseFloat(e[0].value);
((t = r_.wrap(0, 360, t)), (e[0].value = `${t}deg`));
}
return (
e[0].value === "0deg"
? (e = this.replaceFirst(e, "to", " ", "top"))
: e[0].value === "90deg"
? (e = this.replaceFirst(e, "to", " ", "right"))
: e[0].value === "180deg"
? (e = this.replaceFirst(e, "to", " ", "bottom"))
: e[0].value === "270deg" && (e = this.replaceFirst(e, "to", " ", "left")),
e
);
}
newDirection(e) {
if (e[0].value === "to" || ((Bw.lastIndex = 0), !Bw.test(e[0].value))) return e;
e.unshift({ type: "word", value: "to" }, { type: "space", value: " " });
for (let t = 2; t < e.length && e[t].type !== "div"; t++)
e[t].type === "word" && (e[t].value = this.revertDirection(e[t].value));
return e;
}
isRadial(e) {
let t = "before";
for (let i of e)
if (t === "before" && i.type === "space") t = "at";
else if (t === "at" && i.value === "at") t = "after";
else {
if (t === "after" && i.type === "space") return !0;
if (i.type === "div") break;
t = "before";
}
return !1;
}
convertDirection(e) {
return (
e.length > 0 &&
(e[0].value === "to"
? this.fixDirection(e)
: e[0].value.includes("deg")
? this.fixAngle(e)
: this.isRadial(e) && this.fixRadial(e)),
e
);
}
fixDirection(e) {
e.splice(0, 2);
for (let t of e) {
if (t.type === "div") break;
t.type === "word" && (t.value = this.revertDirection(t.value));
}
}
fixAngle(e) {
let t = e[0].value;
((t = parseFloat(t)),
(t = Math.abs(450 - t) % 360),
(t = this.roundFloat(t, 3)),
(e[0].value = `${t}deg`));
}
fixRadial(e) {
let t = [],
i = [],
n,
a,
s,
o,
u;
for (o = 0; o < e.length - 2; o++)
if (
((n = e[o]),
(a = e[o + 1]),
(s = e[o + 2]),
n.type === "space" && a.value === "at" && s.type === "space")
) {
u = o + 3;
break;
} else t.push(n);
let c;
for (o = u; o < e.length; o++)
if (e[o].type === "div") {
c = e[o];
break;
} else i.push(e[o]);
e.splice(0, o, ...i, c, ...t);
}
revertDirection(e) {
return Qe.directions[e.toLowerCase()] || e;
}
roundFloat(e, t) {
return parseFloat(e.toFixed(t));
}
oldWebkit(e) {
let { nodes: t } = e,
i = Yl.stringify(e.nodes);
if (
this.name !== "linear-gradient" ||
(t[0] && t[0].value.includes("deg")) ||
i.includes("px") ||
i.includes("-corner") ||
i.includes("-side")
)
return !1;
let n = [[]];
for (let a of t) (n[n.length - 1].push(a), a.type === "div" && a.value === "," && n.push([]));
(this.oldDirection(n), this.colorStops(n), (e.nodes = []));
for (let a of n) e.nodes = e.nodes.concat(a);
return (
e.nodes.unshift({ type: "word", value: "linear" }, this.cloneDiv(e.nodes)),
(e.value = "-webkit-gradient"),
!0
);
}
oldDirection(e) {
let t = this.cloneDiv(e[0]);
if (e[0][0].value !== "to") return e.unshift([{ type: "word", value: Qe.oldDirections.bottom }, t]);
{
let i = [];
for (let a of e[0].slice(2)) a.type === "word" && i.push(a.value.toLowerCase());
i = i.join(" ");
let n = Qe.oldDirections[i] || i;
return ((e[0] = [{ type: "word", value: n }, t]), e[0]);
}
}
cloneDiv(e) {
for (let t of e) if (t.type === "div" && t.value === ",") return t;
return { type: "div", value: ",", after: " " };
}
colorStops(e) {
let t = [];
for (let i = 0; i < e.length; i++) {
let n,
a = e[i],
s;
if (i === 0) continue;
let o = Yl.stringify(a[0]);
a[1] && a[1].type === "word"
? (n = a[1].value)
: a[2] && a[2].type === "word" && (n = a[2].value);
let u;
i === 1 && (!n || n === "0%")
? (u = `from(${o})`)
: i === e.length - 1 && (!n || n === "100%")
? (u = `to(${o})`)
: n
? (u = `color-stop(${n}, ${o})`)
: (u = `color-stop(${o})`);
let c = a[a.length - 1];
((e[i] = [{ type: "word", value: u }]),
c.type === "div" && c.value === "," && (s = e[i].push(c)),
t.push(s));
}
return t;
}
old(e) {
if (e === "-webkit-") {
let t = this.name === "linear-gradient" ? "linear" : "radial",
i = "-gradient",
n = s_.regexp(`-webkit-(${t}-gradient|gradient\\(\\s*${t})`, !1);
return new i_(this.name, e + this.name, i, n);
} else return super.old(e);
}
add(e, t) {
let i = e.prop;
if (i.includes("mask")) {
if (t === "-webkit-" || t === "-webkit- old") return super.add(e, t);
} else if (i === "list-style" || i === "list-style-image" || i === "content") {
if (t === "-webkit-" || t === "-webkit- old") return super.add(e, t);
} else return super.add(e, t);
}
};
Qe.names = ["linear-gradient", "repeating-linear-gradient", "radial-gradient", "repeating-radial-gradient"];
Qe.directions = { top: "bottom", left: "right", bottom: "top", right: "left" };
Qe.oldDirections = {
top: "left bottom, left top",
left: "right top, left top",
bottom: "left top, left bottom",
right: "left top, right top",
"top right": "left bottom, right top",
"top left": "right bottom, left top",
"right top": "left bottom, right top",
"right bottom": "left top, right bottom",
"bottom right": "left top, right bottom",
"bottom left": "right top, left bottom",
"left top": "right bottom, left top",
"left bottom": "right top, left bottom",
};
Fw.exports = Qe;
});
var zw = v((WI, $w) => {
l();
var a_ = Qt(),
o_ = ke();
function Nw(r) {
return new RegExp(`(^|[\\s,(])(${r}($|[\\s),]))`, "gi");
}
var Ql = class extends o_ {
regexp() {
return (this.regexpCache || (this.regexpCache = Nw(this.name)), this.regexpCache);
}
isStretch() {
return this.name === "stretch" || this.name === "fill" || this.name === "fill-available";
}
replace(e, t) {
return t === "-moz-" && this.isStretch()
? e.replace(this.regexp(), "$1-moz-available$3")
: t === "-webkit-" && this.isStretch()
? e.replace(this.regexp(), "$1-webkit-fill-available$3")
: super.replace(e, t);
}
old(e) {
let t = e + this.name;
return (
this.isStretch() &&
(e === "-moz-" ? (t = "-moz-available") : e === "-webkit-" && (t = "-webkit-fill-available")),
new a_(this.name, t, t, Nw(t))
);
}
add(e, t) {
if (!(e.prop.includes("grid") && t !== "-webkit-")) return super.add(e, t);
}
};
Ql.names = ["max-content", "min-content", "fit-content", "fill", "fill-available", "stretch"];
$w.exports = Ql;
});
var Uw = v((GI, Vw) => {
l();
var jw = Qt(),
l_ = ke(),
Jl = class extends l_ {
replace(e, t) {
return t === "-webkit-"
? e.replace(this.regexp(), "$1-webkit-optimize-contrast")
: t === "-moz-"
? e.replace(this.regexp(), "$1-moz-crisp-edges")
: super.replace(e, t);
}
old(e) {
return e === "-webkit-"
? new jw(this.name, "-webkit-optimize-contrast")
: e === "-moz-"
? new jw(this.name, "-moz-crisp-edges")
: super.old(e);
}
};
Jl.names = ["pixelated"];
Vw.exports = Jl;
});
var Gw = v((HI, Ww) => {
l();
var u_ = ke(),
Xl = class extends u_ {
replace(e, t) {
let i = super.replace(e, t);
return (t === "-webkit-" && (i = i.replace(/("[^"]+"|'[^']+')(\s+\d+\w)/gi, "url($1)$2")), i);
}
};
Xl.names = ["image-set"];
Ww.exports = Xl;
});
var Yw = v((YI, Hw) => {
l();
var f_ = ge().list,
c_ = ke(),
Kl = class extends c_ {
replace(e, t) {
return f_
.space(e)
.map((i) => {
if (i.slice(0, +this.name.length + 1) !== this.name + "(") return i;
let n = i.lastIndexOf(")"),
a = i.slice(n + 1),
s = i.slice(this.name.length + 1, n);
if (t === "-webkit-") {
let o = s.match(/\d*.?\d+%?/);
o ? ((s = s.slice(o[0].length).trim()), (s += `, ${o[0]}`)) : (s += ", 0.5");
}
return t + this.name + "(" + s + ")" + a;
})
.join(" ");
}
};
Kl.names = ["cross-fade"];
Hw.exports = Kl;
});
var Jw = v((QI, Qw) => {
l();
var p_ = pe(),
d_ = Qt(),
h_ = ke(),
Zl = class extends h_ {
constructor(e, t) {
super(e, t);
e === "display-flex" && (this.name = "flex");
}
check(e) {
return e.prop === "display" && e.value === this.name;
}
prefixed(e) {
let t, i;
return (
([t, e] = p_(e)),
t === 2009
? this.name === "flex"
? (i = "box")
: (i = "inline-box")
: t === 2012
? this.name === "flex"
? (i = "flexbox")
: (i = "inline-flexbox")
: t === "final" && (i = this.name),
e + i
);
}
replace(e, t) {
return this.prefixed(t);
}
old(e) {
let t = this.prefixed(e);
if (!!t) return new d_(this.name, t);
}
};
Zl.names = ["display-flex", "inline-flex"];
Qw.exports = Zl;
});
var Kw = v((JI, Xw) => {
l();
var m_ = ke(),
eu = class extends m_ {
constructor(e, t) {
super(e, t);
e === "display-grid" && (this.name = "grid");
}
check(e) {
return e.prop === "display" && e.value === this.name;
}
};
eu.names = ["display-grid", "inline-grid"];
Xw.exports = eu;
});
var eb = v((XI, Zw) => {
l();
var g_ = ke(),
tu = class extends g_ {
constructor(e, t) {
super(e, t);
e === "filter-function" && (this.name = "filter");
}
};
tu.names = ["filter", "filter-function"];
Zw.exports = tu;
});
var nb = v((KI, ib) => {
l();
var tb = ai(),
B = M(),
rb = Fm(),
y_ = tg(),
w_ = sl(),
b_ = vg(),
ru = dt(),
sr = Jt(),
v_ = Eg(),
$e = ke(),
ar = le(),
x_ = Pg(),
k_ = Ig(),
S_ = Rg(),
C_ = Bg(),
A_ = zg(),
__ = Ug(),
O_ = Gg(),
E_ = Yg(),
T_ = Jg(),
P_ = Kg(),
D_ = ey(),
I_ = ry(),
q_ = ny(),
R_ = ay(),
M_ = ly(),
B_ = cy(),
F_ = dy(),
L_ = gy(),
N_ = wy(),
$_ = vy(),
z_ = Sy(),
j_ = Ay(),
V_ = Ey(),
U_ = Py(),
W_ = Iy(),
G_ = Ry(),
H_ = By(),
Y_ = Ny(),
Q_ = zy(),
J_ = Vy(),
X_ = Wy(),
K_ = Hy(),
Z_ = Qy(),
eO = Xy(),
tO = ew(),
rO = rw(),
iO = nw(),
nO = aw(),
sO = lw(),
aO = cw(),
oO = dw(),
lO = mw(),
uO = ww(),
fO = vw(),
cO = kw(),
pO = Aw(),
dO = Ow(),
hO = Tw(),
mO = Lw(),
gO = zw(),
yO = Uw(),
wO = Gw(),
bO = Yw(),
vO = Jw(),
xO = Kw(),
kO = eb();
sr.hack(x_);
sr.hack(k_);
sr.hack(S_);
sr.hack(C_);
B.hack(A_);
B.hack(__);
B.hack(O_);
B.hack(E_);
B.hack(T_);
B.hack(P_);
B.hack(D_);
B.hack(I_);
B.hack(q_);
B.hack(R_);
B.hack(M_);
B.hack(B_);
B.hack(F_);
B.hack(L_);
B.hack(N_);
B.hack($_);
B.hack(z_);
B.hack(j_);
B.hack(V_);
B.hack(U_);
B.hack(W_);
B.hack(G_);
B.hack(H_);
B.hack(Y_);
B.hack(Q_);
B.hack(J_);
B.hack(X_);
B.hack(K_);
B.hack(Z_);
B.hack(eO);
B.hack(tO);
B.hack(rO);
B.hack(iO);
B.hack(nO);
B.hack(sO);
B.hack(aO);
B.hack(oO);
B.hack(lO);
B.hack(uO);
B.hack(fO);
B.hack(cO);
B.hack(pO);
B.hack(dO);
B.hack(hO);
$e.hack(mO);
$e.hack(gO);
$e.hack(yO);
$e.hack(wO);
$e.hack(bO);
$e.hack(vO);
$e.hack(xO);
$e.hack(kO);
var iu = new Map(),
li = class {
constructor(e, t, i = {}) {
((this.data = e),
(this.browsers = t),
(this.options = i),
([this.add, this.remove] = this.preprocess(this.select(this.data))),
(this.transition = new y_(this)),
(this.processor = new w_(this)));
}
cleaner() {
if (this.cleanerCache) return this.cleanerCache;
if (this.browsers.selected.length) {
let e = new ru(this.browsers.data, []);
this.cleanerCache = new li(this.data, e, this.options);
} else return this;
return this.cleanerCache;
}
select(e) {
let t = { add: {}, remove: {} };
for (let i in e) {
let n = e[i],
a = n.browsers.map((u) => {
let c = u.split(" ");
return { browser: `${c[0]} ${c[1]}`, note: c[2] };
}),
s = a.filter((u) => u.note).map((u) => `${this.browsers.prefix(u.browser)} ${u.note}`);
((s = ar.uniq(s)),
(a = a
.filter((u) => this.browsers.isSelected(u.browser))
.map((u) => {
let c = this.browsers.prefix(u.browser);
return u.note ? `${c} ${u.note}` : c;
})),
(a = this.sort(ar.uniq(a))),
this.options.flexbox === "no-2009" && (a = a.filter((u) => !u.includes("2009"))));
let o = n.browsers.map((u) => this.browsers.prefix(u));
(n.mistakes && (o = o.concat(n.mistakes)),
(o = o.concat(s)),
(o = ar.uniq(o)),
a.length
? ((t.add[i] = a),
a.length < o.length && (t.remove[i] = o.filter((u) => !a.includes(u))))
: (t.remove[i] = o));
}
return t;
}
sort(e) {
return e.sort((t, i) => {
let n = ar.removeNote(t).length,
a = ar.removeNote(i).length;
return n === a ? i.length - t.length : a - n;
});
}
preprocess(e) {
let t = { selectors: [], "@supports": new b_(li, this) };
for (let n in e.add) {
let a = e.add[n];
if (n === "@keyframes" || n === "@viewport") t[n] = new v_(n, a, this);
else if (n === "@resolution") t[n] = new rb(n, a, this);
else if (this.data[n].selector) t.selectors.push(sr.load(n, a, this));
else {
let s = this.data[n].props;
if (s) {
let o = $e.load(n, a, this);
for (let u of s) (t[u] || (t[u] = { values: [] }), t[u].values.push(o));
} else {
let o = (t[n] && t[n].values) || [];
((t[n] = B.load(n, a, this)), (t[n].values = o));
}
}
}
let i = { selectors: [] };
for (let n in e.remove) {
let a = e.remove[n];
if (this.data[n].selector) {
let s = sr.load(n, a);
for (let o of a) i.selectors.push(s.old(o));
} else if (n === "@keyframes" || n === "@viewport")
for (let s of a) {
let o = `@${s}${n.slice(1)}`;
i[o] = { remove: !0 };
}
else if (n === "@resolution") i[n] = new rb(n, a, this);
else {
let s = this.data[n].props;
if (s) {
let o = $e.load(n, [], this);
for (let u of a) {
let c = o.old(u);
if (c)
for (let f of s)
(i[f] || (i[f] = {}),
i[f].values || (i[f].values = []),
i[f].values.push(c));
}
} else
for (let o of a) {
let u = this.decl(n).old(n, o);
if (n === "align-self") {
let c = t[n] && t[n].prefixes;
if (c) {
if (o === "-webkit- 2009" && c.includes("-webkit-")) continue;
if (o === "-webkit-" && c.includes("-webkit- 2009")) continue;
}
}
for (let c of u) (i[c] || (i[c] = {}), (i[c].remove = !0));
}
}
}
return [t, i];
}
decl(e) {
return (iu.has(e) || iu.set(e, B.load(e)), iu.get(e));
}
unprefixed(e) {
let t = this.normalize(tb.unprefixed(e));
return (t === "flex-direction" && (t = "flex-flow"), t);
}
normalize(e) {
return this.decl(e).normalize(e);
}
prefixed(e, t) {
return ((e = tb.unprefixed(e)), this.decl(e).prefixed(e, t));
}
values(e, t) {
let i = this[e],
n = i["*"] && i["*"].values,
a = i[t] && i[t].values;
return n && a ? ar.uniq(n.concat(a)) : n || a || [];
}
group(e) {
let t = e.parent,
i = t.index(e),
{ length: n } = t.nodes,
a = this.unprefixed(e.prop),
s = (o, u) => {
for (i += o; i >= 0 && i < n; ) {
let c = t.nodes[i];
if (c.type === "decl") {
if (
(o === -1 && c.prop === a && !ru.withPrefix(c.value)) ||
this.unprefixed(c.prop) !== a
)
break;
if (u(c) === !0) return !0;
if (o === 1 && c.prop === a && !ru.withPrefix(c.value)) break;
}
i += o;
}
return !1;
};
return {
up(o) {
return s(-1, o);
},
down(o) {
return s(1, o);
},
};
}
};
ib.exports = li;
});
var ab = v((ZI, sb) => {
l();
sb.exports = {
"backdrop-filter": {
feature: "css-backdrop-filter",
browsers: ["ios_saf 16.1", "ios_saf 16.3", "ios_saf 16.4", "ios_saf 16.5", "safari 16.5"],
},
element: {
props: [
"background",
"background-image",
"border-image",
"mask",
"list-style",
"list-style-image",
"content",
"mask-image",
],
feature: "css-element-function",
browsers: ["firefox 114"],
},
"user-select": {
mistakes: ["-khtml-"],
feature: "user-select-none",
browsers: ["ios_saf 16.1", "ios_saf 16.3", "ios_saf 16.4", "ios_saf 16.5", "safari 16.5"],
},
"background-clip": {
feature: "background-clip-text",
browsers: [
"and_chr 114",
"and_uc 15.5",
"chrome 109",
"chrome 113",
"chrome 114",
"edge 114",
"opera 99",
"samsung 21",
],
},
hyphens: {
feature: "css-hyphens",
browsers: ["ios_saf 16.1", "ios_saf 16.3", "ios_saf 16.4", "ios_saf 16.5", "safari 16.5"],
},
fill: {
props: [
"width",
"min-width",
"max-width",
"height",
"min-height",
"max-height",
"inline-size",
"min-inline-size",
"max-inline-size",
"block-size",
"min-block-size",
"max-block-size",
"grid",
"grid-template",
"grid-template-rows",
"grid-template-columns",
"grid-auto-columns",
"grid-auto-rows",
],
feature: "intrinsic-width",
browsers: [
"and_chr 114",
"and_uc 15.5",
"chrome 109",
"chrome 113",
"chrome 114",
"edge 114",
"opera 99",
"samsung 21",
],
},
"fill-available": {
props: [
"width",
"min-width",
"max-width",
"height",
"min-height",
"max-height",
"inline-size",
"min-inline-size",
"max-inline-size",
"block-size",
"min-block-size",
"max-block-size",
"grid",
"grid-template",
"grid-template-rows",
"grid-template-columns",
"grid-auto-columns",
"grid-auto-rows",
],
feature: "intrinsic-width",
browsers: [
"and_chr 114",
"and_uc 15.5",
"chrome 109",
"chrome 113",
"chrome 114",
"edge 114",
"opera 99",
"samsung 21",
],
},
stretch: {
props: [
"width",
"min-width",
"max-width",
"height",
"min-height",
"max-height",
"inline-size",
"min-inline-size",
"max-inline-size",
"block-size",
"min-block-size",
"max-block-size",
"grid",
"grid-template",
"grid-template-rows",
"grid-template-columns",
"grid-auto-columns",
"grid-auto-rows",
],
feature: "intrinsic-width",
browsers: ["firefox 114"],
},
"fit-content": {
props: [
"width",
"min-width",
"max-width",
"height",
"min-height",
"max-height",
"inline-size",
"min-inline-size",
"max-inline-size",
"block-size",
"min-block-size",
"max-block-size",
"grid",
"grid-template",
"grid-template-rows",
"grid-template-columns",
"grid-auto-columns",
"grid-auto-rows",
],
feature: "intrinsic-width",
browsers: ["firefox 114"],
},
"text-decoration-style": {
feature: "text-decoration",
browsers: ["ios_saf 16.1", "ios_saf 16.3", "ios_saf 16.4", "ios_saf 16.5"],
},
"text-decoration-color": {
feature: "text-decoration",
browsers: ["ios_saf 16.1", "ios_saf 16.3", "ios_saf 16.4", "ios_saf 16.5"],
},
"text-decoration-line": {
feature: "text-decoration",
browsers: ["ios_saf 16.1", "ios_saf 16.3", "ios_saf 16.4", "ios_saf 16.5"],
},
"text-decoration": {
feature: "text-decoration",
browsers: ["ios_saf 16.1", "ios_saf 16.3", "ios_saf 16.4", "ios_saf 16.5"],
},
"text-decoration-skip": {
feature: "text-decoration",
browsers: ["ios_saf 16.1", "ios_saf 16.3", "ios_saf 16.4", "ios_saf 16.5"],
},
"text-decoration-skip-ink": {
feature: "text-decoration",
browsers: ["ios_saf 16.1", "ios_saf 16.3", "ios_saf 16.4", "ios_saf 16.5"],
},
"text-size-adjust": {
feature: "text-size-adjust",
browsers: ["ios_saf 16.1", "ios_saf 16.3", "ios_saf 16.4", "ios_saf 16.5"],
},
"mask-clip": {
feature: "css-masks",
browsers: [
"and_chr 114",
"and_uc 15.5",
"chrome 109",
"chrome 113",
"chrome 114",
"edge 114",
"opera 99",
"samsung 21",
],
},
"mask-composite": {
feature: "css-masks",
browsers: [
"and_chr 114",
"and_uc 15.5",
"chrome 109",
"chrome 113",
"chrome 114",
"edge 114",
"opera 99",
"samsung 21",
],
},
"mask-image": {
feature: "css-masks",
browsers: [
"and_chr 114",
"and_uc 15.5",
"chrome 109",
"chrome 113",
"chrome 114",
"edge 114",
"opera 99",
"samsung 21",
],
},
"mask-origin": {
feature: "css-masks",
browsers: [
"and_chr 114",
"and_uc 15.5",
"chrome 109",
"chrome 113",
"chrome 114",
"edge 114",
"opera 99",
"samsung 21",
],
},
"mask-repeat": {
feature: "css-masks",
browsers: [
"and_chr 114",
"and_uc 15.5",
"chrome 109",
"chrome 113",
"chrome 114",
"edge 114",
"opera 99",
"samsung 21",
],
},
"mask-border-repeat": {
feature: "css-masks",
browsers: [
"and_chr 114",
"and_uc 15.5",
"chrome 109",
"chrome 113",
"chrome 114",
"edge 114",
"opera 99",
"samsung 21",
],
},
"mask-border-source": {
feature: "css-masks",
browsers: [
"and_chr 114",
"and_uc 15.5",
"chrome 109",
"chrome 113",
"chrome 114",
"edge 114",
"opera 99",
"samsung 21",
],
},
mask: {
feature: "css-masks",
browsers: [
"and_chr 114",
"and_uc 15.5",
"chrome 109",
"chrome 113",
"chrome 114",
"edge 114",
"opera 99",
"samsung 21",
],
},
"mask-position": {
feature: "css-masks",
browsers: [
"and_chr 114",
"and_uc 15.5",
"chrome 109",
"chrome 113",
"chrome 114",
"edge 114",
"opera 99",
"samsung 21",
],
},
"mask-size": {
feature: "css-masks",
browsers: [
"and_chr 114",
"and_uc 15.5",
"chrome 109",
"chrome 113",
"chrome 114",
"edge 114",
"opera 99",
"samsung 21",
],
},
"mask-border": {
feature: "css-masks",
browsers: [
"and_chr 114",
"and_uc 15.5",
"chrome 109",
"chrome 113",
"chrome 114",
"edge 114",
"opera 99",
"samsung 21",
],
},
"mask-border-outset": {
feature: "css-masks",
browsers: [
"and_chr 114",
"and_uc 15.5",
"chrome 109",
"chrome 113",
"chrome 114",
"edge 114",
"opera 99",
"samsung 21",
],
},
"mask-border-width": {
feature: "css-masks",
browsers: [
"and_chr 114",
"and_uc 15.5",
"chrome 109",
"chrome 113",
"chrome 114",
"edge 114",
"opera 99",
"samsung 21",
],
},
"mask-border-slice": {
feature: "css-masks",
browsers: [
"and_chr 114",
"and_uc 15.5",
"chrome 109",
"chrome 113",
"chrome 114",
"edge 114",
"opera 99",
"samsung 21",
],
},
"clip-path": { feature: "css-clip-path", browsers: ["samsung 21"] },
"box-decoration-break": {
feature: "css-boxdecorationbreak",
browsers: [
"and_chr 114",
"and_uc 15.5",
"chrome 109",
"chrome 113",
"chrome 114",
"edge 114",
"ios_saf 16.1",
"ios_saf 16.3",
"ios_saf 16.4",
"ios_saf 16.5",
"opera 99",
"safari 16.5",
"samsung 21",
],
},
appearance: { feature: "css-appearance", browsers: ["samsung 21"] },
"image-set": {
props: [
"background",
"background-image",
"border-image",
"cursor",
"mask",
"mask-image",
"list-style",
"list-style-image",
"content",
],
feature: "css-image-set",
browsers: ["and_uc 15.5", "chrome 109", "samsung 21"],
},
"cross-fade": {
props: [
"background",
"background-image",
"border-image",
"mask",
"list-style",
"list-style-image",
"content",
"mask-image",
],
feature: "css-cross-fade",
browsers: [
"and_chr 114",
"and_uc 15.5",
"chrome 109",
"chrome 113",
"chrome 114",
"edge 114",
"opera 99",
"samsung 21",
],
},
isolate: {
props: ["unicode-bidi"],
feature: "css-unicode-bidi",
browsers: ["ios_saf 16.1", "ios_saf 16.3", "ios_saf 16.4", "ios_saf 16.5", "safari 16.5"],
},
"color-adjust": {
feature: "css-color-adjust",
browsers: ["chrome 109", "chrome 113", "chrome 114", "edge 114", "opera 99"],
},
};
});
var lb = v((eq, ob) => {
l();
ob.exports = {};
});
var pb = v((tq, cb) => {
l();
var SO = Ho(),
{ agents: CO } = (Gn(), Wn),
nu = Sm(),
AO = dt(),
_O = nb(),
OO = ab(),
EO = lb(),
ub = { browsers: CO, prefixes: OO },
fb = `
Replace Autoprefixer \`browsers\` option to Browserslist config.
Use \`browserslist\` key in \`package.json\` or \`.browserslistrc\` file.
Using \`browsers\` option can cause errors. Browserslist config can
be used for Babel, Autoprefixer, postcss-normalize and other tools.
If you really need to use option, rename it to \`overrideBrowserslist\`.
Learn more at:
https://github.com/browserslist/browserslist#readme
https://twitter.com/browserslist
`;
function TO(r) {
return Object.prototype.toString.apply(r) === "[object Object]";
}
var su = new Map();
function PO(r, e) {
e.browsers.selected.length !== 0 &&
(e.add.selectors.length > 0 ||
Object.keys(e.add).length > 2 ||
r.warn(`Autoprefixer target browsers do not need any prefixes.You do not need Autoprefixer anymore.
Check your Browserslist config to be sure that your targets are set up correctly.
Learn more at:
https://github.com/postcss/autoprefixer#readme
https://github.com/browserslist/browserslist#readme
`));
}
cb.exports = or;
function or(...r) {
let e;
if (
(r.length === 1 && TO(r[0])
? ((e = r[0]), (r = void 0))
: r.length === 0 || (r.length === 1 && !r[0])
? (r = void 0)
: r.length <= 2 && (Array.isArray(r[0]) || !r[0])
? ((e = r[1]), (r = r[0]))
: typeof r[r.length - 1] == "object" && (e = r.pop()),
e || (e = {}),
e.browser)
)
throw new Error("Change `browser` option to `overrideBrowserslist` in Autoprefixer");
if (e.browserslist)
throw new Error("Change `browserslist` option to `overrideBrowserslist` in Autoprefixer");
e.overrideBrowserslist
? (r = e.overrideBrowserslist)
: e.browsers &&
(typeof console != "undefined" &&
console.warn &&
(nu.red
? console.warn(nu.red(fb.replace(/`[^`]+`/g, (n) => nu.yellow(n.slice(1, -1)))))
: console.warn(fb)),
(r = e.browsers));
let t = { ignoreUnknownVersions: e.ignoreUnknownVersions, stats: e.stats, env: e.env };
function i(n) {
let a = ub,
s = new AO(a.browsers, r, n, t),
o = s.selected.join(", ") + JSON.stringify(e);
return (su.has(o) || su.set(o, new _O(a.prefixes, s, e)), su.get(o));
}
return {
postcssPlugin: "autoprefixer",
prepare(n) {
let a = i({ from: n.opts.from, env: e.env });
return {
OnceExit(s) {
(PO(n, a),
e.remove !== !1 && a.processor.remove(s, n),
e.add !== !1 && a.processor.add(s, n));
},
};
},
info(n) {
return ((n = n || {}), (n.from = n.from || h.cwd()), EO(i(n)));
},
options: e,
browsers: r,
};
}
or.postcss = !0;
or.data = ub;
or.defaults = SO.defaults;
or.info = () => or().info();
});
var hb = v((rq, db) => {
l();
db.exports = {
aqua: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,
azure: /#f0ffff(ff)?(?!\w)/gi,
beige: /#f5f5dc(ff)?(?!\w)/gi,
bisque: /#ffe4c4(ff)?(?!\w)/gi,
black: /#000000(ff)?(?!\w)|#000(f)?(?!\w)/gi,
blue: /#0000ff(ff)?(?!\w)|#00f(f)?(?!\w)/gi,
brown: /#a52a2a(ff)?(?!\w)/gi,
coral: /#ff7f50(ff)?(?!\w)/gi,
cornsilk: /#fff8dc(ff)?(?!\w)/gi,
crimson: /#dc143c(ff)?(?!\w)/gi,
cyan: /#00ffff(ff)?(?!\w)|#0ff(f)?(?!\w)/gi,
darkblue: /#00008b(ff)?(?!\w)/gi,
darkcyan: /#008b8b(ff)?(?!\w)/gi,
darkgrey: /#a9a9a9(ff)?(?!\w)/gi,
darkred: /#8b0000(ff)?(?!\w)/gi,
deeppink: /#ff1493(ff)?(?!\w)/gi,
dimgrey: /#696969(ff)?(?!\w)/gi,
gold: /#ffd700(ff)?(?!\w)/gi,
green: /#008000(ff)?(?!\w)/gi,
grey: /#808080(ff)?(?!\w)/gi,
honeydew: /#f0fff0(ff)?(?!\w)/gi,
hotpink: /#ff69b4(ff)?(?!\w)/gi,
indigo: /#4b0082(ff)?(?!\w)/gi,
ivory: /#fffff0(ff)?(?!\w)/gi,
khaki: /#f0e68c(ff)?(?!\w)/gi,
lavender: /#e6e6fa(ff)?(?!\w)/gi,
lime: /#00ff00(ff)?(?!\w)|#0f0(f)?(?!\w)/gi,
linen: /#faf0e6(ff)?(?!\w)/gi,
maroon: /#800000(ff)?(?!\w)/gi,
moccasin: /#ffe4b5(ff)?(?!\w)/gi,
navy: /#000080(ff)?(?!\w)/gi,
oldlace: /#fdf5e6(ff)?(?!\w)/gi,
olive: /#808000(ff)?(?!\w)/gi,
orange: /#ffa500(ff)?(?!\w)/gi,
orchid: /#da70d6(ff)?(?!\w)/gi,
peru: /#cd853f(ff)?(?!\w)/gi,
pink: /#ffc0cb(ff)?(?!\w)/gi,
plum: /#dda0dd(ff)?(?!\w)/gi,
purple: /#800080(ff)?(?!\w)/gi,
red: /#ff0000(ff)?(?!\w)|#f00(f)?(?!\w)/gi,
salmon: /#fa8072(ff)?(?!\w)/gi,
seagreen: /#2e8b57(ff)?(?!\w)/gi,
seashell: /#fff5ee(ff)?(?!\w)/gi,
sienna: /#a0522d(ff)?(?!\w)/gi,
silver: /#c0c0c0(ff)?(?!\w)/gi,
skyblue: /#87ceeb(ff)?(?!\w)/gi,
snow: /#fffafa(ff)?(?!\w)/gi,
tan: /#d2b48c(ff)?(?!\w)/gi,
teal: /#008080(ff)?(?!\w)/gi,
thistle: /#d8bfd8(ff)?(?!\w)/gi,
tomato: /#ff6347(ff)?(?!\w)/gi,
violet: /#ee82ee(ff)?(?!\w)/gi,
wheat: /#f5deb3(ff)?(?!\w)/gi,
white: /#ffffff(ff)?(?!\w)|#fff(f)?(?!\w)/gi,
};
});
var gb = v((iq, mb) => {
l();
var au = hb(),
ou = { whitespace: /\s+/g, urlHexPairs: /%[\dA-F]{2}/g, quotes: /"/g };
function DO(r) {
return r.trim().replace(ou.whitespace, " ");
}
function IO(r) {
return encodeURIComponent(r).replace(ou.urlHexPairs, RO);
}
function qO(r) {
return (
Object.keys(au).forEach(function (e) {
au[e].test(r) && (r = r.replace(au[e], e));
}),
r
);
}
function RO(r) {
switch (r) {
case "%20":
return " ";
case "%3D":
return "=";
case "%3A":
return ":";
case "%2F":
return "/";
default:
return r.toLowerCase();
}
}
function lu(r) {
if (typeof r != "string") throw new TypeError("Expected a string, but received " + typeof r);
r.charCodeAt(0) === 65279 && (r = r.slice(1));
var e = qO(DO(r)).replace(ou.quotes, "'");
return "data:image/svg+xml," + IO(e);
}
lu.toSrcset = function (e) {
return lu(e).replace(/ /g, "%20");
};
mb.exports = lu;
});
var uu = {};
Ae(uu, { default: () => MO });
var yb,
MO,
fu = C(() => {
l();
wi();
((yb = X(Si())), (MO = et(yb.default.theme)));
});
var kb = v((sq, xb) => {
l();
var Zn = gb(),
BO = (qn(), In).default,
wb = (fu(), uu).default,
gt = (mi(), as).default,
[FO, { lineHeight: LO }] = wb.fontSize.base,
{ spacing: Je, borderWidth: bb, borderRadius: vb } = wb;
function yt(r, e) {
return r.replace("<alpha-value>", `var(${e}, 1)`);
}
var NO = BO.withOptions(function (r = { strategy: void 0 }) {
return function ({ addBase: e, addComponents: t, theme: i }) {
let n = r.strategy === void 0 ? ["base", "class"] : [r.strategy],
a = [
{
base: [
"[type='text']",
"input:where(:not([type]))",
"[type='email']",
"[type='url']",
"[type='password']",
"[type='number']",
"[type='date']",
"[type='datetime-local']",
"[type='month']",
"[type='search']",
"[type='tel']",
"[type='time']",
"[type='week']",
"[multiple]",
"textarea",
"select",
],
class: [".form-input", ".form-textarea", ".form-select", ".form-multiselect"],
styles: {
appearance: "none",
"background-color": "#fff",
"border-color": yt(i("colors.gray.500", gt.gray[500]), "--tw-border-opacity"),
"border-width": bb.DEFAULT,
"border-radius": vb.none,
"padding-top": Je[2],
"padding-right": Je[3],
"padding-bottom": Je[2],
"padding-left": Je[3],
"font-size": FO,
"line-height": LO,
"--tw-shadow": "0 0 #0000",
"&:focus": {
outline: "2px solid transparent",
"outline-offset": "2px",
"--tw-ring-inset": "var(--tw-empty,/*!*/ /*!*/)",
"--tw-ring-offset-width": "0px",
"--tw-ring-offset-color": "#fff",
"--tw-ring-color": yt(i("colors.blue.600", gt.blue[600]), "--tw-ring-opacity"),
"--tw-ring-offset-shadow":
"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)",
"--tw-ring-shadow":
"var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color)",
"box-shadow":
"var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)",
"border-color": yt(i("colors.blue.600", gt.blue[600]), "--tw-border-opacity"),
},
},
},
{
base: ["input::placeholder", "textarea::placeholder"],
class: [".form-input::placeholder", ".form-textarea::placeholder"],
styles: {
color: yt(i("colors.gray.500", gt.gray[500]), "--tw-text-opacity"),
opacity: "1",
},
},
{
base: ["::-webkit-datetime-edit-fields-wrapper"],
class: [".form-input::-webkit-datetime-edit-fields-wrapper"],
styles: { padding: "0" },
},
{
base: ["::-webkit-date-and-time-value"],
class: [".form-input::-webkit-date-and-time-value"],
styles: { "min-height": "1.5em" },
},
{
base: ["::-webkit-date-and-time-value"],
class: [".form-input::-webkit-date-and-time-value"],
styles: { "text-align": "inherit" },
},
{
base: ["::-webkit-datetime-edit"],
class: [".form-input::-webkit-datetime-edit"],
styles: { display: "inline-flex" },
},
{
base: [
"::-webkit-datetime-edit",
"::-webkit-datetime-edit-year-field",
"::-webkit-datetime-edit-month-field",
"::-webkit-datetime-edit-day-field",
"::-webkit-datetime-edit-hour-field",
"::-webkit-datetime-edit-minute-field",
"::-webkit-datetime-edit-second-field",
"::-webkit-datetime-edit-millisecond-field",
"::-webkit-datetime-edit-meridiem-field",
],
class: [
".form-input::-webkit-datetime-edit",
".form-input::-webkit-datetime-edit-year-field",
".form-input::-webkit-datetime-edit-month-field",
".form-input::-webkit-datetime-edit-day-field",
".form-input::-webkit-datetime-edit-hour-field",
".form-input::-webkit-datetime-edit-minute-field",
".form-input::-webkit-datetime-edit-second-field",
".form-input::-webkit-datetime-edit-millisecond-field",
".form-input::-webkit-datetime-edit-meridiem-field",
],
styles: { "padding-top": 0, "padding-bottom": 0 },
},
{
base: ["select"],
class: [".form-select"],
styles: {
"background-image": `url("${Zn(`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 20 20"><path stroke="${yt(i("colors.gray.500", gt.gray[500]), "--tw-stroke-opacity")}" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M6 8l4 4 4-4"/></svg>`)}")`,
"background-position": `right ${Je[2]} center`,
"background-repeat": "no-repeat",
"background-size": "1.5em 1.5em",
"padding-right": Je[10],
"print-color-adjust": "exact",
},
},
{
base: ["[multiple]", '[size]:where(select:not([size="1"]))'],
class: ['.form-select:where([size]:not([size="1"]))'],
styles: {
"background-image": "initial",
"background-position": "initial",
"background-repeat": "unset",
"background-size": "initial",
"padding-right": Je[3],
"print-color-adjust": "unset",
},
},
{
base: ["[type='checkbox']", "[type='radio']"],
class: [".form-checkbox", ".form-radio"],
styles: {
appearance: "none",
padding: "0",
"print-color-adjust": "exact",
display: "inline-block",
"vertical-align": "middle",
"background-origin": "border-box",
"user-select": "none",
"flex-shrink": "0",
height: Je[4],
width: Je[4],
color: yt(i("colors.blue.600", gt.blue[600]), "--tw-text-opacity"),
"background-color": "#fff",
"border-color": yt(i("colors.gray.500", gt.gray[500]), "--tw-border-opacity"),
"border-width": bb.DEFAULT,
"--tw-shadow": "0 0 #0000",
},
},
{
base: ["[type='checkbox']"],
class: [".form-checkbox"],
styles: { "border-radius": vb.none },
},
{ base: ["[type='radio']"], class: [".form-radio"], styles: { "border-radius": "100%" } },
{
base: ["[type='checkbox']:focus", "[type='radio']:focus"],
class: [".form-checkbox:focus", ".form-radio:focus"],
styles: {
outline: "2px solid transparent",
"outline-offset": "2px",
"--tw-ring-inset": "var(--tw-empty,/*!*/ /*!*/)",
"--tw-ring-offset-width": "2px",
"--tw-ring-offset-color": "#fff",
"--tw-ring-color": yt(i("colors.blue.600", gt.blue[600]), "--tw-ring-opacity"),
"--tw-ring-offset-shadow":
"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)",
"--tw-ring-shadow":
"var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)",
"box-shadow": "var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)",
},
},
{
base: ["[type='checkbox']:checked", "[type='radio']:checked"],
class: [".form-checkbox:checked", ".form-radio:checked"],
styles: {
"border-color": "transparent",
"background-color": "currentColor",
"background-size": "100% 100%",
"background-position": "center",
"background-repeat": "no-repeat",
},
},
{
base: ["[type='checkbox']:checked"],
class: [".form-checkbox:checked"],
styles: {
"background-image": `url("${Zn('<svg viewBox="0 0 16 16" fill="white" xmlns="http://www.w3.org/2000/svg"><path d="M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z"/></svg>')}")`,
"@media (forced-colors: active) ": { appearance: "auto" },
},
},
{
base: ["[type='radio']:checked"],
class: [".form-radio:checked"],
styles: {
"background-image": `url("${Zn('<svg viewBox="0 0 16 16" fill="white" xmlns="http://www.w3.org/2000/svg"><circle cx="8" cy="8" r="3"/></svg>')}")`,
"@media (forced-colors: active) ": { appearance: "auto" },
},
},
{
base: [
"[type='checkbox']:checked:hover",
"[type='checkbox']:checked:focus",
"[type='radio']:checked:hover",
"[type='radio']:checked:focus",
],
class: [
".form-checkbox:checked:hover",
".form-checkbox:checked:focus",
".form-radio:checked:hover",
".form-radio:checked:focus",
],
styles: { "border-color": "transparent", "background-color": "currentColor" },
},
{
base: ["[type='checkbox']:indeterminate"],
class: [".form-checkbox:indeterminate"],
styles: {
"background-image": `url("${Zn('<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 16"><path stroke="white" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 8h8"/></svg>')}")`,
"border-color": "transparent",
"background-color": "currentColor",
"background-size": "100% 100%",
"background-position": "center",
"background-repeat": "no-repeat",
"@media (forced-colors: active) ": { appearance: "auto" },
},
},
{
base: ["[type='checkbox']:indeterminate:hover", "[type='checkbox']:indeterminate:focus"],
class: [".form-checkbox:indeterminate:hover", ".form-checkbox:indeterminate:focus"],
styles: { "border-color": "transparent", "background-color": "currentColor" },
},
{
base: ["[type='file']"],
class: null,
styles: {
background: "unset",
"border-color": "inherit",
"border-width": "0",
"border-radius": "0",
padding: "0",
"font-size": "unset",
"line-height": "inherit",
},
},
{
base: ["[type='file']:focus"],
class: null,
styles: { outline: ["1px solid ButtonText", "1px auto -webkit-focus-ring-color"] },
},
],
s = (o) => a.map((u) => (u[o] === null ? null : { [u[o]]: u.styles })).filter(Boolean);
(n.includes("base") && e(s("base")), n.includes("class") && t(s("class")));
};
});
xb.exports = NO;
});
var Sb = {};
Ae(Sb, { default: () => $O });
var $O,
Cb = C(() => {
l();
$O = [kb()];
});
var _b = {};
Ae(_b, { default: () => zO });
var Ab,
zO,
Ob = C(() => {
l();
wi();
((Ab = X(Si())), (zO = et(Ab.default)));
});
l();
("use strict");
var jO = Xe(xm()),
VO = Xe(ge()),
UO = Xe(pb()),
WO = Xe((Cb(), Sb)),
GO = Xe((fu(), uu)),
HO = Xe((Ob(), _b)),
YO = Xe((mi(), as)),
QO = Xe((qn(), In)),
JO = Xe((xs(), lf));
function Xe(r) {
return r && r.__esModule ? r : { default: r };
}
console.warn(
"cdn.tailwindcss.com should not be used in production. To use Tailwind CSS in production, install it as a PostCSS plugin or use the Tailwind CLI: https://tailwindcss.com/docs/installation"
);
var es = "tailwind",
cu = "text/tailwindcss",
Eb = "/template.html",
Ct,
Tb = !0,
Pb = 0,
pu = new Set(),
du,
Db = "",
Ib = (r = !1) => ({
get(e, t) {
return (!r || t === "config") && typeof e[t] == "object" && e[t] !== null
? new Proxy(e[t], Ib())
: e[t];
},
set(e, t, i) {
return ((e[t] = i), (!r || t === "config") && hu(!0), !0);
},
});
window[es] = new Proxy(
{
config: {},
defaultTheme: GO.default,
defaultConfig: HO.default,
colors: YO.default,
plugin: QO.default,
resolveConfig: JO.default,
},
Ib(!0)
);
function qb(r) {
du.observe(r, { attributes: !0, attributeFilter: ["type"], characterData: !0, subtree: !0, childList: !0 });
}
new MutationObserver(async (r) => {
let e = !1;
if (!du) {
du = new MutationObserver(async () => await hu(!0));
for (let t of document.querySelectorAll(`style[type="${cu}"]`)) qb(t);
}
for (let t of r)
for (let i of t.addedNodes)
i.nodeType === 1 && i.tagName === "STYLE" && i.getAttribute("type") === cu && (qb(i), (e = !0));
await hu(e);
}).observe(document.documentElement, { attributes: !0, attributeFilter: ["class"], childList: !0, subtree: !0 });
async function hu(r = !1) {
r && (Pb++, pu.clear());
let e = "";
for (let i of document.querySelectorAll(`style[type="${cu}"]`)) e += i.textContent;
let t = new Set();
for (let i of document.querySelectorAll("[class]")) for (let n of i.classList) pu.has(n) || t.add(n);
if (document.body && (Tb || t.size > 0 || e !== Db || !Ct || !Ct.isConnected)) {
for (let n of t) pu.add(n);
((Tb = !1), (Db = e), (self[Eb] = Array.from(t).join(" ")));
let { css: i } = await (0, VO.default)([
(0, jO.default)({
...window[es].config,
_hash: Pb,
content: [Eb],
plugins: [
...WO.default,
...(Array.isArray(window[es].config.plugins) ? window[es].config.plugins : []),
],
}),
(0, UO.default)({ remove: !1 }),
]).process(`@tailwind base;@tailwind components;@tailwind utilities;${e}`);
((!Ct || !Ct.isConnected) && ((Ct = document.createElement("style")), document.head.append(Ct)),
(Ct.textContent = i));
}
}
})();
/*! https://mths.be/cssesc v3.0.0 by @mathias */