@sitecore/sc-contenthub-blok 0.0.91 → 1.0.1

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 (886) hide show
  1. package/dist/Components/BlokBadge/BlokBadge.spec.js +1 -1
  2. package/dist/Components/BlokBadge/BlokBadge.spec.js.map +1 -1
  3. package/dist/Components/BlokButton/BlokButton.d.ts +3 -4
  4. package/dist/Components/BlokButton/BlokButton.js +3 -3
  5. package/dist/Components/BlokButton/BlokButton.js.map +1 -1
  6. package/dist/Components/BlokIcon/BlokIcon.d.ts +2 -1
  7. package/dist/Components/BlokIcon/BlokIcon.js +3 -3
  8. package/dist/Components/BlokIcon/BlokIcon.js.map +1 -1
  9. package/dist/Components/BlokIconButton/BlokIconButton.d.ts +2 -4
  10. package/dist/Components/BlokIconButton/BlokIconButton.js +3 -3
  11. package/dist/Components/BlokIconButton/BlokIconButton.js.map +1 -1
  12. package/dist/Components/BlokSearchBox/BlokSearchBox.d.ts +3 -2
  13. package/dist/Components/BlokSearchBox/BlokSearchBox.js +3 -2
  14. package/dist/Components/BlokSearchBox/BlokSearchBox.js.map +1 -1
  15. package/dist/Components/BlokTooltip/BlokTooltip.js +0 -4
  16. package/dist/Components/BlokTooltip/BlokTooltip.js.map +1 -1
  17. package/esm/Components/BlokButton/BlokButton.js +2 -3
  18. package/esm/Components/BlokButton/BlokButton.js.map +1 -1
  19. package/esm/Components/BlokIcon/BlokIcon.js +2 -3
  20. package/esm/Components/BlokIcon/BlokIcon.js.map +1 -1
  21. package/esm/Components/BlokIconButton/BlokIconButton.js +2 -3
  22. package/esm/Components/BlokIconButton/BlokIconButton.js.map +1 -1
  23. package/esm/Components/BlokSearchBox/BlokSearchBox.js +3 -3
  24. package/esm/Components/BlokSearchBox/BlokSearchBox.js.map +1 -1
  25. package/esm/Components/BlokTooltip/BlokTooltip.js +0 -4
  26. package/esm/Components/BlokTooltip/BlokTooltip.js.map +1 -1
  27. package/node_modules/@babel/code-frame/package.json +3 -3
  28. package/node_modules/@babel/generator/lib/generators/classes.js +7 -4
  29. package/node_modules/@babel/generator/lib/generators/classes.js.map +1 -1
  30. package/node_modules/@babel/generator/lib/generators/deprecated.js +28 -0
  31. package/node_modules/@babel/generator/lib/generators/deprecated.js.map +1 -0
  32. package/node_modules/@babel/generator/lib/generators/expressions.js +17 -12
  33. package/node_modules/@babel/generator/lib/generators/expressions.js.map +1 -1
  34. package/node_modules/@babel/generator/lib/generators/jsx.js +6 -1
  35. package/node_modules/@babel/generator/lib/generators/jsx.js.map +1 -1
  36. package/node_modules/@babel/generator/lib/generators/methods.js.map +1 -1
  37. package/node_modules/@babel/generator/lib/generators/modules.js +8 -3
  38. package/node_modules/@babel/generator/lib/generators/modules.js.map +1 -1
  39. package/node_modules/@babel/generator/lib/generators/statements.js +1 -4
  40. package/node_modules/@babel/generator/lib/generators/statements.js.map +1 -1
  41. package/node_modules/@babel/generator/lib/generators/template-literals.js +16 -11
  42. package/node_modules/@babel/generator/lib/generators/template-literals.js.map +1 -1
  43. package/node_modules/@babel/generator/lib/generators/types.js +4 -9
  44. package/node_modules/@babel/generator/lib/generators/types.js.map +1 -1
  45. package/node_modules/@babel/generator/lib/generators/typescript.js +40 -18
  46. package/node_modules/@babel/generator/lib/generators/typescript.js.map +1 -1
  47. package/node_modules/@babel/generator/lib/index.js +3 -1
  48. package/node_modules/@babel/generator/lib/index.js.map +1 -1
  49. package/node_modules/@babel/generator/lib/node/index.js +11 -8
  50. package/node_modules/@babel/generator/lib/node/index.js.map +1 -1
  51. package/node_modules/@babel/generator/lib/node/parentheses.js +44 -7
  52. package/node_modules/@babel/generator/lib/node/parentheses.js.map +1 -1
  53. package/node_modules/@babel/generator/lib/printer.js +31 -24
  54. package/node_modules/@babel/generator/lib/printer.js.map +1 -1
  55. package/node_modules/@babel/generator/package.json +9 -9
  56. package/node_modules/@babel/helper-globals/LICENSE +22 -0
  57. package/node_modules/@babel/helper-globals/README.md +19 -0
  58. package/node_modules/@babel/helper-globals/data/browser-upper.json +911 -0
  59. package/node_modules/@babel/helper-globals/data/builtin-lower.json +15 -0
  60. package/node_modules/@babel/helper-globals/data/builtin-upper.json +51 -0
  61. package/node_modules/@babel/helper-globals/package.json +32 -0
  62. package/node_modules/@babel/helper-module-imports/lib/import-builder.js.map +1 -1
  63. package/node_modules/@babel/helper-module-imports/lib/import-injector.js.map +1 -1
  64. package/node_modules/@babel/helper-module-imports/package.json +4 -4
  65. package/node_modules/@babel/helper-string-parser/package.json +1 -1
  66. package/node_modules/@babel/helper-validator-identifier/package.json +1 -1
  67. package/node_modules/@babel/parser/bin/babel-parser.js +1 -1
  68. package/node_modules/@babel/parser/lib/index.js +5814 -5255
  69. package/node_modules/@babel/parser/lib/index.js.map +1 -1
  70. package/node_modules/@babel/parser/package.json +7 -7
  71. package/node_modules/@babel/parser/typings/babel-parser.d.ts +137 -165
  72. package/node_modules/@babel/template/lib/options.js +1 -1
  73. package/node_modules/@babel/template/lib/options.js.map +1 -1
  74. package/node_modules/@babel/template/lib/parse.js +3 -0
  75. package/node_modules/@babel/template/lib/parse.js.map +1 -1
  76. package/node_modules/@babel/template/lib/populate.js +2 -1
  77. package/node_modules/@babel/template/lib/populate.js.map +1 -1
  78. package/node_modules/@babel/template/package.json +4 -4
  79. package/node_modules/@babel/traverse/lib/cache.js +10 -16
  80. package/node_modules/@babel/traverse/lib/cache.js.map +1 -1
  81. package/node_modules/@babel/traverse/lib/index.js +8 -16
  82. package/node_modules/@babel/traverse/lib/index.js.map +1 -1
  83. package/node_modules/@babel/traverse/lib/path/ancestry.js +1 -3
  84. package/node_modules/@babel/traverse/lib/path/ancestry.js.map +1 -1
  85. package/node_modules/@babel/traverse/lib/path/context.js +0 -15
  86. package/node_modules/@babel/traverse/lib/path/context.js.map +1 -1
  87. package/node_modules/@babel/traverse/lib/path/conversion.js +7 -4
  88. package/node_modules/@babel/traverse/lib/path/conversion.js.map +1 -1
  89. package/node_modules/@babel/traverse/lib/path/evaluation.js +23 -2
  90. package/node_modules/@babel/traverse/lib/path/evaluation.js.map +1 -1
  91. package/node_modules/@babel/traverse/lib/path/family.js +13 -7
  92. package/node_modules/@babel/traverse/lib/path/family.js.map +1 -1
  93. package/node_modules/@babel/traverse/lib/path/index.js +2 -1
  94. package/node_modules/@babel/traverse/lib/path/index.js.map +1 -1
  95. package/node_modules/@babel/traverse/lib/path/introspection.js.map +1 -1
  96. package/node_modules/@babel/traverse/lib/path/lib/hoister.js.map +1 -1
  97. package/node_modules/@babel/traverse/lib/path/lib/virtual-types.js +1 -1
  98. package/node_modules/@babel/traverse/lib/path/lib/virtual-types.js.map +1 -1
  99. package/node_modules/@babel/traverse/lib/path/modification.js +3 -2
  100. package/node_modules/@babel/traverse/lib/path/modification.js.map +1 -1
  101. package/node_modules/@babel/traverse/lib/path/removal.js +2 -1
  102. package/node_modules/@babel/traverse/lib/path/removal.js.map +1 -1
  103. package/node_modules/@babel/traverse/lib/path/replacement.js +2 -2
  104. package/node_modules/@babel/traverse/lib/path/replacement.js.map +1 -1
  105. package/node_modules/@babel/traverse/lib/scope/binding.js +4 -3
  106. package/node_modules/@babel/traverse/lib/scope/binding.js.map +1 -1
  107. package/node_modules/@babel/traverse/lib/scope/index.js +99 -39
  108. package/node_modules/@babel/traverse/lib/scope/index.js.map +1 -1
  109. package/node_modules/@babel/traverse/lib/traverse-node.js +109 -0
  110. package/node_modules/@babel/traverse/lib/traverse-node.js.map +1 -1
  111. package/node_modules/@babel/traverse/lib/types.js +1 -1
  112. package/node_modules/@babel/traverse/lib/visitors.js +6 -4
  113. package/node_modules/@babel/traverse/lib/visitors.js.map +1 -1
  114. package/node_modules/@babel/traverse/package.json +10 -10
  115. package/node_modules/@babel/types/lib/asserts/generated/index.js +19 -3
  116. package/node_modules/@babel/types/lib/asserts/generated/index.js.map +1 -1
  117. package/node_modules/@babel/types/lib/ast-types/generated/index.js +1 -1
  118. package/node_modules/@babel/types/lib/ast-types/generated/index.js.map +1 -1
  119. package/node_modules/@babel/types/lib/builders/generated/index.js +22 -2858
  120. package/node_modules/@babel/types/lib/builders/generated/index.js.map +1 -1
  121. package/node_modules/@babel/types/lib/builders/generated/lowercase.js +2896 -0
  122. package/node_modules/@babel/types/lib/builders/generated/lowercase.js.map +1 -0
  123. package/node_modules/@babel/types/lib/builders/generated/uppercase.js +267 -1525
  124. package/node_modules/@babel/types/lib/builders/generated/uppercase.js.map +1 -1
  125. package/node_modules/@babel/types/lib/constants/generated/index.js +2 -1
  126. package/node_modules/@babel/types/lib/constants/generated/index.js.map +1 -1
  127. package/node_modules/@babel/types/lib/constants/index.js +5 -3
  128. package/node_modules/@babel/types/lib/constants/index.js.map +1 -1
  129. package/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js.map +1 -1
  130. package/node_modules/@babel/types/lib/converters/toExpression.js +1 -0
  131. package/node_modules/@babel/types/lib/converters/toExpression.js.map +1 -1
  132. package/node_modules/@babel/types/lib/converters/toSequenceExpression.js.map +1 -1
  133. package/node_modules/@babel/types/lib/converters/valueToNode.js +16 -3
  134. package/node_modules/@babel/types/lib/converters/valueToNode.js.map +1 -1
  135. package/node_modules/@babel/types/lib/definitions/core.js +73 -44
  136. package/node_modules/@babel/types/lib/definitions/core.js.map +1 -1
  137. package/node_modules/@babel/types/lib/definitions/experimental.js +3 -11
  138. package/node_modules/@babel/types/lib/definitions/experimental.js.map +1 -1
  139. package/node_modules/@babel/types/lib/definitions/flow.js +6 -3
  140. package/node_modules/@babel/types/lib/definitions/flow.js.map +1 -1
  141. package/node_modules/@babel/types/lib/definitions/index.js +13 -0
  142. package/node_modules/@babel/types/lib/definitions/index.js.map +1 -1
  143. package/node_modules/@babel/types/lib/definitions/jsx.js +9 -4
  144. package/node_modules/@babel/types/lib/definitions/jsx.js.map +1 -1
  145. package/node_modules/@babel/types/lib/definitions/typescript.js +56 -28
  146. package/node_modules/@babel/types/lib/definitions/typescript.js.map +1 -1
  147. package/node_modules/@babel/types/lib/definitions/utils.js +37 -15
  148. package/node_modules/@babel/types/lib/definitions/utils.js.map +1 -1
  149. package/node_modules/@babel/types/lib/index-legacy.d.ts +72 -41
  150. package/node_modules/@babel/types/lib/index.d.ts +1699 -1655
  151. package/node_modules/@babel/types/lib/index.js +10 -21
  152. package/node_modules/@babel/types/lib/index.js.flow +72 -42
  153. package/node_modules/@babel/types/lib/index.js.map +1 -1
  154. package/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js +9 -8
  155. package/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js.map +1 -1
  156. package/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js +1 -0
  157. package/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js.map +1 -1
  158. package/node_modules/@babel/types/lib/traverse/traverseFast.js +19 -5
  159. package/node_modules/@babel/types/lib/traverse/traverseFast.js.map +1 -1
  160. package/node_modules/@babel/types/lib/utils/deprecationWarning.js +3 -3
  161. package/node_modules/@babel/types/lib/utils/deprecationWarning.js.map +1 -1
  162. package/node_modules/@babel/types/lib/validators/generated/index.js +50 -5
  163. package/node_modules/@babel/types/lib/validators/generated/index.js.map +1 -1
  164. package/node_modules/@babel/types/lib/validators/isLet.js +6 -2
  165. package/node_modules/@babel/types/lib/validators/isLet.js.map +1 -1
  166. package/node_modules/@babel/types/lib/validators/isPlaceholderType.js +1 -5
  167. package/node_modules/@babel/types/lib/validators/isPlaceholderType.js.map +1 -1
  168. package/node_modules/@babel/types/lib/validators/isType.js +1 -6
  169. package/node_modules/@babel/types/lib/validators/isType.js.map +1 -1
  170. package/node_modules/@babel/types/lib/validators/isVar.js +8 -4
  171. package/node_modules/@babel/types/lib/validators/isVar.js.map +1 -1
  172. package/node_modules/@babel/types/lib/validators/matchesPattern.js +10 -2
  173. package/node_modules/@babel/types/lib/validators/matchesPattern.js.map +1 -1
  174. package/node_modules/@babel/types/lib/validators/validate.js.map +1 -1
  175. package/node_modules/@babel/types/package.json +14 -14
  176. package/node_modules/@emotion/cache/dist/declarations/src/index.d.ts +16 -2
  177. package/node_modules/@emotion/cache/dist/declarations/src/types.d.ts +14 -0
  178. package/node_modules/@emotion/cache/dist/emotion-cache.browser.cjs.js +7 -36
  179. package/node_modules/@emotion/cache/dist/emotion-cache.browser.development.cjs.js +10 -43
  180. package/node_modules/@emotion/cache/dist/emotion-cache.browser.development.esm.js +10 -43
  181. package/node_modules/@emotion/cache/dist/emotion-cache.browser.esm.js +7 -36
  182. package/node_modules/@emotion/cache/dist/emotion-cache.cjs.js +11 -73
  183. package/node_modules/@emotion/cache/dist/emotion-cache.development.cjs.js +15 -81
  184. package/node_modules/@emotion/cache/dist/emotion-cache.development.edge-light.cjs.js +50 -60
  185. package/node_modules/@emotion/cache/dist/emotion-cache.development.edge-light.esm.js +51 -61
  186. package/node_modules/@emotion/cache/dist/emotion-cache.development.esm.js +15 -81
  187. package/node_modules/@emotion/cache/dist/emotion-cache.edge-light.cjs.js +28 -56
  188. package/node_modules/@emotion/cache/dist/emotion-cache.edge-light.esm.js +29 -57
  189. package/node_modules/@emotion/cache/dist/emotion-cache.esm.js +11 -73
  190. package/node_modules/@emotion/cache/package.json +11 -11
  191. package/node_modules/@emotion/cache/src/{index.js → index.ts} +39 -55
  192. package/node_modules/@emotion/cache/src/{prefixer.js → prefixer.ts} +11 -4
  193. package/node_modules/@emotion/cache/src/{stylis-plugins.js → stylis-plugins.ts} +91 -83
  194. package/node_modules/@emotion/cache/src/{types.js → types.ts} +4 -5
  195. package/node_modules/@emotion/react/_isolated-hnrs/dist/emotion-react-_isolated-hnrs.umd.min.js.map +1 -1
  196. package/node_modules/@emotion/react/_isolated-hnrs/package.json +1 -0
  197. package/node_modules/@emotion/react/dist/declarations/src/_isolated-hnrs.d.ts +3 -3
  198. package/node_modules/@emotion/react/dist/declarations/src/class-names.d.ts +18 -0
  199. package/node_modules/@emotion/react/dist/declarations/src/context.d.ts +6 -0
  200. package/node_modules/@emotion/react/dist/declarations/src/css.d.ts +5 -0
  201. package/node_modules/@emotion/react/dist/declarations/src/global.d.ts +7 -0
  202. package/node_modules/@emotion/react/dist/declarations/src/index.d.ts +14 -1
  203. package/node_modules/@emotion/react/dist/declarations/src/jsx-dev-runtime.d.ts +6 -1
  204. package/node_modules/@emotion/react/dist/declarations/src/jsx-namespace.d.ts +64 -0
  205. package/node_modules/@emotion/react/dist/declarations/src/jsx-runtime.d.ts +7 -1
  206. package/node_modules/@emotion/react/dist/declarations/src/jsx.d.ts +22 -0
  207. package/node_modules/@emotion/react/dist/declarations/src/keyframes.d.ts +10 -0
  208. package/node_modules/@emotion/react/dist/declarations/src/theming.d.ts +28 -0
  209. package/node_modules/@emotion/react/dist/declarations/src/types.d.ts +7 -0
  210. package/node_modules/@emotion/react/dist/{emotion-element-f66136f5.development.edge-light.cjs.js → emotion-element-010f37fa.development.edge-light.cjs.js} +23 -84
  211. package/node_modules/@emotion/react/dist/{emotion-element-832b737b.browser.cjs.js → emotion-element-25f9958c.browser.cjs.js} +20 -65
  212. package/node_modules/@emotion/react/dist/{emotion-element-7447be04.browser.development.cjs.js → emotion-element-4787f564.browser.development.cjs.js} +21 -74
  213. package/node_modules/@emotion/react/dist/{emotion-element-7a1343fa.browser.development.esm.js → emotion-element-489459f2.browser.development.esm.js} +21 -74
  214. package/node_modules/@emotion/react/dist/{emotion-element-efb2998a.development.edge-light.esm.js → emotion-element-516430c7.development.edge-light.esm.js} +23 -84
  215. package/node_modules/@emotion/react/dist/{emotion-element-ba80abe0.development.esm.js → emotion-element-782f682d.development.esm.js} +23 -84
  216. package/node_modules/@emotion/react/dist/{emotion-element-657efc1f.edge-light.esm.js → emotion-element-8113875a.edge-light.esm.js} +22 -75
  217. package/node_modules/@emotion/react/dist/{emotion-element-b1930563.cjs.js → emotion-element-a1829a1e.cjs.js} +22 -75
  218. package/node_modules/@emotion/react/dist/{emotion-element-60389d2b.edge-light.cjs.js → emotion-element-af3dc15b.edge-light.cjs.js} +22 -75
  219. package/node_modules/@emotion/react/dist/{emotion-element-b4c8b265.esm.js → emotion-element-d59e098f.esm.js} +22 -75
  220. package/node_modules/@emotion/react/dist/{emotion-element-9150ebbd.development.cjs.js → emotion-element-e8f4cc37.development.cjs.js} +23 -84
  221. package/node_modules/@emotion/react/dist/{emotion-element-5486c51c.browser.esm.js → emotion-element-f0de968e.browser.esm.js} +20 -65
  222. package/node_modules/@emotion/react/dist/emotion-react.browser.cjs.js +19 -75
  223. package/node_modules/@emotion/react/dist/emotion-react.browser.development.cjs.js +38 -102
  224. package/node_modules/@emotion/react/dist/emotion-react.browser.development.esm.js +38 -101
  225. package/node_modules/@emotion/react/dist/emotion-react.browser.esm.js +19 -74
  226. package/node_modules/@emotion/react/dist/emotion-react.cjs.js +19 -75
  227. package/node_modules/@emotion/react/dist/emotion-react.development.cjs.js +38 -102
  228. package/node_modules/@emotion/react/dist/emotion-react.development.edge-light.cjs.js +37 -99
  229. package/node_modules/@emotion/react/dist/emotion-react.development.edge-light.esm.js +37 -98
  230. package/node_modules/@emotion/react/dist/emotion-react.development.esm.js +38 -101
  231. package/node_modules/@emotion/react/dist/emotion-react.edge-light.cjs.js +18 -72
  232. package/node_modules/@emotion/react/dist/emotion-react.edge-light.esm.js +18 -71
  233. package/node_modules/@emotion/react/dist/emotion-react.esm.js +19 -74
  234. package/node_modules/@emotion/react/dist/emotion-react.umd.min.js +1 -1
  235. package/node_modules/@emotion/react/dist/emotion-react.umd.min.js.map +1 -1
  236. package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.cjs.js +3 -3
  237. package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.development.cjs.js +3 -3
  238. package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.development.esm.js +3 -3
  239. package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js +3 -3
  240. package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js +3 -3
  241. package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.cjs.js +3 -3
  242. package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.cjs.js +3 -3
  243. package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.edge-light.esm.js +3 -3
  244. package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.development.esm.js +3 -3
  245. package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.cjs.js +3 -3
  246. package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.edge-light.esm.js +3 -3
  247. package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js +3 -3
  248. package/node_modules/@emotion/react/jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.umd.min.js.map +1 -1
  249. package/node_modules/@emotion/react/jsx-dev-runtime/package.json +1 -1
  250. package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.cjs.js +5 -5
  251. package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.development.cjs.js +5 -5
  252. package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.development.esm.js +5 -5
  253. package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js +5 -5
  254. package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js +5 -5
  255. package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.development.cjs.js +5 -5
  256. package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.cjs.js +5 -5
  257. package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.development.edge-light.esm.js +5 -5
  258. package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.development.esm.js +5 -5
  259. package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.cjs.js +5 -5
  260. package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.edge-light.esm.js +5 -5
  261. package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.esm.js +5 -5
  262. package/node_modules/@emotion/react/jsx-runtime/dist/emotion-react-jsx-runtime.umd.min.js.map +1 -1
  263. package/node_modules/@emotion/react/jsx-runtime/package.json +1 -1
  264. package/node_modules/@emotion/react/package.json +19 -18
  265. package/node_modules/@emotion/react/src/{_isolated-hnrs.js → _isolated-hnrs.ts} +7 -2
  266. package/node_modules/@emotion/react/src/{class-names.js → class-names.tsx} +43 -32
  267. package/node_modules/@emotion/react/src/{context.js → context.tsx} +25 -22
  268. package/node_modules/@emotion/react/src/css.ts +14 -0
  269. package/node_modules/@emotion/react/src/{emotion-element.js → emotion-element.tsx} +37 -17
  270. package/node_modules/@emotion/react/src/{get-label-from-stack-trace.js → get-label-from-stack-trace.ts} +7 -4
  271. package/node_modules/@emotion/react/src/global.tsx +147 -0
  272. package/node_modules/@emotion/react/src/{index.js → index.ts} +24 -3
  273. package/node_modules/@emotion/react/src/{jsx-dev-runtime.js → jsx-dev-runtime.ts} +12 -2
  274. package/node_modules/@emotion/react/src/jsx-namespace.ts +107 -0
  275. package/node_modules/@emotion/react/src/jsx-runtime.ts +32 -0
  276. package/node_modules/@emotion/react/src/jsx.ts +45 -0
  277. package/node_modules/@emotion/react/src/keyframes.ts +27 -0
  278. package/node_modules/@emotion/react/src/{theming.js → theming.tsx} +40 -18
  279. package/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.cjs.js +19 -92
  280. package/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.development.cjs.js +22 -94
  281. package/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.development.esm.js +22 -94
  282. package/node_modules/@emotion/styled/base/dist/emotion-styled-base.browser.esm.js +19 -92
  283. package/node_modules/@emotion/styled/base/dist/emotion-styled-base.cjs.js +20 -93
  284. package/node_modules/@emotion/styled/base/dist/emotion-styled-base.development.cjs.js +23 -95
  285. package/node_modules/@emotion/styled/base/dist/emotion-styled-base.development.edge-light.cjs.js +22 -94
  286. package/node_modules/@emotion/styled/base/dist/emotion-styled-base.development.edge-light.esm.js +22 -94
  287. package/node_modules/@emotion/styled/base/dist/emotion-styled-base.development.esm.js +24 -96
  288. package/node_modules/@emotion/styled/base/dist/emotion-styled-base.edge-light.cjs.js +19 -92
  289. package/node_modules/@emotion/styled/base/dist/emotion-styled-base.edge-light.esm.js +19 -92
  290. package/node_modules/@emotion/styled/base/dist/emotion-styled-base.esm.js +21 -94
  291. package/node_modules/@emotion/styled/base/dist/emotion-styled-base.umd.min.js +1 -1
  292. package/node_modules/@emotion/styled/base/dist/emotion-styled-base.umd.min.js.map +1 -1
  293. package/node_modules/@emotion/styled/base/package.json +1 -1
  294. package/node_modules/@emotion/styled/dist/declarations/src/base.d.ts +4 -2
  295. package/node_modules/@emotion/styled/dist/declarations/src/index.d.ts +15 -2
  296. package/node_modules/@emotion/styled/dist/declarations/src/jsx-namespace.d.ts +5 -0
  297. package/node_modules/@emotion/styled/dist/declarations/src/types.d.ts +88 -0
  298. package/node_modules/@emotion/styled/dist/emotion-styled.browser.cjs.js +7 -6
  299. package/node_modules/@emotion/styled/dist/emotion-styled.browser.development.cjs.js +7 -6
  300. package/node_modules/@emotion/styled/dist/emotion-styled.browser.development.esm.js +7 -6
  301. package/node_modules/@emotion/styled/dist/emotion-styled.browser.esm.js +7 -6
  302. package/node_modules/@emotion/styled/dist/emotion-styled.cjs.js +7 -6
  303. package/node_modules/@emotion/styled/dist/emotion-styled.development.cjs.js +7 -6
  304. package/node_modules/@emotion/styled/dist/emotion-styled.development.edge-light.cjs.js +7 -6
  305. package/node_modules/@emotion/styled/dist/emotion-styled.development.edge-light.esm.js +7 -6
  306. package/node_modules/@emotion/styled/dist/emotion-styled.development.esm.js +7 -6
  307. package/node_modules/@emotion/styled/dist/emotion-styled.edge-light.cjs.js +7 -6
  308. package/node_modules/@emotion/styled/dist/emotion-styled.edge-light.esm.js +7 -6
  309. package/node_modules/@emotion/styled/dist/emotion-styled.esm.js +7 -6
  310. package/node_modules/@emotion/styled/dist/emotion-styled.umd.min.js +1 -1
  311. package/node_modules/@emotion/styled/dist/emotion-styled.umd.min.js.map +1 -1
  312. package/node_modules/@emotion/styled/package.json +13 -14
  313. package/node_modules/@emotion/styled/src/{base.js → base.tsx} +56 -42
  314. package/node_modules/@emotion/styled/{types/index.d.ts → src/index.ts} +21 -12
  315. package/node_modules/@emotion/styled/{dist/declarations/types/jsx-namespace.d.ts → src/jsx-namespace.ts} +3 -5
  316. package/node_modules/@emotion/styled/src/{tags.js → tags.ts} +1 -1
  317. package/node_modules/@emotion/styled/{types/base.d.ts → src/types.ts} +8 -15
  318. package/node_modules/@emotion/styled/src/utils.ts +38 -0
  319. package/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/declarations/src/index.d.ts +3 -0
  320. package/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.cjs.d.mts +2 -0
  321. package/node_modules/@emotion/use-insertion-effect-with-fallbacks/dist/emotion-use-insertion-effect-with-fallbacks.cjs.d.ts +2 -0
  322. package/node_modules/@emotion/use-insertion-effect-with-fallbacks/package.json +7 -6
  323. package/node_modules/@emotion/use-insertion-effect-with-fallbacks/src/index.ts +21 -0
  324. package/node_modules/@jridgewell/gen-mapping/LICENSE +1 -1
  325. package/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs +256 -194
  326. package/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.mjs.map +6 -1
  327. package/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js +339 -239
  328. package/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js.map +6 -1
  329. package/node_modules/@jridgewell/gen-mapping/package.json +46 -51
  330. package/node_modules/@jridgewell/gen-mapping/src/gen-mapping.ts +614 -0
  331. package/node_modules/@jridgewell/gen-mapping/src/set-array.ts +82 -0
  332. package/node_modules/@jridgewell/gen-mapping/src/sourcemap-segment.ts +16 -0
  333. package/node_modules/@jridgewell/gen-mapping/src/types.ts +61 -0
  334. package/node_modules/@jridgewell/gen-mapping/{dist/types/gen-mapping.d.ts → types/gen-mapping.d.cts} +3 -2
  335. package/node_modules/@jridgewell/gen-mapping/types/gen-mapping.d.cts.map +1 -0
  336. package/node_modules/@jridgewell/gen-mapping/types/gen-mapping.d.mts +89 -0
  337. package/node_modules/@jridgewell/gen-mapping/types/gen-mapping.d.mts.map +1 -0
  338. package/node_modules/@jridgewell/{set-array/dist/types/set-array.d.ts → gen-mapping/types/set-array.d.cts} +2 -1
  339. package/node_modules/@jridgewell/gen-mapping/types/set-array.d.cts.map +1 -0
  340. package/node_modules/@jridgewell/gen-mapping/types/set-array.d.mts +33 -0
  341. package/node_modules/@jridgewell/gen-mapping/types/set-array.d.mts.map +1 -0
  342. package/node_modules/@jridgewell/gen-mapping/types/sourcemap-segment.d.cts +13 -0
  343. package/node_modules/@jridgewell/gen-mapping/types/sourcemap-segment.d.cts.map +1 -0
  344. package/node_modules/@jridgewell/gen-mapping/types/sourcemap-segment.d.mts +13 -0
  345. package/node_modules/@jridgewell/gen-mapping/types/sourcemap-segment.d.mts.map +1 -0
  346. package/node_modules/@jridgewell/gen-mapping/{dist/types/types.d.ts → types/types.d.cts} +10 -2
  347. package/node_modules/@jridgewell/gen-mapping/types/types.d.cts.map +1 -0
  348. package/node_modules/@jridgewell/gen-mapping/types/types.d.mts +44 -0
  349. package/node_modules/@jridgewell/gen-mapping/types/types.d.mts.map +1 -0
  350. package/node_modules/@jridgewell/trace-mapping/LICENSE +1 -1
  351. package/node_modules/@jridgewell/trace-mapping/README.md +160 -69
  352. package/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs +417 -493
  353. package/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.mjs.map +6 -1
  354. package/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js +546 -588
  355. package/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js.map +6 -1
  356. package/node_modules/@jridgewell/trace-mapping/package.json +43 -49
  357. package/node_modules/@jridgewell/trace-mapping/src/binary-search.ts +115 -0
  358. package/node_modules/@jridgewell/trace-mapping/src/by-source.ts +65 -0
  359. package/node_modules/@jridgewell/trace-mapping/src/flatten-map.ts +192 -0
  360. package/node_modules/@jridgewell/trace-mapping/src/resolve.ts +16 -0
  361. package/node_modules/@jridgewell/trace-mapping/src/sort.ts +45 -0
  362. package/node_modules/@jridgewell/trace-mapping/src/sourcemap-segment.ts +23 -0
  363. package/node_modules/@jridgewell/trace-mapping/src/strip-filename.ts +8 -0
  364. package/node_modules/@jridgewell/trace-mapping/src/trace-mapping.ts +504 -0
  365. package/node_modules/@jridgewell/trace-mapping/src/types.ts +114 -0
  366. package/node_modules/@jridgewell/trace-mapping/{dist/types/binary-search.d.ts → types/binary-search.d.cts} +2 -1
  367. package/node_modules/@jridgewell/trace-mapping/types/binary-search.d.cts.map +1 -0
  368. package/node_modules/@jridgewell/trace-mapping/types/binary-search.d.mts +33 -0
  369. package/node_modules/@jridgewell/trace-mapping/types/binary-search.d.mts.map +1 -0
  370. package/node_modules/@jridgewell/trace-mapping/types/by-source.d.cts +8 -0
  371. package/node_modules/@jridgewell/trace-mapping/types/by-source.d.cts.map +1 -0
  372. package/node_modules/@jridgewell/trace-mapping/{dist/types/by-source.d.ts → types/by-source.d.mts} +3 -2
  373. package/node_modules/@jridgewell/trace-mapping/types/by-source.d.mts.map +1 -0
  374. package/node_modules/@jridgewell/trace-mapping/types/flatten-map.d.cts +9 -0
  375. package/node_modules/@jridgewell/trace-mapping/types/flatten-map.d.cts.map +1 -0
  376. package/node_modules/@jridgewell/trace-mapping/types/flatten-map.d.mts +9 -0
  377. package/node_modules/@jridgewell/trace-mapping/types/flatten-map.d.mts.map +1 -0
  378. package/node_modules/@jridgewell/trace-mapping/types/resolve.d.cts +4 -0
  379. package/node_modules/@jridgewell/trace-mapping/types/resolve.d.cts.map +1 -0
  380. package/node_modules/@jridgewell/trace-mapping/types/resolve.d.mts +4 -0
  381. package/node_modules/@jridgewell/trace-mapping/types/resolve.d.mts.map +1 -0
  382. package/node_modules/@jridgewell/trace-mapping/types/sort.d.cts +3 -0
  383. package/node_modules/@jridgewell/trace-mapping/types/sort.d.cts.map +1 -0
  384. package/node_modules/@jridgewell/trace-mapping/{dist/types/sort.d.ts → types/sort.d.mts} +2 -1
  385. package/node_modules/@jridgewell/trace-mapping/types/sort.d.mts.map +1 -0
  386. package/node_modules/@jridgewell/trace-mapping/{dist/types/sourcemap-segment.d.ts → types/sourcemap-segment.d.cts} +1 -0
  387. package/node_modules/@jridgewell/trace-mapping/types/sourcemap-segment.d.cts.map +1 -0
  388. package/node_modules/@jridgewell/trace-mapping/types/sourcemap-segment.d.mts +17 -0
  389. package/node_modules/@jridgewell/trace-mapping/types/sourcemap-segment.d.mts.map +1 -0
  390. package/node_modules/@jridgewell/trace-mapping/types/strip-filename.d.cts +5 -0
  391. package/node_modules/@jridgewell/trace-mapping/types/strip-filename.d.cts.map +1 -0
  392. package/node_modules/@jridgewell/trace-mapping/{dist/types/strip-filename.d.ts → types/strip-filename.d.mts} +1 -0
  393. package/node_modules/@jridgewell/trace-mapping/types/strip-filename.d.mts.map +1 -0
  394. package/node_modules/@jridgewell/trace-mapping/{dist/types/trace-mapping.d.ts → types/trace-mapping.d.cts} +7 -6
  395. package/node_modules/@jridgewell/trace-mapping/types/trace-mapping.d.cts.map +1 -0
  396. package/node_modules/@jridgewell/trace-mapping/types/trace-mapping.d.mts +80 -0
  397. package/node_modules/@jridgewell/trace-mapping/types/trace-mapping.d.mts.map +1 -0
  398. package/node_modules/@jridgewell/trace-mapping/{dist/types/types.d.ts → types/types.d.cts} +10 -2
  399. package/node_modules/@jridgewell/trace-mapping/types/types.d.cts.map +1 -0
  400. package/node_modules/@jridgewell/trace-mapping/types/types.d.mts +107 -0
  401. package/node_modules/@jridgewell/trace-mapping/types/types.d.mts.map +1 -0
  402. package/node_modules/@mui/core-downloads-tracker/package.json +1 -1
  403. package/node_modules/@mui/material/Accordion/Accordion.d.ts +32 -15
  404. package/node_modules/@mui/material/Accordion/Accordion.js +18 -6
  405. package/node_modules/@mui/material/AccordionActions/AccordionActions.d.ts +2 -2
  406. package/node_modules/@mui/material/AccordionDetails/AccordionDetails.d.ts +2 -2
  407. package/node_modules/@mui/material/AccordionSummary/AccordionSummary.d.ts +62 -7
  408. package/node_modules/@mui/material/AccordionSummary/AccordionSummary.js +67 -16
  409. package/node_modules/@mui/material/Alert/Alert.d.ts +6 -18
  410. package/node_modules/@mui/material/AlertTitle/AlertTitle.d.ts +3 -3
  411. package/node_modules/@mui/material/AppBar/AppBar.d.ts +4 -4
  412. package/node_modules/@mui/material/Autocomplete/Autocomplete.d.ts +2 -2
  413. package/node_modules/@mui/material/Autocomplete/Autocomplete.js +1 -1
  414. package/node_modules/@mui/material/Avatar/Avatar.d.ts +2 -2
  415. package/node_modules/@mui/material/AvatarGroup/AvatarGroup.d.ts +2 -2
  416. package/node_modules/@mui/material/AvatarGroup/AvatarGroup.js +10 -2
  417. package/node_modules/@mui/material/Backdrop/Backdrop.d.ts +17 -15
  418. package/node_modules/@mui/material/Badge/Badge.d.ts +35 -31
  419. package/node_modules/@mui/material/Badge/Badge.js +27 -20
  420. package/node_modules/@mui/material/BottomNavigation/BottomNavigation.d.ts +2 -2
  421. package/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction.d.ts +43 -6
  422. package/node_modules/@mui/material/BottomNavigationAction/BottomNavigationAction.js +53 -9
  423. package/node_modules/@mui/material/Box/Box.d.ts +2 -2
  424. package/node_modules/@mui/material/Breadcrumbs/BreadcrumbCollapsed.js +3 -1
  425. package/node_modules/@mui/material/Breadcrumbs/Breadcrumbs.d.ts +3 -3
  426. package/node_modules/@mui/material/Button/Button.d.ts +4 -4
  427. package/node_modules/@mui/material/Button/Button.js +3 -3
  428. package/node_modules/@mui/material/ButtonBase/ButtonBase.d.ts +2 -2
  429. package/node_modules/@mui/material/ButtonGroup/ButtonGroup.d.ts +2 -2
  430. package/node_modules/@mui/material/CHANGELOG.md +345 -0
  431. package/node_modules/@mui/material/Card/Card.d.ts +4 -4
  432. package/node_modules/@mui/material/CardActionArea/CardActionArea.d.ts +43 -6
  433. package/node_modules/@mui/material/CardActionArea/CardActionArea.js +47 -8
  434. package/node_modules/@mui/material/CardActions/CardActions.d.ts +2 -2
  435. package/node_modules/@mui/material/CardContent/CardContent.d.ts +2 -2
  436. package/node_modules/@mui/material/CardHeader/CardHeader.d.ts +6 -22
  437. package/node_modules/@mui/material/CardMedia/CardMedia.d.ts +2 -2
  438. package/node_modules/@mui/material/Checkbox/Checkbox.d.ts +49 -13
  439. package/node_modules/@mui/material/Checkbox/Checkbox.js +51 -21
  440. package/node_modules/@mui/material/Chip/Chip.d.ts +2 -2
  441. package/node_modules/@mui/material/CircularProgress/CircularProgress.d.ts +7 -3
  442. package/node_modules/@mui/material/ClickAwayListener/ClickAwayListener.d.ts +3 -3
  443. package/node_modules/@mui/material/ClickAwayListener/ClickAwayListener.js +3 -3
  444. package/node_modules/@mui/material/Collapse/Collapse.d.ts +5 -5
  445. package/node_modules/@mui/material/Container/Container.d.ts +2 -2
  446. package/node_modules/@mui/material/CssBaseline/CssBaseline.d.ts +2 -2
  447. package/node_modules/@mui/material/Dialog/Dialog.d.ts +7 -7
  448. package/node_modules/@mui/material/Dialog/dialogClasses.d.ts +6 -2
  449. package/node_modules/@mui/material/DialogActions/DialogActions.d.ts +2 -2
  450. package/node_modules/@mui/material/DialogContent/DialogContent.d.ts +2 -2
  451. package/node_modules/@mui/material/DialogContentText/DialogContentText.d.ts +3 -3
  452. package/node_modules/@mui/material/DialogTitle/DialogTitle.d.ts +3 -3
  453. package/node_modules/@mui/material/Divider/Divider.d.ts +3 -3
  454. package/node_modules/@mui/material/Drawer/Drawer.d.ts +95 -4
  455. package/node_modules/@mui/material/Drawer/Drawer.js +108 -36
  456. package/node_modules/@mui/material/Fab/Fab.d.ts +3 -3
  457. package/node_modules/@mui/material/Fade/Fade.d.ts +3 -3
  458. package/node_modules/@mui/material/FilledInput/FilledInput.d.ts +3 -3
  459. package/node_modules/@mui/material/FormControl/FormControl.d.ts +6 -6
  460. package/node_modules/@mui/material/FormControlLabel/FormControlLabel.d.ts +4 -4
  461. package/node_modules/@mui/material/FormGroup/FormGroup.d.ts +3 -3
  462. package/node_modules/@mui/material/FormHelperText/FormHelperText.d.ts +2 -2
  463. package/node_modules/@mui/material/FormLabel/FormLabel.d.ts +4 -4
  464. package/node_modules/@mui/material/GlobalStyles/GlobalStyles.d.ts +2 -2
  465. package/node_modules/@mui/material/Grid/Grid.d.ts +2 -2
  466. package/node_modules/@mui/material/Grid2/Grid2.d.ts +2 -2
  467. package/node_modules/@mui/material/Grid2/Grid2.js +2 -2
  468. package/node_modules/@mui/material/Grow/Grow.d.ts +5 -5
  469. package/node_modules/@mui/material/Hidden/Hidden.d.ts +2 -2
  470. package/node_modules/@mui/material/Icon/Icon.d.ts +3 -3
  471. package/node_modules/@mui/material/IconButton/IconButton.d.ts +4 -4
  472. package/node_modules/@mui/material/IconButton/IconButton.js +3 -3
  473. package/node_modules/@mui/material/ImageList/ImageList.d.ts +2 -2
  474. package/node_modules/@mui/material/ImageListItem/ImageListItem.d.ts +2 -2
  475. package/node_modules/@mui/material/ImageListItemBar/ImageListItemBar.d.ts +2 -2
  476. package/node_modules/@mui/material/Input/Input.d.ts +3 -3
  477. package/node_modules/@mui/material/InputAdornment/InputAdornment.d.ts +2 -2
  478. package/node_modules/@mui/material/InputBase/InputBase.d.ts +2 -2
  479. package/node_modules/@mui/material/InputBase/inputBaseClasses.d.ts +15 -6
  480. package/node_modules/@mui/material/InputLabel/InputLabel.d.ts +3 -3
  481. package/node_modules/@mui/material/LinearProgress/LinearProgress.d.ts +7 -3
  482. package/node_modules/@mui/material/Link/Link.d.ts +4 -4
  483. package/node_modules/@mui/material/List/List.d.ts +3 -3
  484. package/node_modules/@mui/material/ListItem/ListItem.d.ts +3 -3
  485. package/node_modules/@mui/material/ListItemAvatar/ListItemAvatar.d.ts +2 -2
  486. package/node_modules/@mui/material/ListItemButton/ListItemButton.d.ts +3 -3
  487. package/node_modules/@mui/material/ListItemIcon/ListItemIcon.d.ts +2 -2
  488. package/node_modules/@mui/material/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +2 -2
  489. package/node_modules/@mui/material/ListItemText/ListItemText.d.ts +12 -2
  490. package/node_modules/@mui/material/ListItemText/ListItemText.js +14 -5
  491. package/node_modules/@mui/material/ListSubheader/ListSubheader.d.ts +2 -2
  492. package/node_modules/@mui/material/Menu/Menu.d.ts +92 -5
  493. package/node_modules/@mui/material/Menu/Menu.js +58 -19
  494. package/node_modules/@mui/material/MenuItem/MenuItem.d.ts +3 -3
  495. package/node_modules/@mui/material/MenuList/MenuList.d.ts +4 -4
  496. package/node_modules/@mui/material/MobileStepper/MobileStepper.d.ts +72 -4
  497. package/node_modules/@mui/material/MobileStepper/MobileStepper.js +76 -18
  498. package/node_modules/@mui/material/Modal/Modal.d.ts +7 -7
  499. package/node_modules/@mui/material/Modal/Modal.js +9 -10
  500. package/node_modules/@mui/material/NativeSelect/NativeSelect.d.ts +3 -3
  501. package/node_modules/@mui/material/NativeSelect/NativeSelectInput.js +6 -2
  502. package/node_modules/@mui/material/NoSsr/NoSsr.d.ts +2 -2
  503. package/node_modules/@mui/material/NoSsr/NoSsr.js +2 -2
  504. package/node_modules/@mui/material/OutlinedInput/NotchedOutline.js +2 -0
  505. package/node_modules/@mui/material/OutlinedInput/OutlinedInput.d.ts +32 -5
  506. package/node_modules/@mui/material/OutlinedInput/OutlinedInput.js +30 -10
  507. package/node_modules/@mui/material/OverridableComponent/index.d.ts +41 -0
  508. package/node_modules/@mui/material/OverridableComponent/index.js +1 -0
  509. package/node_modules/@mui/material/OverridableComponent/package.json +6 -0
  510. package/node_modules/@mui/material/Pagination/Pagination.d.ts +2 -2
  511. package/node_modules/@mui/material/PaginationItem/PaginationItem.d.ts +3 -3
  512. package/node_modules/@mui/material/Paper/Paper.d.ts +3 -3
  513. package/node_modules/@mui/material/PigmentContainer/PigmentContainer.d.ts +2 -2
  514. package/node_modules/@mui/material/PigmentContainer/PigmentContainer.js +2 -2
  515. package/node_modules/@mui/material/PigmentGrid/PigmentGrid.d.ts +2 -2
  516. package/node_modules/@mui/material/PigmentGrid/PigmentGrid.js +2 -2
  517. package/node_modules/@mui/material/PigmentHidden/PigmentHidden.d.ts +2 -2
  518. package/node_modules/@mui/material/PigmentHidden/PigmentHidden.js +2 -2
  519. package/node_modules/@mui/material/PigmentStack/PigmentStack.d.ts +2 -2
  520. package/node_modules/@mui/material/PigmentStack/PigmentStack.js +2 -2
  521. package/node_modules/@mui/material/Popover/Popover.d.ts +65 -12
  522. package/node_modules/@mui/material/Popover/Popover.js +79 -52
  523. package/node_modules/@mui/material/Popper/Popper.d.ts +4 -4
  524. package/node_modules/@mui/material/Popper/Popper.js +4 -4
  525. package/node_modules/@mui/material/Portal/Portal.d.ts +2 -2
  526. package/node_modules/@mui/material/Portal/Portal.js +2 -2
  527. package/node_modules/@mui/material/README.md +4 -2
  528. package/node_modules/@mui/material/Radio/Radio.d.ts +48 -4
  529. package/node_modules/@mui/material/Radio/Radio.js +61 -16
  530. package/node_modules/@mui/material/Radio/RadioButtonIcon.js +7 -2
  531. package/node_modules/@mui/material/RadioGroup/RadioGroup.d.ts +3 -3
  532. package/node_modules/@mui/material/Rating/Rating.d.ts +61 -3
  533. package/node_modules/@mui/material/Rating/Rating.js +131 -45
  534. package/node_modules/@mui/material/ScopedCssBaseline/ScopedCssBaseline.d.ts +2 -2
  535. package/node_modules/@mui/material/Select/Select.d.ts +3 -3
  536. package/node_modules/@mui/material/Select/SelectInput.js +8 -8
  537. package/node_modules/@mui/material/Skeleton/Skeleton.d.ts +2 -2
  538. package/node_modules/@mui/material/Slide/Slide.d.ts +4 -4
  539. package/node_modules/@mui/material/Slider/Slider.d.ts +2 -2
  540. package/node_modules/@mui/material/Slider/sliderClasses.d.ts +21 -7
  541. package/node_modules/@mui/material/Slider/useSlider.js +2 -2
  542. package/node_modules/@mui/material/Snackbar/Snackbar.d.ts +81 -4
  543. package/node_modules/@mui/material/Snackbar/Snackbar.js +116 -32
  544. package/node_modules/@mui/material/SnackbarContent/SnackbarContent.d.ts +3 -3
  545. package/node_modules/@mui/material/SpeedDial/SpeedDial.d.ts +20 -8
  546. package/node_modules/@mui/material/SpeedDial/SpeedDial.js +40 -11
  547. package/node_modules/@mui/material/SpeedDialAction/SpeedDialAction.d.ts +85 -4
  548. package/node_modules/@mui/material/SpeedDialAction/SpeedDialAction.js +109 -31
  549. package/node_modules/@mui/material/SpeedDialIcon/SpeedDialIcon.d.ts +2 -2
  550. package/node_modules/@mui/material/Stack/Stack.d.ts +2 -2
  551. package/node_modules/@mui/material/Step/Step.d.ts +2 -2
  552. package/node_modules/@mui/material/StepButton/StepButton.d.ts +3 -3
  553. package/node_modules/@mui/material/StepConnector/StepConnector.d.ts +2 -2
  554. package/node_modules/@mui/material/StepContent/StepContent.d.ts +4 -4
  555. package/node_modules/@mui/material/StepIcon/StepIcon.d.ts +3 -3
  556. package/node_modules/@mui/material/StepLabel/StepLabel.d.ts +21 -3
  557. package/node_modules/@mui/material/StepLabel/StepLabel.js +14 -5
  558. package/node_modules/@mui/material/Stepper/Stepper.d.ts +2 -2
  559. package/node_modules/@mui/material/SvgIcon/SvgIcon.d.ts +3 -3
  560. package/node_modules/@mui/material/SwipeableDrawer/SwipeArea.js +1 -0
  561. package/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer.d.ts +31 -5
  562. package/node_modules/@mui/material/SwipeableDrawer/SwipeableDrawer.js +60 -13
  563. package/node_modules/@mui/material/Switch/Switch.d.ts +78 -5
  564. package/node_modules/@mui/material/Switch/Switch.js +73 -9
  565. package/node_modules/@mui/material/Tab/Tab.d.ts +3 -3
  566. package/node_modules/@mui/material/TabScrollButton/TabScrollButton.d.ts +2 -2
  567. package/node_modules/@mui/material/Table/Table.d.ts +2 -2
  568. package/node_modules/@mui/material/TableBody/TableBody.d.ts +2 -2
  569. package/node_modules/@mui/material/TableCell/TableCell.d.ts +2 -2
  570. package/node_modules/@mui/material/TableContainer/TableContainer.d.ts +2 -2
  571. package/node_modules/@mui/material/TableFooter/TableFooter.d.ts +2 -2
  572. package/node_modules/@mui/material/TableHead/TableHead.d.ts +2 -2
  573. package/node_modules/@mui/material/TablePagination/TablePagination.d.ts +4 -4
  574. package/node_modules/@mui/material/TableRow/TableRow.d.ts +2 -2
  575. package/node_modules/@mui/material/TableSortLabel/TableSortLabel.d.ts +3 -3
  576. package/node_modules/@mui/material/Tabs/Tabs.d.ts +131 -31
  577. package/node_modules/@mui/material/Tabs/Tabs.js +124 -52
  578. package/node_modules/@mui/material/Tabs/tabsClasses.d.ts +4 -0
  579. package/node_modules/@mui/material/Tabs/tabsClasses.js +1 -1
  580. package/node_modules/@mui/material/TextField/TextField.d.ts +40 -10
  581. package/node_modules/@mui/material/TextField/TextField.js +22 -11
  582. package/node_modules/@mui/material/TextareaAutosize/TextareaAutosize.d.ts +2 -2
  583. package/node_modules/@mui/material/TextareaAutosize/TextareaAutosize.js +68 -47
  584. package/node_modules/@mui/material/ToggleButton/ToggleButton.d.ts +3 -3
  585. package/node_modules/@mui/material/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -2
  586. package/node_modules/@mui/material/Toolbar/Toolbar.d.ts +2 -2
  587. package/node_modules/@mui/material/Tooltip/Tooltip.d.ts +23 -27
  588. package/node_modules/@mui/material/Tooltip/Tooltip.js +1 -1
  589. package/node_modules/@mui/material/Typography/Typography.d.ts +3 -3
  590. package/node_modules/@mui/material/Zoom/Zoom.d.ts +3 -3
  591. package/node_modules/@mui/material/index.js +1 -1
  592. package/node_modules/@mui/material/internal/SwitchBase.d.ts +35 -1
  593. package/node_modules/@mui/material/internal/SwitchBase.js +88 -31
  594. package/node_modules/@mui/material/modern/Accordion/Accordion.js +18 -6
  595. package/node_modules/@mui/material/modern/AccordionSummary/AccordionSummary.js +67 -16
  596. package/node_modules/@mui/material/modern/Autocomplete/Autocomplete.js +1 -1
  597. package/node_modules/@mui/material/modern/AvatarGroup/AvatarGroup.js +10 -2
  598. package/node_modules/@mui/material/modern/Badge/Badge.js +27 -20
  599. package/node_modules/@mui/material/modern/BottomNavigationAction/BottomNavigationAction.js +53 -9
  600. package/node_modules/@mui/material/modern/Breadcrumbs/BreadcrumbCollapsed.js +3 -1
  601. package/node_modules/@mui/material/modern/Button/Button.js +3 -3
  602. package/node_modules/@mui/material/modern/CardActionArea/CardActionArea.js +47 -8
  603. package/node_modules/@mui/material/modern/Checkbox/Checkbox.js +51 -21
  604. package/node_modules/@mui/material/modern/ClickAwayListener/ClickAwayListener.js +3 -3
  605. package/node_modules/@mui/material/modern/Drawer/Drawer.js +108 -36
  606. package/node_modules/@mui/material/modern/Grid2/Grid2.js +2 -2
  607. package/node_modules/@mui/material/modern/IconButton/IconButton.js +3 -3
  608. package/node_modules/@mui/material/modern/ListItemText/ListItemText.js +14 -5
  609. package/node_modules/@mui/material/modern/Menu/Menu.js +58 -19
  610. package/node_modules/@mui/material/modern/MobileStepper/MobileStepper.js +76 -18
  611. package/node_modules/@mui/material/modern/Modal/Modal.js +9 -10
  612. package/node_modules/@mui/material/modern/NativeSelect/NativeSelectInput.js +6 -2
  613. package/node_modules/@mui/material/modern/NoSsr/NoSsr.js +2 -2
  614. package/node_modules/@mui/material/modern/OutlinedInput/NotchedOutline.js +2 -0
  615. package/node_modules/@mui/material/modern/OutlinedInput/OutlinedInput.js +30 -10
  616. package/node_modules/@mui/material/modern/OverridableComponent/index.js +1 -0
  617. package/node_modules/@mui/material/modern/PigmentContainer/PigmentContainer.js +2 -2
  618. package/node_modules/@mui/material/modern/PigmentGrid/PigmentGrid.js +2 -2
  619. package/node_modules/@mui/material/modern/PigmentHidden/PigmentHidden.js +2 -2
  620. package/node_modules/@mui/material/modern/PigmentStack/PigmentStack.js +2 -2
  621. package/node_modules/@mui/material/modern/Popover/Popover.js +79 -52
  622. package/node_modules/@mui/material/modern/Popper/Popper.js +4 -4
  623. package/node_modules/@mui/material/modern/Portal/Portal.js +2 -2
  624. package/node_modules/@mui/material/modern/Radio/Radio.js +61 -16
  625. package/node_modules/@mui/material/modern/Radio/RadioButtonIcon.js +7 -2
  626. package/node_modules/@mui/material/modern/Rating/Rating.js +131 -45
  627. package/node_modules/@mui/material/modern/Select/SelectInput.js +8 -8
  628. package/node_modules/@mui/material/modern/Slider/useSlider.js +2 -2
  629. package/node_modules/@mui/material/modern/Snackbar/Snackbar.js +116 -32
  630. package/node_modules/@mui/material/modern/SpeedDial/SpeedDial.js +40 -11
  631. package/node_modules/@mui/material/modern/SpeedDialAction/SpeedDialAction.js +109 -31
  632. package/node_modules/@mui/material/modern/StepLabel/StepLabel.js +14 -5
  633. package/node_modules/@mui/material/modern/SwipeableDrawer/SwipeArea.js +1 -0
  634. package/node_modules/@mui/material/modern/SwipeableDrawer/SwipeableDrawer.js +60 -13
  635. package/node_modules/@mui/material/modern/Switch/Switch.js +73 -9
  636. package/node_modules/@mui/material/modern/Tabs/Tabs.js +124 -52
  637. package/node_modules/@mui/material/modern/Tabs/tabsClasses.js +1 -1
  638. package/node_modules/@mui/material/modern/TextField/TextField.js +22 -11
  639. package/node_modules/@mui/material/modern/TextareaAutosize/TextareaAutosize.js +68 -47
  640. package/node_modules/@mui/material/modern/Tooltip/Tooltip.js +1 -1
  641. package/node_modules/@mui/material/modern/index.js +1 -1
  642. package/node_modules/@mui/material/modern/internal/SwitchBase.js +88 -31
  643. package/node_modules/@mui/material/modern/styles/ThemeProvider.js +20 -9
  644. package/node_modules/@mui/material/modern/styles/components.js +1 -0
  645. package/node_modules/@mui/material/modern/styles/createThemeNoVars.js +5 -2
  646. package/node_modules/@mui/material/modern/styles/overrides.js +1 -0
  647. package/node_modules/@mui/material/modern/styles/props.js +1 -0
  648. package/node_modules/@mui/material/modern/styles/shouldSkipGeneratingVar.js +1 -1
  649. package/node_modules/@mui/material/modern/styles/variants.js +1 -0
  650. package/node_modules/@mui/material/modern/useAutocomplete/useAutocomplete.js +16 -14
  651. package/node_modules/@mui/material/modern/useScrollTrigger/useScrollTrigger.js +3 -0
  652. package/node_modules/@mui/material/modern/utils/mergeSlotProps.js +10 -3
  653. package/node_modules/@mui/material/modern/version/index.js +3 -3
  654. package/node_modules/@mui/material/node/Accordion/Accordion.js +18 -6
  655. package/node_modules/@mui/material/node/AccordionSummary/AccordionSummary.js +67 -16
  656. package/node_modules/@mui/material/node/Autocomplete/Autocomplete.js +1 -1
  657. package/node_modules/@mui/material/node/AvatarGroup/AvatarGroup.js +10 -2
  658. package/node_modules/@mui/material/node/Badge/Badge.js +27 -20
  659. package/node_modules/@mui/material/node/BottomNavigationAction/BottomNavigationAction.js +53 -9
  660. package/node_modules/@mui/material/node/Breadcrumbs/BreadcrumbCollapsed.js +3 -1
  661. package/node_modules/@mui/material/node/Button/Button.js +3 -3
  662. package/node_modules/@mui/material/node/CardActionArea/CardActionArea.js +47 -8
  663. package/node_modules/@mui/material/node/Checkbox/Checkbox.js +51 -21
  664. package/node_modules/@mui/material/node/ClickAwayListener/ClickAwayListener.js +3 -3
  665. package/node_modules/@mui/material/node/Drawer/Drawer.js +108 -36
  666. package/node_modules/@mui/material/node/Grid2/Grid2.js +2 -2
  667. package/node_modules/@mui/material/node/IconButton/IconButton.js +3 -3
  668. package/node_modules/@mui/material/node/ListItemText/ListItemText.js +14 -5
  669. package/node_modules/@mui/material/node/Menu/Menu.js +58 -19
  670. package/node_modules/@mui/material/node/MobileStepper/MobileStepper.js +76 -18
  671. package/node_modules/@mui/material/node/Modal/Modal.js +9 -10
  672. package/node_modules/@mui/material/node/NativeSelect/NativeSelectInput.js +6 -2
  673. package/node_modules/@mui/material/node/NoSsr/NoSsr.js +2 -2
  674. package/node_modules/@mui/material/node/OutlinedInput/NotchedOutline.js +2 -0
  675. package/node_modules/@mui/material/node/OutlinedInput/OutlinedInput.js +30 -10
  676. package/node_modules/@mui/material/node/OverridableComponent/index.js +5 -0
  677. package/node_modules/@mui/material/node/PigmentContainer/PigmentContainer.js +2 -2
  678. package/node_modules/@mui/material/node/PigmentGrid/PigmentGrid.js +2 -2
  679. package/node_modules/@mui/material/node/PigmentHidden/PigmentHidden.js +2 -2
  680. package/node_modules/@mui/material/node/PigmentStack/PigmentStack.js +2 -2
  681. package/node_modules/@mui/material/node/Popover/Popover.js +79 -52
  682. package/node_modules/@mui/material/node/Popper/Popper.js +4 -4
  683. package/node_modules/@mui/material/node/Portal/Portal.js +2 -2
  684. package/node_modules/@mui/material/node/Radio/Radio.js +61 -16
  685. package/node_modules/@mui/material/node/Radio/RadioButtonIcon.js +7 -2
  686. package/node_modules/@mui/material/node/Rating/Rating.js +132 -46
  687. package/node_modules/@mui/material/node/Select/SelectInput.js +8 -8
  688. package/node_modules/@mui/material/node/Slider/useSlider.js +2 -2
  689. package/node_modules/@mui/material/node/Snackbar/Snackbar.js +116 -32
  690. package/node_modules/@mui/material/node/SpeedDial/SpeedDial.js +40 -11
  691. package/node_modules/@mui/material/node/SpeedDialAction/SpeedDialAction.js +109 -31
  692. package/node_modules/@mui/material/node/StepLabel/StepLabel.js +14 -5
  693. package/node_modules/@mui/material/node/SwipeableDrawer/SwipeArea.js +1 -0
  694. package/node_modules/@mui/material/node/SwipeableDrawer/SwipeableDrawer.js +60 -13
  695. package/node_modules/@mui/material/node/Switch/Switch.js +73 -9
  696. package/node_modules/@mui/material/node/Tabs/Tabs.js +124 -52
  697. package/node_modules/@mui/material/node/Tabs/tabsClasses.js +1 -1
  698. package/node_modules/@mui/material/node/TextField/TextField.js +22 -11
  699. package/node_modules/@mui/material/node/TextareaAutosize/TextareaAutosize.js +67 -46
  700. package/node_modules/@mui/material/node/Tooltip/Tooltip.js +1 -1
  701. package/node_modules/@mui/material/node/index.js +1 -1
  702. package/node_modules/@mui/material/node/internal/SwitchBase.js +88 -31
  703. package/node_modules/@mui/material/node/styles/ThemeProvider.js +20 -9
  704. package/node_modules/@mui/material/node/styles/components.js +5 -0
  705. package/node_modules/@mui/material/node/styles/createThemeNoVars.js +5 -2
  706. package/node_modules/@mui/material/node/styles/overrides.js +5 -0
  707. package/node_modules/@mui/material/node/styles/props.js +5 -0
  708. package/node_modules/@mui/material/node/styles/shouldSkipGeneratingVar.js +1 -1
  709. package/node_modules/@mui/material/node/styles/variants.js +5 -0
  710. package/node_modules/@mui/material/node/useAutocomplete/useAutocomplete.js +16 -14
  711. package/node_modules/@mui/material/node/useScrollTrigger/useScrollTrigger.js +3 -0
  712. package/node_modules/@mui/material/node/utils/mergeSlotProps.js +10 -3
  713. package/node_modules/@mui/material/node/version/index.js +3 -3
  714. package/node_modules/@mui/material/package.json +6 -6
  715. package/node_modules/@mui/material/styles/ThemeProvider.d.ts +6 -0
  716. package/node_modules/@mui/material/styles/ThemeProvider.js +20 -9
  717. package/node_modules/@mui/material/styles/ThemeProviderWithVars.d.ts +1 -0
  718. package/node_modules/@mui/material/styles/components.d.ts +590 -591
  719. package/node_modules/@mui/material/styles/components.js +1 -0
  720. package/node_modules/@mui/material/styles/createThemeNoVars.d.ts +2 -1
  721. package/node_modules/@mui/material/styles/createThemeNoVars.js +5 -2
  722. package/node_modules/@mui/material/styles/index.d.ts +1 -0
  723. package/node_modules/@mui/material/styles/overrides.d.ts +123 -142
  724. package/node_modules/@mui/material/styles/overrides.js +1 -0
  725. package/node_modules/@mui/material/styles/props.d.ts +120 -122
  726. package/node_modules/@mui/material/styles/props.js +1 -0
  727. package/node_modules/@mui/material/styles/shouldSkipGeneratingVar.js +1 -1
  728. package/node_modules/@mui/material/styles/variants.d.ts +7 -10
  729. package/node_modules/@mui/material/styles/variants.js +1 -0
  730. package/node_modules/@mui/material/useAutocomplete/useAutocomplete.d.ts +2 -2
  731. package/node_modules/@mui/material/useAutocomplete/useAutocomplete.js +16 -14
  732. package/node_modules/@mui/material/useScrollTrigger/useScrollTrigger.d.ts +1 -1
  733. package/node_modules/@mui/material/useScrollTrigger/useScrollTrigger.js +3 -0
  734. package/node_modules/@mui/material/utils/mergeSlotProps.js +10 -3
  735. package/node_modules/@mui/material/version/index.js +3 -3
  736. package/node_modules/@mui/private-theming/CHANGELOG.md +256 -0
  737. package/node_modules/@mui/private-theming/index.js +1 -1
  738. package/node_modules/@mui/private-theming/modern/index.js +1 -1
  739. package/node_modules/@mui/private-theming/node/index.js +1 -1
  740. package/node_modules/@mui/private-theming/package.json +2 -2
  741. package/node_modules/@mui/styled-engine/CHANGELOG.md +387 -0
  742. package/node_modules/@mui/styled-engine/README.md +2 -2
  743. package/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.d.ts +1 -0
  744. package/node_modules/@mui/styled-engine/StyledEngineProvider/StyledEngineProvider.js +72 -18
  745. package/node_modules/@mui/styled-engine/index.js +1 -1
  746. package/node_modules/@mui/styled-engine/modern/StyledEngineProvider/StyledEngineProvider.js +72 -18
  747. package/node_modules/@mui/styled-engine/modern/index.js +1 -1
  748. package/node_modules/@mui/styled-engine/node/StyledEngineProvider/StyledEngineProvider.js +72 -17
  749. package/node_modules/@mui/styled-engine/node/index.js +1 -1
  750. package/node_modules/@mui/styled-engine/package.json +1 -1
  751. package/node_modules/@mui/system/CHANGELOG.md +345 -0
  752. package/node_modules/@mui/system/GlobalStyles/GlobalStyles.js +25 -1
  753. package/node_modules/@mui/system/Grid/createGrid.js +4 -0
  754. package/node_modules/@mui/system/Grid/deleteLegacyGridProps.d.ts +11 -0
  755. package/node_modules/@mui/system/Grid/deleteLegacyGridProps.js +47 -0
  756. package/node_modules/@mui/system/README.md +6 -4
  757. package/node_modules/@mui/system/ThemeProvider/ThemeProvider.js +4 -2
  758. package/node_modules/@mui/system/ThemeProvider/useLayerOrder.d.ts +8 -0
  759. package/node_modules/@mui/system/ThemeProvider/useLayerOrder.js +58 -0
  760. package/node_modules/@mui/system/createBreakpoints/createBreakpoints.d.ts +5 -5
  761. package/node_modules/@mui/system/createStyled/createStyled.js +34 -21
  762. package/node_modules/@mui/system/cssContainerQueries/cssContainerQueries.d.ts +1 -2
  763. package/node_modules/@mui/system/cssVars/createCssVarsProvider.d.ts +6 -0
  764. package/node_modules/@mui/system/cssVars/createCssVarsProvider.js +7 -0
  765. package/node_modules/@mui/system/cssVars/index.d.ts +1 -0
  766. package/node_modules/@mui/system/cssVars/localStorageManager.d.ts +34 -0
  767. package/node_modules/@mui/system/cssVars/localStorageManager.js +57 -0
  768. package/node_modules/@mui/system/cssVars/useCurrentColorScheme.d.ts +2 -0
  769. package/node_modules/@mui/system/cssVars/useCurrentColorScheme.js +50 -69
  770. package/node_modules/@mui/system/esm/GlobalStyles/GlobalStyles.js +26 -2
  771. package/node_modules/@mui/system/esm/Grid/createGrid.js +4 -0
  772. package/node_modules/@mui/system/esm/Grid/deleteLegacyGridProps.js +41 -0
  773. package/node_modules/@mui/system/esm/ThemeProvider/ThemeProvider.js +5 -3
  774. package/node_modules/@mui/system/esm/ThemeProvider/useLayerOrder.js +52 -0
  775. package/node_modules/@mui/system/esm/createStyled/createStyled.js +35 -22
  776. package/node_modules/@mui/system/esm/cssVars/createCssVarsProvider.js +7 -0
  777. package/node_modules/@mui/system/esm/cssVars/localStorageManager.js +51 -0
  778. package/node_modules/@mui/system/esm/cssVars/useCurrentColorScheme.js +49 -69
  779. package/node_modules/@mui/system/esm/styleFunctionSx/AliasesCSSProperties.js +1 -0
  780. package/node_modules/@mui/system/esm/styleFunctionSx/OverwriteCSSProperties.js +1 -0
  781. package/node_modules/@mui/system/esm/styleFunctionSx/StandardCssProperties.js +1 -0
  782. package/node_modules/@mui/system/esm/styleFunctionSx/styleFunctionSx.js +9 -2
  783. package/node_modules/@mui/system/esm/useMediaQuery/useMediaQuery.js +3 -0
  784. package/node_modules/@mui/system/esm/version/index.js +3 -3
  785. package/node_modules/@mui/system/index.js +1 -1
  786. package/node_modules/@mui/system/modern/GlobalStyles/GlobalStyles.js +26 -2
  787. package/node_modules/@mui/system/modern/Grid/createGrid.js +4 -0
  788. package/node_modules/@mui/system/modern/Grid/deleteLegacyGridProps.js +41 -0
  789. package/node_modules/@mui/system/modern/ThemeProvider/ThemeProvider.js +5 -3
  790. package/node_modules/@mui/system/modern/ThemeProvider/useLayerOrder.js +52 -0
  791. package/node_modules/@mui/system/modern/createStyled/createStyled.js +35 -22
  792. package/node_modules/@mui/system/modern/cssVars/createCssVarsProvider.js +7 -0
  793. package/node_modules/@mui/system/modern/cssVars/localStorageManager.js +51 -0
  794. package/node_modules/@mui/system/modern/cssVars/useCurrentColorScheme.js +49 -69
  795. package/node_modules/@mui/system/modern/index.js +1 -1
  796. package/node_modules/@mui/system/modern/styleFunctionSx/AliasesCSSProperties.js +1 -0
  797. package/node_modules/@mui/system/modern/styleFunctionSx/OverwriteCSSProperties.js +1 -0
  798. package/node_modules/@mui/system/modern/styleFunctionSx/StandardCssProperties.js +1 -0
  799. package/node_modules/@mui/system/modern/styleFunctionSx/styleFunctionSx.js +9 -2
  800. package/node_modules/@mui/system/modern/useMediaQuery/useMediaQuery.js +3 -0
  801. package/node_modules/@mui/system/modern/version/index.js +3 -3
  802. package/node_modules/@mui/system/package.json +5 -5
  803. package/node_modules/@mui/system/styleFunctionSx/AliasesCSSProperties.d.ts +266 -267
  804. package/node_modules/@mui/system/styleFunctionSx/AliasesCSSProperties.js +5 -0
  805. package/node_modules/@mui/system/styleFunctionSx/OverwriteCSSProperties.d.ts +51 -52
  806. package/node_modules/@mui/system/styleFunctionSx/OverwriteCSSProperties.js +5 -0
  807. package/node_modules/@mui/system/styleFunctionSx/StandardCssProperties.d.ts +0 -1
  808. package/node_modules/@mui/system/styleFunctionSx/StandardCssProperties.js +5 -0
  809. package/node_modules/@mui/system/styleFunctionSx/styleFunctionSx.js +9 -2
  810. package/node_modules/@mui/system/useMediaQuery/useMediaQuery.js +3 -0
  811. package/node_modules/@mui/system/version/index.js +3 -3
  812. package/node_modules/@mui/types/package.json +1 -1
  813. package/node_modules/@mui/utils/CHANGELOG.md +256 -0
  814. package/node_modules/@mui/utils/esm/useForkRef/useForkRef.js +32 -12
  815. package/node_modules/@mui/utils/index.js +1 -1
  816. package/node_modules/@mui/utils/modern/index.js +1 -1
  817. package/node_modules/@mui/utils/modern/useForkRef/useForkRef.js +32 -12
  818. package/node_modules/@mui/utils/package.json +3 -3
  819. package/node_modules/@mui/utils/useForkRef/useForkRef.d.ts +1 -2
  820. package/node_modules/@mui/utils/useForkRef/useForkRef.js +32 -13
  821. package/package.json +24 -24
  822. package/node_modules/@babel/parser/index.cjs +0 -5
  823. package/node_modules/@babel/traverse/lib/scope/traverseForScope.js +0 -68
  824. package/node_modules/@babel/traverse/lib/scope/traverseForScope.js.map +0 -1
  825. package/node_modules/@babel/traverse/node_modules/globals/globals.json +0 -1563
  826. package/node_modules/@babel/traverse/node_modules/globals/index.js +0 -2
  827. package/node_modules/@babel/traverse/node_modules/globals/license +0 -9
  828. package/node_modules/@babel/traverse/node_modules/globals/package.json +0 -41
  829. package/node_modules/@babel/traverse/node_modules/globals/readme.md +0 -41
  830. package/node_modules/@emotion/cache/dist/declarations/types/index.d.ts +0 -45
  831. package/node_modules/@emotion/cache/src/index.d.ts +0 -2
  832. package/node_modules/@emotion/cache/types/index.d.ts +0 -45
  833. package/node_modules/@emotion/react/dist/declarations/dist/emotion-react.cjs.d.ts +0 -2
  834. package/node_modules/@emotion/react/dist/declarations/types/helper.d.ts +0 -14
  835. package/node_modules/@emotion/react/dist/declarations/types/index.d.ts +0 -115
  836. package/node_modules/@emotion/react/dist/declarations/types/jsx-dev-runtime.d.ts +0 -1
  837. package/node_modules/@emotion/react/dist/declarations/types/jsx-namespace.d.ts +0 -102
  838. package/node_modules/@emotion/react/dist/declarations/types/jsx-runtime.d.ts +0 -1
  839. package/node_modules/@emotion/react/dist/declarations/types/theming.d.ts +0 -31
  840. package/node_modules/@emotion/react/src/_isolated-hnrs.d.ts +0 -3
  841. package/node_modules/@emotion/react/src/css.js +0 -8
  842. package/node_modules/@emotion/react/src/global.js +0 -145
  843. package/node_modules/@emotion/react/src/index.d.ts +0 -1
  844. package/node_modules/@emotion/react/src/jsx-dev-runtime.d.ts +0 -1
  845. package/node_modules/@emotion/react/src/jsx-runtime.d.ts +0 -1
  846. package/node_modules/@emotion/react/src/jsx-runtime.js +0 -21
  847. package/node_modules/@emotion/react/src/jsx.js +0 -25
  848. package/node_modules/@emotion/react/src/keyframes.js +0 -23
  849. package/node_modules/@emotion/react/types/index.d.ts +0 -115
  850. package/node_modules/@emotion/react/types/jsx-dev-runtime.d.ts +0 -1
  851. package/node_modules/@emotion/react/types/jsx-namespace.d.ts +0 -102
  852. package/node_modules/@emotion/react/types/jsx-runtime.d.ts +0 -1
  853. package/node_modules/@emotion/react/types/theming.d.ts +0 -31
  854. package/node_modules/@emotion/styled/dist/declarations/types/base.d.ts +0 -197
  855. package/node_modules/@emotion/styled/dist/declarations/types/index.d.ts +0 -33
  856. package/node_modules/@emotion/styled/src/base.d.ts +0 -2
  857. package/node_modules/@emotion/styled/src/index.d.ts +0 -2
  858. package/node_modules/@emotion/styled/src/index.js +0 -11
  859. package/node_modules/@emotion/styled/src/utils.js +0 -86
  860. package/node_modules/@emotion/styled/types/jsx-namespace.d.ts +0 -14
  861. package/node_modules/@emotion/use-insertion-effect-with-fallbacks/src/index.js +0 -15
  862. package/node_modules/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts +0 -12
  863. package/node_modules/@jridgewell/set-array/LICENSE +0 -19
  864. package/node_modules/@jridgewell/set-array/README.md +0 -37
  865. package/node_modules/@jridgewell/set-array/dist/set-array.mjs +0 -69
  866. package/node_modules/@jridgewell/set-array/dist/set-array.mjs.map +0 -1
  867. package/node_modules/@jridgewell/set-array/dist/set-array.umd.js +0 -83
  868. package/node_modules/@jridgewell/set-array/dist/set-array.umd.js.map +0 -1
  869. package/node_modules/@jridgewell/set-array/package.json +0 -65
  870. package/node_modules/@jridgewell/trace-mapping/dist/types/any-map.d.ts +0 -8
  871. package/node_modules/@jridgewell/trace-mapping/dist/types/resolve.d.ts +0 -1
  872. package/node_modules/@mui/material/OverridableComponent.d.ts +0 -67
  873. /package/node_modules/@emotion/cache/src/conditions/{false.js → false.ts} +0 -0
  874. /package/node_modules/@emotion/cache/src/conditions/{is-browser.js → is-browser.ts} +0 -0
  875. /package/node_modules/@emotion/cache/src/conditions/{true.js → true.ts} +0 -0
  876. /package/node_modules/@emotion/react/src/conditions/{false.js → false.ts} +0 -0
  877. /package/node_modules/@emotion/react/src/conditions/{is-browser.js → is-browser.ts} +0 -0
  878. /package/node_modules/@emotion/react/src/conditions/{true.js → true.ts} +0 -0
  879. /package/node_modules/@emotion/react/{types/helper.d.ts → src/types.ts} +0 -0
  880. /package/node_modules/@emotion/react/src/{utils.js → utils.ts} +0 -0
  881. /package/node_modules/@emotion/styled/src/conditions/{false.js → false.ts} +0 -0
  882. /package/node_modules/@emotion/styled/src/conditions/{is-browser.js → is-browser.ts} +0 -0
  883. /package/node_modules/@emotion/styled/src/conditions/{true.js → true.ts} +0 -0
  884. /package/node_modules/@emotion/use-insertion-effect-with-fallbacks/src/conditions/{false.js → false.ts} +0 -0
  885. /package/node_modules/@emotion/use-insertion-effect-with-fallbacks/src/conditions/{is-browser.js → is-browser.ts} +0 -0
  886. /package/node_modules/@emotion/use-insertion-effect-with-fallbacks/src/conditions/{true.js → true.ts} +0 -0
@@ -1 +1 @@
1
- {"version":3,"names":["_buffer","require","n","_t","_tokenMap","generatorFunctions","isExpression","isFunction","isStatement","isClassBody","isTSInterfaceBody","isTSEnumDeclaration","SCIENTIFIC_NOTATION","ZERO_DECIMAL_INTEGER","HAS_NEWLINE","HAS_NEWLINE_OR_BlOCK_COMMENT_END","commentIsNewline","c","type","test","value","needsParens","Printer","constructor","format","map","tokens","originalCode","inForStatementInit","tokenContext","_tokens","_originalCode","_currentNode","_indent","_indentRepeat","_insideAux","_noLineTerminator","_noLineTerminatorAfterNode","_printAuxAfterOnNextUserNode","_printedComments","Set","_endsWithInteger","_endsWithWord","_endsWithDiv","_lastCommentLine","_endsWithInnerRaw","_indentInnerComments","tokenMap","_boundGetRawIdentifier","_getRawIdentifier","bind","_printSemicolonBeforeNextNode","_printSemicolonBeforeNextToken","indent","style","length","_inputMap","_buf","Buffer","enterForStatementInit","enterDelimited","oldInForStatementInit","oldNoLineTerminatorAfterNode","generate","ast","preserveFormat","TokenMap","print","_maybeAddAuxComment","get","compact","concise","dedent","semicolon","force","_appendChar","node","start","end","endMatches","getCurrentLine","indexes","getIndexes","_catchUpTo","loc","_queue","rightBrace","minified","removeLastSemicolon","sourceWithOffset","token","rightParens","space","_space","hasContent","lastCp","getLastChar","word","str","noLineTerminatorAfter","_maybePrintInnerComments","_catchUpToCurrentToken","charCodeAt","_append","number","isNonDecimalLiteral","secondChar","Number","isInteger","maybeNewline","occurrenceCount","lastChar","strFirst","tokenChar","char","String","fromCharCode","newline","i","retainLines","getNewlineCount","j","_newline","endsWith","endsWithCharAndNewline","removeTrailingNewline","exactSource","cb","_catchUp","source","prop","columnOffset","sourceIdentifierName","identifierName","pos","_canMarkIdName","sourcePosition","_sourcePosition","identifierNamePos","findMatching","appendChar","_maybeIndent","append","queue","firstChar","queueIndentation","_getIndent","_shouldIndent","catchUp","line","count","column","index","spacesCount","getCurrentColumn","spaces","slice","replace","repeat","printTerminatorless","trailingCommentsLineOffset","_node$extra","_node$leadingComments","_node$leadingComments2","nodeType","oldConcise","_compact","printMethod","undefined","ReferenceError","JSON","stringify","name","parent","oldInAux","parenthesized","extra","shouldPrintParens","retainFunctionParens","leadingComments","parentType","callee","indentParenthesized","some","oldInForStatementInitWasTrue","isLastChild","_node$trailingComment","trailingComments","_printLeadingComments","_printTrailingComments","enteredPositionlessNode","_printAuxBeforeComment","_printAuxAfterComment","comment","auxiliaryCommentBefore","_printComment","auxiliaryCommentAfter","getPossibleRaw","raw","rawValue","printJoin","nodes","statement","separator","printTrailingSeparator","addNewlines","iterator","_nodes$0$loc","startLine","newlineOpts","nextNodeStartLine","boundSeparator","len","_printNewline","_node$trailingComment2","_nextNode$loc","nextNode","printAndIndentOnComments","printBlock","body","lineOffset","innerComments","_printComments","comments","nextTokenStr","nextTokenOccurrenceCount","_this$tokenMap","printInnerComments","nextToken","hasSpace","printedCommentsCount","size","noIndentInnerCommentsHere","printSequence","printList","items","commaSeparator","shouldPrintTrailingComma","listEnd","listEndIndex","findLastIndex","matchesOriginal","newLine","opts","lastCommentLine","offset","_shouldPrintComment","ignore","has","commentTok","find","add","shouldPrintComment","skipNewLines","noLineTerminator","isBlockComment","printNewLines","lastCharCode","val","adjustMultilineComment","_comment$loc","newlineRegex","RegExp","indentSize","nodeLoc","hasLoc","nodeStartLine","nodeEndLine","lastLine","leadingCommentNewline","shouldPrint","commentStartLine","commentEndLine","Math","max","min","singleLine","shouldSkipNewline","properties","Object","assign","prototype","Noop","_default","exports","default","last"],"sources":["../src/printer.ts"],"sourcesContent":["import Buffer, { type Pos } from \"./buffer.ts\";\nimport type { Loc } from \"./buffer.ts\";\nimport * as n from \"./node/index.ts\";\nimport type * as t from \"@babel/types\";\nimport {\n isExpression,\n isFunction,\n isStatement,\n isClassBody,\n isTSInterfaceBody,\n isTSEnumDeclaration,\n} from \"@babel/types\";\nimport type { Opts as jsescOptions } from \"jsesc\";\n\nimport { TokenMap } from \"./token-map.ts\";\nimport type { GeneratorOptions } from \"./index.ts\";\nimport * as generatorFunctions from \"./generators/index.ts\";\nimport type SourceMap from \"./source-map.ts\";\nimport type { TraceMap } from \"@jridgewell/trace-mapping\";\nimport type { Token } from \"@babel/parser\";\n\n// We inline this package\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport * as charCodes from \"charcodes\";\n\nconst SCIENTIFIC_NOTATION = /e/i;\nconst ZERO_DECIMAL_INTEGER = /\\.0+$/;\nconst HAS_NEWLINE = /[\\n\\r\\u2028\\u2029]/;\nconst HAS_NEWLINE_OR_BlOCK_COMMENT_END = /[\\n\\r\\u2028\\u2029]|\\*\\//;\n\nfunction commentIsNewline(c: t.Comment) {\n return c.type === \"CommentLine\" || HAS_NEWLINE.test(c.value);\n}\n\nconst { needsParens } = n;\n\nconst enum COMMENT_TYPE {\n LEADING,\n INNER,\n TRAILING,\n}\n\nconst enum COMMENT_SKIP_NEWLINE {\n DEFAULT,\n ALL,\n LEADING,\n TRAILING,\n}\n\nconst enum PRINT_COMMENT_HINT {\n SKIP,\n ALLOW,\n DEFER,\n}\n\nexport type Format = {\n shouldPrintComment: (comment: string) => boolean;\n preserveFormat: boolean;\n retainLines: boolean;\n retainFunctionParens: boolean;\n comments: boolean;\n auxiliaryCommentBefore: string;\n auxiliaryCommentAfter: string;\n compact: boolean | \"auto\";\n minified: boolean;\n concise: boolean;\n indent: {\n adjustMultilineComment: boolean;\n style: string;\n };\n /**\n * @deprecated Removed in Babel 8, syntax type is always 'hash'\n */\n recordAndTupleSyntaxType?: GeneratorOptions[\"recordAndTupleSyntaxType\"];\n jsescOption: jsescOptions;\n /**\n * @deprecated Removed in Babel 8, use `jsescOption` instead\n */\n jsonCompatibleStrings?: boolean;\n /**\n * For use with the Hack-style pipe operator.\n * Changes what token is used for pipe bodies’ topic references.\n */\n topicToken?: GeneratorOptions[\"topicToken\"];\n /**\n * @deprecated Removed in Babel 8\n */\n decoratorsBeforeExport?: boolean;\n /**\n * The import attributes syntax style:\n * - \"with\" : `import { a } from \"b\" with { type: \"json\" };`\n * - \"assert\" : `import { a } from \"b\" assert { type: \"json\" };`\n * - \"with-legacy\" : `import { a } from \"b\" with type: \"json\";`\n */\n importAttributesKeyword?: \"with\" | \"assert\" | \"with-legacy\";\n};\n\ninterface AddNewlinesOptions {\n addNewlines(leading: boolean, node: t.Node): number;\n nextNodeStartLine: number;\n}\n\ninterface PrintSequenceOptions extends Partial<AddNewlinesOptions> {\n statement?: boolean;\n indent?: boolean;\n trailingCommentsLineOffset?: number;\n}\n\ninterface PrintListOptions {\n separator?: (this: Printer, occurrenceCount: number, last: boolean) => void;\n iterator?: (node: t.Node, index: number) => void;\n statement?: boolean;\n indent?: boolean;\n printTrailingSeparator?: boolean;\n}\n\nexport type PrintJoinOptions = PrintListOptions & PrintSequenceOptions;\nclass Printer {\n constructor(\n format: Format,\n map: SourceMap,\n tokens?: Token[],\n originalCode?: string,\n ) {\n this.format = format;\n\n this._tokens = tokens;\n this._originalCode = originalCode;\n\n this._indentRepeat = format.indent.style.length;\n\n this._inputMap = map?._inputMap;\n\n this._buf = new Buffer(map, format.indent.style[0]);\n }\n declare _inputMap: TraceMap;\n\n declare format: Format;\n\n inForStatementInit: boolean = false;\n enterForStatementInit() {\n if (this.inForStatementInit) return () => {};\n this.inForStatementInit = true;\n return () => {\n this.inForStatementInit = false;\n };\n }\n\n enterDelimited() {\n const oldInForStatementInit = this.inForStatementInit;\n const oldNoLineTerminatorAfterNode = this._noLineTerminatorAfterNode;\n if (\n oldInForStatementInit === false &&\n oldNoLineTerminatorAfterNode === null\n ) {\n return () => {};\n }\n this.inForStatementInit = false;\n this._noLineTerminatorAfterNode = null;\n return () => {\n this.inForStatementInit = oldInForStatementInit;\n this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode;\n };\n }\n\n tokenContext: number = 0;\n\n _tokens: Token[] = null;\n _originalCode: string | null = null;\n\n declare _buf: Buffer;\n _currentNode: t.Node = null;\n _indent: number = 0;\n _indentRepeat: number = 0;\n _insideAux: boolean = false;\n _noLineTerminator: boolean = false;\n _noLineTerminatorAfterNode: t.Node | null = null;\n _printAuxAfterOnNextUserNode: boolean = false;\n _printedComments = new Set<t.Comment>();\n _endsWithInteger = false;\n _endsWithWord = false;\n _endsWithDiv = false;\n _lastCommentLine = 0;\n _endsWithInnerRaw: boolean = false;\n _indentInnerComments: boolean = true;\n tokenMap: TokenMap = null;\n\n _boundGetRawIdentifier = this._getRawIdentifier.bind(this);\n\n generate(ast: t.Node) {\n if (this.format.preserveFormat) {\n this.tokenMap = new TokenMap(ast, this._tokens, this._originalCode);\n }\n this.print(ast);\n this._maybeAddAuxComment();\n\n return this._buf.get();\n }\n\n /**\n * Increment indent size.\n */\n\n indent(): void {\n const { format } = this;\n if (format.preserveFormat || format.compact || format.concise) {\n return;\n }\n\n this._indent++;\n }\n\n /**\n * Decrement indent size.\n */\n\n dedent(): void {\n const { format } = this;\n if (format.preserveFormat || format.compact || format.concise) {\n return;\n }\n\n this._indent--;\n }\n\n /**\n * If the next token is on the same line, we must first print a semicolon.\n * This option is only used in `preserveFormat` node, for semicolons that\n * might have omitted due to them being absent in the original code (thanks\n * to ASI).\n *\n * We need both *NextToken and *NextNode because we only want to insert the\n * semicolon when the next token starts a new node, and not in cases like\n * foo} (where } is not starting a new node). So we first set *NextNode, and\n * then the print() method will move it to *NextToken.\n */\n _printSemicolonBeforeNextNode: number = -1;\n _printSemicolonBeforeNextToken: number = -1;\n\n /**\n * Add a semicolon to the buffer.\n */\n semicolon(force: boolean = false): void {\n this._maybeAddAuxComment();\n if (force) {\n this._appendChar(charCodes.semicolon);\n this._noLineTerminator = false;\n return;\n }\n if (this.tokenMap) {\n const node = this._currentNode;\n if (node.start != null && node.end != null) {\n if (!this.tokenMap.endMatches(node, \";\")) {\n // no semicolon\n this._printSemicolonBeforeNextNode = this._buf.getCurrentLine();\n return;\n }\n const indexes = this.tokenMap.getIndexes(this._currentNode);\n this._catchUpTo(this._tokens[indexes[indexes.length - 1]].loc.start);\n }\n }\n this._queue(charCodes.semicolon);\n this._noLineTerminator = false;\n }\n\n /**\n * Add a right brace to the buffer.\n */\n\n rightBrace(node: t.Node): void {\n if (this.format.minified) {\n this._buf.removeLastSemicolon();\n }\n this.sourceWithOffset(\"end\", node.loc, -1);\n this.token(\"}\");\n }\n\n rightParens(node: t.Node): void {\n this.sourceWithOffset(\"end\", node.loc, -1);\n this.token(\")\");\n }\n\n /**\n * Add a space to the buffer unless it is compact.\n */\n\n space(force: boolean = false): void {\n const { format } = this;\n if (format.compact || format.preserveFormat) return;\n\n if (force) {\n this._space();\n } else if (this._buf.hasContent()) {\n const lastCp = this.getLastChar();\n if (lastCp !== charCodes.space && lastCp !== charCodes.lineFeed) {\n this._space();\n }\n }\n }\n\n /**\n * Writes a token that can't be safely parsed without taking whitespace into account.\n */\n\n word(str: string, noLineTerminatorAfter: boolean = false): void {\n this.tokenContext = 0;\n\n this._maybePrintInnerComments(str);\n\n this._maybeAddAuxComment();\n\n if (this.tokenMap) this._catchUpToCurrentToken(str);\n\n // prevent concatenating words and creating // comment out of division and regex\n if (\n this._endsWithWord ||\n (this._endsWithDiv && str.charCodeAt(0) === charCodes.slash)\n ) {\n this._space();\n }\n this._append(str, false);\n\n this._endsWithWord = true;\n this._noLineTerminator = noLineTerminatorAfter;\n }\n\n /**\n * Writes a number token so that we can validate if it is an integer.\n */\n\n number(str: string, number?: number): void {\n // const NON_DECIMAL_LITERAL = /^0[box]/;\n function isNonDecimalLiteral(str: string) {\n if (str.length > 2 && str.charCodeAt(0) === charCodes.digit0) {\n const secondChar = str.charCodeAt(1);\n return (\n secondChar === charCodes.lowercaseB ||\n secondChar === charCodes.lowercaseO ||\n secondChar === charCodes.lowercaseX\n );\n }\n return false;\n }\n this.word(str);\n\n // Integer tokens need special handling because they cannot have '.'s inserted\n // immediately after them.\n this._endsWithInteger =\n Number.isInteger(number) &&\n !isNonDecimalLiteral(str) &&\n !SCIENTIFIC_NOTATION.test(str) &&\n !ZERO_DECIMAL_INTEGER.test(str) &&\n str.charCodeAt(str.length - 1) !== charCodes.dot;\n }\n\n /**\n * Writes a simple token.\n *\n * @param {string} str The string to append.\n * @param {boolean} [maybeNewline=false] Wether `str` might potentially\n * contain a line terminator or not.\n * @param {number} [occurrenceCount=0] The occurrence count of this token in\n * the current node. This is used when printing in `preserveFormat` mode,\n * to know which token we should map to (for example, to disambiguate the\n * commas in an array literal).\n */\n token(str: string, maybeNewline = false, occurrenceCount = 0): void {\n this.tokenContext = 0;\n\n this._maybePrintInnerComments(str, occurrenceCount);\n\n this._maybeAddAuxComment();\n\n if (this.tokenMap) this._catchUpToCurrentToken(str, occurrenceCount);\n\n const lastChar = this.getLastChar();\n const strFirst = str.charCodeAt(0);\n if (\n (lastChar === charCodes.exclamationMark &&\n // space is mandatory to avoid outputting <!--\n // http://javascript.spec.whatwg.org/#comment-syntax\n (str === \"--\" ||\n // Needs spaces to avoid changing a! == 0 to a!== 0\n strFirst === charCodes.equalsTo)) ||\n // Need spaces for operators of the same kind to avoid: `a+++b`\n (strFirst === charCodes.plusSign && lastChar === charCodes.plusSign) ||\n (strFirst === charCodes.dash && lastChar === charCodes.dash) ||\n // Needs spaces to avoid changing '34' to '34.', which would still be a valid number.\n (strFirst === charCodes.dot && this._endsWithInteger)\n ) {\n this._space();\n }\n this._append(str, maybeNewline);\n this._noLineTerminator = false;\n }\n\n tokenChar(char: number): void {\n this.tokenContext = 0;\n\n const str = String.fromCharCode(char);\n this._maybePrintInnerComments(str);\n\n this._maybeAddAuxComment();\n\n if (this.tokenMap) this._catchUpToCurrentToken(str);\n\n const lastChar = this.getLastChar();\n if (\n // Need spaces for operators of the same kind to avoid: `a+++b`\n (char === charCodes.plusSign && lastChar === charCodes.plusSign) ||\n (char === charCodes.dash && lastChar === charCodes.dash) ||\n // Needs spaces to avoid changing '34' to '34.', which would still be a valid number.\n (char === charCodes.dot && this._endsWithInteger)\n ) {\n this._space();\n }\n this._appendChar(char);\n this._noLineTerminator = false;\n }\n\n /**\n * Add a newline (or many newlines), maintaining formatting.\n * This function checks the number of newlines in the queue and subtracts them.\n * It currently has some limitations.\n * @see {Buffer#getNewlineCount}\n */\n newline(i: number = 1, force?: boolean): void {\n if (i <= 0) return;\n\n if (!force) {\n if (this.format.retainLines || this.format.compact) return;\n\n if (this.format.concise) {\n this.space();\n return;\n }\n }\n\n if (i > 2) i = 2; // Max two lines\n\n i -= this._buf.getNewlineCount();\n\n for (let j = 0; j < i; j++) {\n this._newline();\n }\n\n return;\n }\n\n endsWith(char: number): boolean {\n return this.getLastChar() === char;\n }\n\n getLastChar(): number {\n return this._buf.getLastChar();\n }\n\n endsWithCharAndNewline(): number {\n return this._buf.endsWithCharAndNewline();\n }\n\n removeTrailingNewline(): void {\n this._buf.removeTrailingNewline();\n }\n\n exactSource(loc: Loc | undefined, cb: () => void) {\n if (!loc) {\n cb();\n return;\n }\n\n this._catchUp(\"start\", loc);\n\n this._buf.exactSource(loc, cb);\n }\n\n source(prop: \"start\" | \"end\", loc: Loc | undefined): void {\n if (!loc) return;\n\n this._catchUp(prop, loc);\n\n this._buf.source(prop, loc);\n }\n\n sourceWithOffset(\n prop: \"start\" | \"end\",\n loc: Loc | undefined,\n columnOffset: number,\n ): void {\n if (!loc || this.format.preserveFormat) return;\n\n this._catchUp(prop, loc);\n\n this._buf.sourceWithOffset(prop, loc, columnOffset);\n }\n\n sourceIdentifierName(identifierName: string, pos?: Pos): void {\n if (!this._buf._canMarkIdName) return;\n\n const sourcePosition = this._buf._sourcePosition;\n sourcePosition.identifierNamePos = pos;\n sourcePosition.identifierName = identifierName;\n }\n\n _space(): void {\n this._queue(charCodes.space);\n }\n\n _newline(): void {\n this._queue(charCodes.lineFeed);\n }\n\n _catchUpToCurrentToken(str: string, occurrenceCount: number = 0): void {\n // Assert: this.tokenMap\n\n const token = this.tokenMap.findMatching(\n this._currentNode,\n str,\n occurrenceCount,\n );\n if (token) this._catchUpTo(token.loc.start);\n\n if (\n this._printSemicolonBeforeNextToken !== -1 &&\n this._printSemicolonBeforeNextToken === this._buf.getCurrentLine()\n ) {\n this._buf.appendChar(charCodes.semicolon);\n this._endsWithWord = false;\n this._endsWithInteger = false;\n this._endsWithDiv = false;\n }\n this._printSemicolonBeforeNextToken = -1;\n this._printSemicolonBeforeNextNode = -1;\n }\n\n _append(str: string, maybeNewline: boolean): void {\n this._maybeIndent(str.charCodeAt(0));\n\n this._buf.append(str, maybeNewline);\n\n // callers are expected to then set these to `true` when needed\n this._endsWithWord = false;\n this._endsWithInteger = false;\n this._endsWithDiv = false;\n }\n\n _appendChar(char: number): void {\n this._maybeIndent(char);\n\n this._buf.appendChar(char);\n\n // callers are expected to then set these to `true` when needed\n this._endsWithWord = false;\n this._endsWithInteger = false;\n this._endsWithDiv = false;\n }\n\n _queue(char: number) {\n this._maybeIndent(char);\n\n this._buf.queue(char);\n\n this._endsWithWord = false;\n this._endsWithInteger = false;\n }\n\n _maybeIndent(firstChar: number): void {\n // we've got a newline before us so prepend on the indentation\n if (\n this._indent &&\n firstChar !== charCodes.lineFeed &&\n this.endsWith(charCodes.lineFeed)\n ) {\n this._buf.queueIndentation(this._getIndent());\n }\n }\n\n _shouldIndent(firstChar: number) {\n // we've got a newline before us so prepend on the indentation\n if (\n this._indent &&\n firstChar !== charCodes.lineFeed &&\n this.endsWith(charCodes.lineFeed)\n ) {\n return true;\n }\n }\n\n catchUp(line: number) {\n if (!this.format.retainLines) return;\n\n // catch up to this nodes newline if we're behind\n const count = line - this._buf.getCurrentLine();\n\n for (let i = 0; i < count; i++) {\n this._newline();\n }\n }\n\n _catchUp(prop: \"start\" | \"end\", loc?: Loc) {\n const { format } = this;\n if (!format.preserveFormat) {\n if (format.retainLines && loc?.[prop]) {\n this.catchUp(loc[prop].line);\n }\n return;\n }\n\n // catch up to this nodes newline if we're behind\n const pos = loc?.[prop];\n if (pos != null) this._catchUpTo(pos);\n }\n\n _catchUpTo({ line, column, index }: Pos) {\n const count = line - this._buf.getCurrentLine();\n if (count > 0 && this._noLineTerminator) {\n // We cannot inject new lines when _noLineTemrinator is set\n // to `true`, or we would generate invalid code.\n return;\n }\n\n for (let i = 0; i < count; i++) {\n this._newline();\n }\n\n const spacesCount =\n count > 0 ? column : column - this._buf.getCurrentColumn();\n if (spacesCount > 0) {\n const spaces = this._originalCode\n ? this._originalCode\n .slice(index - spacesCount, index)\n // https://tc39.es/ecma262/#sec-white-space\n .replace(/[^\\t\\v\\f\\uFEFF\\p{Space_Separator}]/gu, \" \")\n : \" \".repeat(spacesCount);\n this._append(spaces, false);\n }\n }\n\n /**\n * Get the current indent.\n */\n\n _getIndent(): number {\n return this._indentRepeat * this._indent;\n }\n\n printTerminatorless(node: t.Node) {\n /**\n * Set some state that will be modified if a newline has been inserted before any\n * non-space characters.\n *\n * This is to prevent breaking semantics for terminatorless separator nodes. eg:\n *\n * return foo;\n *\n * returns `foo`. But if we do:\n *\n * return\n * foo;\n *\n * `undefined` will be returned and not `foo` due to the terminator.\n */\n this._noLineTerminator = true;\n this.print(node);\n }\n\n print(\n node: t.Node | null,\n noLineTerminatorAfter?: boolean,\n // trailingCommentsLineOffset also used to check if called from printJoin\n // it will be ignored if `noLineTerminatorAfter||this._noLineTerminator`\n trailingCommentsLineOffset?: number,\n ) {\n if (!node) return;\n\n this._endsWithInnerRaw = false;\n\n const nodeType = node.type;\n const format = this.format;\n\n const oldConcise = format.concise;\n if (\n // @ts-expect-error document _compact AST properties\n node._compact\n ) {\n format.concise = true;\n }\n\n const printMethod =\n this[\n nodeType as Exclude<\n t.Node[\"type\"],\n // removed\n | \"Noop\"\n // renamed\n | t.DeprecatedAliases[\"type\"]\n >\n ];\n if (printMethod === undefined) {\n throw new ReferenceError(\n `unknown node of type ${JSON.stringify(\n nodeType,\n )} with constructor ${JSON.stringify(node.constructor.name)}`,\n );\n }\n\n const parent = this._currentNode;\n this._currentNode = node;\n\n if (this.tokenMap) {\n this._printSemicolonBeforeNextToken = this._printSemicolonBeforeNextNode;\n }\n\n const oldInAux = this._insideAux;\n this._insideAux = node.loc == null;\n this._maybeAddAuxComment(this._insideAux && !oldInAux);\n\n const parenthesized = node.extra?.parenthesized as boolean | undefined;\n let shouldPrintParens =\n (parenthesized && format.preserveFormat) ||\n (parenthesized &&\n format.retainFunctionParens &&\n nodeType === \"FunctionExpression\") ||\n needsParens(\n node,\n parent,\n this.tokenContext,\n this.inForStatementInit,\n format.preserveFormat ? this._boundGetRawIdentifier : undefined,\n );\n\n if (\n !shouldPrintParens &&\n parenthesized &&\n node.leadingComments?.length &&\n node.leadingComments[0].type === \"CommentBlock\"\n ) {\n const parentType = parent?.type;\n switch (parentType) {\n case \"ExpressionStatement\":\n case \"VariableDeclarator\":\n case \"AssignmentExpression\":\n case \"ReturnStatement\":\n break;\n case \"CallExpression\":\n case \"OptionalCallExpression\":\n case \"NewExpression\":\n if (parent.callee !== node) break;\n // falls through\n default:\n shouldPrintParens = true;\n }\n }\n\n let indentParenthesized = false;\n if (\n !shouldPrintParens &&\n this._noLineTerminator &&\n (node.leadingComments?.some(commentIsNewline) ||\n (this.format.retainLines &&\n node.loc &&\n node.loc.start.line > this._buf.getCurrentLine()))\n ) {\n shouldPrintParens = true;\n indentParenthesized = true;\n }\n\n let oldNoLineTerminatorAfterNode;\n let oldInForStatementInitWasTrue;\n if (!shouldPrintParens) {\n noLineTerminatorAfter ||=\n parent &&\n this._noLineTerminatorAfterNode === parent &&\n n.isLastChild(parent, node);\n if (noLineTerminatorAfter) {\n if (node.trailingComments?.some(commentIsNewline)) {\n if (isExpression(node)) shouldPrintParens = true;\n } else {\n oldNoLineTerminatorAfterNode = this._noLineTerminatorAfterNode;\n this._noLineTerminatorAfterNode = node;\n }\n }\n }\n\n if (shouldPrintParens) {\n this.token(\"(\");\n if (indentParenthesized) this.indent();\n this._endsWithInnerRaw = false;\n if (this.inForStatementInit) {\n oldInForStatementInitWasTrue = true;\n this.inForStatementInit = false;\n }\n oldNoLineTerminatorAfterNode = this._noLineTerminatorAfterNode;\n this._noLineTerminatorAfterNode = null;\n }\n\n this._lastCommentLine = 0;\n\n this._printLeadingComments(node, parent);\n\n const loc = nodeType === \"Program\" || nodeType === \"File\" ? null : node.loc;\n\n this.exactSource(\n loc,\n // @ts-expect-error Expected 1 arguments, but got 3.\n printMethod.bind(this, node, parent),\n );\n\n if (shouldPrintParens) {\n this._printTrailingComments(node, parent);\n if (indentParenthesized) {\n this.dedent();\n this.newline();\n }\n this.token(\")\");\n this._noLineTerminator = noLineTerminatorAfter;\n if (oldInForStatementInitWasTrue) this.inForStatementInit = true;\n } else if (noLineTerminatorAfter && !this._noLineTerminator) {\n this._noLineTerminator = true;\n this._printTrailingComments(node, parent);\n } else {\n this._printTrailingComments(node, parent, trailingCommentsLineOffset);\n }\n\n // end\n this._currentNode = parent;\n format.concise = oldConcise;\n this._insideAux = oldInAux;\n\n if (oldNoLineTerminatorAfterNode !== undefined) {\n this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode;\n }\n\n this._endsWithInnerRaw = false;\n }\n\n _maybeAddAuxComment(enteredPositionlessNode?: boolean) {\n if (enteredPositionlessNode) this._printAuxBeforeComment();\n if (!this._insideAux) this._printAuxAfterComment();\n }\n\n _printAuxBeforeComment() {\n if (this._printAuxAfterOnNextUserNode) return;\n this._printAuxAfterOnNextUserNode = true;\n\n const comment = this.format.auxiliaryCommentBefore;\n if (comment) {\n this._printComment(\n {\n type: \"CommentBlock\",\n value: comment,\n },\n COMMENT_SKIP_NEWLINE.DEFAULT,\n );\n }\n }\n\n _printAuxAfterComment() {\n if (!this._printAuxAfterOnNextUserNode) return;\n this._printAuxAfterOnNextUserNode = false;\n\n const comment = this.format.auxiliaryCommentAfter;\n if (comment) {\n this._printComment(\n {\n type: \"CommentBlock\",\n value: comment,\n },\n COMMENT_SKIP_NEWLINE.DEFAULT,\n );\n }\n }\n\n getPossibleRaw(\n node:\n | t.StringLiteral\n | t.NumericLiteral\n | t.BigIntLiteral\n | t.DirectiveLiteral\n | t.JSXText,\n ): string | undefined {\n const extra = node.extra;\n if (\n extra?.raw != null &&\n extra.rawValue != null &&\n node.value === extra.rawValue\n ) {\n // @ts-expect-error: The extra.raw of these AST node types must be a string\n return extra.raw;\n }\n }\n\n printJoin(\n nodes: Array<t.Node> | undefined | null,\n statement?: boolean,\n indent?: boolean,\n separator?: PrintJoinOptions[\"separator\"],\n printTrailingSeparator?: boolean,\n addNewlines?: PrintJoinOptions[\"addNewlines\"],\n iterator?: PrintJoinOptions[\"iterator\"],\n trailingCommentsLineOffset?: number,\n ) {\n if (!nodes?.length) return;\n\n if (indent == null && this.format.retainLines) {\n const startLine = nodes[0].loc?.start.line;\n if (startLine != null && startLine !== this._buf.getCurrentLine()) {\n indent = true;\n }\n }\n\n if (indent) this.indent();\n\n const newlineOpts: AddNewlinesOptions = {\n addNewlines: addNewlines,\n nextNodeStartLine: 0,\n };\n\n const boundSeparator = separator?.bind(this);\n\n const len = nodes.length;\n for (let i = 0; i < len; i++) {\n const node = nodes[i];\n if (!node) continue;\n\n if (statement) this._printNewline(i === 0, newlineOpts);\n\n this.print(node, undefined, trailingCommentsLineOffset || 0);\n\n iterator?.(node, i);\n\n if (boundSeparator != null) {\n if (i < len - 1) boundSeparator(i, false);\n else if (printTrailingSeparator) boundSeparator(i, true);\n }\n\n if (statement) {\n if (!node.trailingComments?.length) {\n this._lastCommentLine = 0;\n }\n\n if (i + 1 === len) {\n this.newline(1);\n } else {\n const nextNode = nodes[i + 1];\n newlineOpts.nextNodeStartLine = nextNode.loc?.start.line || 0;\n\n this._printNewline(true, newlineOpts);\n }\n }\n }\n\n if (indent) this.dedent();\n }\n\n printAndIndentOnComments(node: t.Node) {\n const indent = node.leadingComments && node.leadingComments.length > 0;\n if (indent) this.indent();\n this.print(node);\n if (indent) this.dedent();\n }\n\n printBlock(parent: Extract<t.Node, { body: t.Statement }>) {\n const node = parent.body;\n\n if (node.type !== \"EmptyStatement\") {\n this.space();\n }\n\n this.print(node);\n }\n\n _printTrailingComments(node: t.Node, parent?: t.Node, lineOffset?: number) {\n const { innerComments, trailingComments } = node;\n // We print inner comments here, so that if for some reason they couldn't\n // be printed in earlier locations they are still printed *somewhere*,\n // even if at the end of the node.\n if (innerComments?.length) {\n this._printComments(\n COMMENT_TYPE.TRAILING,\n innerComments,\n node,\n parent,\n lineOffset,\n );\n }\n if (trailingComments?.length) {\n this._printComments(\n COMMENT_TYPE.TRAILING,\n trailingComments,\n node,\n parent,\n lineOffset,\n );\n }\n }\n\n _printLeadingComments(node: t.Node, parent: t.Node) {\n const comments = node.leadingComments;\n if (!comments?.length) return;\n this._printComments(COMMENT_TYPE.LEADING, comments, node, parent);\n }\n\n _maybePrintInnerComments(\n nextTokenStr: string,\n nextTokenOccurrenceCount?: number,\n ) {\n if (this._endsWithInnerRaw) {\n this.printInnerComments(\n this.tokenMap?.findMatching(\n this._currentNode,\n nextTokenStr,\n nextTokenOccurrenceCount,\n ),\n );\n }\n this._endsWithInnerRaw = true;\n this._indentInnerComments = true;\n }\n\n printInnerComments(nextToken?: Token) {\n const node = this._currentNode;\n const comments = node.innerComments;\n if (!comments?.length) return;\n\n const hasSpace = this.endsWith(charCodes.space);\n const indent = this._indentInnerComments;\n const printedCommentsCount = this._printedComments.size;\n if (indent) this.indent();\n this._printComments(\n COMMENT_TYPE.INNER,\n comments,\n node,\n undefined,\n undefined,\n nextToken,\n );\n if (hasSpace && printedCommentsCount !== this._printedComments.size) {\n this.space();\n }\n if (indent) this.dedent();\n }\n\n noIndentInnerCommentsHere() {\n this._indentInnerComments = false;\n }\n\n printSequence(\n nodes: t.Node[],\n indent?: boolean,\n trailingCommentsLineOffset?: number,\n addNewlines?: PrintSequenceOptions[\"addNewlines\"],\n ) {\n this.printJoin(\n nodes,\n true,\n indent ?? false,\n undefined,\n undefined,\n addNewlines,\n undefined,\n trailingCommentsLineOffset,\n );\n }\n\n printList(\n items: t.Node[],\n printTrailingSeparator?: boolean,\n statement?: boolean,\n indent?: boolean,\n separator?: PrintListOptions[\"separator\"],\n iterator?: PrintListOptions[\"iterator\"],\n ) {\n this.printJoin(\n items,\n statement,\n indent,\n separator ?? commaSeparator,\n printTrailingSeparator,\n undefined,\n iterator,\n );\n }\n\n shouldPrintTrailingComma(listEnd: string): boolean | null {\n if (!this.tokenMap) return null;\n\n const listEndIndex = this.tokenMap.findLastIndex(this._currentNode, token =>\n this.tokenMap.matchesOriginal(token, listEnd),\n );\n if (listEndIndex <= 0) return null;\n return this.tokenMap.matchesOriginal(this._tokens[listEndIndex - 1], \",\");\n }\n\n _printNewline(newLine: boolean, opts: AddNewlinesOptions) {\n const format = this.format;\n\n // Fast path since 'this.newline' does nothing when not tracking lines.\n if (format.retainLines || format.compact) return;\n\n // Fast path for concise since 'this.newline' just inserts a space when\n // concise formatting is in use.\n if (format.concise) {\n this.space();\n return;\n }\n\n if (!newLine) {\n return;\n }\n\n const startLine = opts.nextNodeStartLine;\n const lastCommentLine = this._lastCommentLine;\n if (startLine > 0 && lastCommentLine > 0) {\n const offset = startLine - lastCommentLine;\n if (offset >= 0) {\n this.newline(offset || 1);\n return;\n }\n }\n\n // don't add newlines at the beginning of the file\n if (this._buf.hasContent()) {\n // Here is the logic of the original line wrapping according to the node layout, we are not using it now.\n // We currently add at most one newline to each node in the list, ignoring `opts.addNewlines`.\n\n // let lines = 0;\n // if (!leading) lines++; // always include at least a single line after\n // if (opts.addNewlines) lines += opts.addNewlines(leading, node) || 0;\n\n // const needs = leading ? needsWhitespaceBefore : needsWhitespaceAfter;\n // if (needs(node, parent)) lines++;\n\n // this.newline(Math.min(2, lines));\n\n this.newline(1);\n }\n }\n\n // Returns `PRINT_COMMENT_HINT.DEFER` if the comment cannot be printed in this position due to\n // line terminators, signaling that the print comments loop can stop and\n // resume printing comments at the next possible position. This happens when\n // printing inner comments, since if we have an inner comment with a multiline\n // there is at least one inner position where line terminators are allowed.\n _shouldPrintComment(\n comment: t.Comment,\n nextToken?: Token,\n ): PRINT_COMMENT_HINT {\n // Some plugins (such as flow-strip-types) use this to mark comments as removed using the AST-root 'comments' property,\n // where they can't manually mutate the AST node comment lists.\n if (comment.ignore) return PRINT_COMMENT_HINT.SKIP;\n\n if (this._printedComments.has(comment)) return PRINT_COMMENT_HINT.SKIP;\n\n if (\n this._noLineTerminator &&\n HAS_NEWLINE_OR_BlOCK_COMMENT_END.test(comment.value)\n ) {\n return PRINT_COMMENT_HINT.DEFER;\n }\n\n if (nextToken && this.tokenMap) {\n const commentTok = this.tokenMap.find(\n this._currentNode,\n token => token.value === comment.value,\n );\n if (commentTok && commentTok.start > nextToken.start) {\n return PRINT_COMMENT_HINT.DEFER;\n }\n }\n\n this._printedComments.add(comment);\n\n if (!this.format.shouldPrintComment(comment.value)) {\n return PRINT_COMMENT_HINT.SKIP;\n }\n\n return PRINT_COMMENT_HINT.ALLOW;\n }\n\n _printComment(comment: t.Comment, skipNewLines: COMMENT_SKIP_NEWLINE) {\n const noLineTerminator = this._noLineTerminator;\n const isBlockComment = comment.type === \"CommentBlock\";\n\n // Add a newline before and after a block comment, unless explicitly\n // disallowed\n const printNewLines =\n isBlockComment &&\n skipNewLines !== COMMENT_SKIP_NEWLINE.ALL &&\n !this._noLineTerminator;\n\n if (\n printNewLines &&\n this._buf.hasContent() &&\n skipNewLines !== COMMENT_SKIP_NEWLINE.LEADING\n ) {\n this.newline(1);\n }\n\n const lastCharCode = this.getLastChar();\n if (\n lastCharCode !== charCodes.leftSquareBracket &&\n lastCharCode !== charCodes.leftCurlyBrace &&\n lastCharCode !== charCodes.leftParenthesis\n ) {\n this.space();\n }\n\n let val;\n if (isBlockComment) {\n val = `/*${comment.value}*/`;\n if (this.format.indent.adjustMultilineComment) {\n const offset = comment.loc?.start.column;\n if (offset) {\n const newlineRegex = new RegExp(\"\\\\n\\\\s{1,\" + offset + \"}\", \"g\");\n val = val.replace(newlineRegex, \"\\n\");\n }\n if (this.format.concise) {\n val = val.replace(/\\n(?!$)/g, `\\n`);\n } else {\n let indentSize = this.format.retainLines\n ? 0\n : this._buf.getCurrentColumn();\n\n if (this._shouldIndent(charCodes.slash) || this.format.retainLines) {\n indentSize += this._getIndent();\n }\n\n val = val.replace(/\\n(?!$)/g, `\\n${\" \".repeat(indentSize)}`);\n }\n }\n } else if (!noLineTerminator) {\n val = `//${comment.value}`;\n } else {\n // It was a single-line comment, so it's guaranteed to not\n // contain newlines and it can be safely printed as a block\n // comment.\n val = `/*${comment.value}*/`;\n }\n\n // Avoid converting a / operator into a line comment by appending /* to it\n if (this._endsWithDiv) this._space();\n\n if (this.tokenMap) {\n const { _printSemicolonBeforeNextToken, _printSemicolonBeforeNextNode } =\n this;\n this._printSemicolonBeforeNextToken = -1;\n this._printSemicolonBeforeNextNode = -1;\n this.source(\"start\", comment.loc);\n this._append(val, isBlockComment);\n this._printSemicolonBeforeNextNode = _printSemicolonBeforeNextNode;\n this._printSemicolonBeforeNextToken = _printSemicolonBeforeNextToken;\n } else {\n this.source(\"start\", comment.loc);\n this._append(val, isBlockComment);\n }\n\n if (!isBlockComment && !noLineTerminator) {\n this.newline(1, true);\n }\n\n if (printNewLines && skipNewLines !== COMMENT_SKIP_NEWLINE.TRAILING) {\n this.newline(1);\n }\n }\n\n _printComments(\n type: COMMENT_TYPE,\n comments: readonly t.Comment[],\n node: t.Node,\n parent?: t.Node,\n lineOffset: number = 0,\n nextToken?: Token,\n ) {\n const nodeLoc = node.loc;\n const len = comments.length;\n let hasLoc = !!nodeLoc;\n const nodeStartLine = hasLoc ? nodeLoc.start.line : 0;\n const nodeEndLine = hasLoc ? nodeLoc.end.line : 0;\n let lastLine = 0;\n let leadingCommentNewline = 0;\n\n const maybeNewline = this._noLineTerminator\n ? function () {}\n : this.newline.bind(this);\n\n for (let i = 0; i < len; i++) {\n const comment = comments[i];\n\n const shouldPrint = this._shouldPrintComment(comment, nextToken);\n if (shouldPrint === PRINT_COMMENT_HINT.DEFER) {\n hasLoc = false;\n break;\n }\n if (hasLoc && comment.loc && shouldPrint === PRINT_COMMENT_HINT.ALLOW) {\n const commentStartLine = comment.loc.start.line;\n const commentEndLine = comment.loc.end.line;\n if (type === COMMENT_TYPE.LEADING) {\n let offset = 0;\n if (i === 0) {\n // Because currently we cannot handle blank lines before leading comments,\n // we always wrap before and after multi-line comments.\n if (\n this._buf.hasContent() &&\n (comment.type === \"CommentLine\" ||\n commentStartLine !== commentEndLine)\n ) {\n offset = leadingCommentNewline = 1;\n }\n } else {\n offset = commentStartLine - lastLine;\n }\n lastLine = commentEndLine;\n\n maybeNewline(offset);\n this._printComment(comment, COMMENT_SKIP_NEWLINE.ALL);\n\n if (i + 1 === len) {\n maybeNewline(\n Math.max(nodeStartLine - lastLine, leadingCommentNewline),\n );\n lastLine = nodeStartLine;\n }\n } else if (type === COMMENT_TYPE.INNER) {\n const offset =\n commentStartLine - (i === 0 ? nodeStartLine : lastLine);\n lastLine = commentEndLine;\n\n maybeNewline(offset);\n this._printComment(comment, COMMENT_SKIP_NEWLINE.ALL);\n\n if (i + 1 === len) {\n maybeNewline(Math.min(1, nodeEndLine - lastLine)); // TODO: Improve here when inner comments processing is stronger\n lastLine = nodeEndLine;\n }\n } else {\n const offset =\n commentStartLine - (i === 0 ? nodeEndLine - lineOffset : lastLine);\n lastLine = commentEndLine;\n\n maybeNewline(offset);\n this._printComment(comment, COMMENT_SKIP_NEWLINE.ALL);\n }\n } else {\n hasLoc = false;\n if (shouldPrint !== PRINT_COMMENT_HINT.ALLOW) {\n continue;\n }\n\n if (len === 1) {\n const singleLine = comment.loc\n ? comment.loc.start.line === comment.loc.end.line\n : !HAS_NEWLINE.test(comment.value);\n\n const shouldSkipNewline =\n singleLine &&\n !isStatement(node) &&\n !isClassBody(parent) &&\n !isTSInterfaceBody(parent) &&\n !isTSEnumDeclaration(parent);\n\n if (type === COMMENT_TYPE.LEADING) {\n this._printComment(\n comment,\n (shouldSkipNewline && node.type !== \"ObjectExpression\") ||\n (singleLine && isFunction(parent, { body: node }))\n ? COMMENT_SKIP_NEWLINE.ALL\n : COMMENT_SKIP_NEWLINE.DEFAULT,\n );\n } else if (shouldSkipNewline && type === COMMENT_TYPE.TRAILING) {\n this._printComment(comment, COMMENT_SKIP_NEWLINE.ALL);\n } else {\n this._printComment(comment, COMMENT_SKIP_NEWLINE.DEFAULT);\n }\n } else if (\n type === COMMENT_TYPE.INNER &&\n !(node.type === \"ObjectExpression\" && node.properties.length > 1) &&\n node.type !== \"ClassBody\" &&\n node.type !== \"TSInterfaceBody\"\n ) {\n // class X {\n // /*:: a: number*/\n // /*:: b: ?string*/\n // }\n\n this._printComment(\n comment,\n i === 0\n ? COMMENT_SKIP_NEWLINE.LEADING\n : i === len - 1\n ? COMMENT_SKIP_NEWLINE.TRAILING\n : COMMENT_SKIP_NEWLINE.DEFAULT,\n );\n } else {\n this._printComment(comment, COMMENT_SKIP_NEWLINE.DEFAULT);\n }\n }\n }\n\n if (type === COMMENT_TYPE.TRAILING && hasLoc && lastLine) {\n this._lastCommentLine = lastLine;\n }\n }\n}\n\n// Expose the node type functions and helpers on the prototype for easy usage.\nObject.assign(Printer.prototype, generatorFunctions);\n\nif (!process.env.BABEL_8_BREAKING) {\n // @ts-ignore(Babel 7 vs Babel 8) Babel 7 has Noop print method\n Printer.prototype.Noop = function Noop(this: Printer) {};\n}\n\ntype GeneratorFunctions = typeof generatorFunctions;\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\ninterface Printer extends GeneratorFunctions {}\nexport default Printer;\n\nfunction commaSeparator(this: Printer, occurrenceCount: number, last: boolean) {\n this.token(\",\", false, occurrenceCount);\n if (!last) this.space();\n}\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA,IAAAC,CAAA,GAAAD,OAAA;AAEA,IAAAE,EAAA,GAAAF,OAAA;AAUA,IAAAG,SAAA,GAAAH,OAAA;AAEA,IAAAI,kBAAA,GAAAJ,OAAA;AAA4D;EAX1DK,YAAY;EACZC,UAAU;EACVC,WAAW;EACXC,WAAW;EACXC,iBAAiB;EACjBC;AAAmB,IAAAR,EAAA;AAerB,MAAMS,mBAAmB,GAAG,IAAI;AAChC,MAAMC,oBAAoB,GAAG,OAAO;AACpC,MAAMC,WAAW,GAAG,oBAAoB;AACxC,MAAMC,gCAAgC,GAAG,yBAAyB;AAElE,SAASC,gBAAgBA,CAACC,CAAY,EAAE;EACtC,OAAOA,CAAC,CAACC,IAAI,KAAK,aAAa,IAAIJ,WAAW,CAACK,IAAI,CAACF,CAAC,CAACG,KAAK,CAAC;AAC9D;AAEA,MAAM;EAAEC;AAAY,CAAC,GAAGnB,CAAC;AAmFzB,MAAMoB,OAAO,CAAC;EACZC,WAAWA,CACTC,MAAc,EACdC,GAAc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I,CAACiL,aAAa,CAChBF,OAAO,EACP3E,CAAC,KAAK,CAAC,OAEHA,CAAC,KAAK8F,GAAG,GAAG,CAAC,QAGnB,CAAC;QACH,CAAC,MAAM;UACL,IAAI,CAACjB,aAAa,CAACF,OAAO,GAA8B,CAAC;QAC3D;MACF;IACF;IAEA,IAAI/K,IAAI,MAA0B,IAAIuP,MAAM,IAAIG,QAAQ,EAAE;MACxD,IAAI,CAAChO,gBAAgB,GAAGgO,QAAQ;IAClC;EACF;AACF;AAGAW,MAAM,CAACC,MAAM,CAAClQ,OAAO,CAACmQ,SAAS,EAAEpR,kBAAkB,CAAC;AAEjB;EAEjCiB,OAAO,CAACmQ,SAAS,CAACC,IAAI,GAAG,SAASA,IAAIA,CAAA,EAAgB,CAAC,CAAC;AAC1D;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAKcvQ,OAAO;AAEtB,SAASsN,cAAcA,CAAgB9H,eAAuB,EAAEgL,IAAa,EAAE;EAC7E,IAAI,CAACpM,KAAK,CAAC,GAAG,EAAE,KAAK,EAAEoB,eAAe,CAAC;EACvC,IAAI,CAACgL,IAAI,EAAE,IAAI,CAAClM,KAAK,CAAC,CAAC;AACzB","ignoreList":[]}
1
+ {"version":3,"names":["_buffer","require","_index","n","_t","_tokenMap","generatorFunctions","_deprecated","isExpression","isFunction","isStatement","isClassBody","isTSInterfaceBody","isTSEnumMember","SCIENTIFIC_NOTATION","ZERO_DECIMAL_INTEGER","HAS_NEWLINE","HAS_NEWLINE_OR_BlOCK_COMMENT_END","commentIsNewline","c","type","test","value","needsParens","Printer","constructor","format","map","tokens","originalCode","tokenContext","TokenContext","normal","_tokens","_originalCode","_currentNode","_indent","_indentRepeat","_insideAux","_noLineTerminator","_noLineTerminatorAfterNode","_printAuxAfterOnNextUserNode","_printedComments","Set","_endsWithInteger","_endsWithWord","_endsWithDiv","_lastCommentLine","_endsWithInnerRaw","_indentInnerComments","tokenMap","_boundGetRawIdentifier","_getRawIdentifier","bind","_printSemicolonBeforeNextNode","_printSemicolonBeforeNextToken","indent","style","length","_inputMap","_buf","Buffer","enterForStatementInit","forInitHead","forInOrInitHeadAccumulate","enterForXStatementInit","isForOf","forOfHead","forInHead","enterDelimited","oldTokenContext","oldNoLineTerminatorAfterNode","generate","ast","preserveFormat","TokenMap","print","_maybeAddAuxComment","get","compact","concise","dedent","semicolon","force","_appendChar","node","start","end","endMatches","getCurrentLine","indexes","getIndexes","_catchUpTo","loc","_queue","rightBrace","minified","removeLastSemicolon","sourceWithOffset","token","rightParens","space","_space","hasContent","lastCp","getLastChar","word","str","noLineTerminatorAfter","forInOrInitHeadAccumulatePassThroughMask","_maybePrintInnerComments","_catchUpToCurrentToken","charCodeAt","_append","number","isNonDecimalLiteral","secondChar","Number","isInteger","maybeNewline","occurrenceCount","lastChar","strFirst","tokenChar","char","String","fromCharCode","newline","i","retainLines","getNewlineCount","j","_newline","endsWith","endsWithCharAndNewline","removeTrailingNewline","exactSource","cb","_catchUp","source","prop","columnOffset","sourceIdentifierName","identifierName","pos","_canMarkIdName","sourcePosition","_sourcePosition","identifierNamePos","findMatching","appendChar","_maybeIndent","append","queue","firstChar","queueIndentation","_getIndent","_shouldIndent","catchUp","line","count","column","index","spacesCount","getCurrentColumn","spaces","slice","replace","repeat","printTerminatorless","trailingCommentsLineOffset","_node$extra","_node$leadingComments","_node$leadingComments2","nodeType","oldConcise","_compact","printMethod","undefined","ReferenceError","JSON","stringify","name","parent","oldInAux","parenthesized","extra","shouldPrintParens","retainFunctionParens","leadingComments","parentType","callee","indentParenthesized","some","isLastChild","_node$trailingComment","trailingComments","_printLeadingComments","_printTrailingComments","enteredPositionlessNode","_printAuxBeforeComment","_printAuxAfterComment","comment","auxiliaryCommentBefore","_printComment","auxiliaryCommentAfter","getPossibleRaw","raw","rawValue","printJoin","nodes","statement","separator","printTrailingSeparator","addNewlines","iterator","_nodes$0$loc","startLine","newlineOpts","nextNodeStartLine","boundSeparator","len","_printNewline","_node$trailingComment2","_nextNode$loc","nextNode","printAndIndentOnComments","printBlock","body","lineOffset","innerComments","_printComments","comments","nextTokenStr","nextTokenOccurrenceCount","_this$tokenMap","printInnerComments","nextToken","hasSpace","printedCommentsCount","size","noIndentInnerCommentsHere","printSequence","printList","items","commaSeparator","shouldPrintTrailingComma","listEnd","listEndIndex","findLastIndex","matchesOriginal","newLine","opts","lastCommentLine","offset","_shouldPrintComment","ignore","has","commentTok","find","add","shouldPrintComment","skipNewLines","noLineTerminator","isBlockComment","printNewLines","lastCharCode","val","adjustMultilineComment","_comment$loc","newlineRegex","RegExp","indentSize","nodeLoc","hasLoc","nodeStartLine","nodeEndLine","lastLine","leadingCommentNewline","shouldPrint","commentStartLine","commentEndLine","Math","max","min","singleLine","shouldSkipNewline","properties","Object","assign","prototype","addDeprecatedGenerators","_default","exports","default","last"],"sources":["../src/printer.ts"],"sourcesContent":["import Buffer, { type Pos } from \"./buffer.ts\";\nimport type { Loc } from \"./buffer.ts\";\nimport * as n from \"./node/index.ts\";\nimport type * as t from \"@babel/types\";\nimport {\n isExpression,\n isFunction,\n isStatement,\n isClassBody,\n isTSInterfaceBody,\n isTSEnumMember,\n} from \"@babel/types\";\nimport type { Opts as jsescOptions } from \"jsesc\";\n\nimport { TokenMap } from \"./token-map.ts\";\nimport type { GeneratorOptions } from \"./index.ts\";\nimport * as generatorFunctions from \"./generators/index.ts\";\nimport {\n addDeprecatedGenerators,\n type DeprecatedBabel7ASTTypes,\n} from \"./generators/deprecated.ts\";\nimport type SourceMap from \"./source-map.ts\";\nimport type { TraceMap } from \"@jridgewell/trace-mapping\";\nimport type { Token } from \"@babel/parser\";\n\n// We inline this package\n// eslint-disable-next-line import/no-extraneous-dependencies\nimport * as charCodes from \"charcodes\";\n\nconst SCIENTIFIC_NOTATION = /e/i;\nconst ZERO_DECIMAL_INTEGER = /\\.0+$/;\nconst HAS_NEWLINE = /[\\n\\r\\u2028\\u2029]/;\nconst HAS_NEWLINE_OR_BlOCK_COMMENT_END = /[\\n\\r\\u2028\\u2029]|\\*\\//;\n\nfunction commentIsNewline(c: t.Comment) {\n return c.type === \"CommentLine\" || HAS_NEWLINE.test(c.value);\n}\n\nconst { needsParens } = n;\n\nimport { TokenContext } from \"./node/index.ts\";\n\nconst enum COMMENT_TYPE {\n LEADING,\n INNER,\n TRAILING,\n}\n\nconst enum COMMENT_SKIP_NEWLINE {\n DEFAULT,\n ALL,\n LEADING,\n TRAILING,\n}\n\nconst enum PRINT_COMMENT_HINT {\n SKIP,\n ALLOW,\n DEFER,\n}\n\nexport type Format = {\n shouldPrintComment: (comment: string) => boolean;\n preserveFormat: boolean;\n retainLines: boolean;\n retainFunctionParens: boolean;\n comments: boolean;\n auxiliaryCommentBefore: string;\n auxiliaryCommentAfter: string;\n compact: boolean | \"auto\";\n minified: boolean;\n concise: boolean;\n indent: {\n adjustMultilineComment: boolean;\n style: string;\n };\n /**\n * @deprecated Removed in Babel 8, syntax type is always 'hash'\n */\n recordAndTupleSyntaxType?: GeneratorOptions[\"recordAndTupleSyntaxType\"];\n jsescOption: jsescOptions;\n /**\n * @deprecated Removed in Babel 8, use `jsescOption` instead\n */\n jsonCompatibleStrings?: boolean;\n /**\n * For use with the Hack-style pipe operator.\n * Changes what token is used for pipe bodies’ topic references.\n */\n topicToken?: GeneratorOptions[\"topicToken\"];\n /**\n * @deprecated Removed in Babel 8\n */\n decoratorsBeforeExport?: boolean;\n /**\n * The import attributes syntax style:\n * - \"with\" : `import { a } from \"b\" with { type: \"json\" };`\n * - \"assert\" : `import { a } from \"b\" assert { type: \"json\" };`\n * - \"with-legacy\" : `import { a } from \"b\" with type: \"json\";`\n */\n importAttributesKeyword?: \"with\" | \"assert\" | \"with-legacy\";\n};\n\ninterface AddNewlinesOptions {\n addNewlines(leading: boolean, node: t.Node): number;\n nextNodeStartLine: number;\n}\n\ninterface PrintSequenceOptions extends Partial<AddNewlinesOptions> {\n statement?: boolean;\n indent?: boolean;\n trailingCommentsLineOffset?: number;\n}\n\ninterface PrintListOptions {\n separator?: (this: Printer, occurrenceCount: number, last: boolean) => void;\n iterator?: (node: t.Node, index: number) => void;\n statement?: boolean;\n indent?: boolean;\n printTrailingSeparator?: boolean;\n}\n\nexport type PrintJoinOptions = PrintListOptions & PrintSequenceOptions;\nclass Printer {\n constructor(\n format: Format,\n map: SourceMap,\n tokens?: Token[],\n originalCode?: string,\n ) {\n this.format = format;\n\n this._tokens = tokens;\n this._originalCode = originalCode;\n\n this._indentRepeat = format.indent.style.length;\n\n this._inputMap = map?._inputMap;\n\n this._buf = new Buffer(map, format.indent.style[0]);\n }\n declare _inputMap: TraceMap;\n\n declare format: Format;\n\n enterForStatementInit() {\n this.tokenContext |=\n TokenContext.forInitHead | TokenContext.forInOrInitHeadAccumulate;\n return () => (this.tokenContext = TokenContext.normal);\n }\n\n enterForXStatementInit(isForOf: boolean) {\n if (isForOf) {\n this.tokenContext |= TokenContext.forOfHead;\n return null;\n } else {\n this.tokenContext |=\n TokenContext.forInHead | TokenContext.forInOrInitHeadAccumulate;\n return () => (this.tokenContext = TokenContext.normal);\n }\n }\n\n enterDelimited() {\n const oldTokenContext = this.tokenContext;\n const oldNoLineTerminatorAfterNode = this._noLineTerminatorAfterNode;\n if (\n !(oldTokenContext & TokenContext.forInOrInitHeadAccumulate) &&\n oldNoLineTerminatorAfterNode === null\n ) {\n return () => {};\n }\n this._noLineTerminatorAfterNode = null;\n this.tokenContext = TokenContext.normal;\n return () => {\n this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode;\n this.tokenContext = oldTokenContext;\n };\n }\n\n tokenContext: number = TokenContext.normal;\n\n _tokens: Token[] = null;\n _originalCode: string | null = null;\n\n declare _buf: Buffer;\n _currentNode: t.Node = null;\n _indent: number = 0;\n _indentRepeat: number = 0;\n _insideAux: boolean = false;\n _noLineTerminator: boolean = false;\n _noLineTerminatorAfterNode: t.Node | null = null;\n _printAuxAfterOnNextUserNode: boolean = false;\n _printedComments = new Set<t.Comment>();\n _endsWithInteger = false;\n _endsWithWord = false;\n _endsWithDiv = false;\n _lastCommentLine = 0;\n _endsWithInnerRaw: boolean = false;\n _indentInnerComments: boolean = true;\n tokenMap: TokenMap = null;\n\n _boundGetRawIdentifier = this._getRawIdentifier.bind(this);\n\n generate(ast: t.Node) {\n if (this.format.preserveFormat) {\n this.tokenMap = new TokenMap(ast, this._tokens, this._originalCode);\n }\n this.print(ast);\n this._maybeAddAuxComment();\n\n return this._buf.get();\n }\n\n /**\n * Increment indent size.\n */\n\n indent(): void {\n const { format } = this;\n if (format.preserveFormat || format.compact || format.concise) {\n return;\n }\n\n this._indent++;\n }\n\n /**\n * Decrement indent size.\n */\n\n dedent(): void {\n const { format } = this;\n if (format.preserveFormat || format.compact || format.concise) {\n return;\n }\n\n this._indent--;\n }\n\n /**\n * If the next token is on the same line, we must first print a semicolon.\n * This option is only used in `preserveFormat` node, for semicolons that\n * might have omitted due to them being absent in the original code (thanks\n * to ASI).\n *\n * We need both *NextToken and *NextNode because we only want to insert the\n * semicolon when the next token starts a new node, and not in cases like\n * foo} (where } is not starting a new node). So we first set *NextNode, and\n * then the print() method will move it to *NextToken.\n */\n _printSemicolonBeforeNextNode: number = -1;\n _printSemicolonBeforeNextToken: number = -1;\n\n /**\n * Add a semicolon to the buffer.\n */\n semicolon(force: boolean = false): void {\n this._maybeAddAuxComment();\n if (force) {\n this._appendChar(charCodes.semicolon);\n this._noLineTerminator = false;\n return;\n }\n if (this.tokenMap) {\n const node = this._currentNode;\n if (node.start != null && node.end != null) {\n if (!this.tokenMap.endMatches(node, \";\")) {\n // no semicolon\n this._printSemicolonBeforeNextNode = this._buf.getCurrentLine();\n return;\n }\n const indexes = this.tokenMap.getIndexes(this._currentNode);\n this._catchUpTo(this._tokens[indexes[indexes.length - 1]].loc.start);\n }\n }\n this._queue(charCodes.semicolon);\n this._noLineTerminator = false;\n }\n\n /**\n * Add a right brace to the buffer.\n */\n\n rightBrace(node: t.Node): void {\n if (this.format.minified) {\n this._buf.removeLastSemicolon();\n }\n this.sourceWithOffset(\"end\", node.loc, -1);\n this.token(\"}\");\n }\n\n rightParens(node: t.Node): void {\n this.sourceWithOffset(\"end\", node.loc, -1);\n this.token(\")\");\n }\n\n /**\n * Add a space to the buffer unless it is compact.\n */\n\n space(force: boolean = false): void {\n const { format } = this;\n if (format.compact || format.preserveFormat) return;\n\n if (force) {\n this._space();\n } else if (this._buf.hasContent()) {\n const lastCp = this.getLastChar();\n if (lastCp !== charCodes.space && lastCp !== charCodes.lineFeed) {\n this._space();\n }\n }\n }\n\n /**\n * Writes a token that can't be safely parsed without taking whitespace into account.\n */\n\n word(str: string, noLineTerminatorAfter: boolean = false): void {\n this.tokenContext &= TokenContext.forInOrInitHeadAccumulatePassThroughMask;\n\n this._maybePrintInnerComments(str);\n\n this._maybeAddAuxComment();\n\n if (this.tokenMap) this._catchUpToCurrentToken(str);\n\n // prevent concatenating words and creating // comment out of division and regex\n if (\n this._endsWithWord ||\n (this._endsWithDiv && str.charCodeAt(0) === charCodes.slash)\n ) {\n this._space();\n }\n this._append(str, false);\n\n this._endsWithWord = true;\n this._noLineTerminator = noLineTerminatorAfter;\n }\n\n /**\n * Writes a number token so that we can validate if it is an integer.\n */\n\n number(str: string, number?: number): void {\n // const NON_DECIMAL_LITERAL = /^0[box]/;\n function isNonDecimalLiteral(str: string) {\n if (str.length > 2 && str.charCodeAt(0) === charCodes.digit0) {\n const secondChar = str.charCodeAt(1);\n return (\n secondChar === charCodes.lowercaseB ||\n secondChar === charCodes.lowercaseO ||\n secondChar === charCodes.lowercaseX\n );\n }\n return false;\n }\n this.word(str);\n\n // Integer tokens need special handling because they cannot have '.'s inserted\n // immediately after them.\n this._endsWithInteger =\n Number.isInteger(number) &&\n !isNonDecimalLiteral(str) &&\n !SCIENTIFIC_NOTATION.test(str) &&\n !ZERO_DECIMAL_INTEGER.test(str) &&\n str.charCodeAt(str.length - 1) !== charCodes.dot;\n }\n\n /**\n * Writes a simple token.\n *\n * @param {string} str The string to append.\n * @param {boolean} [maybeNewline=false] Wether `str` might potentially\n * contain a line terminator or not.\n * @param {number} [occurrenceCount=0] The occurrence count of this token in\n * the current node. This is used when printing in `preserveFormat` mode,\n * to know which token we should map to (for example, to disambiguate the\n * commas in an array literal).\n */\n token(str: string, maybeNewline = false, occurrenceCount = 0): void {\n this.tokenContext &= TokenContext.forInOrInitHeadAccumulatePassThroughMask;\n\n this._maybePrintInnerComments(str, occurrenceCount);\n\n this._maybeAddAuxComment();\n\n if (this.tokenMap) this._catchUpToCurrentToken(str, occurrenceCount);\n\n const lastChar = this.getLastChar();\n const strFirst = str.charCodeAt(0);\n if (\n (lastChar === charCodes.exclamationMark &&\n // space is mandatory to avoid outputting <!--\n // http://javascript.spec.whatwg.org/#comment-syntax\n (str === \"--\" ||\n // Needs spaces to avoid changing a! == 0 to a!== 0\n strFirst === charCodes.equalsTo)) ||\n // Need spaces for operators of the same kind to avoid: `a+++b`\n (strFirst === charCodes.plusSign && lastChar === charCodes.plusSign) ||\n (strFirst === charCodes.dash && lastChar === charCodes.dash) ||\n // Needs spaces to avoid changing '34' to '34.', which would still be a valid number.\n (strFirst === charCodes.dot && this._endsWithInteger)\n ) {\n this._space();\n }\n this._append(str, maybeNewline);\n this._noLineTerminator = false;\n }\n\n tokenChar(char: number): void {\n this.tokenContext &= TokenContext.forInOrInitHeadAccumulatePassThroughMask;\n\n const str = String.fromCharCode(char);\n this._maybePrintInnerComments(str);\n\n this._maybeAddAuxComment();\n\n if (this.tokenMap) this._catchUpToCurrentToken(str);\n\n const lastChar = this.getLastChar();\n if (\n // Need spaces for operators of the same kind to avoid: `a+++b`\n (char === charCodes.plusSign && lastChar === charCodes.plusSign) ||\n (char === charCodes.dash && lastChar === charCodes.dash) ||\n // Needs spaces to avoid changing '34' to '34.', which would still be a valid number.\n (char === charCodes.dot && this._endsWithInteger)\n ) {\n this._space();\n }\n this._appendChar(char);\n this._noLineTerminator = false;\n }\n\n /**\n * Add a newline (or many newlines), maintaining formatting.\n * This function checks the number of newlines in the queue and subtracts them.\n * It currently has some limitations.\n * @see {Buffer#getNewlineCount}\n */\n newline(i: number = 1, force?: boolean): void {\n if (i <= 0) return;\n\n if (!force) {\n if (this.format.retainLines || this.format.compact) return;\n\n if (this.format.concise) {\n this.space();\n return;\n }\n }\n\n if (i > 2) i = 2; // Max two lines\n\n i -= this._buf.getNewlineCount();\n\n for (let j = 0; j < i; j++) {\n this._newline();\n }\n\n return;\n }\n\n endsWith(char: number): boolean {\n return this.getLastChar() === char;\n }\n\n getLastChar(): number {\n return this._buf.getLastChar();\n }\n\n endsWithCharAndNewline(): number {\n return this._buf.endsWithCharAndNewline();\n }\n\n removeTrailingNewline(): void {\n this._buf.removeTrailingNewline();\n }\n\n exactSource(loc: Loc | undefined, cb: () => void) {\n if (!loc) {\n cb();\n return;\n }\n\n this._catchUp(\"start\", loc);\n\n this._buf.exactSource(loc, cb);\n }\n\n source(prop: \"start\" | \"end\", loc: Loc | undefined): void {\n if (!loc) return;\n\n this._catchUp(prop, loc);\n\n this._buf.source(prop, loc);\n }\n\n sourceWithOffset(\n prop: \"start\" | \"end\",\n loc: Loc | undefined,\n columnOffset: number,\n ): void {\n if (!loc || this.format.preserveFormat) return;\n\n this._catchUp(prop, loc);\n\n this._buf.sourceWithOffset(prop, loc, columnOffset);\n }\n\n sourceIdentifierName(identifierName: string, pos?: Pos): void {\n if (!this._buf._canMarkIdName) return;\n\n const sourcePosition = this._buf._sourcePosition;\n sourcePosition.identifierNamePos = pos;\n sourcePosition.identifierName = identifierName;\n }\n\n _space(): void {\n this._queue(charCodes.space);\n }\n\n _newline(): void {\n this._queue(charCodes.lineFeed);\n }\n\n _catchUpToCurrentToken(str: string, occurrenceCount: number = 0): void {\n // Assert: this.tokenMap\n\n const token = this.tokenMap.findMatching(\n this._currentNode,\n str,\n occurrenceCount,\n );\n if (token) this._catchUpTo(token.loc.start);\n\n if (\n this._printSemicolonBeforeNextToken !== -1 &&\n this._printSemicolonBeforeNextToken === this._buf.getCurrentLine()\n ) {\n this._buf.appendChar(charCodes.semicolon);\n this._endsWithWord = false;\n this._endsWithInteger = false;\n this._endsWithDiv = false;\n }\n this._printSemicolonBeforeNextToken = -1;\n this._printSemicolonBeforeNextNode = -1;\n }\n\n _append(str: string, maybeNewline: boolean): void {\n this._maybeIndent(str.charCodeAt(0));\n\n this._buf.append(str, maybeNewline);\n\n // callers are expected to then set these to `true` when needed\n this._endsWithWord = false;\n this._endsWithInteger = false;\n this._endsWithDiv = false;\n }\n\n _appendChar(char: number): void {\n this._maybeIndent(char);\n\n this._buf.appendChar(char);\n\n // callers are expected to then set these to `true` when needed\n this._endsWithWord = false;\n this._endsWithInteger = false;\n this._endsWithDiv = false;\n }\n\n _queue(char: number) {\n this._maybeIndent(char);\n\n this._buf.queue(char);\n\n this._endsWithWord = false;\n this._endsWithInteger = false;\n }\n\n _maybeIndent(firstChar: number): void {\n // we've got a newline before us so prepend on the indentation\n if (\n this._indent &&\n firstChar !== charCodes.lineFeed &&\n this.endsWith(charCodes.lineFeed)\n ) {\n this._buf.queueIndentation(this._getIndent());\n }\n }\n\n _shouldIndent(firstChar: number) {\n // we've got a newline before us so prepend on the indentation\n if (\n this._indent &&\n firstChar !== charCodes.lineFeed &&\n this.endsWith(charCodes.lineFeed)\n ) {\n return true;\n }\n }\n\n catchUp(line: number) {\n if (!this.format.retainLines) return;\n\n // catch up to this nodes newline if we're behind\n const count = line - this._buf.getCurrentLine();\n\n for (let i = 0; i < count; i++) {\n this._newline();\n }\n }\n\n _catchUp(prop: \"start\" | \"end\", loc?: Loc) {\n const { format } = this;\n if (!format.preserveFormat) {\n if (format.retainLines && loc?.[prop]) {\n this.catchUp(loc[prop].line);\n }\n return;\n }\n\n // catch up to this nodes newline if we're behind\n const pos = loc?.[prop];\n if (pos != null) this._catchUpTo(pos);\n }\n\n _catchUpTo({ line, column, index }: Pos) {\n const count = line - this._buf.getCurrentLine();\n if (count > 0 && this._noLineTerminator) {\n // We cannot inject new lines when _noLineTemrinator is set\n // to `true`, or we would generate invalid code.\n return;\n }\n\n for (let i = 0; i < count; i++) {\n this._newline();\n }\n\n const spacesCount =\n count > 0 ? column : column - this._buf.getCurrentColumn();\n if (spacesCount > 0) {\n const spaces = this._originalCode\n ? this._originalCode\n .slice(index - spacesCount, index)\n // https://tc39.es/ecma262/#sec-white-space\n .replace(/[^\\t\\v\\f\\uFEFF\\p{Space_Separator}]/gu, \" \")\n : \" \".repeat(spacesCount);\n this._append(spaces, false);\n }\n }\n\n /**\n * Get the current indent.\n */\n\n _getIndent(): number {\n return this._indentRepeat * this._indent;\n }\n\n printTerminatorless(node: t.Node) {\n /**\n * Set some state that will be modified if a newline has been inserted before any\n * non-space characters.\n *\n * This is to prevent breaking semantics for terminatorless separator nodes. eg:\n *\n * return foo;\n *\n * returns `foo`. But if we do:\n *\n * return\n * foo;\n *\n * `undefined` will be returned and not `foo` due to the terminator.\n */\n this._noLineTerminator = true;\n this.print(node);\n }\n\n print(\n node: t.Node | null,\n noLineTerminatorAfter?: boolean,\n // trailingCommentsLineOffset also used to check if called from printJoin\n // it will be ignored if `noLineTerminatorAfter||this._noLineTerminator`\n trailingCommentsLineOffset?: number,\n ) {\n if (!node) return;\n\n this._endsWithInnerRaw = false;\n\n const nodeType = node.type;\n const format = this.format;\n\n const oldConcise = format.concise;\n if (\n // @ts-expect-error document _compact AST properties\n node._compact\n ) {\n format.concise = true;\n }\n\n const printMethod =\n this[\n nodeType as Exclude<\n t.Node[\"type\"],\n | DeprecatedBabel7ASTTypes\n // renamed\n | t.DeprecatedAliases[\"type\"]\n >\n ];\n if (printMethod === undefined) {\n throw new ReferenceError(\n `unknown node of type ${JSON.stringify(\n nodeType,\n )} with constructor ${JSON.stringify(node.constructor.name)}`,\n );\n }\n\n const parent = this._currentNode;\n this._currentNode = node;\n\n if (this.tokenMap) {\n this._printSemicolonBeforeNextToken = this._printSemicolonBeforeNextNode;\n }\n\n const oldInAux = this._insideAux;\n this._insideAux = node.loc == null;\n this._maybeAddAuxComment(this._insideAux && !oldInAux);\n\n const parenthesized = node.extra?.parenthesized as boolean | undefined;\n let shouldPrintParens =\n (parenthesized && format.preserveFormat) ||\n (parenthesized &&\n format.retainFunctionParens &&\n nodeType === \"FunctionExpression\") ||\n needsParens(\n node,\n parent,\n this.tokenContext,\n format.preserveFormat ? this._boundGetRawIdentifier : undefined,\n );\n\n if (\n !shouldPrintParens &&\n parenthesized &&\n node.leadingComments?.length &&\n node.leadingComments[0].type === \"CommentBlock\"\n ) {\n const parentType = parent?.type;\n switch (parentType) {\n case \"ExpressionStatement\":\n case \"VariableDeclarator\":\n case \"AssignmentExpression\":\n case \"ReturnStatement\":\n break;\n case \"CallExpression\":\n case \"OptionalCallExpression\":\n case \"NewExpression\":\n if (parent.callee !== node) break;\n // falls through\n default:\n shouldPrintParens = true;\n }\n }\n\n let indentParenthesized = false;\n if (\n !shouldPrintParens &&\n this._noLineTerminator &&\n (node.leadingComments?.some(commentIsNewline) ||\n (this.format.retainLines &&\n node.loc &&\n node.loc.start.line > this._buf.getCurrentLine()))\n ) {\n shouldPrintParens = true;\n indentParenthesized = true;\n }\n\n let oldNoLineTerminatorAfterNode;\n let oldTokenContext;\n if (!shouldPrintParens) {\n noLineTerminatorAfter ||=\n parent &&\n this._noLineTerminatorAfterNode === parent &&\n n.isLastChild(parent, node);\n if (noLineTerminatorAfter) {\n if (node.trailingComments?.some(commentIsNewline)) {\n if (isExpression(node)) shouldPrintParens = true;\n } else {\n oldNoLineTerminatorAfterNode = this._noLineTerminatorAfterNode;\n this._noLineTerminatorAfterNode = node;\n }\n }\n }\n\n if (shouldPrintParens) {\n this.token(\"(\");\n if (indentParenthesized) this.indent();\n this._endsWithInnerRaw = false;\n if (this.tokenContext & TokenContext.forInOrInitHeadAccumulate) {\n oldTokenContext = this.tokenContext;\n this.tokenContext = TokenContext.normal;\n }\n oldNoLineTerminatorAfterNode = this._noLineTerminatorAfterNode;\n this._noLineTerminatorAfterNode = null;\n }\n\n this._lastCommentLine = 0;\n\n this._printLeadingComments(node, parent);\n\n const loc = nodeType === \"Program\" || nodeType === \"File\" ? null : node.loc;\n\n this.exactSource(\n loc,\n // @ts-expect-error Expected 1 arguments, but got 3.\n printMethod.bind(this, node, parent),\n );\n\n if (shouldPrintParens) {\n this._printTrailingComments(node, parent);\n if (indentParenthesized) {\n this.dedent();\n this.newline();\n }\n this.token(\")\");\n this._noLineTerminator = noLineTerminatorAfter;\n if (oldTokenContext) this.tokenContext = oldTokenContext;\n } else if (noLineTerminatorAfter && !this._noLineTerminator) {\n this._noLineTerminator = true;\n this._printTrailingComments(node, parent);\n } else {\n this._printTrailingComments(node, parent, trailingCommentsLineOffset);\n }\n\n // end\n this._currentNode = parent;\n format.concise = oldConcise;\n this._insideAux = oldInAux;\n\n if (oldNoLineTerminatorAfterNode !== undefined) {\n this._noLineTerminatorAfterNode = oldNoLineTerminatorAfterNode;\n }\n\n this._endsWithInnerRaw = false;\n }\n\n _maybeAddAuxComment(enteredPositionlessNode?: boolean) {\n if (enteredPositionlessNode) this._printAuxBeforeComment();\n if (!this._insideAux) this._printAuxAfterComment();\n }\n\n _printAuxBeforeComment() {\n if (this._printAuxAfterOnNextUserNode) return;\n this._printAuxAfterOnNextUserNode = true;\n\n const comment = this.format.auxiliaryCommentBefore;\n if (comment) {\n this._printComment(\n {\n type: \"CommentBlock\",\n value: comment,\n },\n COMMENT_SKIP_NEWLINE.DEFAULT,\n );\n }\n }\n\n _printAuxAfterComment() {\n if (!this._printAuxAfterOnNextUserNode) return;\n this._printAuxAfterOnNextUserNode = false;\n\n const comment = this.format.auxiliaryCommentAfter;\n if (comment) {\n this._printComment(\n {\n type: \"CommentBlock\",\n value: comment,\n },\n COMMENT_SKIP_NEWLINE.DEFAULT,\n );\n }\n }\n\n getPossibleRaw(\n node:\n | t.StringLiteral\n | t.NumericLiteral\n | t.BigIntLiteral\n | t.DirectiveLiteral\n | t.JSXText,\n ): string | undefined {\n const extra = node.extra;\n if (\n extra?.raw != null &&\n extra.rawValue != null &&\n node.value === extra.rawValue\n ) {\n // @ts-expect-error: The extra.raw of these AST node types must be a string\n return extra.raw;\n }\n }\n\n printJoin(\n nodes: Array<t.Node> | undefined | null,\n statement?: boolean,\n indent?: boolean,\n separator?: PrintJoinOptions[\"separator\"],\n printTrailingSeparator?: boolean,\n addNewlines?: PrintJoinOptions[\"addNewlines\"],\n iterator?: PrintJoinOptions[\"iterator\"],\n trailingCommentsLineOffset?: number,\n ) {\n if (!nodes?.length) return;\n\n if (indent == null && this.format.retainLines) {\n const startLine = nodes[0].loc?.start.line;\n if (startLine != null && startLine !== this._buf.getCurrentLine()) {\n indent = true;\n }\n }\n\n if (indent) this.indent();\n\n const newlineOpts: AddNewlinesOptions = {\n addNewlines: addNewlines,\n nextNodeStartLine: 0,\n };\n\n const boundSeparator = separator?.bind(this);\n\n const len = nodes.length;\n for (let i = 0; i < len; i++) {\n const node = nodes[i];\n if (!node) continue;\n\n if (statement) this._printNewline(i === 0, newlineOpts);\n\n this.print(node, undefined, trailingCommentsLineOffset || 0);\n\n iterator?.(node, i);\n\n if (boundSeparator != null) {\n if (i < len - 1) boundSeparator(i, false);\n else if (printTrailingSeparator) boundSeparator(i, true);\n }\n\n if (statement) {\n if (!node.trailingComments?.length) {\n this._lastCommentLine = 0;\n }\n\n if (i + 1 === len) {\n this.newline(1);\n } else {\n const nextNode = nodes[i + 1];\n newlineOpts.nextNodeStartLine = nextNode.loc?.start.line || 0;\n\n this._printNewline(true, newlineOpts);\n }\n }\n }\n\n if (indent) this.dedent();\n }\n\n printAndIndentOnComments(node: t.Node) {\n const indent = node.leadingComments && node.leadingComments.length > 0;\n if (indent) this.indent();\n this.print(node);\n if (indent) this.dedent();\n }\n\n printBlock(parent: Extract<t.Node, { body: t.Statement }>) {\n const node = parent.body;\n\n if (node.type !== \"EmptyStatement\") {\n this.space();\n }\n\n this.print(node);\n }\n\n _printTrailingComments(node: t.Node, parent?: t.Node, lineOffset?: number) {\n const { innerComments, trailingComments } = node;\n // We print inner comments here, so that if for some reason they couldn't\n // be printed in earlier locations they are still printed *somewhere*,\n // even if at the end of the node.\n if (innerComments?.length) {\n this._printComments(\n COMMENT_TYPE.TRAILING,\n innerComments,\n node,\n parent,\n lineOffset,\n );\n }\n if (trailingComments?.length) {\n this._printComments(\n COMMENT_TYPE.TRAILING,\n trailingComments,\n node,\n parent,\n lineOffset,\n );\n }\n }\n\n _printLeadingComments(node: t.Node, parent: t.Node) {\n const comments = node.leadingComments;\n if (!comments?.length) return;\n this._printComments(COMMENT_TYPE.LEADING, comments, node, parent);\n }\n\n _maybePrintInnerComments(\n nextTokenStr: string,\n nextTokenOccurrenceCount?: number,\n ) {\n if (this._endsWithInnerRaw) {\n this.printInnerComments(\n this.tokenMap?.findMatching(\n this._currentNode,\n nextTokenStr,\n nextTokenOccurrenceCount,\n ),\n );\n }\n this._endsWithInnerRaw = true;\n this._indentInnerComments = true;\n }\n\n printInnerComments(nextToken?: Token) {\n const node = this._currentNode;\n const comments = node.innerComments;\n if (!comments?.length) return;\n\n const hasSpace = this.endsWith(charCodes.space);\n const indent = this._indentInnerComments;\n const printedCommentsCount = this._printedComments.size;\n if (indent) this.indent();\n this._printComments(\n COMMENT_TYPE.INNER,\n comments,\n node,\n undefined,\n undefined,\n nextToken,\n );\n if (hasSpace && printedCommentsCount !== this._printedComments.size) {\n this.space();\n }\n if (indent) this.dedent();\n }\n\n noIndentInnerCommentsHere() {\n this._indentInnerComments = false;\n }\n\n printSequence(\n nodes: t.Node[],\n indent?: boolean,\n trailingCommentsLineOffset?: number,\n addNewlines?: PrintSequenceOptions[\"addNewlines\"],\n ) {\n this.printJoin(\n nodes,\n true,\n indent ?? false,\n undefined,\n undefined,\n addNewlines,\n undefined,\n trailingCommentsLineOffset,\n );\n }\n\n printList(\n items: t.Node[],\n printTrailingSeparator?: boolean,\n statement?: boolean,\n indent?: boolean,\n separator?: PrintListOptions[\"separator\"],\n iterator?: PrintListOptions[\"iterator\"],\n ) {\n this.printJoin(\n items,\n statement,\n indent,\n separator ?? commaSeparator,\n printTrailingSeparator,\n undefined,\n iterator,\n );\n }\n\n shouldPrintTrailingComma(listEnd: string): boolean | null {\n if (!this.tokenMap) return null;\n\n const listEndIndex = this.tokenMap.findLastIndex(this._currentNode, token =>\n this.tokenMap.matchesOriginal(token, listEnd),\n );\n if (listEndIndex <= 0) return null;\n return this.tokenMap.matchesOriginal(this._tokens[listEndIndex - 1], \",\");\n }\n\n _printNewline(newLine: boolean, opts: AddNewlinesOptions) {\n const format = this.format;\n\n // Fast path since 'this.newline' does nothing when not tracking lines.\n if (format.retainLines || format.compact) return;\n\n // Fast path for concise since 'this.newline' just inserts a space when\n // concise formatting is in use.\n if (format.concise) {\n this.space();\n return;\n }\n\n if (!newLine) {\n return;\n }\n\n const startLine = opts.nextNodeStartLine;\n const lastCommentLine = this._lastCommentLine;\n if (startLine > 0 && lastCommentLine > 0) {\n const offset = startLine - lastCommentLine;\n if (offset >= 0) {\n this.newline(offset || 1);\n return;\n }\n }\n\n // don't add newlines at the beginning of the file\n if (this._buf.hasContent()) {\n // Here is the logic of the original line wrapping according to the node layout, we are not using it now.\n // We currently add at most one newline to each node in the list, ignoring `opts.addNewlines`.\n\n // let lines = 0;\n // if (!leading) lines++; // always include at least a single line after\n // if (opts.addNewlines) lines += opts.addNewlines(leading, node) || 0;\n\n // const needs = leading ? needsWhitespaceBefore : needsWhitespaceAfter;\n // if (needs(node, parent)) lines++;\n\n // this.newline(Math.min(2, lines));\n\n this.newline(1);\n }\n }\n\n // Returns `PRINT_COMMENT_HINT.DEFER` if the comment cannot be printed in this position due to\n // line terminators, signaling that the print comments loop can stop and\n // resume printing comments at the next possible position. This happens when\n // printing inner comments, since if we have an inner comment with a multiline\n // there is at least one inner position where line terminators are allowed.\n _shouldPrintComment(\n comment: t.Comment,\n nextToken?: Token,\n ): PRINT_COMMENT_HINT {\n // Some plugins (such as flow-strip-types) use this to mark comments as removed using the AST-root 'comments' property,\n // where they can't manually mutate the AST node comment lists.\n if (comment.ignore) return PRINT_COMMENT_HINT.SKIP;\n\n if (this._printedComments.has(comment)) return PRINT_COMMENT_HINT.SKIP;\n\n if (\n this._noLineTerminator &&\n HAS_NEWLINE_OR_BlOCK_COMMENT_END.test(comment.value)\n ) {\n return PRINT_COMMENT_HINT.DEFER;\n }\n\n if (nextToken && this.tokenMap) {\n const commentTok = this.tokenMap.find(\n this._currentNode,\n token => token.value === comment.value,\n );\n if (commentTok && commentTok.start > nextToken.start) {\n return PRINT_COMMENT_HINT.DEFER;\n }\n }\n\n this._printedComments.add(comment);\n\n if (!this.format.shouldPrintComment(comment.value)) {\n return PRINT_COMMENT_HINT.SKIP;\n }\n\n return PRINT_COMMENT_HINT.ALLOW;\n }\n\n _printComment(comment: t.Comment, skipNewLines: COMMENT_SKIP_NEWLINE) {\n const noLineTerminator = this._noLineTerminator;\n const isBlockComment = comment.type === \"CommentBlock\";\n\n // Add a newline before and after a block comment, unless explicitly\n // disallowed\n const printNewLines =\n isBlockComment &&\n skipNewLines !== COMMENT_SKIP_NEWLINE.ALL &&\n !this._noLineTerminator;\n\n if (\n printNewLines &&\n this._buf.hasContent() &&\n skipNewLines !== COMMENT_SKIP_NEWLINE.LEADING\n ) {\n this.newline(1);\n }\n\n const lastCharCode = this.getLastChar();\n if (\n lastCharCode !== charCodes.leftSquareBracket &&\n lastCharCode !== charCodes.leftCurlyBrace &&\n lastCharCode !== charCodes.leftParenthesis\n ) {\n this.space();\n }\n\n let val;\n if (isBlockComment) {\n val = `/*${comment.value}*/`;\n if (this.format.indent.adjustMultilineComment) {\n const offset = comment.loc?.start.column;\n if (offset) {\n const newlineRegex = new RegExp(\"\\\\n\\\\s{1,\" + offset + \"}\", \"g\");\n val = val.replace(newlineRegex, \"\\n\");\n }\n if (this.format.concise) {\n val = val.replace(/\\n(?!$)/g, `\\n`);\n } else {\n let indentSize = this.format.retainLines\n ? 0\n : this._buf.getCurrentColumn();\n\n if (this._shouldIndent(charCodes.slash) || this.format.retainLines) {\n indentSize += this._getIndent();\n }\n\n val = val.replace(/\\n(?!$)/g, `\\n${\" \".repeat(indentSize)}`);\n }\n }\n } else if (!noLineTerminator) {\n val = `//${comment.value}`;\n } else {\n // It was a single-line comment, so it's guaranteed to not\n // contain newlines and it can be safely printed as a block\n // comment.\n val = `/*${comment.value}*/`;\n }\n\n // Avoid converting a / operator into a line comment by appending /* to it\n if (this._endsWithDiv) this._space();\n\n if (this.tokenMap) {\n const { _printSemicolonBeforeNextToken, _printSemicolonBeforeNextNode } =\n this;\n this._printSemicolonBeforeNextToken = -1;\n this._printSemicolonBeforeNextNode = -1;\n this.source(\"start\", comment.loc);\n this._append(val, isBlockComment);\n this._printSemicolonBeforeNextNode = _printSemicolonBeforeNextNode;\n this._printSemicolonBeforeNextToken = _printSemicolonBeforeNextToken;\n } else {\n this.source(\"start\", comment.loc);\n this._append(val, isBlockComment);\n }\n\n if (!isBlockComment && !noLineTerminator) {\n this.newline(1, true);\n }\n\n if (printNewLines && skipNewLines !== COMMENT_SKIP_NEWLINE.TRAILING) {\n this.newline(1);\n }\n }\n\n _printComments(\n type: COMMENT_TYPE,\n comments: readonly t.Comment[],\n node: t.Node,\n parent?: t.Node,\n lineOffset: number = 0,\n nextToken?: Token,\n ) {\n const nodeLoc = node.loc;\n const len = comments.length;\n let hasLoc = !!nodeLoc;\n const nodeStartLine = hasLoc ? nodeLoc.start.line : 0;\n const nodeEndLine = hasLoc ? nodeLoc.end.line : 0;\n let lastLine = 0;\n let leadingCommentNewline = 0;\n\n const maybeNewline = this._noLineTerminator\n ? function () {}\n : this.newline.bind(this);\n\n for (let i = 0; i < len; i++) {\n const comment = comments[i];\n\n const shouldPrint = this._shouldPrintComment(comment, nextToken);\n if (shouldPrint === PRINT_COMMENT_HINT.DEFER) {\n hasLoc = false;\n break;\n }\n if (hasLoc && comment.loc && shouldPrint === PRINT_COMMENT_HINT.ALLOW) {\n const commentStartLine = comment.loc.start.line;\n const commentEndLine = comment.loc.end.line;\n if (type === COMMENT_TYPE.LEADING) {\n let offset = 0;\n if (i === 0) {\n // Because currently we cannot handle blank lines before leading comments,\n // we always wrap before and after multi-line comments.\n if (\n this._buf.hasContent() &&\n (comment.type === \"CommentLine\" ||\n commentStartLine !== commentEndLine)\n ) {\n offset = leadingCommentNewline = 1;\n }\n } else {\n offset = commentStartLine - lastLine;\n }\n lastLine = commentEndLine;\n\n maybeNewline(offset);\n this._printComment(comment, COMMENT_SKIP_NEWLINE.ALL);\n\n if (i + 1 === len) {\n maybeNewline(\n Math.max(nodeStartLine - lastLine, leadingCommentNewline),\n );\n lastLine = nodeStartLine;\n }\n } else if (type === COMMENT_TYPE.INNER) {\n const offset =\n commentStartLine - (i === 0 ? nodeStartLine : lastLine);\n lastLine = commentEndLine;\n\n maybeNewline(offset);\n this._printComment(comment, COMMENT_SKIP_NEWLINE.ALL);\n\n if (i + 1 === len) {\n maybeNewline(Math.min(1, nodeEndLine - lastLine)); // TODO: Improve here when inner comments processing is stronger\n lastLine = nodeEndLine;\n }\n } else {\n const offset =\n commentStartLine - (i === 0 ? nodeEndLine - lineOffset : lastLine);\n lastLine = commentEndLine;\n\n maybeNewline(offset);\n this._printComment(comment, COMMENT_SKIP_NEWLINE.ALL);\n }\n } else {\n hasLoc = false;\n if (shouldPrint !== PRINT_COMMENT_HINT.ALLOW) {\n continue;\n }\n\n if (len === 1) {\n const singleLine = comment.loc\n ? comment.loc.start.line === comment.loc.end.line\n : !HAS_NEWLINE.test(comment.value);\n\n const shouldSkipNewline =\n singleLine &&\n !isStatement(node) &&\n !isClassBody(parent) &&\n !isTSInterfaceBody(parent) &&\n !isTSEnumMember(node);\n\n if (type === COMMENT_TYPE.LEADING) {\n this._printComment(\n comment,\n (shouldSkipNewline && node.type !== \"ObjectExpression\") ||\n (singleLine && isFunction(parent, { body: node }))\n ? COMMENT_SKIP_NEWLINE.ALL\n : COMMENT_SKIP_NEWLINE.DEFAULT,\n );\n } else if (shouldSkipNewline && type === COMMENT_TYPE.TRAILING) {\n this._printComment(comment, COMMENT_SKIP_NEWLINE.ALL);\n } else {\n this._printComment(comment, COMMENT_SKIP_NEWLINE.DEFAULT);\n }\n } else if (\n type === COMMENT_TYPE.INNER &&\n !(node.type === \"ObjectExpression\" && node.properties.length > 1) &&\n node.type !== \"ClassBody\" &&\n node.type !== \"TSInterfaceBody\"\n ) {\n // class X {\n // /*:: a: number*/\n // /*:: b: ?string*/\n // }\n\n this._printComment(\n comment,\n i === 0\n ? COMMENT_SKIP_NEWLINE.LEADING\n : i === len - 1\n ? COMMENT_SKIP_NEWLINE.TRAILING\n : COMMENT_SKIP_NEWLINE.DEFAULT,\n );\n } else {\n this._printComment(comment, COMMENT_SKIP_NEWLINE.DEFAULT);\n }\n }\n }\n\n if (type === COMMENT_TYPE.TRAILING && hasLoc && lastLine) {\n this._lastCommentLine = lastLine;\n }\n }\n}\n\n// Expose the node type functions and helpers on the prototype for easy usage.\nObject.assign(Printer.prototype, generatorFunctions);\n\nif (!process.env.BABEL_8_BREAKING) {\n addDeprecatedGenerators(Printer);\n}\n\ntype GeneratorFunctions = typeof generatorFunctions;\n// eslint-disable-next-line @typescript-eslint/no-empty-object-type\ninterface Printer extends GeneratorFunctions {}\nexport default Printer;\n\nfunction commaSeparator(this: Printer, occurrenceCount: number, last: boolean) {\n this.token(\",\", false, occurrenceCount);\n if (!last) this.space();\n}\n"],"mappings":";;;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAEA,IAAAC,MAAA,GAAAD,OAAA;AAAqC,IAAAE,CAAA,GAAAD,MAAA;AAErC,IAAAE,EAAA,GAAAH,OAAA;AAUA,IAAAI,SAAA,GAAAJ,OAAA;AAEA,IAAAK,kBAAA,GAAAL,OAAA;AACA,IAAAM,WAAA,GAAAN,OAAA;AAGoC;EAflCO,YAAY;EACZC,UAAU;EACVC,WAAW;EACXC,WAAW;EACXC,iBAAiB;EACjBC;AAAc,IAAAT,EAAA;AAmBhB,MAAMU,mBAAmB,GAAG,IAAI;AAChC,MAAMC,oBAAoB,GAAG,OAAO;AACpC,MAAMC,W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,CAACpM,KAAK,CAAC,GAAG,EAAE,KAAK,EAAEqB,eAAe,CAAC;EACvC,IAAI,CAAC+K,IAAI,EAAE,IAAI,CAAClM,KAAK,CAAC,CAAC;AACzB","ignoreList":[]}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babel/generator",
3
- "version": "7.26.3",
3
+ "version": "7.28.0",
4
4
  "description": "Turns an AST into code.",
5
5
  "author": "The Babel Team (https://babel.dev/team)",
6
6
  "license": "MIT",
@@ -19,17 +19,17 @@
19
19
  "lib"
20
20
  ],
21
21
  "dependencies": {
22
- "@babel/parser": "^7.26.3",
23
- "@babel/types": "^7.26.3",
24
- "@jridgewell/gen-mapping": "^0.3.5",
25
- "@jridgewell/trace-mapping": "^0.3.25",
22
+ "@babel/parser": "^7.28.0",
23
+ "@babel/types": "^7.28.0",
24
+ "@jridgewell/gen-mapping": "^0.3.12",
25
+ "@jridgewell/trace-mapping": "^0.3.28",
26
26
  "jsesc": "^3.0.2"
27
27
  },
28
28
  "devDependencies": {
29
- "@babel/core": "^7.26.0",
30
- "@babel/helper-fixtures": "^7.26.0",
31
- "@babel/plugin-transform-typescript": "^7.26.3",
32
- "@jridgewell/sourcemap-codec": "^1.4.15",
29
+ "@babel/core": "^7.28.0",
30
+ "@babel/helper-fixtures": "^7.28.0",
31
+ "@babel/plugin-transform-typescript": "^7.28.0",
32
+ "@jridgewell/sourcemap-codec": "^1.5.3",
33
33
  "@types/jsesc": "^2.5.0",
34
34
  "charcodes": "^0.2.0"
35
35
  },
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2014-present Sebastian McKenzie and other contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,19 @@
1
+ # @babel/helper-globals
2
+
3
+ > A collection of JavaScript globals for Babel internal usage
4
+
5
+ See our website [@babel/helper-globals](https://babeljs.io/docs/babel-helper-globals) for more information.
6
+
7
+ ## Install
8
+
9
+ Using npm:
10
+
11
+ ```sh
12
+ npm install --save @babel/helper-globals
13
+ ```
14
+
15
+ or using yarn:
16
+
17
+ ```sh
18
+ yarn add @babel/helper-globals
19
+ ```