@erpsquad/common 1.8.1 → 1.8.3

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 (292) hide show
  1. package/CHANGELOG.md +253 -253
  2. package/CSS_SETUP.md +67 -0
  3. package/QUICK_START.md +34 -0
  4. package/dist/_virtual/index/index.esm10.js +3 -3
  5. package/dist/_virtual/index/index.esm11.js +2 -4
  6. package/dist/_virtual/index/index.esm11.js.map +1 -1
  7. package/dist/_virtual/index/index.esm2.js +4 -2
  8. package/dist/_virtual/index/index.esm2.js.map +1 -1
  9. package/dist/_virtual/index/index.esm3.js +3 -3
  10. package/dist/_virtual/index/index.esm4.js +3 -3
  11. package/dist/_virtual/index/index.esm5.js +3 -3
  12. package/dist/_virtual/index/index.esm6.js +3 -3
  13. package/dist/_virtual/index/index.esm7.js +3 -3
  14. package/dist/_virtual/index/index.esm8.js +3 -3
  15. package/dist/_virtual/index/index.esm9.js +3 -3
  16. package/dist/_virtual/index/index10.js +1 -1
  17. package/dist/_virtual/index/index11.js +1 -1
  18. package/dist/_virtual/index/index2.js +1 -1
  19. package/dist/_virtual/index/index3.js +1 -1
  20. package/dist/_virtual/index/index4.js +1 -1
  21. package/dist/_virtual/index/index5.js +1 -1
  22. package/dist/_virtual/index/index6.js +1 -1
  23. package/dist/_virtual/index/index7.js +1 -1
  24. package/dist/_virtual/index/index8.js +1 -1
  25. package/dist/_virtual/index/index9.js +1 -1
  26. package/dist/api-client/api.accounting/api/index.esm.js.map +1 -1
  27. package/dist/api-client/api.accounting/api/index.js.map +1 -1
  28. package/dist/api-client/api.drive/api/index.esm.js.map +1 -1
  29. package/dist/api-client/api.drive/api/index.js.map +1 -1
  30. package/dist/api-client/api.inventory/api/index.esm.js.map +1 -1
  31. package/dist/api-client/api.inventory/api/index.js.map +1 -1
  32. package/dist/api-client/api.manufacturing/api/index.esm.js.map +1 -1
  33. package/dist/api-client/api.manufacturing/api/index.js.map +1 -1
  34. package/dist/api-client/api.purchase/api/index.esm.js.map +1 -1
  35. package/dist/api-client/api.purchase/api/index.js.map +1 -1
  36. package/dist/api-client/api.rbac/api/index.esm.js.map +1 -1
  37. package/dist/api-client/api.rbac/api/index.js.map +1 -1
  38. package/dist/api-client/api.rental/api/index.esm.js.map +1 -1
  39. package/dist/api-client/api.rental/api/index.js.map +1 -1
  40. package/dist/api-client/api.sales/api/index.esm.js.map +1 -1
  41. package/dist/api-client/api.sales/api/index.js.map +1 -1
  42. package/dist/api-client/api.system-feature/api/index.esm.js.map +1 -1
  43. package/dist/api-client/api.system-feature/api/index.js.map +1 -1
  44. package/dist/api-client/api.user/api/index.esm.js.map +1 -1
  45. package/dist/api-client/api.user/api/index.js.map +1 -1
  46. package/dist/api-client/index.d.ts +39 -39
  47. package/dist/components/action-bar/action-bar/index.esm.js +56 -4
  48. package/dist/components/action-bar/action-bar/index.esm.js.map +1 -1
  49. package/dist/components/action-bar/action-bar/index.js +28 -18
  50. package/dist/components/action-bar/action-bar/index.js.map +1 -1
  51. package/dist/components/change-user-password-modal/change-user-password-modal/index.esm.js.map +1 -1
  52. package/dist/components/change-user-password-modal/change-user-password-modal/index.js.map +1 -1
  53. package/dist/components/editor/custom-editor/index.esm.js +1 -1
  54. package/dist/components/editor/custom-editor/index.esm.js.map +1 -1
  55. package/dist/components/editor/custom-editor/index.js +1 -1
  56. package/dist/components/editor/custom-editor/index.js.map +1 -1
  57. package/dist/components/filter/filter/index.esm.js +1 -1
  58. package/dist/components/filter/filter/index.esm.js.map +1 -1
  59. package/dist/components/filter/filter/index.js +1 -1
  60. package/dist/components/filter/filter/index.js.map +1 -1
  61. package/dist/components/form-control/form-builder/form-builder-element/dynamic-select/index.esm.js.map +1 -1
  62. package/dist/components/form-control/form-builder/form-builder-element/dynamic-select/index.js.map +1 -1
  63. package/dist/components/header/header/index.esm.js +1 -1
  64. package/dist/components/header/header/index.esm.js.map +1 -1
  65. package/dist/components/header/header/index.js +1 -1
  66. package/dist/components/header/header/index.js.map +1 -1
  67. package/dist/components/header/redux/actionCreator/index.esm.js +1 -1
  68. package/dist/components/header/redux/actionCreator/index.esm.js.map +1 -1
  69. package/dist/components/header/redux/actionCreator/index.js +1 -1
  70. package/dist/components/header/redux/actionCreator/index.js.map +1 -1
  71. package/dist/components/inventory-reports-title-bar/redux/actionCreator/index.esm.js +1 -1
  72. package/dist/components/inventory-reports-title-bar/redux/actionCreator/index.esm.js.map +1 -1
  73. package/dist/components/inventory-reports-title-bar/redux/actionCreator/index.js +1 -1
  74. package/dist/components/inventory-reports-title-bar/redux/actionCreator/index.js.map +1 -1
  75. package/dist/components/reports-title-bar/redux/actionCreator/index.esm.js +1 -1
  76. package/dist/components/reports-title-bar/redux/actionCreator/index.esm.js.map +1 -1
  77. package/dist/components/reports-title-bar/redux/actionCreator/index.js +1 -1
  78. package/dist/components/reports-title-bar/redux/actionCreator/index.js.map +1 -1
  79. package/dist/components/reset-password-modal/reset-password-modal/index.esm.js.map +1 -1
  80. package/dist/components/reset-password-modal/reset-password-modal/index.js.map +1 -1
  81. package/dist/components/share-modal/redux/actionCreator/index.esm.js +1 -1
  82. package/dist/components/share-modal/redux/actionCreator/index.esm.js.map +1 -1
  83. package/dist/components/share-modal/redux/actionCreator/index.js +1 -1
  84. package/dist/components/share-modal/redux/actionCreator/index.js.map +1 -1
  85. package/dist/components/sub-header-doc/sub-header-doc/index.esm.js.map +1 -1
  86. package/dist/components/sub-header-doc/sub-header-doc/index.js.map +1 -1
  87. package/dist/components/upload/upload/index.esm.js +2 -2
  88. package/dist/components/upload/upload/index.esm.js.map +1 -1
  89. package/dist/components/upload/upload/index.js +2 -2
  90. package/dist/components/upload/upload/index.js.map +1 -1
  91. package/dist/constants/modules/index.esm.js.map +1 -1
  92. package/dist/constants/modules/index.js.map +1 -1
  93. package/dist/constants/pathnames/pathname/index.esm.js.map +1 -1
  94. package/dist/constants/pathnames/pathname/index.js.map +1 -1
  95. package/dist/constants/pathnames/pathname.accounting/index.esm.js.map +1 -1
  96. package/dist/constants/pathnames/pathname.accounting/index.js.map +1 -1
  97. package/dist/constants/pathnames/pathname.crm/index.esm.js.map +1 -1
  98. package/dist/constants/pathnames/pathname.crm/index.js.map +1 -1
  99. package/dist/constants/pathnames/pathname.document/index.esm.js.map +1 -1
  100. package/dist/constants/pathnames/pathname.document/index.js.map +1 -1
  101. package/dist/constants/pathnames/pathname.hrms/index.esm.js.map +1 -1
  102. package/dist/constants/pathnames/pathname.hrms/index.js.map +1 -1
  103. package/dist/constants/pathnames/pathname.inventory/index.esm.js.map +1 -1
  104. package/dist/constants/pathnames/pathname.inventory/index.js.map +1 -1
  105. package/dist/constants/pathnames/pathname.manufacturing/index.esm.js.map +1 -1
  106. package/dist/constants/pathnames/pathname.manufacturing/index.js.map +1 -1
  107. package/dist/constants/pathnames/pathname.office/index.esm.js.map +1 -1
  108. package/dist/constants/pathnames/pathname.office/index.js.map +1 -1
  109. package/dist/constants/pathnames/pathname.procurement/index.esm.js.map +1 -1
  110. package/dist/constants/pathnames/pathname.procurement/index.js.map +1 -1
  111. package/dist/constants/pathnames/pathname.project/index.esm.js.map +1 -1
  112. package/dist/constants/pathnames/pathname.project/index.js.map +1 -1
  113. package/dist/constants/pathnames/pathname.quotes/index.esm.js.map +1 -1
  114. package/dist/constants/pathnames/pathname.quotes/index.js.map +1 -1
  115. package/dist/constants/pathnames/pathname.rental/index.esm.js.map +1 -1
  116. package/dist/constants/pathnames/pathname.rental/index.js.map +1 -1
  117. package/dist/constants/pathnames/pathname.user/index.esm.js.map +1 -1
  118. package/dist/constants/pathnames/pathname.user/index.js.map +1 -1
  119. package/dist/constants/route-page-map/index.esm.js.map +1 -1
  120. package/dist/constants/route-page-map/index.js.map +1 -1
  121. package/dist/contexts/AuthContext/index.esm.js +2 -2
  122. package/dist/contexts/AuthContext/index.esm.js.map +1 -1
  123. package/dist/contexts/AuthContext/index.js +1 -1
  124. package/dist/contexts/AuthContext/index.js.map +1 -1
  125. package/dist/contexts/languageContext/index.esm.js +1 -1
  126. package/dist/contexts/languageContext/index.esm.js.map +1 -1
  127. package/dist/contexts/languageContext/index.js +1 -1
  128. package/dist/contexts/languageContext/index.js.map +1 -1
  129. package/dist/contexts/page-context/index.esm.js +0 -4
  130. package/dist/contexts/page-context/index.esm.js.map +1 -1
  131. package/dist/contexts/page-context/index.js +1 -1
  132. package/dist/contexts/page-context/index.js.map +1 -1
  133. package/dist/hooks/use-material-calculations/index.esm.js +2 -2
  134. package/dist/hooks/use-material-calculations/index.esm.js.map +1 -1
  135. package/dist/hooks/use-material-calculations/index.js.map +1 -1
  136. package/dist/hooks/use-translations/index.esm.js.map +1 -1
  137. package/dist/hooks/use-translations/index.js.map +1 -1
  138. package/dist/hooks/useLanguageFallback/index.esm.js +2 -2
  139. package/dist/hooks/useLanguageFallback/index.esm.js.map +1 -1
  140. package/dist/hooks/useLanguageFallback/index.js.map +1 -1
  141. package/dist/hooks/useLocationFilter/index.esm.js +2 -2
  142. package/dist/hooks/useLocationFilter/index.esm.js.map +1 -1
  143. package/dist/hooks/useLocationFilter/index.js.map +1 -1
  144. package/dist/layout/fullScreen/fullScreen/index.esm.js.map +1 -1
  145. package/dist/layout/fullScreen/fullScreen/index.js.map +1 -1
  146. package/dist/layout/index.d.ts +3 -3
  147. package/dist/layout/sidebarScreen/sidebarScreen/index.esm.js.map +1 -1
  148. package/dist/layout/sidebarScreen/sidebarScreen/index.js.map +1 -1
  149. package/dist/node_modules/@asseinfo/react-kanban/dist/index/index.esm.js +2 -2
  150. package/dist/node_modules/@asseinfo/react-kanban/dist/index/index.js +1 -1
  151. package/dist/node_modules/@asseinfo/react-kanban/dist/index/index.js.map +1 -1
  152. package/dist/node_modules/@glideapps/glide-data-grid-cells/dist/js/article-cell-editor-JDI676YI/index.esm.js +1 -1
  153. package/dist/node_modules/@glideapps/glide-data-grid-cells/dist/js/article-cell-editor-JDI676YI/index.js +2 -2
  154. package/dist/node_modules/@glideapps/glide-data-grid-cells/dist/js/article-cell-editor-JDI676YI/index.js.map +1 -1
  155. package/dist/node_modules/@mui/icons-material/utils/createSvgIcon/index.esm.js +4 -4
  156. package/dist/node_modules/@mui/icons-material/utils/createSvgIcon/index.esm.js.map +1 -1
  157. package/dist/node_modules/@mui/icons-material/utils/createSvgIcon/index.js +1 -1
  158. package/dist/node_modules/@mui/material/Hidden/HiddenJs/index.js.map +1 -1
  159. package/dist/node_modules/@mui/system/colorManipulator/index.esm.js +2 -2
  160. package/dist/node_modules/@mui/system/colorManipulator/index.js +1 -1
  161. package/dist/node_modules/@mui/system/colorManipulator/index.js.map +1 -1
  162. package/dist/node_modules/@mui/system/createStyled/index.esm.js +6 -6
  163. package/dist/node_modules/@mui/system/createStyled/index.js +1 -1
  164. package/dist/node_modules/@mui/system/useThemeWithoutDefault/index.esm.js +1 -1
  165. package/dist/node_modules/@mui/system/useThemeWithoutDefault/index.js +1 -1
  166. package/dist/node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef/index.js.map +1 -1
  167. package/dist/node_modules/@popperjs/core/lib/modifiers/applyStyles/index.js.map +1 -1
  168. package/dist/node_modules/@popperjs/core/lib/modifiers/arrow/index.js.map +1 -1
  169. package/dist/node_modules/@popperjs/core/lib/modifiers/computeStyles/index.js.map +1 -1
  170. package/dist/node_modules/@popperjs/core/lib/modifiers/flip/index.js.map +1 -1
  171. package/dist/node_modules/@popperjs/core/lib/modifiers/hide/index.js.map +1 -1
  172. package/dist/node_modules/@popperjs/core/lib/modifiers/offset/index.js.map +1 -1
  173. package/dist/node_modules/@popperjs/core/lib/modifiers/popperOffsets/index.js.map +1 -1
  174. package/dist/node_modules/@popperjs/core/lib/modifiers/preventOverflow/index.js.map +1 -1
  175. package/dist/node_modules/@toast-ui/editor/dist/esm/index/index.esm.js +21 -21
  176. package/dist/node_modules/@toast-ui/editor/dist/esm/index/index.esm.js.map +1 -1
  177. package/dist/node_modules/@toast-ui/editor/dist/toastui-editor-viewer/index.esm.js +25 -25
  178. package/dist/node_modules/@toast-ui/editor/dist/toastui-editor-viewer/index.esm.js.map +1 -1
  179. package/dist/node_modules/{@glideapps/glide-data-grid-cells/node_modules/@toast-ui → @toast-ui}/react-editor/dist/esm/index/index.esm.js +2 -2
  180. package/dist/node_modules/@toast-ui/react-editor/dist/esm/index/index.esm.js.map +1 -0
  181. package/dist/node_modules/@toast-ui/react-editor/dist/esm/index/index.js +2 -0
  182. package/dist/node_modules/@toast-ui/react-editor/dist/esm/index/index.js.map +1 -0
  183. package/dist/redux/actionCreator/index.esm.js.map +1 -1
  184. package/dist/redux/actionCreator/index.js.map +1 -1
  185. package/dist/redux/slices/headerSlice/index.esm.js +2 -2
  186. package/dist/redux/slices/headerSlice/index.esm.js.map +1 -1
  187. package/dist/redux/slices/headerSlice/index.js.map +1 -1
  188. package/dist/redux/slices/inventoryReportsTitleBarSlice/index.esm.js +2 -2
  189. package/dist/redux/slices/inventoryReportsTitleBarSlice/index.esm.js.map +1 -1
  190. package/dist/redux/slices/inventoryReportsTitleBarSlice/index.js.map +1 -1
  191. package/dist/redux/slices/reportsTitleBarSlice/index.esm.js +2 -2
  192. package/dist/redux/slices/reportsTitleBarSlice/index.esm.js.map +1 -1
  193. package/dist/redux/slices/reportsTitleBarSlice/index.js.map +1 -1
  194. package/dist/redux/slices/shareSlice/index.esm.js +2 -2
  195. package/dist/redux/slices/shareSlice/index.esm.js.map +1 -1
  196. package/dist/redux/slices/shareSlice/index.js.map +1 -1
  197. package/dist/server/index.esm.js.map +1 -1
  198. package/dist/server/index.js.map +1 -1
  199. package/dist/style.css +2 -2
  200. package/dist/utils/api/index.esm.js +4 -4
  201. package/dist/utils/api/index.esm.js.map +1 -1
  202. package/dist/utils/api/index.js +1 -1
  203. package/dist/utils/api/index.js.map +1 -1
  204. package/dist/utils/common/index.esm.js +8 -8
  205. package/dist/utils/common/index.esm.js.map +1 -1
  206. package/dist/utils/common/index.js +1 -1
  207. package/dist/utils/common/index.js.map +1 -1
  208. package/dist/utils/date-range/index.esm.js.map +1 -1
  209. package/dist/utils/date-range/index.js.map +1 -1
  210. package/dist/utils/menu-filter/index.esm.js.map +1 -1
  211. package/dist/utils/menu-filter/index.js.map +1 -1
  212. package/dist/views/afterAuth/dashboard/redux/actionCreator/index.esm.js.map +1 -1
  213. package/dist/views/afterAuth/dashboard/redux/actionCreator/index.js.map +1 -1
  214. package/dist/views/afterAuth/dashboard/redux/reducer/index.esm.js.map +1 -1
  215. package/dist/views/afterAuth/dashboard/redux/reducer/index.js.map +1 -1
  216. package/dist/views/afterAuth/dashboard/redux/state/index.esm.js.map +1 -1
  217. package/dist/views/afterAuth/dashboard/redux/state/index.js.map +1 -1
  218. package/dist/views/beforeAuth/components/share-modal-data/share-modal-data/index.esm.js.map +1 -1
  219. package/dist/views/beforeAuth/components/share-modal-data/share-modal-data/index.js.map +1 -1
  220. package/dist/views/beforeAuth/components/shared-pages-data/shared-pages-data/index.esm.js.map +1 -1
  221. package/dist/views/beforeAuth/components/shared-pages-data/shared-pages-data/index.js.map +1 -1
  222. package/dist/views/beforeAuth/components/user-dashboard-data/user-dashboard-data/index.esm.js.map +1 -1
  223. package/dist/views/beforeAuth/components/user-dashboard-data/user-dashboard-data/index.js.map +1 -1
  224. package/dist/views/template-editor/add-template/add-template/index.esm.js.map +1 -1
  225. package/dist/views/template-editor/add-template/add-template/index.js.map +1 -1
  226. package/dist/views/template-editor/company-selection-modal/company-selection-modal/index.esm.js.map +1 -1
  227. package/dist/views/template-editor/company-selection-modal/company-selection-modal/index.js.map +1 -1
  228. package/dist/views/template-editor/components/EditorCanvas/index.esm.js.map +1 -1
  229. package/dist/views/template-editor/components/EditorCanvas/index.js.map +1 -1
  230. package/dist/views/template-editor/components/EditorHeader/index.esm.js.map +1 -1
  231. package/dist/views/template-editor/components/EditorHeader/index.js.map +1 -1
  232. package/dist/views/template-editor/components/EditorSection/index.esm.js.map +1 -1
  233. package/dist/views/template-editor/components/EditorSection/index.js.map +1 -1
  234. package/dist/views/template-editor/components/EditorSidebar/index.esm.js +3 -3
  235. package/dist/views/template-editor/components/EditorSidebar/index.esm.js.map +1 -1
  236. package/dist/views/template-editor/components/EditorSidebar/index.js +14 -14
  237. package/dist/views/template-editor/components/EditorSidebar/index.js.map +1 -1
  238. package/dist/views/template-editor/components/SectionFlowEditor/index.esm.js.map +1 -1
  239. package/dist/views/template-editor/components/SectionFlowEditor/index.js.map +1 -1
  240. package/dist/views/template-editor/components/SectionFormatPanel/index.esm.js.map +1 -1
  241. package/dist/views/template-editor/components/SectionFormatPanel/index.js.map +1 -1
  242. package/dist/views/template-editor/components/controllers/AlignmentControl/index.esm.js.map +1 -1
  243. package/dist/views/template-editor/components/controllers/AlignmentControl/index.js.map +1 -1
  244. package/dist/views/template-editor/components/controllers/ButtonControls/index.esm.js.map +1 -1
  245. package/dist/views/template-editor/components/controllers/ButtonControls/index.js.map +1 -1
  246. package/dist/views/template-editor/components/controllers/CodeControls/index.esm.js.map +1 -1
  247. package/dist/views/template-editor/components/controllers/CodeControls/index.js.map +1 -1
  248. package/dist/views/template-editor/components/controllers/DividerControls/index.esm.js.map +1 -1
  249. package/dist/views/template-editor/components/controllers/DividerControls/index.js.map +1 -1
  250. package/dist/views/template-editor/components/controllers/ImageControls/index.esm.js.map +1 -1
  251. package/dist/views/template-editor/components/controllers/ImageControls/index.js.map +1 -1
  252. package/dist/views/template-editor/components/controllers/SignatureControls/index.esm.js.map +1 -1
  253. package/dist/views/template-editor/components/controllers/SignatureControls/index.js.map +1 -1
  254. package/dist/views/template-editor/components/controllers/TableControls/index.esm.js.map +1 -1
  255. package/dist/views/template-editor/components/controllers/TableControls/index.js.map +1 -1
  256. package/dist/views/template-editor/components/controllers/TextControls/index.esm.js.map +1 -1
  257. package/dist/views/template-editor/components/controllers/TextControls/index.js.map +1 -1
  258. package/dist/views/template-editor/components/controllers/border-control/index.esm.js.map +1 -1
  259. package/dist/views/template-editor/components/controllers/border-control/index.js.map +1 -1
  260. package/dist/views/template-editor/edit-section-modal/edit-section-modal/index.esm.js.map +1 -1
  261. package/dist/views/template-editor/edit-section-modal/edit-section-modal/index.js.map +1 -1
  262. package/dist/views/template-editor/routes/index.esm.js.map +1 -1
  263. package/dist/views/template-editor/routes/index.js.map +1 -1
  264. package/dist/views/template-editor/template-modal/html-thumbnail-preview/index.esm.js.map +1 -1
  265. package/dist/views/template-editor/template-modal/html-thumbnail-preview/index.js.map +1 -1
  266. package/dist/views/template-editor/template-modal/template-modal/index.esm.js.map +1 -1
  267. package/dist/views/template-editor/template-modal/template-modal/index.js.map +1 -1
  268. package/dist/views/template-editor/template-name-modal/template-name-modal/index.esm.js.map +1 -1
  269. package/dist/views/template-editor/template-name-modal/template-name-modal/index.js.map +1 -1
  270. package/dist/views/template-editor/templates/index.esm.js +1 -1
  271. package/dist/views/template-editor/templates/index.esm.js.map +1 -1
  272. package/dist/views/template-editor/templates/index.js +1 -1
  273. package/dist/views/template-editor/templates/index.js.map +1 -1
  274. package/dist/views/template-editor/utils/common/index.esm.js.map +1 -1
  275. package/dist/views/template-editor/utils/common/index.js.map +1 -1
  276. package/dist/views/template-editor/utils/constant/index.esm.js.map +1 -1
  277. package/dist/views/template-editor/utils/constant/index.js.map +1 -1
  278. package/dist/views/template-editor/utils/style-extractor/index.esm.js.map +1 -1
  279. package/dist/views/template-editor/utils/style-extractor/index.js.map +1 -1
  280. package/package.json +4 -2
  281. package/src/styles/README.md +287 -287
  282. package/src/styles/all.scss +7 -7
  283. package/src/styles/animations.scss +5 -5
  284. package/src/styles/css/reset.css +1 -1
  285. package/src/styles/index.ts +146 -146
  286. package/src/styles/mixins.scss +5 -5
  287. package/src/styles/sass/main.scss +11 -11
  288. package/src/styles/utils.scss +5 -5
  289. package/src/styles/variables.scss +4 -4
  290. package/dist/node_modules/@glideapps/glide-data-grid-cells/node_modules/@toast-ui/react-editor/dist/esm/index/index.esm.js.map +0 -1
  291. package/dist/node_modules/@glideapps/glide-data-grid-cells/node_modules/@toast-ui/react-editor/dist/esm/index/index.js +0 -2
  292. package/dist/node_modules/@glideapps/glide-data-grid-cells/node_modules/@toast-ui/react-editor/dist/esm/index/index.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { styled_default } from "../chunk-ST7UZKI3/index.esm.js";
2
2
  import * as React from "react";
3
- import { Editor as default_1 } from "../../../node_modules/@toast-ui/react-editor/dist/esm/index/index.esm.js";
3
+ import { Editor as default_1 } from "../../../../../@toast-ui/react-editor/dist/esm/index/index.esm.js";
4
4
  var Wrapper = /* @__PURE__ */ styled_default("div")({
5
5
  name: "Wrapper",
6
6
  class: "wkyirgj",
@@ -1,3 +1,3 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../chunk-ST7UZKI3/index.js"),t=require("react"),a=require("../../../node_modules/@toast-ui/react-editor/dist/esm/index/index.js");function i(e){if(e&&"object"==typeof e&&"default"in e)return e;var t=/* @__PURE__ */Object.create(null);return e&&Object.keys(e).forEach(function(a){if("default"!==a){var i=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,i.get?i:{enumerable:!0,get:function(){return e[a]}})}}),t.default=e,t}var n=/* @__PURE__ */i(t),o=/* @__PURE__ */e.styled_default("div")({name:"Wrapper",class:"wkyirgj",propsAsIs:!1});exports.default=e=>{const[t,i]=n.useState(e.value.data.markdown),r=n.useCallback(e=>{e.stopPropagation()},[]),l=n.useCallback(()=>{e.onFinishedEditing({...e.value,data:{...e.value.data,markdown:t}})},[e,t]),s=n.useCallback(()=>{e.onFinishedEditing(void 0)},[e]);/* @__PURE__ */
2
- return n.createElement(o,{id:"markdown-wysiwyg",onKeyDown:r},/* @__PURE__ */n.createElement(a.Editor,{initialEditType:"wysiwyg",autofocus:!0,initialValue:e.value.data.markdown,hideModeSwitch:!0,onChange:i,height:"75vh",usageStatistics:!1,toolbarItems:[["heading","bold","italic","strike"],["hr","quote"],["ul","ol","task","indent","outdent"],["table","link"],["code","codeblock"]]}),/* @__PURE__ */n.createElement("div",{className:"footer"},/* @__PURE__ */n.createElement("button",{className:"close-button",onClick:s},"Close"),/* @__PURE__ */n.createElement("button",{className:"save-button",onClick:l},"Save")))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../chunk-ST7UZKI3/index.js"),t=require("react"),a=require("../../../../../@toast-ui/react-editor/dist/esm/index/index.js");function i(e){if(e&&"object"==typeof e&&"default"in e)return e;var t=/* @__PURE__ */Object.create(null);return e&&Object.keys(e).forEach(function(a){if("default"!==a){var i=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,i.get?i:{enumerable:!0,get:function(){return e[a]}})}}),t.default=e,t}var n=/* @__PURE__ */i(t),r=/* @__PURE__ */e.styled_default("div")({name:"Wrapper",class:"wkyirgj",propsAsIs:!1});exports.default=e=>{const[t,i]=n.useState(e.value.data.markdown),o=n.useCallback(e=>{e.stopPropagation()},[]),l=n.useCallback(()=>{e.onFinishedEditing({...e.value,data:{...e.value.data,markdown:t}})},[e,t]),s=n.useCallback(()=>{e.onFinishedEditing(void 0)},[e]);/* @__PURE__ */
2
+ return n.createElement(r,{id:"markdown-wysiwyg",onKeyDown:o},/* @__PURE__ */n.createElement(a.Editor,{initialEditType:"wysiwyg",autofocus:!0,initialValue:e.value.data.markdown,hideModeSwitch:!0,onChange:i,height:"75vh",usageStatistics:!1,toolbarItems:[["heading","bold","italic","strike"],["hr","quote"],["ul","ol","task","indent","outdent"],["table","link"],["code","codeblock"]]}),/* @__PURE__ */n.createElement("div",{className:"footer"},/* @__PURE__ */n.createElement("button",{className:"close-button",onClick:s},"Close"),/* @__PURE__ */n.createElement("button",{className:"save-button",onClick:l},"Save")))};
3
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/@glideapps/glide-data-grid-cells/dist/js/article-cell-editor-JDI676YI.js"],"sourcesContent":["import {\n styled_default\n} from \"./chunk-ST7UZKI3.js\";\n\n// src/cells/article-cell-editor.tsx\nimport * as React from \"react\";\nimport { Editor } from \"@toast-ui/react-editor\";\nvar Wrapper = /* @__PURE__ */ styled_default(\"div\")({\n name: \"Wrapper\",\n class: \"wkyirgj\",\n propsAsIs: false\n});\nvar ArticleCellEditor = (p) => {\n const [tempValue, setTempValue] = React.useState(p.value.data.markdown);\n const onKeyDown = React.useCallback((e) => {\n e.stopPropagation();\n }, []);\n const onSave = React.useCallback(() => {\n p.onFinishedEditing({\n ...p.value,\n data: {\n ...p.value.data,\n markdown: tempValue\n }\n });\n }, [p, tempValue]);\n const onClose = React.useCallback(() => {\n p.onFinishedEditing(void 0);\n }, [p]);\n return /* @__PURE__ */ React.createElement(Wrapper, {\n id: \"markdown-wysiwyg\",\n onKeyDown\n }, /* @__PURE__ */ React.createElement(Editor, {\n initialEditType: \"wysiwyg\",\n autofocus: true,\n initialValue: p.value.data.markdown,\n hideModeSwitch: true,\n onChange: setTempValue,\n height: \"75vh\",\n usageStatistics: false,\n toolbarItems: [[\"heading\", \"bold\", \"italic\", \"strike\"], [\"hr\", \"quote\"], [\"ul\", \"ol\", \"task\", \"indent\", \"outdent\"], [\"table\", \"link\"], [\"code\", \"codeblock\"]]\n }), /* @__PURE__ */ React.createElement(\"div\", {\n className: \"footer\"\n }, /* @__PURE__ */ React.createElement(\"button\", {\n className: \"close-button\",\n onClick: onClose\n }, \"Close\"), /* @__PURE__ */ React.createElement(\"button\", {\n className: \"save-button\",\n onClick: onSave\n }, \"Save\")));\n};\nvar article_cell_editor_default = ArticleCellEditor;\nexport {\n article_cell_editor_default as default\n};\n"],"names":["Wrapper","styled_default","name","class","propsAsIs","p","tempValue","setTempValue","React","useState","value","data","markdown","onKeyDown","useCallback","e","stopPropagation","onSave","onFinishedEditing","onClose","createElement","id","Editor","initialEditType","autofocus","initialValue","hideModeSwitch","onChange","height","usageStatistics","toolbarItems","className","onClick"],"mappings":"iiBAOIA,iBAA0BC,EAAAA,eAAe,MAAfA,CAAsB,CAClDC,KAAM,UACNC,MAAO,UACPC,WAAW,oBAEYC,IACvB,MAAOC,EAAWC,GAAgBC,EAAMC,SAASJ,EAAEK,MAAMC,KAAKC,UACxDC,EAAYL,EAAMM,YAAaC,IACnCA,EAAEC,mBACD,IACGC,EAAST,EAAMM,YAAY,KAC/BT,EAAEa,kBAAkB,IACfb,EAAEK,MACLC,KAAM,IACDN,EAAEK,MAAMC,KACXC,SAAUN,MAGb,CAACD,EAAGC,IACDa,EAAUX,EAAMM,YAAY,KAChCT,EAAEa,uBAAkB,IACnB,CAACb;AACJ,OAAuBG,EAAMY,cAAcpB,EAAS,CAClDqB,GAAI,mBACJR,4BACiBL,EAAMY,cAAcE,SAAQ,CAC7CC,gBAAiB,UACjBC,WAAW,EACXC,aAAcpB,EAAEK,MAAMC,KAAKC,SAC3Bc,gBAAgB,EAChBC,SAAUpB,EACVqB,OAAQ,OACRC,iBAAiB,EACjBC,aAAc,CAAC,CAAC,UAAW,OAAQ,SAAU,UAAW,CAAC,KAAM,SAAU,CAAC,KAAM,KAAM,OAAQ,SAAU,WAAY,CAAC,QAAS,QAAS,CAAC,OAAQ,+BAC9HtB,EAAMY,cAAc,MAAO,CAC7CW,UAAW,yBACMvB,EAAMY,cAAc,SAAU,CAC/CW,UAAW,eACXC,QAASb,GACR,wBAA0BX,EAAMY,cAAc,SAAU,CACzDW,UAAW,cACXC,QAASf,GACR","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/@glideapps/glide-data-grid-cells/dist/js/article-cell-editor-JDI676YI.js"],"sourcesContent":["import {\n styled_default\n} from \"./chunk-ST7UZKI3.js\";\n\n// src/cells/article-cell-editor.tsx\nimport * as React from \"react\";\nimport { Editor } from \"@toast-ui/react-editor\";\nvar Wrapper = /* @__PURE__ */ styled_default(\"div\")({\n name: \"Wrapper\",\n class: \"wkyirgj\",\n propsAsIs: false\n});\nvar ArticleCellEditor = (p) => {\n const [tempValue, setTempValue] = React.useState(p.value.data.markdown);\n const onKeyDown = React.useCallback((e) => {\n e.stopPropagation();\n }, []);\n const onSave = React.useCallback(() => {\n p.onFinishedEditing({\n ...p.value,\n data: {\n ...p.value.data,\n markdown: tempValue\n }\n });\n }, [p, tempValue]);\n const onClose = React.useCallback(() => {\n p.onFinishedEditing(void 0);\n }, [p]);\n return /* @__PURE__ */ React.createElement(Wrapper, {\n id: \"markdown-wysiwyg\",\n onKeyDown\n }, /* @__PURE__ */ React.createElement(Editor, {\n initialEditType: \"wysiwyg\",\n autofocus: true,\n initialValue: p.value.data.markdown,\n hideModeSwitch: true,\n onChange: setTempValue,\n height: \"75vh\",\n usageStatistics: false,\n toolbarItems: [[\"heading\", \"bold\", \"italic\", \"strike\"], [\"hr\", \"quote\"], [\"ul\", \"ol\", \"task\", \"indent\", \"outdent\"], [\"table\", \"link\"], [\"code\", \"codeblock\"]]\n }), /* @__PURE__ */ React.createElement(\"div\", {\n className: \"footer\"\n }, /* @__PURE__ */ React.createElement(\"button\", {\n className: \"close-button\",\n onClick: onClose\n }, \"Close\"), /* @__PURE__ */ React.createElement(\"button\", {\n className: \"save-button\",\n onClick: onSave\n }, \"Save\")));\n};\nvar article_cell_editor_default = ArticleCellEditor;\nexport {\n article_cell_editor_default as default\n};\n"],"names":["Wrapper","styled_default","name","class","propsAsIs","p","tempValue","setTempValue","React","useState","value","data","markdown","onKeyDown","useCallback","e","stopPropagation","onSave","onFinishedEditing","onClose","createElement","id","Editor","initialEditType","autofocus","initialValue","hideModeSwitch","onChange","height","usageStatistics","toolbarItems","className","onClick"],"mappings":"0hBAOIA,iBAA0BC,EAAAA,eAAe,MAAfA,CAAsB,CAClDC,KAAM,UACNC,MAAO,UACPC,WAAW,oBAEYC,IACvB,MAAOC,EAAWC,GAAgBC,EAAMC,SAASJ,EAAEK,MAAMC,KAAKC,UACxDC,EAAYL,EAAMM,YAAaC,IACnCA,EAAEC,mBACD,IACGC,EAAST,EAAMM,YAAY,KAC/BT,EAAEa,kBAAkB,IACfb,EAAEK,MACLC,KAAM,IACDN,EAAEK,MAAMC,KACXC,SAAUN,MAGb,CAACD,EAAGC,IACDa,EAAUX,EAAMM,YAAY,KAChCT,EAAEa,uBAAkB,IACnB,CAACb;AACJ,OAAuBG,EAAMY,cAAcpB,EAAS,CAClDqB,GAAI,mBACJR,4BACiBL,EAAMY,cAAcE,SAAQ,CAC7CC,gBAAiB,UACjBC,WAAW,EACXC,aAAcpB,EAAEK,MAAMC,KAAKC,SAC3Bc,gBAAgB,EAChBC,SAAUpB,EACVqB,OAAQ,OACRC,iBAAiB,EACjBC,aAAc,CAAC,CAAC,UAAW,OAAQ,SAAU,UAAW,CAAC,KAAM,SAAU,CAAC,KAAM,KAAM,OAAQ,SAAU,WAAY,CAAC,QAAS,QAAS,CAAC,OAAQ,+BAC9HtB,EAAMY,cAAc,MAAO,CAC7CW,UAAW,yBACMvB,EAAMY,cAAc,SAAU,CAC/CW,UAAW,eACXC,QAASb,GACR,wBAA0BX,EAAMY,cAAc,SAAU,CACzDW,UAAW,cACXC,QAASf,GACR","x_google_ignoreList":[0]}
@@ -1,15 +1,15 @@
1
1
  import { __exports as createSvgIcon } from "../../../../../_virtual/createSvgIcon/index.esm.js";
2
- import require$$0 from "../../../../../_virtual/index/index.esm3.js";
2
+ import require$$0 from "../../../../../_virtual/index/index.esm2.js";
3
3
  var hasRequiredCreateSvgIcon;
4
4
  function requireCreateSvgIcon() {
5
5
  if (hasRequiredCreateSvgIcon) return createSvgIcon;
6
6
  hasRequiredCreateSvgIcon = 1;
7
- (function(exports) {
7
+ (function(exports$1) {
8
8
  "use client";
9
- Object.defineProperty(exports, "__esModule", {
9
+ Object.defineProperty(exports$1, "__esModule", {
10
10
  value: true
11
11
  });
12
- Object.defineProperty(exports, "default", {
12
+ Object.defineProperty(exports$1, "default", {
13
13
  enumerable: true,
14
14
  get: function() {
15
15
  return _utils.createSvgIcon;
@@ -1 +1 @@
1
- {"version":3,"file":"index.esm.js","sources":["../../../../../../node_modules/@mui/icons-material/utils/createSvgIcon.js"],"sourcesContent":["\"use strict\";\n'use client';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function () {\n return _utils.createSvgIcon;\n }\n});\nvar _utils = require(\"@mui/material/utils\");"],"names":[],"mappings":";;;;;;;AACA;AAEA,WAAO,eAAc,SAAU,cAAc;AAAA,MAC3C,OAAO;AAAA,IACT,CAAC;AACD,WAAO,eAAe,SAAS,WAAW;AAAA,MACxC,YAAY;AAAA,MACZ,KAAK,WAAY;AACf,eAAO,OAAO;AAAA,MAClB;AAAA,IACA,CAAC;AACD,QAAI,SAAS;AAAA;;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.esm.js","sources":["../../../../../../node_modules/@mui/icons-material/utils/createSvgIcon.js"],"sourcesContent":["\"use strict\";\n'use client';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"default\", {\n enumerable: true,\n get: function () {\n return _utils.createSvgIcon;\n }\n});\nvar _utils = require(\"@mui/material/utils\");"],"names":["exports"],"mappings":";;;;;;;AACA;AAEA,WAAO,eAAcA,WAAU,cAAc;AAAA,MAC3C,OAAO;AAAA,IACT,CAAC;AACD,WAAO,eAAeA,WAAS,WAAW;AAAA,MACxC,YAAY;AAAA,MACZ,KAAK,WAAY;AACf,eAAO,OAAO;AAAA,MAClB;AAAA,IACA,CAAC;AACD,QAAI,SAAS;AAAA;;;","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,r=require("../../../../../_virtual/createSvgIcon/index.js"),t=require("../../../../../_virtual/index/index3.js");exports.__require=function(){return e||(e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=t.default}(r.__exports)),r.__exports};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,r=require("../../../../../_virtual/createSvgIcon/index.js"),t=require("../../../../../_virtual/index/index2.js");exports.__require=function(){return e||(e=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return r.createSvgIcon}});var r=t.default}(r.__exports)),r.__exports};
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../node_modules/@mui/material/Hidden/HiddenJs.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport exactProp from '@mui/utils/exactProp';\nimport withWidth, { isWidthDown, isWidthUp } from './withWidth';\nimport useTheme from '../styles/useTheme';\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction HiddenJs(props) {\n const {\n children,\n only,\n width\n } = props;\n const theme = useTheme();\n let visible = true;\n\n // `only` check is faster to get out sooner if used.\n if (only) {\n if (Array.isArray(only)) {\n for (let i = 0; i < only.length; i += 1) {\n const breakpoint = only[i];\n if (width === breakpoint) {\n visible = false;\n break;\n }\n }\n } else if (only && width === only) {\n visible = false;\n }\n }\n\n // Allow `only` to be combined with other props. If already hidden, no need to check others.\n if (visible) {\n // determine visibility based on the smallest size up\n for (let i = 0; i < theme.breakpoints.keys.length; i += 1) {\n const breakpoint = theme.breakpoints.keys[i];\n const breakpointUp = props[`${breakpoint}Up`];\n const breakpointDown = props[`${breakpoint}Down`];\n if (breakpointUp && isWidthUp(breakpoint, width) || breakpointDown && isWidthDown(breakpoint, width)) {\n visible = false;\n break;\n }\n }\n }\n if (!visible) {\n return null;\n }\n return /*#__PURE__*/_jsx(React.Fragment, {\n children: children\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? HiddenJs.propTypes = {\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * If `true`, screens this size and down are hidden.\n */\n // eslint-disable-next-line react/no-unused-prop-types\n lgDown: PropTypes.bool,\n /**\n * If `true`, screens this size and up are hidden.\n */\n // eslint-disable-next-line react/no-unused-prop-types\n lgUp: PropTypes.bool,\n /**\n * If `true`, screens this size and down are hidden.\n */\n // eslint-disable-next-line react/no-unused-prop-types\n mdDown: PropTypes.bool,\n /**\n * If `true`, screens this size and up are hidden.\n */\n // eslint-disable-next-line react/no-unused-prop-types\n mdUp: PropTypes.bool,\n /**\n * Hide the given breakpoint(s).\n */\n only: PropTypes.oneOfType([PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl']), PropTypes.arrayOf(PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl']))]),\n /**\n * If `true`, screens this size and down are hidden.\n */\n // eslint-disable-next-line react/no-unused-prop-types\n smDown: PropTypes.bool,\n /**\n * If `true`, screens this size and up are hidden.\n */\n // eslint-disable-next-line react/no-unused-prop-types\n smUp: PropTypes.bool,\n /**\n * @ignore\n * width prop provided by withWidth decorator.\n */\n width: PropTypes.string.isRequired,\n /**\n * If `true`, screens this size and down are hidden.\n */\n // eslint-disable-next-line react/no-unused-prop-types\n xlDown: PropTypes.bool,\n /**\n * If `true`, screens this size and up are hidden.\n */\n // eslint-disable-next-line react/no-unused-prop-types\n xlUp: PropTypes.bool,\n /**\n * If `true`, screens this size and down are hidden.\n */\n // eslint-disable-next-line react/no-unused-prop-types\n xsDown: PropTypes.bool,\n /**\n * If `true`, screens this size and up are hidden.\n */\n // eslint-disable-next-line react/no-unused-prop-types\n xsUp: PropTypes.bool\n} : void 0;\nif (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? HiddenJs.propTypes = exactProp(HiddenJs.propTypes) : void 0;\n}\nexport default withWidth()(HiddenJs);"],"names":["HiddenJs","props","children","only","width","theme","useTheme","visible","Array","isArray","i","length","breakpoints","keys","breakpoint","breakpointUp","breakpointDown","isWidthUp","isWidthDown","_jsx","React","Fragment","process","env","NODE_ENV","propTypes","PropTypes","node","lgDown","bool","lgUp","mdDown","mdUp","oneOfType","oneOf","arrayOf","smDown","smUp","string","isRequired","xlDown","xlUp","xsDown","xsUp","exactProp","HiddenJs$1","withWidth"],"mappings":"qoBAYA,SAASA,EAASC,GAChB,MAA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AAA,QAAUG,OAEW,eAAzBP,QAAQC,IAAIC,UACW,eAAzBF,QAAQC,IAAIC,WAA4BxB,EAASyB,UAAYmB,UAAU5C,EAASyB,YAElF,IAAAoB,EAAeC,EAAAA,SAAAA,CAAY9C","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../node_modules/@mui/material/Hidden/HiddenJs.js"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport exactProp from '@mui/utils/exactProp';\nimport withWidth, { isWidthDown, isWidthUp } from './withWidth';\nimport useTheme from '../styles/useTheme';\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nfunction HiddenJs(props) {\n const {\n children,\n only,\n width\n } = props;\n const theme = useTheme();\n let visible = true;\n\n // `only` check is faster to get out sooner if used.\n if (only) {\n if (Array.isArray(only)) {\n for (let i = 0; i < only.length; i += 1) {\n const breakpoint = only[i];\n if (width === breakpoint) {\n visible = false;\n break;\n }\n }\n } else if (only && width === only) {\n visible = false;\n }\n }\n\n // Allow `only` to be combined with other props. If already hidden, no need to check others.\n if (visible) {\n // determine visibility based on the smallest size up\n for (let i = 0; i < theme.breakpoints.keys.length; i += 1) {\n const breakpoint = theme.breakpoints.keys[i];\n const breakpointUp = props[`${breakpoint}Up`];\n const breakpointDown = props[`${breakpoint}Down`];\n if (breakpointUp && isWidthUp(breakpoint, width) || breakpointDown && isWidthDown(breakpoint, width)) {\n visible = false;\n break;\n }\n }\n }\n if (!visible) {\n return null;\n }\n return /*#__PURE__*/_jsx(React.Fragment, {\n children: children\n });\n}\nprocess.env.NODE_ENV !== \"production\" ? HiddenJs.propTypes = {\n /**\n * The content of the component.\n */\n children: PropTypes.node,\n /**\n * If `true`, screens this size and down are hidden.\n */\n // eslint-disable-next-line react/no-unused-prop-types\n lgDown: PropTypes.bool,\n /**\n * If `true`, screens this size and up are hidden.\n */\n // eslint-disable-next-line react/no-unused-prop-types\n lgUp: PropTypes.bool,\n /**\n * If `true`, screens this size and down are hidden.\n */\n // eslint-disable-next-line react/no-unused-prop-types\n mdDown: PropTypes.bool,\n /**\n * If `true`, screens this size and up are hidden.\n */\n // eslint-disable-next-line react/no-unused-prop-types\n mdUp: PropTypes.bool,\n /**\n * Hide the given breakpoint(s).\n */\n only: PropTypes.oneOfType([PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl']), PropTypes.arrayOf(PropTypes.oneOf(['xs', 'sm', 'md', 'lg', 'xl']))]),\n /**\n * If `true`, screens this size and down are hidden.\n */\n // eslint-disable-next-line react/no-unused-prop-types\n smDown: PropTypes.bool,\n /**\n * If `true`, screens this size and up are hidden.\n */\n // eslint-disable-next-line react/no-unused-prop-types\n smUp: PropTypes.bool,\n /**\n * @ignore\n * width prop provided by withWidth decorator.\n */\n width: PropTypes.string.isRequired,\n /**\n * If `true`, screens this size and down are hidden.\n */\n // eslint-disable-next-line react/no-unused-prop-types\n xlDown: PropTypes.bool,\n /**\n * If `true`, screens this size and up are hidden.\n */\n // eslint-disable-next-line react/no-unused-prop-types\n xlUp: PropTypes.bool,\n /**\n * If `true`, screens this size and down are hidden.\n */\n // eslint-disable-next-line react/no-unused-prop-types\n xsDown: PropTypes.bool,\n /**\n * If `true`, screens this size and up are hidden.\n */\n // eslint-disable-next-line react/no-unused-prop-types\n xsUp: PropTypes.bool\n} : void 0;\nif (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== \"production\" ? HiddenJs.propTypes = exactProp(HiddenJs.propTypes) : void 0;\n}\nexport default withWidth()(HiddenJs);"],"names":["HiddenJs","props","children","only","width","theme","useTheme","visible","Array","isArray","i","length","breakpoints","keys","breakpoint","breakpointUp","breakpointDown","isWidthUp","isWidthDown","_jsx","React","Fragment","process","env","NODE_ENV","propTypes","PropTypes","node","lgDown","bool","lgUp","mdDown","mdUp","oneOfType","oneOf","arrayOf","smDown","smUp","string","isRequired","xlDown","xlUp","xsDown","xsUp","exactProp","withWidth"],"mappings":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AAA,QAAUG,KAKlBc,KAAMjB,EAAAA,QAAUG,OAEW,eAAzBP,QAAQC,IAAIC,UACW,eAAzBF,QAAQC,IAAIC,WAA4BxB,EAASyB,UAAYmB,UAAU5C,EAASyB,YAElF,IAAAzB,EAAe6C,EAAAA,SAAAA,CAAY7C","x_google_ignoreList":[0]}
@@ -1,6 +1,6 @@
1
1
  import { __exports as colorManipulator } from "../../../../_virtual/colorManipulator/index.esm.js";
2
- import require$$1 from "../../../../_virtual/index/index.esm10.js";
3
- import require$$2 from "../../../../_virtual/index/index.esm11.js";
2
+ import require$$1 from "../../../../_virtual/index/index.esm9.js";
3
+ import require$$2 from "../../../../_virtual/index/index.esm10.js";
4
4
  import { i as interopRequireDefaultExports } from "../../../@babel/runtime/helpers/interopRequireDefault/index.esm.js";
5
5
  var _interopRequireDefault = interopRequireDefaultExports;
6
6
  Object.defineProperty(colorManipulator, "__esModule", {
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../_virtual/colorManipulator/index.js"),r=require("../../../../_virtual/index/index10.js"),t=require("../../../../_virtual/index/index11.js"),n=require("../../../@babel/runtime/helpers/interopRequireDefault/index.js").interopRequireDefaultExports;Object.defineProperty(e.__exports,"__esModule",{value:!0});var o=e.__exports.alpha=g;e.__exports.blend=function(e,r,t,n=1){const o=(e,r)=>Math.round((e**(1/n)*(1-t)+r**(1/n)*t)**n),s=_(e),a=_(r);return x({type:"rgb",values:[o(s.values[0],a.values[0]),o(s.values[1],a.values[1]),o(s.values[2],a.values[2])]})},e.__exports.colorChannel=void 0;var s=e.__exports.darken=y;e.__exports.decomposeColor=_;var a=e.__exports.emphasize=O,l=e.__exports.getContrastRatio=function(e,r){const t=d(e),n=d(r);return(Math.max(t,n)+.05)/(Math.min(t,n)+.05)};e.__exports.getLuminance=d,e.__exports.hexToRgb=f,e.__exports.hslToRgb=v;var p=e.__exports.lighten=b;e.__exports.private_safeAlpha=function(e,r,t){try{return g(e,r)}catch(n){return t&&process.env.NODE_ENV,e}},e.__exports.private_safeColorChannel=void 0,e.__exports.private_safeDarken=function(e,r,t){try{return y(e,r)}catch(n){return t&&process.env.NODE_ENV,e}},e.__exports.private_safeEmphasize=function(e,r,t){try{return O(e,r)}catch(n){return t&&process.env.NODE_ENV,e}},e.__exports.private_safeLighten=function(e,r,t){try{return b(e,r)}catch(n){return t&&process.env.NODE_ENV,e}},e.__exports.recomposeColor=x,e.__exports.rgbToHex=function(e){if(0===e.indexOf("#"))return e;const{values:r}=_(e);return`#${r.map((e,r)=>function(e){const r=e.toString(16);return 1===r.length?`0${r}`:r}(3===r?Math.round(255*e):e)).join("")}`};var u=n(r.default),i=n(t.default);function c(e,r=0,t=1){return process.env.NODE_ENV,(0,i.default)(e,r,t)}function f(e){e=e.slice(1);const r=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let t=e.match(r);return t&&1===t[0].length&&(t=t.map(e=>e+e)),t?`rgb${4===t.length?"a":""}(${t.map((e,r)=>r<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}function _(e){if(e.type)return e;if("#"===e.charAt(0))return _(f(e));const r=e.indexOf("("),t=e.substring(0,r);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(t))throw new Error("production"!==process.env.NODE_ENV?`MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:(0,u.default)(9,e));let n,o=e.substring(r+1,e.length-1);if("color"===t){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error("production"!==process.env.NODE_ENV?`MUI: unsupported \`${n}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,u.default)(10,n))}else o=o.split(",");return o=o.map(e=>parseFloat(e)),{type:t,values:o,colorSpace:n}}const h=e=>{const r=_(e);return r.values.slice(0,3).map((e,t)=>-1!==r.type.indexOf("hsl")&&0!==t?`${e}%`:e).join(" ")};function x(e){const{type:r,colorSpace:t}=e;let{values:n}=e;return-1!==r.indexOf("rgb")?n=n.map((e,r)=>r<3?parseInt(e,10):e):-1!==r.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==r.indexOf("color")?`${t} ${n.join(" ")}`:`${n.join(", ")}`,`${r}(${n})`}function v(e){e=_(e);const{values:r}=e,t=r[0],n=r[1]/100,o=r[2]/100,s=n*Math.min(o,1-o),a=(e,r=(e+t/30)%12)=>o-s*Math.max(Math.min(r-3,9-r,1),-1);let l="rgb";const p=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(l+="a",p.push(r[3])),x({type:l,values:p})}function d(e){let r="hsl"===(e=_(e)).type||"hsla"===e.type?_(v(e)).values:e.values;return r=r.map(r=>("color"!==e.type&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*r[0]+.7152*r[1]+.0722*r[2]).toFixed(3))}function g(e,r){return e=_(e),r=c(r),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${r}`:e.values[3]=r,x(e)}function y(e,r){if(e=_(e),r=c(r),-1!==e.type.indexOf("hsl"))e.values[2]*=1-r;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let t=0;t<3;t+=1)e.values[t]*=1-r;return x(e)}function b(e,r){if(e=_(e),r=c(r),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*r;else if(-1!==e.type.indexOf("rgb"))for(let t=0;t<3;t+=1)e.values[t]+=(255-e.values[t])*r;else if(-1!==e.type.indexOf("color"))for(let t=0;t<3;t+=1)e.values[t]+=(1-e.values[t])*r;return x(e)}function O(e,r=.15){return d(e)>.5?y(e,r):b(e,r)}e.__exports.colorChannel=h,e.__exports.private_safeColorChannel=(e,r)=>{try{return h(e)}catch(t){return r&&process.env.NODE_ENV,e}},exports.default=e.__exports,exports.alpha=o,exports.darken=s,exports.emphasize=a,exports.getContrastRatio=l,exports.lighten=p;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../_virtual/colorManipulator/index.js"),r=require("../../../../_virtual/index/index9.js"),t=require("../../../../_virtual/index/index10.js"),n=require("../../../@babel/runtime/helpers/interopRequireDefault/index.js").interopRequireDefaultExports;Object.defineProperty(e.__exports,"__esModule",{value:!0});var o=e.__exports.alpha=g;e.__exports.blend=function(e,r,t,n=1){const o=(e,r)=>Math.round((e**(1/n)*(1-t)+r**(1/n)*t)**n),s=_(e),a=_(r);return x({type:"rgb",values:[o(s.values[0],a.values[0]),o(s.values[1],a.values[1]),o(s.values[2],a.values[2])]})},e.__exports.colorChannel=void 0;var s=e.__exports.darken=y;e.__exports.decomposeColor=_;var a=e.__exports.emphasize=O,l=e.__exports.getContrastRatio=function(e,r){const t=d(e),n=d(r);return(Math.max(t,n)+.05)/(Math.min(t,n)+.05)};e.__exports.getLuminance=d,e.__exports.hexToRgb=f,e.__exports.hslToRgb=v;var p=e.__exports.lighten=b;e.__exports.private_safeAlpha=function(e,r,t){try{return g(e,r)}catch(n){return t&&process.env.NODE_ENV,e}},e.__exports.private_safeColorChannel=void 0,e.__exports.private_safeDarken=function(e,r,t){try{return y(e,r)}catch(n){return t&&process.env.NODE_ENV,e}},e.__exports.private_safeEmphasize=function(e,r,t){try{return O(e,r)}catch(n){return t&&process.env.NODE_ENV,e}},e.__exports.private_safeLighten=function(e,r,t){try{return b(e,r)}catch(n){return t&&process.env.NODE_ENV,e}},e.__exports.recomposeColor=x,e.__exports.rgbToHex=function(e){if(0===e.indexOf("#"))return e;const{values:r}=_(e);return`#${r.map((e,r)=>function(e){const r=e.toString(16);return 1===r.length?`0${r}`:r}(3===r?Math.round(255*e):e)).join("")}`};var u=n(r.default),i=n(t.default);function c(e,r=0,t=1){return process.env.NODE_ENV,(0,i.default)(e,r,t)}function f(e){e=e.slice(1);const r=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let t=e.match(r);return t&&1===t[0].length&&(t=t.map(e=>e+e)),t?`rgb${4===t.length?"a":""}(${t.map((e,r)=>r<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}function _(e){if(e.type)return e;if("#"===e.charAt(0))return _(f(e));const r=e.indexOf("("),t=e.substring(0,r);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(t))throw new Error("production"!==process.env.NODE_ENV?`MUI: Unsupported \`${e}\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().`:(0,u.default)(9,e));let n,o=e.substring(r+1,e.length-1);if("color"===t){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error("production"!==process.env.NODE_ENV?`MUI: unsupported \`${n}\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.`:(0,u.default)(10,n))}else o=o.split(",");return o=o.map(e=>parseFloat(e)),{type:t,values:o,colorSpace:n}}const h=e=>{const r=_(e);return r.values.slice(0,3).map((e,t)=>-1!==r.type.indexOf("hsl")&&0!==t?`${e}%`:e).join(" ")};function x(e){const{type:r,colorSpace:t}=e;let{values:n}=e;return-1!==r.indexOf("rgb")?n=n.map((e,r)=>r<3?parseInt(e,10):e):-1!==r.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==r.indexOf("color")?`${t} ${n.join(" ")}`:`${n.join(", ")}`,`${r}(${n})`}function v(e){e=_(e);const{values:r}=e,t=r[0],n=r[1]/100,o=r[2]/100,s=n*Math.min(o,1-o),a=(e,r=(e+t/30)%12)=>o-s*Math.max(Math.min(r-3,9-r,1),-1);let l="rgb";const p=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(l+="a",p.push(r[3])),x({type:l,values:p})}function d(e){let r="hsl"===(e=_(e)).type||"hsla"===e.type?_(v(e)).values:e.values;return r=r.map(r=>("color"!==e.type&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*r[0]+.7152*r[1]+.0722*r[2]).toFixed(3))}function g(e,r){return e=_(e),r=c(r),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${r}`:e.values[3]=r,x(e)}function y(e,r){if(e=_(e),r=c(r),-1!==e.type.indexOf("hsl"))e.values[2]*=1-r;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let t=0;t<3;t+=1)e.values[t]*=1-r;return x(e)}function b(e,r){if(e=_(e),r=c(r),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*r;else if(-1!==e.type.indexOf("rgb"))for(let t=0;t<3;t+=1)e.values[t]+=(255-e.values[t])*r;else if(-1!==e.type.indexOf("color"))for(let t=0;t<3;t+=1)e.values[t]+=(1-e.values[t])*r;return x(e)}function O(e,r=.15){return d(e)>.5?y(e,r):b(e,r)}e.__exports.colorChannel=h,e.__exports.private_safeColorChannel=(e,r)=>{try{return h(e)}catch(t){return r&&process.env.NODE_ENV,e}},exports.default=e.__exports,exports.alpha=o,exports.darken=s,exports.emphasize=a,exports.getContrastRatio=l,exports.lighten=p;
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../node_modules/@mui/system/colorManipulator.js"],"sourcesContent":["\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.alpha = alpha;\nexports.blend = blend;\nexports.colorChannel = void 0;\nexports.darken = darken;\nexports.decomposeColor = decomposeColor;\nexports.emphasize = emphasize;\nexports.getContrastRatio = getContrastRatio;\nexports.getLuminance = getLuminance;\nexports.hexToRgb = hexToRgb;\nexports.hslToRgb = hslToRgb;\nexports.lighten = lighten;\nexports.private_safeAlpha = private_safeAlpha;\nexports.private_safeColorChannel = void 0;\nexports.private_safeDarken = private_safeDarken;\nexports.private_safeEmphasize = private_safeEmphasize;\nexports.private_safeLighten = private_safeLighten;\nexports.recomposeColor = recomposeColor;\nexports.rgbToHex = rgbToHex;\nvar _formatMuiErrorMessage2 = _interopRequireDefault(require(\"@mui/utils/formatMuiErrorMessage\"));\nvar _clamp = _interopRequireDefault(require(\"@mui/utils/clamp\"));\n/* eslint-disable @typescript-eslint/naming-convention */\n\n/**\n * Returns a number whose value is limited to the given range.\n * @param {number} value The value to be clamped\n * @param {number} min The lower boundary of the output range\n * @param {number} max The upper boundary of the output range\n * @returns {number} A number in the range [min, max]\n */\nfunction clampWrapper(value, min = 0, max = 1) {\n if (process.env.NODE_ENV !== 'production') {\n if (value < min || value > max) {\n console.error(`MUI: The value provided ${value} is out of range [${min}, ${max}].`);\n }\n }\n return (0, _clamp.default)(value, min, max);\n}\n\n/**\n * Converts a color from CSS hex format to CSS rgb format.\n * @param {string} color - Hex color, i.e. #nnn or #nnnnnn\n * @returns {string} A CSS rgb color string\n */\nfunction hexToRgb(color) {\n color = color.slice(1);\n const re = new RegExp(`.{1,${color.length >= 6 ? 2 : 1}}`, 'g');\n let colors = color.match(re);\n if (colors && colors[0].length === 1) {\n colors = colors.map(n => n + n);\n }\n return colors ? `rgb${colors.length === 4 ? 'a' : ''}(${colors.map((n, index) => {\n return index < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1000) / 1000;\n }).join(', ')})` : '';\n}\nfunction intToHex(int) {\n const hex = int.toString(16);\n return hex.length === 1 ? `0${hex}` : hex;\n}\n\n/**\n * Returns an object with the type and values of a color.\n *\n * Note: Does not support rgb % values.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {object} - A MUI color object: {type: string, values: number[]}\n */\nfunction decomposeColor(color) {\n // Idempotent\n if (color.type) {\n return color;\n }\n if (color.charAt(0) === '#') {\n return decomposeColor(hexToRgb(color));\n }\n const marker = color.indexOf('(');\n const type = color.substring(0, marker);\n if (['rgb', 'rgba', 'hsl', 'hsla', 'color'].indexOf(type) === -1) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: Unsupported \\`${color}\\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : (0, _formatMuiErrorMessage2.default)(9, color));\n }\n let values = color.substring(marker + 1, color.length - 1);\n let colorSpace;\n if (type === 'color') {\n values = values.split(' ');\n colorSpace = values.shift();\n if (values.length === 4 && values[3].charAt(0) === '/') {\n values[3] = values[3].slice(1);\n }\n if (['srgb', 'display-p3', 'a98-rgb', 'prophoto-rgb', 'rec-2020'].indexOf(colorSpace) === -1) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: unsupported \\`${colorSpace}\\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : (0, _formatMuiErrorMessage2.default)(10, colorSpace));\n }\n } else {\n values = values.split(',');\n }\n values = values.map(value => parseFloat(value));\n return {\n type,\n values,\n colorSpace\n };\n}\n\n/**\n * Returns a channel created from the input color.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {string} - The channel for the color, that can be used in rgba or hsla colors\n */\nconst colorChannel = color => {\n const decomposedColor = decomposeColor(color);\n return decomposedColor.values.slice(0, 3).map((val, idx) => decomposedColor.type.indexOf('hsl') !== -1 && idx !== 0 ? `${val}%` : val).join(' ');\n};\nexports.colorChannel = colorChannel;\nconst private_safeColorChannel = (color, warning) => {\n try {\n return colorChannel(color);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n};\n\n/**\n * Converts a color object with type and values to a string.\n * @param {object} color - Decomposed color\n * @param {string} color.type - One of: 'rgb', 'rgba', 'hsl', 'hsla', 'color'\n * @param {array} color.values - [n,n,n] or [n,n,n,n]\n * @returns {string} A CSS color string\n */\nexports.private_safeColorChannel = private_safeColorChannel;\nfunction recomposeColor(color) {\n const {\n type,\n colorSpace\n } = color;\n let {\n values\n } = color;\n if (type.indexOf('rgb') !== -1) {\n // Only convert the first 3 values to int (i.e. not alpha)\n values = values.map((n, i) => i < 3 ? parseInt(n, 10) : n);\n } else if (type.indexOf('hsl') !== -1) {\n values[1] = `${values[1]}%`;\n values[2] = `${values[2]}%`;\n }\n if (type.indexOf('color') !== -1) {\n values = `${colorSpace} ${values.join(' ')}`;\n } else {\n values = `${values.join(', ')}`;\n }\n return `${type}(${values})`;\n}\n\n/**\n * Converts a color from CSS rgb format to CSS hex format.\n * @param {string} color - RGB color, i.e. rgb(n, n, n)\n * @returns {string} A CSS rgb color string, i.e. #nnnnnn\n */\nfunction rgbToHex(color) {\n // Idempotent\n if (color.indexOf('#') === 0) {\n return color;\n }\n const {\n values\n } = decomposeColor(color);\n return `#${values.map((n, i) => intToHex(i === 3 ? Math.round(255 * n) : n)).join('')}`;\n}\n\n/**\n * Converts a color from hsl format to rgb format.\n * @param {string} color - HSL color values\n * @returns {string} rgb color values\n */\nfunction hslToRgb(color) {\n color = decomposeColor(color);\n const {\n values\n } = color;\n const h = values[0];\n const s = values[1] / 100;\n const l = values[2] / 100;\n const a = s * Math.min(l, 1 - l);\n const f = (n, k = (n + h / 30) % 12) => l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);\n let type = 'rgb';\n const rgb = [Math.round(f(0) * 255), Math.round(f(8) * 255), Math.round(f(4) * 255)];\n if (color.type === 'hsla') {\n type += 'a';\n rgb.push(values[3]);\n }\n return recomposeColor({\n type,\n values: rgb\n });\n}\n/**\n * The relative brightness of any point in a color space,\n * normalized to 0 for darkest black and 1 for lightest white.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {number} The relative brightness of the color in the range 0 - 1\n */\nfunction getLuminance(color) {\n color = decomposeColor(color);\n let rgb = color.type === 'hsl' || color.type === 'hsla' ? decomposeColor(hslToRgb(color)).values : color.values;\n rgb = rgb.map(val => {\n if (color.type !== 'color') {\n val /= 255; // normalized\n }\n return val <= 0.03928 ? val / 12.92 : ((val + 0.055) / 1.055) ** 2.4;\n });\n\n // Truncate at 3 digits\n return Number((0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]).toFixed(3));\n}\n\n/**\n * Calculates the contrast ratio between two colors.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n * @param {string} foreground - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {string} background - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @returns {number} A contrast ratio value in the range 0 - 21.\n */\nfunction getContrastRatio(foreground, background) {\n const lumA = getLuminance(foreground);\n const lumB = getLuminance(background);\n return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05);\n}\n\n/**\n * Sets the absolute transparency of a color.\n * Any existing alpha values are overwritten.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} value - value to set the alpha channel to in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nfunction alpha(color, value) {\n color = decomposeColor(color);\n value = clampWrapper(value);\n if (color.type === 'rgb' || color.type === 'hsl') {\n color.type += 'a';\n }\n if (color.type === 'color') {\n color.values[3] = `/${value}`;\n } else {\n color.values[3] = value;\n }\n return recomposeColor(color);\n}\nfunction private_safeAlpha(color, value, warning) {\n try {\n return alpha(color, value);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Darkens a color.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nfunction darken(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clampWrapper(coefficient);\n if (color.type.indexOf('hsl') !== -1) {\n color.values[2] *= 1 - coefficient;\n } else if (color.type.indexOf('rgb') !== -1 || color.type.indexOf('color') !== -1) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] *= 1 - coefficient;\n }\n }\n return recomposeColor(color);\n}\nfunction private_safeDarken(color, coefficient, warning) {\n try {\n return darken(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Lightens a color.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nfunction lighten(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clampWrapper(coefficient);\n if (color.type.indexOf('hsl') !== -1) {\n color.values[2] += (100 - color.values[2]) * coefficient;\n } else if (color.type.indexOf('rgb') !== -1) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] += (255 - color.values[i]) * coefficient;\n }\n } else if (color.type.indexOf('color') !== -1) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] += (1 - color.values[i]) * coefficient;\n }\n }\n return recomposeColor(color);\n}\nfunction private_safeLighten(color, coefficient, warning) {\n try {\n return lighten(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Darken or lighten a color, depending on its luminance.\n * Light colors are darkened, dark colors are lightened.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient=0.15 - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nfunction emphasize(color, coefficient = 0.15) {\n return getLuminance(color) > 0.5 ? darken(color, coefficient) : lighten(color, coefficient);\n}\nfunction private_safeEmphasize(color, coefficient, warning) {\n try {\n return emphasize(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Blend a transparent overlay color with a background color, resulting in a single\n * RGB color.\n * @param {string} background - CSS color\n * @param {string} overlay - CSS color\n * @param {number} opacity - Opacity multiplier in the range 0 - 1\n * @param {number} [gamma=1.0] - Gamma correction factor. For gamma-correct blending, 2.2 is usual.\n */\nfunction blend(background, overlay, opacity, gamma = 1.0) {\n const blendChannel = (b, o) => Math.round((b ** (1 / gamma) * (1 - opacity) + o ** (1 / gamma) * opacity) ** gamma);\n const backgroundColor = decomposeColor(background);\n const overlayColor = decomposeColor(overlay);\n const rgb = [blendChannel(backgroundColor.values[0], overlayColor.values[0]), blendChannel(backgroundColor.values[1], overlayColor.values[1]), blendChannel(backgroundColor.values[2], overlayColor.values[2])];\n return recomposeColor({\n type: 'rgb',\n values: rgb\n });\n}"],"names":["_interopRequireDefault","require$$0","Object","defineProperty","colorManipulator","value","alpha_1","alpha","blend","background","overlay","opacity","gamma","blendChannel","b","o","Math","round","backgroundColor","decomposeColor","overlayColor","recomposeColor","type","values","colorChannel","darken_1","darken","emphasize_1","emphasize","getContrastRatio_1","getContrastRatio","foreground","lumA","getLuminance","lumB","max","min","hexToRgb","hslToRgb","lighten_1","lighten","private_safeAlpha","color","warning","error","process","env","NODE_ENV","private_safeColorChannel","private_safeDarken","coefficient","private_safeEmphasize","private_safeLighten","rgbToHex","indexOf","map","n","i","int","hex","toString","length","intToHex","join","_formatMuiErrorMessage2","require$$1","_clamp","require$$2","clampWrapper","default","slice","re","RegExp","colors","match","index","parseInt","charAt","marker","substring","Error","colorSpace","split","shift","parseFloat","decomposedColor","val","idx","h","s","l","a","f","k","rgb","push","Number","toFixed"],"mappings":"0OAEIA,4EAAyBC,6BAC7BC,OAAOC,eAAeC,EAAAA,UAAS,aAAc,CAC3CC,OAAO,IAET,IAAAC,EAAAF,EAAAA,UAAAG,MAAgBA,EAChBH,EAAAA,UAAAI,MAmWA,SAAeC,EAAYC,EAASC,EAASC,EAAQ,GACnD,MAAMC,EAAe,CAACC,EAAGC,IAAMC,KAAKC,OAAOH,IAAM,EAAIF,IAAU,EAAID,GAAWI,IAAM,EAAIH,GAASD,IAAYC,GACvGM,EAAkBC,EAAeV,GACjCW,EAAeD,EAAeT,GAEpC,OAAOW,EAAe,CACpBC,KAAM,MACNC,OAHU,CAACV,EAAaK,EAAgBK,OAAO,GAAIH,EAAaG,OAAO,IAAKV,EAAaK,EAAgBK,OAAO,GAAIH,EAAaG,OAAO,IAAKV,EAAaK,EAAgBK,OAAO,GAAIH,EAAaG,OAAO,MAK7M,EA3WAnB,EAAAA,UAAAoB,kBAAuB,EACvB,IAAAC,EAAArB,EAAAA,UAAAsB,OAAiBA,EACjBtB,EAAAA,UAAAe,eAAyBA,EACzB,IAAAQ,EAAAvB,EAAAA,UAAAwB,UAAoBA,EACpBC,EAAAzB,EAAAA,UAAA0B,iBA8NA,SAA0BC,EAAYtB,GACpC,MAAMuB,EAAOC,EAAaF,GACpBG,EAAOD,EAAaxB,GAC1B,OAAQO,KAAKmB,IAAIH,EAAME,GAAQ,MAASlB,KAAKoB,IAAIJ,EAAME,GAAQ,IACjE,EAjOA9B,EAAAA,UAAA6B,aAAuBA,EACvB7B,EAAAA,UAAAiC,SAAmBA,EACnBjC,EAAAA,UAAAkC,SAAmBA,EACnB,IAAAC,EAAAnC,EAAAA,UAAAoC,QAAkBA,EAClBpC,EAAAA,UAAAqC,kBAmPA,SAA2BC,EAAOrC,EAAOsC,GACvC,IACE,OAAOpC,EAAMmC,EAAOrC,EACxB,OAAWuC,G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AMnB,OAAO,IAAM2B,WACN,IAA9BR,EAAMpB,KAAKgC,QAAQ,OAC5B,IAAA,IAASG,EAAI,EAAGA,EAAI,EAAGA,GAAK,EAC1Bf,EAAMnB,OAAOkC,KAAO,IAAMf,EAAMnB,OAAOkC,IAAMP,WAEN,IAAhCR,EAAMpB,KAAKgC,QAAQ,SAC5B,IAAA,IAASG,EAAI,EAAGA,EAAI,EAAGA,GAAK,EAC1Bf,EAAMnB,OAAOkC,KAAO,EAAIf,EAAMnB,OAAOkC,IAAMP,EAG/C,OAAO7B,EAAeqB,EACxB,CAmBA,SAASd,EAAUc,EAAOQ,EAAc,KACtC,OAAOjB,EAAaS,GAAS,GAAMhB,EAAOgB,EAAOQ,GAAeV,EAAQE,EAAOQ,EACjF,CA/NA9C,EAAAA,UAAAoB,aAAuBA,EAmBvBpB,EAAAA,UAAA4C,yBAlBiC,CAACN,EAAOC,KACvC,IACE,OAAOnB,EAAakB,EACxB,OAAWE,GAIP,OAHID,GAAWE,QAAQC,IAAIC,SAGpBL,CACX","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../../node_modules/@mui/system/colorManipulator.js"],"sourcesContent":["\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.alpha = alpha;\nexports.blend = blend;\nexports.colorChannel = void 0;\nexports.darken = darken;\nexports.decomposeColor = decomposeColor;\nexports.emphasize = emphasize;\nexports.getContrastRatio = getContrastRatio;\nexports.getLuminance = getLuminance;\nexports.hexToRgb = hexToRgb;\nexports.hslToRgb = hslToRgb;\nexports.lighten = lighten;\nexports.private_safeAlpha = private_safeAlpha;\nexports.private_safeColorChannel = void 0;\nexports.private_safeDarken = private_safeDarken;\nexports.private_safeEmphasize = private_safeEmphasize;\nexports.private_safeLighten = private_safeLighten;\nexports.recomposeColor = recomposeColor;\nexports.rgbToHex = rgbToHex;\nvar _formatMuiErrorMessage2 = _interopRequireDefault(require(\"@mui/utils/formatMuiErrorMessage\"));\nvar _clamp = _interopRequireDefault(require(\"@mui/utils/clamp\"));\n/* eslint-disable @typescript-eslint/naming-convention */\n\n/**\n * Returns a number whose value is limited to the given range.\n * @param {number} value The value to be clamped\n * @param {number} min The lower boundary of the output range\n * @param {number} max The upper boundary of the output range\n * @returns {number} A number in the range [min, max]\n */\nfunction clampWrapper(value, min = 0, max = 1) {\n if (process.env.NODE_ENV !== 'production') {\n if (value < min || value > max) {\n console.error(`MUI: The value provided ${value} is out of range [${min}, ${max}].`);\n }\n }\n return (0, _clamp.default)(value, min, max);\n}\n\n/**\n * Converts a color from CSS hex format to CSS rgb format.\n * @param {string} color - Hex color, i.e. #nnn or #nnnnnn\n * @returns {string} A CSS rgb color string\n */\nfunction hexToRgb(color) {\n color = color.slice(1);\n const re = new RegExp(`.{1,${color.length >= 6 ? 2 : 1}}`, 'g');\n let colors = color.match(re);\n if (colors && colors[0].length === 1) {\n colors = colors.map(n => n + n);\n }\n return colors ? `rgb${colors.length === 4 ? 'a' : ''}(${colors.map((n, index) => {\n return index < 3 ? parseInt(n, 16) : Math.round(parseInt(n, 16) / 255 * 1000) / 1000;\n }).join(', ')})` : '';\n}\nfunction intToHex(int) {\n const hex = int.toString(16);\n return hex.length === 1 ? `0${hex}` : hex;\n}\n\n/**\n * Returns an object with the type and values of a color.\n *\n * Note: Does not support rgb % values.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {object} - A MUI color object: {type: string, values: number[]}\n */\nfunction decomposeColor(color) {\n // Idempotent\n if (color.type) {\n return color;\n }\n if (color.charAt(0) === '#') {\n return decomposeColor(hexToRgb(color));\n }\n const marker = color.indexOf('(');\n const type = color.substring(0, marker);\n if (['rgb', 'rgba', 'hsl', 'hsla', 'color'].indexOf(type) === -1) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: Unsupported \\`${color}\\` color.\nThe following formats are supported: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().` : (0, _formatMuiErrorMessage2.default)(9, color));\n }\n let values = color.substring(marker + 1, color.length - 1);\n let colorSpace;\n if (type === 'color') {\n values = values.split(' ');\n colorSpace = values.shift();\n if (values.length === 4 && values[3].charAt(0) === '/') {\n values[3] = values[3].slice(1);\n }\n if (['srgb', 'display-p3', 'a98-rgb', 'prophoto-rgb', 'rec-2020'].indexOf(colorSpace) === -1) {\n throw new Error(process.env.NODE_ENV !== \"production\" ? `MUI: unsupported \\`${colorSpace}\\` color space.\nThe following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rgb, rec-2020.` : (0, _formatMuiErrorMessage2.default)(10, colorSpace));\n }\n } else {\n values = values.split(',');\n }\n values = values.map(value => parseFloat(value));\n return {\n type,\n values,\n colorSpace\n };\n}\n\n/**\n * Returns a channel created from the input color.\n *\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {string} - The channel for the color, that can be used in rgba or hsla colors\n */\nconst colorChannel = color => {\n const decomposedColor = decomposeColor(color);\n return decomposedColor.values.slice(0, 3).map((val, idx) => decomposedColor.type.indexOf('hsl') !== -1 && idx !== 0 ? `${val}%` : val).join(' ');\n};\nexports.colorChannel = colorChannel;\nconst private_safeColorChannel = (color, warning) => {\n try {\n return colorChannel(color);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n};\n\n/**\n * Converts a color object with type and values to a string.\n * @param {object} color - Decomposed color\n * @param {string} color.type - One of: 'rgb', 'rgba', 'hsl', 'hsla', 'color'\n * @param {array} color.values - [n,n,n] or [n,n,n,n]\n * @returns {string} A CSS color string\n */\nexports.private_safeColorChannel = private_safeColorChannel;\nfunction recomposeColor(color) {\n const {\n type,\n colorSpace\n } = color;\n let {\n values\n } = color;\n if (type.indexOf('rgb') !== -1) {\n // Only convert the first 3 values to int (i.e. not alpha)\n values = values.map((n, i) => i < 3 ? parseInt(n, 10) : n);\n } else if (type.indexOf('hsl') !== -1) {\n values[1] = `${values[1]}%`;\n values[2] = `${values[2]}%`;\n }\n if (type.indexOf('color') !== -1) {\n values = `${colorSpace} ${values.join(' ')}`;\n } else {\n values = `${values.join(', ')}`;\n }\n return `${type}(${values})`;\n}\n\n/**\n * Converts a color from CSS rgb format to CSS hex format.\n * @param {string} color - RGB color, i.e. rgb(n, n, n)\n * @returns {string} A CSS rgb color string, i.e. #nnnnnn\n */\nfunction rgbToHex(color) {\n // Idempotent\n if (color.indexOf('#') === 0) {\n return color;\n }\n const {\n values\n } = decomposeColor(color);\n return `#${values.map((n, i) => intToHex(i === 3 ? Math.round(255 * n) : n)).join('')}`;\n}\n\n/**\n * Converts a color from hsl format to rgb format.\n * @param {string} color - HSL color values\n * @returns {string} rgb color values\n */\nfunction hslToRgb(color) {\n color = decomposeColor(color);\n const {\n values\n } = color;\n const h = values[0];\n const s = values[1] / 100;\n const l = values[2] / 100;\n const a = s * Math.min(l, 1 - l);\n const f = (n, k = (n + h / 30) % 12) => l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);\n let type = 'rgb';\n const rgb = [Math.round(f(0) * 255), Math.round(f(8) * 255), Math.round(f(4) * 255)];\n if (color.type === 'hsla') {\n type += 'a';\n rgb.push(values[3]);\n }\n return recomposeColor({\n type,\n values: rgb\n });\n}\n/**\n * The relative brightness of any point in a color space,\n * normalized to 0 for darkest black and 1 for lightest white.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @returns {number} The relative brightness of the color in the range 0 - 1\n */\nfunction getLuminance(color) {\n color = decomposeColor(color);\n let rgb = color.type === 'hsl' || color.type === 'hsla' ? decomposeColor(hslToRgb(color)).values : color.values;\n rgb = rgb.map(val => {\n if (color.type !== 'color') {\n val /= 255; // normalized\n }\n return val <= 0.03928 ? val / 12.92 : ((val + 0.055) / 1.055) ** 2.4;\n });\n\n // Truncate at 3 digits\n return Number((0.2126 * rgb[0] + 0.7152 * rgb[1] + 0.0722 * rgb[2]).toFixed(3));\n}\n\n/**\n * Calculates the contrast ratio between two colors.\n *\n * Formula: https://www.w3.org/TR/WCAG20-TECHS/G17.html#G17-tests\n * @param {string} foreground - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @param {string} background - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla()\n * @returns {number} A contrast ratio value in the range 0 - 21.\n */\nfunction getContrastRatio(foreground, background) {\n const lumA = getLuminance(foreground);\n const lumB = getLuminance(background);\n return (Math.max(lumA, lumB) + 0.05) / (Math.min(lumA, lumB) + 0.05);\n}\n\n/**\n * Sets the absolute transparency of a color.\n * Any existing alpha values are overwritten.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} value - value to set the alpha channel to in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nfunction alpha(color, value) {\n color = decomposeColor(color);\n value = clampWrapper(value);\n if (color.type === 'rgb' || color.type === 'hsl') {\n color.type += 'a';\n }\n if (color.type === 'color') {\n color.values[3] = `/${value}`;\n } else {\n color.values[3] = value;\n }\n return recomposeColor(color);\n}\nfunction private_safeAlpha(color, value, warning) {\n try {\n return alpha(color, value);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Darkens a color.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nfunction darken(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clampWrapper(coefficient);\n if (color.type.indexOf('hsl') !== -1) {\n color.values[2] *= 1 - coefficient;\n } else if (color.type.indexOf('rgb') !== -1 || color.type.indexOf('color') !== -1) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] *= 1 - coefficient;\n }\n }\n return recomposeColor(color);\n}\nfunction private_safeDarken(color, coefficient, warning) {\n try {\n return darken(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Lightens a color.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nfunction lighten(color, coefficient) {\n color = decomposeColor(color);\n coefficient = clampWrapper(coefficient);\n if (color.type.indexOf('hsl') !== -1) {\n color.values[2] += (100 - color.values[2]) * coefficient;\n } else if (color.type.indexOf('rgb') !== -1) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] += (255 - color.values[i]) * coefficient;\n }\n } else if (color.type.indexOf('color') !== -1) {\n for (let i = 0; i < 3; i += 1) {\n color.values[i] += (1 - color.values[i]) * coefficient;\n }\n }\n return recomposeColor(color);\n}\nfunction private_safeLighten(color, coefficient, warning) {\n try {\n return lighten(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Darken or lighten a color, depending on its luminance.\n * Light colors are darkened, dark colors are lightened.\n * @param {string} color - CSS color, i.e. one of: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color()\n * @param {number} coefficient=0.15 - multiplier in the range 0 - 1\n * @returns {string} A CSS color string. Hex input values are returned as rgb\n */\nfunction emphasize(color, coefficient = 0.15) {\n return getLuminance(color) > 0.5 ? darken(color, coefficient) : lighten(color, coefficient);\n}\nfunction private_safeEmphasize(color, coefficient, warning) {\n try {\n return emphasize(color, coefficient);\n } catch (error) {\n if (warning && process.env.NODE_ENV !== 'production') {\n console.warn(warning);\n }\n return color;\n }\n}\n\n/**\n * Blend a transparent overlay color with a background color, resulting in a single\n * RGB color.\n * @param {string} background - CSS color\n * @param {string} overlay - CSS color\n * @param {number} opacity - Opacity multiplier in the range 0 - 1\n * @param {number} [gamma=1.0] - Gamma correction factor. For gamma-correct blending, 2.2 is usual.\n */\nfunction blend(background, overlay, opacity, gamma = 1.0) {\n const blendChannel = (b, o) => Math.round((b ** (1 / gamma) * (1 - opacity) + o ** (1 / gamma) * opacity) ** gamma);\n const backgroundColor = decomposeColor(background);\n const overlayColor = decomposeColor(overlay);\n const rgb = [blendChannel(backgroundColor.values[0], overlayColor.values[0]), blendChannel(backgroundColor.values[1], overlayColor.values[1]), blendChannel(backgroundColor.values[2], overlayColor.values[2])];\n return recomposeColor({\n type: 'rgb',\n values: rgb\n });\n}"],"names":["_interopRequireDefault","require$$0","Object","defineProperty","colorManipulator","value","alpha_1","alpha","blend","background","overlay","opacity","gamma","blendChannel","b","o","Math","round","backgroundColor","decomposeColor","overlayColor","recomposeColor","type","values","colorChannel","darken_1","darken","emphasize_1","emphasize","getContrastRatio_1","getContrastRatio","foreground","lumA","getLuminance","lumB","max","min","hexToRgb","hslToRgb","lighten_1","lighten","private_safeAlpha","color","warning","error","process","env","NODE_ENV","private_safeColorChannel","private_safeDarken","coefficient","private_safeEmphasize","private_safeLighten","rgbToHex","indexOf","map","n","i","int","hex","toString","length","intToHex","join","_formatMuiErrorMessage2","require$$1","_clamp","require$$2","clampWrapper","default","slice","re","RegExp","colors","match","index","parseInt","charAt","marker","substring","Error","colorSpace","split","shift","parseFloat","decomposedColor","val","idx","h","s","l","a","f","k","rgb","push","Number","toFixed"],"mappings":"yOAEIA,4EAAyBC,6BAC7BC,OAAOC,eAAeC,EAAAA,UAAS,aAAc,CAC3CC,OAAO,IAET,IAAAC,EAAAF,EAAAA,UAAAG,MAAgBA,EAChBH,EAAAA,UAAAI,MAmWA,SAAeC,EAAYC,EAASC,EAASC,EAAQ,GACnD,MAAMC,EAAe,C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KAAO,EAAIf,EAAMnB,OAAOkC,IAAMP,EAG/C,OAAO7B,EAAeqB,EACxB,CAmBA,SAASd,EAAUc,EAAOQ,EAAc,KACtC,OAAOjB,EAAaS,GAAS,GAAMhB,EAAOgB,EAAOQ,GAAeV,EAAQE,EAAOQ,EACjF,CA/NA9C,EAAAA,UAAAoB,aAAuBA,EAmBvBpB,EAAAA,UAAA4C,yBAlBiC,CAACN,EAAOC,KACvC,IACE,OAAOnB,EAAakB,EACxB,OAAWE,GAIP,OAHID,GAAWE,QAAQC,IAAIC,SAGpBL,CACX","x_google_ignoreList":[0]}
@@ -1,12 +1,12 @@
1
1
  import { __exports as createStyled$1 } from "../../../../_virtual/createStyled/index.esm.js";
2
2
  import { __require as require_extends } from "../../../@babel/runtime/helpers/extends/index.esm.js";
3
3
  import { __require as requireObjectWithoutPropertiesLoose } from "../../../@babel/runtime/helpers/objectWithoutPropertiesLoose/index.esm.js";
4
- import require$$1 from "../../../../_virtual/index/index.esm4.js";
5
- import require$$4 from "../../../../_virtual/index/index.esm5.js";
6
- import require$$5 from "../../../../_virtual/index/index.esm6.js";
7
- import require$$6 from "../../../../_virtual/index/index.esm7.js";
8
- import require$$7 from "../../../../_virtual/index/index.esm8.js";
9
- import require$$8 from "../../../../_virtual/index/index.esm9.js";
4
+ import require$$1 from "../../../../_virtual/index/index.esm3.js";
5
+ import require$$4 from "../../../../_virtual/index/index.esm4.js";
6
+ import require$$5 from "../../../../_virtual/index/index.esm5.js";
7
+ import require$$6 from "../../../../_virtual/index/index.esm6.js";
8
+ import require$$7 from "../../../../_virtual/index/index.esm7.js";
9
+ import require$$8 from "../../../../_virtual/index/index.esm8.js";
10
10
  import { i as interopRequireDefaultExports } from "../../../@babel/runtime/helpers/interopRequireDefault/index.esm.js";
11
11
  var _interopRequireDefault = interopRequireDefaultExports;
12
12
  Object.defineProperty(createStyled$1, "__esModule", {
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../_virtual/createStyled/index.js"),t=require("../../../@babel/runtime/helpers/extends/index.js"),r=require("../../../@babel/runtime/helpers/objectWithoutPropertiesLoose/index.js"),o=require("../../../../_virtual/index/index4.js"),n=require("../../../../_virtual/index/index5.js"),s=require("../../../../_virtual/index/index6.js"),a=require("../../../../_virtual/index/index7.js"),i=require("../../../../_virtual/index/index8.js"),u=require("../../../../_virtual/index/index9.js"),l=require("../../../@babel/runtime/helpers/interopRequireDefault/index.js").interopRequireDefaultExports;Object.defineProperty(e.__exports,"__esModule",{value:!0});var d=e.__exports.default=function(e={}){const{themeId:t,defaultTheme:r=q,rootShouldForwardProp:o=S,slotShouldForwardProp:n=S}=e,s=e=>(0,v.default)((0,f.default)({},e,{theme:g((0,f.default)({},e,{defaultTheme:r,themeId:t}))}));return s.__mui_systemSx=!0,(e,a={})=>{(0,c.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));const{name:i,slot:u,skipVariantsResolver:l,skipSx:d,overridesResolver:_=A(P(u))}=a,v=(0,p.default)(a,w),x=i&&i.startsWith("Mui")||u?"components":"custom",j=void 0!==l?l:u&&"Root"!==u&&"root"!==u||!1,b=d||!1;let O;"production"!==process.env.NODE_ENV&&i&&(O=`${i}-${P(u||"Root")}`);let q=S;"Root"===u||"root"===u?q=o:u?q=n:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(q=void 0);const R=(0,c.default)(e,(0,f.default)({shouldForwardProp:q,label:O},v)),C=e=>"function"==typeof e&&e.__emotion_real!==e||(0,m.isPlainObject)(e)?o=>{const n=g({theme:o.theme,defaultTheme:r,themeId:t});return k(e,(0,f.default)({},o,{theme:n}),n.modularCssLayers?x:void 0)}:e,D=(o,...n)=>{let a=C(o);const l=n?n.map(C):[];i&&_&&l.push(e=>{const o=g((0,f.default)({},e,{defaultTheme:r,themeId:t}));if(!o.components||!o.components[i]||!o.components[i].styleOverrides)return null;const n=o.components[i].styleOverrides,s={};return Object.entries(n).forEach(([t,r])=>{s[t]=k(r,(0,f.default)({},e,{theme:o}),o.modularCssLayers?"theme":void 0)}),_(e,s)}),i&&!j&&l.push(e=>{var o;const n=g((0,f.default)({},e,{defaultTheme:r,themeId:t}));return k({variants:null==n||null==(o=n.components)||null==(o=o[i])?void 0:o.variants},(0,f.default)({},e,{theme:n}),n.modularCssLayers?"theme":void 0)}),b||l.push(s);const d=l.length-n.length;if(Array.isArray(o)&&d>0){const e=new Array(d).fill("");a=[...o,...e],a.raw=[...o.raw,...e]}const p=R(a,...l);if("production"!==process.env.NODE_ENV){let t;i&&(t=`${i}${(0,y.default)(u||"")}`),void 0===t&&(t=`Styled(${(0,h.default)(e)})`),p.displayName=t}return e.muiName&&(p.muiName=e.muiName),p};return R.withConfig&&(D.withConfig=R.withConfig),D}};e.__exports.shouldForwardProp=S,e.__exports.systemDefaultTheme=void 0;var f=l(t.__require()),p=l(r.__require()),c=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b(void 0);if(t&&t.has(e))return t.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var s=o?Object.getOwnPropertyDescriptor(e,n):null;s&&(s.get||s.set)?Object.defineProperty(r,n,s):r[n]=e[n]}return r.default=e,t&&t.set(e,r),r}(o.default),m=n.default,y=l(s.default),h=l(a.default),_=l(i.default),v=l(u.default);const x=["ownerState"],j=["variants"],w=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function b(e){if("function"!=typeof WeakMap)return null;var t=/* @__PURE__ */new WeakMap,r=/* @__PURE__ */new WeakMap;return(b=function(e){return e?r:t})(e)}function S(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function O(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}const q=e.__exports.systemDefaultTheme=(0,_.default)(),P=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function g({defaultTheme:e,theme:t,themeId:r}){return o=t,0===Object.keys(o).length?e:t[r]||t;var o}function A(e){return e?(t,r)=>r[e]:null}function k(e,t,r){let{ownerState:o}=t,n=(0,p.default)(t,x);const s="function"==typeof e?e((0,f.default)({ownerState:o},n)):e;if(Array.isArray(s))return s.flatMap(e=>k(e,(0,f.default)({ownerState:o},n),r));if(s&&"object"==typeof s&&Array.isArray(s.variants)){const{variants:e=[]}=s;let t=(0,p.default)(s,j);return e.forEach(e=>{let s=!0;if("function"==typeof e.props?s=e.props((0,f.default)({ownerState:o},n,o)):Object.keys(e.props).forEach(t=>{(null==o?void 0:o[t])!==e.props[t]&&n[t]!==e.props[t]&&(s=!1)}),s){Array.isArray(t)||(t=[t]);const s="function"==typeof e.style?e.style((0,f.default)({ownerState:o},n,o)):e.style;t.push(r?O((0,c.internal_serializeStyles)(s),r):s)}}),t}return r?O((0,c.internal_serializeStyles)(s),r):s}exports.default=d;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../_virtual/createStyled/index.js"),t=require("../../../@babel/runtime/helpers/extends/index.js"),r=require("../../../@babel/runtime/helpers/objectWithoutPropertiesLoose/index.js"),o=require("../../../../_virtual/index/index3.js"),n=require("../../../../_virtual/index/index4.js"),s=require("../../../../_virtual/index/index5.js"),a=require("../../../../_virtual/index/index6.js"),i=require("../../../../_virtual/index/index7.js"),u=require("../../../../_virtual/index/index8.js"),l=require("../../../@babel/runtime/helpers/interopRequireDefault/index.js").interopRequireDefaultExports;Object.defineProperty(e.__exports,"__esModule",{value:!0});var d=e.__exports.default=function(e={}){const{themeId:t,defaultTheme:r=q,rootShouldForwardProp:o=S,slotShouldForwardProp:n=S}=e,s=e=>(0,v.default)((0,f.default)({},e,{theme:g((0,f.default)({},e,{defaultTheme:r,themeId:t}))}));return s.__mui_systemSx=!0,(e,a={})=>{(0,c.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));const{name:i,slot:u,skipVariantsResolver:l,skipSx:d,overridesResolver:_=A(P(u))}=a,v=(0,p.default)(a,w),x=i&&i.startsWith("Mui")||u?"components":"custom",j=void 0!==l?l:u&&"Root"!==u&&"root"!==u||!1,b=d||!1;let O;"production"!==process.env.NODE_ENV&&i&&(O=`${i}-${P(u||"Root")}`);let q=S;"Root"===u||"root"===u?q=o:u?q=n:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(q=void 0);const R=(0,c.default)(e,(0,f.default)({shouldForwardProp:q,label:O},v)),C=e=>"function"==typeof e&&e.__emotion_real!==e||(0,m.isPlainObject)(e)?o=>{const n=g({theme:o.theme,defaultTheme:r,themeId:t});return k(e,(0,f.default)({},o,{theme:n}),n.modularCssLayers?x:void 0)}:e,D=(o,...n)=>{let a=C(o);const l=n?n.map(C):[];i&&_&&l.push(e=>{const o=g((0,f.default)({},e,{defaultTheme:r,themeId:t}));if(!o.components||!o.components[i]||!o.components[i].styleOverrides)return null;const n=o.components[i].styleOverrides,s={};return Object.entries(n).forEach(([t,r])=>{s[t]=k(r,(0,f.default)({},e,{theme:o}),o.modularCssLayers?"theme":void 0)}),_(e,s)}),i&&!j&&l.push(e=>{var o;const n=g((0,f.default)({},e,{defaultTheme:r,themeId:t}));return k({variants:null==n||null==(o=n.components)||null==(o=o[i])?void 0:o.variants},(0,f.default)({},e,{theme:n}),n.modularCssLayers?"theme":void 0)}),b||l.push(s);const d=l.length-n.length;if(Array.isArray(o)&&d>0){const e=new Array(d).fill("");a=[...o,...e],a.raw=[...o.raw,...e]}const p=R(a,...l);if("production"!==process.env.NODE_ENV){let t;i&&(t=`${i}${(0,y.default)(u||"")}`),void 0===t&&(t=`Styled(${(0,h.default)(e)})`),p.displayName=t}return e.muiName&&(p.muiName=e.muiName),p};return R.withConfig&&(D.withConfig=R.withConfig),D}};e.__exports.shouldForwardProp=S,e.__exports.systemDefaultTheme=void 0;var f=l(t.__require()),p=l(r.__require()),c=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=b(void 0);if(t&&t.has(e))return t.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var s=o?Object.getOwnPropertyDescriptor(e,n):null;s&&(s.get||s.set)?Object.defineProperty(r,n,s):r[n]=e[n]}return r.default=e,t&&t.set(e,r),r}(o.default),m=n.default,y=l(s.default),h=l(a.default),_=l(i.default),v=l(u.default);const x=["ownerState"],j=["variants"],w=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function b(e){if("function"!=typeof WeakMap)return null;var t=/* @__PURE__ */new WeakMap,r=/* @__PURE__ */new WeakMap;return(b=function(e){return e?r:t})(e)}function S(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function O(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}const q=e.__exports.systemDefaultTheme=(0,_.default)(),P=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function g({defaultTheme:e,theme:t,themeId:r}){return o=t,0===Object.keys(o).length?e:t[r]||t;var o}function A(e){return e?(t,r)=>r[e]:null}function k(e,t,r){let{ownerState:o}=t,n=(0,p.default)(t,x);const s="function"==typeof e?e((0,f.default)({ownerState:o},n)):e;if(Array.isArray(s))return s.flatMap(e=>k(e,(0,f.default)({ownerState:o},n),r));if(s&&"object"==typeof s&&Array.isArray(s.variants)){const{variants:e=[]}=s;let t=(0,p.default)(s,j);return e.forEach(e=>{let s=!0;if("function"==typeof e.props?s=e.props((0,f.default)({ownerState:o},n,o)):Object.keys(e.props).forEach(t=>{(null==o?void 0:o[t])!==e.props[t]&&n[t]!==e.props[t]&&(s=!1)}),s){Array.isArray(t)||(t=[t]);const s="function"==typeof e.style?e.style((0,f.default)({ownerState:o},n,o)):e.style;t.push(r?O((0,c.internal_serializeStyles)(s),r):s)}}),t}return r?O((0,c.internal_serializeStyles)(s),r):s}exports.default=d;
2
2
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
1
  import { __exports as useThemeWithoutDefault } from "../../../../_virtual/useThemeWithoutDefault/index.esm.js";
2
- import require$$1 from "../../../../_virtual/index/index.esm4.js";
2
+ import require$$1 from "../../../../_virtual/index/index.esm3.js";
3
3
  import React__default from "react";
4
4
  Object.defineProperty(useThemeWithoutDefault, "__esModule", {
5
5
  value: true
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../_virtual/useThemeWithoutDefault/index.js"),t=require("../../../../_virtual/index/index4.js");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=/* @__PURE__ */r(require("react"));Object.defineProperty(e.__exports,"__esModule",{value:!0}),exports.default=e.__exports.default=void 0;var n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a(void 0);if(t&&t.has(e))return t.get(e);var r={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var o=u?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(r,n,o):r[n]=e[n]}return r.default=e,t&&t.set(e,r),r}(u.default),o=t.default;function a(e){if("function"!=typeof WeakMap)return null;var t=/* @__PURE__ */new WeakMap,r=/* @__PURE__ */new WeakMap;return(a=function(e){return e?r:t})(e)}exports.default=e.__exports.default=function(e=null){const t=n.useContext(o.ThemeContext);return t&&(r=t,0!==Object.keys(r).length)?t:e;var r};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../_virtual/useThemeWithoutDefault/index.js"),t=require("../../../../_virtual/index/index3.js");function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var u=/* @__PURE__ */r(require("react"));Object.defineProperty(e.__exports,"__esModule",{value:!0}),exports.default=e.__exports.default=void 0;var n=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=a(void 0);if(t&&t.has(e))return t.get(e);var r={__proto__:null},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if("default"!==n&&Object.prototype.hasOwnProperty.call(e,n)){var o=u?Object.getOwnPropertyDescriptor(e,n):null;o&&(o.get||o.set)?Object.defineProperty(r,n,o):r[n]=e[n]}return r.default=e,t&&t.set(e,r),r}(u.default),o=t.default;function a(e){if("function"!=typeof WeakMap)return null;var t=/* @__PURE__ */new WeakMap,r=/* @__PURE__ */new WeakMap;return(a=function(e){return e?r:t})(e)}exports.default=e.__exports.default=function(e=null){const t=n.useContext(o.ThemeContext);return t&&(r=t,0!==Object.keys(r).length)?t:e;var r};
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js"],"sourcesContent":["import PropTypes from 'prop-types';\nimport chainPropTypes from '../chainPropTypes';\nfunction isClassComponent(elementType) {\n // elementType.prototype?.isReactComponent\n const {\n prototype = {}\n } = elementType;\n return Boolean(prototype.isReactComponent);\n}\nfunction elementTypeAcceptingRef(props, propName, componentName, location, propFullName) {\n const propValue = props[propName];\n const safePropName = propFullName || propName;\n if (propValue == null ||\n // When server-side rendering React doesn't warn either.\n // This is not an accurate check for SSR.\n // This is only in place for emotion compat.\n // TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.\n typeof window === 'undefined') {\n return null;\n }\n let warningHint;\n\n /**\n * Blacklisting instead of whitelisting\n *\n * Blacklisting will miss some components, such as React.Fragment. Those will at least\n * trigger a warning in React.\n * We can't whitelist because there is no safe way to detect React.forwardRef\n * or class components. \"Safe\" means there's no public API.\n *\n */\n if (typeof propValue === 'function' && !isClassComponent(propValue)) {\n warningHint = 'Did you accidentally provide a plain function component instead?';\n }\n if (warningHint !== undefined) {\n return new Error(`Invalid ${location} \\`${safePropName}\\` supplied to \\`${componentName}\\`. ` + `Expected an element type that can hold a ref. ${warningHint} ` + 'For more information see https://mui.com/r/caveat-with-refs-guide');\n }\n return null;\n}\nexport default chainPropTypes(PropTypes.elementType, elementTypeAcceptingRef);"],"names":["elementTypeAcceptingRef$1","PropTypes","elementType","props","propName","componentName","location","propFullName","propValue","safePropName","window","warningHint","prototype","Boolean","isReactComponent","isClassComponent","Error"],"mappings":"8HAuCAA,kEAA8BC,EAAAA,QAAUC,YA9BxC,SAAiCC,EAAOC,EAAUC,EAAeC,EAAUC,GACzE,MAAMC,EAAYL,EAAMC,GAClBK,EAAeF,GAAgBH,EACrC,GAAiB,MAAbI,GAKc,oBAAXE,OACL,OAAO,KAET,IAAIC,EAcJ,MAHyB,mBAAdH,GA7Bb,SAA0BN,GAExB,MAAMU,UACJA,EAAY,CAAA,GACVV,EACJ,OAAOW,QAAQD,EAAUE,iBAC3B,CAuB0CC,CAAiBP,KACvDG,EAAc,yEAEI,IAAhBA,EACK,IAAIK,MAAM,WAAWV,OAAcG,qBAAgCJ,sDAAuEM,uEAE5I,IACT","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/@mui/utils/esm/elementTypeAcceptingRef/elementTypeAcceptingRef.js"],"sourcesContent":["import PropTypes from 'prop-types';\nimport chainPropTypes from '../chainPropTypes';\nfunction isClassComponent(elementType) {\n // elementType.prototype?.isReactComponent\n const {\n prototype = {}\n } = elementType;\n return Boolean(prototype.isReactComponent);\n}\nfunction elementTypeAcceptingRef(props, propName, componentName, location, propFullName) {\n const propValue = props[propName];\n const safePropName = propFullName || propName;\n if (propValue == null ||\n // When server-side rendering React doesn't warn either.\n // This is not an accurate check for SSR.\n // This is only in place for emotion compat.\n // TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.\n typeof window === 'undefined') {\n return null;\n }\n let warningHint;\n\n /**\n * Blacklisting instead of whitelisting\n *\n * Blacklisting will miss some components, such as React.Fragment. Those will at least\n * trigger a warning in React.\n * We can't whitelist because there is no safe way to detect React.forwardRef\n * or class components. \"Safe\" means there's no public API.\n *\n */\n if (typeof propValue === 'function' && !isClassComponent(propValue)) {\n warningHint = 'Did you accidentally provide a plain function component instead?';\n }\n if (warningHint !== undefined) {\n return new Error(`Invalid ${location} \\`${safePropName}\\` supplied to \\`${componentName}\\`. ` + `Expected an element type that can hold a ref. ${warningHint} ` + 'For more information see https://mui.com/r/caveat-with-refs-guide');\n }\n return null;\n}\nexport default chainPropTypes(PropTypes.elementType, elementTypeAcceptingRef);"],"names":["elementTypeAcceptingRef","PropTypes","elementType","props","propName","componentName","location","propFullName","propValue","safePropName","window","warningHint","prototype","Boolean","isReactComponent","isClassComponent","Error"],"mappings":"8HAuCAA,kEAA8BC,EAAAA,QAAUC,YA9BxC,SAAiCC,EAAOC,EAAUC,EAAeC,EAAUC,GACzE,MAAMC,EAAYL,EAAMC,GAClBK,EAAeF,GAAgBH,EACrC,GAAiB,MAAbI,GAKc,oBAAXE,OACL,OAAO,KAET,IAAIC,EAcJ,MAHyB,mBAAdH,GA7Bb,SAA0BN,GAExB,MAAMU,UACJA,EAAY,CAAA,GACVV,EACJ,OAAOW,QAAQD,EAAUE,iBAC3B,CAuB0CC,CAAiBP,KACvDG,EAAc,yEAEI,IAAhBA,EACK,IAAIK,MAAM,WAAWV,OAAcG,qBAAgCJ,sDAAuEM,uEAE5I,IACT","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/@popperjs/core/lib/modifiers/applyStyles.js"],"sourcesContent":["import getNodeName from \"../dom-utils/getNodeName.js\";\nimport { isHTMLElement } from \"../dom-utils/instanceOf.js\"; // This modifier takes the styles prepared by the `computeStyles` modifier\n// and applies them to the HTMLElements such as popper and arrow\n\nfunction applyStyles(_ref) {\n var state = _ref.state;\n Object.keys(state.elements).forEach(function (name) {\n var style = state.styles[name] || {};\n var attributes = state.attributes[name] || {};\n var element = state.elements[name]; // arrow is optional + virtual elements\n\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n } // Flow doesn't support to extend this property, but it's the most\n // effective way to apply styles to an HTMLElement\n // $FlowFixMe[cannot-write]\n\n\n Object.assign(element.style, style);\n Object.keys(attributes).forEach(function (name) {\n var value = attributes[name];\n\n if (value === false) {\n element.removeAttribute(name);\n } else {\n element.setAttribute(name, value === true ? '' : value);\n }\n });\n });\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state;\n var initialStyles = {\n popper: {\n position: state.options.strategy,\n left: '0',\n top: '0',\n margin: '0'\n },\n arrow: {\n position: 'absolute'\n },\n reference: {}\n };\n Object.assign(state.elements.popper.style, initialStyles.popper);\n state.styles = initialStyles;\n\n if (state.elements.arrow) {\n Object.assign(state.elements.arrow.style, initialStyles.arrow);\n }\n\n return function () {\n Object.keys(state.elements).forEach(function (name) {\n var element = state.elements[name];\n var attributes = state.attributes[name] || {};\n var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); // Set all values to an empty string to unset them\n\n var style = styleProperties.reduce(function (style, property) {\n style[property] = '';\n return style;\n }, {}); // arrow is optional + virtual elements\n\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n }\n\n Object.assign(element.style, style);\n Object.keys(attributes).forEach(function (attribute) {\n element.removeAttribute(attribute);\n });\n });\n };\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'applyStyles',\n enabled: true,\n phase: 'write',\n fn: applyStyles,\n effect: effect,\n requires: ['computeStyles']\n};"],"names":["applyStyles$1","name","enabled","phase","fn","_ref","state","Object","keys","elements","forEach","style","styles","attributes","element","isHTMLElement","getNodeName","assign","value","removeAttribute","setAttribute","effect","_ref2","initialStyles","popper","position","options","strategy","left","top","margin","arrow","reference","hasOwnProperty","reduce","property","attribute","requires"],"mappings":"2KA4EAA,EAAe,CACbC,KAAM,cACNC,SAAS,EACTC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H,MAAOA,GAC7BJ,OAAOC,KAAKK,GAAYH,QAAQ,SAAU0B,GACxCtB,EAAQK,gBAAgBiB,EAC1B,GACF,EACF,CACF,EASEC,SAAU,CAAC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/@popperjs/core/lib/modifiers/applyStyles.js"],"sourcesContent":["import getNodeName from \"../dom-utils/getNodeName.js\";\nimport { isHTMLElement } from \"../dom-utils/instanceOf.js\"; // This modifier takes the styles prepared by the `computeStyles` modifier\n// and applies them to the HTMLElements such as popper and arrow\n\nfunction applyStyles(_ref) {\n var state = _ref.state;\n Object.keys(state.elements).forEach(function (name) {\n var style = state.styles[name] || {};\n var attributes = state.attributes[name] || {};\n var element = state.elements[name]; // arrow is optional + virtual elements\n\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n } // Flow doesn't support to extend this property, but it's the most\n // effective way to apply styles to an HTMLElement\n // $FlowFixMe[cannot-write]\n\n\n Object.assign(element.style, style);\n Object.keys(attributes).forEach(function (name) {\n var value = attributes[name];\n\n if (value === false) {\n element.removeAttribute(name);\n } else {\n element.setAttribute(name, value === true ? '' : value);\n }\n });\n });\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state;\n var initialStyles = {\n popper: {\n position: state.options.strategy,\n left: '0',\n top: '0',\n margin: '0'\n },\n arrow: {\n position: 'absolute'\n },\n reference: {}\n };\n Object.assign(state.elements.popper.style, initialStyles.popper);\n state.styles = initialStyles;\n\n if (state.elements.arrow) {\n Object.assign(state.elements.arrow.style, initialStyles.arrow);\n }\n\n return function () {\n Object.keys(state.elements).forEach(function (name) {\n var element = state.elements[name];\n var attributes = state.attributes[name] || {};\n var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); // Set all values to an empty string to unset them\n\n var style = styleProperties.reduce(function (style, property) {\n style[property] = '';\n return style;\n }, {}); // arrow is optional + virtual elements\n\n if (!isHTMLElement(element) || !getNodeName(element)) {\n return;\n }\n\n Object.assign(element.style, style);\n Object.keys(attributes).forEach(function (attribute) {\n element.removeAttribute(attribute);\n });\n });\n };\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'applyStyles',\n enabled: true,\n phase: 'write',\n fn: applyStyles,\n effect: effect,\n requires: ['computeStyles']\n};"],"names":["applyStyles","name","enabled","phase","fn","_ref","state","Object","keys","elements","forEach","style","styles","attributes","element","isHTMLElement","getNodeName","assign","value","removeAttribute","setAttribute","effect","_ref2","initialStyles","popper","position","options","strategy","left","top","margin","arrow","reference","hasOwnProperty","reduce","property","attribute","requires"],"mappings":"2KA4EAA,EAAe,CACbC,KAAM,cACNC,SAAS,EACTC,MAAO,QACPC,GA5EF,SAAqBC,GACnB,IAAIC,EAAQD,EAAKC,MACjBC,OAAOC,KAAKF,EAAMG,UAAUC,QAAQ,SAAUT,GAC5C,IAAIU,EAAQL,EAAMM,OAAOX,IAAS,CAAA,EAC9BY,EAAaP,EAAMO,WAAWZ,IAAS,CAAA,EACvCa,EAAUR,EAAMG,SAASR,GAExBc,EAAAA,cAAcD,IAAaE,EAAAA,QAAYF,KAO5CP,OAAOU,OAAOH,EAAQH,MAAOA,GAC7BJ,OAAOC,KAAKK,GAAYH,QAAQ,SAAUT,GACxC,IAAIiB,EAAQL,EAAWZ,IAET,IAAViB,EACFJ,EAAQK,gBAAgBlB,GAExBa,EAAQM,aAAanB,GAAgB,IAAViB,EAAiB,GAAKA,EAErD,GACF,EACF,EAoDEG,OAlDF,SAAgBC,GACd,IAAIhB,EAAQgB,EAAMhB,MACdiB,EAAgB,CAClBC,OAAQ,CACNC,SAAUnB,EAAMoB,QAAQC,SACxBC,KAAM,IACNC,IAAK,IACLC,OAAQ,KAEVC,MAAO,CACLN,SAAU,YAEZO,UAAW,CAAA,GASb,OAPAzB,OAAOU,OAAOX,EAAMG,SAASe,OAAOb,MAAOY,EAAcC,QACzDlB,EAAMM,OAASW,EAEXjB,EAAMG,SAASsB,OACjBxB,OAAOU,OAAOX,EAAMG,SAASsB,MAAMpB,MAAOY,EAAcQ,OAGnD,WACLxB,OAAOC,KAAKF,EAAMG,UAAUC,QAAQ,SAAUT,GAC5C,IAAIa,EAAUR,EAAMG,SAASR,GACzBY,EAAaP,EAAMO,WAAWZ,IAAS,CAAA,EAGvCU,EAFkBJ,OAAOC,KAAKF,EAAMM,OAAOqB,eAAehC,GAAQK,EAAMM,OAAOX,GAAQsB,EAActB,IAE7EiC,OAAO,SAAUvB,EAAOwB,GAElD,OADAxB,EAAMwB,GAAY,GACXxB,CACT,EAAG,CAAA,GAEEI,EAAAA,cAAcD,IAAaE,EAAAA,QAAYF,KAI5CP,OAAOU,OAAOH,EAAQH,MAAOA,GAC7BJ,OAAOC,KAAKK,GAAYH,QAAQ,SAAU0B,GACxCtB,EAAQK,gBAAgBiB,EAC1B,GACF,EACF,CACF,EASEC,SAAU,CAAC","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/@popperjs/core/lib/modifiers/arrow.js"],"sourcesContent":["import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getLayoutRect from \"../dom-utils/getLayoutRect.js\";\nimport contains from \"../dom-utils/contains.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport getMainAxisFromPlacement from \"../utils/getMainAxisFromPlacement.js\";\nimport { within } from \"../utils/within.js\";\nimport mergePaddingObject from \"../utils/mergePaddingObject.js\";\nimport expandToHashMap from \"../utils/expandToHashMap.js\";\nimport { left, right, basePlacements, top, bottom } from \"../enums.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar toPaddingObject = function toPaddingObject(padding, state) {\n padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, {\n placement: state.placement\n })) : padding;\n return mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));\n};\n\nfunction arrow(_ref) {\n var _state$modifiersData$;\n\n var state = _ref.state,\n name = _ref.name,\n options = _ref.options;\n var arrowElement = state.elements.arrow;\n var popperOffsets = state.modifiersData.popperOffsets;\n var basePlacement = getBasePlacement(state.placement);\n var axis = getMainAxisFromPlacement(basePlacement);\n var isVertical = [left, right].indexOf(basePlacement) >= 0;\n var len = isVertical ? 'height' : 'width';\n\n if (!arrowElement || !popperOffsets) {\n return;\n }\n\n var paddingObject = toPaddingObject(options.padding, state);\n var arrowRect = getLayoutRect(arrowElement);\n var minProp = axis === 'y' ? top : left;\n var maxProp = axis === 'y' ? bottom : right;\n var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];\n var startDiff = popperOffsets[axis] - state.rects.reference[axis];\n var arrowOffsetParent = getOffsetParent(arrowElement);\n var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;\n var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is\n // outside of the popper bounds\n\n var min = paddingObject[minProp];\n var max = clientSize - arrowRect[len] - paddingObject[maxProp];\n var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;\n var offset = within(min, center, max); // Prevents breaking syntax highlighting...\n\n var axisProp = axis;\n state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state,\n options = _ref2.options;\n var _options$element = options.element,\n arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;\n\n if (arrowElement == null) {\n return;\n } // CSS selector\n\n\n if (typeof arrowElement === 'string') {\n arrowElement = state.elements.popper.querySelector(arrowElement);\n\n if (!arrowElement) {\n return;\n }\n }\n\n if (!contains(state.elements.popper, arrowElement)) {\n return;\n }\n\n state.elements.arrow = arrowElement;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'arrow',\n enabled: true,\n phase: 'main',\n fn: arrow,\n effect: effect,\n requires: ['popperOffsets'],\n requiresIfExists: ['preventOverflow']\n};"],"names":["arrow$1","name","enabled","phase","fn","_ref","_state$modifiersData$","state","options","arrowElement","elements","arrow","popperOffsets","modifiersData","basePlacement","getBasePlacement","placement","axis","getMainAxisFromPlacement","len","left","right","indexOf","paddingObject","padding","Object","assign","rects","mergePaddingObject","expandToHashMap","basePlacements","toPaddingObject","arrowRect","getLayoutRect","minProp","top","maxProp","bottom","endDiff","reference","popper","startDiff","arrowOffsetParent","getOffsetParent","clientSize","clientHeight","clientWidth","centerToReference","min","max","center","offset","within","axisProp","centerOffset","effect","_ref2","_options$element","element","querySelector","contains","requires","requiresIfExists"],"mappings":"igBAiFAA,EAAe,CACbC,KAAM,QACNC,SAAS,EACTC,MAAO,OACPC,GApEF,SAAeC,GACb,IAAIC,EAEAC,EAAQF,EAAKE,MACbN,EAAOI,EAAKJ,KACZO,EAAUH,EAAKG,QACfC,EAAeF,EAAMG,SAASC,MAC9BC,EAAgBL,EAAMM,cAAcD,cACpCE,EAAgBC,EAAAA,QAAiBR,EAAMS,WACvCC,EAAOC,EAAAA,QAAyBJ,GAEhCK,EADa,CAACC,OAAMC,EAAAA,OAAOC,QAAQR,IAAkB,EAClC,SAAW,QAElC,GAAKL,GAAiBG,EAAtB,CAIA,IAAIW,EAxBgB,SAAyBC,EAASjB,GAItD,OAHAiB,EAA6B,mBAAZA,EAAyBA,EAAQC,OAAOC,OAAO,CAAA,EAAInB,EAAMoB,MAAO,CAC/EX,UAAWT,EAAMS,aACbQ,EACCI,EAAAA,QAAsC,iBAAZJ,EAAuBA,EAAUK,UAAgBL,EAASM,EAAAA,gBAC7F,CAmBsBC,CAAgBvB,EAAQgB,QAASjB,GACjDyB,EAAYC,EAAAA,QAAcxB,GAC1ByB,EAAmB,MAATjB,EAAekB,EAAAA,IAAMf,EAAAA,KAC/BgB,EAAmB,MAATnB,EAAeoB,EAAAA,OAAShB,EAAAA,MAClCiB,EAAU/B,EAAMoB,MAAMY,UAAUpB,GAAOZ,EAAMoB,MAAMY,UAAUtB,GAAQL,EAAcK,GAAQV,EAAMoB,MAAMa,OAAOrB,GAC9GsB,EAAY7B,EAAcK,GAAQV,EAAMoB,MAAMY,UAAUtB,GACxDyB,EAAoBC,EAAAA,QAAgBlC,GACpCmC,EAAaF,EAA6B,MAATzB,EAAeyB,EAAkBG,cAAgB,EAAIH,EAAkBI,aAAe,EAAI,EAC3HC,EAAoBT,EAAU,EAAIG,EAAY,EAG9CO,EAAMzB,EAAcW,GACpBe,EAAML,EAAaZ,EAAUb,GAAOI,EAAca,GAClDc,EAASN,EAAa,EAAIZ,EAAUb,GAAO,EAAI4B,EAC/CI,EAASC,EAAAA,OAAOJ,EAAKE,EAAQD,GAE7BI,EAAWpC,EACfV,EAAMM,cAAcZ,KAASK,EAAwB,CAAA,GAA0B+C,GAAYF,EAAQ7C,EAAsBgD,aAAeH,EAASD,EAAQ5C,EAnBzJ,CAoBF,EAkCEiD,OAhCF,SAAgBC,GACd,IAAIjD,EAAQiD,EAAMjD,MAEdkD,EADUD,EAAMhD,QACWkD,QAC3BjD,OAAoC,IAArBgD,EAA8B,sBAAwBA,EAErD,MAAhBhD,IAKwB,iBAAjBA,IACTA,EAAeF,EAAMG,SAAS8B,OAAOmB,cAAclD,MAOhDmD,EAAAA,QAASrD,EAAMG,SAAS8B,OAAQ/B,KAIrCF,EAAMG,SAASC,MAAQF,EACzB,EASEoD,SAAU,CAAC,iBACXC,iBAAkB,CAAC","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/@popperjs/core/lib/modifiers/arrow.js"],"sourcesContent":["import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getLayoutRect from \"../dom-utils/getLayoutRect.js\";\nimport contains from \"../dom-utils/contains.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport getMainAxisFromPlacement from \"../utils/getMainAxisFromPlacement.js\";\nimport { within } from \"../utils/within.js\";\nimport mergePaddingObject from \"../utils/mergePaddingObject.js\";\nimport expandToHashMap from \"../utils/expandToHashMap.js\";\nimport { left, right, basePlacements, top, bottom } from \"../enums.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar toPaddingObject = function toPaddingObject(padding, state) {\n padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, {\n placement: state.placement\n })) : padding;\n return mergePaddingObject(typeof padding !== 'number' ? padding : expandToHashMap(padding, basePlacements));\n};\n\nfunction arrow(_ref) {\n var _state$modifiersData$;\n\n var state = _ref.state,\n name = _ref.name,\n options = _ref.options;\n var arrowElement = state.elements.arrow;\n var popperOffsets = state.modifiersData.popperOffsets;\n var basePlacement = getBasePlacement(state.placement);\n var axis = getMainAxisFromPlacement(basePlacement);\n var isVertical = [left, right].indexOf(basePlacement) >= 0;\n var len = isVertical ? 'height' : 'width';\n\n if (!arrowElement || !popperOffsets) {\n return;\n }\n\n var paddingObject = toPaddingObject(options.padding, state);\n var arrowRect = getLayoutRect(arrowElement);\n var minProp = axis === 'y' ? top : left;\n var maxProp = axis === 'y' ? bottom : right;\n var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];\n var startDiff = popperOffsets[axis] - state.rects.reference[axis];\n var arrowOffsetParent = getOffsetParent(arrowElement);\n var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;\n var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is\n // outside of the popper bounds\n\n var min = paddingObject[minProp];\n var max = clientSize - arrowRect[len] - paddingObject[maxProp];\n var center = clientSize / 2 - arrowRect[len] / 2 + centerToReference;\n var offset = within(min, center, max); // Prevents breaking syntax highlighting...\n\n var axisProp = axis;\n state.modifiersData[name] = (_state$modifiersData$ = {}, _state$modifiersData$[axisProp] = offset, _state$modifiersData$.centerOffset = offset - center, _state$modifiersData$);\n}\n\nfunction effect(_ref2) {\n var state = _ref2.state,\n options = _ref2.options;\n var _options$element = options.element,\n arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;\n\n if (arrowElement == null) {\n return;\n } // CSS selector\n\n\n if (typeof arrowElement === 'string') {\n arrowElement = state.elements.popper.querySelector(arrowElement);\n\n if (!arrowElement) {\n return;\n }\n }\n\n if (!contains(state.elements.popper, arrowElement)) {\n return;\n }\n\n state.elements.arrow = arrowElement;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'arrow',\n enabled: true,\n phase: 'main',\n fn: arrow,\n effect: effect,\n requires: ['popperOffsets'],\n requiresIfExists: ['preventOverflow']\n};"],"names":["arrow","name","enabled","phase","fn","_ref","_state$modifiersData$","state","options","arrowElement","elements","popperOffsets","modifiersData","basePlacement","getBasePlacement","placement","axis","getMainAxisFromPlacement","len","left","right","indexOf","paddingObject","padding","Object","assign","rects","mergePaddingObject","expandToHashMap","basePlacements","toPaddingObject","arrowRect","getLayoutRect","minProp","top","maxProp","bottom","endDiff","reference","popper","startDiff","arrowOffsetParent","getOffsetParent","clientSize","clientHeight","clientWidth","centerToReference","min","max","center","offset","within","axisProp","centerOffset","effect","_ref2","_options$element","element","querySelector","contains","requires","requiresIfExists"],"mappings":"igBAiFAA,EAAe,CACbC,KAAM,QACNC,SAAS,EACTC,MAAO,OACPC,GApEF,SAAeC,GACb,IAAIC,EAEAC,EAAQF,EAAKE,MACbN,EAAOI,EAAKJ,KACZO,EAAUH,EAAKG,QACfC,EAAeF,EAAMG,SAASV,MAC9BW,EAAgBJ,EAAMK,cAAcD,cACpCE,EAAgBC,EAAAA,QAAiBP,EAAMQ,WACvCC,EAAOC,EAAAA,QAAyBJ,GAEhCK,EADa,CAACC,OAAMC,EAAAA,OAAOC,QAAQR,IAAkB,EAClC,SAAW,QAElC,GAAKJ,GAAiBE,EAAtB,CAIA,IAAIW,EAxBgB,SAAyBC,EAAShB,GAItD,OAHAgB,EAA6B,mBAAZA,EAAyBA,EAAQC,OAAOC,OAAO,CAAA,EAAIlB,EA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B,CAAC","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/@popperjs/core/lib/modifiers/computeStyles.js"],"sourcesContent":["import { top, left, right, bottom, end } from \"../enums.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport getWindow from \"../dom-utils/getWindow.js\";\nimport getDocumentElement from \"../dom-utils/getDocumentElement.js\";\nimport getComputedStyle from \"../dom-utils/getComputedStyle.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getVariation from \"../utils/getVariation.js\";\nimport { round } from \"../utils/math.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar unsetSides = {\n top: 'auto',\n right: 'auto',\n bottom: 'auto',\n left: 'auto'\n}; // Round the offsets to the nearest suitable subpixel based on the DPR.\n// Zooming can change the DPR, but it seems to report a value that will\n// cleanly divide the values into the appropriate subpixels.\n\nfunction roundOffsetsByDPR(_ref, win) {\n var x = _ref.x,\n y = _ref.y;\n var dpr = win.devicePixelRatio || 1;\n return {\n x: round(x * dpr) / dpr || 0,\n y: round(y * dpr) / dpr || 0\n };\n}\n\nexport function mapToStyles(_ref2) {\n var _Object$assign2;\n\n var popper = _ref2.popper,\n popperRect = _ref2.popperRect,\n placement = _ref2.placement,\n variation = _ref2.variation,\n offsets = _ref2.offsets,\n position = _ref2.position,\n gpuAcceleration = _ref2.gpuAcceleration,\n adaptive = _ref2.adaptive,\n roundOffsets = _ref2.roundOffsets,\n isFixed = _ref2.isFixed;\n var _offsets$x = offsets.x,\n x = _offsets$x === void 0 ? 0 : _offsets$x,\n _offsets$y = offsets.y,\n y = _offsets$y === void 0 ? 0 : _offsets$y;\n\n var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({\n x: x,\n y: y\n }) : {\n x: x,\n y: y\n };\n\n x = _ref3.x;\n y = _ref3.y;\n var hasX = offsets.hasOwnProperty('x');\n var hasY = offsets.hasOwnProperty('y');\n var sideX = left;\n var sideY = top;\n var win = window;\n\n if (adaptive) {\n var offsetParent = getOffsetParent(popper);\n var heightProp = 'clientHeight';\n var widthProp = 'clientWidth';\n\n if (offsetParent === getWindow(popper)) {\n offsetParent = getDocumentElement(popper);\n\n if (getComputedStyle(offsetParent).position !== 'static' && position === 'absolute') {\n heightProp = 'scrollHeight';\n widthProp = 'scrollWidth';\n }\n } // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it\n\n\n offsetParent = offsetParent;\n\n if (placement === top || (placement === left || placement === right) && variation === end) {\n sideY = bottom;\n var offsetY = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]\n offsetParent[heightProp];\n y -= offsetY - popperRect.height;\n y *= gpuAcceleration ? 1 : -1;\n }\n\n if (placement === left || (placement === top || placement === bottom) && variation === end) {\n sideX = right;\n var offsetX = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]\n offsetParent[widthProp];\n x -= offsetX - popperRect.width;\n x *= gpuAcceleration ? 1 : -1;\n }\n }\n\n var commonStyles = Object.assign({\n position: position\n }, adaptive && unsetSides);\n\n var _ref4 = roundOffsets === true ? roundOffsetsByDPR({\n x: x,\n y: y\n }, getWindow(popper)) : {\n x: x,\n y: y\n };\n\n x = _ref4.x;\n y = _ref4.y;\n\n if (gpuAcceleration) {\n var _Object$assign;\n\n return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? \"translate(\" + x + \"px, \" + y + \"px)\" : \"translate3d(\" + x + \"px, \" + y + \"px, 0)\", _Object$assign));\n }\n\n return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + \"px\" : '', _Object$assign2[sideX] = hasX ? x + \"px\" : '', _Object$assign2.transform = '', _Object$assign2));\n}\n\nfunction computeStyles(_ref5) {\n var state = _ref5.state,\n options = _ref5.options;\n var _options$gpuAccelerat = options.gpuAcceleration,\n gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,\n _options$adaptive = options.adaptive,\n adaptive = _options$adaptive === void 0 ? true : _options$adaptive,\n _options$roundOffsets = options.roundOffsets,\n roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;\n var commonStyles = {\n placement: getBasePlacement(state.placement),\n variation: getVariation(state.placement),\n popper: state.elements.popper,\n popperRect: state.rects.popper,\n gpuAcceleration: gpuAcceleration,\n isFixed: state.options.strategy === 'fixed'\n };\n\n if (state.modifiersData.popperOffsets != null) {\n state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, {\n offsets: state.modifiersData.popperOffsets,\n position: state.options.strategy,\n adaptive: adaptive,\n roundOffsets: roundOffsets\n })));\n }\n\n if (state.modifiersData.arrow != null) {\n state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, {\n offsets: state.modifiersData.arrow,\n position: 'absolute',\n adaptive: false,\n roundOffsets: roundOffsets\n })));\n }\n\n state.attributes.popper = Object.assign({}, state.attributes.popper, {\n 'data-popper-placement': state.placement\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'computeStyles',\n enabled: true,\n phase: 'beforeWrite',\n fn: computeStyles,\n data: {}\n};"],"names":["unsetSides","top","right","bottom","left","mapToStyles","_ref2","_Object$assign2","popper","popperRect","placement","variation","offsets","position","gpuAcceleration","adaptive","roundOffsets","isFixed","_offsets$x","x","_offsets$y","y","_ref3","hasX","hasOwnProperty","hasY","sideX","sideY","win","window","offsetParent","getOffsetParent","heightProp","widthProp","getWindow","getDocumentElement","getComputedStyle","end","visualViewport","height","width","_Object$assign","commonStyles","Object","assign","_ref4","_ref","dpr","devicePixelRatio","round","roundOffsetsByDPR","transform","computeStyles$1","name","enabled","phase","fn","_ref5","state","options","_options$gpuAccelerat","_options$adaptive","_options$roundOffsets","getBasePlacement","getVariation","elements","rects","strategy","modifiersData","popperOffsets","styles","arrow","attributes","data"],"mappings":"ycASIA,EAAa,CACfC,IAAK,OACLC,MAAO,OACPC,OAAQ,OACRC,KAAM,QAeD,SAASC,EAAYC,GAC1B,IAAIC,EAEAC,EAASF,EAAME,OACfC,EAAaH,EAAMG,WACnBC,EAAYJ,EAAMI,UAClBC,EAAYL,EAAMK,UAClBC,EAAUN,EAAMM,QAChBC,EAAWP,EAAMO,SACjBC,EAAkBR,EAAMQ,gBACxBC,EAAWT,EAAMS,SACjBC,EAAeV,EAAMU,aACrBC,EAAUX,EAAMW,QAChBC,EAAaN,EAAQO,EACrBA,OAAmB,IAAfD,EAAwB,EAAIA,EAChCE,EAAaR,EAAQS,EACrBA,OAAmB,IAAfD,EAAwB,EAAIA,EAEhCE,EAAgC,mBAAjBN,EAA8BA,EAAa,CAC5DG,IACAE,MACG,CACHF,IACAE,KAGFF,EAAIG,EAAMH,EACVE,EAAIC,EAAMD,EACV,IAAIE,EAAOX,EAAQY,eAAe,KAC9BC,EAAOb,EAAQY,eAAe,KAC9BE,EAAQtB,EAAAA,KACRuB,EAAQ1B,EAAAA,IACR2B,EAAMC,OAEV,GAAId,EAAU,CACZ,IAAIe,EAAeC,EAAAA,QAAgBvB,GAC/BwB,EAAa,eACbC,EAAY,cAEZH,IAAiBI,UAAU1B,KAC7BsB,EAAeK,EAAAA,QAAmB3B,GAEc,WAA5C4B,EAAAA,QAAiBN,GAAcjB,UAAsC,aAAbA,IAC1DmB,EAAa,eACbC,EAAY,iBAOZvB,IAAcT,EAAAA,MAAQS,IAAcN,EAAAA,MAAQM,IAAcR,EAAAA,QAAUS,IAAc0B,SACpFV,EAAQxB,EAAAA,OAGRkB,IAFcJ,GAAWa,IAAiBF,GAAOA,EAAIU,eAAiBV,EAAIU,eAAeC,OACzFT,EAAaE,IACEvB,EAAW8B,OAC1BlB,GAAKP,EAAkB,GAAI,GAGzBJ,IAAcN,EAAAA,OAASM,IAAcT,EAA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OAA4C,IAA1B8C,GAA0CA,EAC5DC,EAAoBF,EAAQ5C,SAC5BA,OAAiC,IAAtB8C,GAAsCA,EACjDC,EAAwBH,EAAQ3C,aAChCA,OAAyC,IAA1B8C,GAA0CA,EACzDpB,EAAe,CACjBhC,UAAWqD,EAAAA,QAAiBL,EAAMhD,WAClCC,UAAWqD,EAAAA,QAAaN,EAAMhD,WAC9BF,OAAQkD,EAAMO,SAASzD,OACvBC,WAAYiD,EAAMQ,MAAM1D,OACxBM,kBACAG,QAAoC,UAA3ByC,EAAMC,QAAQQ,UAGgB,MAArCT,EAAMU,cAAcC,gBACtBX,EAAMY,OAAO9D,OAASmC,OAAOC,OAAO,CAAA,EAAIc,EAAMY,OAAO9D,OAAQH,EAAYsC,OAAOC,OAAO,CAAA,EAAIF,EAAc,CACvG9B,QAAS8C,EAAMU,cAAcC,cAC7BxD,SAAU6C,EAAMC,QAAQQ,SACxBpD,WACAC,oBAI6B,MAA7B0C,EAAMU,cAAcG,QACtBb,EAAMY,OAAOC,MAAQ5B,OAAOC,OAAO,CAAA,EAAIc,EAAMY,OAAOC,MAAOlE,EAAYsC,OAAOC,OAAO,CAAA,EAAIF,EAAc,CACrG9B,QAAS8C,EAAMU,cAAcG,MAC7B1D,SAAU,WACVE,UAAU,EACVC,oBAIJ0C,EAAMc,WAAWhE,OAASmC,OAAOC,OAAO,GAAIc,EAAMc,WAAWhE,OAAQ,CACnE,wBAAyBkD,EAAMhD,WAEnC,EAQE+D,KAAM,CAAA","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/@popperjs/core/lib/modifiers/computeStyles.js"],"sourcesContent":["import { top, left, right, bottom, end } from \"../enums.js\";\nimport getOffsetParent from \"../dom-utils/getOffsetParent.js\";\nimport getWindow from \"../dom-utils/getWindow.js\";\nimport getDocumentElement from \"../dom-utils/getDocumentElement.js\";\nimport getComputedStyle from \"../dom-utils/getComputedStyle.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getVariation from \"../utils/getVariation.js\";\nimport { round } from \"../utils/math.js\"; // eslint-disable-next-line import/no-unused-modules\n\nvar unsetSides = {\n top: 'auto',\n right: 'auto',\n bottom: 'auto',\n left: 'auto'\n}; // Round the offsets to the nearest suitable subpixel based on the DPR.\n// Zooming can change the DPR, but it seems to report a value that will\n// cleanly divide the values into the appropriate subpixels.\n\nfunction roundOffsetsByDPR(_ref, win) {\n var x = _ref.x,\n y = _ref.y;\n var dpr = win.devicePixelRatio || 1;\n return {\n x: round(x * dpr) / dpr || 0,\n y: round(y * dpr) / dpr || 0\n };\n}\n\nexport function mapToStyles(_ref2) {\n var _Object$assign2;\n\n var popper = _ref2.popper,\n popperRect = _ref2.popperRect,\n placement = _ref2.placement,\n variation = _ref2.variation,\n offsets = _ref2.offsets,\n position = _ref2.position,\n gpuAcceleration = _ref2.gpuAcceleration,\n adaptive = _ref2.adaptive,\n roundOffsets = _ref2.roundOffsets,\n isFixed = _ref2.isFixed;\n var _offsets$x = offsets.x,\n x = _offsets$x === void 0 ? 0 : _offsets$x,\n _offsets$y = offsets.y,\n y = _offsets$y === void 0 ? 0 : _offsets$y;\n\n var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({\n x: x,\n y: y\n }) : {\n x: x,\n y: y\n };\n\n x = _ref3.x;\n y = _ref3.y;\n var hasX = offsets.hasOwnProperty('x');\n var hasY = offsets.hasOwnProperty('y');\n var sideX = left;\n var sideY = top;\n var win = window;\n\n if (adaptive) {\n var offsetParent = getOffsetParent(popper);\n var heightProp = 'clientHeight';\n var widthProp = 'clientWidth';\n\n if (offsetParent === getWindow(popper)) {\n offsetParent = getDocumentElement(popper);\n\n if (getComputedStyle(offsetParent).position !== 'static' && position === 'absolute') {\n heightProp = 'scrollHeight';\n widthProp = 'scrollWidth';\n }\n } // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it\n\n\n offsetParent = offsetParent;\n\n if (placement === top || (placement === left || placement === right) && variation === end) {\n sideY = bottom;\n var offsetY = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.height : // $FlowFixMe[prop-missing]\n offsetParent[heightProp];\n y -= offsetY - popperRect.height;\n y *= gpuAcceleration ? 1 : -1;\n }\n\n if (placement === left || (placement === top || placement === bottom) && variation === end) {\n sideX = right;\n var offsetX = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.width : // $FlowFixMe[prop-missing]\n offsetParent[widthProp];\n x -= offsetX - popperRect.width;\n x *= gpuAcceleration ? 1 : -1;\n }\n }\n\n var commonStyles = Object.assign({\n position: position\n }, adaptive && unsetSides);\n\n var _ref4 = roundOffsets === true ? roundOffsetsByDPR({\n x: x,\n y: y\n }, getWindow(popper)) : {\n x: x,\n y: y\n };\n\n x = _ref4.x;\n y = _ref4.y;\n\n if (gpuAcceleration) {\n var _Object$assign;\n\n return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? \"translate(\" + x + \"px, \" + y + \"px)\" : \"translate3d(\" + x + \"px, \" + y + \"px, 0)\", _Object$assign));\n }\n\n return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + \"px\" : '', _Object$assign2[sideX] = hasX ? x + \"px\" : '', _Object$assign2.transform = '', _Object$assign2));\n}\n\nfunction computeStyles(_ref5) {\n var state = _ref5.state,\n options = _ref5.options;\n var _options$gpuAccelerat = options.gpuAcceleration,\n gpuAcceleration = _options$gpuAccelerat === void 0 ? true : _options$gpuAccelerat,\n _options$adaptive = options.adaptive,\n adaptive = _options$adaptive === void 0 ? true : _options$adaptive,\n _options$roundOffsets = options.roundOffsets,\n roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;\n var commonStyles = {\n placement: getBasePlacement(state.placement),\n variation: getVariation(state.placement),\n popper: state.elements.popper,\n popperRect: state.rects.popper,\n gpuAcceleration: gpuAcceleration,\n isFixed: state.options.strategy === 'fixed'\n };\n\n if (state.modifiersData.popperOffsets != null) {\n state.styles.popper = Object.assign({}, state.styles.popper, mapToStyles(Object.assign({}, commonStyles, {\n offsets: state.modifiersData.popperOffsets,\n position: state.options.strategy,\n adaptive: adaptive,\n roundOffsets: roundOffsets\n })));\n }\n\n if (state.modifiersData.arrow != null) {\n state.styles.arrow = Object.assign({}, state.styles.arrow, mapToStyles(Object.assign({}, commonStyles, {\n offsets: state.modifiersData.arrow,\n position: 'absolute',\n adaptive: false,\n roundOffsets: roundOffsets\n })));\n }\n\n state.attributes.popper = Object.assign({}, state.attributes.popper, {\n 'data-popper-placement': state.placement\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'computeStyles',\n enabled: true,\n phase: 'beforeWrite',\n fn: computeStyles,\n data: {}\n};"],"names":["unsetSides","top","right","bottom","left","mapToStyles","_ref2","_Object$assign2","popper","popperRect","placement","variation","offsets","position","gpuAcceleration","adaptive","roundOffsets","isFixed","_offsets$x","x","_offsets$y","y","_ref3","hasX","hasOwnProperty","hasY","sideX","sideY","win","window","offsetParent","getOffsetParent","heightProp","widthProp","getWindow","getDocumentElement","getComputedStyle","end","visualViewport","height","width","_Object$assign","commonStyles","Object","assign","_ref4","_ref","dpr","devicePixelRatio","round","roundOffsetsByDPR","transform","computeStyles","name","enabled","phase","fn","_ref5","state","options","_options$gpuAccelerat","_options$adaptive","_options$roundOffsets","getBasePlacement","getVariation","elements","rects","strategy","modifiersData","popperOffsets","styles","arrow","attributes","data"],"mappings":"ycASIA,EAAa,CACfC,IAAK,OACLC,MAAO,OACPC,OAAQ,OACRC,KAAM,QAeD,SAASC,EAAYC,GAC1B,IAAIC,EAEAC,EAASF,EAAME,OACfC,EAAaH,EAAMG,WACnBC,EAAYJ,EAAMI,UAClBC,EAAYL,EAAMK,UAClBC,EAAUN,EAAMM,QAChBC,EAAWP,EAAMO,SACjBC,EAAkBR,EAAMQ,gBACxBC,EAAWT,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C,EAAMC,QAAQQ,UAGgB,MAArCT,EAAMU,cAAcC,gBACtBX,EAAMY,OAAO9D,OAASmC,OAAOC,OAAO,CAAA,EAAIc,EAAMY,OAAO9D,OAAQH,EAAYsC,OAAOC,OAAO,CAAA,EAAIF,EAAc,CACvG9B,QAAS8C,EAAMU,cAAcC,cAC7BxD,SAAU6C,EAAMC,QAAQQ,SACxBpD,WACAC,oBAI6B,MAA7B0C,EAAMU,cAAcG,QACtBb,EAAMY,OAAOC,MAAQ5B,OAAOC,OAAO,CAAA,EAAIc,EAAMY,OAAOC,MAAOlE,EAAYsC,OAAOC,OAAO,CAAA,EAAIF,EAAc,CACrG9B,QAAS8C,EAAMU,cAAcG,MAC7B1D,SAAU,WACVE,UAAU,EACVC,oBAIJ0C,EAAMc,WAAWhE,OAASmC,OAAOC,OAAO,GAAIc,EAAMc,WAAWhE,OAAQ,CACnE,wBAAyBkD,EAAMhD,WAEnC,EAQE+D,KAAM,CAAA","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/@popperjs/core/lib/modifiers/flip.js"],"sourcesContent":["import getOppositePlacement from \"../utils/getOppositePlacement.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getOppositeVariationPlacement from \"../utils/getOppositeVariationPlacement.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\nimport computeAutoPlacement from \"../utils/computeAutoPlacement.js\";\nimport { bottom, top, start, right, left, auto } from \"../enums.js\";\nimport getVariation from \"../utils/getVariation.js\"; // eslint-disable-next-line import/no-unused-modules\n\nfunction getExpandedFallbackPlacements(placement) {\n if (getBasePlacement(placement) === auto) {\n return [];\n }\n\n var oppositePlacement = getOppositePlacement(placement);\n return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];\n}\n\nfunction flip(_ref) {\n var state = _ref.state,\n options = _ref.options,\n name = _ref.name;\n\n if (state.modifiersData[name]._skip) {\n return;\n }\n\n var _options$mainAxis = options.mainAxis,\n checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n _options$altAxis = options.altAxis,\n checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis,\n specifiedFallbackPlacements = options.fallbackPlacements,\n padding = options.padding,\n boundary = options.boundary,\n rootBoundary = options.rootBoundary,\n altBoundary = options.altBoundary,\n _options$flipVariatio = options.flipVariations,\n flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio,\n allowedAutoPlacements = options.allowedAutoPlacements;\n var preferredPlacement = state.options.placement;\n var basePlacement = getBasePlacement(preferredPlacement);\n var isBasePlacement = basePlacement === preferredPlacement;\n var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));\n var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) {\n return acc.concat(getBasePlacement(placement) === auto ? computeAutoPlacement(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding,\n flipVariations: flipVariations,\n allowedAutoPlacements: allowedAutoPlacements\n }) : placement);\n }, []);\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var checksMap = new Map();\n var makeFallbackChecks = true;\n var firstFittingPlacement = placements[0];\n\n for (var i = 0; i < placements.length; i++) {\n var placement = placements[i];\n\n var _basePlacement = getBasePlacement(placement);\n\n var isStartVariation = getVariation(placement) === start;\n var isVertical = [top, bottom].indexOf(_basePlacement) >= 0;\n var len = isVertical ? 'width' : 'height';\n var overflow = detectOverflow(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n altBoundary: altBoundary,\n padding: padding\n });\n var mainVariationSide = isVertical ? isStartVariation ? right : left : isStartVariation ? bottom : top;\n\n if (referenceRect[len] > popperRect[len]) {\n mainVariationSide = getOppositePlacement(mainVariationSide);\n }\n\n var altVariationSide = getOppositePlacement(mainVariationSide);\n var checks = [];\n\n if (checkMainAxis) {\n checks.push(overflow[_basePlacement] <= 0);\n }\n\n if (checkAltAxis) {\n checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0);\n }\n\n if (checks.every(function (check) {\n return check;\n })) {\n firstFittingPlacement = placement;\n makeFallbackChecks = false;\n break;\n }\n\n checksMap.set(placement, checks);\n }\n\n if (makeFallbackChecks) {\n // `2` may be desired in some cases – research later\n var numberOfChecks = flipVariations ? 3 : 1;\n\n var _loop = function _loop(_i) {\n var fittingPlacement = placements.find(function (placement) {\n var checks = checksMap.get(placement);\n\n if (checks) {\n return checks.slice(0, _i).every(function (check) {\n return check;\n });\n }\n });\n\n if (fittingPlacement) {\n firstFittingPlacement = fittingPlacement;\n return \"break\";\n }\n };\n\n for (var _i = numberOfChecks; _i > 0; _i--) {\n var _ret = _loop(_i);\n\n if (_ret === \"break\") break;\n }\n }\n\n if (state.placement !== firstFittingPlacement) {\n state.modifiersData[name]._skip = true;\n state.placement = firstFittingPlacement;\n state.reset = true;\n }\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'flip',\n enabled: true,\n phase: 'main',\n fn: flip,\n requiresIfExists: ['offset'],\n data: {\n _skip: false\n }\n};"],"names":["flip$1","name","enabled","phase","fn","_ref","state","options","modifiersData","_skip","_options$mainAxis","mainAxis","checkMainAxis","_options$altAxis","altAxis","checkAltAxis","specifiedFallbackPlacements","fallbackPlacements","padding","boundary","rootBoundary","altBoundary","_options$flipVariatio","flipVariations","allowedAutoPlacements","preferredPlacement","placement","basePlacement","getBasePlacement","auto","oppositePlacement","getOppositePlacement","getOppositeVariationPlacement","getExpandedFallbackPlacements","placements","concat","reduce","acc","computeAutoPlacement","referenceRect","rects","reference","popperRect","popper","checksMap","Map","makeFallbackChecks","firstFittingPlacement","i","length","_basePlacement","isStartVariation","getVariation","start","isVertical","top","bottom","indexOf","len","overflow","detectOverflow","mainVariationSide","right","left","altVariationSide","checks","push","every","check","set","_loop","_i","fittingPlacement","find","get","slice","reset","requi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,CACJrE,OAAO","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/@popperjs/core/lib/modifiers/flip.js"],"sourcesContent":["import getOppositePlacement from \"../utils/getOppositePlacement.js\";\nimport getBasePlacement from \"../utils/getBasePlacement.js\";\nimport getOppositeVariationPlacement from \"../utils/getOppositeVariationPlacement.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\nimport computeAutoPlacement from \"../utils/computeAutoPlacement.js\";\nimport { bottom, top, start, right, left, auto } from \"../enums.js\";\nimport getVariation from \"../utils/getVariation.js\"; // eslint-disable-next-line import/no-unused-modules\n\nfunction getExpandedFallbackPlacements(placement) {\n if (getBasePlacement(placement) === auto) {\n return [];\n }\n\n var oppositePlacement = getOppositePlacement(placement);\n return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];\n}\n\nfunction flip(_ref) {\n var state = _ref.state,\n options = _ref.options,\n name = _ref.name;\n\n if (state.modifiersData[name]._skip) {\n return;\n }\n\n var _options$mainAxis = options.mainAxis,\n checkMainAxis = _options$mainAxis === void 0 ? true : _options$mainAxis,\n _options$altAxis = options.altAxis,\n checkAltAxis = _options$altAxis === void 0 ? true : _options$altAxis,\n specifiedFallbackPlacements = options.fallbackPlacements,\n padding = options.padding,\n boundary = options.boundary,\n rootBoundary = options.rootBoundary,\n altBoundary = options.altBoundary,\n _options$flipVariatio = options.flipVariations,\n flipVariations = _options$flipVariatio === void 0 ? true : _options$flipVariatio,\n allowedAutoPlacements = options.allowedAutoPlacements;\n var preferredPlacement = state.options.placement;\n var basePlacement = getBasePlacement(preferredPlacement);\n var isBasePlacement = basePlacement === preferredPlacement;\n var fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipVariations ? [getOppositePlacement(preferredPlacement)] : getExpandedFallbackPlacements(preferredPlacement));\n var placements = [preferredPlacement].concat(fallbackPlacements).reduce(function (acc, placement) {\n return acc.concat(getBasePlacement(placement) === auto ? computeAutoPlacement(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n padding: padding,\n flipVariations: flipVariations,\n allowedAutoPlacements: allowedAutoPlacements\n }) : placement);\n }, []);\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var checksMap = new Map();\n var makeFallbackChecks = true;\n var firstFittingPlacement = placements[0];\n\n for (var i = 0; i < placements.length; i++) {\n var placement = placements[i];\n\n var _basePlacement = getBasePlacement(placement);\n\n var isStartVariation = getVariation(placement) === start;\n var isVertical = [top, bottom].indexOf(_basePlacement) >= 0;\n var len = isVertical ? 'width' : 'height';\n var overflow = detectOverflow(state, {\n placement: placement,\n boundary: boundary,\n rootBoundary: rootBoundary,\n altBoundary: altBoundary,\n padding: padding\n });\n var mainVariationSide = isVertical ? isStartVariation ? right : left : isStartVariation ? bottom : top;\n\n if (referenceRect[len] > popperRect[len]) {\n mainVariationSide = getOppositePlacement(mainVariationSide);\n }\n\n var altVariationSide = getOppositePlacement(mainVariationSide);\n var checks = [];\n\n if (checkMainAxis) {\n checks.push(overflow[_basePlacement] <= 0);\n }\n\n if (checkAltAxis) {\n checks.push(overflow[mainVariationSide] <= 0, overflow[altVariationSide] <= 0);\n }\n\n if (checks.every(function (check) {\n return check;\n })) {\n firstFittingPlacement = placement;\n makeFallbackChecks = false;\n break;\n }\n\n checksMap.set(placement, checks);\n }\n\n if (makeFallbackChecks) {\n // `2` may be desired in some cases – research later\n var numberOfChecks = flipVariations ? 3 : 1;\n\n var _loop = function _loop(_i) {\n var fittingPlacement = placements.find(function (placement) {\n var checks = checksMap.get(placement);\n\n if (checks) {\n return checks.slice(0, _i).every(function (check) {\n return check;\n });\n }\n });\n\n if (fittingPlacement) {\n firstFittingPlacement = fittingPlacement;\n return \"break\";\n }\n };\n\n for (var _i = numberOfChecks; _i > 0; _i--) {\n var _ret = _loop(_i);\n\n if (_ret === \"break\") break;\n }\n }\n\n if (state.placement !== firstFittingPlacement) {\n state.modifiersData[name]._skip = true;\n state.placement = firstFittingPlacement;\n state.reset = true;\n }\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'flip',\n enabled: true,\n phase: 'main',\n fn: flip,\n requiresIfExists: ['offset'],\n data: {\n _skip: false\n }\n};"],"names":["flip","name","enabled","phase","fn","_ref","state","options","modifiersData","_skip","_options$mainAxis","mainAxis","checkMainAxis","_options$altAxis","altAxis","checkAltAxis","specifiedFallbackPlacements","fallbackPlacements","padding","boundary","rootBoundary","altBoundary","_options$flipVariatio","flipVariations","allowedAutoPlacements","preferredPlacement","placement","basePlacement","getBasePlacement","auto","oppositePlacement","getOppositePlacement","getOppositeVariationPlacement","getExpandedFallbackPlacements","placements","concat","reduce","acc","computeAutoPlacement","referenceRect","rects","reference","popperRect","popper","checksMap","Map","makeFallbackChecks","firstFittingPlacement","i","length","_basePlacement","isStartVariation","getVariation","start","isVertical","top","bottom","indexOf","len","overflow","detectOverflow","mainVariationSide","right","left","altVariationSide","checks","push","every","check","set","_loop","_i","fittingPlacement","find","get","slice","reset","requiresIfExists","data"],"mappings":"2aAyIAA,EAAe,CACbC,KAAM,OACNC,SAAS,EACTC,MAAO,OACPC,GA5HF,SAAcC,GACZ,IAAIC,EAAQD,EAAKC,MACbC,EAAUF,EAAKE,QACfN,EAAOI,EAAKJ,KAEhB,IAAIK,EAAME,cAAcP,GAAMQ,MAA9B,CAoCA,IAhCA,IAAIC,EAAoBH,EAAQI,SAC5BC,OAAsC,IAAtBF,GAAsCA,EACtDG,EAAmBN,EAAQO,QAC3BC,OAAoC,IAArBF,GAAqCA,EACpDG,EAA8BT,EAAQU,mBACtCC,EAAUX,EAAQW,QAClBC,EAAWZ,EAAQY,SACnBC,EAAeb,EAAQa,aACvBC,EAAcd,EAAQc,YACtBC,EAAwBf,EAAQgB,eAChCA,OAA2C,IAA1BD,GAA0CA,EAC3DE,EAAwBjB,EAAQiB,sBAChCC,EAAqBnB,EAAMC,QAAQmB,UACnCC,EAAgBC,EAAAA,QAAiBH,GAEjCR,EAA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,MAAM,SAAUC,GACzB,OAAOA,CACT,GAAI,CACFrB,EAAwBrB,EACxBoB,GAAqB,EACrB,KACF,CAEAF,EAAUyB,IAAI3C,EAAWuC,EAC3B,CAEA,GAAInB,EAqBF,IAnBA,IAEIwB,EAAQ,SAAeC,GACzB,IAAIC,EAAmBtC,EAAWuC,KAAK,SAAU/C,GAC/C,IAAIuC,EAASrB,EAAU8B,IAAIhD,GAE3B,GAAIuC,EACF,OAAOA,EAAOU,MAAM,EAAGJ,GAAIJ,MAAM,SAAUC,GACzC,OAAOA,CACT,EAEJ,GAEA,GAAII,EAEF,OADAzB,EAAwByB,EACjB,OAEX,EAESD,EAnBYhD,EAAiB,EAAI,EAmBZgD,EAAK,GAGpB,UAFFD,EAAMC,GADmBA,KAOpCjE,EAAMoB,YAAcqB,IACtBzC,EAAME,cAAcP,GAAMQ,OAAQ,EAClCH,EAAMoB,UAAYqB,EAClBzC,EAAMsE,OAAQ,EA5GhB,CA8GF,EAQEC,iBAAkB,CAAC,UACnBC,KAAM,CACJrE,OAAO","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/@popperjs/core/lib/modifiers/hide.js"],"sourcesContent":["import { top, bottom, left, right } from \"../enums.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\n\nfunction getSideOffsets(overflow, rect, preventedOffsets) {\n if (preventedOffsets === void 0) {\n preventedOffsets = {\n x: 0,\n y: 0\n };\n }\n\n return {\n top: overflow.top - rect.height - preventedOffsets.y,\n right: overflow.right - rect.width + preventedOffsets.x,\n bottom: overflow.bottom - rect.height + preventedOffsets.y,\n left: overflow.left - rect.width - preventedOffsets.x\n };\n}\n\nfunction isAnySideFullyClipped(overflow) {\n return [top, right, bottom, left].some(function (side) {\n return overflow[side] >= 0;\n });\n}\n\nfunction hide(_ref) {\n var state = _ref.state,\n name = _ref.name;\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var preventedOffsets = state.modifiersData.preventOverflow;\n var referenceOverflow = detectOverflow(state, {\n elementContext: 'reference'\n });\n var popperAltOverflow = detectOverflow(state, {\n altBoundary: true\n });\n var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);\n var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);\n var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);\n var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);\n state.modifiersData[name] = {\n referenceClippingOffsets: referenceClippingOffsets,\n popperEscapeOffsets: popperEscapeOffsets,\n isReferenceHidden: isReferenceHidden,\n hasPopperEscaped: hasPopperEscaped\n };\n state.attributes.popper = Object.assign({}, state.attributes.popper, {\n 'data-popper-reference-hidden': isReferenceHidden,\n 'data-popper-escaped': hasPopperEscaped\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'hide',\n enabled: true,\n phase: 'main',\n requiresIfExists: ['preventOverflow'],\n fn: hide\n};"],"names":["getSideOffsets","overflow","rect","preventedOffsets","x","y","top","height","right","width","bottom","left","isAnySideFullyClipped","some","side","hide$1","name","enabled","phase","requiresIfExists","fn","_ref","state","referenceRect","rects","reference","popperRect","popper","modifiersData","preventOverflow","referenceOverflow","detectOverflow","elementContext","popperAltOverflow","altBoundary","referenceClippingOffsets","popperEscapeOffsets","isReferenceHidden","hasPopperEscaped","attributes","Object","assign"],"mappings":"2JAGA,SAASA,EAAeC,EAAUC,EAAMC,GAQtC,YAPyB,IAArBA,IACFA,EAAmB,CACjBC,EAAG,EACHC,EAAG,IAIA,CACLC,IAAKL,EAASK,IAAMJ,EAAKK,OAASJ,EAAiBE,EACnDG,MAAOP,EAASO,MAAQN,EAAKO,MAAQN,EAAiBC,EACtDM,OAAQT,EAASS,OAASR,EAAKK,OAASJ,EAAiBE,EACzDM,KAAMV,EAASU,KAAOT,EAAKO,MAAQN,EAAiBC,EAExD,CAEA,SAASQ,EAAsBX,GAC7B,MAAO,CAACK,EAAAA,IAAKE,QAAOE,EAAAA,OAAQC,EAAAA,MAAME,KAAK,SAAUC,GAC/C,OAAOb,EAASa,IAAS,CAC3B,EACF,CA+BA,IAAAC,EAAe,CACbC,KAAM,OACNC,SAAS,EACTC,MAAO,OACPC,iBAAkB,CAAC,mBACnBC,GAlCF,SAAcC,GACZ,IAAIC,EAAQD,EAAKC,MACbN,EAAOK,EAAKL,KACZO,EAAgBD,EAAME,MAAMC,UAC5BC,EAAaJ,EAAME,MAAMG,OACzBxB,EAAmBmB,EAAMM,cAAcC,gBACvCC,EAAoBC,EAAAA,QAAeT,EAAO,CAC5CU,eAAgB,cAEdC,EAAoBF,EAAAA,QAAeT,EAAO,CAC5CY,aAAa,IAEXC,EAA2BnC,EAAe8B,EAAmBP,GAC7Da,EAAsBpC,EAAeiC,EAAmBP,EAAYvB,GACpEkC,EAAoBzB,EAAsBuB,GAC1CG,EAAmB1B,EAAsBwB,GAC7Cd,EAAMM,cAAcZ,GAAQ,CAC1BmB,2BACAC,sBACAC,oBACAC,oBAEFhB,EAAMiB,WAAWZ,OAASa,OAAOC,OAAO,GAAInB,EAAMiB,WAAWZ,OAAQ,CACnE,+BAAgCU,EAChC,sBAAuBC,GAE3B","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/@popperjs/core/lib/modifiers/hide.js"],"sourcesContent":["import { top, bottom, left, right } from \"../enums.js\";\nimport detectOverflow from \"../utils/detectOverflow.js\";\n\nfunction getSideOffsets(overflow, rect, preventedOffsets) {\n if (preventedOffsets === void 0) {\n preventedOffsets = {\n x: 0,\n y: 0\n };\n }\n\n return {\n top: overflow.top - rect.height - preventedOffsets.y,\n right: overflow.right - rect.width + preventedOffsets.x,\n bottom: overflow.bottom - rect.height + preventedOffsets.y,\n left: overflow.left - rect.width - preventedOffsets.x\n };\n}\n\nfunction isAnySideFullyClipped(overflow) {\n return [top, right, bottom, left].some(function (side) {\n return overflow[side] >= 0;\n });\n}\n\nfunction hide(_ref) {\n var state = _ref.state,\n name = _ref.name;\n var referenceRect = state.rects.reference;\n var popperRect = state.rects.popper;\n var preventedOffsets = state.modifiersData.preventOverflow;\n var referenceOverflow = detectOverflow(state, {\n elementContext: 'reference'\n });\n var popperAltOverflow = detectOverflow(state, {\n altBoundary: true\n });\n var referenceClippingOffsets = getSideOffsets(referenceOverflow, referenceRect);\n var popperEscapeOffsets = getSideOffsets(popperAltOverflow, popperRect, preventedOffsets);\n var isReferenceHidden = isAnySideFullyClipped(referenceClippingOffsets);\n var hasPopperEscaped = isAnySideFullyClipped(popperEscapeOffsets);\n state.modifiersData[name] = {\n referenceClippingOffsets: referenceClippingOffsets,\n popperEscapeOffsets: popperEscapeOffsets,\n isReferenceHidden: isReferenceHidden,\n hasPopperEscaped: hasPopperEscaped\n };\n state.attributes.popper = Object.assign({}, state.attributes.popper, {\n 'data-popper-reference-hidden': isReferenceHidden,\n 'data-popper-escaped': hasPopperEscaped\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'hide',\n enabled: true,\n phase: 'main',\n requiresIfExists: ['preventOverflow'],\n fn: hide\n};"],"names":["getSideOffsets","overflow","rect","preventedOffsets","x","y","top","height","right","width","bottom","left","isAnySideFullyClipped","some","side","hide","name","enabled","phase","requiresIfExists","fn","_ref","state","referenceRect","rects","reference","popperRect","popper","modifiersData","preventOverflow","referenceOverflow","detectOverflow","elementContext","popperAltOverflow","altBoundary","referenceClippingOffsets","popperEscapeOffsets","isReferenceHidden","hasPopperEscaped","attributes","Object","assign"],"mappings":"2JAGA,SAASA,EAAeC,EAAUC,EAAMC,GAQtC,YAPyB,IAArBA,IACFA,EAAmB,CACjBC,EAAG,EACHC,EAAG,IAIA,CACLC,IAAKL,EAASK,IAAMJ,EAAKK,OAASJ,EAAiBE,EACnDG,MAAOP,EAASO,MAAQN,EAAKO,MAAQN,EAAiBC,EACtDM,OAAQT,EAASS,OAASR,EAAKK,OAASJ,EAAiBE,EACzDM,KAAMV,EAASU,KAAOT,EAAKO,MAAQN,EAAiBC,EAExD,CAEA,SAASQ,EAAsBX,GAC7B,MAAO,CAACK,EAAAA,IAAKE,QAAOE,EAAAA,OAAQC,EAAAA,MAAME,KAAK,SAAUC,GAC/C,OAAOb,EAASa,IAAS,CAC3B,EACF,CA+BA,IAAAC,EAAe,CACbC,KAAM,OACNC,SAAS,EACTC,MAAO,OACPC,iBAAkB,CAAC,mBACnBC,GAlCF,SAAcC,GACZ,IAAIC,EAAQD,EAAKC,MACbN,EAAOK,EAAKL,KACZO,EAAgBD,EAAME,MAAMC,UAC5BC,EAAaJ,EAAME,MAAMG,OACzBxB,EAAmBmB,EAAMM,cAAcC,gBACvCC,EAAoBC,EAAAA,QAAeT,EAAO,CAC5CU,eAAgB,cAEdC,EAAoBF,EAAAA,QAAeT,EAAO,CAC5CY,aAAa,IAEXC,EAA2BnC,EAAe8B,EAAmBP,GAC7Da,EAAsBpC,EAAeiC,EAAmBP,EAAYvB,GACpEkC,EAAoBzB,EAAsBuB,GAC1CG,EAAmB1B,EAAsBwB,GAC7Cd,EAAMM,cAAcZ,GAAQ,CAC1BmB,2BACAC,sBACAC,oBACAC,oBAEFhB,EAAMiB,WAAWZ,OAASa,OAAOC,OAAO,GAAInB,EAAMiB,WAAWZ,OAAQ,CACnE,+BAAgCU,EAChC,sBAAuBC,GAE3B","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/@popperjs/core/lib/modifiers/offset.js"],"sourcesContent":["import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport { top, left, right, placements } from \"../enums.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport function distanceAndSkiddingToXY(placement, rects, offset) {\n var basePlacement = getBasePlacement(placement);\n var invertDistance = [left, top].indexOf(basePlacement) >= 0 ? -1 : 1;\n\n var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, {\n placement: placement\n })) : offset,\n skidding = _ref[0],\n distance = _ref[1];\n\n skidding = skidding || 0;\n distance = (distance || 0) * invertDistance;\n return [left, right].indexOf(basePlacement) >= 0 ? {\n x: distance,\n y: skidding\n } : {\n x: skidding,\n y: distance\n };\n}\n\nfunction offset(_ref2) {\n var state = _ref2.state,\n options = _ref2.options,\n name = _ref2.name;\n var _options$offset = options.offset,\n offset = _options$offset === void 0 ? [0, 0] : _options$offset;\n var data = placements.reduce(function (acc, placement) {\n acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);\n return acc;\n }, {});\n var _data$state$placement = data[state.placement],\n x = _data$state$placement.x,\n y = _data$state$placement.y;\n\n if (state.modifiersData.popperOffsets != null) {\n state.modifiersData.popperOffsets.x += x;\n state.modifiersData.popperOffsets.y += y;\n }\n\n state.modifiersData[name] = data;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'offset',\n enabled: true,\n phase: 'main',\n requires: ['popperOffsets'],\n fn: offset\n};"],"names":["distanceAndSkiddingToXY","placement","rects","offset","basePlacement","getBasePlacement","invertDistance","left","top","indexOf","_ref","Object","assign","skidding","distance","right","x","y","offset$1","name","enabled","phase","requires","fn","_ref2","state","options","_options$offset","data","placements","reduce","acc","_data$state$placement","modifiersData","popperOffsets"],"mappings":"6JAGO,SAASA,EAAwBC,EAAWC,EAAOC,GACxD,IAAIC,EAAgBC,EAAAA,QAAiBJ,GACjCK,EAAiB,CAACC,EAAAA,KAAMC,OAAKC,QAAQL,IAAkB,GAAI,EAAK,EAEhEM,EAAyB,mBAAXP,EAAwBA,EAAOQ,OAAOC,OAAO,CAAA,EAAIV,EAAO,CACxED,eACIE,EACFU,EAAWH,EAAK,GAChBI,EAAWJ,EAAK,GAIpB,OAFAG,EAAWA,GAAY,EACvBC,GAAYA,GAAY,GAAKR,EACtB,CAACC,EAAAA,KAAMQ,EAAAA,OAAON,QAAQL,IAAkB,EAAI,CACjDY,EAAGF,EACHG,EAAGJ,GACD,CACFG,EAAGH,EACHI,EAAGH,EAEP,CAyBA,IAAAI,EAAe,CACbC,KAAM,SACNC,SAAS,EACTC,MAAO,OACPC,SAAU,CAAC,iBACXC,GA5BF,SAAgBC,GACd,IAAIC,EAAQD,EAAMC,MACdC,EAAUF,EAAME,QAChBP,EAAOK,EAAML,KACbQ,EAAkBD,EAAQvB,OAC1BA,OAA6B,IAApBwB,EAA6B,CAAC,EAAG,GAAKA,EAC/CC,EAAOC,EAAAA,WAAWC,OAAO,SAAUC,EAAK9B,GAE1C,OADA8B,EAAI9B,GAAaD,EAAwBC,EAAWwB,EAAMvB,MAAOC,GAC1D4B,CACT,EAAG,CAAA,GACCC,EAAwBJ,EAAKH,EAAMxB,WACnCe,EAAIgB,EAAsBhB,EAC1BC,EAAIe,EAAsBf,EAEW,MAArCQ,EAAMQ,cAAcC,gBACtBT,EAAMQ,cAAcC,cAAclB,GAAKA,EACvCS,EAAMQ,cAAcC,cAAcjB,GAAKA,GAGzCQ,EAAMQ,cAAcd,GAAQS,CAC9B","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/@popperjs/core/lib/modifiers/offset.js"],"sourcesContent":["import getBasePlacement from \"../utils/getBasePlacement.js\";\nimport { top, left, right, placements } from \"../enums.js\"; // eslint-disable-next-line import/no-unused-modules\n\nexport function distanceAndSkiddingToXY(placement, rects, offset) {\n var basePlacement = getBasePlacement(placement);\n var invertDistance = [left, top].indexOf(basePlacement) >= 0 ? -1 : 1;\n\n var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, {\n placement: placement\n })) : offset,\n skidding = _ref[0],\n distance = _ref[1];\n\n skidding = skidding || 0;\n distance = (distance || 0) * invertDistance;\n return [left, right].indexOf(basePlacement) >= 0 ? {\n x: distance,\n y: skidding\n } : {\n x: skidding,\n y: distance\n };\n}\n\nfunction offset(_ref2) {\n var state = _ref2.state,\n options = _ref2.options,\n name = _ref2.name;\n var _options$offset = options.offset,\n offset = _options$offset === void 0 ? [0, 0] : _options$offset;\n var data = placements.reduce(function (acc, placement) {\n acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset);\n return acc;\n }, {});\n var _data$state$placement = data[state.placement],\n x = _data$state$placement.x,\n y = _data$state$placement.y;\n\n if (state.modifiersData.popperOffsets != null) {\n state.modifiersData.popperOffsets.x += x;\n state.modifiersData.popperOffsets.y += y;\n }\n\n state.modifiersData[name] = data;\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'offset',\n enabled: true,\n phase: 'main',\n requires: ['popperOffsets'],\n fn: offset\n};"],"names":["distanceAndSkiddingToXY","placement","rects","offset","basePlacement","getBasePlacement","invertDistance","left","top","indexOf","_ref","Object","assign","skidding","distance","right","x","y","name","enabled","phase","requires","fn","_ref2","state","options","_options$offset","data","placements","reduce","acc","_data$state$placement","modifiersData","popperOffsets"],"mappings":"6JAGO,SAASA,EAAwBC,EAAWC,EAAOC,GACxD,IAAIC,EAAgBC,EAAAA,QAAiBJ,GACjCK,EAAiB,CAACC,EAAAA,KAAMC,OAAKC,QAAQL,IAAkB,GAAI,EAAK,EAEhEM,EAAyB,mBAAXP,EAAwBA,EAAOQ,OAAOC,OAAO,CAAA,EAAIV,EAAO,CACxED,eACIE,EACFU,EAAWH,EAAK,GAChBI,EAAWJ,EAAK,GAIpB,OAFAG,EAAWA,GAAY,EACvBC,GAAYA,GAAY,GAAKR,EACtB,CAACC,EAAAA,KAAMQ,EAAAA,OAAON,QAAQL,IAAkB,EAAI,CACjDY,EAAGF,EACHG,EAAGJ,GACD,CACFG,EAAGH,EACHI,EAAGH,EAEP,CAyBA,IAAAX,EAAe,CACbe,KAAM,SACNC,SAAS,EACTC,MAAO,OACPC,SAAU,CAAC,iBACXC,GA5BF,SAAgBC,GACd,IAAIC,EAAQD,EAAMC,MACdC,EAAUF,EAAME,QAChBP,EAAOK,EAAML,KACbQ,EAAkBD,EAAQtB,OAC1BA,OAA6B,IAApBuB,EAA6B,CAAC,EAAG,GAAKA,EAC/CC,EAAOC,EAAAA,WAAWC,OAAO,SAAUC,EAAK7B,GAE1C,OADA6B,EAAI7B,GAAaD,EAAwBC,EAAWuB,EAAMtB,MAAOC,GAC1D2B,CACT,EAAG,CAAA,GACCC,EAAwBJ,EAAKH,EAAMvB,WACnCe,EAAIe,EAAsBf,EAC1BC,EAAIc,EAAsBd,EAEW,MAArCO,EAAMQ,cAAcC,gBACtBT,EAAMQ,cAAcC,cAAcjB,GAAKA,EACvCQ,EAAMQ,cAAcC,cAAchB,GAAKA,GAGzCO,EAAMQ,cAAcd,GAAQS,CAC9B","x_google_ignoreList":[0]}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/@popperjs/core/lib/modifiers/popperOffsets.js"],"sourcesContent":["import computeOffsets from \"../utils/computeOffsets.js\";\n\nfunction popperOffsets(_ref) {\n var state = _ref.state,\n name = _ref.name;\n // Offsets are the actual position the popper needs to have to be\n // properly positioned near its reference element\n // This is the most basic placement, and will be adjusted by\n // the modifiers in the next step\n state.modifiersData[name] = computeOffsets({\n reference: state.rects.reference,\n element: state.rects.popper,\n strategy: 'absolute',\n placement: state.placement\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'popperOffsets',\n enabled: true,\n phase: 'read',\n fn: popperOffsets,\n data: {}\n};"],"names":["popperOffsets$1","name","enabled","phase","fn","_ref","state","modifiersData","computeOffsets","reference","rects","element","popper","placement","data"],"mappings":"yHAkBAA,EAAe,CACbC,KAAM,gBACNC,SAAS,EACTC,MAAO,OACPC,GApBF,SAAuBC,GACrB,IAAIC,EAAQD,EAAKC,MACbL,EAAOI,EAAKJ,KAKhBK,EAAMC,cAAcN,GAAQO,UAAe,CACzCC,UAAWH,EAAMI,MAAMD,UACvBE,QAASL,EAAMI,MAAME,OAErBC,UAAWP,EAAMO,WAErB,EAQEC,KAAM,CAAA","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/@popperjs/core/lib/modifiers/popperOffsets.js"],"sourcesContent":["import computeOffsets from \"../utils/computeOffsets.js\";\n\nfunction popperOffsets(_ref) {\n var state = _ref.state,\n name = _ref.name;\n // Offsets are the actual position the popper needs to have to be\n // properly positioned near its reference element\n // This is the most basic placement, and will be adjusted by\n // the modifiers in the next step\n state.modifiersData[name] = computeOffsets({\n reference: state.rects.reference,\n element: state.rects.popper,\n strategy: 'absolute',\n placement: state.placement\n });\n} // eslint-disable-next-line import/no-unused-modules\n\n\nexport default {\n name: 'popperOffsets',\n enabled: true,\n phase: 'read',\n fn: popperOffsets,\n data: {}\n};"],"names":["popperOffsets","name","enabled","phase","fn","_ref","state","modifiersData","computeOffsets","reference","rects","element","popper","placement","data"],"mappings":"yHAkBAA,EAAe,CACbC,KAAM,gBACNC,SAAS,EACTC,MAAO,OACPC,GApBF,SAAuBC,GACrB,IAAIC,EAAQD,EAAKC,MACbL,EAAOI,EAAKJ,KAKhBK,EAAMC,cAAcN,GAAQO,UAAe,CACzCC,UAAWH,EAAMI,MAAMD,UACvBE,QAASL,EAAMI,MAAME,OAErBC,UAAWP,EAAMO,WAErB,EAQEC,KAAM,CAAA","x_google_ignoreList":[0]}