{"version":3,"file":"use-resolved-styles-api-BeES6PiF.js","sources":["../../../node_modules/@mantine/core/esm/core/styles-api/use-resolved-styles-api/use-resolved-styles-api.mjs"],"sourcesContent":["'use client';\nimport 'react';\nimport 'react/jsx-runtime';\nimport '@mantine/hooks';\nimport '../../MantineProvider/Mantine.context.mjs';\nimport '../../MantineProvider/default-theme.mjs';\nimport '../../MantineProvider/MantineProvider.mjs';\nimport { useMantineTheme } from '../../MantineProvider/MantineThemeProvider/MantineThemeProvider.mjs';\nimport '../../MantineProvider/MantineCssVariables/MantineCssVariables.mjs';\nimport { resolveClassNames } from '../use-styles/get-class-name/resolve-class-names/resolve-class-names.mjs';\nimport { resolveStyles } from '../use-styles/get-style/resolve-styles/resolve-styles.mjs';\n\nfunction useResolvedStylesApi({\n classNames,\n styles,\n props,\n stylesCtx\n}) {\n const theme = useMantineTheme();\n return {\n resolvedClassNames: resolveClassNames({\n theme,\n classNames,\n props,\n stylesCtx: stylesCtx || void 0\n }),\n resolvedStyles: resolveStyles({\n theme,\n styles,\n props,\n stylesCtx: stylesCtx || void 0\n })\n };\n}\n\nexport { useResolvedStylesApi };\n//# sourceMappingURL=use-resolved-styles-api.mjs.map\n"],"names":["useResolvedStylesApi","classNames","styles","props","stylesCtx","theme","useMantineTheme","resolveClassNames","resolveStyles"],"mappings":"uDAYA,SAASA,EAAqB,CAC5B,WAAAC,EACA,OAAAC,EACA,MAAAC,EACA,UAAAC,CACF,EAAG,CACD,MAAMC,EAAQC,EAAiB,EAC/B,MAAO,CACL,mBAAoBC,EAAkB,CACpC,MAAAF,EACA,WAAAJ,EACA,MAAAE,EACA,UAAWC,GAAa,MAC9B,CAAK,EACD,eAAgBI,EAAc,CAC5B,MAAAH,EACA,OAAAH,EACA,MAAAC,EACA,UAAWC,GAAa,MACzB,CAAA,CACF,CACH","x_google_ignoreList":[0]}