@fde-desktop/fde-core 0.4.9 → 0.4.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AccordionChevron-DxpOyInK.js → AccordionChevron-CJXAq5o5.js} +1 -1
- package/dist/AccordionChevron-DBXp38Lm.cjs +1 -0
- package/dist/ActionIcon-C_SfdBfx.cjs +1 -0
- package/dist/{ActionIcon-Drh4p6Fv.js → ActionIcon-CtVbYlGY.js} +32 -32
- package/dist/AppEmptyState-BTujnL_b.js +4962 -0
- package/dist/AppEmptyState-Dc4GaDfu.cjs +1 -0
- package/dist/AppIcon--qzR4sgf.cjs +1 -0
- package/dist/{AppIcon-XumS3bIG.js → AppIcon-DCDuaU-t.js} +4 -4
- package/dist/AppMenuBar-BiHbNg9V.cjs +9 -0
- package/dist/AppMenuBar-CHJy8OF0.js +2639 -0
- package/dist/{Box-DSKR_qaa.js → Box-DRm8EabO.js} +271 -257
- package/dist/Box-D_64wv6n.cjs +1 -0
- package/dist/Button-D0FXpkur.cjs +1 -0
- package/dist/{Button-wTOTQKxF.js → Button-k7SxX1Xl.js} +38 -38
- package/dist/CalendarApp-C1HvuJoa.cjs +1 -0
- package/dist/CalendarApp-DBEQqsS_.js +1721 -0
- package/dist/{Center-CmxXB9ql.js → Center-CyryG5zn.js} +1 -1
- package/dist/Center-T4No_FAa.cjs +1 -0
- package/dist/{CheckIcon-N5qBqXQJ.js → CheckIcon-C3WjIR2i.js} +1 -1
- package/dist/CheckIcon-CBMLR6Gc.cjs +1 -0
- package/dist/CodeServerApp-B3l5QPuG.cjs +1 -0
- package/dist/CodeServerApp-BpeALSaX.js +2 -0
- package/dist/CodeServerApp-CRjCngFv.cjs +1 -0
- package/dist/{CodeServerApp-DW18EZxa.js → CodeServerApp-DY94cy1a.js} +47 -48
- package/dist/ColorPicker-BL4UbKCV.cjs +1 -0
- package/dist/{ColorPicker-BCNqi02x.js → ColorPicker-DvRR-wlQ.js} +364 -364
- package/dist/CreateItemApp-BU9wmjKM.cjs +1 -0
- package/dist/{CreateItemApp-TAAprby3.js → CreateItemApp-CtdH1K1g.js} +13 -13
- package/dist/CreateItemApp-t9F-a6wD.cjs +1 -0
- package/dist/{DeviceInfoApp-lgpwkeRR.js → DeviceInfoApp-C306YvtZ.js} +7 -7
- package/dist/DeviceInfoApp-Cdju_LIB.cjs +1 -0
- package/dist/DeviceInfoApp-CyB01v4D.cjs +1 -0
- package/dist/DownloadProgress-IRw1dzLX.cjs +1 -0
- package/dist/{DownloadProgress-EoyCaD5O.js → DownloadProgress-hdupSUBT.js} +15 -15
- package/dist/{FileIcon-7JaSR3Gn.js → FileIcon-BCpGMI5U.js} +25 -26
- package/dist/FileIcon-BCrsxmtt.cjs +1 -0
- package/dist/{FilePickerApp-DaMgEqKh.js → FilePickerApp-DMGuvahM.js} +115 -115
- package/dist/FilePickerApp-Eu0cr2Cm.cjs +1 -0
- package/dist/{FilesApp-Cj94QG5o.js → FilesApp-BQFVHkEn.js} +21 -21
- package/dist/FilesApp-BZ_dzZnF.cjs +1 -0
- package/dist/FilesApp-SIWXFPXt.cjs +1 -0
- package/dist/{Group-CtBJSfCo.js → Group-BzwlMeob.js} +1 -1
- package/dist/Group-DhwePB84.cjs +1 -0
- package/dist/ImageViewerApp-BOz59TGc.cjs +1 -0
- package/dist/ImageViewerApp-BeqY6voE.cjs +1 -0
- package/dist/{ImageViewerApp-BaLP3gkO.js → ImageViewerApp-CWiP6zx-.js} +17 -18
- package/dist/ImageViewerApp-DBAfJPSo.js +2 -0
- package/dist/{ImageViewerMenuBar-CabGSi9r.js → ImageViewerMenuBar-BULkh_Ku.js} +14 -15
- package/dist/ImageViewerMenuBar-Cb0Nr5-M.js +2 -0
- package/dist/ImageViewerMenuBar-CoEp0RxK.cjs +1 -0
- package/dist/ImageViewerMenuBar-zOkJtqKo.cjs +1 -0
- package/dist/MenuEditApp-BoKtj2GH.js +2 -0
- package/dist/MenuEditApp-D21sEp86.js +2615 -0
- package/dist/MenuEditApp-k3cPfTG9.cjs +1 -0
- package/dist/MenuEditApp-sz9GlLVH.cjs +5 -0
- package/dist/MenuEditMenuBar-6QxlIDpl.cjs +1 -0
- package/dist/{MenuEditMenuBar-x1IQrHP2.js → MenuEditMenuBar-B94z4Umw.js} +12 -13
- package/dist/MenuEditMenuBar-Bv6R42lf.js +2 -0
- package/dist/MenuEditMenuBar-CBsmH_-T.cjs +1 -0
- package/dist/NotesApp-BtR55Hva.cjs +207 -0
- package/dist/NotesApp-C59exz_9.js +16154 -0
- package/dist/NotesApp-D47I5LS_.js +2 -0
- package/dist/NotesApp-lOwsi2sg.cjs +1 -0
- package/dist/{NotesMenuBar-VhpIe68v.js → NotesMenuBar-BB4NkKGf.js} +9 -10
- package/dist/NotesMenuBar-BZITC74y.cjs +1 -0
- package/dist/NotesMenuBar-Bp0sPqyR.cjs +1 -0
- package/dist/NotesMenuBar-xlfODmMA.js +2 -0
- package/dist/{Paper-BX_9odR6.js → Paper-DtUYKmYn.js} +3 -3
- package/dist/Paper-DwCpwWwH.cjs +1 -0
- package/dist/PdfApp-1XbFGfoY.cjs +1 -0
- package/dist/PdfApp-BhIoJWeK.cjs +1 -0
- package/dist/PdfApp-C5Rt1Zaw.js +2 -0
- package/dist/PdfApp-C8Hwxxqh.js +38 -0
- package/dist/PdfMenuBar-BA9rKuMP.cjs +1 -0
- package/dist/PdfMenuBar-JXHqwxhZ.cjs +1 -0
- package/dist/PdfMenuBar-R0fu7oYF.js +2 -0
- package/dist/PdfMenuBar-sd-9Vk3h.js +38 -0
- package/dist/SettingsApp-7EhpjzUE.cjs +1 -0
- package/dist/SettingsApp-ByiPAj1I.cjs +1 -0
- package/dist/{SettingsApp-BlmHuAjT.js → SettingsApp-d6fmBHxR.js} +342 -344
- package/dist/SettingsApp-qKJmC0lj.js +2 -0
- package/dist/SettingsMenuBar-BPwv8JQK.js +41 -0
- package/dist/SettingsMenuBar-D8R7hOik.js +2 -0
- package/dist/SettingsMenuBar-DDrjZLmg.cjs +1 -0
- package/dist/SettingsMenuBar-DQjUa8g1.cjs +1 -0
- package/dist/{Slider-t-NcD60t.js → Slider-BNO-vDFn.js} +147 -148
- package/dist/Slider-Bg_EIBg6.cjs +1 -0
- package/dist/Stack-BOaJgV3N.cjs +1 -0
- package/dist/{Stack-Bp1Ek2Gp.js → Stack-CuDEaP7e.js} +1 -1
- package/dist/StorybookApp-Bkr-7mXp.cjs +1 -0
- package/dist/{StorybookApp-DKwlPCmo.js → StorybookApp-WYninkJo.js} +1 -1
- package/dist/TerminalApp-8XbsKAWa.js +10041 -0
- package/dist/TerminalApp-Bq2e7QQu.cjs +1 -0
- package/dist/TerminalApp-CVu3Axc9.js +2 -0
- package/dist/TerminalApp-b7_d0jRO.cjs +36 -0
- package/dist/TerminalMenuBar-Cb8x9laS.js +2 -0
- package/dist/TerminalMenuBar-De-FH5AE.cjs +1 -0
- package/dist/{TerminalMenuBar-D5tPmgR_.js → TerminalMenuBar-iKLydNda.js} +14 -15
- package/dist/TerminalMenuBar-yOaWd-hn.cjs +1 -0
- package/dist/{TextInput-C-JtGWn1.js → TextInput-C3qfxxWI.js} +263 -264
- package/dist/TextInput-DcYns3hz.cjs +1 -0
- package/dist/Tooltip-CAOO-qdx.js +3185 -0
- package/dist/Tooltip-DDh_x-CB.cjs +1 -0
- package/dist/{UnstyledButton-DGaG-e_G.js → UnstyledButton-CI3kyRck.js} +1 -1
- package/dist/UnstyledButton-Cl5RuIid.cjs +1 -0
- package/dist/{UploaderApp-qBfpukR_.js → UploaderApp-C76ydsd8.js} +117 -118
- package/dist/UploaderApp-CHACW8Yr.js +2 -0
- package/dist/UploaderApp-Q_a3mBik.cjs +1 -0
- package/dist/UploaderApp-htj59ppo.cjs +1 -0
- package/dist/VscIcon-CxEmqD80.cjs +1 -0
- package/dist/{VscIcon-DBfVnArE.js → VscIcon-DueRJVTe.js} +1 -1
- package/dist/chunk-BQCxAhux.js +23 -0
- package/dist/chunk-CiTBaPhY.cjs +1 -0
- package/dist/create-safe-context-95P-Bfg3.cjs +1 -0
- package/dist/{desktopStore-F8bgLqFl.js → desktopStore-B0R1-BeA.js} +393 -256
- package/dist/desktopStore-Cox-Og1z.cjs +1 -0
- package/dist/fc-DejOsQyD.cjs +1 -0
- package/dist/fc-kd8WzIER.js +20536 -0
- package/dist/fc-xJ_v2ayq.cjs +184 -0
- package/dist/fi-BahYsbim.js +9993 -0
- package/dist/fi-BkhyTcZo.cjs +1 -0
- package/dist/getRuntime-BLXyQZBB.cjs +1 -0
- package/dist/{getRuntime-DAPqFH2W.js → getRuntime-CCRXVzJH.js} +5 -5
- package/dist/iconBase-B4UCuSvv.cjs +1 -0
- package/dist/iconBase-D7iPes7B.js +108 -0
- package/dist/imageViewerStore-CH1qW6md.cjs +1 -0
- package/dist/{imageViewerStore-C5kWz0o7.js → imageViewerStore-CJMRXaQh.js} +1 -1
- package/dist/index.cjs +53 -1
- package/dist/index.css +1 -1
- package/dist/index.js +5903 -1728
- package/dist/is-element-BocgicRg.cjs +1 -0
- package/dist/{menuEditStore-Cj1zAwxQ.js → menuEditStore-C8S_EedM.js} +1 -1
- package/dist/menuEditStore-CU7IAg3L.cjs +1 -0
- package/dist/{notesStore-BPyRTHEc.js → notesStore-DKRgTTFn.js} +1 -1
- package/dist/notesStore-zKmChTfF.cjs +1 -0
- package/dist/react-DYmzHD0X.js +27 -0
- package/dist/react-Dldg32sN.cjs +1 -0
- package/dist/settingsAppStore-BrlImdAH.cjs +1 -0
- package/dist/{settingsAppStore-BDQ3ts1y.js → settingsAppStore-KOeWRO6h.js} +1 -1
- package/dist/{terminalStore-IWdf4Mm6.js → terminalStore-LWWjCvCe.js} +1 -1
- package/dist/terminalStore-fZe5t7Ty.cjs +1 -0
- package/dist/use-merged-ref-BI9n1hUK.cjs +1 -0
- package/dist/{use-resolved-styles-api-8OXE2oRq.cjs → use-resolved-styles-api-AVDygMKo.cjs} +1 -1
- package/dist/{use-resolved-styles-api-DNUlJJZf.js → use-resolved-styles-api-pEOi2wiK.js} +1 -1
- package/dist/use-uncontrolled-BPrfGv0W.cjs +1 -0
- package/dist/useAdaptiveDimensions-Btp0m5Pm.cjs +1 -0
- package/dist/{useAdaptiveDimensions-AVDc_qPa.js → useAdaptiveDimensions-CunsU0mn.js} +1 -1
- package/dist/{useCloseInterceptor-BZd3VILp.js → useCloseInterceptor-CuKAAFnj.js} +12 -12
- package/dist/useCloseInterceptor-a_6Lcuqj.cjs +1 -0
- package/dist/{useDynamicIcon-Bf0t2foA.js → useDynamicIcon-GJg3vWsJ.js} +1 -1
- package/dist/useDynamicIcon-SytdL1Tu.cjs +1 -0
- package/dist/{useOpenApp-CBIm7Gzl.js → useOpenApp-BVpSfNrG.js} +3 -3
- package/dist/useOpenApp-Br0jo4-y.cjs +1 -0
- package/dist/useResolvedUrl-Be5ZlCX7.cjs +1 -0
- package/dist/{useResolvedUrl-DQpLqOoL.js → useResolvedUrl-DFKXq598.js} +2 -2
- package/dist/useTranslation-DMRGdqZi.js +279 -0
- package/dist/useTranslation-D_O7S4RJ.cjs +1 -0
- package/dist/vsc-Ciibqbxo.cjs +1 -0
- package/dist/vsc-DGKSpOAR.js +9574 -0
- package/package.json +4 -2
- package/dist/AccordionChevron-kn5kSrEc.cjs +0 -1
- package/dist/ActionIcon-alk2zZD6.cjs +0 -1
- package/dist/AppEmptyState-BWCUbf-B.cjs +0 -1
- package/dist/AppEmptyState-Bxpit0JV.js +0 -49
- package/dist/AppIcon-BU7a3ZNH.cjs +0 -1
- package/dist/AppMenuBar-B9U0n1Vv.cjs +0 -1
- package/dist/AppMenuBar-CnIEVjr8.js +0 -2049
- package/dist/Box-zW6Twge8.cjs +0 -1
- package/dist/Button-DMlnrqyx.cjs +0 -1
- package/dist/CalendarApp-B_e1B1Yn.cjs +0 -1
- package/dist/CalendarApp-C-l9D6nd.cjs +0 -1
- package/dist/CalendarApp-D0ftTCTG.js +0 -1399
- package/dist/Center-DKUE2pER.cjs +0 -1
- package/dist/CheckIcon-CZhtJD1O.cjs +0 -1
- package/dist/CodeServerApp-BOoGwZ7r.cjs +0 -1
- package/dist/CodeServerApp-Be3I5EGg.cjs +0 -1
- package/dist/ColorPicker-BrDE7tMO.cjs +0 -1
- package/dist/CreateItemApp-B12M1E_1.cjs +0 -1
- package/dist/CreateItemApp-ePB6ujNl.cjs +0 -1
- package/dist/DeviceInfoApp-BMF18BGo.cjs +0 -1
- package/dist/DeviceInfoApp-DRy0H3aT.cjs +0 -1
- package/dist/DownloadProgress-VNdj22U8.cjs +0 -1
- package/dist/FileIcon-CIXopWLv.cjs +0 -1
- package/dist/FilePickerApp-DjmuSFqa.cjs +0 -1
- package/dist/FilesApp-Bp7wfrBZ.cjs +0 -1
- package/dist/FilesApp-BpJJRKhi.cjs +0 -1
- package/dist/Group-Dsrf6lEK.cjs +0 -1
- package/dist/ImageViewerApp-DlHGeB3S.cjs +0 -1
- package/dist/ImageViewerApp-DoXd_Swu.cjs +0 -1
- package/dist/ImageViewerMenuBar-SAI7UNz7.cjs +0 -1
- package/dist/ImageViewerMenuBar-_Jr29gii.cjs +0 -1
- package/dist/MenuEditApp-BJjlPTOa.cjs +0 -1
- package/dist/MenuEditApp-BTRppYnD.js +0 -497
- package/dist/MenuEditApp-JPsGT-S3.cjs +0 -1
- package/dist/MenuEditMenuBar-BydGkqMw.cjs +0 -1
- package/dist/MenuEditMenuBar-DptlwVPQ.cjs +0 -1
- package/dist/NotesApp-BOcRGO7w.cjs +0 -1
- package/dist/NotesApp-CQe7UfBC.js +0 -364
- package/dist/NotesApp-OL07JXRE.cjs +0 -1
- package/dist/NotesMenuBar-BSI_2Y7p.cjs +0 -1
- package/dist/NotesMenuBar-Df6aW85J.cjs +0 -1
- package/dist/Paper-D8-BaBx2.cjs +0 -1
- package/dist/PdfApp-CNEbty5v.cjs +0 -1
- package/dist/PdfApp-CVv3ZCaM.cjs +0 -1
- package/dist/PdfApp-DL_R9-Nc.js +0 -39
- package/dist/PdfMenuBar--E6kDyrT.cjs +0 -1
- package/dist/PdfMenuBar-DZCLSOpR.js +0 -39
- package/dist/PdfMenuBar-Dj5cJUkg.cjs +0 -1
- package/dist/SettingsApp-CNvIgf5B.cjs +0 -1
- package/dist/SettingsApp-DWxanNE4.cjs +0 -1
- package/dist/SettingsMenuBar-CBoOBCfx.cjs +0 -1
- package/dist/SettingsMenuBar-DQooFkZN.cjs +0 -1
- package/dist/SettingsMenuBar-YWiJHaxq.js +0 -42
- package/dist/Slider-BUiHxjKO.cjs +0 -1
- package/dist/Stack-D4jAiRfc.cjs +0 -1
- package/dist/StorybookApp-CDLV_kja.cjs +0 -1
- package/dist/TerminalApp-BCB7i1lR.cjs +0 -1
- package/dist/TerminalApp-BYc_gHLe.js +0 -326
- package/dist/TerminalApp-Dviz6aP2.cjs +0 -1
- package/dist/TerminalMenuBar-DNshPmCa.cjs +0 -1
- package/dist/TerminalMenuBar-HzMSR7XP.cjs +0 -1
- package/dist/TextInput-CrsmcOip.cjs +0 -1
- package/dist/Tooltip-D5Cd9wtz.cjs +0 -1
- package/dist/Tooltip-DOeIvhrO.js +0 -1142
- package/dist/UnstyledButton-DX2pTahr.cjs +0 -1
- package/dist/UploaderApp-C6xA5Rrf2.cjs +0 -1
- package/dist/UploaderApp-DnHIRxB_.cjs +0 -1
- package/dist/VscIcon-CcMdrFoJ.cjs +0 -1
- package/dist/create-safe-context-Bboj0GWC.cjs +0 -1
- package/dist/desktopStore-CZoA9VHO.cjs +0 -1
- package/dist/getRuntime-BFK0-8R1.cjs +0 -1
- package/dist/imageViewerStore-BB_tssZR.cjs +0 -1
- package/dist/is-element-CdV0xajp.cjs +0 -1
- package/dist/menuEditStore-CTeM_dns.cjs +0 -1
- package/dist/notesStore-BCEl1D_v.cjs +0 -1
- package/dist/rolldown-runtime-CAFD8bLK.js +0 -11
- package/dist/settingsAppStore-CMBc13VU.cjs +0 -1
- package/dist/terminalStore-iIuyodfK.cjs +0 -1
- package/dist/use-merged-ref-n9Gw9LNn.cjs +0 -1
- package/dist/use-uncontrolled-DDJVQiM_.cjs +0 -1
- package/dist/useAdaptiveDimensions-CfITBJ_m.cjs +0 -1
- package/dist/useCloseInterceptor-yntBEzNc.cjs +0 -1
- package/dist/useDynamicIcon-DJ_il30E.cjs +0 -1
- package/dist/useOpenApp-DW4x79Zg.cjs +0 -1
- package/dist/useResolvedUrl-BkMPM1fM.cjs +0 -1
- /package/dist/{Colors-zP2AFgU3.cjs → Colors-BxX4G8kX.cjs} +0 -0
- /package/dist/{Colors-ClnDxnyA.js → Colors-hca6raEG.js} +0 -0
- /package/dist/{useMenuBarUtils-nJIPJGIQ.cjs → useMenuBarUtils-Bp5PiztD.cjs} +0 -0
- /package/dist/{useMenuBarUtils-nmu9yehT.js → useMenuBarUtils-ChmpZjwu.js} +0 -0
|
@@ -1,37 +1,36 @@
|
|
|
1
1
|
import { createContext as e, use as t, useId as n, useMemo as r } from "react";
|
|
2
2
|
import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
3
|
-
import s from "clsx";
|
|
4
3
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/keys/keys.mjs
|
|
5
|
-
function
|
|
4
|
+
function s(e) {
|
|
6
5
|
return Object.keys(e);
|
|
7
6
|
}
|
|
8
7
|
//#endregion
|
|
9
8
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/deep-merge/deep-merge.mjs
|
|
10
|
-
function
|
|
9
|
+
function c(e) {
|
|
11
10
|
return e && typeof e == "object" && !Array.isArray(e);
|
|
12
11
|
}
|
|
13
|
-
function
|
|
12
|
+
function l(e, t) {
|
|
14
13
|
let n = { ...e }, r = t;
|
|
15
|
-
return
|
|
16
|
-
|
|
14
|
+
return c(e) && c(t) && Object.keys(t).forEach((t) => {
|
|
15
|
+
c(r[t]) && t in e ? n[t] = l(n[t], r[t]) : n[t] = r[t];
|
|
17
16
|
}), n;
|
|
18
17
|
}
|
|
19
18
|
//#endregion
|
|
20
19
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/camel-to-kebab-case/camel-to-kebab-case.mjs
|
|
21
|
-
function
|
|
20
|
+
function u(e) {
|
|
22
21
|
return e.replace(/[A-Z]/g, (e) => `-${e.toLowerCase()}`);
|
|
23
22
|
}
|
|
24
23
|
//#endregion
|
|
25
24
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/units-converters/rem.mjs
|
|
26
|
-
function
|
|
25
|
+
function d(e) {
|
|
27
26
|
return e === "0rem" ? "0rem" : `calc(${e} * var(--mantine-scale))`;
|
|
28
27
|
}
|
|
29
|
-
function
|
|
28
|
+
function f(e, { shouldScale: t = !1 } = {}) {
|
|
30
29
|
function n(r) {
|
|
31
30
|
if (r === 0 || r === "0") return `0${e}`;
|
|
32
31
|
if (typeof r == "number") {
|
|
33
32
|
let n = `${r / 16}${e}`;
|
|
34
|
-
return t ?
|
|
33
|
+
return t ? d(n) : n;
|
|
35
34
|
}
|
|
36
35
|
if (typeof r == "string") {
|
|
37
36
|
if (r === "" || r.startsWith("calc(") || r.startsWith("clamp(") || r.includes("rgba(")) return r;
|
|
@@ -40,22 +39,22 @@ function p(e, { shouldScale: t = !1 } = {}) {
|
|
|
40
39
|
let i = r.replace("px", "");
|
|
41
40
|
if (!Number.isNaN(Number(i))) {
|
|
42
41
|
let n = `${Number(i) / 16}${e}`;
|
|
43
|
-
return t ?
|
|
42
|
+
return t ? d(n) : n;
|
|
44
43
|
}
|
|
45
44
|
}
|
|
46
45
|
return r;
|
|
47
46
|
}
|
|
48
47
|
return n;
|
|
49
48
|
}
|
|
50
|
-
var
|
|
49
|
+
var p = f("rem", { shouldScale: !0 }), m = f("em");
|
|
51
50
|
//#endregion
|
|
52
51
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/filter-props/filter-props.mjs
|
|
53
|
-
function
|
|
52
|
+
function h(e) {
|
|
54
53
|
return Object.keys(e).reduce((t, n) => (e[n] !== void 0 && (t[n] = e[n]), t), {});
|
|
55
54
|
}
|
|
56
55
|
//#endregion
|
|
57
56
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/is-number-like/is-number-like.mjs
|
|
58
|
-
function
|
|
57
|
+
function g(e) {
|
|
59
58
|
if (typeof e == "number") return !0;
|
|
60
59
|
if (typeof e == "string") {
|
|
61
60
|
if (e.startsWith("calc(") || e.startsWith("var(") || e.includes(" ") && e.trim() !== "") return !0;
|
|
@@ -66,53 +65,68 @@ function _(e) {
|
|
|
66
65
|
}
|
|
67
66
|
//#endregion
|
|
68
67
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/utils/get-size/get-size.mjs
|
|
69
|
-
function
|
|
70
|
-
if (e !== void 0) return
|
|
68
|
+
function _(e, t = "size", n = !0) {
|
|
69
|
+
if (e !== void 0) return g(e) ? n ? p(e) : e : `var(--${t}-${e})`;
|
|
70
|
+
}
|
|
71
|
+
function v(e) {
|
|
72
|
+
return _(e, "mantine-spacing");
|
|
71
73
|
}
|
|
72
74
|
function y(e) {
|
|
73
|
-
return
|
|
75
|
+
return e === void 0 ? "var(--mantine-radius-default)" : _(e, "mantine-radius");
|
|
74
76
|
}
|
|
75
77
|
function b(e) {
|
|
76
|
-
return
|
|
78
|
+
return _(e, "mantine-font-size");
|
|
77
79
|
}
|
|
78
80
|
function x(e) {
|
|
79
|
-
return
|
|
81
|
+
return _(e, "mantine-line-height", !1);
|
|
80
82
|
}
|
|
81
83
|
function S(e) {
|
|
82
|
-
return
|
|
84
|
+
if (e) return _(e, "mantine-shadow", !1);
|
|
83
85
|
}
|
|
86
|
+
//#endregion
|
|
87
|
+
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/styles-api/create-vars-resolver/create-vars-resolver.mjs
|
|
84
88
|
function C(e) {
|
|
85
|
-
|
|
89
|
+
return e;
|
|
86
90
|
}
|
|
87
91
|
//#endregion
|
|
88
|
-
//#region ../../node_modules/.bun
|
|
92
|
+
//#region ../../node_modules/.bun/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
|
|
89
93
|
function w(e) {
|
|
90
|
-
|
|
94
|
+
var t, n, r = "";
|
|
95
|
+
if (typeof e == "string" || typeof e == "number") r += e;
|
|
96
|
+
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
97
|
+
var i = e.length;
|
|
98
|
+
for (t = 0; t < i; t++) e[t] && (n = w(e[t])) && (r && (r += " "), r += n);
|
|
99
|
+
} else for (n in e) e[n] && (r && (r += " "), r += n);
|
|
100
|
+
return r;
|
|
101
|
+
}
|
|
102
|
+
function T() {
|
|
103
|
+
for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = w(e)) && (r && (r += " "), r += t);
|
|
104
|
+
return r;
|
|
91
105
|
}
|
|
92
106
|
//#endregion
|
|
93
107
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/resolve-class-names/resolve-class-names.mjs
|
|
94
|
-
var
|
|
95
|
-
function
|
|
108
|
+
var E = {};
|
|
109
|
+
function D(e) {
|
|
96
110
|
let t = {};
|
|
97
111
|
return e.forEach((e) => {
|
|
98
112
|
Object.entries(e).forEach(([e, n]) => {
|
|
99
|
-
t[e] ? t[e] =
|
|
113
|
+
t[e] ? t[e] = T(t[e], n) : t[e] = n;
|
|
100
114
|
});
|
|
101
115
|
}), t;
|
|
102
116
|
}
|
|
103
|
-
function
|
|
104
|
-
return
|
|
117
|
+
function O({ theme: e, classNames: t, props: n, stylesCtx: r }) {
|
|
118
|
+
return D((Array.isArray(t) ? t : [t]).map((t) => typeof t == "function" ? t(e, n, r) : t || E));
|
|
105
119
|
}
|
|
106
120
|
//#endregion
|
|
107
121
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-styles/resolve-styles.mjs
|
|
108
|
-
function
|
|
122
|
+
function k({ theme: e, styles: t, props: n, stylesCtx: r }) {
|
|
109
123
|
let i = Array.isArray(t) ? t : [t], a = {};
|
|
110
124
|
for (let t of i) typeof t == "function" ? Object.assign(a, t(e, n, r)) : t && Object.assign(a, t);
|
|
111
125
|
return a;
|
|
112
126
|
}
|
|
113
127
|
//#endregion
|
|
114
128
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/get-primary-shade/get-primary-shade.mjs
|
|
115
|
-
function
|
|
129
|
+
function A(e, t) {
|
|
116
130
|
return typeof e.primaryShade == "number" ? e.primaryShade : t === "dark" ? e.primaryShade.dark : e.primaryShade.light;
|
|
117
131
|
}
|
|
118
132
|
//#endregion
|
|
@@ -175,7 +189,7 @@ function re(e) {
|
|
|
175
189
|
a: a || 1
|
|
176
190
|
};
|
|
177
191
|
}
|
|
178
|
-
function
|
|
192
|
+
function j(e) {
|
|
179
193
|
return ee(e) ? te(e) : e.startsWith("rgb") ? ne(e) : e.startsWith("hsl") ? re(e) : {
|
|
180
194
|
r: 0,
|
|
181
195
|
g: 0,
|
|
@@ -185,31 +199,31 @@ function A(e) {
|
|
|
185
199
|
}
|
|
186
200
|
//#endregion
|
|
187
201
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/luminance/luminance.mjs
|
|
188
|
-
function
|
|
202
|
+
function M(e) {
|
|
189
203
|
return e <= .03928 ? e / 12.92 : ((e + .055) / 1.055) ** 2.4;
|
|
190
204
|
}
|
|
191
205
|
function ie(e) {
|
|
192
206
|
let t = e.match(/oklch\((.*?)%\s/);
|
|
193
207
|
return t ? parseFloat(t[1]) : null;
|
|
194
208
|
}
|
|
195
|
-
function
|
|
209
|
+
function N(e) {
|
|
196
210
|
if (e.startsWith("oklch(")) return (ie(e) || 0) / 100;
|
|
197
|
-
let { r: t, g: n, b: r } =
|
|
211
|
+
let { r: t, g: n, b: r } = j(e), i = t / 255, a = n / 255, o = r / 255, s = M(i), c = M(a), l = M(o);
|
|
198
212
|
return .2126 * s + .7152 * c + .0722 * l;
|
|
199
213
|
}
|
|
200
|
-
function
|
|
201
|
-
return e.startsWith("var(") ? !1 :
|
|
214
|
+
function P(e, t = .179) {
|
|
215
|
+
return e.startsWith("var(") ? !1 : N(e) > t;
|
|
202
216
|
}
|
|
203
217
|
//#endregion
|
|
204
218
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/parse-theme-color/parse-theme-color.mjs
|
|
205
|
-
function
|
|
219
|
+
function F({ color: e, theme: t, colorScheme: n }) {
|
|
206
220
|
if (typeof e != "string") throw Error(`[@mantine/core] Failed to parse color. Expected color to be a string, instead got ${typeof e}`);
|
|
207
221
|
if (e === "bright") return {
|
|
208
222
|
color: e,
|
|
209
223
|
value: n === "dark" ? t.white : t.black,
|
|
210
224
|
shade: void 0,
|
|
211
225
|
isThemeColor: !1,
|
|
212
|
-
isLight:
|
|
226
|
+
isLight: P(n === "dark" ? t.white : t.black, t.luminanceThreshold),
|
|
213
227
|
variable: "--mantine-color-bright"
|
|
214
228
|
};
|
|
215
229
|
if (e === "dimmed") return {
|
|
@@ -217,7 +231,7 @@ function P({ color: e, theme: t, colorScheme: n }) {
|
|
|
217
231
|
value: n === "dark" ? t.colors.dark[2] : t.colors.gray[7],
|
|
218
232
|
shade: void 0,
|
|
219
233
|
isThemeColor: !1,
|
|
220
|
-
isLight:
|
|
234
|
+
isLight: P(n === "dark" ? t.colors.dark[2] : t.colors.gray[6], t.luminanceThreshold),
|
|
221
235
|
variable: "--mantine-color-dimmed"
|
|
222
236
|
};
|
|
223
237
|
if (e === "white" || e === "black") return {
|
|
@@ -225,18 +239,18 @@ function P({ color: e, theme: t, colorScheme: n }) {
|
|
|
225
239
|
value: e === "white" ? t.white : t.black,
|
|
226
240
|
shade: void 0,
|
|
227
241
|
isThemeColor: !1,
|
|
228
|
-
isLight:
|
|
242
|
+
isLight: P(e === "white" ? t.white : t.black, t.luminanceThreshold),
|
|
229
243
|
variable: `--mantine-color-${e}`
|
|
230
244
|
};
|
|
231
245
|
let [r, i] = e.split("."), a = i ? Number(i) : void 0, o = r in t.colors;
|
|
232
246
|
if (o) {
|
|
233
|
-
let e = a === void 0 ? t.colors[r][
|
|
247
|
+
let e = a === void 0 ? t.colors[r][A(t, n || "light")] : t.colors[r][a];
|
|
234
248
|
return {
|
|
235
249
|
color: r,
|
|
236
250
|
value: e,
|
|
237
251
|
shade: a,
|
|
238
252
|
isThemeColor: o,
|
|
239
|
-
isLight:
|
|
253
|
+
isLight: P(e, t.luminanceThreshold),
|
|
240
254
|
variable: i ? `--mantine-color-${r}-${a}` : `--mantine-color-${r}-filled`
|
|
241
255
|
};
|
|
242
256
|
}
|
|
@@ -244,15 +258,15 @@ function P({ color: e, theme: t, colorScheme: n }) {
|
|
|
244
258
|
color: e,
|
|
245
259
|
value: e,
|
|
246
260
|
isThemeColor: o,
|
|
247
|
-
isLight:
|
|
261
|
+
isLight: P(e, t.luminanceThreshold),
|
|
248
262
|
shade: a,
|
|
249
263
|
variable: void 0
|
|
250
264
|
};
|
|
251
265
|
}
|
|
252
266
|
//#endregion
|
|
253
267
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/get-theme-color/get-theme-color.mjs
|
|
254
|
-
function
|
|
255
|
-
let n =
|
|
268
|
+
function I(e, t) {
|
|
269
|
+
let n = F({
|
|
256
270
|
color: e || t.primaryColor,
|
|
257
271
|
theme: t
|
|
258
272
|
});
|
|
@@ -260,32 +274,32 @@ function F(e, t) {
|
|
|
260
274
|
}
|
|
261
275
|
//#endregion
|
|
262
276
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/darken/darken.mjs
|
|
263
|
-
function
|
|
277
|
+
function L(e, t) {
|
|
264
278
|
if (e.startsWith("var(")) return `color-mix(in srgb, ${e}, black ${t * 100}%)`;
|
|
265
|
-
let { r: n, g: r, b: i, a } =
|
|
279
|
+
let { r: n, g: r, b: i, a } = j(e), o = 1 - t, s = (e) => Math.round(e * o);
|
|
266
280
|
return `rgba(${s(n)}, ${s(r)}, ${s(i)}, ${a})`;
|
|
267
281
|
}
|
|
268
282
|
//#endregion
|
|
269
283
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/get-gradient/get-gradient.mjs
|
|
270
|
-
function
|
|
284
|
+
function R(e, t) {
|
|
271
285
|
let n = {
|
|
272
286
|
from: e?.from || t.defaultGradient.from,
|
|
273
287
|
to: e?.to || t.defaultGradient.to,
|
|
274
288
|
deg: e?.deg ?? t.defaultGradient.deg ?? 0
|
|
275
|
-
}, r =
|
|
289
|
+
}, r = I(n.from, t), i = I(n.to, t);
|
|
276
290
|
return `linear-gradient(${n.deg}deg, ${r} 0%, ${i} 100%)`;
|
|
277
291
|
}
|
|
278
292
|
//#endregion
|
|
279
293
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/color-functions/rgba/rgba.mjs
|
|
280
|
-
function
|
|
294
|
+
function z(e, t) {
|
|
281
295
|
if (typeof e != "string" || t > 1 || t < 0) return "rgba(0, 0, 0, 1)";
|
|
282
296
|
if (e.startsWith("var(")) return `color-mix(in srgb, ${e}, transparent ${(1 - t) * 100}%)`;
|
|
283
297
|
if (e.startsWith("oklch")) return e.includes("/") ? e.replace(/\/\s*[\d.]+\s*\)/, `/ ${t})`) : e.replace(")", ` / ${t})`);
|
|
284
|
-
let { r: n, g: r, b: i } =
|
|
298
|
+
let { r: n, g: r, b: i } = j(e);
|
|
285
299
|
return `rgba(${n}, ${r}, ${i}, ${t})`;
|
|
286
300
|
}
|
|
287
|
-
var ae =
|
|
288
|
-
let a =
|
|
301
|
+
var ae = z, oe = ({ color: e, theme: t, variant: n, gradient: r, autoContrast: i }) => {
|
|
302
|
+
let a = F({
|
|
289
303
|
color: e,
|
|
290
304
|
theme: t
|
|
291
305
|
}), o = typeof i == "boolean" ? i : t.autoContrast;
|
|
@@ -301,17 +315,17 @@ var ae = R, oe = ({ color: e, theme: t, variant: n, gradient: r, autoContrast: i
|
|
|
301
315
|
background: `var(--mantine-color-${e}-filled)`,
|
|
302
316
|
hover: `var(--mantine-color-${e}-filled-hover)`,
|
|
303
317
|
color: t,
|
|
304
|
-
border: `${
|
|
318
|
+
border: `${p(1)} solid transparent`
|
|
305
319
|
} : {
|
|
306
320
|
background: `var(--mantine-color-${a.color}-${a.shade})`,
|
|
307
321
|
hover: `var(--mantine-color-${a.color}-${a.shade === 9 ? 8 : a.shade + 1})`,
|
|
308
322
|
color: t,
|
|
309
|
-
border: `${
|
|
323
|
+
border: `${p(1)} solid transparent`
|
|
310
324
|
} : {
|
|
311
325
|
background: e,
|
|
312
|
-
hover:
|
|
326
|
+
hover: L(e, .1),
|
|
313
327
|
color: t,
|
|
314
|
-
border: `${
|
|
328
|
+
border: `${p(1)} solid transparent`
|
|
315
329
|
};
|
|
316
330
|
}
|
|
317
331
|
if (n === "light") {
|
|
@@ -320,38 +334,38 @@ var ae = R, oe = ({ color: e, theme: t, variant: n, gradient: r, autoContrast: i
|
|
|
320
334
|
background: `var(--mantine-color-${e}-light)`,
|
|
321
335
|
hover: `var(--mantine-color-${e}-light-hover)`,
|
|
322
336
|
color: `var(--mantine-color-${e}-light-color)`,
|
|
323
|
-
border: `${
|
|
337
|
+
border: `${p(1)} solid transparent`
|
|
324
338
|
};
|
|
325
339
|
let n = t.colors[a.color][a.shade];
|
|
326
340
|
return {
|
|
327
341
|
background: n,
|
|
328
|
-
hover:
|
|
342
|
+
hover: L(n, .1),
|
|
329
343
|
color: `var(--mantine-color-${a.color}-light-color)`,
|
|
330
|
-
border: `${
|
|
344
|
+
border: `${p(1)} solid transparent`
|
|
331
345
|
};
|
|
332
346
|
}
|
|
333
347
|
return {
|
|
334
348
|
background: e,
|
|
335
|
-
hover:
|
|
336
|
-
color:
|
|
337
|
-
border: `${
|
|
349
|
+
hover: L(e, .1),
|
|
350
|
+
color: P(e) ? "var(--mantine-color-black)" : "var(--mantine-color-white)",
|
|
351
|
+
border: `${p(1)} solid transparent`
|
|
338
352
|
};
|
|
339
353
|
}
|
|
340
354
|
if (n === "outline") return a.isThemeColor ? a.shade === void 0 ? {
|
|
341
355
|
background: "transparent",
|
|
342
356
|
hover: `var(--mantine-color-${e}-outline-hover)`,
|
|
343
357
|
color: `var(--mantine-color-${e}-outline)`,
|
|
344
|
-
border: `${
|
|
358
|
+
border: `${p(1)} solid var(--mantine-color-${e}-outline)`
|
|
345
359
|
} : {
|
|
346
360
|
background: "transparent",
|
|
347
|
-
hover:
|
|
361
|
+
hover: z(t.colors[a.color][a.shade], .05),
|
|
348
362
|
color: `var(--mantine-color-${a.color}-${a.shade})`,
|
|
349
|
-
border: `${
|
|
363
|
+
border: `${p(1)} solid var(--mantine-color-${a.color}-${a.shade})`
|
|
350
364
|
} : {
|
|
351
365
|
background: "transparent",
|
|
352
|
-
hover:
|
|
366
|
+
hover: z(e, .05),
|
|
353
367
|
color: e,
|
|
354
|
-
border: `${
|
|
368
|
+
border: `${p(1)} solid ${e}`
|
|
355
369
|
};
|
|
356
370
|
if (n === "subtle") {
|
|
357
371
|
if (a.isThemeColor) {
|
|
@@ -359,97 +373,97 @@ var ae = R, oe = ({ color: e, theme: t, variant: n, gradient: r, autoContrast: i
|
|
|
359
373
|
background: "transparent",
|
|
360
374
|
hover: `var(--mantine-color-${e}-light-hover)`,
|
|
361
375
|
color: `var(--mantine-color-${e}-light-color)`,
|
|
362
|
-
border: `${
|
|
376
|
+
border: `${p(1)} solid transparent`
|
|
363
377
|
};
|
|
364
378
|
let n = t.colors[a.color][a.shade];
|
|
365
379
|
return {
|
|
366
380
|
background: "transparent",
|
|
367
|
-
hover:
|
|
381
|
+
hover: z(n, .12),
|
|
368
382
|
color: `var(--mantine-color-${a.color}-${Math.min(a.shade, 6)})`,
|
|
369
|
-
border: `${
|
|
383
|
+
border: `${p(1)} solid transparent`
|
|
370
384
|
};
|
|
371
385
|
}
|
|
372
386
|
return {
|
|
373
387
|
background: "transparent",
|
|
374
|
-
hover:
|
|
388
|
+
hover: z(e, .12),
|
|
375
389
|
color: e,
|
|
376
|
-
border: `${
|
|
390
|
+
border: `${p(1)} solid transparent`
|
|
377
391
|
};
|
|
378
392
|
}
|
|
379
393
|
return n === "transparent" ? a.isThemeColor ? a.shade === void 0 ? {
|
|
380
394
|
background: "transparent",
|
|
381
395
|
hover: "transparent",
|
|
382
396
|
color: `var(--mantine-color-${e}-light-color)`,
|
|
383
|
-
border: `${
|
|
397
|
+
border: `${p(1)} solid transparent`
|
|
384
398
|
} : {
|
|
385
399
|
background: "transparent",
|
|
386
400
|
hover: "transparent",
|
|
387
401
|
color: `var(--mantine-color-${a.color}-${Math.min(a.shade, 6)})`,
|
|
388
|
-
border: `${
|
|
402
|
+
border: `${p(1)} solid transparent`
|
|
389
403
|
} : {
|
|
390
404
|
background: "transparent",
|
|
391
405
|
hover: "transparent",
|
|
392
406
|
color: e,
|
|
393
|
-
border: `${
|
|
407
|
+
border: `${p(1)} solid transparent`
|
|
394
408
|
} : n === "white" ? a.isThemeColor ? a.shade === void 0 ? {
|
|
395
409
|
background: "var(--mantine-color-white)",
|
|
396
|
-
hover:
|
|
410
|
+
hover: L(t.white, .01),
|
|
397
411
|
color: `var(--mantine-color-${e}-filled)`,
|
|
398
|
-
border: `${
|
|
412
|
+
border: `${p(1)} solid transparent`
|
|
399
413
|
} : {
|
|
400
414
|
background: "var(--mantine-color-white)",
|
|
401
|
-
hover:
|
|
415
|
+
hover: L(t.white, .01),
|
|
402
416
|
color: `var(--mantine-color-${a.color}-${a.shade})`,
|
|
403
|
-
border: `${
|
|
417
|
+
border: `${p(1)} solid transparent`
|
|
404
418
|
} : {
|
|
405
419
|
background: "var(--mantine-color-white)",
|
|
406
|
-
hover:
|
|
420
|
+
hover: L(t.white, .01),
|
|
407
421
|
color: e,
|
|
408
|
-
border: `${
|
|
422
|
+
border: `${p(1)} solid transparent`
|
|
409
423
|
} : n === "gradient" ? {
|
|
410
|
-
background:
|
|
411
|
-
hover:
|
|
424
|
+
background: R(r, t),
|
|
425
|
+
hover: R(r, t),
|
|
412
426
|
color: "var(--mantine-color-white)",
|
|
413
427
|
border: "none"
|
|
414
428
|
} : n === "default" ? {
|
|
415
429
|
background: "var(--mantine-color-default)",
|
|
416
430
|
hover: "var(--mantine-color-default-hover)",
|
|
417
431
|
color: "var(--mantine-color-default-color)",
|
|
418
|
-
border: `${
|
|
432
|
+
border: `${p(1)} solid var(--mantine-color-default-border)`
|
|
419
433
|
} : {};
|
|
420
|
-
},
|
|
421
|
-
function
|
|
422
|
-
let e = t(
|
|
434
|
+
}, B = e(null);
|
|
435
|
+
function V() {
|
|
436
|
+
let e = t(B);
|
|
423
437
|
if (!e) throw Error("[@mantine/core] MantineProvider was not found in tree");
|
|
424
438
|
return e;
|
|
425
439
|
}
|
|
426
440
|
function se() {
|
|
427
|
-
return
|
|
441
|
+
return V().cssVariablesResolver;
|
|
428
442
|
}
|
|
429
443
|
function ce() {
|
|
430
|
-
return
|
|
444
|
+
return V().classNamesPrefix;
|
|
431
445
|
}
|
|
432
|
-
function
|
|
433
|
-
return
|
|
446
|
+
function H() {
|
|
447
|
+
return V().getStyleNonce;
|
|
434
448
|
}
|
|
435
449
|
function le() {
|
|
436
|
-
return
|
|
450
|
+
return V().withStaticClasses;
|
|
437
451
|
}
|
|
438
452
|
function ue() {
|
|
439
|
-
return
|
|
453
|
+
return V().headless;
|
|
440
454
|
}
|
|
441
455
|
function de() {
|
|
442
|
-
return
|
|
443
|
-
}
|
|
444
|
-
function H() {
|
|
445
|
-
return B().stylesTransform?.styles;
|
|
456
|
+
return V().stylesTransform?.sx;
|
|
446
457
|
}
|
|
447
458
|
function fe() {
|
|
448
|
-
return
|
|
459
|
+
return V().stylesTransform?.styles;
|
|
460
|
+
}
|
|
461
|
+
function pe() {
|
|
462
|
+
return V().env || "default";
|
|
449
463
|
}
|
|
450
464
|
//#endregion
|
|
451
465
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/default-colors.mjs
|
|
452
|
-
var
|
|
466
|
+
var me = {
|
|
453
467
|
dark: [
|
|
454
468
|
"#C9C9C9",
|
|
455
469
|
"#b8b8b8",
|
|
@@ -624,7 +638,7 @@ var pe = {
|
|
|
624
638
|
focusRing: "auto",
|
|
625
639
|
white: "#fff",
|
|
626
640
|
black: "#000",
|
|
627
|
-
colors:
|
|
641
|
+
colors: me,
|
|
628
642
|
primaryShade: {
|
|
629
643
|
light: 6,
|
|
630
644
|
dark: 8
|
|
@@ -651,37 +665,37 @@ var pe = {
|
|
|
651
665
|
textWrap: "wrap",
|
|
652
666
|
sizes: {
|
|
653
667
|
h1: {
|
|
654
|
-
fontSize:
|
|
668
|
+
fontSize: p(34),
|
|
655
669
|
lineHeight: "1.3"
|
|
656
670
|
},
|
|
657
671
|
h2: {
|
|
658
|
-
fontSize:
|
|
672
|
+
fontSize: p(26),
|
|
659
673
|
lineHeight: "1.35"
|
|
660
674
|
},
|
|
661
675
|
h3: {
|
|
662
|
-
fontSize:
|
|
676
|
+
fontSize: p(22),
|
|
663
677
|
lineHeight: "1.4"
|
|
664
678
|
},
|
|
665
679
|
h4: {
|
|
666
|
-
fontSize:
|
|
680
|
+
fontSize: p(18),
|
|
667
681
|
lineHeight: "1.45"
|
|
668
682
|
},
|
|
669
683
|
h5: {
|
|
670
|
-
fontSize:
|
|
684
|
+
fontSize: p(16),
|
|
671
685
|
lineHeight: "1.5"
|
|
672
686
|
},
|
|
673
687
|
h6: {
|
|
674
|
-
fontSize:
|
|
688
|
+
fontSize: p(14),
|
|
675
689
|
lineHeight: "1.5"
|
|
676
690
|
}
|
|
677
691
|
}
|
|
678
692
|
},
|
|
679
693
|
fontSizes: {
|
|
680
|
-
xs:
|
|
681
|
-
sm:
|
|
682
|
-
md:
|
|
683
|
-
lg:
|
|
684
|
-
xl:
|
|
694
|
+
xs: p(12),
|
|
695
|
+
sm: p(14),
|
|
696
|
+
md: p(16),
|
|
697
|
+
lg: p(18),
|
|
698
|
+
xl: p(20)
|
|
685
699
|
},
|
|
686
700
|
lineHeights: {
|
|
687
701
|
xs: "1.4",
|
|
@@ -696,18 +710,18 @@ var pe = {
|
|
|
696
710
|
bold: "700"
|
|
697
711
|
},
|
|
698
712
|
radius: {
|
|
699
|
-
xs:
|
|
700
|
-
sm:
|
|
701
|
-
md:
|
|
702
|
-
lg:
|
|
703
|
-
xl:
|
|
713
|
+
xs: p(2),
|
|
714
|
+
sm: p(4),
|
|
715
|
+
md: p(8),
|
|
716
|
+
lg: p(16),
|
|
717
|
+
xl: p(32)
|
|
704
718
|
},
|
|
705
719
|
spacing: {
|
|
706
|
-
xs:
|
|
707
|
-
sm:
|
|
708
|
-
md:
|
|
709
|
-
lg:
|
|
710
|
-
xl:
|
|
720
|
+
xs: p(10),
|
|
721
|
+
sm: p(12),
|
|
722
|
+
md: p(16),
|
|
723
|
+
lg: p(20),
|
|
724
|
+
xl: p(32)
|
|
711
725
|
},
|
|
712
726
|
breakpoints: {
|
|
713
727
|
xs: "36em",
|
|
@@ -717,38 +731,38 @@ var pe = {
|
|
|
717
731
|
xl: "88em"
|
|
718
732
|
},
|
|
719
733
|
shadows: {
|
|
720
|
-
xs: `0 ${
|
|
721
|
-
sm: `0 ${
|
|
722
|
-
md: `0 ${
|
|
723
|
-
lg: `0 ${
|
|
724
|
-
xl: `0 ${
|
|
734
|
+
xs: `0 ${p(1)} ${p(3)} rgba(0, 0, 0, 0.05), 0 ${p(1)} ${p(2)} rgba(0, 0, 0, 0.1)`,
|
|
735
|
+
sm: `0 ${p(1)} ${p(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${p(10)} ${p(15)} ${p(-5)}, rgba(0, 0, 0, 0.04) 0 ${p(7)} ${p(7)} ${p(-5)}`,
|
|
736
|
+
md: `0 ${p(1)} ${p(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${p(20)} ${p(25)} ${p(-5)}, rgba(0, 0, 0, 0.04) 0 ${p(10)} ${p(10)} ${p(-5)}`,
|
|
737
|
+
lg: `0 ${p(1)} ${p(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${p(28)} ${p(23)} ${p(-7)}, rgba(0, 0, 0, 0.04) 0 ${p(12)} ${p(12)} ${p(-7)}`,
|
|
738
|
+
xl: `0 ${p(1)} ${p(3)} rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0 ${p(36)} ${p(28)} ${p(-7)}, rgba(0, 0, 0, 0.04) 0 ${p(17)} ${p(17)} ${p(-7)}`
|
|
725
739
|
},
|
|
726
740
|
other: {},
|
|
727
741
|
components: {}
|
|
728
|
-
},
|
|
729
|
-
function
|
|
742
|
+
}, G = "[@mantine/core] MantineProvider: Invalid theme.primaryColor, it accepts only key of theme.colors, learn more – https://mantine.dev/theming/colors/#primary-color", he = "[@mantine/core] MantineProvider: Invalid theme.primaryShade, it accepts only 0-9 integers or an object { light: 0-9, dark: 0-9 }";
|
|
743
|
+
function K(e) {
|
|
730
744
|
return e < 0 || e > 9 ? !1 : parseInt(e.toString(), 10) === e;
|
|
731
745
|
}
|
|
732
746
|
function ge(e) {
|
|
733
|
-
if (!(e.primaryColor in e.colors)) throw Error(
|
|
734
|
-
if (typeof e.primaryShade == "object" && (!
|
|
747
|
+
if (!(e.primaryColor in e.colors)) throw Error(G);
|
|
748
|
+
if (typeof e.primaryShade == "object" && (!K(e.primaryShade.dark) || !K(e.primaryShade.light)) || typeof e.primaryShade == "number" && !K(e.primaryShade)) throw Error(he);
|
|
735
749
|
}
|
|
736
750
|
function _e(e, t) {
|
|
737
751
|
if (!t) return ge(e), e;
|
|
738
|
-
let n =
|
|
752
|
+
let n = l(e, t);
|
|
739
753
|
return t.fontFamily && !t.headings?.fontFamily && (n.headings.fontFamily = t.fontFamily), ge(n), n;
|
|
740
754
|
}
|
|
741
755
|
//#endregion
|
|
742
756
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs
|
|
743
|
-
var
|
|
744
|
-
function
|
|
745
|
-
let e = t(
|
|
757
|
+
var q = e(null), ve = () => t(q) || W;
|
|
758
|
+
function J() {
|
|
759
|
+
let e = t(q);
|
|
746
760
|
if (!e) throw Error("@mantine/core: MantineProvider was not found in component tree, make sure you have it in your app");
|
|
747
761
|
return e;
|
|
748
762
|
}
|
|
749
763
|
function ye({ theme: e, children: t, inherit: n = !0 }) {
|
|
750
764
|
let i = ve();
|
|
751
|
-
return /* @__PURE__ */ a(
|
|
765
|
+
return /* @__PURE__ */ a(q, {
|
|
752
766
|
value: r(() => _e(n ? i : W, e), [
|
|
753
767
|
e,
|
|
754
768
|
i,
|
|
@@ -761,11 +775,11 @@ ye.displayName = "@mantine/core/MantineThemeProvider";
|
|
|
761
775
|
//#endregion
|
|
762
776
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/MantineProvider/use-props/use-props.mjs
|
|
763
777
|
function be(e, t, n) {
|
|
764
|
-
let r =
|
|
778
|
+
let r = J(), i = r.components[e]?.defaultProps, a = typeof i == "function" ? i(r) : i;
|
|
765
779
|
return {
|
|
766
780
|
...t,
|
|
767
781
|
...a,
|
|
768
|
-
...
|
|
782
|
+
...h(n)
|
|
769
783
|
};
|
|
770
784
|
}
|
|
771
785
|
//#endregion
|
|
@@ -776,12 +790,12 @@ var xe = {
|
|
|
776
790
|
never: "mantine-focus-never"
|
|
777
791
|
};
|
|
778
792
|
function Se({ theme: e, options: t, unstyled: n }) {
|
|
779
|
-
return
|
|
793
|
+
return T(t?.focusable && !n && (e.focusClassName || xe[e.focusRing]), t?.active && !n && e.activeClassName);
|
|
780
794
|
}
|
|
781
795
|
//#endregion
|
|
782
796
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-options-class-names/get-options-class-names.mjs
|
|
783
797
|
function Ce({ selector: e, stylesCtx: t, options: n, props: r, theme: i }) {
|
|
784
|
-
return
|
|
798
|
+
return O({
|
|
785
799
|
theme: i,
|
|
786
800
|
classNames: n?.classNames,
|
|
787
801
|
props: n?.props || r,
|
|
@@ -791,7 +805,7 @@ function Ce({ selector: e, stylesCtx: t, options: n, props: r, theme: i }) {
|
|
|
791
805
|
//#endregion
|
|
792
806
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-resolved-class-names/get-resolved-class-names.mjs
|
|
793
807
|
function we({ selector: e, stylesCtx: t, theme: n, classNames: r, props: i }) {
|
|
794
|
-
return
|
|
808
|
+
return O({
|
|
795
809
|
theme: n,
|
|
796
810
|
classNames: r,
|
|
797
811
|
props: i,
|
|
@@ -820,37 +834,37 @@ function Oe({ options: e, classes: t, selector: n, unstyled: r }) {
|
|
|
820
834
|
}
|
|
821
835
|
//#endregion
|
|
822
836
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-class-name/get-class-name.mjs
|
|
823
|
-
function ke({ theme: e, options: t, themeName: n, selector: r, classNamesPrefix: i, resolvedClassNames: a, resolvedThemeClassNames: o, classes:
|
|
824
|
-
return
|
|
837
|
+
function ke({ theme: e, options: t, themeName: n, selector: r, classNamesPrefix: i, resolvedClassNames: a, resolvedThemeClassNames: o, classes: s, unstyled: c, className: l, rootSelector: u, props: d, stylesCtx: f, withStaticClasses: p, headless: m, transformedStyles: h }) {
|
|
838
|
+
return T(Se({
|
|
825
839
|
theme: e,
|
|
826
840
|
options: t,
|
|
827
|
-
unstyled:
|
|
841
|
+
unstyled: c || m
|
|
828
842
|
}), o.map((e) => e[r]), Oe({
|
|
829
843
|
options: t,
|
|
830
|
-
classes:
|
|
844
|
+
classes: s,
|
|
831
845
|
selector: r,
|
|
832
|
-
unstyled:
|
|
846
|
+
unstyled: c || m
|
|
833
847
|
}), a[r], we({
|
|
834
848
|
selector: r,
|
|
835
|
-
stylesCtx:
|
|
849
|
+
stylesCtx: f,
|
|
836
850
|
theme: e,
|
|
837
|
-
classNames:
|
|
838
|
-
props:
|
|
851
|
+
classNames: h,
|
|
852
|
+
props: d
|
|
839
853
|
}), Ce({
|
|
840
854
|
selector: r,
|
|
841
|
-
stylesCtx:
|
|
855
|
+
stylesCtx: f,
|
|
842
856
|
options: t,
|
|
843
|
-
props:
|
|
857
|
+
props: d,
|
|
844
858
|
theme: e
|
|
845
859
|
}), Te({
|
|
846
|
-
rootSelector:
|
|
860
|
+
rootSelector: u,
|
|
847
861
|
selector: r,
|
|
848
|
-
className:
|
|
862
|
+
className: l
|
|
849
863
|
}), Ee({
|
|
850
864
|
selector: r,
|
|
851
|
-
classes:
|
|
852
|
-
unstyled:
|
|
853
|
-
}),
|
|
865
|
+
classes: s,
|
|
866
|
+
unstyled: c || m
|
|
867
|
+
}), p && !m && De({
|
|
854
868
|
themeName: n,
|
|
855
869
|
classNamesPrefix: i,
|
|
856
870
|
selector: r,
|
|
@@ -859,10 +873,10 @@ function ke({ theme: e, options: t, themeName: n, selector: r, classNamesPrefix:
|
|
|
859
873
|
}
|
|
860
874
|
//#endregion
|
|
861
875
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/styles-api/use-styles/get-style/resolve-style/resolve-style.mjs
|
|
862
|
-
function
|
|
876
|
+
function Y({ style: e, theme: t }) {
|
|
863
877
|
return Array.isArray(e) ? e.reduce((e, n) => ({
|
|
864
878
|
...e,
|
|
865
|
-
...
|
|
879
|
+
...Y({
|
|
866
880
|
style: n,
|
|
867
881
|
theme: t
|
|
868
882
|
})
|
|
@@ -874,7 +888,7 @@ function Ae({ theme: e, selector: t, options: n, props: r, stylesCtx: i, rootSel
|
|
|
874
888
|
return {
|
|
875
889
|
...c[t],
|
|
876
890
|
...s[t],
|
|
877
|
-
...!o &&
|
|
891
|
+
...!o && k({
|
|
878
892
|
theme: e,
|
|
879
893
|
styles: n?.styles,
|
|
880
894
|
props: n?.props || r,
|
|
@@ -882,7 +896,7 @@ function Ae({ theme: e, selector: t, options: n, props: r, stylesCtx: i, rootSel
|
|
|
882
896
|
})[t],
|
|
883
897
|
...l[t],
|
|
884
898
|
...a === t ? u : null,
|
|
885
|
-
...
|
|
899
|
+
...Y({
|
|
886
900
|
style: n?.style,
|
|
887
901
|
theme: e
|
|
888
902
|
})
|
|
@@ -894,14 +908,14 @@ function je(e) {
|
|
|
894
908
|
return e.reduce((e, t) => (t && Object.keys(t).forEach((n) => {
|
|
895
909
|
e[n] = {
|
|
896
910
|
...e[n],
|
|
897
|
-
...
|
|
911
|
+
...h(t[n])
|
|
898
912
|
};
|
|
899
913
|
}), e), {});
|
|
900
914
|
}
|
|
901
915
|
//#endregion
|
|
902
916
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/styles-api/use-styles/use-transformed-styles.mjs
|
|
903
917
|
function Me({ props: e, stylesCtx: t, themeName: n, theme: r }) {
|
|
904
|
-
let i =
|
|
918
|
+
let i = fe()?.();
|
|
905
919
|
return {
|
|
906
920
|
getTransformedStyles: (a) => i ? [...a.map((n) => i(n, {
|
|
907
921
|
props: e,
|
|
@@ -918,29 +932,29 @@ function Me({ props: e, stylesCtx: t, themeName: n, theme: r }) {
|
|
|
918
932
|
//#endregion
|
|
919
933
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/styles-api/use-styles/use-styles.mjs
|
|
920
934
|
function Ne({ name: e, classes: t, props: n, stylesCtx: r, className: i, style: a, rootSelector: o = "root", unstyled: s, classNames: c, styles: l, vars: u, varsResolver: d, attributes: f }) {
|
|
921
|
-
let p =
|
|
935
|
+
let p = J(), m = ce(), h = le(), g = ue(), _ = (Array.isArray(e) ? e : [e]).filter((e) => e), { withStylesTransform: v, getTransformedStyles: y } = Me({
|
|
922
936
|
props: n,
|
|
923
937
|
stylesCtx: r,
|
|
924
938
|
themeName: _,
|
|
925
939
|
theme: p
|
|
926
|
-
}), b =
|
|
940
|
+
}), b = O({
|
|
927
941
|
theme: p,
|
|
928
942
|
classNames: c,
|
|
929
943
|
props: n,
|
|
930
944
|
stylesCtx: r
|
|
931
|
-
}), x = _.map((e) =>
|
|
945
|
+
}), x = _.map((e) => O({
|
|
932
946
|
theme: p,
|
|
933
947
|
classNames: p.components[e]?.classNames,
|
|
934
948
|
props: n,
|
|
935
949
|
stylesCtx: r
|
|
936
|
-
})), S = v ? {} :
|
|
950
|
+
})), S = v ? {} : k({
|
|
937
951
|
theme: p,
|
|
938
952
|
styles: l,
|
|
939
953
|
props: n,
|
|
940
954
|
stylesCtx: r
|
|
941
955
|
}), C = {};
|
|
942
956
|
if (!v) for (let e of _) {
|
|
943
|
-
let t =
|
|
957
|
+
let t = k({
|
|
944
958
|
theme: p,
|
|
945
959
|
styles: p.components[e]?.styles,
|
|
946
960
|
props: n,
|
|
@@ -955,7 +969,7 @@ function Ne({ name: e, classes: t, props: n, stylesCtx: r, className: i, style:
|
|
|
955
969
|
g ? {} : d?.(p, n, r),
|
|
956
970
|
..._.map((e) => p.components?.[e]?.vars?.(p, n, r)),
|
|
957
971
|
u?.(p, n, r)
|
|
958
|
-
]), T =
|
|
972
|
+
]), T = Y({
|
|
959
973
|
style: a,
|
|
960
974
|
theme: p
|
|
961
975
|
});
|
|
@@ -996,19 +1010,19 @@ function Ne({ name: e, classes: t, props: n, stylesCtx: r, className: i, style:
|
|
|
996
1010
|
}
|
|
997
1011
|
//#endregion
|
|
998
1012
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/InlineStyles/css-object-to-string/css-object-to-string.mjs
|
|
999
|
-
function
|
|
1000
|
-
return
|
|
1013
|
+
function X(e) {
|
|
1014
|
+
return s(e).reduce((t, n) => e[n] === void 0 ? t : `${t}${u(n)}:${e[n]};`, "").trim();
|
|
1001
1015
|
}
|
|
1002
1016
|
//#endregion
|
|
1003
1017
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/InlineStyles/styles-to-string/styles-to-string.mjs
|
|
1004
1018
|
function Pe({ selector: e, styles: t, media: n, container: r }) {
|
|
1005
|
-
let i = t ?
|
|
1019
|
+
let i = t ? X(t) : "", a = Array.isArray(n) ? n.map((t) => `@media${t.query}{${e}{${X(t.styles)}}}`) : [], o = Array.isArray(r) ? r.map((t) => `@container ${t.query}{${e}{${X(t.styles)}}}`) : [];
|
|
1006
1020
|
return `${i ? `${e}{${i}}` : ""}${a.join("")}${o.join("")}`.trim();
|
|
1007
1021
|
}
|
|
1008
1022
|
//#endregion
|
|
1009
1023
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/InlineStyles/InlineStyles.mjs
|
|
1010
1024
|
function Fe(e) {
|
|
1011
|
-
let t =
|
|
1025
|
+
let t = H();
|
|
1012
1026
|
return /* @__PURE__ */ a("style", {
|
|
1013
1027
|
"data-mantine-styles": "inline",
|
|
1014
1028
|
nonce: t?.(),
|
|
@@ -1018,9 +1032,9 @@ function Fe(e) {
|
|
|
1018
1032
|
//#endregion
|
|
1019
1033
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/style-props/extract-style-props/extract-style-props.mjs
|
|
1020
1034
|
function Ie(e) {
|
|
1021
|
-
let { m: t, mx: n, my: r, mt: i, mb: a, ml: o, mr: s, me: c, ms: l, mis: u, mie: d, p: f, px: p, py: m, pt:
|
|
1035
|
+
let { m: t, mx: n, my: r, mt: i, mb: a, ml: o, mr: s, me: c, ms: l, mis: u, mie: d, p: f, px: p, py: m, pt: g, pb: _, pl: v, pr: y, pe: b, ps: x, pis: S, pie: C, bd: w, bdrs: T, bg: E, c: D, opacity: O, ff: k, fz: A, fw: ee, lts: te, ta: ne, lh: re, fs: j, tt: M, td: ie, w: N, miw: P, maw: F, h: I, mih: L, mah: R, bgsz: z, bgp: ae, bgr: oe, bga: B, pos: V, top: se, left: ce, bottom: H, right: le, inset: ue, display: de, flex: fe, hiddenFrom: pe, visibleFrom: me, lightHidden: U, darkHidden: W, sx: G, ...he } = e;
|
|
1022
1036
|
return {
|
|
1023
|
-
styleProps:
|
|
1037
|
+
styleProps: h({
|
|
1024
1038
|
m: t,
|
|
1025
1039
|
mx: n,
|
|
1026
1040
|
my: r,
|
|
@@ -1035,7 +1049,7 @@ function Ie(e) {
|
|
|
1035
1049
|
p: f,
|
|
1036
1050
|
px: p,
|
|
1037
1051
|
py: m,
|
|
1038
|
-
pt:
|
|
1052
|
+
pt: g,
|
|
1039
1053
|
pb: _,
|
|
1040
1054
|
pl: v,
|
|
1041
1055
|
pr: y,
|
|
@@ -1048,40 +1062,40 @@ function Ie(e) {
|
|
|
1048
1062
|
c: D,
|
|
1049
1063
|
opacity: O,
|
|
1050
1064
|
ff: k,
|
|
1051
|
-
fz:
|
|
1052
|
-
fw:
|
|
1053
|
-
lts:
|
|
1054
|
-
ta:
|
|
1055
|
-
lh:
|
|
1065
|
+
fz: A,
|
|
1066
|
+
fw: ee,
|
|
1067
|
+
lts: te,
|
|
1068
|
+
ta: ne,
|
|
1069
|
+
lh: re,
|
|
1056
1070
|
fs: j,
|
|
1057
|
-
tt:
|
|
1058
|
-
td:
|
|
1071
|
+
tt: M,
|
|
1072
|
+
td: ie,
|
|
1059
1073
|
w: N,
|
|
1060
1074
|
miw: P,
|
|
1061
1075
|
maw: F,
|
|
1062
1076
|
h: I,
|
|
1063
1077
|
mih: L,
|
|
1064
1078
|
mah: R,
|
|
1065
|
-
bgsz:
|
|
1066
|
-
bgp:
|
|
1067
|
-
bgr:
|
|
1079
|
+
bgsz: z,
|
|
1080
|
+
bgp: ae,
|
|
1081
|
+
bgr: oe,
|
|
1068
1082
|
bga: B,
|
|
1069
|
-
pos:
|
|
1070
|
-
top:
|
|
1071
|
-
left:
|
|
1072
|
-
bottom:
|
|
1073
|
-
right:
|
|
1074
|
-
inset:
|
|
1075
|
-
display:
|
|
1083
|
+
pos: V,
|
|
1084
|
+
top: se,
|
|
1085
|
+
left: ce,
|
|
1086
|
+
bottom: H,
|
|
1087
|
+
right: le,
|
|
1088
|
+
inset: ue,
|
|
1089
|
+
display: de,
|
|
1076
1090
|
flex: fe,
|
|
1077
1091
|
bdrs: T,
|
|
1078
1092
|
hiddenFrom: pe,
|
|
1079
|
-
visibleFrom:
|
|
1080
|
-
lightHidden:
|
|
1081
|
-
darkHidden:
|
|
1082
|
-
sx:
|
|
1093
|
+
visibleFrom: me,
|
|
1094
|
+
lightHidden: U,
|
|
1095
|
+
darkHidden: W,
|
|
1096
|
+
sx: G
|
|
1083
1097
|
}),
|
|
1084
|
-
rest:
|
|
1098
|
+
rest: he
|
|
1085
1099
|
};
|
|
1086
1100
|
}
|
|
1087
1101
|
//#endregion
|
|
@@ -1306,27 +1320,27 @@ var Le = {
|
|
|
1306
1320
|
};
|
|
1307
1321
|
//#endregion
|
|
1308
1322
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/color-resolver/color-resolver.mjs
|
|
1309
|
-
function
|
|
1310
|
-
let n =
|
|
1323
|
+
function Z(e, t) {
|
|
1324
|
+
let n = F({
|
|
1311
1325
|
color: e,
|
|
1312
1326
|
theme: t
|
|
1313
1327
|
});
|
|
1314
1328
|
return n.color === "dimmed" ? "var(--mantine-color-dimmed)" : n.color === "bright" ? "var(--mantine-color-bright)" : n.variable ? `var(${n.variable})` : n.color;
|
|
1315
1329
|
}
|
|
1316
1330
|
function Re(e, t) {
|
|
1317
|
-
let n =
|
|
1331
|
+
let n = F({
|
|
1318
1332
|
color: e,
|
|
1319
1333
|
theme: t
|
|
1320
1334
|
});
|
|
1321
|
-
return n.isThemeColor && n.shade === void 0 ? `var(--mantine-color-${n.color}-text)` :
|
|
1335
|
+
return n.isThemeColor && n.shade === void 0 ? `var(--mantine-color-${n.color}-text)` : Z(e, t);
|
|
1322
1336
|
}
|
|
1323
1337
|
//#endregion
|
|
1324
1338
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/border-resolver/border-resolver.mjs
|
|
1325
1339
|
function ze(e, t) {
|
|
1326
|
-
if (typeof e == "number") return
|
|
1340
|
+
if (typeof e == "number") return p(e);
|
|
1327
1341
|
if (typeof e == "string") {
|
|
1328
|
-
let [n, r, ...i] = e.split(" ").filter((e) => e.trim() !== ""), a = `${
|
|
1329
|
-
return r && (a += ` ${r}`), i.length > 0 && (a += ` ${
|
|
1342
|
+
let [n, r, ...i] = e.split(" ").filter((e) => e.trim() !== ""), a = `${p(n)}`;
|
|
1343
|
+
return r && (a += ` ${r}`), i.length > 0 && (a += ` ${Z(i.join(" "), t)}`), a.trim();
|
|
1330
1344
|
}
|
|
1331
1345
|
return e;
|
|
1332
1346
|
}
|
|
@@ -1353,7 +1367,7 @@ var He = [
|
|
|
1353
1367
|
"h6"
|
|
1354
1368
|
];
|
|
1355
1369
|
function Ue(e, t) {
|
|
1356
|
-
return typeof e == "string" && e in t.fontSizes ? `var(--mantine-font-size-${e})` : typeof e == "string" && He.includes(e) ? `var(--mantine-${e}-font-size)` : typeof e == "number" || typeof e == "string" ?
|
|
1370
|
+
return typeof e == "string" && e in t.fontSizes ? `var(--mantine-font-size-${e})` : typeof e == "string" && He.includes(e) ? `var(--mantine-${e}-font-size)` : typeof e == "number" || typeof e == "string" ? p(e) : e;
|
|
1357
1371
|
}
|
|
1358
1372
|
//#endregion
|
|
1359
1373
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/identity-resolver/identity-resolver.mjs
|
|
@@ -1376,20 +1390,20 @@ function Ke(e, t) {
|
|
|
1376
1390
|
//#endregion
|
|
1377
1391
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/radius-resolver/radius-resolver.mjs
|
|
1378
1392
|
function qe(e, t) {
|
|
1379
|
-
return typeof e == "string" && e in t.radius ? `var(--mantine-radius-${e})` : typeof e == "number" || typeof e == "string" ?
|
|
1393
|
+
return typeof e == "string" && e in t.radius ? `var(--mantine-radius-${e})` : typeof e == "number" || typeof e == "string" ? p(e) : e;
|
|
1380
1394
|
}
|
|
1381
1395
|
//#endregion
|
|
1382
1396
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/size-resolver/size-resolver.mjs
|
|
1383
1397
|
function Je(e) {
|
|
1384
|
-
return typeof e == "number" ?
|
|
1398
|
+
return typeof e == "number" ? p(e) : e;
|
|
1385
1399
|
}
|
|
1386
1400
|
//#endregion
|
|
1387
1401
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/spacing-resolver/spacing-resolver.mjs
|
|
1388
1402
|
function Ye(e, t) {
|
|
1389
|
-
if (typeof e == "number") return
|
|
1403
|
+
if (typeof e == "number") return p(e);
|
|
1390
1404
|
if (typeof e == "string") {
|
|
1391
1405
|
let n = e.replace("-", "");
|
|
1392
|
-
if (!(n in t.spacing)) return
|
|
1406
|
+
if (!(n in t.spacing)) return p(e);
|
|
1393
1407
|
let r = `--mantine-spacing-${n}`;
|
|
1394
1408
|
return e.startsWith("-") ? `calc(var(${r}) * -1)` : `var(${r})`;
|
|
1395
1409
|
}
|
|
@@ -1397,8 +1411,8 @@ function Ye(e, t) {
|
|
|
1397
1411
|
}
|
|
1398
1412
|
//#endregion
|
|
1399
1413
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/style-props/resolvers/index.mjs
|
|
1400
|
-
var
|
|
1401
|
-
color:
|
|
1414
|
+
var Q = {
|
|
1415
|
+
color: Z,
|
|
1402
1416
|
textColor: Re,
|
|
1403
1417
|
fontSize: Ue,
|
|
1404
1418
|
spacing: Ye,
|
|
@@ -1435,26 +1449,26 @@ function $e(e) {
|
|
|
1435
1449
|
return typeof e == "object" && e ? "base" in e ? e.base : void 0 : e;
|
|
1436
1450
|
}
|
|
1437
1451
|
function et(e) {
|
|
1438
|
-
return typeof e == "object" && e ?
|
|
1452
|
+
return typeof e == "object" && e ? s(e).filter((e) => e !== "base") : [];
|
|
1439
1453
|
}
|
|
1440
1454
|
function tt(e, t) {
|
|
1441
1455
|
return typeof e == "object" && e && t in e ? e[t] : e;
|
|
1442
1456
|
}
|
|
1443
1457
|
function nt({ styleProps: e, data: t, theme: n }) {
|
|
1444
|
-
return Ze(
|
|
1458
|
+
return Ze(s(e).reduce((r, i) => {
|
|
1445
1459
|
if (i === "hiddenFrom" || i === "visibleFrom" || i === "sx") return r;
|
|
1446
1460
|
let a = t[i], o = Array.isArray(a.property) ? a.property : [a.property], s = $e(e[i]);
|
|
1447
1461
|
if (!Qe(e[i])) return o.forEach((e) => {
|
|
1448
|
-
r.inlineStyles[e] =
|
|
1462
|
+
r.inlineStyles[e] = Q[a.type](s, n);
|
|
1449
1463
|
}), r;
|
|
1450
1464
|
r.hasResponsiveStyles = !0;
|
|
1451
1465
|
let c = et(e[i]);
|
|
1452
1466
|
return o.forEach((t) => {
|
|
1453
|
-
s != null && (r.styles[t] =
|
|
1467
|
+
s != null && (r.styles[t] = Q[a.type](s, n)), c.forEach((o) => {
|
|
1454
1468
|
let s = `(min-width: ${n.breakpoints[o]})`;
|
|
1455
1469
|
r.media[s] = {
|
|
1456
1470
|
...r.media[s],
|
|
1457
|
-
[t]:
|
|
1471
|
+
[t]: Q[a.type](tt(e[i], o), n)
|
|
1458
1472
|
};
|
|
1459
1473
|
});
|
|
1460
1474
|
}), r;
|
|
@@ -1467,23 +1481,23 @@ function nt({ styleProps: e, data: t, theme: n }) {
|
|
|
1467
1481
|
}
|
|
1468
1482
|
//#endregion
|
|
1469
1483
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/use-random-classname/use-random-classname.mjs
|
|
1470
|
-
function
|
|
1484
|
+
function rt() {
|
|
1471
1485
|
return `__m__-${n().replace(/[:«»]/g, "")}`;
|
|
1472
1486
|
}
|
|
1473
1487
|
//#endregion
|
|
1474
1488
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/factory/create-polymorphic-component.mjs
|
|
1475
|
-
function
|
|
1489
|
+
function it(e) {
|
|
1476
1490
|
return e;
|
|
1477
1491
|
}
|
|
1478
|
-
var
|
|
1492
|
+
var at = it;
|
|
1479
1493
|
//#endregion
|
|
1480
1494
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/factory/factory.mjs
|
|
1481
|
-
function
|
|
1495
|
+
function ot(e) {
|
|
1482
1496
|
return e;
|
|
1483
1497
|
}
|
|
1484
|
-
function
|
|
1498
|
+
function st(e) {
|
|
1485
1499
|
let t = e;
|
|
1486
|
-
return t.extend =
|
|
1500
|
+
return t.extend = ot, t.withProps = (e) => {
|
|
1487
1501
|
let n = (n) => /* @__PURE__ */ a(t, {
|
|
1488
1502
|
...e,
|
|
1489
1503
|
...n
|
|
@@ -1491,12 +1505,12 @@ function ot(e) {
|
|
|
1491
1505
|
return n.extend = t.extend, n.displayName = `WithProps(${t.displayName})`, n;
|
|
1492
1506
|
}, t;
|
|
1493
1507
|
}
|
|
1494
|
-
function
|
|
1495
|
-
return
|
|
1508
|
+
function ct(e) {
|
|
1509
|
+
return st(e);
|
|
1496
1510
|
}
|
|
1497
1511
|
//#endregion
|
|
1498
1512
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/factory/polymorphic-factory.mjs
|
|
1499
|
-
function
|
|
1513
|
+
function lt(e) {
|
|
1500
1514
|
let t = e;
|
|
1501
1515
|
return t.withProps = (e) => {
|
|
1502
1516
|
let n = (n) => /* @__PURE__ */ a(t, {
|
|
@@ -1504,24 +1518,24 @@ function ct(e) {
|
|
|
1504
1518
|
...n
|
|
1505
1519
|
});
|
|
1506
1520
|
return n.extend = t.extend, n.displayName = `WithProps(${t.displayName})`, n;
|
|
1507
|
-
}, t.extend =
|
|
1521
|
+
}, t.extend = ot, t;
|
|
1508
1522
|
}
|
|
1509
1523
|
//#endregion
|
|
1510
1524
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/get-box-mod/get-box-mod.mjs
|
|
1511
|
-
function
|
|
1525
|
+
function ut(e) {
|
|
1512
1526
|
return `data-${(e.startsWith("data-") ? e.slice(5) : e).replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase()}`;
|
|
1513
1527
|
}
|
|
1514
|
-
function
|
|
1528
|
+
function dt(e) {
|
|
1515
1529
|
return Object.keys(e).reduce((t, n) => {
|
|
1516
1530
|
let r = e[n];
|
|
1517
|
-
return r === void 0 || r === "" || r === !1 || r === null || (t[
|
|
1531
|
+
return r === void 0 || r === "" || r === !1 || r === null || (t[ut(n)] = e[n]), t;
|
|
1518
1532
|
}, {});
|
|
1519
1533
|
}
|
|
1520
|
-
function
|
|
1521
|
-
return e ? typeof e == "string" ? { [
|
|
1534
|
+
function ft(e) {
|
|
1535
|
+
return e ? typeof e == "string" ? { [ut(e)]: !0 } : Array.isArray(e) ? [...e].reduce((e, t) => ({
|
|
1522
1536
|
...e,
|
|
1523
|
-
...
|
|
1524
|
-
}), {}) :
|
|
1537
|
+
...ft(t)
|
|
1538
|
+
}), {}) : dt(e) : null;
|
|
1525
1539
|
}
|
|
1526
1540
|
//#endregion
|
|
1527
1541
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/get-box-style/get-box-style.mjs
|
|
@@ -1531,7 +1545,7 @@ function $(e, t) {
|
|
|
1531
1545
|
...$(n, t)
|
|
1532
1546
|
}), {}) : typeof e == "function" ? e(t) : e ?? {};
|
|
1533
1547
|
}
|
|
1534
|
-
function
|
|
1548
|
+
function pt({ theme: e, style: t, vars: n, styleProps: r }) {
|
|
1535
1549
|
let i = $(t, e), a = $(n, e);
|
|
1536
1550
|
return {
|
|
1537
1551
|
...i,
|
|
@@ -1541,39 +1555,39 @@ function ft({ theme: e, style: t, vars: n, styleProps: r }) {
|
|
|
1541
1555
|
}
|
|
1542
1556
|
//#endregion
|
|
1543
1557
|
//#region ../../node_modules/.bun/@mantine+core@9.0.0+9dd69a0af178a974/node_modules/@mantine/core/esm/core/Box/Box.mjs
|
|
1544
|
-
function
|
|
1545
|
-
let
|
|
1546
|
-
styleProps:
|
|
1547
|
-
theme:
|
|
1558
|
+
function mt({ component: e, style: t, __vars: n, className: r, variant: s, mod: c, size: l, hiddenFrom: u, visibleFrom: d, lightHidden: f, darkHidden: p, renderRoot: m, __size: h, ref: _, ...v }) {
|
|
1559
|
+
let y = J(), b = e || "div", { styleProps: x, rest: S } = Ie(v), C = de()?.()?.(x.sx), w = rt(), E = nt({
|
|
1560
|
+
styleProps: x,
|
|
1561
|
+
theme: y,
|
|
1548
1562
|
data: Le
|
|
1549
1563
|
}), D = {
|
|
1550
|
-
ref:
|
|
1551
|
-
style:
|
|
1552
|
-
theme:
|
|
1564
|
+
ref: _,
|
|
1565
|
+
style: pt({
|
|
1566
|
+
theme: y,
|
|
1553
1567
|
style: t,
|
|
1554
1568
|
vars: n,
|
|
1555
1569
|
styleProps: E.inlineStyles
|
|
1556
1570
|
}),
|
|
1557
|
-
className:
|
|
1558
|
-
[
|
|
1559
|
-
"mantine-light-hidden":
|
|
1560
|
-
"mantine-dark-hidden":
|
|
1561
|
-
[`mantine-hidden-from-${
|
|
1562
|
-
[`mantine-visible-from-${
|
|
1571
|
+
className: T(r, C, {
|
|
1572
|
+
[w]: E.hasResponsiveStyles,
|
|
1573
|
+
"mantine-light-hidden": f,
|
|
1574
|
+
"mantine-dark-hidden": p,
|
|
1575
|
+
[`mantine-hidden-from-${u}`]: u,
|
|
1576
|
+
[`mantine-visible-from-${d}`]: d
|
|
1563
1577
|
}),
|
|
1564
|
-
"data-variant":
|
|
1565
|
-
"data-size":
|
|
1566
|
-
size:
|
|
1567
|
-
...
|
|
1568
|
-
...
|
|
1578
|
+
"data-variant": s,
|
|
1579
|
+
"data-size": g(l) ? void 0 : l || void 0,
|
|
1580
|
+
size: h,
|
|
1581
|
+
...ft(c),
|
|
1582
|
+
...S
|
|
1569
1583
|
};
|
|
1570
1584
|
return /* @__PURE__ */ o(i, { children: [E.hasResponsiveStyles && /* @__PURE__ */ a(Fe, {
|
|
1571
|
-
selector: `.${
|
|
1585
|
+
selector: `.${w}`,
|
|
1572
1586
|
styles: E.styles,
|
|
1573
1587
|
media: E.media
|
|
1574
|
-
}), typeof
|
|
1588
|
+
}), typeof m == "function" ? m(D) : /* @__PURE__ */ a(b, { ...D })] });
|
|
1575
1589
|
}
|
|
1576
|
-
|
|
1577
|
-
var
|
|
1590
|
+
mt.displayName = "@mantine/core/Box";
|
|
1591
|
+
var ht = at(mt);
|
|
1578
1592
|
//#endregion
|
|
1579
|
-
export {
|
|
1593
|
+
export { x as A, N as C, T as D, O as E, h as F, m as I, p as L, S as M, _ as N, C as O, v as P, l as R, F as S, k as T, ae as _, rt as a, L as b, Ne as c, J as d, W as f, H as g, pe as h, ct as i, y as j, b as k, be as l, se as m, lt as n, Ie as o, B as p, st as r, Fe as s, ht as t, ye as u, z as v, A as w, I as x, R as y, s as z };
|