35 lines
984 B
JavaScript
35 lines
984 B
JavaScript
/*
|
|
* Extracted from browser-delivered Turbopack chunk: 2cd465e94e439d21.d295534e06.js
|
|
* Module id: 362727
|
|
* For reading/searching only; this factory depends on the original Turbopack runtime.
|
|
*/
|
|
|
|
const moduleFactory = (e) => {
|
|
"use strict";
|
|
function t(e) {
|
|
let t =
|
|
"string" == typeof e && e.includes("var(--mantine-scale)")
|
|
? e
|
|
.match(/^calc\((.*?)\)$/)?.[1]
|
|
.split("*")[0]
|
|
.trim()
|
|
: e;
|
|
return "number" == typeof t
|
|
? t
|
|
: "string" == typeof t
|
|
? t.includes("calc") || t.includes("var")
|
|
? t
|
|
: t.includes("px")
|
|
? Number(t.replace("px", ""))
|
|
: t.includes("rem")
|
|
? 16 * Number(t.replace("rem", ""))
|
|
: t.includes("em")
|
|
? 16 * Number(t.replace("em", ""))
|
|
: Number(t)
|
|
: NaN;
|
|
}
|
|
e.s(["px", () => t]);
|
|
};
|
|
|
|
export default moduleFactory;
|