@sheetxl/studio-vanilla 0.3.4 → 0.3.5

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 (201) hide show
  1. package/browser/cjs/-aNm3r-RpjcRRCbw.cjs +6 -0
  2. package/browser/cjs/6e91IXsvk9_k3W5c.cjs +6 -0
  3. package/browser/cjs/{BTgA_stiR3dZAHop.cjs → BLHbDre9R0bvyb9G.cjs} +2 -2
  4. package/browser/cjs/{BlYpCVX1NOGpcNB6.cjs → BN0MiwKQ8NjKXgue.cjs} +3 -3
  5. package/browser/cjs/BNtn_2pcq6Dd-2HL.cjs +11 -0
  6. package/browser/cjs/{D-I49Eh-SQg7zJYX.cjs → BW_fZwvTtMLqteuJ.cjs} +1 -1
  7. package/browser/cjs/{CdVKz1bz20BYztuB.cjs → Bg9KIoDuqtkhIYfN.cjs} +1 -1
  8. package/browser/cjs/{CpPM7Ir1EZB_8bER.cjs → BiiW2FlRZHxGIWso.cjs} +1 -1
  9. package/browser/cjs/{WPXWuf9j-uwazW31.cjs → Biyqj-Wu75uxLHv1.cjs} +2 -2
  10. package/browser/cjs/BwocMiKAPb8s__1Z.cjs +6 -0
  11. package/browser/cjs/{DzE824T4cXRcKowY.cjs → CdWBtYv7LuuDLPL2.cjs} +1 -1
  12. package/browser/cjs/CuY7mAREmYhHuYWx.cjs +6 -0
  13. package/browser/cjs/CvESC6HiL0-peppq.cjs +12 -0
  14. package/browser/cjs/{BDACVe5nzEmYknRm.cjs → Cxt39d6l0pu9k1vT.cjs} +8 -8
  15. package/browser/cjs/{CuldnUeQxpcu8oJ7.cjs → D7NgrO__M-IUmM8o.cjs} +1 -1
  16. package/browser/cjs/{BB5pxJh1jhHsvVZ1.cjs → DCWZ2ZkLp-Horeca.cjs} +1 -1
  17. package/browser/cjs/DDhq2nYMdw5b7wP6.cjs +301 -0
  18. package/browser/cjs/{BDmE5OFneHwyeeiD.cjs → DIawrhwQ7E_1l99b.cjs} +6 -6
  19. package/browser/cjs/{yZrSgyFKPqsiym7z.cjs → DKit140jXAUUSf-_.cjs} +2 -2
  20. package/browser/cjs/DKsZXMMHWKP9IZ4E.cjs +12 -0
  21. package/browser/cjs/DeAt9vyyaeB2vbxQ.cjs +6 -0
  22. package/browser/cjs/Dkl2t2DSaDxPbm2V.cjs +6 -0
  23. package/browser/cjs/Ya4f5p9go_UndgNy.cjs +6 -0
  24. package/browser/cjs/{46C8cTP5D1fDfsPs.cjs → hSI9QVPgIxqt3pXc.cjs} +1 -1
  25. package/browser/cjs/index.cjs +2 -2
  26. package/browser/cjs/qjPE6k7aYlu-R90s.cjs +6 -0
  27. package/browser/cjs/{DD0VHDU8F1FiLKcs.cjs → yvA5FY7oe6FILMqB.cjs} +1 -1
  28. package/{cdn/assets/CGUSbWH383tudMFu.js → browser/esm/BLsIMzjofsOnRFrU.mjs} +12 -12
  29. package/{cdn/assets/BY5dcSv5nxuvXMsr.js → browser/esm/BTQ-TGJnw7w1Y0CX.mjs} +13 -13
  30. package/{cdn/assets/CNhPYXS_v3a2ATBg.js → browser/esm/BdLAPrmXIfjGFhhA.mjs} +231 -231
  31. package/browser/esm/BsDYj6xix3mlXry2.mjs +46 -0
  32. package/browser/esm/{pxRv4ndPNkOMM_s3.mjs → Btk74VwCVJ1T5LQD.mjs} +13 -13
  33. package/browser/esm/{s8U6UEvd4LQsvEnH.mjs → C60KakDbde-A4anI.mjs} +1 -1
  34. package/browser/esm/{BfNo01-WwZl_5N1M.mjs → CAm14rTtmPL5-rvQ.mjs} +220 -219
  35. package/browser/esm/CLTP12OHGQ2k4_Kt.mjs +50 -0
  36. package/browser/esm/{qchlbvmOxrybWJep.mjs → CPWh2H15145LP-d5.mjs} +1 -1
  37. package/browser/esm/CYXzmWJtZn5OJVBF.mjs +24861 -0
  38. package/{cdn/assets/dQu9CDkkTpS5h580.js → browser/esm/ChMaIhqaEhF3SLLt.mjs} +8 -8
  39. package/browser/esm/{Dq1oxXMudxqdJaKZ.mjs → CntwHkPpskE88Ixu.mjs} +11 -10
  40. package/{cdn/assets/C-oc6cc0wXRVBFx2.js → browser/esm/CsVV_QnEl77BQM3V.mjs} +1 -1
  41. package/browser/esm/{CTdGamCv2VtpI05C.mjs → CvFAAktSd9TQK1h4.mjs} +1 -1
  42. package/browser/esm/{BjLCBG20KyjNKCpy.mjs → D0-tgawYa4KXYT2c.mjs} +2 -2
  43. package/browser/esm/{BXMZNx8rs4_V8pQL.mjs → D244UwY3qPC_LNc5.mjs} +2 -2
  44. package/{cdn/assets/Dl02UNFD2tNwtHQ9.js → browser/esm/DCuLWmzd9eLWgI03.mjs} +1 -1
  45. package/browser/esm/{C2Ik_RfF43fmFDeS.mjs → DDD5zfwNNPKuc_zZ.mjs} +1 -1
  46. package/browser/esm/{BNq1DlA_v8-hm8PQ.mjs → DFa_tXqv1VN1OZdv.mjs} +75 -74
  47. package/browser/esm/{CeWIrhJ_bsxOl7mw.mjs → DJxioSY-hxyM7dmk.mjs} +24 -23
  48. package/{cdn/assets/ct9ztJbQB16MJoyP.js → browser/esm/DdrICyX8Ead15N32.mjs} +7 -7
  49. package/browser/esm/Di2tNceI3NodSsgU.mjs +41 -0
  50. package/browser/esm/{BrWhLiIy81LKNSUX.mjs → Did46-x6ZVwk_-r-.mjs} +1 -1
  51. package/browser/esm/{DLJ1zBZE-WPdkpt2.mjs → Q1yWEkJBu4cVEF33.mjs} +132 -131
  52. package/browser/esm/index.mjs +2 -2
  53. package/{cdn/assets/RWhi_dOrWDICNt1t.js → browser/esm/mq5uPzTIc1x8unBP.mjs} +1 -1
  54. package/browser/esm/wziCLl5xvHu6Guu_.mjs +22 -0
  55. package/cdn/assets/{LxoKYdUqZ4Zgxjza.js → B41q92oKD_VR31Dd.js} +13 -13
  56. package/cdn/assets/{BMb4pCD8O5vK2p1B.js → BOl7blN8JotSzCHJ.js} +2 -2
  57. package/{browser/esm/Ddm9jggzrr5VJQ68.mjs → cdn/assets/Bs-psXrTRw1jFety.js} +13 -13
  58. package/cdn/assets/{COFTB6OufFls7NP1.js → BzptX9H_YCM2l0DE.js} +11 -10
  59. package/cdn/assets/{s8U6UEvd4LQsvEnH.js → C60KakDbde-A4anI.js} +1 -1
  60. package/cdn/assets/C8omEbSXHWI_wNjp.js +41 -0
  61. package/{browser/esm/CZRLp5H9dSrMEgaI.mjs → cdn/assets/CEXK9SXjFf1dGHZe.js} +12 -12
  62. package/cdn/assets/{qchlbvmOxrybWJep.js → CPWh2H15145LP-d5.js} +1 -1
  63. package/cdn/assets/C_E1C68wCcRpC6XN.js +46 -0
  64. package/cdn/assets/{BKDQtGZxRUUzBmnI.js → ClFGbVy7cnhMW-dO.js} +2 -2
  65. package/cdn/assets/{Be9YovX6b_0gKXs5.js → CoCIP7n4THmzOggq.js} +75 -74
  66. package/{browser/esm/C-oc6cc0wXRVBFx2.mjs → cdn/assets/CsVV_QnEl77BQM3V.js} +1 -1
  67. package/cdn/assets/{CTdGamCv2VtpI05C.js → CvFAAktSd9TQK1h4.js} +1 -1
  68. package/cdn/assets/{6tFlyQMvtppXfmuU.js → Cz33L9W3cdQckAL5.js} +24 -23
  69. package/{browser/esm/BoL2rsWK1YyT1PP7.mjs → cdn/assets/DBgbBl_3O65WhfWN.js} +8 -8
  70. package/{browser/esm/Dl02UNFD2tNwtHQ9.mjs → cdn/assets/DCuLWmzd9eLWgI03.js} +1 -1
  71. package/cdn/assets/{C2Ik_RfF43fmFDeS.js → DDD5zfwNNPKuc_zZ.js} +1 -1
  72. package/cdn/assets/{mAWImp_J2v8z8hbZ.js → DLYF-18qErpwF9Q-.js} +132 -131
  73. package/{browser/esm/Br4TnuxGRULZDhCA.mjs → cdn/assets/DXMyzCcyP7039z13.js} +231 -231
  74. package/{browser/esm/GbTp1_3jFZu0Ex24.mjs → cdn/assets/DdrICyX8Ead15N32.js} +7 -7
  75. package/cdn/assets/{BrWhLiIy81LKNSUX.js → Did46-x6ZVwk_-r-.js} +1 -1
  76. package/cdn/assets/{DYgFWlitgXmKdN_I.js → Dj3GhNedlKE9TeTn.js} +220 -219
  77. package/cdn/assets/F-RqJeKWiW4i5344.js +24708 -0
  78. package/cdn/assets/NHbXgEQMftGzY01r.js +50 -0
  79. package/cdn/assets/lM5it-aJgI7DLNH9.js +22 -0
  80. package/{browser/esm/RWhi_dOrWDICNt1t.mjs → cdn/assets/mq5uPzTIc1x8unBP.js} +1 -1
  81. package/cdn/index.js +2 -2
  82. package/cdn/loader.js +1 -1
  83. package/package.json +3 -2
  84. package/browser/cjs/0dkhOl0ItVZXnHg_.cjs +0 -6
  85. package/browser/cjs/7Xjct_4bBSU-vad1.cjs +0 -6
  86. package/browser/cjs/B2kFbeodTh3Gk-aQ.cjs +0 -6
  87. package/browser/cjs/B5UGK4AzAC9SjXJp.cjs +0 -6
  88. package/browser/cjs/B9kurj8mOePUlJX2.cjs +0 -6
  89. package/browser/cjs/BG8OR9VWCkyIRwrw.cjs +0 -6
  90. package/browser/cjs/BML8p6hKVpqMb-13.cjs +0 -124
  91. package/browser/cjs/BeGusiaaShhfh7Ch.cjs +0 -7
  92. package/browser/cjs/BgJ-surJf8jSxqmk.cjs +0 -6
  93. package/browser/cjs/BgJFVvwpAWB3ssLE.cjs +0 -6
  94. package/browser/cjs/Bi8tk3LAhLkM7IXm.cjs +0 -6
  95. package/browser/cjs/BnZdvx8z2BIDZv9J.cjs +0 -355
  96. package/browser/cjs/BvnUfF0WlIXumm-E.cjs +0 -6
  97. package/browser/cjs/BwGs6fp9j-iFwDlB.cjs +0 -32
  98. package/browser/cjs/C4JyilwtB4aWsWnG.cjs +0 -6
  99. package/browser/cjs/C8PUqW17bEbzJthE.cjs +0 -6
  100. package/browser/cjs/CBTWDt8vxgXfkDfh.cjs +0 -6
  101. package/browser/cjs/CJ29qM66PMBNE3G9.cjs +0 -6
  102. package/browser/cjs/CKtzkomrFnDVY5SY.cjs +0 -11
  103. package/browser/cjs/CLarA_vLTlgU3TCF.cjs +0 -13
  104. package/browser/cjs/CN8Y9NZjRCPl8CqY.cjs +0 -6
  105. package/browser/cjs/CNIPdrSO6Xr2gkt9.cjs +0 -6
  106. package/browser/cjs/CNkEdWYoHRiw_Uez.cjs +0 -6
  107. package/browser/cjs/CPFRW8nnIVWYeQYn.cjs +0 -12
  108. package/browser/cjs/CZih4fqvAIVbCVO4.cjs +0 -6
  109. package/browser/cjs/Cx3wCYZR6BKbOtgk.cjs +0 -6
  110. package/browser/cjs/Cx8xafhEESu639Ig.cjs +0 -6
  111. package/browser/cjs/CzqzVoUeKxH16SDC.cjs +0 -6
  112. package/browser/cjs/D-GDPxpVRx45cdpQ.cjs +0 -6
  113. package/browser/cjs/D50Wzp-4UIlO9uVc.cjs +0 -6
  114. package/browser/cjs/DB9rOzEP0g0ZGfBj.cjs +0 -6
  115. package/browser/cjs/DIeyUTfGkxwK6bdT.cjs +0 -15
  116. package/browser/cjs/DX_oDw_K4CB6Ej9i.cjs +0 -6
  117. package/browser/cjs/DcNRcLtSOkHAK_Mt.cjs +0 -6
  118. package/browser/cjs/Df8ZAsCgZ69F33-C.cjs +0 -6
  119. package/browser/cjs/DfCiN8VOEQt4cw-x.cjs +0 -12
  120. package/browser/cjs/DnkG5azaxDtt-73G.cjs +0 -6
  121. package/browser/cjs/Dr_HVAdkD1bM9yrW.cjs +0 -6
  122. package/browser/cjs/KbKjJCMErVEwKqoi.cjs +0 -6
  123. package/browser/cjs/Px_DbuQFWhjhPilq.cjs +0 -6
  124. package/browser/cjs/VmYEO_-N9Cn7JpZN.cjs +0 -6
  125. package/browser/cjs/c4HmqMqg3ugRd4gl.cjs +0 -1501
  126. package/browser/cjs/jmPMUQMT7KTdf9Sr.cjs +0 -6
  127. package/browser/cjs/zRbLzzCcfjQpsQ4j.cjs +0 -6
  128. package/browser/esm/0M23_yfYSvrAB5iY.mjs +0 -472
  129. package/browser/esm/2sPP8EL_OzSYDsKu.mjs +0 -10
  130. package/browser/esm/3SiPV9yNzSbQVINg.mjs +0 -10
  131. package/browser/esm/6CkscKSECxQpy0v6.mjs +0 -10
  132. package/browser/esm/94SRg1Gxbdr9B75m.mjs +0 -10
  133. package/browser/esm/B2I1Hudz2EIGw59h.mjs +0 -10
  134. package/browser/esm/B2fqssq7kMsGIg5g.mjs +0 -10
  135. package/browser/esm/BBBP9totA24zTbqh.mjs +0 -10
  136. package/browser/esm/BEYxIKe5B75ADXWP.mjs +0 -5582
  137. package/browser/esm/BIHHiMjUvXmWQ6w_.mjs +0 -10
  138. package/browser/esm/BYRVuU6FUEX6XBFW.mjs +0 -10
  139. package/browser/esm/Bq_HFm6_6_ycs_gE.mjs +0 -48519
  140. package/browser/esm/Bs6fth_bBoNrYDwE.mjs +0 -21
  141. package/browser/esm/C-QHwmJCeB3o-mzv.mjs +0 -3934
  142. package/browser/esm/C0U_bX9Hj97edVC9.mjs +0 -10
  143. package/browser/esm/CC8aO_pPT-tkJK_H.mjs +0 -10
  144. package/browser/esm/CGxu5NKxrEXE8QIe.mjs +0 -24
  145. package/browser/esm/CKHDKAaHkwZHUkoS.mjs +0 -22
  146. package/browser/esm/CbTDhJiJfpR6Btxp.mjs +0 -10
  147. package/browser/esm/CsUNORBKkJ7f3diG.mjs +0 -10
  148. package/browser/esm/CyYXh2ng_dKgHzbE.mjs +0 -29
  149. package/browser/esm/DRFsMc27LyLwGu56.mjs +0 -820
  150. package/browser/esm/DT09m4FGTu5N2LZJ.mjs +0 -10
  151. package/browser/esm/DUgyehn3re1zGQT5.mjs +0 -10
  152. package/browser/esm/DWOT4LkGXRN4FrJI.mjs +0 -10
  153. package/browser/esm/Dx1J8HBJdbrROP0v.mjs +0 -10
  154. package/browser/esm/Dz8v5MSOgkaH_zTd.mjs +0 -49
  155. package/browser/esm/F7oUe3nLrtaRYTas.mjs +0 -10
  156. package/browser/esm/FCkxbRy2XiqD3GdL.mjs +0 -41
  157. package/browser/esm/L5HOBW-m9BjZTUuw.mjs +0 -10
  158. package/browser/esm/XL9-bWRsLjEvW1Y0.mjs +0 -10
  159. package/browser/esm/ZXuNMFT0sYh8ui7O.mjs +0 -1575
  160. package/browser/esm/gX1gbnkwbpalR57F.mjs +0 -12
  161. package/browser/esm/im3UoVISx3VXhEFp.mjs +0 -46
  162. package/browser/esm/kagl0zcUDaK1IX_X.mjs +0 -10
  163. package/browser/esm/t7CffsKJY64LMXgS.mjs +0 -10
  164. package/browser/esm/x9wy-F3t5pNOvOIp.mjs +0 -425
  165. package/cdn/assets/2sPP8EL_OzSYDsKu.js +0 -10
  166. package/cdn/assets/3SiPV9yNzSbQVINg.js +0 -10
  167. package/cdn/assets/6CkscKSECxQpy0v6.js +0 -10
  168. package/cdn/assets/94SRg1Gxbdr9B75m.js +0 -10
  169. package/cdn/assets/B2I1Hudz2EIGw59h.js +0 -10
  170. package/cdn/assets/B2fqssq7kMsGIg5g.js +0 -10
  171. package/cdn/assets/BBBP9totA24zTbqh.js +0 -10
  172. package/cdn/assets/BD1S4plUUe1NPAqV.js +0 -425
  173. package/cdn/assets/BIHHiMjUvXmWQ6w_.js +0 -10
  174. package/cdn/assets/BPStm90FUYfOgibU.js +0 -41
  175. package/cdn/assets/BYRVuU6FUEX6XBFW.js +0 -10
  176. package/cdn/assets/Bs6fth_bBoNrYDwE.js +0 -21
  177. package/cdn/assets/BzlAT8jiYfNV3kGy.js +0 -820
  178. package/cdn/assets/C0U_bX9Hj97edVC9.js +0 -10
  179. package/cdn/assets/CC8aO_pPT-tkJK_H.js +0 -10
  180. package/cdn/assets/CG-YuIoWsi12_nu9.js +0 -22
  181. package/cdn/assets/CGxu5NKxrEXE8QIe.js +0 -24
  182. package/cdn/assets/CJOmvmuvywU33q7C.js +0 -3934
  183. package/cdn/assets/CbTDhJiJfpR6Btxp.js +0 -10
  184. package/cdn/assets/CsUNORBKkJ7f3diG.js +0 -10
  185. package/cdn/assets/DBq5E3hmvVO5ss1V.js +0 -5582
  186. package/cdn/assets/DT09m4FGTu5N2LZJ.js +0 -10
  187. package/cdn/assets/DUgyehn3re1zGQT5.js +0 -10
  188. package/cdn/assets/DWOT4LkGXRN4FrJI.js +0 -10
  189. package/cdn/assets/Det1P4Jrl9aZHFGe.js +0 -472
  190. package/cdn/assets/DjHCn_TmfObC_aJ1.js +0 -46
  191. package/cdn/assets/Dt3qIbvMvgQhNgeR.js +0 -1575
  192. package/cdn/assets/Dx1J8HBJdbrROP0v.js +0 -10
  193. package/cdn/assets/F7oUe3nLrtaRYTas.js +0 -10
  194. package/cdn/assets/L5HOBW-m9BjZTUuw.js +0 -10
  195. package/cdn/assets/U_ihCP2tbaRnqD2g.js +0 -48366
  196. package/cdn/assets/XL9-bWRsLjEvW1Y0.js +0 -10
  197. package/cdn/assets/Z4Ov3rzhXnezd-gU.js +0 -29
  198. package/cdn/assets/dR_uwa9znq6_hDmB.js +0 -49
  199. package/cdn/assets/gX1gbnkwbpalR57F.js +0 -12
  200. package/cdn/assets/kagl0zcUDaK1IX_X.js +0 -10
  201. package/cdn/assets/t7CffsKJY64LMXgS.js +0 -10
@@ -1,10 +1,11 @@
1
1
  import { jsx as g, jsxs as se, Fragment as Kt } from "react/jsx-runtime";
2
2
  import * as ve from "react";
3
3
  import T, { memo as Me, forwardRef as ce, useRef as le, useMemo as te, useState as ae, useEffect as G, useLayoutEffect as dt, useCallback as ne, Component as Gt, createElement as fe, createContext as xn, useContext as yn, isValidElement as wn, cloneElement as vn } from "react";
4
- import { I as xt, K as yt, L as Je, M as En, N as Cn, Q as Sn, R as Ln, U as Mn, W as He, $ as wt, a0 as vt, a1 as Mt, a2 as Dn, a3 as Tn, a4 as Zt, a5 as On, a6 as Wn, a7 as ie, a8 as Qt, a9 as Dt, F as nt, aa as pt, ab as Fn, ac as Nn, Z as Tt, ad as ye, ae as Xt, af as Rn, ag as Jt, ah as An, ai as mt, aj as Yt, ak as In, al as Pn, am as Hn, an as jn, ao as zn, ap as _n, aq as qn, B as xe, ar as Bn, i as Vn, as as $n, at as ht, au as Un, av as Kn, aw as Gn, ax as Zn, ay as Qn, az as Xn, H as Jn, aA as ee, aB as We, aC as Ot, aD as Yn, aE as eo, aF as to, aG as no, aH as oo, aI as ro, aJ as ot, aK as Fe, aL as ao, aM as io, aN as so, aO as lo, aP as Wt, aQ as Ft, aR as co, aS as uo, aT as po, aU as mo, aV as _e, aW as ho } from "./Bq_HFm6_6_ycs_gE.mjs";
5
- import { createPortal as fo } from "react-dom";
4
+ import { g as xt, d as yt, u as Ye, e as En, f as Cn, h as Sn, i as Ln, j as Mn, k as je, l as wt, n as vt, o as Mt, p as Dn, P as Tn, q as Zt, r as On, v as Wn, t as ie, H as Xt, x as Dt, y as pt, z as Fn, $ as ye, A as Qt, C as Nn, J as Yt, K as An, L as mt, M as Jt, N as Rn, O as Pn, S as In, R as jn, U as Hn, V as zn, W as qn, B as xe, Y as _n, E as Bn, Z as Vn, a0 as ht, a1 as $n, a2 as Un, a3 as Kn, a4 as Gn, a5 as Zn, a6 as Xn, Q as Qn, a7 as ee, a8 as We, a9 as Tt, aa as Yn, ab as Jn, ac as eo, ad as to, ae as no, af as oo, ag as nt, ah as Fe, ai as ro, aj as ao, ak as io, al as so, am as Ot, an as Wt, ao as lo, ap as co, aq as uo, ar as po, as as qe } from "./CYXzmWJtZn5OJVBF.mjs";
5
+ import { createPortal as mo } from "react-dom";
6
+ import { CommonUtils as ot, UndoManager as ho, Workbook as Ft, PartialError as fo } from "@sheetxl/sdk";
6
7
  /**
7
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.4
8
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.3.5
8
9
  *
9
10
  * (C) 2025-present SheetXL Inc. & Michael T. Ford
10
11
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -13,51 +14,51 @@ function go(e) {
13
14
  return xt("MuiCollapse", e);
14
15
  }
15
16
  yt("MuiCollapse", ["root", "horizontal", "vertical", "entered", "hidden", "wrapper", "wrapperInner"]);
16
- const ko = He("div", { name: "MuiCollapse", slot: "Root", overridesResolver: (e, o) => {
17
+ const ko = je("div", { name: "MuiCollapse", slot: "Root", overridesResolver: (e, o) => {
17
18
  const { ownerState: r } = e;
18
19
  return [o.root, o[r.orientation], r.state === "entered" && o.entered, r.state === "exited" && !r.in && r.collapsedSize === "0px" && o.hidden];
19
- } })(Dn(({ theme: e }) => ({ height: 0, overflow: "hidden", transition: e.transitions.create("height"), variants: [{ props: { orientation: "horizontal" }, style: { height: "auto", width: 0, transition: e.transitions.create("width") } }, { props: { state: "entered" }, style: { height: "auto", overflow: "visible" } }, { props: { state: "entered", orientation: "horizontal" }, style: { width: "auto" } }, { props: ({ ownerState: o }) => o.state === "exited" && !o.in && o.collapsedSize === "0px", style: { visibility: "hidden" } }] }))), bo = He("div", { name: "MuiCollapse", slot: "Wrapper", overridesResolver: (e, o) => o.wrapper })({ display: "flex", width: "100%", variants: [{ props: { orientation: "horizontal" }, style: { width: "auto", height: "100%" } }] }), xo = He("div", { name: "MuiCollapse", slot: "WrapperInner", overridesResolver: (e, o) => o.wrapperInner })({ width: "100%", variants: [{ props: { orientation: "horizontal" }, style: { width: "auto", height: "100%" } }] }), ft = ve.forwardRef(function(e, o) {
20
- const r = Je({ props: e, name: "MuiCollapse" }), { addEndListener: t, children: n, className: a, collapsedSize: i = "0px", component: l, easing: s, in: c, onEnter: u, onEntered: m, onEntering: k, onExit: y, onExited: b, onExiting: f, orientation: x = "vertical", style: h, timeout: d = En.standard, TransitionComponent: L = Cn, ...w } = r, A = { ...r, orientation: x, collapsedSize: i }, M = ((C) => {
20
+ } })(Dn(({ theme: e }) => ({ height: 0, overflow: "hidden", transition: e.transitions.create("height"), variants: [{ props: { orientation: "horizontal" }, style: { height: "auto", width: 0, transition: e.transitions.create("width") } }, { props: { state: "entered" }, style: { height: "auto", overflow: "visible" } }, { props: { state: "entered", orientation: "horizontal" }, style: { width: "auto" } }, { props: ({ ownerState: o }) => o.state === "exited" && !o.in && o.collapsedSize === "0px", style: { visibility: "hidden" } }] }))), bo = je("div", { name: "MuiCollapse", slot: "Wrapper", overridesResolver: (e, o) => o.wrapper })({ display: "flex", width: "100%", variants: [{ props: { orientation: "horizontal" }, style: { width: "auto", height: "100%" } }] }), xo = je("div", { name: "MuiCollapse", slot: "WrapperInner", overridesResolver: (e, o) => o.wrapperInner })({ width: "100%", variants: [{ props: { orientation: "horizontal" }, style: { width: "auto", height: "100%" } }] }), ft = ve.forwardRef(function(e, o) {
21
+ const r = Ye({ props: e, name: "MuiCollapse" }), { addEndListener: t, children: n, className: a, collapsedSize: i = "0px", component: l, easing: s, in: c, onEnter: u, onEntered: m, onEntering: k, onExit: y, onExited: b, onExiting: f, orientation: x = "vertical", style: h, timeout: d = En.standard, TransitionComponent: L = Cn, ...w } = r, R = { ...r, orientation: x, collapsedSize: i }, M = ((C) => {
21
22
  const { orientation: W, classes: V } = C;
22
23
  return vt({ root: ["root", `${W}`], entered: ["entered"], hidden: ["hidden"], wrapper: ["wrapper", `${W}`], wrapperInner: ["wrapperInner", `${W}`] }, go, V);
23
- })(A), H = Sn(), q = Ln(), N = ve.useRef(null), z = ve.useRef(), K = typeof i == "number" ? `${i}px` : i, X = x === "horizontal", I = X ? "width" : "height", oe = ve.useRef(null), R = Mn(o, oe), E = (C) => (W) => {
24
+ })(R), j = Sn(), _ = Ln(), N = ve.useRef(null), z = ve.useRef(), K = typeof i == "number" ? `${i}px` : i, Q = x === "horizontal", P = Q ? "width" : "height", oe = ve.useRef(null), A = Mn(o, oe), E = (C) => (W) => {
24
25
  if (C) {
25
26
  const V = oe.current;
26
27
  W === void 0 ? C(V) : C(V, W);
27
28
  }
28
- }, S = () => N.current ? N.current[X ? "clientWidth" : "clientHeight"] : 0, P = E((C, W) => {
29
- N.current && X && (N.current.style.position = "absolute"), C.style[I] = K, u && u(C, W);
29
+ }, S = () => N.current ? N.current[Q ? "clientWidth" : "clientHeight"] : 0, I = E((C, W) => {
30
+ N.current && Q && (N.current.style.position = "absolute"), C.style[P] = K, u && u(C, W);
30
31
  }), D = E((C, W) => {
31
32
  const V = S();
32
- N.current && X && (N.current.style.position = "");
33
+ N.current && Q && (N.current.style.position = "");
33
34
  const { duration: re, easing: me } = Mt({ style: h, timeout: d, easing: s }, { mode: "enter" });
34
35
  if (d === "auto") {
35
- const ue = H.transitions.getAutoHeightDuration(V);
36
+ const ue = j.transitions.getAutoHeightDuration(V);
36
37
  C.style.transitionDuration = `${ue}ms`, z.current = ue;
37
38
  } else C.style.transitionDuration = typeof re == "string" ? re : `${re}ms`;
38
- C.style[I] = `${V}px`, C.style.transitionTimingFunction = me, k && k(C, W);
39
+ C.style[P] = `${V}px`, C.style.transitionTimingFunction = me, k && k(C, W);
39
40
  }), B = E((C, W) => {
40
- C.style[I] = "auto", m && m(C, W);
41
- }), _ = E((C) => {
42
- C.style[I] = `${S()}px`, y && y(C);
43
- }), J = E(b), j = E((C) => {
41
+ C.style[P] = "auto", m && m(C, W);
42
+ }), q = E((C) => {
43
+ C.style[P] = `${S()}px`, y && y(C);
44
+ }), Y = E(b), H = E((C) => {
44
45
  const W = S(), { duration: V, easing: re } = Mt({ style: h, timeout: d, easing: s }, { mode: "exit" });
45
46
  if (d === "auto") {
46
- const me = H.transitions.getAutoHeightDuration(W);
47
+ const me = j.transitions.getAutoHeightDuration(W);
47
48
  C.style.transitionDuration = `${me}ms`, z.current = me;
48
49
  } else C.style.transitionDuration = typeof V == "string" ? V : `${V}ms`;
49
- C.style[I] = K, C.style.transitionTimingFunction = re, f && f(C);
50
+ C.style[P] = K, C.style.transitionTimingFunction = re, f && f(C);
50
51
  });
51
- return g(L, { in: c, onEnter: P, onEntered: B, onEntering: D, onExit: _, onExited: J, onExiting: j, addEndListener: (C) => {
52
- d === "auto" && q.start(z.current || 0, C), t && t(oe.current, C);
53
- }, nodeRef: oe, timeout: d === "auto" ? null : d, ...w, children: (C, { ownerState: W, ...V }) => g(ko, { as: l, className: wt(M.root, a, { entered: M.entered, exited: !c && K === "0px" && M.hidden }[C]), style: { [X ? "minWidth" : "minHeight"]: K, ...h }, ref: R, ownerState: { ...A, state: C }, ...V, children: g(bo, { ownerState: { ...A, state: C }, className: M.wrapper, ref: N, children: g(xo, { ownerState: { ...A, state: C }, className: M.wrapperInner, children: n }) }) }) });
52
+ return g(L, { in: c, onEnter: I, onEntered: B, onEntering: D, onExit: q, onExited: Y, onExiting: H, addEndListener: (C) => {
53
+ d === "auto" && _.start(z.current || 0, C), t && t(oe.current, C);
54
+ }, nodeRef: oe, timeout: d === "auto" ? null : d, ...w, children: (C, { ownerState: W, ...V }) => g(ko, { as: l, className: wt(M.root, a, { entered: M.entered, exited: !c && K === "0px" && M.hidden }[C]), style: { [Q ? "minWidth" : "minHeight"]: K, ...h }, ref: A, ownerState: { ...R, state: C }, ...V, children: g(bo, { ownerState: { ...R, state: C }, className: M.wrapper, ref: N, children: g(xo, { ownerState: { ...R, state: C }, className: M.wrapperInner, children: n }) }) }) });
54
55
  });
55
56
  function yo(e) {
56
57
  return xt("MuiCard", e);
57
58
  }
58
59
  ft && (ft.muiSupportAuto = !0), yt("MuiCard", ["root"]);
59
- const wo = He(Tn, { name: "MuiCard", slot: "Root", overridesResolver: (e, o) => o.root })({ overflow: "hidden" }), vo = ve.forwardRef(function(e, o) {
60
- const r = Je({ props: e, name: "MuiCard" }), { className: t, raised: n = !1, ...a } = r, i = { ...r, raised: n }, l = ((s) => {
60
+ const wo = je(Tn, { name: "MuiCard", slot: "Root", overridesResolver: (e, o) => o.root })({ overflow: "hidden" }), vo = ve.forwardRef(function(e, o) {
61
+ const r = Ye({ props: e, name: "MuiCard" }), { className: t, raised: n = !1, ...a } = r, i = { ...r, raised: n }, l = ((s) => {
61
62
  const { classes: c } = s;
62
63
  return vt({ root: ["root"] }, yo, c);
63
64
  })(i);
@@ -67,11 +68,11 @@ function Eo(e) {
67
68
  return xt("MuiCardActions", e);
68
69
  }
69
70
  yt("MuiCardActions", ["root", "spacing"]);
70
- const Co = He("div", { name: "MuiCardActions", slot: "Root", overridesResolver: (e, o) => {
71
+ const Co = je("div", { name: "MuiCardActions", slot: "Root", overridesResolver: (e, o) => {
71
72
  const { ownerState: r } = e;
72
73
  return [o.root, !r.disableSpacing && o.spacing];
73
74
  } })({ display: "flex", alignItems: "center", padding: 8, variants: [{ props: { disableSpacing: !1 }, style: { "& > :not(style) ~ :not(style)": { marginLeft: 8 } } }] }), So = ve.forwardRef(function(e, o) {
74
- const r = Je({ props: e, name: "MuiCardActions" }), { disableSpacing: t = !1, className: n, ...a } = r, i = { ...r, disableSpacing: t }, l = ((s) => {
75
+ const r = Ye({ props: e, name: "MuiCardActions" }), { disableSpacing: t = !1, className: n, ...a } = r, i = { ...r, disableSpacing: t }, l = ((s) => {
75
76
  const { classes: c, disableSpacing: u } = s;
76
77
  return vt({ root: ["root", !u && "spacing"] }, Eo, c);
77
78
  })(i);
@@ -93,7 +94,7 @@ const Co = He("div", { name: "MuiCardActions", slot: "Root", overridesResolver:
93
94
  }), r;
94
95
  })(e));
95
96
  function To(e) {
96
- const o = Je({ props: e, name: "MuiCssBaseline" }), { children: r, enableColorScheme: t = !1 } = o;
97
+ const o = Ye({ props: e, name: "MuiCssBaseline" }), { children: r, enableColorScheme: t = !1 } = o;
97
98
  return se(ve.Fragment, { children: [gt && g(Do, { enableColorScheme: t }), !gt && !t && g("span", { className: Ze, style: { display: "none" } }), r] });
98
99
  }
99
100
  const Oo = On(g("path", { d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m3.59-13L12 10.59 8.41 7 7 8.41 10.59 12 7 15.59 8.41 17 12 13.41 15.59 17 17 15.59 13.41 12 17 8.41z" }), "CancelOutlined"), Wo = xn(null), rt = { didCatch: !1, error: null };
@@ -149,7 +150,7 @@ function ge() {
149
150
  for (var e, o, r = 0, t = ""; r < arguments.length; ) (e = arguments[r++]) && (o = en(e)) && (t && (t += " "), t += o);
150
151
  return t;
151
152
  }
152
- let No = { data: "" }, Ro = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g, Ao = /\/\*[^]*?\*\/| +/g, Rt = /\n+/g, we = (e, o) => {
153
+ let No = { data: "" }, Ao = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g, Ro = /\/\*[^]*?\*\/| +/g, At = /\n+/g, we = (e, o) => {
153
154
  let r = "", t = "", n = "";
154
155
  for (let a in e) {
155
156
  let i = e[a];
@@ -174,8 +175,8 @@ function kt(e) {
174
175
  })(m));
175
176
  if (!de[k]) {
176
177
  let d = m !== i ? i : ((L) => {
177
- let w, A, M = [{}];
178
- for (; w = Ro.exec(L.replace(Ao, "")); ) w[4] ? M.shift() : w[3] ? (A = w[3].replace(Rt, " ").trim(), M.unshift(M[0][A] = M[0][A] || {})) : M[0][w[1]] = w[2].replace(Rt, " ").trim();
178
+ let w, R, M = [{}];
179
+ for (; w = Ao.exec(L.replace(Ro, "")); ) w[4] ? M.shift() : w[3] ? (R = w[3].replace(At, " ").trim(), M.unshift(M[0][R] = M[0][R] || {})) : M[0][w[1]] = w[2].replace(At, " ").trim();
179
180
  return M[0];
180
181
  })(i);
181
182
  de[k] = we(u ? { ["@keyframes " + k]: d } : d, s ? "" : "." + k);
@@ -213,26 +214,26 @@ function O() {
213
214
  function on(e, o) {
214
215
  e.prototype = Object.create(o.prototype), e.prototype.constructor = e, e.__proto__ = o;
215
216
  }
216
- function je(e, o) {
217
+ function He(e, o) {
217
218
  if (e == null) return {};
218
219
  var r, t, n = {}, a = Object.keys(e);
219
220
  for (t = 0; t < a.length; t++) r = a[t], o.indexOf(r) >= 0 || (n[r] = e[r]);
220
221
  return n;
221
222
  }
222
- function At(e) {
223
+ function Rt(e) {
223
224
  if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
224
225
  return e;
225
226
  }
226
227
  kt.bind({ g: 1 }), kt.bind({ k: 1 });
227
- var It = function() {
228
+ var Pt = function() {
228
229
  return "";
229
- }, rn = T.createContext({ enqueueSnackbar: It, closeSnackbar: It }), at = "@media (max-width:599.95px)", Qe = "@media (min-width:600px)", Pt = function(e) {
230
+ }, rn = T.createContext({ enqueueSnackbar: Pt, closeSnackbar: Pt }), at = "@media (max-width:599.95px)", Xe = "@media (min-width:600px)", It = function(e) {
230
231
  return e.charAt(0).toUpperCase() + e.slice(1);
231
232
  }, Et = function(e) {
232
- return "" + Pt(e.vertical) + Pt(e.horizontal);
233
- }, qe = function(e) {
233
+ return "" + It(e.vertical) + It(e.horizontal);
234
+ }, _e = function(e) {
234
235
  return !!e || e === 0;
235
- }, Be = "unmounted", Ee = "exited", Ce = "entering", Ne = "entered", Ht = "exiting", Ct = function(e) {
236
+ }, Be = "unmounted", Ee = "exited", Ce = "entering", Ne = "entered", jt = "exiting", Ct = function(e) {
236
237
  function o(t) {
237
238
  var n;
238
239
  n = e.call(this, t) || this;
@@ -249,7 +250,7 @@ var It = function() {
249
250
  var n = null;
250
251
  if (t !== this.props) {
251
252
  var a = this.state.status;
252
- this.props.in ? a !== Ce && a !== Ne && (n = Ce) : a !== Ce && a !== Ne || (n = Ht);
253
+ this.props.in ? a !== Ce && a !== Ne && (n = Ce) : a !== Ce && a !== Ne || (n = jt);
253
254
  }
254
255
  this.updateStatus(!1, n);
255
256
  }, r.componentWillUnmount = function() {
@@ -272,7 +273,7 @@ var It = function() {
272
273
  });
273
274
  }, r.performExit = function() {
274
275
  var t = this, n = this.props.exit, a = this.getTimeouts();
275
- n ? (this.props.onExit && this.props.onExit(this.node), this.safeSetState({ status: Ht }, function() {
276
+ n ? (this.props.onExit && this.props.onExit(this.node), this.safeSetState({ status: jt }, function() {
276
277
  t.props.onExiting && t.props.onExiting(t.node), t.onTransitionEnd(a.exit, function() {
277
278
  t.safeSetState({ status: Ee }, function() {
278
279
  t.props.onExited && t.props.onExited(t.node);
@@ -300,7 +301,7 @@ var It = function() {
300
301
  var t = this.state.status;
301
302
  if (t === Be) return null;
302
303
  var n = this.props;
303
- return (0, n.children)(t, je(n, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]));
304
+ return (0, n.children)(t, He(n, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]));
304
305
  }, nn(o, [{ key: "node", get: function() {
305
306
  var t, n = (t = this.props.nodeRef) === null || t === void 0 ? void 0 : t.current;
306
307
  if (!n) throw new Error("notistack - Custom snackbar is not refForwarding");
@@ -309,17 +310,17 @@ var It = function() {
309
310
  }(T.Component);
310
311
  function Se() {
311
312
  }
312
- function jt(e, o) {
313
+ function Ht(e, o) {
313
314
  typeof e == "function" ? e(o) : e && (e.current = o);
314
315
  }
315
316
  function bt(e, o) {
316
317
  return te(function() {
317
318
  return e == null && o == null ? null : function(r) {
318
- jt(e, r), jt(o, r);
319
+ Ht(e, r), Ht(o, r);
319
320
  };
320
321
  }, [e, o]);
321
322
  }
322
- function Xe(e) {
323
+ function Qe(e) {
323
324
  var o = e.timeout, r = e.style, t = r === void 0 ? {} : r, n = e.mode;
324
325
  return { duration: typeof o == "object" ? o[n] || 0 : o, easing: t.transitionTimingFunction, delay: t.transitionDelay };
325
326
  }
@@ -370,22 +371,22 @@ function Ve(e, o) {
370
371
  }
371
372
  }
372
373
  var ln = ce(function(e, o) {
373
- var r = e.children, t = e.direction, n = t === void 0 ? "down" : t, a = e.in, i = e.style, l = e.timeout, s = l === void 0 ? 0 : l, c = e.onEnter, u = e.onEntered, m = e.onExit, k = e.onExited, y = je(e, ["children", "direction", "in", "style", "timeout", "onEnter", "onEntered", "onExit", "onExited"]), b = le(null), f = bt(r.ref, b), x = bt(f, o), h = ne(function() {
374
+ var r = e.children, t = e.direction, n = t === void 0 ? "down" : t, a = e.in, i = e.style, l = e.timeout, s = l === void 0 ? 0 : l, c = e.onEnter, u = e.onEntered, m = e.onExit, k = e.onExited, y = He(e, ["children", "direction", "in", "style", "timeout", "onEnter", "onEntered", "onExit", "onExited"]), b = le(null), f = bt(r.ref, b), x = bt(f, o), h = ne(function() {
374
375
  b.current && Ve(n, b.current);
375
376
  }, [n]);
376
377
  return G(function() {
377
378
  if (!a && n !== "down" && n !== "right") {
378
- var d = function(w, A) {
379
+ var d = function(w, R) {
379
380
  var M;
380
- function H() {
381
- for (var q = this, N = arguments.length, z = new Array(N), K = 0; K < N; K++) z[K] = arguments[K];
381
+ function j() {
382
+ for (var _ = this, N = arguments.length, z = new Array(N), K = 0; K < N; K++) z[K] = arguments[K];
382
383
  clearTimeout(M), M = setTimeout(function() {
383
- w.apply(q, z);
384
- }, A);
384
+ w.apply(_, z);
385
+ }, R);
385
386
  }
386
- return A === void 0 && (A = 166), H.clear = function() {
387
+ return R === void 0 && (R = 166), j.clear = function() {
387
388
  clearTimeout(M);
388
- }, H;
389
+ }, j;
389
390
  }(function() {
390
391
  b.current && Ve(n, b.current);
391
392
  }), L = sn(b.current);
@@ -398,10 +399,10 @@ var ln = ce(function(e, o) {
398
399
  }, [a, h]), fe(Ct, Object.assign({ appear: !0, nodeRef: b, onEnter: function(d, L) {
399
400
  Ve(n, d), an(d), c && c(d, L);
400
401
  }, onEntered: u, onEntering: function(d) {
401
- var L = Xe({ timeout: s, mode: "enter", style: O({}, i, { transitionTimingFunction: i?.transitionTimingFunction || "cubic-bezier(0.0, 0, 0.2, 1)" }) });
402
+ var L = Qe({ timeout: s, mode: "enter", style: O({}, i, { transitionTimingFunction: i?.transitionTimingFunction || "cubic-bezier(0.0, 0, 0.2, 1)" }) });
402
403
  d.style.webkitTransition = Le("-webkit-transform", L), d.style.transition = Le("transform", L), d.style.webkitTransform = "none", d.style.transform = "none";
403
404
  }, onExit: function(d) {
404
- var L = Xe({ timeout: s, mode: "exit", style: O({}, i, { transitionTimingFunction: i?.transitionTimingFunction || "cubic-bezier(0.4, 0, 0.6, 1)" }) });
405
+ var L = Qe({ timeout: s, mode: "exit", style: O({}, i, { transitionTimingFunction: i?.transitionTimingFunction || "cubic-bezier(0.4, 0, 0.6, 1)" }) });
405
406
  d.style.webkitTransition = Le("-webkit-transform", L), d.style.transition = Le("transform", L), Ve(n, d), m && m(d);
406
407
  }, onExited: function(d) {
407
408
  d.style.webkitTransition = "", d.style.transition = "", k && k(d);
@@ -431,9 +432,9 @@ function ze(e) {
431
432
  return O({}, o, ((t = {})[n] = kt(a), t));
432
433
  }, {});
433
434
  }
434
- var cn = "notistack-CollapseWrapper", Io = function(e) {
435
+ var cn = "notistack-CollapseWrapper", Po = function(e) {
435
436
  return "notistack-MuiContent-" + e;
436
- }, _t = ze({ root: { height: 0 }, entered: { height: "auto" } }), it = "0px", un = ce(function(e, o) {
437
+ }, qt = ze({ root: { height: 0 }, entered: { height: "auto" } }), it = "0px", un = ce(function(e, o) {
437
438
  var r = e.children, t = e.in, n = e.onExited, a = le(null), i = le(null), l = bt(o, i), s = function() {
438
439
  return a.current ? a.current.clientHeight : 0;
439
440
  };
@@ -442,36 +443,36 @@ var cn = "notistack-CollapseWrapper", Io = function(e) {
442
443
  }, onEntered: function(c) {
443
444
  c.style.height = "auto";
444
445
  }, onEntering: function(c) {
445
- var u = s(), m = Xe({ timeout: 175, mode: "enter" }), k = m.duration, y = m.easing;
446
+ var u = s(), m = Qe({ timeout: 175, mode: "enter" }), k = m.duration, y = m.easing;
446
447
  c.style.transitionDuration = typeof k == "string" ? k : k + "ms", c.style.height = u + "px", c.style.transitionTimingFunction = y || "";
447
448
  }, onExit: function(c) {
448
449
  c.style.height = s() + "px";
449
450
  }, onExited: n, onExiting: function(c) {
450
451
  an(c);
451
- var u = Xe({ timeout: 175, mode: "exit" }), m = u.duration, k = u.easing;
452
+ var u = Qe({ timeout: 175, mode: "exit" }), m = u.duration, k = u.easing;
452
453
  c.style.transitionDuration = typeof m == "string" ? m : m + "ms", c.style.height = it, c.style.transitionTimingFunction = k || "";
453
454
  }, nodeRef: i, timeout: 175 }, function(c, u) {
454
- return fe("div", Object.assign({ ref: l, className: ge(_t.root, c === "entered" && _t.entered), style: O({ pointerEvents: "all", overflow: "hidden", minHeight: it, transition: Le("height") }, c === "entered" && { overflow: "visible" }, {}, c === "exited" && !t && { visibility: "hidden" }) }, u), fe("div", { ref: a, className: cn, style: { display: "flex", width: "100%" } }, r));
455
+ return fe("div", Object.assign({ ref: l, className: ge(qt.root, c === "entered" && qt.entered), style: O({ pointerEvents: "all", overflow: "hidden", minHeight: it, transition: Le("height") }, c === "entered" && { overflow: "visible" }, {}, c === "exited" && !t && { visibility: "hidden" }) }, u), fe("div", { ref: a, className: cn, style: { display: "flex", width: "100%" } }, r));
455
456
  });
456
457
  });
457
458
  un.displayName = "Collapse";
458
- var qt = { right: "left", left: "right", bottom: "up", top: "down" }, Po = function(e) {
459
+ var _t = { right: "left", left: "right", bottom: "up", top: "down" }, Io = function(e) {
459
460
  return "anchorOrigin" + Et(e);
460
- }, Ho = function() {
461
+ }, jo = function() {
461
462
  };
462
- function Pe(e, o) {
463
+ function Ie(e, o) {
463
464
  return e.reduce(function(r, t) {
464
465
  return t == null ? r : function() {
465
466
  for (var n = arguments.length, a = new Array(n), i = 0; i < n; i++) a[i] = arguments[i];
466
467
  var l = [].concat(a);
467
468
  o && l.indexOf(o) === -1 && l.push(o), r.apply(this, l), t.apply(this, l);
468
469
  };
469
- }, Ho);
470
+ }, jo);
470
471
  }
471
- var jo = typeof window < "u" ? dt : G;
472
+ var Ho = typeof window < "u" ? dt : G;
472
473
  function Bt(e) {
473
474
  var o = le(e);
474
- return jo(function() {
475
+ return Ho(function() {
475
476
  o.current = e;
476
477
  }), ne(function() {
477
478
  return o.current.apply(void 0, arguments);
@@ -506,21 +507,21 @@ var st, dn = ce(function(e, o) {
506
507
  } }), r);
507
508
  });
508
509
  dn.displayName = "Snackbar";
509
- var zo = ze({ root: (st = { display: "flex", flexWrap: "wrap", flexGrow: 1 }, st[Qe] = { flexGrow: "initial", minWidth: "288px" }, st) }), St = ce(function(e, o) {
510
- var r = e.className, t = je(e, ["className"]);
510
+ var zo = ze({ root: (st = { display: "flex", flexWrap: "wrap", flexGrow: 1 }, st[Xe] = { flexGrow: "initial", minWidth: "288px" }, st) }), St = ce(function(e, o) {
511
+ var r = e.className, t = He(e, ["className"]);
511
512
  return T.createElement("div", Object.assign({ ref: o, className: ge(zo.root, r) }, t));
512
513
  });
513
514
  St.displayName = "SnackbarContent";
514
- var Re = ze({ root: { backgroundColor: "#313131", fontSize: "0.875rem", lineHeight: 1.43, letterSpacing: "0.01071em", color: "#fff", alignItems: "center", padding: "6px 16px", borderRadius: "4px", boxShadow: "0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)" }, lessPadding: { paddingLeft: "20px" }, default: { backgroundColor: "#313131" }, success: { backgroundColor: "#43a047" }, error: { backgroundColor: "#d32f2f" }, warning: { backgroundColor: "#ff9800" }, info: { backgroundColor: "#2196f3" }, message: { display: "flex", alignItems: "center", padding: "8px 0" }, action: { display: "flex", alignItems: "center", marginLeft: "auto", paddingLeft: "16px", marginRight: "-8px" } }), Vt = "notistack-snackbar", pn = ce(function(e, o) {
515
+ var Ae = ze({ root: { backgroundColor: "#313131", fontSize: "0.875rem", lineHeight: 1.43, letterSpacing: "0.01071em", color: "#fff", alignItems: "center", padding: "6px 16px", borderRadius: "4px", boxShadow: "0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)" }, lessPadding: { paddingLeft: "20px" }, default: { backgroundColor: "#313131" }, success: { backgroundColor: "#43a047" }, error: { backgroundColor: "#d32f2f" }, warning: { backgroundColor: "#ff9800" }, info: { backgroundColor: "#2196f3" }, message: { display: "flex", alignItems: "center", padding: "8px 0" }, action: { display: "flex", alignItems: "center", marginLeft: "auto", paddingLeft: "16px", marginRight: "-8px" } }), Vt = "notistack-snackbar", pn = ce(function(e, o) {
515
516
  var r = e.id, t = e.message, n = e.action, a = e.iconVariant, i = e.variant, l = e.hideIconVariant, s = e.style, c = e.className, u = a[i], m = n;
516
- return typeof m == "function" && (m = m(r)), T.createElement(St, { ref: o, role: "alert", "aria-describedby": Vt, style: s, className: ge("notistack-MuiContent", Io(i), Re.root, Re[i], c, !l && u && Re.lessPadding) }, T.createElement("div", { id: Vt, className: Re.message }, l ? null : u, t), m && T.createElement("div", { className: Re.action }, m));
517
+ return typeof m == "function" && (m = m(r)), T.createElement(St, { ref: o, role: "alert", "aria-describedby": Vt, style: s, className: ge("notistack-MuiContent", Po(i), Ae.root, Ae[i], c, !l && u && Ae.lessPadding) }, T.createElement("div", { id: Vt, className: Ae.message }, l ? null : u, t), m && T.createElement("div", { className: Ae.action }, m));
517
518
  });
518
519
  pn.displayName = "MaterialDesignContent";
519
- var Ae, lt, Ue, Ke, ct, _o = Me(pn), qo = ze({ wrappedRoot: { width: "100%", position: "relative", transform: "translateX(0)", top: 0, right: 0, bottom: 0, left: 0, minWidth: "288px" } }), Bo = function(e) {
520
- var o = le(), r = ae(!0), t = r[0], n = r[1], a = Pe([e.snack.onClose, e.onClose]), i = ne(function() {
520
+ var Re, lt, Ue, Ke, ct, qo = Me(pn), _o = ze({ wrappedRoot: { width: "100%", position: "relative", transform: "translateX(0)", top: 0, right: 0, bottom: 0, left: 0, minWidth: "288px" } }), Bo = function(e) {
521
+ var o = le(), r = ae(!0), t = r[0], n = r[1], a = Ie([e.snack.onClose, e.onClose]), i = ne(function() {
521
522
  o.current = setTimeout(function() {
522
- n(function(q) {
523
- return !q;
523
+ n(function(_) {
524
+ return !_;
524
525
  });
525
526
  }, 125);
526
527
  }, []);
@@ -529,27 +530,27 @@ var Ae, lt, Ue, Ke, ct, _o = Me(pn), qo = ze({ wrappedRoot: { width: "100%", pos
529
530
  o.current && clearTimeout(o.current);
530
531
  };
531
532
  }, []);
532
- var l, s = e.snack, c = e.classes, u = e.Component, m = u === void 0 ? _o : u, k = te(function() {
533
- return function(q) {
534
- q === void 0 && (q = {});
533
+ var l, s = e.snack, c = e.classes, u = e.Component, m = u === void 0 ? qo : u, k = te(function() {
534
+ return function(_) {
535
+ _ === void 0 && (_ = {});
535
536
  var N = { containerRoot: !0, containerAnchorOriginTopCenter: !0, containerAnchorOriginBottomCenter: !0, containerAnchorOriginTopRight: !0, containerAnchorOriginBottomRight: !0, containerAnchorOriginTopLeft: !0, containerAnchorOriginBottomLeft: !0 };
536
- return Object.keys(q).filter(function(z) {
537
+ return Object.keys(_).filter(function(z) {
537
538
  return !N[z];
538
539
  }).reduce(function(z, K) {
539
- var X;
540
- return O({}, z, ((X = {})[K] = q[K], X));
540
+ var Q;
541
+ return O({}, z, ((Q = {})[K] = _[K], Q));
541
542
  }, {});
542
543
  }(c);
543
- }, [c]), y = s.open, b = s.SnackbarProps, f = s.TransitionComponent, x = s.TransitionProps, h = s.transitionDuration, d = s.disableWindowBlurListener, L = s.content, w = je(s, ["open", "SnackbarProps", "TransitionComponent", "TransitionProps", "transitionDuration", "disableWindowBlurListener", "content", "entered", "requestClose", "onEnter", "onEntered", "onExit", "onExited"]), A = O({ direction: (l = w.anchorOrigin, l.horizontal !== "center" ? qt[l.horizontal] : qt[l.vertical]), timeout: h }, x), M = L;
544
+ }, [c]), y = s.open, b = s.SnackbarProps, f = s.TransitionComponent, x = s.TransitionProps, h = s.transitionDuration, d = s.disableWindowBlurListener, L = s.content, w = He(s, ["open", "SnackbarProps", "TransitionComponent", "TransitionProps", "transitionDuration", "disableWindowBlurListener", "content", "entered", "requestClose", "onEnter", "onEntered", "onExit", "onExited"]), R = O({ direction: (l = w.anchorOrigin, l.horizontal !== "center" ? _t[l.horizontal] : _t[l.vertical]), timeout: h }, x), M = L;
544
545
  typeof M == "function" && (M = M(w.id, w.message));
545
- var H = ["onEnter", "onEntered", "onExit", "onExited"].reduce(function(q, N) {
546
+ var j = ["onEnter", "onEntered", "onExit", "onExited"].reduce(function(_, N) {
546
547
  var z;
547
- return O({}, q, ((z = {})[N] = Pe([e.snack[N], e[N]], w.id), z));
548
+ return O({}, _, ((z = {})[N] = Ie([e.snack[N], e[N]], w.id), z));
548
549
  }, {});
549
- return T.createElement(un, { in: t, onExited: H.onExited }, T.createElement(dn, { open: y, id: w.id, disableWindowBlurListener: d, autoHideDuration: w.autoHideDuration, className: ge(qo.wrappedRoot, k.root, k[Po(w.anchorOrigin)]), SnackbarProps: b, onClose: a }, T.createElement(f, Object.assign({}, A, { appear: !0, in: y, onExit: H.onExit, onExited: i, onEnter: H.onEnter, onEntered: Pe([H.onEntered, function() {
550
+ return T.createElement(un, { in: t, onExited: j.onExited }, T.createElement(dn, { open: y, id: w.id, disableWindowBlurListener: d, autoHideDuration: w.autoHideDuration, className: ge(_o.wrappedRoot, k.root, k[Io(w.anchorOrigin)]), SnackbarProps: b, onClose: a }, T.createElement(f, Object.assign({}, R, { appear: !0, in: y, onExit: j.onExit, onExited: i, onEnter: j.onEnter, onEntered: Ie([j.onEntered, function() {
550
551
  e.snack.requestClose && a(null, "instructed", e.snack.id);
551
552
  }], w.id) }), M || T.createElement(m, Object.assign({}, w)))));
552
- }, Ie = 20, ut = 6, Vo = 2, $t = "." + cn, Ge = ze({ root: (Ae = { boxSizing: "border-box", display: "flex", maxHeight: "100%", position: "fixed", zIndex: 1400, height: "auto", width: "auto", transition: Le(["top", "right", "bottom", "left", "max-width"], { duration: 300, easing: "ease" }), pointerEvents: "none" }, Ae[$t] = { padding: ut + "px 0px", transition: "padding 300ms ease 0ms" }, Ae.maxWidth = "calc(100% - " + 2 * Ie + "px)", Ae[at] = { width: "100%", maxWidth: "calc(100% - 32px)" }, Ae), rootDense: (lt = {}, lt[$t] = { padding: Vo + "px 0px" }, lt), top: { top: Ie - ut + "px", flexDirection: "column" }, bottom: { bottom: Ie - ut + "px", flexDirection: "column-reverse" }, left: (Ue = { left: Ie + "px" }, Ue[Qe] = { alignItems: "flex-start" }, Ue[at] = { left: "16px" }, Ue), right: (Ke = { right: Ie + "px" }, Ke[Qe] = { alignItems: "flex-end" }, Ke[at] = { right: "16px" }, Ke), center: (ct = { left: "50%", transform: "translateX(-50%)" }, ct[Qe] = { alignItems: "center" }, ct) }), $o = Me(function(e) {
553
+ }, Pe = 20, ut = 6, Vo = 2, $t = "." + cn, Ge = ze({ root: (Re = { boxSizing: "border-box", display: "flex", maxHeight: "100%", position: "fixed", zIndex: 1400, height: "auto", width: "auto", transition: Le(["top", "right", "bottom", "left", "max-width"], { duration: 300, easing: "ease" }), pointerEvents: "none" }, Re[$t] = { padding: ut + "px 0px", transition: "padding 300ms ease 0ms" }, Re.maxWidth = "calc(100% - " + 2 * Pe + "px)", Re[at] = { width: "100%", maxWidth: "calc(100% - 32px)" }, Re), rootDense: (lt = {}, lt[$t] = { padding: Vo + "px 0px" }, lt), top: { top: Pe - ut + "px", flexDirection: "column" }, bottom: { bottom: Pe - ut + "px", flexDirection: "column-reverse" }, left: (Ue = { left: Pe + "px" }, Ue[Xe] = { alignItems: "flex-start" }, Ue[at] = { left: "16px" }, Ue), right: (Ke = { right: Pe + "px" }, Ke[Xe] = { alignItems: "flex-end" }, Ke[at] = { right: "16px" }, Ke), center: (ct = { left: "50%", transform: "translateX(-50%)" }, ct[Xe] = { alignItems: "center" }, ct) }), $o = Me(function(e) {
553
554
  var o = e.classes, r = o === void 0 ? {} : o, t = e.anchorOrigin, n = e.dense, a = e.children, i = ge("notistack-SnackbarContainer", Ge[t.vertical], Ge[t.horizontal], Ge.root, r.containerRoot, r["containerAnchorOrigin" + Et(t)], n && Ge.rootDense);
554
555
  return T.createElement("div", { className: i }, a);
555
556
  }), Ut = function(e) {
@@ -559,16 +560,16 @@ var Ae, lt, Ue, Ke, ct, _o = Me(pn), qo = ze({ wrappedRoot: { width: "100%", pos
559
560
  var t;
560
561
  return (t = e.call(this, r) || this).enqueueSnackbar = function(n, a) {
561
562
  if (a === void 0 && (a = {}), n == null) throw new Error("enqueueSnackbar called with invalid argument");
562
- var i = Ut(n) ? n : a, l = Ut(n) ? n.message : n, s = i.key, c = i.preventDuplicate, u = je(i, ["key", "preventDuplicate"]), m = qe(s), k = m ? s : (/* @__PURE__ */ new Date()).getTime() + Math.random(), y = /* @__PURE__ */ function(f, x) {
563
+ var i = Ut(n) ? n : a, l = Ut(n) ? n.message : n, s = i.key, c = i.preventDuplicate, u = He(i, ["key", "preventDuplicate"]), m = _e(s), k = m ? s : (/* @__PURE__ */ new Date()).getTime() + Math.random(), y = /* @__PURE__ */ function(f, x) {
563
564
  return function(h, d) {
564
- return d === void 0 && (d = !1), d ? O({}, be[h], {}, x[h], {}, f[h]) : h === "autoHideDuration" ? (M = f.autoHideDuration, H = x.autoHideDuration, (q = function(N) {
565
+ return d === void 0 && (d = !1), d ? O({}, be[h], {}, x[h], {}, f[h]) : h === "autoHideDuration" ? (M = f.autoHideDuration, j = x.autoHideDuration, (_ = function(N) {
565
566
  return typeof N == "number" || N === null;
566
- })(M) ? M : q(H) ? H : be.autoHideDuration) : h === "transitionDuration" ? (L = f.transitionDuration, w = x.transitionDuration, (A = function(N, z) {
567
+ })(M) ? M : _(j) ? j : be.autoHideDuration) : h === "transitionDuration" ? (L = f.transitionDuration, w = x.transitionDuration, (R = function(N, z) {
567
568
  return z.some(function(K) {
568
569
  return typeof N === K;
569
570
  });
570
- })(L, ["string", "number"]) ? L : A(L, ["object"]) ? O({}, be.transitionDuration, {}, A(w, ["object"]) && w, {}, L) : A(w, ["string", "number"]) ? w : A(w, ["object"]) ? O({}, be.transitionDuration, {}, w) : be.transitionDuration) : f[h] || x[h] || be[h];
571
- var L, w, A, M, H, q;
571
+ })(L, ["string", "number"]) ? L : R(L, ["object"]) ? O({}, be.transitionDuration, {}, R(w, ["object"]) && w, {}, L) : R(w, ["string", "number"]) ? w : R(w, ["object"]) ? O({}, be.transitionDuration, {}, w) : be.transitionDuration) : f[h] || x[h] || be[h];
572
+ var L, w, R, M, j, _;
572
573
  };
573
574
  }(u, t.props), b = O({ id: k }, u, { message: l, open: !0, entered: !1, requestClose: !1, persist: y("persist"), action: y("action"), content: y("content"), variant: y("variant"), anchorOrigin: y("anchorOrigin"), disableWindowBlurListener: y("disableWindowBlurListener"), autoHideDuration: y("autoHideDuration"), hideIconVariant: y("hideIconVariant"), TransitionComponent: y("TransitionComponent"), transitionDuration: y("transitionDuration"), TransitionProps: y("TransitionProps", !0), iconVariant: y("iconVariant", !0), style: y("style", !0), SnackbarProps: y("SnackbarProps", !0), className: ge(t.props.className, u.className) });
574
575
  return b.persist && (b.autoHideDuration = void 0), t.setState(function(f) {
@@ -598,7 +599,7 @@ var Ae, lt, Ue, Ke, ct, _o = Me(pn), qo = ze({ wrappedRoot: { width: "100%", pos
598
599
  });
599
600
  return O({}, n, { snacks: l });
600
601
  }, t.handleEnteredSnack = function(n, a, i) {
601
- if (!qe(i)) throw new Error("handleEnteredSnack Cannot be called with undefined key");
602
+ if (!_e(i)) throw new Error("handleEnteredSnack Cannot be called with undefined key");
602
603
  t.setState(function(l) {
603
604
  return { snacks: l.snacks.map(function(s) {
604
605
  return s.id === i ? O({}, s, { entered: !0 }) : O({}, s);
@@ -619,16 +620,16 @@ var Ae, lt, Ue, Ke, ct, _o = Me(pn), qo = ze({ wrappedRoot: { width: "100%", pos
619
620
  var a = t.state.snacks.find(function(i) {
620
621
  return i.id === n;
621
622
  });
622
- qe(n) && a && a.onClose && a.onClose(null, "instructed", n), t.handleCloseSnack(null, "instructed", n);
623
+ _e(n) && a && a.onClose && a.onClose(null, "instructed", n), t.handleCloseSnack(null, "instructed", n);
623
624
  }, t.handleExitedSnack = function(n, a) {
624
- if (!qe(a)) throw new Error("handleExitedSnack Cannot be called with undefined key");
625
+ if (!_e(a)) throw new Error("handleExitedSnack Cannot be called with undefined key");
625
626
  t.setState(function(i) {
626
627
  var l = t.processQueue(O({}, i, { snacks: i.snacks.filter(function(s) {
627
628
  return s.id !== a;
628
629
  }) }));
629
630
  return l.queue.length === 0 ? l : t.handleDismissOldest(l);
630
631
  });
631
- }, t.enqueueSnackbar, t.closeSnackbar, t.state = { snacks: [], queue: [], contextValue: { enqueueSnackbar: t.enqueueSnackbar.bind(At(t)), closeSnackbar: t.closeSnackbar.bind(At(t)) } }, t;
632
+ }, t.enqueueSnackbar, t.closeSnackbar, t.state = { snacks: [], queue: [], contextValue: { enqueueSnackbar: t.enqueueSnackbar.bind(Rt(t)), closeSnackbar: t.closeSnackbar.bind(Rt(t)) } }, t;
632
633
  }
633
634
  return on(o, e), o.prototype.render = function() {
634
635
  var r = this, t = this.state.contextValue, n = this.props, a = n.domRoot, i = n.children, l = n.dense, s = l !== void 0 && l, c = n.Components, u = c === void 0 ? {} : c, m = n.classes, k = this.state.snacks.reduce(function(b, f) {
@@ -637,10 +638,10 @@ var Ae, lt, Ue, Ke, ct, _o = Me(pn), qo = ze({ wrappedRoot: { width: "100%", pos
637
638
  }, {}), y = Object.keys(k).map(function(b) {
638
639
  var f = k[b], x = f[0];
639
640
  return T.createElement($o, { key: b, dense: s, anchorOrigin: x.anchorOrigin, classes: m }, f.map(function(h) {
640
- return T.createElement(Bo, { key: h.id, snack: h, classes: m, Component: u[h.variant], onClose: r.handleCloseSnack, onEnter: r.props.onEnter, onExit: r.props.onExit, onExited: Pe([r.handleExitedSnack, r.props.onExited], h.id), onEntered: Pe([r.handleEnteredSnack, r.props.onEntered], h.id) });
641
+ return T.createElement(Bo, { key: h.id, snack: h, classes: m, Component: u[h.variant], onClose: r.handleCloseSnack, onEnter: r.props.onEnter, onExit: r.props.onExit, onExited: Ie([r.handleExitedSnack, r.props.onExited], h.id), onEntered: Ie([r.handleEnteredSnack, r.props.onEntered], h.id) });
641
642
  }));
642
643
  });
643
- return T.createElement(rn.Provider, { value: t }, i, a ? fo(y, a) : y);
644
+ return T.createElement(rn.Provider, { value: t }, i, a ? mo(y, a) : y);
644
645
  }, nn(o, [{ key: "maxSnack", get: function() {
645
646
  return this.props.maxSnack || be.maxSnack;
646
647
  } }]), o;
@@ -648,144 +649,144 @@ var Ae, lt, Ue, Ke, ct, _o = Me(pn), qo = ze({ wrappedRoot: { width: "100%", pos
648
649
  return yn(rn);
649
650
  };
650
651
  const pe = { card: "_card_1a398_7", actionRoot: "_actionRoot_1a398_11", icons: "_icons_1a398_16", expand: "_expand_1a398_22", expandOpen: "_expandOpen_1a398_29", stackTraceContainer: "_stackTraceContainer_1a398_33" }, hn = ce((e, o) => {
651
- const { id: r, message: t, iconVariant: n, error: a, hideIconVariant: i, ...l } = e, { closeSnackbar: s } = mn(), c = Vn(), [u, m] = ae(!1), k = ne(() => {
652
+ const { id: r, message: t, iconVariant: n, error: a, hideIconVariant: i, ...l } = e, { closeSnackbar: s } = mn(), c = Bn(), [u, m] = ae(!1), k = ne(() => {
652
653
  m((f) => !f);
653
654
  }, []), y = ne(() => {
654
655
  s(r);
655
656
  }, [r, s]), b = a?.message || String(t);
656
- return g(St, { ref: o, className: mt(pe.root, "error-snackbar"), children: se(vo, { className: pe.card, style: { backgroundColor: c.palette.error.dark, border: `1px solid ${c.palette.error.dark}` }, children: [se(So, { className: pe.actionRoot, children: [i ? null : n?.error, g($n, { variant: "body2", component: "div", className: pe.typography, style: { color: c.palette.text.primary }, children: b }), g("div", { style: { flex: "1 1 auto" } }), se("div", { className: pe.icons, children: [a ? g(ht, { "aria-label": "Show more", size: "small", className: mt(pe.expand, { [pe.expandOpen]: u }), style: { color: c.palette.action.active }, onClick: k, children: g(Un, {}) }) : null, g(ht, { size: "small", className: pe.expand, style: { color: c.palette.action.active }, onClick: y, children: g(Kn, { fontSize: "small" }) })] })] }), a ? g(ft, { in: u, timeout: "auto", unmountOnExit: !0, children: g("div", { className: pe.stackTraceContainer, style: { backgroundColor: c.palette.error.light, borderTop: `1px solid ${c.palette.error.main}` }, children: g(Gn, { error: a, hideLineNumbers: !0 }) }) }) : null] }) });
657
+ return g(St, { ref: o, className: mt(pe.root, "error-snackbar"), children: se(vo, { className: pe.card, style: { backgroundColor: c.palette.error.dark, border: `1px solid ${c.palette.error.dark}` }, children: [se(So, { className: pe.actionRoot, children: [i ? null : n?.error, g(Vn, { variant: "body2", component: "div", className: pe.typography, style: { color: c.palette.text.primary }, children: b }), g("div", { style: { flex: "1 1 auto" } }), se("div", { className: pe.icons, children: [a ? g(ht, { "aria-label": "Show more", size: "small", className: mt(pe.expand, { [pe.expandOpen]: u }), style: { color: c.palette.action.active }, onClick: k, children: g($n, {}) }) : null, g(ht, { size: "small", className: pe.expand, style: { color: c.palette.action.active }, onClick: y, children: g(Un, { fontSize: "small" }) })] })] }), a ? g(ft, { in: u, timeout: "auto", unmountOnExit: !0, children: g("div", { className: pe.stackTraceContainer, style: { backgroundColor: c.palette.error.light, borderTop: `1px solid ${c.palette.error.main}` }, children: g(Kn, { error: a, hideLineNumbers: !0 }) }) }) : null] }) });
657
658
  });
658
659
  hn.displayName = "ToastError";
659
660
  const fn = Me(ce((e, o) => {
660
661
  const { commands: r, commandHook: t, scope: n = "workbook", disabled: a = !1, ...i } = e, l = ie((c) => {
661
- const u = { variant: ao.Menuitem, parentFloat: c.floatReference, commandHook: t, scope: n, disabled: a }, m = se(Kt, { children: [g(ot, { ...u, command: r.getCommand("newWorkbook"), icon: Fe(g(io, {})) }), g(so, { orientation: "horizontal" }), g(ot, { ...u, command: r.getCommand("openWorkbook"), icon: Fe(g(lo, {})) }), g(Wt, { ...u, commands: r, quickCommand: "saveWorkbook", icon: Fe(g(po, {})), createPopupPanel: (k) => {
662
+ const u = { variant: ro.Menuitem, parentFloat: c.floatReference, commandHook: t, scope: n, disabled: a }, m = se(Kt, { children: [g(nt, { ...u, command: r.getCommand("newWorkbook"), icon: Fe(g(ao, {})) }), g(io, { orientation: "horizontal" }), g(nt, { ...u, command: r.getCommand("openWorkbook"), icon: Fe(g(so, {})) }), g(Ot, { ...u, commands: r, quickCommand: "saveWorkbook", icon: Fe(g(uo, {})), createPopupPanel: (k) => {
662
663
  const y = { ...u, parentFloat: k.floatReference, scope: "saveWorkbook" }, b = [];
663
664
  return ye.getWriteFormats().forEach((f) => {
664
665
  if (f.isDefault) return;
665
666
  let x = null;
666
- f.key === "CSV" ? x = Fe(g(co, {})) : f.key === "Excel" && (x = Fe(g(uo, {})));
667
+ f.key === "CSV" ? x = Fe(g(lo, {})) : f.key === "Excel" && (x = Fe(g(co, {})));
667
668
  const h = r.getCommand(`saveWorkbookAs${f.key}`);
668
- h ? b.push(fe(ot, { ...y, key: f.key, command: h, icon: x })) : console.warn(`Unable to resolve command: 'saveWorkbookAs${f.key}'`);
669
- }), Ft({ ...k, children: b, onClick: () => {
669
+ h ? b.push(fe(nt, { ...y, key: f.key, command: h, icon: x })) : console.warn(`Unable to resolve command: 'saveWorkbookAs${f.key}'`);
670
+ }), Wt({ ...k, children: b, onClick: () => {
670
671
  k.closeFloatAll();
671
672
  } });
672
673
  } })] });
673
- return Ft({ ...c, children: m, onClick: (k) => {
674
+ return Wt({ ...c, children: m, onClick: (k) => {
674
675
  k.isDefaultPrevented || c.closeFloatAll();
675
676
  } });
676
677
  }, [a, r, t, n]), s = "File";
677
- return g(Wt, { commands: r, disabled: a, commandHook: t, scope: n, label: s, tooltip: "Options for saving and loading the workbook.", sx: { paddingBottom: "0px", "& button": { paddingTop: "0px", paddingBottom: "0px", height: (c) => `calc(1.25rem + ${c.spacing(2)}px)` } }, ...i, createPopupPanel: l, icon: g(mo, { className: "label", icon: null, label: s }) });
678
+ return g(Ot, { commands: r, disabled: a, commandHook: t, scope: n, label: s, tooltip: "Options for saving and loading the workbook.", sx: { paddingBottom: "0px", "& button": { paddingTop: "0px", paddingBottom: "0px", height: (c) => `calc(1.25rem + ${c.spacing(2)}px)` } }, ...i, createPopupPanel: l, icon: g(po, { className: "label", icon: null, label: s }) });
678
679
  }));
679
680
  fn.displayName = "StandaloneFileCommandButton";
680
- const Ko = g(oo, { label: "SheetXL", description: "Visit me at sheetxl.com.", children: g(xe, { sx: { width: "24px", height: "24px", marginBottom: "4px", marginLeft: "6px" }, children: g(ro, { onClick: () => {
681
+ const Ko = g(no, { label: "SheetXL", description: "Visit me at sheetxl.com.", children: g(xe, { sx: { width: "24px", height: "24px", marginBottom: "4px", marginLeft: "6px" }, children: g(oo, { onClick: () => {
681
682
  window?.open("https://www.sheetxl.com", "_blank");
682
683
  }, style: { width: "24px", height: "24px", cursor: "pointer" } }) }) }), gn = Me(ce((e, o) => {
683
- const { commands: r, workbook: t, logo: n = Ko, mainElement: a, showFileMenu: i = !0, showAppearanceMenu: l = !0, ...s } = e, { reference: c } = zn(), [u, { width: m }] = _n(), k = m < 530, y = i ? g(fn, { commands: r, commandHook: { beforeExecute() {
684
+ const { commands: r, workbook: t, logo: n = Ko, mainElement: a, showFileMenu: i = !0, showAppearanceMenu: l = !0, ...s } = e, { reference: c } = Hn(), [u, { width: m }] = zn(), k = m < 530, y = i ? g(fn, { commands: r, commandHook: { beforeExecute() {
684
685
  c?.closeAll();
685
686
  }, onError(h, d, L) {
686
687
  } } }) : null, b = l ? g(qn, { commands: r, commandHook: { beforeExecute() {
687
688
  c?.closeAll();
688
689
  }, onError(h, d, L) {
689
690
  } } }) : null, f = te(() => ({ paddingLeft: (h) => h.spacing(1), paddingRight: (h) => h.spacing(1) }), []), x = le(null);
690
- return g(xe, { ref: Yt([x, u, o]), ...s, children: Bn({ commands: r, renderCompact: k, workbook: t, selectWrapper: (h) => se(xe, { sx: { display: "flex", flex: "1", flexDirection: "row", alignItems: "stretch", gap: (d) => d.spacing(1), paddingLeft: (d) => d.spacing(1), paddingRight: (d) => d.spacing(1) }, children: [se(xe, { sx: { display: "flex", flexDirection: "row", alignItems: "center", flex: "1 1 100%", gap: (d) => d.spacing(0.5) }, children: [n, se(xe, { sx: { display: "flex", flexDirection: "row", alignItems: "center", gap: (d) => d.spacing(0.25) }, children: [y, h] })] }), g(xe, { sx: { display: "flex", flexDirection: "row", flex: "1 1 300%", overflow: "hidden", alignItems: "center", justifyContent: "center" }, children: a }), g(xe, { sx: { display: "flex", alignItems: "center", justifyContent: "end", flex: k && !b ? "0 0 auto" : "1 1 100%" }, children: b })] }), selectProps: f, toolbarsProps: { Home: { sx: {} } } }) });
691
+ return g(xe, { ref: Jt([x, u, o]), ...s, children: _n({ commands: r, renderCompact: k, workbook: t, selectWrapper: (h) => se(xe, { sx: { display: "flex", flex: "1", flexDirection: "row", alignItems: "stretch", gap: (d) => d.spacing(1), paddingLeft: (d) => d.spacing(1), paddingRight: (d) => d.spacing(1) }, children: [se(xe, { sx: { display: "flex", flexDirection: "row", alignItems: "center", flex: "1 1 100%", gap: (d) => d.spacing(0.5) }, children: [n, se(xe, { sx: { display: "flex", flexDirection: "row", alignItems: "center", gap: (d) => d.spacing(0.25) }, children: [y, h] })] }), g(xe, { sx: { display: "flex", flexDirection: "row", flex: "1 1 300%", overflow: "hidden", alignItems: "center", justifyContent: "center" }, children: a }), g(xe, { sx: { display: "flex", alignItems: "center", justifyContent: "end", flex: k && !b ? "0 0 auto" : "1 1 100%" }, children: b })] }), selectProps: f, toolbarsProps: { Home: { sx: {} } } }) });
691
692
  }));
692
693
  gn.displayName = "StandaloneWorkbookToolbar";
693
694
  const kn = Me(ce((e, o) => {
694
695
  const { workbook: r, setWorkbook: t, refWorkbookTitle: n, titleWorkbook: a, setWorkbookTitle: i, titlePlaceHolder: l, children: s, undoManager: c, commands: u, importExportDisabled: m, themeModeOptions: k } = e, y = mn(), b = y ? y.enqueueSnackbar : () => {
695
696
  }, f = y ? y.closeSnackbar : () => {
696
697
  }, [x, h] = ae({ isMounted: !1, label: null, starting: /* @__PURE__ */ new Map(), running: /* @__PURE__ */ new Map() }), d = ne(() => {
697
- h((R) => ({ ...R, isMounted: !0 }));
698
+ h((A) => ({ ...A, isMounted: !0 }));
698
699
  }, []), L = ne(() => {
699
- h((R) => ({ ...R, isMounted: !1 }));
700
- }, []), w = Zn(), A = Qn(), M = Xn(), H = le(/* @__PURE__ */ new Set()), q = te(() => {
701
- const R = (E, S) => {
700
+ h((A) => ({ ...A, isMounted: !1 }));
701
+ }, []), w = Gn(), R = Zn(), M = Xn(), j = le(/* @__PURE__ */ new Set()), _ = te(() => {
702
+ const A = (E, S) => {
702
703
  if (S?.onceKey) {
703
- if (H.current.has(S.onceKey)) return;
704
- const D = new Set(H.current);
705
- D.add(S.onceKey), H.current = D;
704
+ if (j.current.has(S.onceKey)) return;
705
+ const D = new Set(j.current);
706
+ D.add(S.onceKey), j.current = D;
706
707
  }
707
- const P = { variant: S?.type ?? _e.Info, anchorOrigin: { vertical: "top", horizontal: "center" }, preventDuplicate: S?.preventDuplicate, persist: S?.persist ?? S?.type === _e.Error, action: (D) => g(ht, { onClick: () => f(D), children: g(Oo, {}) }) };
708
- S?.enqueueProps && Object.assign(P, S.enqueueProps), E || console.log("message is 'null'", S), b(E ?? "Alert", P);
708
+ const I = { variant: S?.type ?? qe.Info, anchorOrigin: { vertical: "top", horizontal: "center" }, preventDuplicate: S?.preventDuplicate, persist: S?.persist ?? S?.type === qe.Error, action: (D) => g(ht, { onClick: () => f(D), children: g(Oo, {}) }) };
709
+ S?.enqueueProps && Object.assign(I, S.enqueueProps), E || console.log("message is 'null'", S), b(E ?? "Alert", I);
709
710
  };
710
- return { showMessage: R, showBusy: (E, S) => {
711
- let P = null;
711
+ return { showMessage: A, showBusy: (E, S) => {
712
+ let I = null;
712
713
  const D = new Promise((B) => {
713
- P = B;
714
+ I = B;
714
715
  });
715
716
  return h((B) => {
716
- const _ = new Map(B.starting);
717
- return _.set(D, P), { ...B, label: E, starting: _ };
717
+ const q = new Map(B.starting);
718
+ return q.set(D, I), { ...B, label: E, starting: q };
718
719
  }), D;
719
- }, showWindow: (E, S, P) => {
720
+ }, showWindow: (E, S, I) => {
720
721
  const D = { ...S, onKeyDown: (B) => {
721
722
  u?.dispatchToFocusedCommand(B), B.isDefaultPrevented() || B.isPropagationStopped() || S?.onKeyDown?.(B);
722
723
  } };
723
- return w(E, { sort: () => import("./Dq1oxXMudxqdJaKZ.mjs"), numberFormat: () => import("./Dz8v5MSOgkaH_zTd.mjs"), hyperlink: () => import("./im3UoVISx3VXhEFp.mjs"), comments: () => import("./BoL2rsWK1YyT1PP7.mjs"), find: () => import("./BNq1DlA_v8-hm8PQ.mjs"), tableDetails: () => import("./Ddm9jggzrr5VJQ68.mjs"), tableNew: () => import("./CKHDKAaHkwZHUkoS.mjs"), namedDetails: () => import("./CZRLp5H9dSrMEgaI.mjs") }[E], D, P);
724
- }, showOptions: A, showInputOptions: M, showError: (E) => {
725
- let S, P = _e.Error, D = "Unknown Error";
726
- typeof E == "string" ? D = E : E instanceof Error && (S = E, E.message && (D = E.message)), E instanceof ho && (P = _e.Info), R(D, { type: P, enqueueProps: { error: S } });
724
+ return w(E, { sort: () => import("./CntwHkPpskE88Ixu.mjs"), numberFormat: () => import("./CLTP12OHGQ2k4_Kt.mjs"), hyperlink: () => import("./BsDYj6xix3mlXry2.mjs"), comments: () => import("./ChMaIhqaEhF3SLLt.mjs"), find: () => import("./DFa_tXqv1VN1OZdv.mjs"), tableDetails: () => import("./BTQ-TGJnw7w1Y0CX.mjs"), tableNew: () => import("./wziCLl5xvHu6Guu_.mjs"), namedDetails: () => import("./BLsIMzjofsOnRFrU.mjs") }[E], D, I);
725
+ }, showOptions: R, showInputOptions: M, showError: (E) => {
726
+ let S, I = qe.Error, D = "Unknown Error";
727
+ typeof E == "string" ? D = E : E instanceof Error && (S = E, E.message && (D = E.message)), E instanceof fo && (I = qe.Info), A(D, { type: I, enqueueProps: { error: S } });
727
728
  } };
728
729
  }, []), N = ne(() => {
729
- }, []), z = ((R) => {
730
- const { workbook: E, setWorkbook: S, importExportDisabled: P, workbookTitle: D = "export", setWorkbookTitle: B, notifier: _, requestWorkbookTitle: J, themeModeOptions: j, undoManager: C, commands: W, onExecute: V } = R, re = ie(j?.onForceModeChange, [j?.onForceModeChange]), me = ie(j?.onForceLightGridChange, [j?.onForceLightGridChange]), ue = ie(j?.onForceLightImagesChange, [j?.onForceLightImagesChange]), Ye = ie(async (F = null, Q = null) => {
730
+ }, []), z = ((A) => {
731
+ const { workbook: E, setWorkbook: S, importExportDisabled: I, workbookTitle: D = "export", setWorkbookTitle: B, notifier: q, requestWorkbookTitle: Y, themeModeOptions: H, undoManager: C, commands: W, onExecute: V } = A, re = ie(H?.onForceModeChange, [H?.onForceModeChange]), me = ie(H?.onForceLightGridChange, [H?.onForceLightGridChange]), ue = ie(H?.onForceLightImagesChange, [H?.onForceLightImagesChange]), Je = ie(async (F = null, X = null) => {
731
732
  const p = [];
732
- let v, $ = null, Y = null;
733
- if (typeof F == "string" ? Y = F : $ = F, v = $ ? F : await Jn.openFileDialog(Y ?? ye.getAllReadFormatTypeAsString().join(",")), !v) return null;
734
- const he = { source: v, constructorOptions: Q, onWarning: (tt) => {
733
+ let v, $ = null, J = null;
734
+ if (typeof F == "string" ? J = F : $ = F, v = $ ? F : await Qn.openFileDialog(J ?? ye.getAllReadFormatTypeAsString().join(",")), !v) return null;
735
+ const he = { source: v, constructorOptions: X, onWarning: (tt) => {
735
736
  p.push(tt);
736
- } }, Oe = await ye.read(he, _);
737
- return p.length > 0 && (_?.showMessage?.("Some elements were not able to be imported. See console for details."), console.warn(`Import warnings:
737
+ } }, Oe = await ye.read(he, q);
738
+ return p.length > 0 && (q?.showMessage?.("Some elements were not able to be imported. See console for details."), console.warn(`Import warnings:
738
739
  ` + p.join(`
739
740
  `))), Oe;
740
- }, [V, _, E]), De = ie(async (F, Q, p) => {
741
- if (!Q && J) {
742
- const v = await J("Enter Workbook name to " + (p.isDefault ? "Save." : `Export as ${p.description}.`));
741
+ }, [V, q, E]), De = ie(async (F, X, p) => {
742
+ if (!X && Y) {
743
+ const v = await Y("Enter Workbook name to " + (p.isDefault ? "Save." : `Export as ${p.description}.`));
743
744
  return v !== null && ye.writeFile(v, F, { formatType: p.key });
744
745
  }
745
- return ye.writeFile(Q, F, { formatType: p.key });
746
- }, [_, E, J]), U = ne(() => ({ contains: (F) => !0, focus() {
746
+ return ye.writeFile(X, F, { formatType: p.key });
747
+ }, [q, E, Y]), U = ne(() => ({ contains: (F) => !0, focus() {
747
748
  } }), []), ke = te(() => {
748
749
  const F = [];
749
- P || (ye.getWriteFormats().forEach((p) => {
750
+ I || (ye.getWriteFormats().forEach((p) => {
750
751
  const v = p.isDefault, $ = { label: v ? "Save Workbook" : `Save Workbook as ${p.description}`, scopedLabels: { workbook: "Save", saveWorkbook: `as ${p.description}` }, tags: p.tags, description: `Save the workbook to the desktop${v ? "" : ` as ${p.description}`}.` };
751
752
  v && ($.shortcut = { key: "S", modifiers: [We.Ctrl] }, F.push(new ee("saveWorkbookAs", U, { label: "Save Workbook As…", scopedLabels: { workbook: "Save as…", saveWorkbook: "as…" }, shortcut: [{ key: "S", modifiers: [We.Shift, We.Ctrl] }, { key: "F12" }], description: "Save the workbook to the desktop with the provided name." }, () => {
752
753
  De(E, null, p).catch((he) => {
753
- _?.showError?.(he);
754
+ q?.showError?.(he);
754
755
  });
755
756
  })));
756
- const Y = v ? "saveWorkbook" : `saveWorkbookAs${p.key}`;
757
- F.push(new ee(Y, U, $, (he) => {
757
+ const J = v ? "saveWorkbook" : `saveWorkbookAs${p.key}`;
758
+ F.push(new ee(J, U, $, (he) => {
758
759
  De(E, he ?? D, p).catch((Oe) => {
759
- _?.showError?.(Oe);
760
+ q?.showError?.(Oe);
760
761
  });
761
762
  }));
762
763
  }), F.push(new ee("openWorkbook", U, { label: "Open Workbook…", scopedLabels: { workbook: "Open…" }, description: "Open a workbook from the desktop.", shortcut: { key: "O", modifiers: [We.Ctrl] } }, async (p = null) => {
763
764
  const v = { date1904: E.isDate1904(), ...E.options };
764
765
  try {
765
- const $ = await Ye(p, v);
766
+ const $ = await Je(p, v);
766
767
  if (!$) return;
767
- const Y = $.title, he = $.workbook, Oe = he.getSelectedSheet();
768
+ const J = $.title, he = $.workbook, Oe = he.getSelectedSheet();
768
769
  if ($.formatType.mimeType === "text/csv") {
769
- const tt = E.findValidSheetName(Y);
770
+ const tt = E.findValidSheetName(J);
770
771
  await E.doBatch(async () => {
771
772
  const Lt = Oe.getUsedRange();
772
- Lt ? await E.getSheets().add({ name: tt, autoSelect: !0 }).getRange({ colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }).copyFrom(Lt) : _?.showMessage("The file appears to be blank.");
773
- }, `Import CSV '${Y}'`);
774
- } else E?.close(), B?.(Y), S(he);
773
+ Lt ? await E.getSheets().add({ name: tt, autoSelect: !0 }).getRange({ colStart: 0, rowStart: 0, colEnd: 0, rowEnd: 0 }).copyFrom(Lt) : q?.showMessage("The file appears to be blank.");
774
+ }, `Import CSV '${J}'`);
775
+ } else E?.close(), B?.(J), S(he);
775
776
  } catch ($) {
776
- _?.showError?.($);
777
+ q?.showError?.($);
777
778
  }
778
779
  })), F.push(new ee("openWorkbookFromUrl", U, { label: "Open Workbook From Web", scopedLabels: { insert: "From Web", workbook: "From Web…" }, description: "Open a workbook from the web." }, async function(p) {
779
780
  if (!p) {
780
- const v = await _?.showInputOptions?.({ title: "Open Workbook from the Web", description: "Enter the web address for the workbook to open.", inputLabel: "Address", initialValue: "https://www.sheetxl.com/examples/features-checklist.xlsx", inputProps: { style: { minWidth: "440px" } }, options: ["Open"] });
781
+ const v = await q?.showInputOptions?.({ title: "Open Workbook from the Web", description: "Enter the web address for the workbook to open.", inputLabel: "Address", initialValue: "https://www.sheetxl.com/examples/features-checklist.xlsx", inputProps: { style: { minWidth: "440px" } }, options: ["Open"] });
781
782
  if (v.option !== "Open") return;
782
783
  p = v.input;
783
784
  }
784
785
  p && console.log("openWorkbookFromUrl", p);
785
786
  })));
786
- let Q = [];
787
- return j && (Q = [new ee("themeMode", U, { label: "Light/Dark Mode", scopedLabels: { appearance: "Light/Dark Mode" }, description: "Toggle the application styling between light and dark mode." }), new ee("defaultThemeMode", U, { label: "Use System Light/Dark Mode", scopedLabels: { appearance: "Use System Default" }, description: "Use the system settings to determine styling for light and dark mode." }), new ee("forceLightGrid", U, { label: "Force Light Grid", description: "Force the grid to always render in light mode if dark mode is being used. This is ensures that the grid will render the colors as specified in another tools (for example Excel)." }), new ee("forceLightImages", U, { label: "Force Light Images", description: "Force the images to always render in light mode if dark mode is being used. This is ensures that the images will render the colors as specified in another tools (for example Excel). This only has any effect if the grid is in dark mode." })]), [...F, ...Q, new Ot("help", U, { label: "Show Help", description: "Provide Help.", shortcut: { key: "F1" } }, () => {
788
- }), new Ot("showKeyboardShortcuts", U, { label: "Keyboard Shortcuts", description: "Show keyboard shortcuts.", shortcut: { key: "/", modifiers: [We.Ctrl] } }, () => {
787
+ let X = [];
788
+ return H && (X = [new ee("themeMode", U, { label: "Light/Dark Mode", scopedLabels: { appearance: "Light/Dark Mode" }, description: "Toggle the application styling between light and dark mode." }), new ee("defaultThemeMode", U, { label: "Use System Light/Dark Mode", scopedLabels: { appearance: "Use System Default" }, description: "Use the system settings to determine styling for light and dark mode." }), new ee("forceLightGrid", U, { label: "Force Light Grid", description: "Force the grid to always render in light mode if dark mode is being used. This is ensures that the grid will render the colors as specified in another tools (for example Excel)." }), new ee("forceLightImages", U, { label: "Force Light Images", description: "Force the images to always render in light mode if dark mode is being used. This is ensures that the images will render the colors as specified in another tools (for example Excel). This only has any effect if the grid is in dark mode." })]), [...F, ...X, new Tt("help", U, { label: "Show Help", description: "Provide Help.", shortcut: { key: "F1" } }, () => {
789
+ }), new Tt("showKeyboardShortcuts", U, { label: "Keyboard Shortcuts", description: "Show keyboard shortcuts.", shortcut: { key: "/", modifiers: [We.Ctrl] } }, () => {
789
790
  }), new ee("gotoUrlGithub", U, { label: "Github", description: "Download examples, explore source code, and leave a star." }, () => {
790
791
  window?.open("https://github.com/sheetxl/sheetxl");
791
792
  }), new ee("gotoUrlDiscord", U, { label: "Discord", description: "Join our community on discord." }, () => {
@@ -795,145 +796,145 @@ const kn = Me(ce((e, o) => {
795
796
  }), new ee("gotoUrlIssue", U, { label: "Create Issue", description: "Create an issue to identify a bug or a feature request." }, () => {
796
797
  window?.open("https://github.com/sheetxl/sheetxl/issues");
797
798
  })];
798
- }, [E, D, _, P, j, W, C]), Z = te(() => {
799
+ }, [E, D, q, I, H, W, C]), Z = te(() => {
799
800
  let F = null;
800
- return F = W ? W.createChildGroup(U, "standaloneWorkbook", !1) : new Xt(U, "standaloneWorkbook"), F.addCommands(ke, !0), F;
801
+ return F = W ? W.createChildGroup(U, "standaloneWorkbook", !1) : new Qt(U, "standaloneWorkbook"), F.addCommands(ke, !0), F;
801
802
  }, [W, ke]);
802
- Yn({ manager: C, commands: Z, notifier: _ });
803
- const { themeMode: Te } = Qt();
803
+ Yn({ manager: C, commands: Z, notifier: q });
804
+ const { themeMode: Te } = Xt();
804
805
  G(() => {
805
- if (!j || !Z) return;
806
- const F = j.forceMode === "dark" || !j.forceMode && Te === "dark";
807
- Z.getCommand("themeMode").update({ state: j.forceMode ?? null, label: F ? "Dark Mode" : "Light Mode", scopedLabels: { appearance: F ? "Dark Mode" : "Light Mode" } }).updateCallback(() => {
806
+ if (!H || !Z) return;
807
+ const F = H.forceMode === "dark" || !H.forceMode && Te === "dark";
808
+ Z.getCommand("themeMode").update({ state: H.forceMode ?? null, label: F ? "Dark Mode" : "Light Mode", scopedLabels: { appearance: F ? "Dark Mode" : "Light Mode" } }).updateCallback(() => {
808
809
  re(F ? pt.Light : pt.Dark);
809
- }), Z.getCommand("defaultThemeMode").update({ state: !j.forceMode }).updateCallback(() => {
810
+ }), Z.getCommand("defaultThemeMode").update({ state: !H.forceMode }).updateCallback(() => {
810
811
  re(null);
811
- }), Z.getCommand("forceLightGrid").update({ state: j.forceLightGrid }).updateCallback(() => {
812
- me(!j.forceLightGrid);
813
- }), Z.getCommand("forceLightImages").update({ state: j.forceLightImages }).updateCallback(() => {
814
- ue(!j.forceLightImages);
812
+ }), Z.getCommand("forceLightGrid").update({ state: H.forceLightGrid }).updateCallback(() => {
813
+ me(!H.forceLightGrid);
814
+ }), Z.getCommand("forceLightImages").update({ state: H.forceLightImages }).updateCallback(() => {
815
+ ue(!H.forceLightImages);
815
816
  });
816
- }, [Te, j, ke]);
817
- const { showModal: et } = eo();
817
+ }, [Te, H, ke]);
818
+ const { showModal: et } = Jn();
818
819
  return G(() => {
819
- const F = () => new Promise((Q, p) => {
820
- const v = T.lazy(() => import("./Br4TnuxGRULZDhCA.mjs")), $ = et(v, { title: "Shortcut Keys Reference", commands: Z, onDone: () => {
820
+ const F = () => new Promise((X, p) => {
821
+ const v = T.lazy(() => import("./BdLAPrmXIfjGFhhA.mjs")), $ = et(v, { title: "Shortcut Keys Reference", commands: Z, onDone: () => {
821
822
  $.hide();
822
823
  }, TransitionProps: { onExited: () => {
823
- Q(!0);
824
+ X(!0);
824
825
  } } });
825
826
  });
826
827
  Z.getCommand("showKeyboardShortcuts").updateCallback(() => F()), Z.getCommand("help").updateCallback(() => F());
827
828
  }, [ke, Z]), Z;
828
- })({ workbook: r, setWorkbook: t, importExportDisabled: m, workbookTitle: a, setWorkbookTitle: i, commands: u, requestWorkbookTitle: (R) => new Promise((E) => {
829
- n.current ? n.current.requestWorkbookTitle((S, P) => {
829
+ })({ workbook: r, setWorkbook: t, importExportDisabled: m, workbookTitle: a, setWorkbookTitle: i, commands: u, requestWorkbookTitle: (A) => new Promise((E) => {
830
+ n.current ? n.current.requestWorkbookTitle((S, I) => {
830
831
  E(S);
831
- }, { selectAll: !0, requestReason: R }) : E(l);
832
- }), themeModeOptions: k, undoManager: c, notifier: q, onExecute: N });
832
+ }, { selectAll: !0, requestReason: A }) : E(l);
833
+ }), themeModeOptions: k, undoManager: c, notifier: _, onExecute: N });
833
834
  G(() => {
834
- x.starting.size <= 0 || !x.isMounted || h((R) => {
835
- const E = new Map(R.running);
836
- return R.starting.forEach((S, P) => {
835
+ x.starting.size <= 0 || !x.isMounted || h((A) => {
836
+ const E = new Map(A.running);
837
+ return A.starting.forEach((S, I) => {
837
838
  const D = () => {
838
839
  h((B) => {
839
- const _ = new Map(B.running);
840
- return _.delete(P), { ...B, running: _ };
840
+ const q = new Map(B.running);
841
+ return q.delete(I), { ...B, running: q };
841
842
  });
842
843
  };
843
- E.set(P, D), S(D);
844
- }), { ...R, starting: /* @__PURE__ */ new Map(), running: E };
844
+ E.set(I, D), S(D);
845
+ }), { ...A, starting: /* @__PURE__ */ new Map(), running: E };
845
846
  });
846
847
  }, [x]);
847
- const [K, X] = ae(null);
848
+ const [K, Q] = ae(null);
848
849
  G(() => {
849
- x.starting.size !== 0 || x.running.size !== 0 ? X(g(Jt, { icon: g(to, { sx: { transform: "scale(0.7)", marginLeft: "-6px" } }), panel: !0, label: x.label, onMount: d, onUnmount: L, sx: { position: "absolute", left: "0", top: "0", width: "100%", height: "100%", zIndex: "9999" } })) : X(null);
850
+ x.starting.size !== 0 || x.running.size !== 0 ? Q(g(Yt, { icon: g(eo, { sx: { transform: "scale(0.7)", marginLeft: "-6px" } }), panel: !0, label: x.label, onMount: d, onUnmount: L, sx: { position: "absolute", left: "0", top: "0", width: "100%", height: "100%", zIndex: "9999" } })) : Q(null);
850
851
  }, [x.starting, x.running]);
851
- const I = te(() => g(no, { commands: z, disableHover: !0, sx: { padding: "0" }, buttonProps: { sx: { maxHeight: "22px" } } }), [z]), oe = { notifier: q, commands: z };
852
- return r && (oe.statusBarProps = { childrenEnd: I }), se(Kt, { children: [K, s ? T.cloneElement(s, oe) : null] });
852
+ const P = te(() => g(to, { commands: z, disableHover: !0, sx: { padding: "0" }, buttonProps: { sx: { maxHeight: "22px" } } }), [z]), oe = { notifier: _, commands: z };
853
+ return r && (oe.statusBarProps = { childrenEnd: P }), se(Kt, { children: [K, s ? T.cloneElement(s, oe) : null] });
853
854
  }));
854
855
  kn.displayName = "SnackbarAndCommandsWrapper";
855
856
  const bn = Me(ce((e, o) => {
856
- const { className: r, sx: t, style: n, onElementLoad: a, onError: i, undoManager: l, errorPanel: s = Wn, onKeyDown: c, workbook: u, createWorkbookOptions: m, onWorkbookChange: k, logo: y, importExportDisabled: b = !1, themeModeOptions: f, autoFocus: x = !1, commands: h, title: d, onTitleChange: L, titleProps: w, ...A } = e, M = le(null), H = ie(k, [k]), q = ie(L ?? w?.onTitleChange, [L ?? w?.onTitleChange]), N = w?.placeHolder ?? "Untitled", z = f?.forceMode, { themeMode: K, source: X } = Qt({ mode: z }), I = te(() => ({ ...f, light: Dt(!1, nt.deepMerge(f?.theme ?? {}, f?.light ?? {})), dark: Dt(!0, nt.deepMerge(f?.theme ?? {}, f?.dark ?? {})) }), [f]), oe = K === pt.Dark, [R, E] = ae(null);
857
+ const { className: r, sx: t, style: n, onElementLoad: a, onError: i, undoManager: l, errorPanel: s = Wn, onKeyDown: c, workbook: u, createWorkbookOptions: m, onWorkbookChange: k, logo: y, importExportDisabled: b = !1, themeModeOptions: f, autoFocus: x = !1, commands: h, title: d, onTitleChange: L, titleProps: w, ...R } = e, M = le(null), j = ie(k, [k]), _ = ie(L ?? w?.onTitleChange, [L ?? w?.onTitleChange]), N = w?.placeHolder ?? "Untitled", z = f?.forceMode, { themeMode: K, source: Q } = Xt({ mode: z }), P = te(() => ({ ...f, light: Dt(!1, ot.deepMerge(f?.theme ?? {}, f?.light ?? {})), dark: Dt(!0, ot.deepMerge(f?.theme ?? {}, f?.dark ?? {})) }), [f]), oe = K === pt.Dark, [A, E] = ae(null);
857
858
  G(() => {
858
- E(l ?? new Fn());
859
+ E(l ?? new ho());
859
860
  }, [l]);
860
- const [S, P] = ae(null), [D, B] = ae(null), _ = Nn();
861
+ const [S, I] = ae(null), [D, B] = ae(null), q = Fn();
861
862
  dt(() => {
862
- if (!u || Object.keys(u).length === 0 && !nt.isPromiseLike(u)) {
863
- const p = { theme: _.getDefaultTheme(), ...m };
864
- B(new Tt(p));
863
+ if (!u || Object.keys(u).length === 0 && !ot.isPromiseLike(u)) {
864
+ const p = { theme: q.getDefaultTheme(), ...m };
865
+ B(new Ft(p));
865
866
  } else B(u);
866
867
  }, [u]), dt(() => {
867
868
  if (D) {
868
- if (D instanceof Tt) return P({ workbook: D }), void (u !== D && H?.(D));
869
+ if (D instanceof Ft) return I({ workbook: D }), void (u !== D && j?.(D));
869
870
  (async () => {
870
871
  try {
871
872
  let p, v = await Promise.resolve(D);
872
- v && v.source && (v = await ye.read(v)), v.workbook ? (V(v.title), p = v.workbook) : p = v, H?.(p), P({ workbook: p });
873
+ v && v.source && (v = await ye.read(v)), v.workbook ? (V(v.title), p = v.workbook) : p = v, j?.(p), I({ workbook: p });
873
874
  } catch (p) {
874
- H?.(null), P({ error: p });
875
+ j?.(null), I({ error: p });
875
876
  }
876
877
  })();
877
878
  }
878
879
  }, [D]);
879
- const [J, j] = ae(null);
880
+ const [Y, H] = ae(null);
880
881
  G(() => {
881
- if (!R || !S) return;
882
- R.clear();
882
+ if (!A || !S) return;
883
+ A.clear();
883
884
  const p = S?.workbook?.getTransactions();
884
885
  return p ? p.addListener({ onCommitEnd: (v) => {
885
- v.getDescription() ? R.addUndoOperation({ description: v.getDescription(), undo: () => (p.revert(v.getId()), J.source?.focus(), () => {
886
- p.restore(v.getId()), J.source?.focus();
886
+ v.getDescription() ? A.addUndoOperation({ description: v.getDescription(), undo: () => (p.revert(v.getId()), Y.source?.focus(), () => {
887
+ p.restore(v.getId()), Y.source?.focus();
887
888
  }) }) : console.warn("commit has no description", v);
888
889
  } }) : void 0;
889
- }, [R, S, J]);
890
+ }, [A, S, Y]);
890
891
  const C = ie((p) => {
891
- p ? R.setRepeatableOperation({ description: p.label(), repeat: async () => p.execute() }) : R.setRepeatableOperation(null);
892
- }, [R]), [W, V] = ae(d ?? w?.title ?? "");
892
+ p ? A.setRepeatableOperation({ description: p.label(), repeat: async () => p.execute() }) : A.setRepeatableOperation(null);
893
+ }, [A]), [W, V] = ae(d ?? w?.title ?? "");
893
894
  G(() => {
894
895
  V(d ?? w?.title ?? "");
895
896
  }, [d ?? w?.title]), G(() => {
896
- q?.(W);
897
+ _?.(W);
897
898
  }, [W]);
898
899
  const [re, me] = ae(null), ue = te(() => {
899
900
  const p = () => ({ contains: (v) => !0, focus() {
900
901
  } });
901
- return h ? h.createChildGroup(p, "application", !1) : new Xt(p, "application");
902
- }, [h]), Ye = ie((p) => {
903
- me(p.source.getViewportElement()), j(p), ue.activate("sheet"), a?.(p);
902
+ return h ? h.createChildGroup(p, "application", !1) : new Qt(p, "application");
903
+ }, [h]), Je = ie((p) => {
904
+ me(p.source.getViewportElement()), H(p), ue.activate("sheet"), a?.(p);
904
905
  }, [ue]);
905
906
  G(() => {
906
- J && x && J.source?.focus(typeof x == "object" ? x : void 0);
907
- }, [J]);
907
+ Y && x && Y.source?.focus(typeof x == "object" ? x : void 0);
908
+ }, [Y]);
908
909
  const De = le(null), U = ne((p) => {
909
910
  let v = null;
910
- return w?.hidden || (v = g(Rn, { ...w, style: { maxWidth: "100%", ...w?.style }, workbook: M.current, ref: De, title: W, placeHolder: N, onTitleChange: ($) => {
911
+ return w?.hidden || (v = g(Nn, { ...w, style: { maxWidth: "100%", ...w?.style }, workbook: M.current, ref: De, title: W, placeHolder: N, onTitleChange: ($) => {
911
912
  V($);
912
- } })), g(gn, { ...p, logo: y, mainElement: v, showFileMenu: !b, showAppearanceMenu: !!(I?.onForceLightGridChange || I?.onForceLightImagesChange || I?.onForceModeChange) });
913
- }, [y, W, w, I, b, ue]);
913
+ } })), g(gn, { ...p, logo: y, mainElement: v, showFileMenu: !b, showAppearanceMenu: !!(P?.onForceLightGridChange || P?.onForceLightImagesChange || P?.onForceModeChange) });
914
+ }, [y, W, w, P, b, ue]);
914
915
  G(() => {
915
916
  const p = (v) => v.preventDefault();
916
917
  return M.current?.addEventListener("wheel", p, { passive: !1 }), () => {
917
918
  M.current?.removeEventListener("wheel", p);
918
919
  };
919
920
  }, []);
920
- const ke = te(() => g(Jt, { transparentBackground: !0, sx: t, style: n }), [t, n]), Z = ne(({ error: p }) => (i?.(p), g(s, { sx: t, style: n, error: p ?? "Unable to display empty workbook." })), [t, n, i]), Te = te(() => ({ ...t, "& .SnackbarContainer-root": { position: "absolute !important" }, "& .notistack-Snackbar": { minWidth: "unset" }, "& .notistack-MuiContent *": { fontFamily: (p) => p.typography.fontFamily }, "& #notistack-snackbar": { maxWidth: "560px", whiteSpace: "pre-wrap" }, "*": { userSelect: "none" } }), [t]), et = Yt([M, o]), F = te(() => {
921
+ const ke = te(() => g(Yt, { transparentBackground: !0, sx: t, style: n }), [t, n]), Z = ne(({ error: p }) => (i?.(p), g(s, { sx: t, style: n, error: p ?? "Unable to display empty workbook." })), [t, n, i]), Te = te(() => ({ ...t, "& .SnackbarContainer-root": { position: "absolute !important" }, "& .notistack-Snackbar": { minWidth: "unset" }, "& .notistack-MuiContent *": { fontFamily: (p) => p.typography.fontFamily }, "& #notistack-snackbar": { maxWidth: "560px", whiteSpace: "pre-wrap" }, "*": { userSelect: "none" } }), [t]), et = Jt([M, o]), F = te(() => {
921
922
  if (!S) return ke;
922
923
  if (S.error || !S.workbook) return Z({ error: S.error });
923
924
  let p = null, v = null, $ = !1;
924
- return I && (p = oe ? I.dark : I.light, v = oe && !I.forceLightGrid ? I.dark : I.light, $ = I.forceLightImages), g(An, { sx: Te, style: n, tabIndex: 0, autoFocus: !0, workbook: S.workbook, ref: et, renderToolbar: U, onElementLoad: Ye, onRepeatCommandChange: C, onKeyDown: (Y) => {
925
- c?.(Y);
926
- }, gridTheme: v, headersTheme: p, forceLightImages: $, className: mt(r, "sheetxl-workbook"), onContextMenu: (Y) => Y.preventDefault(), ...A }, "WorkbookElement");
927
- }, [S, W, R, ke, I, A, U, Te]);
928
- let Q = g(Fo, { fallbackRender: Z, children: g(Uo, { maxSnack: 3, domRoot: re, anchorOrigin: { vertical: "bottom", horizontal: "right" }, autoHideDuration: 3500, onClose: (p, v, $) => {
925
+ return P && (p = oe ? P.dark : P.light, v = oe && !P.forceLightGrid ? P.dark : P.light, $ = P.forceLightImages), g(An, { sx: Te, style: n, tabIndex: 0, autoFocus: !0, workbook: S.workbook, ref: et, renderToolbar: U, onElementLoad: Je, onRepeatCommandChange: C, onKeyDown: (J) => {
926
+ c?.(J);
927
+ }, gridTheme: v, headersTheme: p, forceLightImages: $, className: mt(r, "sheetxl-workbook"), onContextMenu: (J) => J.preventDefault(), ...R }, "WorkbookElement");
928
+ }, [S, W, A, ke, P, R, U, Te]);
929
+ let X = g(Fo, { fallbackRender: Z, children: g(Uo, { maxSnack: 3, domRoot: re, anchorOrigin: { vertical: "bottom", horizontal: "right" }, autoHideDuration: 3500, onClose: (p, v, $) => {
929
930
  M.current?.focus();
930
- }, Components: { error: hn }, iconVariant: { success: g(Hn, { style: { marginRight: "8px" }, children: g("path", { d: "M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z" }) }), error: g(Pn, { style: { marginRight: "8px" } }) }, children: g(In, { children: g(kn, { workbook: S?.workbook, setWorkbook: B, importExportDisabled: b, titlePlaceHolder: N, titleWorkbook: W, setWorkbookTitle: V, refWorkbookTitle: De, commands: ue, undoManager: R, themeModeOptions: I, children: F }) }) }) });
931
- return I && (Q = se(jn, { theme: oe ? I.dark : I.light, children: [I.cssBaseline ? g(To, {}) : null, Q] })), Q;
931
+ }, Components: { error: hn }, iconVariant: { success: g(In, { style: { marginRight: "8px" }, children: g("path", { d: "M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z" }) }), error: g(Pn, { style: { marginRight: "8px" } }) }, children: g(Rn, { children: g(kn, { workbook: S?.workbook, setWorkbook: B, importExportDisabled: b, titlePlaceHolder: N, titleWorkbook: W, setWorkbookTitle: V, refWorkbookTitle: De, commands: ue, undoManager: A, themeModeOptions: P, children: F }) }) }) });
932
+ return P && (X = se(jn, { theme: oe ? P.dark : P.light, children: [P.cssBaseline ? g(To, {}) : null, X] })), X;
932
933
  }));
933
934
  bn.displayName = "EagerStandaloneWorkbook";
934
- const Go = Object.freeze(Object.defineProperty({ __proto__: null, default: bn }, Symbol.toStringTag, { value: "Module" })), Yo = Object.freeze(Object.defineProperty({ __proto__: null, E: Go, c: ge }, Symbol.toStringTag, { value: "Module" }));
935
+ const Go = Object.freeze(Object.defineProperty({ __proto__: null, default: bn }, Symbol.toStringTag, { value: "Module" })), er = Object.freeze(Object.defineProperty({ __proto__: null, E: Go, c: ge }, Symbol.toStringTag, { value: "Module" }));
935
936
  export {
936
937
  ft as C,
937
- Yo as D,
938
+ er as D,
938
939
  ge as f
939
940
  };