@citizenplatform/core 1.0.2 → 1.0.4

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.
Files changed (286) hide show
  1. package/dist/index.js +5 -0
  2. package/dist/index10.js +273 -0
  3. package/dist/index10.js.map +1 -0
  4. package/dist/index100.js +31 -0
  5. package/dist/index100.js.map +1 -0
  6. package/dist/index101.js +165 -0
  7. package/dist/index101.js.map +1 -0
  8. package/dist/index102.js +48 -0
  9. package/dist/index102.js.map +1 -0
  10. package/dist/index103.js +8 -0
  11. package/dist/index103.js.map +1 -0
  12. package/dist/index104.js +6 -0
  13. package/dist/index104.js.map +1 -0
  14. package/dist/index105.js +14 -0
  15. package/dist/index105.js.map +1 -0
  16. package/dist/index106.js +8 -0
  17. package/dist/index106.js.map +1 -0
  18. package/dist/index107.js +7 -0
  19. package/dist/index107.js.map +1 -0
  20. package/dist/index108.js +16 -0
  21. package/dist/index108.js.map +1 -0
  22. package/dist/index109.js +7 -0
  23. package/dist/index109.js.map +1 -0
  24. package/dist/index11.js +49 -0
  25. package/dist/index11.js.map +1 -0
  26. package/dist/index110.js +22 -0
  27. package/dist/index110.js.map +1 -0
  28. package/dist/index111.js +22 -0
  29. package/dist/index111.js.map +1 -0
  30. package/dist/index112.js +9 -0
  31. package/dist/index112.js.map +1 -0
  32. package/dist/index113.js +20 -0
  33. package/dist/index113.js.map +1 -0
  34. package/dist/index114.js +149 -0
  35. package/dist/index114.js.map +1 -0
  36. package/dist/index115.js +20 -0
  37. package/dist/index115.js.map +1 -0
  38. package/dist/index116.js +9 -0
  39. package/dist/index116.js.map +1 -0
  40. package/dist/index117.js +9 -0
  41. package/dist/index117.js.map +1 -0
  42. package/dist/index118.js +11 -0
  43. package/dist/index118.js.map +1 -0
  44. package/dist/index119.js +56 -0
  45. package/dist/index119.js.map +1 -0
  46. package/dist/index12.js +16 -0
  47. package/dist/index12.js.map +1 -0
  48. package/dist/index120.js +63 -0
  49. package/dist/index120.js.map +1 -0
  50. package/dist/index121.js +24 -0
  51. package/dist/index121.js.map +1 -0
  52. package/dist/index122.js +9 -0
  53. package/dist/index122.js.map +1 -0
  54. package/dist/index123.js +11 -0
  55. package/dist/index123.js.map +1 -0
  56. package/dist/index124.js +10 -0
  57. package/dist/index124.js.map +1 -0
  58. package/dist/index125.js +254 -0
  59. package/dist/index125.js.map +1 -0
  60. package/dist/index126.js +20 -0
  61. package/dist/index126.js.map +1 -0
  62. package/dist/index127.js +25 -0
  63. package/dist/index127.js.map +1 -0
  64. package/dist/index128.js +250 -0
  65. package/dist/index128.js.map +1 -0
  66. package/dist/index129.js +20 -0
  67. package/dist/index129.js.map +1 -0
  68. package/dist/index13.js +20 -0
  69. package/dist/index13.js.map +1 -0
  70. package/dist/index130.js +13 -0
  71. package/dist/index130.js.map +1 -0
  72. package/dist/index131.js +15 -0
  73. package/dist/index131.js.map +1 -0
  74. package/dist/index132.js +117 -0
  75. package/dist/index132.js.map +1 -0
  76. package/dist/index133.js +13 -0
  77. package/dist/index133.js.map +1 -0
  78. package/dist/index134.js +22 -0
  79. package/dist/index134.js.map +1 -0
  80. package/dist/index135.js +26 -0
  81. package/dist/index135.js.map +1 -0
  82. package/dist/index136.js +20 -0
  83. package/dist/index136.js.map +1 -0
  84. package/dist/index137.js +22 -0
  85. package/dist/index137.js.map +1 -0
  86. package/dist/index138.js +12 -0
  87. package/dist/index138.js.map +1 -0
  88. package/dist/index139.js +26 -0
  89. package/dist/index139.js.map +1 -0
  90. package/dist/index14.js +17 -0
  91. package/dist/index14.js.map +1 -0
  92. package/dist/index140.js +56 -0
  93. package/dist/index140.js.map +1 -0
  94. package/dist/index141.js +12 -0
  95. package/dist/index141.js.map +1 -0
  96. package/dist/index142.js +212 -0
  97. package/dist/index142.js.map +1 -0
  98. package/dist/index143.js +4 -0
  99. package/dist/index144.js +5 -0
  100. package/dist/index145.js +5 -0
  101. package/dist/index15.js +9 -0
  102. package/dist/index15.js.map +1 -0
  103. package/dist/index16.js +10 -0
  104. package/dist/index16.js.map +1 -0
  105. package/dist/index17.js +7 -0
  106. package/dist/index17.js.map +1 -0
  107. package/dist/index18.js +40 -0
  108. package/dist/index18.js.map +1 -0
  109. package/dist/index19.js +13 -0
  110. package/dist/index19.js.map +1 -0
  111. package/dist/index2.js +13 -0
  112. package/dist/index20.js +10 -0
  113. package/dist/index20.js.map +1 -0
  114. package/dist/index21.js +61 -0
  115. package/dist/index21.js.map +1 -0
  116. package/dist/index22.js +63 -0
  117. package/dist/index22.js.map +1 -0
  118. package/dist/index23.js +12 -0
  119. package/dist/index23.js.map +1 -0
  120. package/dist/index24.js +26 -0
  121. package/dist/index24.js.map +1 -0
  122. package/dist/index25.js +48 -0
  123. package/dist/index25.js.map +1 -0
  124. package/dist/index26.js +55 -0
  125. package/dist/index26.js.map +1 -0
  126. package/dist/index27.js +71 -0
  127. package/dist/index27.js.map +1 -0
  128. package/dist/index28.js +44 -0
  129. package/dist/index28.js.map +1 -0
  130. package/dist/index29.js +117 -0
  131. package/dist/index29.js.map +1 -0
  132. package/dist/index3.js +64 -0
  133. package/dist/index3.js.map +1 -0
  134. package/dist/index30.js +16 -0
  135. package/dist/index30.js.map +1 -0
  136. package/dist/index31.js +28 -0
  137. package/dist/index31.js.map +1 -0
  138. package/dist/index32.js +36 -0
  139. package/dist/index32.js.map +1 -0
  140. package/dist/index33.js +25 -0
  141. package/dist/index33.js.map +1 -0
  142. package/dist/index34.js +44 -0
  143. package/dist/index34.js.map +1 -0
  144. package/dist/index35.js +160 -0
  145. package/dist/index35.js.map +1 -0
  146. package/dist/index36.js +77 -0
  147. package/dist/index36.js.map +1 -0
  148. package/dist/index37.js +14 -0
  149. package/dist/index37.js.map +1 -0
  150. package/dist/index38.js +41 -0
  151. package/dist/index38.js.map +1 -0
  152. package/dist/index39.js +6 -0
  153. package/dist/index39.js.map +1 -0
  154. package/dist/index4.js +84 -0
  155. package/dist/index4.js.map +1 -0
  156. package/dist/index40.js +39 -0
  157. package/dist/index40.js.map +1 -0
  158. package/dist/index41.js +110 -0
  159. package/dist/index41.js.map +1 -0
  160. package/dist/index42.js +97 -0
  161. package/dist/index42.js.map +1 -0
  162. package/dist/index43.js +22 -0
  163. package/dist/index43.js.map +1 -0
  164. package/dist/index44.js +18 -0
  165. package/dist/index44.js.map +1 -0
  166. package/dist/index45.js +11 -0
  167. package/dist/index45.js.map +1 -0
  168. package/dist/index46.js +192 -0
  169. package/dist/index46.js.map +1 -0
  170. package/dist/index47.js +24 -0
  171. package/dist/index47.js.map +1 -0
  172. package/dist/index48.js +14 -0
  173. package/dist/index48.js.map +1 -0
  174. package/dist/index49.js +54 -0
  175. package/dist/index49.js.map +1 -0
  176. package/dist/index5.js +12 -0
  177. package/dist/index5.js.map +1 -0
  178. package/dist/index50.js +99 -0
  179. package/dist/index50.js.map +1 -0
  180. package/dist/index51.js +10 -0
  181. package/dist/index51.js.map +1 -0
  182. package/dist/index52.js +18 -0
  183. package/dist/index52.js.map +1 -0
  184. package/dist/index53.js +9 -0
  185. package/dist/index53.js.map +1 -0
  186. package/dist/index54.js +67 -0
  187. package/dist/index54.js.map +1 -0
  188. package/dist/index55.js +13 -0
  189. package/dist/index55.js.map +1 -0
  190. package/dist/index56.js +24 -0
  191. package/dist/index56.js.map +1 -0
  192. package/dist/index57.js +6 -0
  193. package/dist/index57.js.map +1 -0
  194. package/dist/index58.js +14 -0
  195. package/dist/index58.js.map +1 -0
  196. package/dist/index59.js +14 -0
  197. package/dist/index59.js.map +1 -0
  198. package/dist/index6.js +41 -0
  199. package/dist/index6.js.map +1 -0
  200. package/dist/index60.js +38 -0
  201. package/dist/index60.js.map +1 -0
  202. package/dist/index61.js +15 -0
  203. package/dist/index61.js.map +1 -0
  204. package/dist/index62.js +12 -0
  205. package/dist/index62.js.map +1 -0
  206. package/dist/index63.js +19 -0
  207. package/dist/index63.js.map +1 -0
  208. package/dist/index64.js +24 -0
  209. package/dist/index64.js.map +1 -0
  210. package/dist/index65.js +12 -0
  211. package/dist/index65.js.map +1 -0
  212. package/dist/index66.js +25 -0
  213. package/dist/index66.js.map +1 -0
  214. package/dist/index67.js +16 -0
  215. package/dist/index67.js.map +1 -0
  216. package/dist/index68.js +130 -0
  217. package/dist/index68.js.map +1 -0
  218. package/dist/index69.js +32 -0
  219. package/dist/index69.js.map +1 -0
  220. package/dist/index7.js +10 -0
  221. package/dist/index7.js.map +1 -0
  222. package/dist/index70.js +8 -0
  223. package/dist/index70.js.map +1 -0
  224. package/dist/index71.js +122 -0
  225. package/dist/index71.js.map +1 -0
  226. package/dist/index72.js +35 -0
  227. package/dist/index72.js.map +1 -0
  228. package/dist/index73.js +14 -0
  229. package/dist/index73.js.map +1 -0
  230. package/dist/index74.js +13 -0
  231. package/dist/index74.js.map +1 -0
  232. package/dist/index75.js +42 -0
  233. package/dist/index75.js.map +1 -0
  234. package/dist/index76.js +66 -0
  235. package/dist/index76.js.map +1 -0
  236. package/dist/index77.js +10 -0
  237. package/dist/index77.js.map +1 -0
  238. package/dist/index78.js +9 -0
  239. package/dist/index78.js.map +1 -0
  240. package/dist/index79.js +21 -0
  241. package/dist/index79.js.map +1 -0
  242. package/dist/index8.js +10 -0
  243. package/dist/index8.js.map +1 -0
  244. package/dist/index80.js +21 -0
  245. package/dist/index80.js.map +1 -0
  246. package/dist/index81.js +21 -0
  247. package/dist/index81.js.map +1 -0
  248. package/dist/index82.js +21 -0
  249. package/dist/index82.js.map +1 -0
  250. package/dist/index83.js +21 -0
  251. package/dist/index83.js.map +1 -0
  252. package/dist/index84.js +21 -0
  253. package/dist/index84.js.map +1 -0
  254. package/dist/index85.js +21 -0
  255. package/dist/index85.js.map +1 -0
  256. package/dist/index86.js +219 -0
  257. package/dist/index86.js.map +1 -0
  258. package/dist/index87.js +12 -0
  259. package/dist/index87.js.map +1 -0
  260. package/dist/index88.js +15 -0
  261. package/dist/index88.js.map +1 -0
  262. package/dist/index89.js +55 -0
  263. package/dist/index89.js.map +1 -0
  264. package/dist/index9.js +46 -0
  265. package/dist/index9.js.map +1 -0
  266. package/dist/index90.js +38 -0
  267. package/dist/index90.js.map +1 -0
  268. package/dist/index91.js +52 -0
  269. package/dist/index91.js.map +1 -0
  270. package/dist/index92.js +12 -0
  271. package/dist/index92.js.map +1 -0
  272. package/dist/index93.js +15 -0
  273. package/dist/index93.js.map +1 -0
  274. package/dist/index94.js +28 -0
  275. package/dist/index94.js.map +1 -0
  276. package/dist/index95.js +111 -0
  277. package/dist/index95.js.map +1 -0
  278. package/dist/index96.js +9 -0
  279. package/dist/index96.js.map +1 -0
  280. package/dist/index97.js +38 -0
  281. package/dist/index97.js.map +1 -0
  282. package/dist/index98.js +8 -0
  283. package/dist/index98.js.map +1 -0
  284. package/dist/index99.js +10 -0
  285. package/dist/index99.js.map +1 -0
  286. package/package.json +1 -1
@@ -0,0 +1,52 @@
1
+ //#region node_modules/@mui/material/styles/createTransitions.mjs
2
+ var e = ["all"], t = {}, n = {
3
+ easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
4
+ easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
5
+ easeIn: "cubic-bezier(0.4, 0, 1, 1)",
6
+ sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
7
+ }, r = {
8
+ shortest: 150,
9
+ shorter: 200,
10
+ short: 250,
11
+ standard: 300,
12
+ complex: 375,
13
+ enteringScreen: 225,
14
+ leavingScreen: 195
15
+ };
16
+ function i(e) {
17
+ return `${Math.round(e)}ms`;
18
+ }
19
+ function a(e) {
20
+ if (!e) return 0;
21
+ let t = e / 36;
22
+ return Math.min(Math.round((4 + 15 * t ** .25 + t / 5) * 10), 3e3);
23
+ }
24
+ function o(o) {
25
+ let s = { ...o };
26
+ delete s.reducedMotion;
27
+ let c = {
28
+ ...n,
29
+ ...s.easing
30
+ }, l = {
31
+ ...r,
32
+ ...s.duration
33
+ };
34
+ return {
35
+ getAutoHeightDuration: a,
36
+ create: s.create ?? ((n = e, r = t) => {
37
+ let { duration: a = l.standard, easing: o = c.easeInOut, delay: s = 0, ...u } = r;
38
+ if (process.env.NODE_ENV !== "production") {
39
+ let e = (e) => typeof e == "string", t = (e) => !Number.isNaN(parseFloat(e));
40
+ !e(n) && !Array.isArray(n) && console.error("MUI: Argument \"props\" must be a string or Array."), !t(a) && !e(a) && console.error(`MUI: Argument "duration" must be a number or a string but found ${a}.`), e(o) || console.error("MUI: Argument \"easing\" must be a string."), !t(s) && !e(s) && console.error("MUI: Argument \"delay\" must be a number or a string."), typeof r != "object" && console.error(["MUI: Secong argument of transition.create must be an object.", "Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`"].join("\n")), Object.keys(u).length !== 0 && console.error(`MUI: Unrecognized argument(s) [${Object.keys(u).join(",")}].`);
41
+ }
42
+ return (Array.isArray(n) ? n : [n]).map((e) => `${e} ${typeof a == "string" ? a : i(a)} ${o} ${typeof s == "string" ? s : i(s)}`).join(",");
43
+ }),
44
+ ...s,
45
+ easing: c,
46
+ duration: l
47
+ };
48
+ }
49
+ //#endregion
50
+ export { o as default, r as duration, n as easing };
51
+
52
+ //# sourceMappingURL=index91.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index91.js","names":[],"sources":["../node_modules/@mui/material/styles/createTransitions.mjs"],"sourcesContent":["const DEFAULT_TRANSITION_PROPS = ['all'];\nconst EMPTY_OPTIONS = {};\n\n// Follow https://material.google.com/motion/duration-easing.html#duration-easing-natural-easing-curves\n// to learn the context in which each easing should be used.\nexport const easing = {\n // This is the most common easing curve.\n easeInOut: 'cubic-bezier(0.4, 0, 0.2, 1)',\n // Objects enter the screen at full velocity from off-screen and\n // slowly decelerate to a resting point.\n easeOut: 'cubic-bezier(0.0, 0, 0.2, 1)',\n // Objects leave the screen at full velocity. They do not decelerate when off-screen.\n easeIn: 'cubic-bezier(0.4, 0, 1, 1)',\n // The sharp curve is used by objects that may return to the screen at any time.\n sharp: 'cubic-bezier(0.4, 0, 0.6, 1)'\n};\n\n// Follow https://m2.material.io/guidelines/motion/duration-easing.html#duration-easing-common-durations\n// to learn when use what timing\nexport const duration = {\n shortest: 150,\n shorter: 200,\n short: 250,\n // most basic recommended timing\n standard: 300,\n // this is to be used in complex animations\n complex: 375,\n // recommended when something is entering screen\n enteringScreen: 225,\n // recommended when something is leaving screen\n leavingScreen: 195\n};\nfunction formatMs(milliseconds) {\n return `${Math.round(milliseconds)}ms`;\n}\nfunction getAutoHeightDuration(height) {\n if (!height) {\n return 0;\n }\n const constant = height / 36;\n\n // https://www.desmos.com/calculator/vbrp3ggqet\n return Math.min(Math.round((4 + 15 * constant ** 0.25 + constant / 5) * 10), 3000);\n}\nexport default function createTransitions(inputTransitions) {\n const transitions = {\n ...inputTransitions\n };\n delete transitions.reducedMotion;\n const mergedEasing = {\n ...easing,\n ...transitions.easing\n };\n const mergedDuration = {\n ...duration,\n ...transitions.duration\n };\n const createTransitionValue = (props = DEFAULT_TRANSITION_PROPS, options = EMPTY_OPTIONS) => {\n const {\n duration: durationOption = mergedDuration.standard,\n easing: easingOption = mergedEasing.easeInOut,\n delay = 0,\n ...other\n } = options;\n if (process.env.NODE_ENV !== 'production') {\n const isString = value => typeof value === 'string';\n const isNumber = value => !Number.isNaN(parseFloat(value));\n if (!isString(props) && !Array.isArray(props)) {\n console.error('MUI: Argument \"props\" must be a string or Array.');\n }\n if (!isNumber(durationOption) && !isString(durationOption)) {\n console.error(`MUI: Argument \"duration\" must be a number or a string but found ${durationOption}.`);\n }\n if (!isString(easingOption)) {\n console.error('MUI: Argument \"easing\" must be a string.');\n }\n if (!isNumber(delay) && !isString(delay)) {\n console.error('MUI: Argument \"delay\" must be a number or a string.');\n }\n if (typeof options !== 'object') {\n console.error(['MUI: Secong argument of transition.create must be an object.', \"Arguments should be either `create('prop1', options)` or `create(['prop1', 'prop2'], options)`\"].join('\\n'));\n }\n if (Object.keys(other).length !== 0) {\n console.error(`MUI: Unrecognized argument(s) [${Object.keys(other).join(',')}].`);\n }\n }\n return (Array.isArray(props) ? props : [props]).map(animatedProp => `${animatedProp} ${typeof durationOption === 'string' ? durationOption : formatMs(durationOption)} ${easingOption} ${typeof delay === 'string' ? delay : formatMs(delay)}`).join(',');\n };\n const create = transitions.create ?? createTransitionValue;\n return {\n getAutoHeightDuration,\n create,\n ...transitions,\n easing: mergedEasing,\n duration: mergedDuration\n };\n}"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,IAA2B,CAAC,KAAK,GACjC,IAAgB,CAAC,GAIV,IAAS;CAEpB,WAAW;CAGX,SAAS;CAET,QAAQ;CAER,OAAO;AACT,GAIa,IAAW;CACtB,UAAU;CACV,SAAS;CACT,OAAO;CAEP,UAAU;CAEV,SAAS;CAET,gBAAgB;CAEhB,eAAe;AACjB;AACA,SAAS,EAAS,GAAc;CAC9B,OAAO,GAAG,KAAK,MAAM,CAAY,EAAE;AACrC;AACA,SAAS,EAAsB,GAAQ;CACrC,IAAI,CAAC,GACH,OAAO;CAET,IAAM,IAAW,IAAS;CAG1B,OAAO,KAAK,IAAI,KAAK,OAAO,IAAI,KAAK,KAAY,MAAO,IAAW,KAAK,EAAE,GAAG,GAAI;AACnF;AACA,SAAwB,EAAkB,GAAkB;CAC1D,IAAM,IAAc,EAClB,GAAG,EACL;CACA,OAAO,EAAY;CACnB,IAAM,IAAe;EACnB,GAAG;EACH,GAAG,EAAY;CACjB,GACM,IAAiB;EACrB,GAAG;EACH,GAAG,EAAY;CACjB;CAiCA,OAAO;EACL;EACA,QAHa,EAAY,YA/BI,IAAQ,GAA0B,IAAU,MAAkB;GAC3F,IAAM,EACJ,UAAU,IAAiB,EAAe,UAC1C,QAAQ,IAAe,EAAa,WACpC,WAAQ,GACR,GAAG,MACD;GACJ,IAAA,QAAA,IAAA,aAA6B,cAAc;IACzC,IAAM,KAAW,MAAS,OAAO,KAAU,UACrC,KAAW,MAAS,CAAC,OAAO,MAAM,WAAW,CAAK,CAAC;IAgBzD,AAfI,CAAC,EAAS,CAAK,KAAK,CAAC,MAAM,QAAQ,CAAK,KAC1C,QAAQ,MAAM,oDAAkD,GAE9D,CAAC,EAAS,CAAc,KAAK,CAAC,EAAS,CAAc,KACvD,QAAQ,MAAM,mEAAmE,EAAe,EAAE,GAE/F,EAAS,CAAY,KACxB,QAAQ,MAAM,4CAA0C,GAEtD,CAAC,EAAS,CAAK,KAAK,CAAC,EAAS,CAAK,KACrC,QAAQ,MAAM,uDAAqD,GAEjE,OAAO,KAAY,YACrB,QAAQ,MAAM,CAAC,gEAAgE,gGAAgG,CAAC,CAAC,KAAK,IAAI,CAAC,GAEzL,OAAO,KAAK,CAAK,CAAC,CAAC,WAAW,KAChC,QAAQ,MAAM,kCAAkC,OAAO,KAAK,CAAK,CAAC,CAAC,KAAK,GAAG,EAAE,GAAG;GAEpF;GACA,QAAQ,MAAM,QAAQ,CAAK,IAAI,IAAQ,CAAC,CAAK,EAAA,CAAG,KAAI,MAAgB,GAAG,EAAa,GAAG,OAAO,KAAmB,WAAW,IAAiB,EAAS,CAAc,EAAE,GAAG,EAAa,GAAG,OAAO,KAAU,WAAW,IAAQ,EAAS,CAAK,GAAG,CAAC,CAAC,KAAK,GAAG;EAC1P;EAKE,GAAG;EACH,QAAQ;EACR,UAAU;CACZ;AACF"}
@@ -0,0 +1,12 @@
1
+ //#region node_modules/@mui/material/styles/createMotion.mjs
2
+ var e = {};
3
+ function t(t = e) {
4
+ return {
5
+ reducedMotion: "never",
6
+ ...t
7
+ };
8
+ }
9
+ //#endregion
10
+ export { t as default };
11
+
12
+ //# sourceMappingURL=index92.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index92.js","names":[],"sources":["../node_modules/@mui/material/styles/createMotion.mjs"],"sourcesContent":["const EMPTY_MOTION = {};\nexport default function createMotion(inputMotion = EMPTY_MOTION) {\n return {\n reducedMotion: 'never',\n ...inputMotion\n };\n}"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,IAAe,CAAC;AACtB,SAAwB,EAAa,IAAc,GAAc;CAC/D,OAAO;EACL,eAAe;EACf,GAAG;CACL;AACF"}
@@ -0,0 +1,15 @@
1
+ //#region node_modules/@mui/material/styles/zIndex.mjs
2
+ var e = {
3
+ mobileStepper: 1e3,
4
+ fab: 1050,
5
+ speedDial: 1050,
6
+ appBar: 1100,
7
+ drawer: 1200,
8
+ modal: 1300,
9
+ snackbar: 1400,
10
+ tooltip: 1500
11
+ };
12
+ //#endregion
13
+ export { e as default };
14
+
15
+ //# sourceMappingURL=index93.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index93.js","names":[],"sources":["../node_modules/@mui/material/styles/zIndex.mjs"],"sourcesContent":["// We need to centralize the zIndex definitions as they work\n// like global values in the browser.\nconst zIndex = {\n mobileStepper: 1000,\n fab: 1050,\n speedDial: 1050,\n appBar: 1100,\n drawer: 1200,\n modal: 1300,\n snackbar: 1400,\n tooltip: 1500\n};\nexport default zIndex;"],"x_google_ignoreList":[0],"mappings":";AAEA,IAAM,IAAS;CACb,eAAe;CACf,KAAK;CACL,WAAW;CACX,QAAQ;CACR,QAAQ;CACR,OAAO;CACP,UAAU;CACV,SAAS;AACX"}
@@ -0,0 +1,28 @@
1
+ import { isPlainObject as e } from "./index24.js";
2
+ //#region node_modules/@mui/material/styles/stringifyTheme.mjs
3
+ function t(t) {
4
+ return e(t) || t === void 0 || typeof t == "string" || typeof t == "boolean" || typeof t == "number" || Array.isArray(t);
5
+ }
6
+ function n(n = {}) {
7
+ let r = { ...n };
8
+ function i(n) {
9
+ let r = Object.entries(n);
10
+ for (let a = 0; a < r.length; a++) {
11
+ let [o, s] = r[a];
12
+ !t(s) || o.startsWith("unstable_") || o.startsWith("internal_") ? delete n[o] : e(s) && (n[o] = { ...s }, i(n[o]));
13
+ }
14
+ }
15
+ return i(r), `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';
16
+
17
+ const theme = ${JSON.stringify(r, null, 2)};
18
+
19
+ theme.breakpoints = createBreakpoints(theme.breakpoints || {});
20
+ theme.motion = { reducedMotion: 'never', ...theme.motion };
21
+ theme.transitions = createTransitions(theme.transitions || {});
22
+
23
+ export default theme;`;
24
+ }
25
+ //#endregion
26
+ export { n as stringifyTheme };
27
+
28
+ //# sourceMappingURL=index94.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index94.js","names":[],"sources":["../node_modules/@mui/material/styles/stringifyTheme.mjs"],"sourcesContent":["/* eslint-disable import/prefer-default-export */\nimport { isPlainObject } from '@mui/utils/deepmerge';\nfunction isSerializable(val) {\n return isPlainObject(val) || typeof val === 'undefined' || typeof val === 'string' || typeof val === 'boolean' || typeof val === 'number' || Array.isArray(val);\n}\n\n/**\n * `baseTheme` usually comes from `createTheme()` or `extendTheme()`.\n *\n * This function is intended to be used with zero-runtime CSS-in-JS like Pigment CSS\n * For example, in a Next.js project:\n *\n * ```js\n * // next.config.js\n * const { extendTheme } = require('@mui/material/styles');\n *\n * const theme = extendTheme();\n * // `.toRuntimeSource` is Pigment CSS specific to create a theme that is available at runtime.\n * theme.toRuntimeSource = stringifyTheme;\n *\n * module.exports = withPigment({\n * theme,\n * });\n * ```\n */\nexport function stringifyTheme(baseTheme = {}) {\n const serializableTheme = {\n ...baseTheme\n };\n function serializeTheme(object) {\n const array = Object.entries(object);\n // eslint-disable-next-line no-plusplus\n for (let index = 0; index < array.length; index++) {\n const [key, value] = array[index];\n if (!isSerializable(value) || key.startsWith('unstable_') || key.startsWith('internal_')) {\n delete object[key];\n } else if (isPlainObject(value)) {\n object[key] = {\n ...value\n };\n serializeTheme(object[key]);\n }\n }\n }\n serializeTheme(serializableTheme);\n return `import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';\n\nconst theme = ${JSON.stringify(serializableTheme, null, 2)};\n\ntheme.breakpoints = createBreakpoints(theme.breakpoints || {});\ntheme.motion = { reducedMotion: 'never', ...theme.motion };\ntheme.transitions = createTransitions(theme.transitions || {});\n\nexport default theme;`;\n}"],"x_google_ignoreList":[0],"mappings":";;AAEA,SAAS,EAAe,GAAK;CAC3B,OAAO,EAAc,CAAG,KAAY,MAAQ,UAAe,OAAO,KAAQ,YAAY,OAAO,KAAQ,aAAa,OAAO,KAAQ,YAAY,MAAM,QAAQ,CAAG;AAChK;AAqBA,SAAgB,EAAe,IAAY,CAAC,GAAG;CAC7C,IAAM,IAAoB,EACxB,GAAG,EACL;CACA,SAAS,EAAe,GAAQ;EAC9B,IAAM,IAAQ,OAAO,QAAQ,CAAM;EAEnC,KAAK,IAAI,IAAQ,GAAG,IAAQ,EAAM,QAAQ,KAAS;GACjD,IAAM,CAAC,GAAK,KAAS,EAAM;GAC3B,AAAI,CAAC,EAAe,CAAK,KAAK,EAAI,WAAW,WAAW,KAAK,EAAI,WAAW,WAAW,IACrF,OAAO,EAAO,KACL,EAAc,CAAK,MAC5B,EAAO,KAAO,EACZ,GAAG,EACL,GACA,EAAe,EAAO,EAAI;EAE9B;CACF;CAEA,OADA,EAAe,CAAiB,GACzB;;gBAEO,KAAK,UAAU,GAAmB,MAAM,CAAC,EAAE;;;;;;;AAO3D"}
@@ -0,0 +1,111 @@
1
+ import e from "./index15.js";
2
+ import t from "./index24.js";
3
+ import n from "./index35.js";
4
+ import r from "./index36.js";
5
+ import i from "./index60.js";
6
+ import a from "./index64.js";
7
+ import { alpha as o, darken as s, lighten as c } from "./index71.js";
8
+ import l from "./index86.js";
9
+ import u from "./index88.js";
10
+ import d from "./index89.js";
11
+ import f from "./index90.js";
12
+ import p from "./index91.js";
13
+ import m from "./index92.js";
14
+ import h from "./index93.js";
15
+ import { stringifyTheme as g } from "./index94.js";
16
+ //#region node_modules/@mui/material/styles/createThemeNoVars.mjs
17
+ function _(e) {
18
+ return typeof e == "number" ? `${(e * 100).toFixed(0)}%` : `calc((${e}) * 100%)`;
19
+ }
20
+ var v = (e) => {
21
+ if (!Number.isNaN(+e)) return +e;
22
+ let t = e.match(/\d*\.?\d+/g);
23
+ if (!t) return 0;
24
+ let n = 0;
25
+ for (let e = 0; e < t.length; e += 1) n += +t[e];
26
+ return n;
27
+ };
28
+ function y(e) {
29
+ Object.assign(e, {
30
+ alpha(t, n) {
31
+ let r = this || e;
32
+ return r.colorSpace ? `oklch(from ${t} l c h / ${typeof n == "string" ? `calc(${n})` : n})` : r.vars ? `rgba(${t.replace(/var\(--([^,\s)]+)(?:,[^)]+)?\)+/g, "var(--$1Channel)")} / ${typeof n == "string" ? `calc(${n})` : n})` : o(t, v(n));
33
+ },
34
+ lighten(t, n) {
35
+ let r = this || e;
36
+ return r.colorSpace ? `color-mix(in ${r.colorSpace}, ${t}, #fff ${_(n)})` : c(t, n);
37
+ },
38
+ darken(t, n) {
39
+ let r = this || e;
40
+ return r.colorSpace ? `color-mix(in ${r.colorSpace}, ${t}, #000 ${_(n)})` : s(t, n);
41
+ }
42
+ });
43
+ }
44
+ function b(o = {}, ...s) {
45
+ let { breakpoints: c, mixins: _ = {}, spacing: v, palette: b = {}, motion: x = {}, transitions: S = {}, typography: C = {}, shape: w, colorSpace: T, ...E } = o;
46
+ if (o.vars && o.generateThemeVars === void 0) throw Error(process.env.NODE_ENV === "production" ? e(22) : "MUI: `vars` is a private field used for CSS variables support.\nPlease use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.");
47
+ let D = l({
48
+ ...b,
49
+ colorSpace: T
50
+ }), O = i(o), k = t(O, {
51
+ mixins: u(O.breakpoints, _),
52
+ palette: D,
53
+ shadows: f.slice(),
54
+ typography: d(D, C),
55
+ motion: m(x),
56
+ transitions: p(S),
57
+ zIndex: { ...h }
58
+ });
59
+ if (k = t(k, E), k = s.reduce((e, n) => t(e, n), k), delete k.transitions.reducedMotion, process.env.NODE_ENV !== "production") {
60
+ let e = [
61
+ "active",
62
+ "checked",
63
+ "completed",
64
+ "disabled",
65
+ "error",
66
+ "expanded",
67
+ "focused",
68
+ "focusVisible",
69
+ "required",
70
+ "selected"
71
+ ], t = (t, n) => {
72
+ let r;
73
+ for (r in t) {
74
+ let i = t[r];
75
+ if (e.includes(r) && Object.keys(i).length > 0) {
76
+ if (process.env.NODE_ENV !== "production") {
77
+ let e = a("", r);
78
+ console.error([
79
+ `MUI: The \`${n}\` component increases the CSS specificity of the \`${r}\` internal state.`,
80
+ "You can not override it like this: ",
81
+ JSON.stringify(t, null, 2),
82
+ "",
83
+ `Instead, you need to use the '&.${e}' syntax:`,
84
+ JSON.stringify({ root: { [`&.${e}`]: i } }, null, 2),
85
+ "",
86
+ "https://mui.com/r/state-classes-guide"
87
+ ].join("\n"));
88
+ }
89
+ t[r] = {};
90
+ }
91
+ }
92
+ };
93
+ Object.keys(k.components).forEach((e) => {
94
+ let n = k.components[e].styleOverrides;
95
+ n && e.startsWith("Mui") && t(n, e);
96
+ });
97
+ }
98
+ return k.unstable_sxConfig = {
99
+ ...n,
100
+ ...E?.unstable_sxConfig
101
+ }, k.unstable_sx = function(e) {
102
+ return r({
103
+ sx: e,
104
+ theme: this
105
+ });
106
+ }, k.toRuntimeSource = g, y(k), k;
107
+ }
108
+ //#endregion
109
+ export { b as default };
110
+
111
+ //# sourceMappingURL=index95.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index95.js","names":["systemAlpha","systemLighten","systemDarken","_formatErrorMessage","systemCreateTheme","styleFunctionSx"],"sources":["../node_modules/@mui/material/styles/createThemeNoVars.mjs"],"sourcesContent":["import _formatErrorMessage from \"@mui/utils/formatMuiErrorMessage\";\nimport deepmerge from '@mui/utils/deepmerge';\nimport styleFunctionSx, { unstable_defaultSxConfig as defaultSxConfig } from '@mui/system/styleFunctionSx';\nimport systemCreateTheme from '@mui/system/createTheme';\nimport { alpha as systemAlpha, lighten as systemLighten, darken as systemDarken } from '@mui/system/colorManipulator';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nimport createMixins from \"./createMixins.mjs\";\nimport createPalette from \"./createPalette.mjs\";\nimport createTypography from \"./createTypography.mjs\";\nimport shadows from \"./shadows.mjs\";\nimport createTransitions from \"./createTransitions.mjs\";\nimport createMotion from \"./createMotion.mjs\";\nimport zIndex from \"./zIndex.mjs\";\nimport { stringifyTheme } from \"./stringifyTheme.mjs\";\nfunction coefficientToPercentage(coefficient) {\n if (typeof coefficient === 'number') {\n return `${(coefficient * 100).toFixed(0)}%`;\n }\n return `calc((${coefficient}) * 100%)`;\n}\n\n// This can be removed when moved to `color-mix()` entirely.\nconst parseAddition = str => {\n if (!Number.isNaN(+str)) {\n return +str;\n }\n const numbers = str.match(/\\d*\\.?\\d+/g);\n if (!numbers) {\n return 0;\n }\n let sum = 0;\n for (let i = 0; i < numbers.length; i += 1) {\n sum += +numbers[i];\n }\n return sum;\n};\nfunction attachColorManipulators(theme) {\n Object.assign(theme, {\n alpha(color, coefficient) {\n const obj = this || theme;\n if (obj.colorSpace) {\n return `oklch(from ${color} l c h / ${typeof coefficient === 'string' ? `calc(${coefficient})` : coefficient})`;\n }\n if (obj.vars) {\n // To preserve the behavior of the CSS theme variables\n // In the future, this could be replaced by `color-mix` (when https://caniuse.com/?search=color-mix reaches 95%).\n return `rgba(${color.replace(/var\\(--([^,\\s)]+)(?:,[^)]+)?\\)+/g, 'var(--$1Channel)')} / ${typeof coefficient === 'string' ? `calc(${coefficient})` : coefficient})`;\n }\n return systemAlpha(color, parseAddition(coefficient));\n },\n lighten(color, coefficient) {\n const obj = this || theme;\n if (obj.colorSpace) {\n return `color-mix(in ${obj.colorSpace}, ${color}, #fff ${coefficientToPercentage(coefficient)})`;\n }\n return systemLighten(color, coefficient);\n },\n darken(color, coefficient) {\n const obj = this || theme;\n if (obj.colorSpace) {\n return `color-mix(in ${obj.colorSpace}, ${color}, #000 ${coefficientToPercentage(coefficient)})`;\n }\n return systemDarken(color, coefficient);\n }\n });\n}\nfunction createThemeNoVars(options = {}, ...args) {\n const {\n breakpoints: breakpointsInput,\n mixins: mixinsInput = {},\n spacing: spacingInput,\n palette: paletteInput = {},\n motion: motionInput = {},\n transitions: transitionsInput = {},\n typography: typographyInput = {},\n shape: shapeInput,\n colorSpace,\n ...other\n } = options;\n if (options.vars &&\n // The error should throw only for the root theme creation because user is not allowed to use a custom node `vars`.\n // `generateThemeVars` is the closest identifier for checking that the `options` is a result of `createTheme` with CSS variables so that user can create new theme for nested ThemeProvider.\n options.generateThemeVars === undefined) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? 'MUI: `vars` is a private field used for CSS variables support.\\n' +\n // #host-reference\n 'Please use another name or follow the [docs](https://mui.com/material-ui/customization/css-theme-variables/usage/) to enable the feature.' : _formatErrorMessage(22));\n }\n const palette = createPalette({\n ...paletteInput,\n colorSpace\n });\n const systemTheme = systemCreateTheme(options);\n let muiTheme = deepmerge(systemTheme, {\n mixins: createMixins(systemTheme.breakpoints, mixinsInput),\n palette,\n // Don't use [...shadows] until you've verified its transpiled code is not invoking the iterator protocol.\n shadows: shadows.slice(),\n typography: createTypography(palette, typographyInput),\n motion: createMotion(motionInput),\n transitions: createTransitions(transitionsInput),\n zIndex: {\n ...zIndex\n }\n });\n muiTheme = deepmerge(muiTheme, other);\n muiTheme = args.reduce((acc, argument) => deepmerge(acc, argument), muiTheme);\n // `reducedMotion` is owned by `theme.motion`; remove stale values preserved by systemCreateTheme.\n delete muiTheme.transitions.reducedMotion;\n if (process.env.NODE_ENV !== 'production') {\n // TODO v6: Refactor to use globalStateClassesMapping from @mui/utils once `readOnly` state class is used in Rating component.\n const stateClasses = ['active', 'checked', 'completed', 'disabled', 'error', 'expanded', 'focused', 'focusVisible', 'required', 'selected'];\n const traverse = (node, component) => {\n let key;\n\n // eslint-disable-next-line guard-for-in\n for (key in node) {\n const child = node[key];\n if (stateClasses.includes(key) && Object.keys(child).length > 0) {\n if (process.env.NODE_ENV !== 'production') {\n const stateClass = generateUtilityClass('', key);\n console.error([`MUI: The \\`${component}\\` component increases ` + `the CSS specificity of the \\`${key}\\` internal state.`, 'You can not override it like this: ', JSON.stringify(node, null, 2), '', `Instead, you need to use the '&.${stateClass}' syntax:`, JSON.stringify({\n root: {\n [`&.${stateClass}`]: child\n }\n }, null, 2), '', 'https://mui.com/r/state-classes-guide'].join('\\n'));\n }\n // Remove the style to prevent global conflicts.\n node[key] = {};\n }\n }\n };\n Object.keys(muiTheme.components).forEach(component => {\n const styleOverrides = muiTheme.components[component].styleOverrides;\n if (styleOverrides && component.startsWith('Mui')) {\n traverse(styleOverrides, component);\n }\n });\n }\n muiTheme.unstable_sxConfig = {\n ...defaultSxConfig,\n ...other?.unstable_sxConfig\n };\n muiTheme.unstable_sx = function sx(props) {\n return styleFunctionSx({\n sx: props,\n theme: this\n });\n };\n muiTheme.toRuntimeSource = stringifyTheme; // for Pigment CSS integration\n\n attachColorManipulators(muiTheme);\n return muiTheme;\n}\nexport default createThemeNoVars;"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;;;;AAcA,SAAS,EAAwB,GAAa;CAI5C,OAHI,OAAO,KAAgB,WAClB,IAAI,IAAc,IAAA,CAAK,QAAQ,CAAC,EAAE,KAEpC,SAAS,EAAY;AAC9B;AAGA,IAAM,KAAgB,MAAO;CAC3B,IAAI,CAAC,OAAO,MAAM,CAAC,CAAG,GACpB,OAAO,CAAC;CAEV,IAAM,IAAU,EAAI,MAAM,YAAY;CACtC,IAAI,CAAC,GACH,OAAO;CAET,IAAI,IAAM;CACV,KAAK,IAAI,IAAI,GAAG,IAAI,EAAQ,QAAQ,KAAK,GACvC,KAAO,CAAC,EAAQ;CAElB,OAAO;AACT;AACA,SAAS,EAAwB,GAAO;CACtC,OAAO,OAAO,GAAO;EACnB,MAAM,GAAO,GAAa;GACxB,IAAM,IAAM,QAAQ;GASpB,OARI,EAAI,aACC,cAAc,EAAM,WAAW,OAAO,KAAgB,WAAW,QAAQ,EAAY,KAAK,EAAY,KAE3G,EAAI,OAGC,QAAQ,EAAM,QAAQ,oCAAoC,kBAAkB,EAAE,KAAK,OAAO,KAAgB,WAAW,QAAQ,EAAY,KAAK,EAAY,KAE5JA,EAAY,GAAO,EAAc,CAAW,CAAC;EACtD;EACA,QAAQ,GAAO,GAAa;GAC1B,IAAM,IAAM,QAAQ;GAIpB,OAHI,EAAI,aACC,gBAAgB,EAAI,WAAW,IAAI,EAAM,SAAS,EAAwB,CAAW,EAAE,KAEzFC,EAAc,GAAO,CAAW;EACzC;EACA,OAAO,GAAO,GAAa;GACzB,IAAM,IAAM,QAAQ;GAIpB,OAHI,EAAI,aACC,gBAAgB,EAAI,WAAW,IAAI,EAAM,SAAS,EAAwB,CAAW,EAAE,KAEzFC,EAAa,GAAO,CAAW;EACxC;CACF,CAAC;AACH;AACA,SAAS,EAAkB,IAAU,CAAC,GAAG,GAAG,GAAM;CAChD,IAAM,EACJ,aAAa,GACb,QAAQ,IAAc,CAAC,GACvB,SAAS,GACT,SAAS,IAAe,CAAC,GACzB,QAAQ,IAAc,CAAC,GACvB,aAAa,IAAmB,CAAC,GACjC,YAAY,IAAkB,CAAC,GAC/B,OAAO,GACP,eACA,GAAG,MACD;CACJ,IAAI,EAAQ,QAGZ,EAAQ,sBAAsB,KAAA,GAC5B,MAAU,MAAA,QAAA,IAAA,aAA+B,eAEqGC,EAAoB,EAAE,IAF5G,2MAE6G;CAEvK,IAAM,IAAU,EAAc;EAC5B,GAAG;EACH;CACF,CAAC,GACK,IAAcC,EAAkB,CAAO,GACzC,IAAW,EAAU,GAAa;EACpC,QAAQ,EAAa,EAAY,aAAa,CAAW;EACzD;EAEA,SAAS,EAAQ,MAAM;EACvB,YAAY,EAAiB,GAAS,CAAe;EACrD,QAAQ,EAAa,CAAW;EAChC,aAAa,EAAkB,CAAgB;EAC/C,QAAQ,EACN,GAAG,EACL;CACF,CAAC;CAKD,IAJA,IAAW,EAAU,GAAU,CAAK,GACpC,IAAW,EAAK,QAAQ,GAAK,MAAa,EAAU,GAAK,CAAQ,GAAG,CAAQ,GAE5E,OAAO,EAAS,YAAY,eAC5B,QAAA,IAAA,aAA6B,cAAc;EAEzC,IAAM,IAAe;GAAC;GAAU;GAAW;GAAa;GAAY;GAAS;GAAY;GAAW;GAAgB;GAAY;EAAU,GACpI,KAAY,GAAM,MAAc;GACpC,IAAI;GAGJ,KAAK,KAAO,GAAM;IAChB,IAAM,IAAQ,EAAK;IACnB,IAAI,EAAa,SAAS,CAAG,KAAK,OAAO,KAAK,CAAK,CAAC,CAAC,SAAS,GAAG;KAC/D,IAAA,QAAA,IAAA,aAA6B,cAAc;MACzC,IAAM,IAAa,EAAqB,IAAI,CAAG;MAC/C,QAAQ,MAAM;OAAC,cAAc,EAAU,sDAA2D,EAAI;OAAqB;OAAuC,KAAK,UAAU,GAAM,MAAM,CAAC;OAAG;OAAI,mCAAmC,EAAW;OAAY,KAAK,UAAU,EAC5Q,MAAM,GACH,KAAK,MAAe,EACvB,EACF,GAAG,MAAM,CAAC;OAAG;OAAI;MAAuC,CAAC,CAAC,KAAK,IAAI,CAAC;KACtE;KAEA,EAAK,KAAO,CAAC;IACf;GACF;EACF;EACA,OAAO,KAAK,EAAS,UAAU,CAAC,CAAC,SAAQ,MAAa;GACpD,IAAM,IAAiB,EAAS,WAAW,EAAU,CAAC;GACtD,AAAI,KAAkB,EAAU,WAAW,KAAK,KAC9C,EAAS,GAAgB,CAAS;EAEtC,CAAC;CACH;CAcA,OAbA,EAAS,oBAAoB;EAC3B,GAAG;EACH,GAAG,GAAO;CACZ,GACA,EAAS,cAAc,SAAY,GAAO;EACxC,OAAOC,EAAgB;GACrB,IAAI;GACJ,OAAO;EACT,CAAC;CACH,GACA,EAAS,kBAAkB,GAE3B,EAAwB,CAAQ,GACzB;AACT"}
@@ -0,0 +1,9 @@
1
+ //#region node_modules/@mui/material/styles/getOverlayAlpha.mjs
2
+ function e(e) {
3
+ let t;
4
+ return t = e < 1 ? 5.11916 * e ** 2 : 4.5 * Math.log(e + 1) + 2, Math.round(t * 10) / 1e3;
5
+ }
6
+ //#endregion
7
+ export { e as default };
8
+
9
+ //# sourceMappingURL=index96.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index96.js","names":[],"sources":["../node_modules/@mui/material/styles/getOverlayAlpha.mjs"],"sourcesContent":["// Inspired by https://github.com/material-components/material-components-ios/blob/bca36107405594d5b7b16265a5b0ed698f85a5ee/components/Elevation/src/UIColor%2BMaterialElevation.m#L61\nexport default function 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 Math.round(alphaValue * 10) / 1000;\n}"],"x_google_ignoreList":[0],"mappings":";AACA,SAAwB,EAAgB,GAAW;CACjD,IAAI;CAMJ,OALA,AAGE,IAHE,IAAY,IACD,UAAU,KAAa,IAEvB,MAAM,KAAK,IAAI,IAAY,CAAC,IAAI,GAExC,KAAK,MAAM,IAAa,EAAE,IAAI;AACvC"}
@@ -0,0 +1,38 @@
1
+ import e from "./index86.js";
2
+ import t from "./index96.js";
3
+ //#region node_modules/@mui/material/styles/createColorScheme.mjs
4
+ var n = [...Array(25)].map((e, n) => {
5
+ if (n === 0) return "none";
6
+ let r = t(n);
7
+ return `linear-gradient(rgba(255 255 255 / ${r}), rgba(255 255 255 / ${r}))`;
8
+ });
9
+ function r(e) {
10
+ return {
11
+ inputPlaceholder: e === "dark" ? .5 : .42,
12
+ inputUnderline: e === "dark" ? .7 : .42,
13
+ switchTrackDisabled: e === "dark" ? .2 : .12,
14
+ switchTrack: e === "dark" ? .3 : .38
15
+ };
16
+ }
17
+ function i(e) {
18
+ return e === "dark" ? n : [];
19
+ }
20
+ function a(t) {
21
+ let { palette: n = { mode: "light" }, opacity: a, overlays: o, colorSpace: s, ...c } = t, l = e({
22
+ ...n,
23
+ colorSpace: s
24
+ });
25
+ return {
26
+ palette: l,
27
+ opacity: {
28
+ ...r(l.mode),
29
+ ...a
30
+ },
31
+ overlays: o || i(l.mode),
32
+ ...c
33
+ };
34
+ }
35
+ //#endregion
36
+ export { a as default, r as getOpacity, i as getOverlays };
37
+
38
+ //# sourceMappingURL=index97.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index97.js","names":[],"sources":["../node_modules/@mui/material/styles/createColorScheme.mjs"],"sourcesContent":["import createPalette from \"./createPalette.mjs\";\nimport getOverlayAlpha from \"./getOverlayAlpha.mjs\";\nconst defaultDarkOverlays = [...Array(25)].map((_, index) => {\n if (index === 0) {\n return 'none';\n }\n const overlay = getOverlayAlpha(index);\n return `linear-gradient(rgba(255 255 255 / ${overlay}), rgba(255 255 255 / ${overlay}))`;\n});\nexport function getOpacity(mode) {\n return {\n inputPlaceholder: mode === 'dark' ? 0.5 : 0.42,\n inputUnderline: mode === 'dark' ? 0.7 : 0.42,\n switchTrackDisabled: mode === 'dark' ? 0.2 : 0.12,\n switchTrack: mode === 'dark' ? 0.3 : 0.38\n };\n}\nexport function getOverlays(mode) {\n return mode === 'dark' ? defaultDarkOverlays : [];\n}\nexport default function createColorScheme(options) {\n const {\n palette: paletteInput = {\n mode: 'light'\n },\n // need to cast to avoid module augmentation test\n opacity,\n overlays,\n colorSpace,\n ...other\n } = options;\n // need to cast because `colorSpace` is considered internal at the moment.\n const palette = createPalette({\n ...paletteInput,\n colorSpace\n });\n return {\n palette,\n opacity: {\n ...getOpacity(palette.mode),\n ...opacity\n },\n overlays: overlays || getOverlays(palette.mode),\n ...other\n };\n}"],"x_google_ignoreList":[0],"mappings":";;;AAEA,IAAM,IAAsB,CAAC,GAAG,MAAM,EAAE,CAAC,CAAC,CAAC,KAAK,GAAG,MAAU;CAC3D,IAAI,MAAU,GACZ,OAAO;CAET,IAAM,IAAU,EAAgB,CAAK;CACrC,OAAO,sCAAsC,EAAQ,wBAAwB,EAAQ;AACvF,CAAC;AACD,SAAgB,EAAW,GAAM;CAC/B,OAAO;EACL,kBAAkB,MAAS,SAAS,KAAM;EAC1C,gBAAgB,MAAS,SAAS,KAAM;EACxC,qBAAqB,MAAS,SAAS,KAAM;EAC7C,aAAa,MAAS,SAAS,KAAM;CACvC;AACF;AACA,SAAgB,EAAY,GAAM;CAChC,OAAO,MAAS,SAAS,IAAsB,CAAC;AAClD;AACA,SAAwB,EAAkB,GAAS;CACjD,IAAM,EACJ,SAAS,IAAe,EACtB,MAAM,QACR,GAEA,YACA,aACA,eACA,GAAG,MACD,GAEE,IAAU,EAAc;EAC5B,GAAG;EACH;CACF,CAAC;CACD,OAAO;EACL;EACA,SAAS;GACP,GAAG,EAAW,EAAQ,IAAI;GAC1B,GAAG;EACL;EACA,UAAU,KAAY,EAAY,EAAQ,IAAI;EAC9C,GAAG;CACL;AACF"}
@@ -0,0 +1,8 @@
1
+ //#region node_modules/@mui/material/styles/shouldSkipGeneratingVar.mjs
2
+ function e(e) {
3
+ return e[0] === "motion" || !!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!e[0].match(/sxConfig$/) || e[0] === "palette" && !!e[1]?.match(/(mode|contrastThreshold|tonalOffset)/);
4
+ }
5
+ //#endregion
6
+ export { e as default };
7
+
8
+ //# sourceMappingURL=index98.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index98.js","names":[],"sources":["../node_modules/@mui/material/styles/shouldSkipGeneratingVar.mjs"],"sourcesContent":["export default function shouldSkipGeneratingVar(keys) {\n return keys[0] === 'motion' || !!keys[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/) || !!keys[0].match(/sxConfig$/) ||\n // ends with sxConfig\n keys[0] === 'palette' && !!keys[1]?.match(/(mode|contrastThreshold|tonalOffset)/);\n}"],"x_google_ignoreList":[0],"mappings":";AAAA,SAAwB,EAAwB,GAAM;CACpD,OAAO,EAAK,OAAO,YAAY,CAAC,CAAC,EAAK,EAAE,CAAC,MAAM,sHAAsH,KAAK,CAAC,CAAC,EAAK,EAAE,CAAC,MAAM,WAAW,KAErM,EAAK,OAAO,aAAa,CAAC,CAAC,EAAK,EAAE,EAAE,MAAM,sCAAsC;AAClF"}
@@ -0,0 +1,10 @@
1
+ //#region node_modules/@mui/material/styles/excludeVariablesFromRoot.mjs
2
+ var e = (e) => [
3
+ ...[...Array(25)].map((t, n) => `--${e ? `${e}-` : ""}overlays-${n}`),
4
+ `--${e ? `${e}-` : ""}palette-AppBar-darkBg`,
5
+ `--${e ? `${e}-` : ""}palette-AppBar-darkColor`
6
+ ];
7
+ //#endregion
8
+ export { e as default };
9
+
10
+ //# sourceMappingURL=index99.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index99.js","names":[],"sources":["../node_modules/@mui/material/styles/excludeVariablesFromRoot.mjs"],"sourcesContent":["/**\n * @internal These variables should not appear in the :root stylesheet when the `defaultColorScheme=\"dark\"`\n */\nconst excludeVariablesFromRoot = cssVarPrefix => [...[...Array(25)].map((_, index) => `--${cssVarPrefix ? `${cssVarPrefix}-` : ''}overlays-${index}`), `--${cssVarPrefix ? `${cssVarPrefix}-` : ''}palette-AppBar-darkBg`, `--${cssVarPrefix ? `${cssVarPrefix}-` : ''}palette-AppBar-darkColor`];\nexport default excludeVariablesFromRoot;"],"x_google_ignoreList":[0],"mappings":";AAGA,IAAM,KAA2B,MAAgB;CAAC,GAAG,CAAC,GAAG,MAAM,EAAE,CAAC,CAAC,CAAC,KAAK,GAAG,MAAU,KAAK,IAAe,GAAG,EAAa,KAAK,GAAG,WAAW,GAAO;CAAG,KAAK,IAAe,GAAG,EAAa,KAAK,GAAG;CAAwB,KAAK,IAAe,GAAG,EAAa,KAAK,GAAG;AAAyB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citizenplatform/core",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=22",