Files
2024-03-19 17:06:47 +01:00

16 lines
2.1 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"version":3,"sources":["../../@mui/material/styles/useTheme.js","../../@mui/material/styles/getOverlayAlpha.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useTheme as useThemeSystem } from '@mui/system';\nimport defaultTheme from './defaultTheme';\nimport THEME_ID from './identifier';\nexport default function useTheme() {\n const theme = useThemeSystem(defaultTheme);\n if (process.env.NODE_ENV !== 'production') {\n // eslint-disable-next-line react-hooks/rules-of-hooks\n React.useDebugValue(theme);\n }\n return theme[THEME_ID] || theme;\n}","// Inspired by https://github.com/material-components/material-components-ios/blob/bca36107405594d5b7b16265a5b0ed698f85a5ee/components/Elevation/src/UIColor%2BMaterialElevation.m#L61\nconst getOverlayAlpha = elevation => {\n let alphaValue;\n if (elevation < 1) {\n alphaValue = 5.11916 * elevation ** 2;\n } else {\n alphaValue = 4.5 * Math.log(elevation + 1) + 2;\n }\n return (alphaValue / 100).toFixed(2);\n};\nexport default getOverlayAlpha;"],"mappings":";;;;;;;;;;;;;;;AAEA,YAAuB;AAEvB;AACA;AACe,SAAR,WAA4B;AACjC,QAAM,QAAQ,iBAAe,oBAAY;AACzC,MAAI,MAAuC;AAEzC,IAAM,oBAAc,KAAK;AAAA,EAC3B;AACA,SAAO,MAAM,kBAAQ,KAAK;AAC5B;;;ACZA,IAAM,kBAAkB,eAAa;AACnC,MAAI;AACJ,MAAI,YAAY,GAAG;AACjB,iBAAa,UAAU,aAAa;AAAA,EACtC,OAAO;AACL,iBAAa,MAAM,KAAK,IAAI,YAAY,CAAC,IAAI;AAAA,EAC/C;AACA,UAAQ,aAAa,KAAK,QAAQ,CAAC;AACrC;AACA,IAAO,0BAAQ;","names":[],"x_google_ignoreList":[0,1]}DêŸÎteôpõeôpõF«rD:http://localhost:5173/node_modules/.vite/deps/chunk-THS5IPV6.js.mapstrongly-framed1request-methodGETresponse-headHTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Content-Type: application/json
Cache-Control: no-cache
Etag: W/"5bc-w2JbmWHe2aHyP8/9vub2xtquSCE"
Date: Fri, 15 Mar 2024 16:01:57 GMT
Content-Length: 1468
original-response-headersAccess-Control-Allow-Origin: *
Content-Type: application/json
Cache-Control: no-cache
Etag: W/"5bc-w2JbmWHe2aHyP8/9vub2xtquSCE"
Date: Fri, 15 Mar 2024 16:01:57 GMT
Connection: keep-alive
Keep-Alive: timeout=5
Content-Length: 1468
ctid1net-response-time-onstart285net-response-time-onstop286¼