@sheetxl/studio-vanilla 0.8.0-beta.2 → 0.8.0-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (359) hide show
  1. package/browser/cjs/{DIdPQwECld6gubdK2.cjs → 6V1LlorEUj_nSWnU.cjs} +1 -1
  2. package/browser/cjs/9Fb0mL7xhqVmVTQp.cjs +3 -0
  3. package/browser/cjs/{CKEselBM-qmMpQBW2.cjs → BFR2qcJJZqIGySId2.cjs} +2 -2
  4. package/browser/cjs/BItTNeA_ukOziuTp.cjs +41 -0
  5. package/browser/cjs/Be5j4deP5deGlAPe2.cjs +1 -0
  6. package/browser/cjs/{BQWmn92gYmxC8eWt.cjs → BhmvJA5P78JScqAa.cjs} +1 -1
  7. package/browser/cjs/{DLtFM988NCD-jeBV.cjs → Bj3YkKmVIoQ3YtYm.cjs} +4 -4
  8. package/browser/cjs/{C19UoK2TTtKU_faS.cjs → BqfmTrd9tnu_owvN.cjs} +1 -1
  9. package/browser/cjs/{DZBKNR9xUMTHWS_D.cjs → BtrnAiRF11y21NX4.cjs} +1 -1
  10. package/browser/cjs/CClH6iclautDoj8x2.cjs +1 -0
  11. package/browser/cjs/{GPlG4lbMP89VDHYJ.cjs → CIDcABwPAtKB7XVf.cjs} +3 -3
  12. package/browser/cjs/{Dg3GaW0QWwnlqetX2.cjs → CJK0UKBYYLMe5y7n2.cjs} +1 -1
  13. package/browser/cjs/{Bo7EQ8niKmwtAwo_2.cjs → CLHQ0mEi1NKau4Fd2.cjs} +1 -1
  14. package/browser/cjs/{CtsduUtTrkcWM02v.cjs → CMOeL2fuTqmW07BD.cjs} +199 -199
  15. package/browser/cjs/{BLAG3kDSthU0SH-E.cjs → CQd4PPsP2BuocLDM.cjs} +2 -2
  16. package/browser/cjs/{D_IilnLuy_hDaBmI.cjs → CRplh7TkT0zSJ0-T.cjs} +1 -1
  17. package/browser/cjs/{D5Gp16-G3pjMtypl2.cjs → CSWmGDsxPB7HVJiO2.cjs} +1 -1
  18. package/browser/cjs/{9vk-L6rRvx20jeQj.cjs → Cj57ZO62uLbSZ0gK.cjs} +1 -1
  19. package/browser/cjs/{C_T-ehCAzjaVRmTk.cjs → CjqMMBQ8Kk0moB_z.cjs} +1 -1
  20. package/browser/cjs/CnZ9pMlpPsqEhbLB2.cjs +1 -0
  21. package/browser/cjs/CpSKXzK-k_sOImbA.cjs +54 -0
  22. package/browser/cjs/{CTDN-AYeejrfopDC.cjs → CuANpK3BdrKl4Yhe.cjs} +1 -1
  23. package/browser/cjs/{DHMQnssVXWjGBSs-.cjs → Cw4BDzyIt0BkEzuh.cjs} +1 -1
  24. package/browser/cjs/D689Ek3LK_7M1YS9.cjs +14 -0
  25. package/browser/cjs/{ibvsavYh4kU-xxL8.cjs → D6OTRWh1ys5CR_lb.cjs} +1 -1
  26. package/browser/cjs/DDvxqFQeKcwQCcgl2.cjs +1 -0
  27. package/browser/cjs/{DA0nGLC0bEkOhh7G2.cjs → DOQTjBWUIU3tFiC42.cjs} +1 -1
  28. package/browser/cjs/{9rXsWW4SnEpudhfh.cjs → DOjeFFlUuGZs14pR.cjs} +1 -1
  29. package/browser/cjs/{3a3qEmdJWFXfGW0q.cjs → DRRqcawQ_OlK5O2S.cjs} +1 -1
  30. package/browser/cjs/{D-N5oLosHPjoj-oG.cjs → DW8fGIUUK-oUTjOo.cjs} +1 -1
  31. package/browser/cjs/{TZQc-szdIVnHDH6F.cjs → DggQv_m8hwCk0ZPk.cjs} +2 -2
  32. package/browser/cjs/{CX7VUEYca9dtWS0N.cjs → DjAg1qKbGRcCxZG2.cjs} +1 -1
  33. package/browser/cjs/DlAHUQXBMc-ZTn_c.cjs +32 -0
  34. package/browser/cjs/{Co31kjvOPAAYbeF-.cjs → DniLHjmREpdi1cFx.cjs} +1 -1
  35. package/browser/cjs/{BylqpwnwQYDHIWjX.cjs → DnjrhTDYSGg20fYP.cjs} +1 -1
  36. package/browser/cjs/DoFDjP2FgjU48C712.cjs +1 -0
  37. package/browser/cjs/DqnvNfw5YpO2rdty2.cjs +1 -0
  38. package/browser/cjs/{BdJvn1vLXMZvE-8h.cjs → DrdQTBiFulmvlRaX.cjs} +3 -3
  39. package/browser/cjs/DuQsMI_VBrtewlPT2.cjs +8 -0
  40. package/browser/cjs/DunGPPWyXlG69yIV2.cjs +1 -0
  41. package/browser/cjs/Dw7oGgh_7fEPOoIV2.cjs +3 -0
  42. package/browser/cjs/{DCRe7NqRclU-Jr7p.cjs → DxHsJ5c6KlwGpED6.cjs} +1 -1
  43. package/browser/cjs/LMZmmGBTj9hqFwwu2.cjs +1 -0
  44. package/browser/cjs/{Dg5fR9uTvYHyxOX62.cjs → Ugq14m_1jIROW2RN2.cjs} +2 -2
  45. package/browser/cjs/VSzadbRbgIx_c4Y7.cjs +1 -0
  46. package/browser/cjs/{DsqHxG-lGZxL1XgQ.cjs → ZsgZv9u2bNY2LY78.cjs} +1 -1
  47. package/browser/cjs/{BhcbKFKbSWEavYJm.cjs → axigL4G2Pi0ixZPE.cjs} +2 -2
  48. package/browser/cjs/bojG-rqzdkE9lH_h2.cjs +1 -0
  49. package/browser/cjs/{C-xC6h1TOBr5ZDSe2.cjs → e4jYID_FHS7YL-b22.cjs} +1 -1
  50. package/browser/cjs/{BF8ZxFWyAAnbe4mz.cjs → gsOqF4MyYN9gz4oo.cjs} +2 -2
  51. package/browser/cjs/{CH7BUjrXIKDIE7XE.cjs → hHVT-pzS2bhjFHSL.cjs} +43 -43
  52. package/browser/cjs/ihI3PbaHdmlJLCOt2.cjs +1 -0
  53. package/browser/cjs/index.cjs +1 -1
  54. package/browser/cjs/jW0ar9T4rYfgy_4N.cjs +1 -0
  55. package/browser/cjs/lc_UysVCoJyKATFy2.cjs +1 -0
  56. package/browser/cjs/{DHL7SVvz96-5zSWE2.cjs → nIKxgoGnF7yTmzVB2.cjs} +2 -2
  57. package/browser/cjs/{ClVLjLIRgWqX3Q-F.cjs → pWgqqjBa4jIrxyvw.cjs} +1 -1
  58. package/browser/cjs/{aBulzIf4cHnL7sbw.cjs → ufEYN2m0y5pER93_.cjs} +1 -1
  59. package/browser/cjs/{p3PYFz7cN2z4XQoU.cjs → v4gWTjOVv8h2S0zO.cjs} +1 -1
  60. package/browser/cjs/y4PTOoQv-PlD-vAG2.cjs +1 -0
  61. package/browser/esm/{C6X4CmElTpPxrad6.mjs → 00bUQB6RgRxfotbx.mjs} +1 -1
  62. package/{cdn/assets/BuyRy9BcgPYo8l8W.js → browser/esm/3763dmlGYD95oq8Z.mjs} +264 -264
  63. package/browser/esm/{BIab7njjwaSXjSEP2.mjs → 5FA-4PCi5EIs85WR2.mjs} +2 -2
  64. package/{cdn/assets/nBZATD4yR1W5D4Fi.js → browser/esm/7XkdeYBragcPQQS0.mjs} +1 -1
  65. package/browser/esm/{CTzKk6VuZTohsOIF2.mjs → 7bhO6Xzgwllu2tcj2.mjs} +1 -1
  66. package/browser/esm/{D5Pa9lfPfAcCGj_N.mjs → AwRapR2kwqYVijeW.mjs} +1 -1
  67. package/browser/esm/{LgoljOEffsYkpZZJ2.mjs → B0Z8VrL6RioP-2R02.mjs} +817 -817
  68. package/browser/esm/{bvuPDJZmI2O5oihy2.mjs → B1uljoK1sRsKmI6N2.mjs} +91 -91
  69. package/browser/esm/{j-9DpYsIlTN1mwql.mjs → B3WsFHUqTcKWNGy_.mjs} +5334 -5294
  70. package/browser/esm/{CaTmLXIsIxaOrLcZ.mjs → B5SNHCcrvOdUn7Vu.mjs} +74 -74
  71. package/browser/esm/{Be7--zCnU6JvLkK1.mjs → B6wW3holuLEkDOgD.mjs} +57 -57
  72. package/browser/esm/{B2vjec5TDs2ZJ1eI2.mjs → BCWx6QCIVIKOKt9n2.mjs} +1 -1
  73. package/browser/esm/{BPt7dDNLBsKrZgzO2.mjs → BCYJaBOW6d6KNCuQ2.mjs} +7 -7
  74. package/browser/esm/{C3qSUuVA-FII3rMU2.mjs → BCmGrMte2QyvzkAM2.mjs} +19 -19
  75. package/browser/esm/{R2c8rUTz1GjCQEp-2.mjs → BEsIwguAjJa2eS4g2.mjs} +22 -22
  76. package/browser/esm/{QNvOHujamKYSXWWA2.mjs → BFAAw3m7wW7Wnf8i2.mjs} +1 -1
  77. package/{cdn/assets/CQBSLdAdR53c7BVh.js → browser/esm/BG_6y3dWHiR8LpP-2.mjs} +1 -1
  78. package/browser/esm/{B-Zf8W3s_WXgYxhN.mjs → BJdwKtEOslRkGQhk.mjs} +7 -7
  79. package/browser/esm/{0YKBRd7eLIUmcKns.mjs → BJk7BkFlT-d2_MDc.mjs} +3 -3
  80. package/browser/esm/{Bc8-re9biUn57kdl.mjs → BO6Lz-qmEF5k4ZPU.mjs} +9659 -9661
  81. package/{cdn/assets/DgH-AoqKDdIWg0J8.js → browser/esm/BPh6sTO11J2UoKVG.mjs} +1 -1
  82. package/{cdn/assets/BEYY8z4FusH7S5K-2.js → browser/esm/BQRlxHPPnb-Xp7mx.mjs} +1 -1
  83. package/{cdn/assets/BdCn57ENgiC2kOsF.js → browser/esm/BThp5CcmvMVU7Frk.mjs} +2 -2
  84. package/browser/esm/{BG_hG8jUkf0aMzGK2.mjs → BThp5CcmvMVU7Frk2.mjs} +2 -2
  85. package/{cdn/assets/7lIMFL11BRZrMXdc.js → browser/esm/BUbwA9WVFeKfIV6H.mjs} +1 -1
  86. package/browser/esm/{DmPq6SwNcX1qXKct.mjs → BVri2gMOX526uJV5.mjs} +1 -1
  87. package/browser/esm/{DMMtONCySdMHoaMU.mjs → BYcIifmA2KfISUAD.mjs} +6 -6
  88. package/browser/esm/{9CP_UyAqmAHE7-mv.mjs → BYha1NqMzu8G7ReU.mjs} +7 -7
  89. package/browser/esm/{BuSBBEiK_3KnBr632.mjs → BZiMIYsX6zktg4iD2.mjs} +23 -23
  90. package/browser/esm/{xzoxSwyGoZdH-ysh.mjs → BcZHZLyy1g0r4Qk4.mjs} +23 -23
  91. package/{cdn/assets/DvfekR32WVFv_WrS.js → browser/esm/BcdWHWjggmDQ6_Zx2.mjs} +81 -81
  92. package/browser/esm/{CwDjNuGkKnVtfJo-.mjs → Bd-Kkar9gnLuKTRo2.mjs} +1 -1
  93. package/{cdn/assets/DoCYcvHzw3S0MDCW.js → browser/esm/BeQYgyU20NLEnFql2.mjs} +1 -1
  94. package/browser/esm/{B0aCnXuYD0ZopZdA.mjs → Be_zCt9smEb4NVGF.mjs} +2 -2
  95. package/{cdn/assets/CU1_-PzBC9cDsm5t.js → browser/esm/BfRnXrO08JOzICDf2.mjs} +1 -1
  96. package/{cdn/assets/B0FNPu0uhX_WW-aJ2.js → browser/esm/BfZiZa7P8RpKrStu.mjs} +1 -1
  97. package/browser/esm/{fJ0eqh3Ja3O0z1QL.mjs → BiHOntEpAjSdwJmu.mjs} +12 -12
  98. package/{cdn/assets/jQ5c7MGwQOZq4s5w2.js → browser/esm/BjCuy-yO9BQxUj_22.mjs} +1 -1
  99. package/browser/esm/{BhGgNWNVYntkJYgU.mjs → BnT_figq3Qu4_Tdm.mjs} +12 -12
  100. package/{cdn/assets/13CH9sjvoEqt6nbt.js → browser/esm/BouiFjb9pyWsROiW2.mjs} +1 -1
  101. package/browser/esm/{C1doaJjkCzQlB_3u2.mjs → BqT5uCSFT_HATJJw2.mjs} +1 -1
  102. package/browser/esm/{DeeFxCkhXDF0p1nl.mjs → BranNZUk8WXrCCjb.mjs} +3 -3
  103. package/browser/esm/{DBTB0moKfwOu0F47.mjs → BxrknRRdcnKV7-zU.mjs} +5 -5
  104. package/{cdn/assets/DuijhgjRhgWB9sCY2.js → browser/esm/C62Y8jSQuT2_lqUs.mjs} +240 -228
  105. package/browser/esm/{BJJBFdJaP2dMlug92.mjs → C9-p4koE4kCDp9UL2.mjs} +8 -8
  106. package/{cdn/assets/Bfq8Gdqf3I7y_Hju2.js → browser/esm/C9QsQZR03iUbXGDd.mjs} +1 -1
  107. package/browser/esm/{CYU_-DiQXjh1SEU1.mjs → CByxip-S_IKsaoyZ.mjs} +347 -347
  108. package/{cdn/assets/CAVONPXgoytyiNK-.js → browser/esm/CFKZFbkoc-8gG0EH.mjs} +1 -1
  109. package/browser/esm/{BEWsOD2JQ8dwQCEm2.mjs → CIfWyeqd8SBHxpym2.mjs} +17 -17
  110. package/browser/esm/{eTXmezPFvAwM_L-D2.mjs → CIsuqkDFqRaqaULt.mjs} +1 -1
  111. package/browser/esm/{iYNN3Px9AekrMEfu2.mjs → CMIHnlRJ6ctaJThm2.mjs} +12 -12
  112. package/browser/esm/{Bcjus_Q6f72kE1MK.mjs → CNBdjbsAfeLxOXNu2.mjs} +1 -1
  113. package/browser/esm/{rxlYDHBsenoxRx-K2.mjs → CNO2b9u-Zhj6V2us2.mjs} +6 -6
  114. package/browser/esm/{Cvw3poNlUmn3qAh0.mjs → CP2cFopeWN8lQpif.mjs} +5 -5
  115. package/browser/esm/{DYyxB53T5uaoyInL2.mjs → CPCWNpkZIX3cxPMS2.mjs} +2 -2
  116. package/browser/esm/{Bokc-Wu4XBPWKmdt.mjs → CPgdrQexyUXiviTo.mjs} +1 -1
  117. package/{cdn/assets/BDZAVKSYpcOp9Dve.js → browser/esm/CQi9Ek-nl9QWmoMC2.mjs} +1 -1
  118. package/browser/esm/{DtqMTXq5u5DmS5S1.mjs → CRNpbge-G8dLIqk9.mjs} +2 -2
  119. package/browser/esm/{sfOREE_huDAOcfYs.mjs → CSus1KY0Y1UJN-c6.mjs} +1495 -1495
  120. package/browser/esm/{lHpMVBxqkkCYD6d12.mjs → CVV-QxmM_7vUYzFC.mjs} +1 -1
  121. package/browser/esm/{DHzdEqMCGL_JPh9w2.mjs → CXT9wGUombXj7n-s2.mjs} +11 -11
  122. package/browser/esm/{gAriGKwELet15RCY2.mjs → CZrkJteg0C4_fGBy2.mjs} +10 -10
  123. package/browser/esm/{ep-IjWXOPg2b-REP2.mjs → C_6kPChYiQzj6w3V2.mjs} +1 -1
  124. package/{cdn/assets/yVLsr0rcaOFel2nS.js → browser/esm/ChKDkoQeoZMHq0r72.mjs} +1 -1
  125. package/browser/esm/{DTfDzhFtORWkuoRv.mjs → CiMRlH1xk4i9IiEn.mjs} +1 -1
  126. package/{cdn/assets/DbVSG7Uf7YDQbmc3.js → browser/esm/CiUtfAMZeVao4r9g.mjs} +1 -1
  127. package/browser/esm/{D13sLQRMMKrDHepu.mjs → ClQiq37bto-oxKtL.mjs} +1 -1
  128. package/browser/esm/{AAHsV9V95k39t9SD.mjs → ClrdhQeh_WoBg0Ws2.mjs} +1 -1
  129. package/browser/esm/{txVgXcuMeWVNWHnZ.mjs → CmNtmMkhbzV8j_I0.mjs} +1 -1
  130. package/browser/esm/{V-oO_EfTyth0iptZ2.mjs → Cm_bL9sY_cm-k_Pq.mjs} +1 -1
  131. package/browser/esm/{kcfC6hY47HklE6Om.mjs → CmmaFuVaTfOm96g4.mjs} +11 -11
  132. package/{cdn/assets/Dd80tsdITZsotoCX.js → browser/esm/CqheKk46etN--iuw2.mjs} +1 -1
  133. package/browser/esm/{DeSDYBzD8e5XXnvq.mjs → CqwPCy756gUmUtv1.mjs} +6 -6
  134. package/browser/esm/{BM343UBJqjbDokO62.mjs → CsDejQBEe09RdeRI.mjs} +1 -1
  135. package/browser/esm/{BBaNqp1ZjuO25FQg2.mjs → CsG9IQdgctp6tf2X2.mjs} +1 -1
  136. package/browser/esm/{C1EvC_qPiGiVMrkF.mjs → CxYnCECXc2PyTCrn.mjs} +499 -499
  137. package/{cdn/assets/DjNR_ZGCbg-xia15.js → browser/esm/Cz77LBaC6qe0hPm02.mjs} +1 -1
  138. package/browser/esm/{ZJ32DJlBpN_9fAph.mjs → Cz_f9WxedmIkn2jq.mjs} +3 -3
  139. package/browser/esm/{BVOTzF7NFvB20R7D.mjs → D36mtiddUg8k6tPW.mjs} +2 -2
  140. package/browser/esm/{BOhfbmK18Xj1P7-i.mjs → DCY3GQ5g02kgKrPz2.mjs} +1 -1
  141. package/{cdn/assets/CPgOplnn6NuHwsZ_2.js → browser/esm/DDfhrc6lUmerlDLA2.mjs} +1 -1
  142. package/browser/esm/{B2nEJHcip8raAhdc.mjs → DGjbC2bQDlXZu71U.mjs} +757 -757
  143. package/browser/esm/{yFldtlfN_ASKyMll.mjs → DIHvZTIPYMmuDQO4.mjs} +5 -5
  144. package/browser/esm/{CmSATmXaMlqwTjAe2.mjs → DN6XiWA9mgKCYBL72.mjs} +1 -1
  145. package/browser/esm/{DyPe20tPiPVm1PLe.mjs → DNtf7XnGnTZmf9SF.mjs} +6 -6
  146. package/browser/esm/{XB269tVMhdRHj10G.mjs → DOwrrqcb3f3wDR3B.mjs} +123 -208
  147. package/{cdn/assets/CULlzRLL3s2Dikjg.js → browser/esm/DQXXQ7c_080TSD18.mjs} +1 -1
  148. package/{cdn/assets/WFkg-W8MQ-V6F1Fu.js → browser/esm/DSuOkzhjUeUGtHv8.mjs} +3 -3
  149. package/browser/esm/{D-egzesxukW7Z_e3.mjs → DXuBmWXG49kvaZNr2.mjs} +1 -1
  150. package/{cdn/assets/B_49GiUSgx96vBvq.js → browser/esm/DYoBCnD1PVzOITgb2.mjs} +1 -1
  151. package/{cdn/assets/gCeoOjDjiVaX8dtF.js → browser/esm/D_tGKL5JvKpHg5Se2.mjs} +1 -1
  152. package/browser/esm/{Dz713G5R9JayR5v1.mjs → D_vJszM7OyxfNtiD.mjs} +2 -2
  153. package/browser/esm/{b49cTAZ6BWPQgfYu.mjs → DdNzoOIDRFbcy-qK.mjs} +14 -14
  154. package/browser/esm/{GDYIOITizuJ9xSUf2.mjs → DdSdpckWJszr8vE72.mjs} +13 -13
  155. package/browser/esm/{YC83lJ3yRZP57lBl2.mjs → Di2yc0eSWx4sqa1t2.mjs} +4 -4
  156. package/browser/esm/{Bvy9LWN5UHwJXV9i2.mjs → DiZjLPj4GVJccT-7.mjs} +2 -2
  157. package/browser/esm/{BcHN_VMA7bLNKKMO.mjs → DkUKK8YkXuoIqQIx.mjs} +1914 -1904
  158. package/browser/esm/{CA4eJpge9meoO0rj2.mjs → DmBNtqAUPAi3RnfW2.mjs} +11 -11
  159. package/{cdn/assets/CnvlkxK0pS02Z3gZ.js → browser/esm/Dr3NMWk6K4-HWYsp.mjs} +1 -1
  160. package/browser/esm/{B50P0gSziuG68Umu.mjs → DsGBg42mflMr5nWn.mjs} +1 -1
  161. package/{cdn/assets/C04uI3XsvTc6Cc7w.js → browser/esm/DtFBvTH8ScTC26Xd.mjs} +1 -1
  162. package/browser/esm/{CcK4ACF7d5ogFpAS.mjs → DuwZ5U8z5dBDeSgO.mjs} +8 -8
  163. package/browser/esm/{C3M_lKSZ_Fq1SQOn.mjs → DvFQ4AKUGVQ_qhdP.mjs} +2 -2
  164. package/browser/esm/{04mVsW7CTmUlxnOa.mjs → DvQg18Zd8rnQh20c.mjs} +3 -3
  165. package/browser/esm/{Dn8Z0WK2Hwi8MRnQ.mjs → DwpzhMm9SjvmHEpB.mjs} +1 -1
  166. package/browser/esm/{BnFriW2cIcOJkXU42.mjs → Dz6F8pPCO-Rr6Cab2.mjs} +12 -12
  167. package/{cdn/assets/D1bACCJy4F8kANLy2.js → browser/esm/ERmTt8XRToIi7stb.mjs} +1 -1
  168. package/browser/esm/{CUYBRp4sHMdGwkLT.mjs → I5pKfeOLCqhpzdsw.mjs} +1 -1
  169. package/{cdn/assets/C2JMpa_lWCs9k2ZI.js → browser/esm/Jsx_oA3RHPHgakon.mjs} +174 -174
  170. package/browser/esm/{BCQgeu38866r56Dh.mjs → LOn47j35pLEOdnml.mjs} +5 -5
  171. package/browser/esm/{DkuK8fY8vrl7aZpf2.mjs → LTN_uMk0eLGdRMPd2.mjs} +7 -7
  172. package/browser/esm/{f9r0yTaD2YChFtEg2.mjs → LryKLHFrshlshCEk2.mjs} +1 -1
  173. package/{cdn/assets/LfHB39-nf7mi9XC7.js → browser/esm/N9sXUCWDhn_zpuR2.mjs} +1 -1
  174. package/{cdn/assets/BF842ZtkvebA1LgR2.js → browser/esm/NLHUljnhbCboNbaU.mjs} +1 -1
  175. package/browser/esm/{S2_pz0y2RTJFpXkS.mjs → U7ZDW4cwSiPyirkE.mjs} +1 -1
  176. package/{cdn/assets/CThP3jXwDzLlUOeI2.js → browser/esm/XGGjX0z3ae_AWeTr.mjs} +1 -1
  177. package/{cdn/assets/DtQu3vHaJfA5KM2H.js → browser/esm/_WaFh_cvGeblogUn2.mjs} +1 -1
  178. package/browser/esm/{BZZ2IOkVKppFWNLE.mjs → cVFbVoYZRXdqyfp0.mjs} +5 -5
  179. package/browser/esm/{BBzzLAeBBFbVvgph2.mjs → cwwLkCUZ083FPUTU2.mjs} +2 -2
  180. package/browser/esm/{BTNqElWtYkKW47Vg.mjs → i8BR1tNQSYLz-zpk.mjs} +3 -3
  181. package/browser/esm/index.mjs +4 -4
  182. package/browser/esm/{apjOZ6N9KbmyErGz.mjs → ooXd7RLQr67NrRz9.mjs} +65 -65
  183. package/browser/esm/{Bl5xLu1ou-9zMIBZ2.mjs → p-0E4OSYsnvo4Jvb2.mjs} +1 -1
  184. package/browser/esm/{BA6JMESdvw_1-mFg2.mjs → q4b66GxkR8TkSiGY2.mjs} +17 -17
  185. package/{cdn/assets/Be2-C5U5LlfLTmyo.js → browser/esm/rUQqpcI_WXcsiwea2.mjs} +1 -1
  186. package/{cdn/assets/CjFOk9mcZqAngWD22.js → browser/esm/yg7AU6dKBI7tCqJd2.mjs} +1 -1
  187. package/browser/esm/{BiArrlzwKsOlSm00.mjs → z-KpvdyYTapfvTA-.mjs} +4 -4
  188. package/cdn/assets/{C6X4CmElTpPxrad6.js → 00bUQB6RgRxfotbx2.js} +1 -1
  189. package/cdn/assets/{Be_TDLQucHiVwNvT.js → 0Jeqx95iG9faxIsB.js} +8 -8
  190. package/cdn/assets/{QT-5i27zeGPhkyui2.js → 3o0o7-MzWgSJRADP2.js} +12 -12
  191. package/cdn/assets/{BIab7njjwaSXjSEP.js → 5FA-4PCi5EIs85WR.js} +2 -2
  192. package/cdn/assets/{BNm-ZCOBoBRceGXA2.js → 61OH_HiXgmNuRUDx2.js} +73 -73
  193. package/{browser/esm/nBZATD4yR1W5D4Fi.mjs → cdn/assets/7XkdeYBragcPQQS0.js} +1 -1
  194. package/cdn/assets/{CTzKk6VuZTohsOIF.js → 7bhO6Xzgwllu2tcj.js} +1 -1
  195. package/cdn/assets/{D5Pa9lfPfAcCGj_N2.js → AwRapR2kwqYVijeW2.js} +1 -1
  196. package/cdn/assets/{D6Uwvg4vo1g0pWZa.js → B1eVAWzwtBE6vo-r.js} +2 -2
  197. package/cdn/assets/{588lLflWQypQVzce.js → B3XQHzZTHSzv7fpC.js} +5 -5
  198. package/cdn/assets/{B2vjec5TDs2ZJ1eI.js → BCWx6QCIVIKOKt9n.js} +1 -1
  199. package/cdn/assets/{B66--qmqjDI4V95v2.js → BEcgIVa19rKPTwlt2.js} +8 -8
  200. package/cdn/assets/{QNvOHujamKYSXWWA.js → BFAAw3m7wW7Wnf8i.js} +1 -1
  201. package/{browser/esm/CQBSLdAdR53c7BVh2.mjs → cdn/assets/BG_6y3dWHiR8LpP-.js} +1 -1
  202. package/cdn/assets/{BWtyERLPrUmI8Qbi2.js → BInccbDEuHGg1a2y2.js} +92 -92
  203. package/cdn/assets/{b-o8RUlQpF1RaDgI.js → BJ74o1RxHOu_KTYD2.js} +130 -215
  204. package/cdn/assets/{XFQGB8ADW__0ZBoF2.js → BKrWCWpOpggPjFQq2.js} +3 -3
  205. package/cdn/assets/{BTB79KyzSZf-h-lm2.js → BLKL_d2AFcnL6fbw2.js} +16 -16
  206. package/cdn/assets/{gJT4n5za0DqWXFK12.js → BNSYILHKGtNTW6AH2.js} +22 -22
  207. package/{browser/esm/DgH-AoqKDdIWg0J8.mjs → cdn/assets/BPh6sTO11J2UoKVG.js} +1 -1
  208. package/{browser/esm/BEYY8z4FusH7S5K-.mjs → cdn/assets/BQRlxHPPnb-Xp7mx2.js} +1 -1
  209. package/{browser/esm/7lIMFL11BRZrMXdc2.mjs → cdn/assets/BUbwA9WVFeKfIV6H.js} +1 -1
  210. package/cdn/assets/{Bqe5WbSIlCRYLcqT.js → BVFVnXqCCuycZFnG.js} +4 -4
  211. package/cdn/assets/BVri2gMOX526uJV5.js +24 -0
  212. package/cdn/assets/BVri2gMOX526uJV52.js +24 -0
  213. package/cdn/assets/{CP0M0z_IaCwCMGNS.js → BXV_vaLwr-mEvH-k.js} +7 -7
  214. package/cdn/assets/{_gPnIgVx33slqynA.js → BY7a2KqdhpxV2mYN.js} +2 -2
  215. package/cdn/assets/{BKouftCLbhExXXXU.js → BZpQlzDFTqlBTj8r.js} +124 -125
  216. package/cdn/assets/{COk-0FZl3cv__3yY2.js → BcGLaH5XYmlLx2is2.js} +7 -7
  217. package/cdn/assets/{CwDjNuGkKnVtfJo-2.js → Bd-Kkar9gnLuKTRo.js} +1 -1
  218. package/{browser/esm/DoCYcvHzw3S0MDCW.mjs → cdn/assets/BeQYgyU20NLEnFql.js} +1 -1
  219. package/{browser/esm/CU1_-PzBC9cDsm5t2.mjs → cdn/assets/BfRnXrO08JOzICDf.js} +1 -1
  220. package/{browser/esm/B0FNPu0uhX_WW-aJ.mjs → cdn/assets/BfZiZa7P8RpKrStu2.js} +1 -1
  221. package/cdn/assets/{DPN0a43QHMUmHgo5.js → Bhat781Vzqa1jNlj.js} +3 -3
  222. package/cdn/assets/{CheDxDxt7x0CPz9P.js → BiQlKPbuRw8sLCC5.js} +7 -7
  223. package/cdn/assets/{Dlq2nAMNpWkqjt9Y.js → Bijn-3ZS9ONia1ja.js} +14 -14
  224. package/{browser/esm/jQ5c7MGwQOZq4s5w.mjs → cdn/assets/BjCuy-yO9BQxUj_2.js} +1 -1
  225. package/{browser/esm/CUMu_1tXFa0LPKGV.mjs → cdn/assets/BlPAZIJrjbcHxcJj.js} +316 -316
  226. package/cdn/assets/{CPjsJ0CY-AurDJgm2.js → BljA9tG92oDDEqjC2.js} +13 -13
  227. package/{browser/esm/13CH9sjvoEqt6nbt2.mjs → cdn/assets/BouiFjb9pyWsROiW.js} +1 -1
  228. package/cdn/assets/{C1doaJjkCzQlB_3u.js → BqT5uCSFT_HATJJw.js} +1 -1
  229. package/cdn/assets/{f1iQWnLWVpKZ34XR2.js → Buwn5fZU7jRx2O2L2.js} +8 -8
  230. package/cdn/assets/{CzEHYpK2SYTRpxDm2.js → ByMjPzoTrB6veNzc2.js} +25 -25
  231. package/cdn/assets/{CUrzB9ponX7LAYXR.js → Bzv3-2eiz66ZkXnN.js} +3 -3
  232. package/cdn/assets/{CUTnOs5iWyc3J2cN2.js → C1HfU9WnOyE_81Y22.js} +14 -14
  233. package/cdn/assets/{CWOPhBfYI6R0kz-p.js → C2-SeODnwo_GR5pz.js} +501 -501
  234. package/cdn/assets/{BT3KOuPzJsNUvy4B.js → C3D_ZF-8-b6d8y4e2.js} +2 -2
  235. package/cdn/assets/{C7ZHXwoL2A_nxZjl.js → C4cN9i6GMOS58iau.js} +65 -65
  236. package/cdn/assets/{CDijenaMI_dBIGU-.js → C5JHyXmpBXqT829C.js} +464 -464
  237. package/{browser/esm/DuijhgjRhgWB9sCY.mjs → cdn/assets/C62Y8jSQuT2_lqUs2.js} +240 -228
  238. package/cdn/assets/{BaEH7HZAJkFGHtNj2.js → C6FGZZf4iXdgdE2p2.js} +66 -66
  239. package/{browser/esm/Bfq8Gdqf3I7y_Hju.mjs → cdn/assets/C9QsQZR03iUbXGDd2.js} +1 -1
  240. package/{browser/esm/CAVONPXgoytyiNK-.mjs → cdn/assets/CFKZFbkoc-8gG0EH.js} +1 -1
  241. package/cdn/assets/{eTXmezPFvAwM_L-D.js → CIsuqkDFqRaqaULt2.js} +1 -1
  242. package/cdn/assets/{Bcjus_Q6f72kE1MK.js → CNBdjbsAfeLxOXNu.js} +1 -1
  243. package/cdn/assets/{BB6k7f_6TCVysy8a.js → CNJDMOYg-cuIfNfJ.js} +3 -3
  244. package/cdn/assets/{CA9oxppuFcYDyylE.js → CNJExdRjs2zrq2QI2.js} +12 -12
  245. package/{browser/esm/BG_hG8jUkf0aMzGK.mjs → cdn/assets/COqWk0Oh4IaPrTm7.js} +2 -2
  246. package/cdn/assets/{Bokc-Wu4XBPWKmdt.js → CPgdrQexyUXiviTo.js} +1 -1
  247. package/{browser/esm/BDZAVKSYpcOp9Dve2.mjs → cdn/assets/CQi9Ek-nl9QWmoMC.js} +1 -1
  248. package/cdn/assets/{B9hBziUoXFzKPWF02.js → CRGjj70fiZgAfoOZ2.js} +7 -7
  249. package/cdn/assets/{2QsTDWiE6SMelbNU2.js → CRepp6I1poWZwijy2.js} +7 -7
  250. package/cdn/assets/{B_sKE05xgjFFafjm.js → CU-pICtgXW5Kn0sP.js} +1839 -1839
  251. package/cdn/assets/{lHpMVBxqkkCYD6d1.js → CVV-QxmM_7vUYzFC2.js} +1 -1
  252. package/cdn/assets/{BPOi08RtEmQdlbtS2.js → CX7_0zQyYWqVfYUE2.js} +12 -12
  253. package/cdn/assets/{Ifw8W-tqHjQnCWZO2.js → CZuu-bOdg704oDMV2.js} +40 -40
  254. package/cdn/assets/{ep-IjWXOPg2b-REP2.js → C_6kPChYiQzj6w3V2.js} +1 -1
  255. package/cdn/assets/{UNtnFd2ssTtnrqRp.js → CdP9qTlDd3C1oYJE.js} +1917 -1907
  256. package/{browser/esm/yVLsr0rcaOFel2nS2.mjs → cdn/assets/ChKDkoQeoZMHq0r7.js} +1 -1
  257. package/cdn/assets/{DTfDzhFtORWkuoRv2.js → CiMRlH1xk4i9IiEn.js} +1 -1
  258. package/{browser/esm/DbVSG7Uf7YDQbmc32.mjs → cdn/assets/CiUtfAMZeVao4r9g2.js} +1 -1
  259. package/cdn/assets/{B9oLwnLz9m-TWSPJ2.js → CkGtAcs5pCYCEP8p.js} +65 -65
  260. package/cdn/assets/{D13sLQRMMKrDHepu2.js → ClQiq37bto-oxKtL2.js} +1 -1
  261. package/cdn/assets/{AAHsV9V95k39t9SD.js → ClrdhQeh_WoBg0Ws.js} +1 -1
  262. package/cdn/assets/{txVgXcuMeWVNWHnZ.js → CmNtmMkhbzV8j_I0.js} +1 -1
  263. package/cdn/assets/{V-oO_EfTyth0iptZ.js → Cm_bL9sY_cm-k_Pq2.js} +1 -1
  264. package/cdn/assets/{Bi9IWSBo7DDXROTC.js → CnBG1teWhE7BlvvP.js} +2 -2
  265. package/{browser/esm/Dd80tsdITZsotoCX2.mjs → cdn/assets/CqheKk46etN--iuw.js} +1 -1
  266. package/cdn/assets/{CCTYceFrydwG3Vyt2.js → Cr34xFdpfmYj3XVX.js} +6852 -6812
  267. package/cdn/assets/{BM343UBJqjbDokO6.js → CsDejQBEe09RdeRI2.js} +1 -1
  268. package/cdn/assets/{BBaNqp1ZjuO25FQg.js → CsG9IQdgctp6tf2X.js} +1 -1
  269. package/cdn/assets/{erwt6xEgCY7lDQWp.js → CweS1pLcEo28_Fd3.js} +3 -3
  270. package/{browser/esm/DjNR_ZGCbg-xia152.mjs → cdn/assets/Cz77LBaC6qe0hPm0.js} +1 -1
  271. package/{browser/esm/BVtQCzVeMOJZq64r2.mjs → cdn/assets/D6FSp0JpvARNns7B.js} +81 -81
  272. package/cdn/assets/{BsHFBjNwTzc_CKLq2.js → D6g5-9e1xAhCBLKs2.js} +9659 -9661
  273. package/cdn/assets/{BOhfbmK18Xj1P7-i2.js → DCY3GQ5g02kgKrPz.js} +1 -1
  274. package/{browser/esm/CPgOplnn6NuHwsZ_.mjs → cdn/assets/DDfhrc6lUmerlDLA.js} +1 -1
  275. package/cdn/assets/{DIlrvTRlRll76TiE2.js → DE2W5y4QJln8ofNW2.js} +117 -117
  276. package/cdn/assets/{DmRqcUu6qCPcOxgW.js → DFs_9gdet_-cO7iH.js} +2 -2
  277. package/cdn/assets/{DmQ4uKOlhrcJfgk82.js → DLBKxOA2T_WJvvvH2.js} +16 -16
  278. package/cdn/assets/{CmSATmXaMlqwTjAe.js → DN6XiWA9mgKCYBL7.js} +1 -1
  279. package/{browser/esm/CULlzRLL3s2Dikjg.mjs → cdn/assets/DQXXQ7c_080TSD18.js} +1 -1
  280. package/{browser/esm/BauR0SATr44ggHRU.mjs → cdn/assets/DVRMsPYzWC08As4p.js} +264 -264
  281. package/cdn/assets/{BsGz_0JrhSfOZ24Q.js → DW_9fxHbJWAA6hS7.js} +3 -3
  282. package/cdn/assets/{D-egzesxukW7Z_e32.js → DXuBmWXG49kvaZNr.js} +1 -1
  283. package/{browser/esm/B_49GiUSgx96vBvq2.mjs → cdn/assets/DYoBCnD1PVzOITgb.js} +1 -1
  284. package/{browser/esm/gCeoOjDjiVaX8dtF2.mjs → cdn/assets/D_tGKL5JvKpHg5Se.js} +1 -1
  285. package/cdn/assets/{ByHzW_x0qXsBJMwv2.js → DhJUo9PMmo1COlmU2.js} +1045 -1045
  286. package/cdn/assets/{CAOPlenSF-pjVfqt2.js → DiViqDuRVTrNy_8T2.js} +2 -2
  287. package/cdn/assets/{CqI09iUEId8rHfJ9.js → DilLxTePPshHHpSq.js} +6 -6
  288. package/cdn/assets/{CBQrIDBtf5Ibwi96.js → DoVrePIXmzfLRmKR2.js} +2 -2
  289. package/cdn/assets/{C2X9NooB33IkSomz.js → Doj9y5S2cMVRtP1D.js} +8 -8
  290. package/{browser/esm/CnvlkxK0pS02Z3gZ.mjs → cdn/assets/Dr3NMWk6K4-HWYsp.js} +1 -1
  291. package/{browser/esm/DZLyXICwEHYRnCuO.mjs → cdn/assets/DrVaoGzrL25jLUGy.js} +3 -3
  292. package/cdn/assets/{B50P0gSziuG68Umu2.js → DsGBg42mflMr5nWn2.js} +1 -1
  293. package/{browser/esm/C04uI3XsvTc6Cc7w2.mjs → cdn/assets/DtFBvTH8ScTC26Xd2.js} +1 -1
  294. package/cdn/assets/{B_UEqzmXZIhHAEyS.js → DtOWX0kdgZMsDoO7.js} +8 -8
  295. package/cdn/assets/{Dz0_oXqVesISvhbJ.js → DtumfSbgP4e8W8h3.js} +3 -3
  296. package/cdn/assets/{DJBTmv-rddT91Z-N2.js → DwB2Aw3VeP0bDUcu2.js} +18 -18
  297. package/cdn/assets/{Dn8Z0WK2Hwi8MRnQ2.js → DwpzhMm9SjvmHEpB2.js} +1 -1
  298. package/{browser/esm/D1bACCJy4F8kANLy.mjs → cdn/assets/ERmTt8XRToIi7stb2.js} +1 -1
  299. package/cdn/assets/{VEJV_bhNDNNyZAIA2.js → FG3AVHTW-X8T6X6V2.js} +8 -8
  300. package/cdn/assets/{Dg26zVdGlO10MX0h2.js → Ks5Tzjg6SEeoLe6a.js} +21 -21
  301. package/cdn/assets/{f9r0yTaD2YChFtEg.js → LryKLHFrshlshCEk.js} +1 -1
  302. package/{browser/esm/LfHB39-nf7mi9XC72.mjs → cdn/assets/N9sXUCWDhn_zpuR22.js} +1 -1
  303. package/cdn/assets/{BSixIKI7PxSqiUGB2.js → NHd14bmjDunGi64w2.js} +5 -5
  304. package/{browser/esm/BF842ZtkvebA1LgR.mjs → cdn/assets/NLHUljnhbCboNbaU2.js} +1 -1
  305. package/cdn/assets/{I2Cn0c2NkX845WIx.js → POvNgF4k1Kibh6Db.js} +6 -6
  306. package/cdn/assets/{C3KIo0iwLXhIIMG8.js → RnavifpmQlGK2gal.js} +2 -2
  307. package/cdn/assets/{DoBxkE57H5PfH7Or.js → TA52Zf5ZMCu6I721.js} +2 -2
  308. package/cdn/assets/{S2_pz0y2RTJFpXkS2.js → U7ZDW4cwSiPyirkE2.js} +1 -1
  309. package/{browser/esm/CThP3jXwDzLlUOeI.mjs → cdn/assets/XGGjX0z3ae_AWeTr2.js} +1 -1
  310. package/cdn/assets/{DYCh_5thAx4qo1ns2.js → ZGRko_YhO95NyKLu.js} +757 -757
  311. package/{browser/esm/DtQu3vHaJfA5KM2H2.mjs → cdn/assets/_WaFh_cvGeblogUn.js} +1 -1
  312. package/cdn/assets/{CZ3JFujrzd0iX0zL2.js → hbYg8nwB--Ouo3PE2.js} +72 -72
  313. package/cdn/assets/{DI4QTfUQPCjSn0kl.js → kgHG0ixsMXmNdu8U.js} +7 -7
  314. package/cdn/assets/{Bl5xLu1ou-9zMIBZ.js → p-0E4OSYsnvo4Jvb.js} +1 -1
  315. package/cdn/assets/{N5PCgig3g9yqotn9.js → qBcxlsrimi009WnV.js} +2 -2
  316. package/{browser/esm/Be2-C5U5LlfLTmyo2.mjs → cdn/assets/rUQqpcI_WXcsiwea.js} +1 -1
  317. package/{browser/esm/CjFOk9mcZqAngWD2.mjs → cdn/assets/yg7AU6dKBI7tCqJd.js} +1 -1
  318. package/cdn/index.js +2 -2
  319. package/package.json +3 -3
  320. package/browser/cjs/B0FCH1gFfg2bQiPi2.cjs +0 -1
  321. package/browser/cjs/B3WkiDqFBfA_xxJL2.cjs +0 -1
  322. package/browser/cjs/Bqup1MCJFqTZbLDd2.cjs +0 -1
  323. package/browser/cjs/BsJHSGeWLskirGXg.cjs +0 -14
  324. package/browser/cjs/Bsl_clm06l5cwpML.cjs +0 -32
  325. package/browser/cjs/BvVzIzXLyLxpBcia2.cjs +0 -3
  326. package/browser/cjs/C1tOH7BEpO_ANMsa.cjs +0 -1
  327. package/browser/cjs/CA_ZsYjkTHSpGK0j.cjs +0 -41
  328. package/browser/cjs/CoCKYtBIVeDXxSIq2.cjs +0 -1
  329. package/browser/cjs/CqPb6CbrHTRnbSKa2.cjs +0 -8
  330. package/browser/cjs/D2ZPx3v4EVejvhR2.cjs +0 -54
  331. package/browser/cjs/D8tkBbkGH5cZzIJP2.cjs +0 -1
  332. package/browser/cjs/DP1pufP3NJFoDa-g.cjs +0 -3
  333. package/browser/cjs/DTZiRVEB3kVK7eK-2.cjs +0 -1
  334. package/browser/cjs/DU2HMmI1EeHBTvuG.cjs +0 -1
  335. package/browser/cjs/DWzkpizTIJkaqf4J2.cjs +0 -1
  336. package/browser/cjs/Dk1WS0vM-LQJx_EO2.cjs +0 -1
  337. package/browser/cjs/DtlC63s51_88j6AY2.cjs +0 -1
  338. package/browser/cjs/Dx79LP1-YCQg8B872.cjs +0 -1
  339. package/browser/cjs/VgwyOcXDHhEp_NvH2.cjs +0 -1
  340. package/browser/cjs/xTT7lHV4HUjeNdMs2.cjs +0 -1
  341. package/cdn/assets/C6X4CmElTpPxrad62.js +0 -24
  342. package/cdn/assets/CUYBRp4sHMdGwkLT2.js +0 -24
  343. /package/browser/cjs/{1XrWGMP3GmsQOMIX2.cjs → 1XrWGMP3GmsQOMIX.cjs} +0 -0
  344. /package/browser/cjs/{B6vy56yEA1I3B74O2.cjs → B6vy56yEA1I3B74O.cjs} +0 -0
  345. /package/browser/cjs/{BK0SCfN_VZYqBxoQ2.cjs → BK0SCfN_VZYqBxoQ.cjs} +0 -0
  346. /package/browser/cjs/{BcROQ4pvVajDQ1em.cjs → BcROQ4pvVajDQ1em2.cjs} +0 -0
  347. /package/browser/cjs/{BvG8N7G_8CXIAlT-.cjs → BvG8N7G_8CXIAlT-2.cjs} +0 -0
  348. /package/browser/cjs/{C4cZxb9nRtzTCA40.cjs → C4cZxb9nRtzTCA402.cjs} +0 -0
  349. /package/browser/cjs/{C9q3zr8iCIoYDrdA.cjs → C9q3zr8iCIoYDrdA2.cjs} +0 -0
  350. /package/browser/cjs/{CVHc_cJddJk7J3Zt2.cjs → CVHc_cJddJk7J3Zt.cjs} +0 -0
  351. /package/browser/cjs/{CaJGoNwTL6pAJ6a42.cjs → CaJGoNwTL6pAJ6a4.cjs} +0 -0
  352. /package/browser/cjs/{D8-KovdJ0LjxqCe2.cjs → D8-KovdJ0LjxqCe22.cjs} +0 -0
  353. /package/browser/cjs/{DF4l8xrxkcLkgExp2.cjs → DF4l8xrxkcLkgExp.cjs} +0 -0
  354. /package/browser/cjs/{DG2kqsWRUtVugjay.cjs → DG2kqsWRUtVugjay2.cjs} +0 -0
  355. /package/browser/cjs/{DM7-R_ltoLbA9jde.cjs → DM7-R_ltoLbA9jde2.cjs} +0 -0
  356. /package/browser/cjs/{DNKyaSruDogoBd2H2.cjs → DNKyaSruDogoBd2H.cjs} +0 -0
  357. /package/browser/cjs/{Dtxj9JR14A-uliu5.cjs → Dtxj9JR14A-uliu52.cjs} +0 -0
  358. /package/browser/cjs/{Dx7GQ4ALtNG3kshu.cjs → Dx7GQ4ALtNG3kshu2.cjs} +0 -0
  359. /package/browser/cjs/{aONv0Ys3C8xmnaR82.cjs → aONv0Ys3C8xmnaR8.cjs} +0 -0
@@ -1,27 +1,27 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.2
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.4
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
- import { r as e } from "./nBZATD4yR1W5D4Fi.mjs";
8
- import { i as t, n, r } from "./C3M_lKSZ_Fq1SQOn.mjs";
9
- import { C as i, G as a, O as o, R as s, U as c, W as l, c as u, g as d, s as f, y as p } from "./DuijhgjRhgWB9sCY.mjs";
10
- import { r as m, t as h } from "./Cvw3poNlUmn3qAh0.mjs";
11
- import { Bt as g, Ft as _, Ht as v, I as y, It as b, Kt as x, Nt as S, Ot as C, Rt as w, U as T, Vt as E, W as D, Wt as O, Xt as ee, _ as k, bt as A, c as j, en as M, et as te, gt as ne, h as N, i as re, jt as ie, k as ae, m as P, n as oe, p as se, q as ce, rt as le, s as ue, t as F, tt as I, y as de } from "./BcHN_VMA7bLNKKMO.mjs";
12
- import { t as L } from "./B0FNPu0uhX_WW-aJ.mjs";
13
- import { a as fe, t as pe } from "./BCQgeu38866r56Dh.mjs";
14
- import { i as me, t as R } from "./B50P0gSziuG68Umu.mjs";
15
- import { E as he, It as z, V as ge, an as _e, b as ve, i as ye, ot as B, rn as be, tt as xe, z as Se } from "./Bc8-re9biUn57kdl.mjs";
16
- import { $ as Ce, A as we, C as Te, D as Ee, E as De, F as Oe, I as ke, S as Ae, V as je, W as Me, Z as Ne, _ as Pe, b as Fe, bt as Ie, ct as V, ft as Le, gt as Re, ht as ze, i as Be, it as Ve, l as He, lt as H, m as Ue, mt as We, p as U, r as W, rt as Ge, st as Ke, t as qe, tt as Je, u as Ye, v as Xe, w as Ze, y as Qe, yt as $e, z as et } from "./j-9DpYsIlTN1mwql.mjs";
17
- import { $ as tt, D as nt, F as rt, I as G, L as it, N as K, S as at, St as ot, V as st, _t as ct, bt as lt, ct as ut, f as dt, lt as ft, s as pt, st as mt, t as ht, ut as gt, vt as _t, wt as vt, yt } from "./C1EvC_qPiGiVMrkF.mjs";
18
- import { A as bt, T as xt, _ as q, i as St, k as Ct, m as wt, r as Tt, t as J } from "./DBTB0moKfwOu0F47.mjs";
19
- import { Bn as Et, Cn as Dt, Et as Ot, Fn as kt, I as At, In as jt, It as Mt, J as Nt, Jt as Pt, Ln as Ft, Lt as It, Nn as Lt, On as Rt, Rn as zt, Rt as Bt, S as Vt, Ut as Ht, V as Ut, W as Wt, X as Gt, _t as Kt, a as qt, cn as Jt, dn as Yt, dt as Xt, et as Zt, gn as Qt, h as $t, hn as en, it as tn, j as nn, n as rn, o as an, qt as on, r as sn, ut as cn, vn as ln, w as un, wt as dn, x as fn, xt as pn, yn as mn, zn as hn } from "./sfOREE_huDAOcfYs.mjs";
20
- import { n as gn, t as _n } from "./DMMtONCySdMHoaMU.mjs";
21
- import { n as vn, t as yn } from "./DeSDYBzD8e5XXnvq.mjs";
22
- import { D as bn, N as xn, R as Sn, S as Cn, T as wn, c as Tn, f as En, g as Dn, h as On, i as kn, l as An, m as jn, o as Mn, s as Nn, t as Pn, u as Fn } from "./CYU_-DiQXjh1SEU1.mjs";
23
- import { t as Y } from "./B-Zf8W3s_WXgYxhN.mjs";
24
- import { t as In } from "./kcfC6hY47HklE6Om.mjs";
7
+ import { r as e } from "./7XkdeYBragcPQQS0.mjs";
8
+ import { i as t, n, r } from "./DvFQ4AKUGVQ_qhdP.mjs";
9
+ import { D as i, G as a, I as o, N as s, b as c, c as l, o as u, p as d, q as f, r as p } from "./C62Y8jSQuT2_lqUs.mjs";
10
+ import { r as m, t as h } from "./CP2cFopeWN8lQpif.mjs";
11
+ import { $t as g, Bt as _, Ft as v, Gt as y, Ht as b, I as x, Jt as S, Ot as C, St as w, Tt as T, Wt as E, X as D, Y as O, Zt as ee, _ as te, c as k, gt as A, h as j, i as ne, k as re, m as M, mt as ie, n as N, ot as ae, p as P, rn as F, rt as oe, s as se, st as ce, t as I, tt as le, y as L, zt as ue } from "./DkUKK8YkXuoIqQIx.mjs";
12
+ import { t as R } from "./BfZiZa7P8RpKrStu.mjs";
13
+ import { a as de, t as fe } from "./LOn47j35pLEOdnml.mjs";
14
+ import { i as pe, t as z } from "./DsGBg42mflMr5nWn.mjs";
15
+ import { B as me, S as he, Xt as B, _ as ge, ct as V, d as _e, it as ve, l as ye, r as be, sn as xe } from "./BO6Lz-qmEF5k4ZPU.mjs";
16
+ import { $ as Se, A as Ce, C as we, D as Te, E as Ee, F as De, I as Oe, S as ke, V as Ae, W as je, Z as Me, _ as Ne, b as Pe, bt as Fe, ct as H, ft as Ie, gt as Le, ht as Re, i as ze, it as Be, l as Ve, lt as U, m as He, mt as Ue, p as W, r as G, rt as We, st as Ge, t as Ke, tt as qe, u as Je, v as Ye, w as Xe, y as Ze, yt as Qe, z as $e } from "./B3WsFHUqTcKWNGy_.mjs";
17
+ import { $ as et, D as tt, F as nt, I as rt, L as it, N as K, S as at, St as ot, V as st, _t as ct, bt as lt, ct as ut, f as dt, lt as ft, s as pt, st as mt, t as ht, ut as gt, vt as _t, wt as vt, yt } from "./CxYnCECXc2PyTCrn.mjs";
18
+ import { A as bt, T as xt, _ as q, i as St, k as Ct, m as wt, r as Tt, t as J } from "./BxrknRRdcnKV7-zU.mjs";
19
+ import { Bn as Et, Cn as Dt, Et as Ot, Fn as kt, I as At, In as jt, It as Mt, J as Nt, Jt as Pt, Ln as Ft, Lt as It, Nn as Lt, On as Rt, Rn as zt, Rt as Bt, S as Vt, Ut as Ht, V as Ut, W as Wt, X as Gt, _t as Kt, a as qt, cn as Jt, dn as Yt, dt as Xt, et as Zt, gn as Qt, h as $t, hn as en, it as tn, j as nn, n as rn, o as an, qt as on, r as sn, ut as cn, vn as ln, w as un, wt as dn, x as fn, xt as pn, yn as mn, zn as hn } from "./CSus1KY0Y1UJN-c6.mjs";
20
+ import { n as gn, t as _n } from "./BYcIifmA2KfISUAD.mjs";
21
+ import { n as vn, t as yn } from "./CqwPCy756gUmUtv1.mjs";
22
+ import { D as bn, N as xn, R as Sn, S as Cn, T as wn, c as Tn, f as En, g as Dn, h as On, i as kn, l as An, m as jn, o as Mn, s as Nn, t as Pn, u as Fn } from "./CByxip-S_IKsaoyZ.mjs";
23
+ import { t as Y } from "./BJdwKtEOslRkGQhk.mjs";
24
+ import { t as In } from "./CmmaFuVaTfOm96g4.mjs";
25
25
  var X = e(t(), 1), Ln = X.createContext(null);
26
26
  function Rn() {
27
27
  return X.useContext(Ln);
@@ -68,8 +68,8 @@ function Hn(e, t, n, r = !1) {
68
68
  ]);
69
69
  }
70
70
  function Un(e) {
71
- let { children: t, theme: n, themeId: r } = e, i = k(Vn), a = Rn() || Vn, o = Hn(r, i, n), s = Hn(r, a, n, !0), c = (r ? o[r] : o).direction === "rtl", l = function(e) {
72
- let t = k(), n = _t() || "", { modularCssLayers: r } = e, i = "mui.global, mui.components, mui.theme, mui.custom, mui.sx";
71
+ let { children: t, theme: n, themeId: r } = e, i = te(Vn), a = Rn() || Vn, o = Hn(r, i, n), s = Hn(r, a, n, !0), c = (r ? o[r] : o).direction === "rtl", l = function(e) {
72
+ let t = te(), n = _t() || "", { modularCssLayers: r } = e, i = "mui.global, mui.components, mui.theme, mui.custom, mui.sx";
73
73
  return i = r && t === null ? typeof r == "string" ? r.replace(/mui(?!\.)/g, i) : `@layer ${i};` : "", ot(() => {
74
74
  let e = document.querySelector("head");
75
75
  if (!e) return;
@@ -83,7 +83,7 @@ function Un(e) {
83
83
  }(o);
84
84
  return (0, Z.jsx)(Bn, {
85
85
  theme: s,
86
- children: (0, Z.jsx)(ae.Provider, {
86
+ children: (0, Z.jsx)(re.Provider, {
87
87
  value: o,
88
88
  children: (0, Z.jsx)(lt, {
89
89
  value: c,
@@ -249,9 +249,9 @@ function Qn(e) {
249
249
  };
250
250
  }
251
251
  function $n(e) {
252
- return P("MuiToggleButton", e);
252
+ return M("MuiToggleButton", e);
253
253
  }
254
- var er = se("MuiToggleButton", [
254
+ var er = P("MuiToggleButton", [
255
255
  "root",
256
256
  "disabled",
257
257
  "selected",
@@ -264,10 +264,10 @@ var er = se("MuiToggleButton", [
264
264
  "fullWidth"
265
265
  ]);
266
266
  function tr({ theme: e, ...t }) {
267
- let n = "$$material" in e ? e[y] : void 0;
267
+ let n = "$$material" in e ? e[x] : void 0;
268
268
  return (0, Z.jsx)(Un, {
269
269
  ...t,
270
- themeId: n ? y : void 0,
270
+ themeId: n ? x : void 0,
271
271
  theme: n || e
272
272
  });
273
273
  }
@@ -284,30 +284,30 @@ var { CssVarsProvider: nr, useColorScheme: rr, getInitColorSchemeScript: ir } =
284
284
  }, l = X.createContext(void 0), u = {}, d = {}, f = typeof o == "string" ? o : o.light, p = typeof o == "string" ? o : o.dark;
285
285
  return {
286
286
  CssVarsProvider: function(e) {
287
- let { children: c, theme: f, modeStorageKey: p = r, colorSchemeStorageKey: m = i, disableTransitionOnChange: h = a, storageManager: g, storageWindow: _ = typeof window > "u" ? void 0 : window, documentNode: v = typeof document > "u" ? void 0 : document, colorSchemeNode: y = typeof document > "u" ? void 0 : document.documentElement, disableNestedContext: b = !1, disableStyleSheetGeneration: x = !1, defaultMode: S = "system", forceThemeRerender: C = !1, noSsr: w } = e, T = X.useRef(!1), E = Rn(), D = X.useContext(l), O = !!D && !b, ee = X.useMemo(() => f || (typeof n == "function" ? n() : n), [f]), k = ee[t], A = k || ee, { colorSchemes: j = u, components: M = d, cssVarPrefix: te } = A, ne = Object.keys(j).filter((e) => !!j[e]).join(","), N = X.useMemo(() => ne.split(","), [ne]), re = typeof o == "string" ? o : o.light, ie = typeof o == "string" ? o : o.dark, { mode: ae, setMode: P, systemMode: oe, lightColorScheme: se, darkColorScheme: ce, colorScheme: le, setColorScheme: ue } = Qn({
288
- supportedColorSchemes: N,
289
- defaultLightColorScheme: re,
290
- defaultDarkColorScheme: ie,
287
+ let { children: c, theme: f, modeStorageKey: p = r, colorSchemeStorageKey: m = i, disableTransitionOnChange: h = a, storageManager: g, storageWindow: _ = typeof window > "u" ? void 0 : window, documentNode: v = typeof document > "u" ? void 0 : document, colorSchemeNode: y = typeof document > "u" ? void 0 : document.documentElement, disableNestedContext: b = !1, disableStyleSheetGeneration: x = !1, defaultMode: S = "system", forceThemeRerender: C = !1, noSsr: w } = e, T = X.useRef(!1), E = Rn(), D = X.useContext(l), O = !!D && !b, ee = X.useMemo(() => f || (typeof n == "function" ? n() : n), [f]), te = ee[t], k = te || ee, { colorSchemes: A = u, components: j = d, cssVarPrefix: ne } = k, re = Object.keys(A).filter((e) => !!A[e]).join(","), M = X.useMemo(() => re.split(","), [re]), ie = typeof o == "string" ? o : o.light, N = typeof o == "string" ? o : o.dark, { mode: ae, setMode: P, systemMode: F, lightColorScheme: oe, darkColorScheme: se, colorScheme: ce, setColorScheme: I } = Qn({
288
+ supportedColorSchemes: M,
289
+ defaultLightColorScheme: ie,
290
+ defaultDarkColorScheme: N,
291
291
  modeStorageKey: p,
292
292
  colorSchemeStorageKey: m,
293
- defaultMode: j[re] && j[ie] ? S : j[A.defaultColorScheme]?.palette?.mode || A.palette?.mode,
293
+ defaultMode: A[ie] && A[N] ? S : A[k.defaultColorScheme]?.palette?.mode || k.palette?.mode,
294
294
  storageManager: g,
295
295
  storageWindow: _,
296
296
  noSsr: w
297
- }), F = ae, I = le;
298
- O && (F = D.mode, I = D.colorScheme);
299
- let de = I || A.defaultColorScheme;
300
- A.vars && !C && (de = A.defaultColorScheme);
301
- let L = X.useMemo(() => {
302
- let e = A.generateThemeVars?.() || A.vars, t = {
303
- ...A,
304
- components: M,
305
- colorSchemes: j,
306
- cssVarPrefix: te,
297
+ }), le = ae, L = ce;
298
+ O && (le = D.mode, L = D.colorScheme);
299
+ let ue = L || k.defaultColorScheme;
300
+ k.vars && !C && (ue = k.defaultColorScheme);
301
+ let R = X.useMemo(() => {
302
+ let e = k.generateThemeVars?.() || k.vars, t = {
303
+ ...k,
304
+ components: j,
305
+ colorSchemes: A,
306
+ cssVarPrefix: ne,
307
307
  vars: e
308
308
  };
309
- if (typeof t.generateSpacing == "function" && (t.spacing = t.generateSpacing()), de) {
310
- let e = j[de];
309
+ if (typeof t.generateSpacing == "function" && (t.spacing = t.generateSpacing()), ue) {
310
+ let e = A[ue];
311
311
  e && typeof e == "object" && Object.keys(e).forEach((n) => {
312
312
  e[n] && typeof e[n] == "object" ? t[n] = {
313
313
  ...t[n],
@@ -317,31 +317,31 @@ var { CssVarsProvider: nr, useColorScheme: rr, getInitColorSchemeScript: ir } =
317
317
  }
318
318
  return s ? s(t) : t;
319
319
  }, [
320
- A,
321
- de,
322
- M,
320
+ k,
321
+ ue,
323
322
  j,
324
- te
325
- ]), fe = A.colorSchemeSelector;
323
+ A,
324
+ ne
325
+ ]), de = k.colorSchemeSelector;
326
326
  ot(() => {
327
- if (I && y && fe && fe !== "media") {
328
- let e = fe, t = fe;
329
- if (e === "class" && (t = ".%s"), e === "data" && (t = "[data-%s]"), e?.startsWith("data-") && !e.includes("%s") && (t = `[${e}="%s"]`), t.startsWith(".")) y.classList.remove(...N.map((e) => t.substring(1).replace("%s", e))), y.classList.add(t.substring(1).replace("%s", I));
327
+ if (L && y && de && de !== "media") {
328
+ let e = de, t = de;
329
+ if (e === "class" && (t = ".%s"), e === "data" && (t = "[data-%s]"), e?.startsWith("data-") && !e.includes("%s") && (t = `[${e}="%s"]`), t.startsWith(".")) y.classList.remove(...M.map((e) => t.substring(1).replace("%s", e))), y.classList.add(t.substring(1).replace("%s", L));
330
330
  else {
331
- let e = t.replace("%s", I).match(/\[([^\]]+)\]/);
331
+ let e = t.replace("%s", L).match(/\[([^\]]+)\]/);
332
332
  if (e) {
333
333
  let [t, n] = e[1].split("=");
334
- n || N.forEach((e) => {
335
- y.removeAttribute(t.replace(I, e));
334
+ n || M.forEach((e) => {
335
+ y.removeAttribute(t.replace(L, e));
336
336
  }), y.setAttribute(t, n ? n.replace(/"|'/g, "") : "");
337
- } else y.setAttribute(t, I);
337
+ } else y.setAttribute(t, L);
338
338
  }
339
339
  }
340
340
  }, [
341
- I,
342
- fe,
341
+ L,
342
+ de,
343
343
  y,
344
- N
344
+ M
345
345
  ]), X.useEffect(() => {
346
346
  let e;
347
347
  if (h && T.current && v) {
@@ -354,41 +354,41 @@ var { CssVarsProvider: nr, useColorScheme: rr, getInitColorSchemeScript: ir } =
354
354
  clearTimeout(e);
355
355
  };
356
356
  }, [
357
- I,
357
+ L,
358
358
  h,
359
359
  v
360
360
  ]), X.useEffect(() => (T.current = !0, () => {
361
361
  T.current = !1;
362
362
  }), []);
363
- let pe = X.useMemo(() => ({
364
- allColorSchemes: N,
365
- colorScheme: I,
366
- darkColorScheme: ce,
367
- lightColorScheme: se,
368
- mode: F,
369
- setColorScheme: ue,
363
+ let fe = X.useMemo(() => ({
364
+ allColorSchemes: M,
365
+ colorScheme: L,
366
+ darkColorScheme: se,
367
+ lightColorScheme: oe,
368
+ mode: le,
369
+ setColorScheme: I,
370
370
  setMode: P,
371
- systemMode: oe
371
+ systemMode: F
372
372
  }), [
373
- N,
374
- I,
375
- ce,
373
+ M,
374
+ L,
376
375
  se,
377
- F,
378
- ue,
379
- P,
380
376
  oe,
381
- L.colorSchemeSelector
382
- ]), me = !0;
383
- (x || !1 === A.cssVariables || O && E?.cssVarPrefix === te) && (me = !1);
384
- let R = (0, Z.jsxs)(X.Fragment, { children: [(0, Z.jsx)(Un, {
385
- themeId: k ? t : void 0,
386
- theme: L,
377
+ le,
378
+ I,
379
+ P,
380
+ F,
381
+ R.colorSchemeSelector
382
+ ]), pe = !0;
383
+ (x || !1 === k.cssVariables || O && E?.cssVarPrefix === ne) && (pe = !1);
384
+ let z = (0, Z.jsxs)(X.Fragment, { children: [(0, Z.jsx)(Un, {
385
+ themeId: te ? t : void 0,
386
+ theme: R,
387
387
  children: c
388
- }), me && (0, Z.jsx)(bt, { styles: L.generateStyleSheets?.() || [] })] });
389
- return O ? R : (0, Z.jsx)(l.Provider, {
390
- value: pe,
391
- children: R
388
+ }), pe && (0, Z.jsx)(bt, { styles: R.generateStyleSheets?.() || [] })] });
389
+ return O ? z : (0, Z.jsx)(l.Provider, {
390
+ value: fe,
391
+ children: z
392
392
  });
393
393
  },
394
394
  useColorScheme: () => X.useContext(l) || c,
@@ -417,8 +417,8 @@ var { CssVarsProvider: nr, useColorScheme: rr, getInitColorSchemeScript: ir } =
417
417
  })
418
418
  };
419
419
  }({
420
- themeId: y,
421
- theme: () => re({ cssVariables: !0 }),
420
+ themeId: x,
421
+ theme: () => ne({ cssVariables: !0 }),
422
422
  colorSchemeStorageKey: "mui-color-scheme",
423
423
  modeStorageKey: "mui-mode",
424
424
  defaultColorScheme: {
@@ -428,10 +428,10 @@ var { CssVarsProvider: nr, useColorScheme: rr, getInitColorSchemeScript: ir } =
428
428
  resolveTheme: (e) => {
429
429
  let t = {
430
430
  ...e,
431
- typography: ue(e.palette, e.typography)
431
+ typography: se(e.palette, e.typography)
432
432
  };
433
433
  return t.unstable_sx = function(e) {
434
- return de({
434
+ return L({
435
435
  sx: e,
436
436
  theme: this
437
437
  });
@@ -441,7 +441,7 @@ var { CssVarsProvider: nr, useColorScheme: rr, getInitColorSchemeScript: ir } =
441
441
  function or({ theme: e, ...t }) {
442
442
  let n = X.useMemo(() => {
443
443
  if (typeof e == "function") return e;
444
- let t = "$$material" in e ? e[y] : e;
444
+ let t = "$$material" in e ? e[x] : e;
445
445
  return "colorSchemes" in t ? null : "vars" in t ? e : {
446
446
  ...e,
447
447
  vars: null
@@ -456,9 +456,9 @@ function or({ theme: e, ...t }) {
456
456
  });
457
457
  }
458
458
  function sr(e) {
459
- return P("MuiListSubheader", e);
459
+ return M("MuiListSubheader", e);
460
460
  }
461
- se("MuiListSubheader", [
461
+ P("MuiListSubheader", [
462
462
  "root",
463
463
  "colorPrimary",
464
464
  "colorInherit",
@@ -540,16 +540,16 @@ var cr = gt("li", {
540
540
  })(u);
541
541
  return (0, Z.jsx)(cr, {
542
542
  as: a,
543
- className: N(d.root, r),
543
+ className: j(d.root, r),
544
544
  ref: t,
545
545
  ownerState: u,
546
546
  ...l
547
547
  });
548
548
  });
549
549
  function ur(e) {
550
- return P("MuiCard", e);
550
+ return M("MuiCard", e);
551
551
  }
552
- se("MuiCard", ["root"]);
552
+ P("MuiCard", ["root"]);
553
553
  var dr = gt(st, {
554
554
  name: "MuiCard",
555
555
  slot: "Root"
@@ -565,7 +565,7 @@ var dr = gt(st, {
565
565
  return ct({ root: ["root"] }, ur, t);
566
566
  })(o);
567
567
  return (0, Z.jsx)(dr, {
568
- className: N(s.root, r),
568
+ className: j(s.root, r),
569
569
  elevation: i ? 8 : void 0,
570
570
  ref: t,
571
571
  ownerState: o,
@@ -573,9 +573,9 @@ var dr = gt(st, {
573
573
  });
574
574
  });
575
575
  function pr(e) {
576
- return P("MuiCardActions", e);
576
+ return M("MuiCardActions", e);
577
577
  }
578
- se("MuiCardActions", ["root", "spacing"]);
578
+ P("MuiCardActions", ["root", "spacing"]);
579
579
  var mr = gt("div", {
580
580
  name: "MuiCardActions",
581
581
  slot: "Root",
@@ -603,7 +603,7 @@ var mr = gt("div", {
603
603
  return ct({ root: ["root", !n && "spacing"] }, pr, t);
604
604
  })(o);
605
605
  return (0, Z.jsx)(mr, {
606
- className: N(s.root, i),
606
+ className: j(s.root, i),
607
607
  ownerState: o,
608
608
  ref: t,
609
609
  ...a
@@ -696,7 +696,7 @@ var Er = gt(it, {
696
696
  }
697
697
  } }
698
698
  },
699
- ...Object.entries(e.palette).filter(G()).map(([t]) => ({
699
+ ...Object.entries(e.palette).filter(rt()).map(([t]) => ({
700
700
  props: { color: t },
701
701
  style: { [`&.${er.selected}`]: {
702
702
  color: (e.vars || e).palette[t].main,
@@ -752,7 +752,7 @@ var Er = gt(it, {
752
752
  ] }, $n, t);
753
753
  })(v), b = i || "";
754
754
  return (0, Z.jsx)(Er, {
755
- className: N(r.className, y.root, s, b),
755
+ className: j(r.className, y.root, s, b),
756
756
  internalNativeButton: !0,
757
757
  disabled: l,
758
758
  focusRipple: !u,
@@ -769,9 +769,9 @@ var Er = gt(it, {
769
769
  });
770
770
  });
771
771
  function Or(e) {
772
- return P("MuiToggleButtonGroup", e);
772
+ return M("MuiToggleButtonGroup", e);
773
773
  }
774
- var Q = se("MuiToggleButtonGroup", [
774
+ var Q = P("MuiToggleButtonGroup", [
775
775
  "root",
776
776
  "selected",
777
777
  "horizontal",
@@ -902,7 +902,7 @@ var Q = se("MuiToggleButtonGroup", [
902
902
  };
903
903
  return (0, Z.jsx)(kr, {
904
904
  role: "group",
905
- className: N(h.root, i),
905
+ className: j(h.root, i),
906
906
  ref: t,
907
907
  ownerState: m,
908
908
  ...p,
@@ -919,7 +919,7 @@ var Q = se("MuiToggleButtonGroup", [
919
919
  return (0, Z.jsx)(yn, {
920
920
  size: "small",
921
921
  type: "text",
922
- placeholder: M()("condition.enterText"),
922
+ placeholder: C()("condition.enterText"),
923
923
  value: t ?? "",
924
924
  onChange: (e) => n(String(e.target.value)),
925
925
  disabled: r,
@@ -933,7 +933,7 @@ var Nr = (0, X.memo)((e) => {
933
933
  return (0, Z.jsx)(yn, {
934
934
  size: "small",
935
935
  type: "number",
936
- placeholder: M()("condition.enterNumber"),
936
+ placeholder: C()("condition.enterNumber"),
937
937
  value: "" + (t ?? ""),
938
938
  onChange: (e) => n(Number(e.target.value)),
939
939
  disabled: r,
@@ -969,7 +969,7 @@ var Pr = (0, X.createContext)(null), Fr = (e) => {
969
969
  anchor: n
970
970
  };
971
971
  }, Lr = () => {
972
- let e = Ie(), t = (0, X.useContext)(Pr), n = (0, X.useRef)(null), r = e ? Fr(e) : null, i = e?.getName() ?? null, a = (0, X.useMemo)(() => r && i ? {
972
+ let e = Fe(), t = (0, X.useContext)(Pr), n = (0, X.useRef)(null), r = e ? Fr(e) : null, i = e?.getName() ?? null, a = (0, X.useMemo)(() => r && i ? {
973
973
  ...r,
974
974
  scope: i
975
975
  } : void 0, [
@@ -1006,8 +1006,8 @@ var Pr = (0, X.createContext)(null), Fr = (e) => {
1006
1006
  t,
1007
1007
  a
1008
1008
  ]);
1009
- }, Rr = (e, t) => e == null ? "" : e.isIFormula ? "=" + t.display(e) : typeof e == "boolean" ? e ? "TRUE" : "FALSE" : me.isError(e) ? e.getLabel() : String(e), zr = (0, X.memo)((e) => {
1010
- let { option: t, onOptionChange: n, readOnly: r, ...i } = e, a = M(), o = Lr();
1009
+ }, Rr = (e, t) => e == null ? "" : e.isIFormula ? "=" + t.display(e) : typeof e == "boolean" ? e ? "TRUE" : "FALSE" : pe.isError(e) ? e.getLabel() : String(e), zr = (0, X.memo)((e) => {
1010
+ let { option: t, onOptionChange: n, readOnly: r, ...i } = e, a = C(), o = Lr();
1011
1011
  return (0, Z.jsx)(In, {
1012
1012
  size: "small",
1013
1013
  home: o.home,
@@ -1041,32 +1041,32 @@ var Br = (e, t, n) => {
1041
1041
  if (e == null) return "";
1042
1042
  if (e.isIFormula) return "=" + n.display(e);
1043
1043
  if (Array.isArray(e)) return e.map((e) => String(e ?? "")).join(t);
1044
- let r = _e.parseListLiteral(e);
1044
+ let r = me.parseListLiteral(e);
1045
1045
  return r ? r.join(t) : e.length > 0 ? "=" + e : "";
1046
1046
  }, Vr = (0, X.memo)((e) => {
1047
- let { option: t, onOptionChange: n, readOnly: r, sx: a, ...o } = e, s = M(), c = Ie(), l = (0, X.useContext)(Pr), u = Lr(), d = ye(c?.getWorkbook()?.getLocale() ?? "en").listSeparator, [f, p] = (0, X.useState)(null), h = t?.items, [g, _] = (0, X.useState)(null), v = (0, X.useRef)(0);
1047
+ let { option: t, onOptionChange: n, readOnly: r, sx: i, ...a } = e, o = C(), s = Fe(), c = (0, X.useContext)(Pr), l = Lr(), u = be(s?.getWorkbook()?.getLocale() ?? "en").listSeparator, [d, p] = (0, X.useState)(null), h = t?.items, [g, _] = (0, X.useState)(null), y = (0, X.useRef)(0);
1048
1048
  (0, X.useEffect)(() => {
1049
- if (!l?.getListItemsAt || !c) return void _(null);
1050
- let e = ++v.current, { rowIndex: t, colIndex: n } = Fr(c);
1051
- l.getListItemsAt(t, n).then((t) => {
1052
- e === v.current && _(t);
1049
+ if (!c?.getListItemsAt || !s) return void _(null);
1050
+ let e = ++y.current, { rowIndex: t, colIndex: n } = Fr(s);
1051
+ c.getListItemsAt(t, n).then((t) => {
1052
+ e === y.current && _(t);
1053
1053
  }, () => {
1054
- e === v.current && _([]);
1054
+ e === y.current && _([]);
1055
1055
  });
1056
1056
  }, [
1057
- l,
1058
1057
  c,
1058
+ s,
1059
1059
  h
1060
1060
  ]);
1061
- let [y, x] = (0, X.useState)(null), { className: C } = b(S()?.themeScope), w = (0, X.useMemo)(() => c?.getStyles().getNormal().getFont().toCSS("adaptive"), [c]), [T, E] = (0, X.useState)(null), D = T ?? f;
1062
- return (0, Z.jsxs)(F, {
1061
+ let [b, x] = (0, X.useState)(null), { className: S } = w(v()?.themeScope), T = (0, X.useMemo)(() => s?.getStyles().getNormal().getFont().toCSS("adaptive"), [s]), [E, D] = (0, X.useState)(null), O = E ?? d;
1062
+ return (0, Z.jsxs)(I, {
1063
1063
  sx: {
1064
1064
  display: "flex",
1065
1065
  flexDirection: "column",
1066
1066
  mt: .75,
1067
- ...a
1067
+ ...i
1068
1068
  },
1069
- children: [(0, Z.jsxs)(F, {
1069
+ children: [(0, Z.jsxs)(I, {
1070
1070
  sx: {
1071
1071
  display: "flex",
1072
1072
  alignItems: "stretch",
@@ -1074,8 +1074,8 @@ var Br = (e, t, n) => {
1074
1074
  },
1075
1075
  children: [(0, Z.jsx)(In, {
1076
1076
  size: "small",
1077
- home: u.home,
1078
- value: Br(h, d, u),
1077
+ home: l.home,
1078
+ value: Br(h, u, l),
1079
1079
  onChangeText: (e) => {
1080
1080
  let r = ((e, t, n) => {
1081
1081
  if (e.length === 0) return { items: "" };
@@ -1086,29 +1086,29 @@ var Br = (e, t, n) => {
1086
1086
  let t = e;
1087
1087
  for (; t?.type === "paren" && t.inputs?.length === 1;) t = t.inputs[0];
1088
1088
  return t?.type === "list" || t?.type === "paren" && (t.inputs?.length ?? 0) > 1;
1089
- })(Se.parse(t.getExpression())) ? { error: i("condition.listSourceOneRange") } : { items: t.getExpression() };
1089
+ })(ye.parse(t.getExpression())) ? { error: f("condition.listSourceOneRange") } : { items: t.getExpression() };
1090
1090
  }
1091
- let r = _e.formatListLiteral(e.split(t));
1092
- return r === null ? { error: i("condition.listItemHasComma") } : { items: r };
1093
- })(e, d, u);
1091
+ let r = me.formatListLiteral(e.split(t));
1092
+ return r === null ? { error: f("condition.listItemHasComma") } : { items: r };
1093
+ })(e, u, l);
1094
1094
  p(r.error ?? null), r.items !== void 0 && n({
1095
1095
  ...t,
1096
1096
  items: r.items
1097
1097
  });
1098
1098
  },
1099
- label: s("condition.listSource"),
1100
- placeholder: s("condition.enterListSource"),
1099
+ label: o("condition.listSource"),
1100
+ placeholder: o("condition.enterListSource"),
1101
1101
  disabled: r,
1102
1102
  fullWidth: !0,
1103
1103
  equals: "literal",
1104
1104
  pickAs: "absolute",
1105
1105
  allowMulti: !1,
1106
- validationError: f,
1107
- onChangeError: E,
1106
+ validationError: d,
1107
+ onChangeError: D,
1108
1108
  showError: !1,
1109
1109
  helperText: null,
1110
- ...o
1111
- }), g !== null && (0, Z.jsxs)(Z.Fragment, { children: [(0, Z.jsx)(nt, {
1110
+ ...a
1111
+ }), g !== null && (0, Z.jsxs)(Z.Fragment, { children: [(0, Z.jsx)(tt, {
1112
1112
  size: "small",
1113
1113
  variant: "outlined",
1114
1114
  color: "inherit",
@@ -1120,20 +1120,20 @@ var Br = (e, t, n) => {
1120
1120
  justifyContent: "space-between",
1121
1121
  textTransform: "none"
1122
1122
  },
1123
- children: (0, Z.jsx)(F, {
1123
+ children: (0, Z.jsx)(I, {
1124
1124
  component: "span",
1125
1125
  sx: {
1126
1126
  overflow: "hidden",
1127
1127
  textOverflow: "ellipsis",
1128
1128
  whiteSpace: "nowrap"
1129
1129
  },
1130
- children: s("condition.listPreview", { count: g.length })
1130
+ children: o("condition.listPreview", { count: g.length })
1131
1131
  })
1132
1132
  }), (0, Z.jsx)(Tt, {
1133
- open: !!y,
1134
- anchorEl: y,
1133
+ open: !!b,
1134
+ anchorEl: b,
1135
1135
  onClose: () => x(null),
1136
- className: C,
1136
+ className: S,
1137
1137
  anchorOrigin: {
1138
1138
  vertical: "bottom",
1139
1139
  horizontal: "right"
@@ -1142,28 +1142,28 @@ var Br = (e, t, n) => {
1142
1142
  vertical: "top",
1143
1143
  horizontal: "right"
1144
1144
  },
1145
- children: (0, Z.jsx)(Ke, {
1145
+ children: (0, Z.jsx)(Ge, {
1146
1146
  items: g,
1147
- minWidth: y?.getBoundingClientRect().width,
1148
- style: w,
1147
+ minWidth: b?.getBoundingClientRect().width,
1148
+ style: T,
1149
1149
  onChoose: () => x(null)
1150
1150
  })
1151
1151
  })] })]
1152
- }), D && (0, Z.jsx)(vn, {
1152
+ }), O && (0, Z.jsx)(vn, {
1153
1153
  error: !0,
1154
- children: s(D)
1154
+ children: o(O)
1155
1155
  })]
1156
1156
  });
1157
1157
  });
1158
1158
  Vr.displayName = "ListSourceOption";
1159
1159
  var Hr = {}, Ur = (0, X.memo)((e) => {
1160
- let { option: t, onOptionChange: n, className: r, readOnly: i, ...a } = e, o = M(), s = t?.type ?? B.AverageType.Above, c = t?.stdDevs ?? "", l = { backgroundColor: "background.paper" };
1160
+ let { option: t, onOptionChange: n, className: r, readOnly: i, ...a } = e, o = C(), s = t?.type ?? V.AverageType.Above, c = t?.stdDevs ?? "", l = { backgroundColor: "background.paper" };
1161
1161
  return i && (l = {
1162
1162
  ...l,
1163
1163
  "& .MuiSelect-icon": { display: "none" },
1164
1164
  "& .MuiOutlinedInput-notchedOutline": { borderColor: "action.disabled" }
1165
- }), (0, Z.jsxs)(F, {
1166
- className: L(r, Hr.option),
1165
+ }), (0, Z.jsxs)(I, {
1166
+ className: R(r, Hr.option),
1167
1167
  ...a,
1168
1168
  sx: {
1169
1169
  display: "flex",
@@ -1187,10 +1187,10 @@ var Hr = {}, Ur = (0, X.memo)((e) => {
1187
1187
  type: e.target.value
1188
1188
  }),
1189
1189
  children: [(0, Z.jsx)(Y, {
1190
- value: B.AverageType.Above,
1190
+ value: V.AverageType.Above,
1191
1191
  children: o("condition.above")
1192
1192
  }), (0, Z.jsx)(Y, {
1193
- value: B.AverageType.Below,
1193
+ value: V.AverageType.Below,
1194
1194
  children: o("condition.below")
1195
1195
  })]
1196
1196
  })
@@ -1210,8 +1210,8 @@ var Hr = {}, Ur = (0, X.memo)((e) => {
1210
1210
  });
1211
1211
  });
1212
1212
  Ur.displayName = "AverageOption";
1213
- var Wr = 0, Gr = /* @__PURE__ */ new WeakMap(), Kr = Object.freeze([B.BuiltInOperatorNames.Icon, B.BuiltInOperatorNames.Color]), qr = (e, t, n, r = Kr) => {
1214
- let i = t ?? Object.values(_e.BuiltInOperators), a = e?.getSelectType() ?? null, o = e?.isList;
1213
+ var Wr = 0, Gr = /* @__PURE__ */ new WeakMap(), Kr = Object.freeze([V.BuiltInOperatorNames.Icon, V.BuiltInOperatorNames.Color]), qr = (e, t, n, r = Kr) => {
1214
+ let i = t ?? Object.values(me.BuiltInOperators), a = e?.getSelectType() ?? null, o = e?.isList;
1215
1215
  return i.filter((t) => {
1216
1216
  if (r.includes(t.getName())) return !1;
1217
1217
  let n = t.acceptsList?.();
@@ -1226,7 +1226,7 @@ var Wr = 0, Gr = /* @__PURE__ */ new WeakMap(), Kr = Object.freeze([B.BuiltInOpe
1226
1226
  disableSticky: !0,
1227
1227
  sx: Xr,
1228
1228
  children: n("condition.groupBasic")
1229
- }, "__header:leaf")), a.forEach((e) => s.push(t(e)))), a.length > 0 && o.length > 0 && s.push((0, Z.jsx)(qe, {}, "__divider")), o.length > 0 && (s.push((0, Z.jsx)(lr, {
1229
+ }, "__header:leaf")), a.forEach((e) => s.push(t(e)))), a.length > 0 && o.length > 0 && s.push((0, Z.jsx)(Ke, {}, "__divider")), o.length > 0 && (s.push((0, Z.jsx)(lr, {
1230
1230
  disableSticky: !0,
1231
1231
  sx: Xr,
1232
1232
  children: n("condition.groupCombine")
@@ -1254,15 +1254,15 @@ var Wr = 0, Gr = /* @__PURE__ */ new WeakMap(), Kr = Object.freeze([B.BuiltInOpe
1254
1254
  header: e("condition.period.day"),
1255
1255
  options: [
1256
1256
  {
1257
- value: B.TimePeriodType.Today,
1257
+ value: V.TimePeriodType.Today,
1258
1258
  label: e("condition.period.today")
1259
1259
  },
1260
1260
  {
1261
- value: B.TimePeriodType.Yesterday,
1261
+ value: V.TimePeriodType.Yesterday,
1262
1262
  label: e("condition.period.yesterday")
1263
1263
  },
1264
1264
  {
1265
- value: B.TimePeriodType.Tomorrow,
1265
+ value: V.TimePeriodType.Tomorrow,
1266
1266
  label: e("condition.period.tomorrow")
1267
1267
  }
1268
1268
  ]
@@ -1271,15 +1271,15 @@ var Wr = 0, Gr = /* @__PURE__ */ new WeakMap(), Kr = Object.freeze([B.BuiltInOpe
1271
1271
  header: e("condition.period.week"),
1272
1272
  options: [
1273
1273
  {
1274
- value: B.TimePeriodType.ThisWeek,
1274
+ value: V.TimePeriodType.ThisWeek,
1275
1275
  label: e("condition.period.thisWeek")
1276
1276
  },
1277
1277
  {
1278
- value: B.TimePeriodType.LastWeek,
1278
+ value: V.TimePeriodType.LastWeek,
1279
1279
  label: e("condition.period.lastWeek")
1280
1280
  },
1281
1281
  {
1282
- value: B.TimePeriodType.NextWeek,
1282
+ value: V.TimePeriodType.NextWeek,
1283
1283
  label: e("condition.period.nextWeek")
1284
1284
  }
1285
1285
  ]
@@ -1288,15 +1288,15 @@ var Wr = 0, Gr = /* @__PURE__ */ new WeakMap(), Kr = Object.freeze([B.BuiltInOpe
1288
1288
  header: e("condition.period.month"),
1289
1289
  options: [
1290
1290
  {
1291
- value: B.TimePeriodType.ThisMonth,
1291
+ value: V.TimePeriodType.ThisMonth,
1292
1292
  label: e("condition.period.thisMonth")
1293
1293
  },
1294
1294
  {
1295
- value: B.TimePeriodType.LastMonth,
1295
+ value: V.TimePeriodType.LastMonth,
1296
1296
  label: e("condition.period.lastMonth")
1297
1297
  },
1298
1298
  {
1299
- value: B.TimePeriodType.NextMonth,
1299
+ value: V.TimePeriodType.NextMonth,
1300
1300
  label: e("condition.period.nextMonth")
1301
1301
  }
1302
1302
  ]
@@ -1304,10 +1304,10 @@ var Wr = 0, Gr = /* @__PURE__ */ new WeakMap(), Kr = Object.freeze([B.BuiltInOpe
1304
1304
  {
1305
1305
  header: e("condition.period.year"),
1306
1306
  options: [{
1307
- value: B.TimePeriodType.YearToDate,
1307
+ value: V.TimePeriodType.YearToDate,
1308
1308
  label: e("condition.period.yearToDate")
1309
1309
  }, {
1310
- value: B.TimePeriodType.LastYear,
1310
+ value: V.TimePeriodType.LastYear,
1311
1311
  label: e("condition.period.lastYear")
1312
1312
  }]
1313
1313
  },
@@ -1315,51 +1315,51 @@ var Wr = 0, Gr = /* @__PURE__ */ new WeakMap(), Kr = Object.freeze([B.BuiltInOpe
1315
1315
  header: e("condition.period.byMonth"),
1316
1316
  options: [
1317
1317
  {
1318
- value: B.TimePeriodType.M1,
1318
+ value: V.TimePeriodType.M1,
1319
1319
  label: n(0)
1320
1320
  },
1321
1321
  {
1322
- value: B.TimePeriodType.M2,
1322
+ value: V.TimePeriodType.M2,
1323
1323
  label: n(1)
1324
1324
  },
1325
1325
  {
1326
- value: B.TimePeriodType.M3,
1326
+ value: V.TimePeriodType.M3,
1327
1327
  label: n(2)
1328
1328
  },
1329
1329
  {
1330
- value: B.TimePeriodType.M4,
1330
+ value: V.TimePeriodType.M4,
1331
1331
  label: n(3)
1332
1332
  },
1333
1333
  {
1334
- value: B.TimePeriodType.M5,
1334
+ value: V.TimePeriodType.M5,
1335
1335
  label: n(4)
1336
1336
  },
1337
1337
  {
1338
- value: B.TimePeriodType.M6,
1338
+ value: V.TimePeriodType.M6,
1339
1339
  label: n(5)
1340
1340
  },
1341
1341
  {
1342
- value: B.TimePeriodType.M7,
1342
+ value: V.TimePeriodType.M7,
1343
1343
  label: n(6)
1344
1344
  },
1345
1345
  {
1346
- value: B.TimePeriodType.M8,
1346
+ value: V.TimePeriodType.M8,
1347
1347
  label: n(7)
1348
1348
  },
1349
1349
  {
1350
- value: B.TimePeriodType.M9,
1350
+ value: V.TimePeriodType.M9,
1351
1351
  label: n(8)
1352
1352
  },
1353
1353
  {
1354
- value: B.TimePeriodType.M10,
1354
+ value: V.TimePeriodType.M10,
1355
1355
  label: n(9)
1356
1356
  },
1357
1357
  {
1358
- value: B.TimePeriodType.M11,
1358
+ value: V.TimePeriodType.M11,
1359
1359
  label: n(10)
1360
1360
  },
1361
1361
  {
1362
- value: B.TimePeriodType.M12,
1362
+ value: V.TimePeriodType.M12,
1363
1363
  label: n(11)
1364
1364
  }
1365
1365
  ]
@@ -1368,38 +1368,38 @@ var Wr = 0, Gr = /* @__PURE__ */ new WeakMap(), Kr = Object.freeze([B.BuiltInOpe
1368
1368
  header: e("condition.period.byQuarter"),
1369
1369
  options: [
1370
1370
  {
1371
- value: B.TimePeriodType.ThisQuarter,
1371
+ value: V.TimePeriodType.ThisQuarter,
1372
1372
  label: e("condition.period.thisQuarter")
1373
1373
  },
1374
1374
  {
1375
- value: B.TimePeriodType.LastQuarter,
1375
+ value: V.TimePeriodType.LastQuarter,
1376
1376
  label: e("condition.period.lastQuarter")
1377
1377
  },
1378
1378
  {
1379
- value: B.TimePeriodType.NextQuarter,
1379
+ value: V.TimePeriodType.NextQuarter,
1380
1380
  label: e("condition.period.nextQuarter")
1381
1381
  },
1382
1382
  {
1383
- value: B.TimePeriodType.Q1,
1383
+ value: V.TimePeriodType.Q1,
1384
1384
  label: e("condition.period.q1")
1385
1385
  },
1386
1386
  {
1387
- value: B.TimePeriodType.Q2,
1387
+ value: V.TimePeriodType.Q2,
1388
1388
  label: e("condition.period.q2")
1389
1389
  },
1390
1390
  {
1391
- value: B.TimePeriodType.Q3,
1391
+ value: V.TimePeriodType.Q3,
1392
1392
  label: e("condition.period.q3")
1393
1393
  },
1394
1394
  {
1395
- value: B.TimePeriodType.Q4,
1395
+ value: V.TimePeriodType.Q4,
1396
1396
  label: e("condition.period.q4")
1397
1397
  }
1398
1398
  ]
1399
1399
  }
1400
1400
  ];
1401
- }(M(), C()), o = t?.type ?? B.TimePeriodType.Today;
1402
- return (0, Z.jsx)(F, {
1401
+ }(C(), F()), o = t?.type ?? V.TimePeriodType.Today;
1402
+ return (0, Z.jsx)(I, {
1403
1403
  ...i,
1404
1404
  sx: {
1405
1405
  display: "flex",
@@ -1423,7 +1423,7 @@ var Wr = 0, Gr = /* @__PURE__ */ new WeakMap(), Kr = Object.freeze([B.BuiltInOpe
1423
1423
  disabled: r,
1424
1424
  children: a.map((e, t) => {
1425
1425
  let n = [];
1426
- return t > 0 && n.push((0, Z.jsx)(qe, {}, `divider-${t}`)), n.push((0, Z.jsx)(lr, {
1426
+ return t > 0 && n.push((0, Z.jsx)(Ke, {}, `divider-${t}`)), n.push((0, Z.jsx)(lr, {
1427
1427
  sx: Xr,
1428
1428
  children: e.header
1429
1429
  }, `header-${t}`)), e.options.map((e) => n.push((0, Z.jsx)(Y, {
@@ -1438,8 +1438,8 @@ var Wr = 0, Gr = /* @__PURE__ */ new WeakMap(), Kr = Object.freeze([B.BuiltInOpe
1438
1438
  });
1439
1439
  Qr.displayName = "TimePeriodOption";
1440
1440
  var $r = (0, X.memo)((e) => {
1441
- let { option: t, onOptionChange: n, readOnly: r, ...i } = e, a = M(), o = t?.top ?? !0, s = t?.limit ?? 10, c = t?.percent ?? !1;
1442
- return (0, Z.jsxs)(F, {
1441
+ let { option: t, onOptionChange: n, readOnly: r, ...i } = e, a = C(), o = t?.top ?? !0, s = t?.limit ?? 10, c = t?.percent ?? !1;
1442
+ return (0, Z.jsxs)(I, {
1443
1443
  ...i,
1444
1444
  sx: {
1445
1445
  display: "flex",
@@ -1517,8 +1517,8 @@ var $r = (0, X.memo)((e) => {
1517
1517
  });
1518
1518
  $r.displayName = "TopNOption";
1519
1519
  var ei = (0, X.memo)((e) => {
1520
- let { option: t, onOptionChange: n, readOnly: r, ...i } = e, a = M();
1521
- return (0, Z.jsxs)(F, {
1520
+ let { option: t, onOptionChange: n, readOnly: r, ...i } = e, a = C();
1521
+ return (0, Z.jsxs)(I, {
1522
1522
  ...i,
1523
1523
  sx: {
1524
1524
  display: "flex",
@@ -1559,7 +1559,7 @@ var ei = (0, X.memo)((e) => {
1559
1559
  });
1560
1560
  ei.displayName = "BetweenOption";
1561
1561
  var ti = (0, X.memo)((e) => {
1562
- let { option: t, onOptionChange: n, readOnly: r, ...i } = e, a = M(), o = Lr(), s = t?.isIFormula ? o.display(t) : t ?? "";
1562
+ let { option: t, onOptionChange: n, readOnly: r, ...i } = e, a = C(), o = Lr(), s = t?.isIFormula ? o.display(t) : t ?? "";
1563
1563
  return (0, Z.jsx)(In, {
1564
1564
  size: "small",
1565
1565
  home: o.home,
@@ -1577,7 +1577,7 @@ var ti = (0, X.memo)((e) => {
1577
1577
  });
1578
1578
  ti.displayName = "ExpressionOption";
1579
1579
  var ni = (0, X.memo)((e) => {
1580
- let { value: t = null, selectors: n, onChange: r, title: i, allowNull: a = !1, readOnly: o = !1, ...s } = e, c = M(), l = i ?? c("condition.selectorTitle"), u = n.map((e) => {
1580
+ let { value: t = null, selectors: n, onChange: r, title: i, allowNull: a = !1, readOnly: o = !1, ...s } = e, c = C(), l = i ?? c("condition.selectorTitle"), u = n.map((e) => {
1581
1581
  let t = e.getName();
1582
1582
  return (0, Z.jsx)(Y, {
1583
1583
  value: t,
@@ -1613,7 +1613,7 @@ var ni = (0, X.memo)((e) => {
1613
1613
  });
1614
1614
  ni.displayName = "SelectorSelect";
1615
1615
  var ri = (0, X.memo)((e) => {
1616
- let { value: t, operators: n, onChange: r, title: i, readOnly: a = !1, ...o } = e, s = M(), c = C(), l = i ?? s("condition.operatorTitle"), u = /* @__PURE__ */ new Map();
1616
+ let { value: t, operators: n, onChange: r, title: i, readOnly: a = !1, ...o } = e, s = C(), c = F(), l = i ?? s("condition.operatorTitle"), u = /* @__PURE__ */ new Map();
1617
1617
  n.forEach((e) => {
1618
1618
  u.set(e.getName(), e);
1619
1619
  });
@@ -1647,7 +1647,7 @@ var ri = (0, X.memo)((e) => {
1647
1647
  });
1648
1648
  ri.displayName = "OperatorSelect";
1649
1649
  var ii = (0, X.memo)((0, X.forwardRef)((e, t) => {
1650
- let { icon: n, tooltip: r, label: i, darkMode: a, propsPanel: o, value: s, operators: c, onChange: l, title: u, readOnly: d = !1, ...f } = e, p = M(), h = C();
1650
+ let { icon: n, tooltip: r, label: i, darkMode: a, propsPanel: o, value: s, operators: c, onChange: l, title: u, readOnly: d = !1, ...f } = e, p = C(), h = F();
1651
1651
  u ?? p("condition.operatorTitle");
1652
1652
  let g = n || (0, Z.jsx)(m, { iconKey: "Add" }), _ = (0, X.useRef)(l);
1653
1653
  return _.current = l, (0, Z.jsx)(Cn, {
@@ -1670,7 +1670,7 @@ var ii = (0, X.memo)((0, X.forwardRef)((e, t) => {
1670
1670
  },
1671
1671
  ...o,
1672
1672
  onKeyDown: (e) => {
1673
- e.which === O.Enter && t?.();
1673
+ e.which === ee.Enter && t?.();
1674
1674
  },
1675
1675
  children: (0, Z.jsx)(St, {
1676
1676
  disablePadding: !0,
@@ -1689,8 +1689,8 @@ var ii = (0, X.memo)((0, X.forwardRef)((e, t) => {
1689
1689
  ...f
1690
1690
  });
1691
1691
  })), ai = (0, X.memo)((e) => {
1692
- let { operator: t, inputs: n, onOptionChange: r, operators: i, selector: a, readOnly: o, ...s } = e, c = M(), l = t.getName() === "not", u = l ? null : t.getName() === "and" ? c("condition.and") : c("condition.or"), d = l ? c("condition.not") : u;
1693
- return (0, Z.jsx)(F, {
1692
+ let { operator: t, inputs: n, onOptionChange: r, operators: i, selector: a, readOnly: o, ...s } = e, c = C(), l = t.getName() === "not", u = l ? null : t.getName() === "and" ? c("condition.and") : c("condition.or"), d = l ? c("condition.not") : u;
1693
+ return (0, Z.jsx)(I, {
1694
1694
  sx: {
1695
1695
  display: "flex",
1696
1696
  flexDirection: "column",
@@ -1729,7 +1729,7 @@ var ii = (0, X.memo)((0, X.forwardRef)((e, t) => {
1729
1729
  });
1730
1730
  ai.displayName = "CombinatorOption";
1731
1731
  var oi = (0, X.memo)((e) => {
1732
- let { option: t, onOptionChange: n, readOnly: r } = e, i = M();
1732
+ let { option: t, onOptionChange: n, readOnly: r } = e, i = C();
1733
1733
  return (0, Z.jsxs)(Ar, {
1734
1734
  exclusive: !0,
1735
1735
  size: "small",
@@ -1762,10 +1762,10 @@ function ci(e) {
1762
1762
  }
1763
1763
  oi.displayName = "BooleanOption";
1764
1764
  var li = (0, X.memo)((e) => {
1765
- let { option: t, onOptionChange: n, allowFormula: r, readOnly: i, type: a = "dateTime", ...o } = e, s = M(), c = a === "date" || a === "dateTime", l = a === "time" || a === "dateTime", u = Ie(), d = (0, X.useCallback)((e) => {
1765
+ let { option: t, onOptionChange: n, allowFormula: r, readOnly: i, type: a = "dateTime", ...o } = e, s = C(), c = a === "date" || a === "dateTime", l = a === "time" || a === "dateTime", u = Fe(), d = (0, X.useCallback)((e) => {
1766
1766
  if (!u || e === null) return null;
1767
1767
  let t = u.createCell({ value: e }), n = t.getValue();
1768
- return t.getType() === R.Number ? n : null;
1768
+ return t.getType() === z.Number ? n : null;
1769
1769
  }, [u]), f = (0, X.useCallback)((e) => u ? u.createCell({
1770
1770
  value: e,
1771
1771
  style: { numberFormat: "Short DateTime" }
@@ -1781,7 +1781,7 @@ var li = (0, X.memo)((e) => {
1781
1781
  let g = function(e) {
1782
1782
  return !e || isNaN(e.getTime()) ? "" : `${String(e.getHours()).padStart(2, "0")}:${String(e.getMinutes()).padStart(2, "0")}`;
1783
1783
  }(p);
1784
- return (0, Z.jsxs)(F, {
1784
+ return (0, Z.jsxs)(I, {
1785
1785
  ...o,
1786
1786
  sx: {
1787
1787
  display: "flex",
@@ -1813,7 +1813,7 @@ var li = (0, X.memo)((e) => {
1813
1813
  });
1814
1814
  });
1815
1815
  li.displayName = "DateTimeOption";
1816
- var ui = B.BuiltInOperatorNames, di = /* @__PURE__ */ new Set([
1816
+ var ui = V.BuiltInOperatorNames, di = /* @__PURE__ */ new Set([
1817
1817
  ui.EqualTo,
1818
1818
  ui.GreaterThan,
1819
1819
  ui.GreaterThanEqualTo,
@@ -1824,11 +1824,11 @@ var ui = B.BuiltInOperatorNames, di = /* @__PURE__ */ new Set([
1824
1824
  ui.Before,
1825
1825
  ui.BeforeEqualTo
1826
1826
  ]), fi = (0, X.memo)((e) => {
1827
- let { operatorParam: t, onOperatorParamChange: n, onRemove: r, operators: i, selector: a, operatorTitle: o, readOnly: s, required: c, ...l } = e, u = M(), d = o ?? u("condition.when"), f = t?.operator ?? null, p = i.find((e) => e.getName() === f) ?? null, h = t?.param ?? null, g = !!p?.isCombinator?.(), [_, { width: v }] = fe(), y = (0, X.useMemo)(() => !p || g ? null : p.getParamType?.(a ?? void 0) ?? null, [
1827
+ let { operatorParam: t, onOperatorParamChange: n, onRemove: r, operators: i, selector: a, operatorTitle: o, readOnly: s, required: c, ...l } = e, u = C(), d = o ?? u("condition.when"), f = t?.operator ?? null, p = i.find((e) => e.getName() === f) ?? null, h = t?.param ?? null, g = !!p?.isCombinator?.(), [_, { width: v }] = de(), y = (0, X.useMemo)(() => !p || g ? null : p.getParamType?.(a ?? void 0) ?? null, [
1828
1828
  p,
1829
1829
  g,
1830
1830
  a
1831
- ]), b = !g && y !== "list" && v > 360, x = A((e) => {
1831
+ ]), b = !g && y !== "list" && v > 360, x = D((e) => {
1832
1832
  n({
1833
1833
  operator: f,
1834
1834
  param: e
@@ -1843,7 +1843,7 @@ var ui = B.BuiltInOperatorNames, di = /* @__PURE__ */ new Set([
1843
1843
  option: h,
1844
1844
  onOptionChange: x
1845
1845
  }, t = !!f && di.has(f);
1846
- return y === B.BuiltInSelectorNames.Number || y === B.BuiltInSelectorNames.TextLength ? (0, Z.jsx)(t ? zr : Nr, { ...e }) : y === B.BuiltInSelectorNames.Whole ? t ? (0, Z.jsx)(zr, { ...e }) : (0, Z.jsx)(Nr, {
1846
+ return y === V.BuiltInSelectorNames.Number || y === V.BuiltInSelectorNames.TextLength ? (0, Z.jsx)(t ? zr : Nr, { ...e }) : y === V.BuiltInSelectorNames.Whole ? t ? (0, Z.jsx)(zr, { ...e }) : (0, Z.jsx)(Nr, {
1847
1847
  ...e,
1848
1848
  placeholder: u("condition.enterWholeNumber"),
1849
1849
  slotProps: { htmlInput: {
@@ -1860,28 +1860,28 @@ var ui = B.BuiltInOperatorNames, di = /* @__PURE__ */ new Set([
1860
1860
  /^-?\d+$/.test(e.clipboardData.getData("text")) || e.preventDefault();
1861
1861
  }
1862
1862
  } }
1863
- }) : y === B.BuiltInSelectorNames.Text ? (0, Z.jsx)(t ? zr : Mr, { ...e }) : y === B.BuiltInSelectorNames.DateTime ? (0, Z.jsx)(li, {
1863
+ }) : y === V.BuiltInSelectorNames.Text ? (0, Z.jsx)(t ? zr : Mr, { ...e }) : y === V.BuiltInSelectorNames.DateTime ? (0, Z.jsx)(li, {
1864
1864
  ...e,
1865
1865
  allowFormula: t
1866
- }) : y === B.BuiltInSelectorNames.Date ? (0, Z.jsx)(li, {
1866
+ }) : y === V.BuiltInSelectorNames.Date ? (0, Z.jsx)(li, {
1867
1867
  ...e,
1868
1868
  type: "date",
1869
1869
  allowFormula: t
1870
- }) : y === B.BuiltInSelectorNames.Time ? (0, Z.jsx)(li, {
1870
+ }) : y === V.BuiltInSelectorNames.Time ? (0, Z.jsx)(li, {
1871
1871
  ...e,
1872
1872
  type: "time",
1873
1873
  allowFormula: t
1874
- }) : y === B.BuiltInSelectorNames.List ? (0, Z.jsx)(Vr, { ...e }) : y === B.BuiltInSelectorNames.Logical ? (0, Z.jsx)(oi, { ...e }) : y === B.BuiltInOperatorNames.Average ? (0, Z.jsx)(Ur, { ...e }) : y === B.BuiltInOperatorNames.TimePeriod ? (0, Z.jsx)(Qr, { ...e }) : y === B.BuiltInOperatorNames.TopN ? (0, Z.jsx)($r, { ...e }) : y === B.BuiltInOperatorNames.Between ? (0, Z.jsx)(ei, { ...e }) : y === B.BuiltInOperatorNames.Expression ? (0, Z.jsx)(ti, { ...e }) : null;
1874
+ }) : y === V.BuiltInSelectorNames.List ? (0, Z.jsx)(Vr, { ...e }) : y === V.BuiltInSelectorNames.Logical ? (0, Z.jsx)(oi, { ...e }) : y === V.BuiltInOperatorNames.Average ? (0, Z.jsx)(Ur, { ...e }) : y === V.BuiltInOperatorNames.TimePeriod ? (0, Z.jsx)(Qr, { ...e }) : y === V.BuiltInOperatorNames.TopN ? (0, Z.jsx)($r, { ...e }) : y === V.BuiltInOperatorNames.Between ? (0, Z.jsx)(ei, { ...e }) : y === V.BuiltInOperatorNames.Expression ? (0, Z.jsx)(ti, { ...e }) : null;
1875
1875
  }, [
1876
1876
  p,
1877
1877
  g,
1878
1878
  y,
1879
1879
  h,
1880
1880
  u
1881
- ]), C = (0, X.useMemo)(() => g && h ? Array.isArray(h) ? h : [h] : [], [g, h]), w = g && p?.getName() === "not", T = (e) => {
1881
+ ]), w = (0, X.useMemo)(() => g && h ? Array.isArray(h) ? h : [h] : [], [g, h]), T = g && p?.getName() === "not", E = (e) => {
1882
1882
  if (!e || e === p) return;
1883
1883
  let t, r = !!e.isCombinator?.();
1884
- if (r && g) t = e.getName() === "not" ? C[0] ?? Yr(e, i, a) : C.length > 0 ? C : Yr(e, i, a);
1884
+ if (r && g) t = e.getName() === "not" ? w[0] ?? Yr(e, i, a) : w.length > 0 ? w : Yr(e, i, a);
1885
1885
  else {
1886
1886
  let n = p?.getParamType?.(a ?? void 0) ?? null, o = e.getParamType?.(a ?? void 0) ?? null;
1887
1887
  t = !r && o && o === n ? h : Yr(e, i, a);
@@ -1891,7 +1891,7 @@ var ui = B.BuiltInOperatorNames, di = /* @__PURE__ */ new Set([
1891
1891
  param: t
1892
1892
  });
1893
1893
  };
1894
- return (0, Z.jsx)(F, {
1894
+ return (0, Z.jsx)(I, {
1895
1895
  ref: _,
1896
1896
  sx: {
1897
1897
  display: "flex",
@@ -1904,7 +1904,7 @@ var ui = B.BuiltInOperatorNames, di = /* @__PURE__ */ new Set([
1904
1904
  p: 1
1905
1905
  },
1906
1906
  ...l,
1907
- children: b ? (0, Z.jsxs)(F, {
1907
+ children: b ? (0, Z.jsxs)(I, {
1908
1908
  sx: {
1909
1909
  display: "flex",
1910
1910
  flexDirection: "row",
@@ -1917,7 +1917,7 @@ var ui = B.BuiltInOperatorNames, di = /* @__PURE__ */ new Set([
1917
1917
  sx: { flex: .4 },
1918
1918
  value: p,
1919
1919
  operators: i,
1920
- onChange: T,
1920
+ onChange: E,
1921
1921
  readOnly: s
1922
1922
  }),
1923
1923
  S,
@@ -1926,7 +1926,7 @@ var ui = B.BuiltInOperatorNames, di = /* @__PURE__ */ new Set([
1926
1926
  onClick: r
1927
1927
  })
1928
1928
  ]
1929
- }) : (0, Z.jsxs)(Z.Fragment, { children: [(0, Z.jsxs)(F, {
1929
+ }) : (0, Z.jsxs)(Z.Fragment, { children: [(0, Z.jsxs)(I, {
1930
1930
  sx: {
1931
1931
  display: "flex",
1932
1932
  flexDirection: "row",
@@ -1939,17 +1939,17 @@ var ui = B.BuiltInOperatorNames, di = /* @__PURE__ */ new Set([
1939
1939
  sx: { flex: 1 },
1940
1940
  value: p,
1941
1941
  operators: i,
1942
- onChange: T,
1942
+ onChange: E,
1943
1943
  readOnly: s
1944
1944
  }),
1945
- g && !w && !s && (0, Z.jsx)(ii, {
1945
+ g && !T && !s && (0, Z.jsx)(ii, {
1946
1946
  label: p?.getTitle?.(),
1947
1947
  icon: (0, Z.jsx)(m, { iconKey: "Add" }),
1948
1948
  operators: i,
1949
1949
  value: null,
1950
1950
  onChange: (e) => {
1951
1951
  if (!e) return;
1952
- let t = Yr(e, i, a), r = [...C, {
1952
+ let t = Yr(e, i, a), r = [...w, {
1953
1953
  operator: e?.getName() ?? null,
1954
1954
  param: t
1955
1955
  }];
@@ -1967,11 +1967,11 @@ var ui = B.BuiltInOperatorNames, di = /* @__PURE__ */ new Set([
1967
1967
  ]
1968
1968
  }), g ? (0, Z.jsx)(ai, {
1969
1969
  operator: p,
1970
- inputs: C,
1970
+ inputs: w,
1971
1971
  onOptionChange: (e) => {
1972
1972
  n({
1973
1973
  operator: f,
1974
- param: w ? e[0] ?? null : e
1974
+ param: T ? e[0] ?? null : e
1975
1975
  });
1976
1976
  },
1977
1977
  operators: i,
@@ -1982,7 +1982,7 @@ var ui = B.BuiltInOperatorNames, di = /* @__PURE__ */ new Set([
1982
1982
  });
1983
1983
  fi.displayName = "OperatorAndParamEditor";
1984
1984
  var pi = (0, X.memo)((e) => {
1985
- let { condition: t, onConditionChange: n, showIncludeBlanks: r = !1, selectorTitle: i, readOnly: a, operators: o, selectors: s, ranges: c, ...l } = e, u = M(), d = C(), [f, p] = (0, X.useState)(() => t?.getSelector() ?? null), [m, h] = (0, X.useState)(() => t?.getOperator() ? {
1985
+ let { condition: t, onConditionChange: n, showIncludeBlanks: r = !1, selectorTitle: i, readOnly: a, operators: o, selectors: s, ranges: c, ...l } = e, u = C(), d = F(), [f, p] = (0, X.useState)(() => t?.getSelector() ?? null), [m, h] = (0, X.useState)(() => t?.getOperator() ? {
1986
1986
  operator: t.getOperator().getName(),
1987
1987
  param: t.getParam()
1988
1988
  } : null), [g, _] = (0, X.useState)(() => t?.isIncludeBlanks() ?? !1);
@@ -1994,7 +1994,7 @@ var pi = (0, X.memo)((e) => {
1994
1994
  param: t.getParam()
1995
1995
  } : null), _(t.isIncludeBlanks());
1996
1996
  }, [t]);
1997
- let v = (0, X.useMemo)(() => (s ?? Object.values(_e.BuiltInSelectors)).slice().sort((e, t) => (e.getTitle?.() ?? "").localeCompare(t.getTitle?.() ?? "", d)), [s, d]), y = (0, X.useMemo)(() => o ?? Object.values(_e.BuiltInOperators), [o]), b = (0, X.useMemo)(() => qr(f, y, d), [
1997
+ let v = (0, X.useMemo)(() => (s ?? Object.values(me.BuiltInSelectors)).slice().sort((e, t) => (e.getTitle?.() ?? "").localeCompare(t.getTitle?.() ?? "", d)), [s, d]), y = (0, X.useMemo)(() => o ?? Object.values(me.BuiltInOperators), [o]), b = (0, X.useMemo)(() => qr(f, y, d), [
1998
1998
  f,
1999
1999
  y,
2000
2000
  d
@@ -2012,7 +2012,7 @@ var pi = (0, X.memo)((e) => {
2012
2012
  includeBlanks: g
2013
2013
  });
2014
2014
  }, D = r;
2015
- return (0, Z.jsxs)(F, {
2015
+ return (0, Z.jsxs)(I, {
2016
2016
  sx: {
2017
2017
  display: "flex",
2018
2018
  flexDirection: "column",
@@ -2068,7 +2068,7 @@ var pi = (0, X.memo)((e) => {
2068
2068
  allowNull: !0,
2069
2069
  readOnly: a
2070
2070
  }),
2071
- m ? (0, Z.jsx)(F, {
2071
+ m ? (0, Z.jsx)(I, {
2072
2072
  ref: w,
2073
2073
  sx: { display: "contents" },
2074
2074
  children: (0, Z.jsx)(fi, {
@@ -2086,7 +2086,7 @@ var pi = (0, X.memo)((e) => {
2086
2086
  selector: f,
2087
2087
  readOnly: a
2088
2088
  })
2089
- }) : !a && (0, Z.jsx)(F, {
2089
+ }) : !a && (0, Z.jsx)(I, {
2090
2090
  sx: { display: "flex" },
2091
2091
  children: (0, Z.jsx)(ii, {
2092
2092
  label: u("condition.when"),
@@ -2122,7 +2122,7 @@ var pi = (0, X.memo)((e) => {
2122
2122
  pi.displayName = "ConditionEditor";
2123
2123
  var mi = (0, X.memo)((e) => {
2124
2124
  let { variant: t = "format", children: n, sx: r, ...i } = e;
2125
- return (0, Z.jsx)(F, {
2125
+ return (0, Z.jsx)(I, {
2126
2126
  className: `sxl-cf-rule-section sxl-cf-rule-section-${t}`,
2127
2127
  sx: {
2128
2128
  display: "flex",
@@ -2140,41 +2140,41 @@ var mi = (0, X.memo)((e) => {
2140
2140
  });
2141
2141
  });
2142
2142
  mi.displayName = "RuleSection";
2143
- var hi = new be("transparent"), gi = {
2144
- lightRedFillDarkRedText: i("conditionalFormat.preset.lightRedFillDarkRedText"),
2145
- yellowFillDarkYellowText: i("conditionalFormat.preset.yellowFillDarkYellowText"),
2146
- greenFillDarkGreenText: i("conditionalFormat.preset.greenFillDarkGreenText"),
2147
- lightRedFill: i("conditionalFormat.preset.lightRedFill"),
2148
- redText: i("conditionalFormat.preset.redText"),
2149
- redBorder: i("conditionalFormat.preset.redBorder")
2143
+ var hi = new xe("transparent"), gi = {
2144
+ lightRedFillDarkRedText: f("conditionalFormat.preset.lightRedFillDarkRedText"),
2145
+ yellowFillDarkYellowText: f("conditionalFormat.preset.yellowFillDarkYellowText"),
2146
+ greenFillDarkGreenText: f("conditionalFormat.preset.greenFillDarkGreenText"),
2147
+ lightRedFill: f("conditionalFormat.preset.lightRedFill"),
2148
+ redText: f("conditionalFormat.preset.redText"),
2149
+ redBorder: f("conditionalFormat.preset.redBorder")
2150
2150
  }, _i = (e) => e ? typeof e == "string" ? e : e.type === he.Type.None ? null : e.color ?? e.foreground ?? null : null, vi = (e, t) => e === "auto" ? null : Mt(e, t), yi = (0, X.memo)((e) => {
2151
- let { format: t, onFormatChange: n, readOnly: r, ...a } = e, o = M(), { workbook: s, schemeLookup: c, themeKey: l, darkMode: u, propsColorPanel: d } = Kt(), f = t?.font ?? null, p = (f?.weight ?? 400) >= 600, h = f?.style === ve.Style.Italic, g = !!f?.underline && f.underline !== ve.UnderlineStyle.None, _ = !!f?.strike, v = (e) => {
2152
- let r = { ...f };
2151
+ let { format: t, onFormatChange: n, readOnly: r, ...i } = e, a = C(), { workbook: o, schemeLookup: s, themeKey: c, darkMode: l, propsColorPanel: u } = Kt(), d = t?.font ?? null, p = (d?.weight ?? 400) >= 600, h = d?.style === ge.Style.Italic, g = !!d?.underline && d.underline !== ge.UnderlineStyle.None, _ = !!d?.strike, v = (e) => {
2152
+ let r = { ...d };
2153
2153
  for (let [t, n] of Object.entries(e)) n === void 0 ? delete r[t] : r[t] = n;
2154
2154
  let i = { ...t };
2155
2155
  Object.keys(r).length === 0 ? delete i.font : i.font = r, n(Object.keys(i).length === 0 ? null : i);
2156
- }, y = (0, X.useMemo)(() => s?.getStyles().getNormal().getFont().getColor(), [s, l]), b = (0, X.useMemo)(() => vi(f?.color, s), [
2157
- f?.color,
2158
- s,
2159
- l
2160
- ]), x = (0, X.useMemo)(() => vi(_i(t?.fill), s), [
2156
+ }, y = (0, X.useMemo)(() => o?.getStyles().getNormal().getFont().getColor(), [o, c]), b = (0, X.useMemo)(() => vi(d?.color, o), [
2157
+ d?.color,
2158
+ o,
2159
+ c
2160
+ ]), x = (0, X.useMemo)(() => vi(_i(t?.fill), o), [
2161
2161
  t?.fill,
2162
- s,
2163
- l
2162
+ o,
2163
+ c
2164
2164
  ]), S = {
2165
2165
  padding: "4px",
2166
2166
  border: "none",
2167
2167
  borderRadius: 1
2168
2168
  };
2169
2169
  return (0, Z.jsxs)(mi, {
2170
- ...a,
2171
- children: [(0, Z.jsxs)(F, {
2170
+ ...i,
2171
+ children: [(0, Z.jsxs)(I, {
2172
2172
  sx: {
2173
2173
  display: "flex",
2174
2174
  alignItems: "flex-start",
2175
2175
  gap: 1
2176
2176
  },
2177
- children: [(0, Z.jsx)(F, {
2177
+ children: [(0, Z.jsx)(I, {
2178
2178
  sx: {
2179
2179
  flex: "1 1 auto",
2180
2180
  minWidth: 0,
@@ -2182,16 +2182,16 @@ var hi = new be("transparent"), gi = {
2182
2182
  gap: .5,
2183
2183
  flexWrap: "wrap"
2184
2184
  },
2185
- children: Je.map((e, t) => {
2186
- let i = vi(_i(e.style.fill), s), a = vi(e.style.font?.color, s), c = e.style.borders ? vi(Object.values(e.style.borders)[0]?.color, s) : null;
2185
+ children: qe.map((e, t) => {
2186
+ let i = vi(_i(e.style.fill), o), s = vi(e.style.font?.color, o), c = e.style.borders ? vi(Object.values(e.style.borders)[0]?.color, o) : null;
2187
2187
  return (0, Z.jsx)(qt, {
2188
2188
  sheet: !0,
2189
- title: o(gi[e.key] ?? e.key),
2189
+ title: a(gi[e.key] ?? e.key),
2190
2190
  disabled: r,
2191
2191
  onClick: () => n(structuredClone(e.style)),
2192
2192
  sx: {
2193
2193
  backgroundColor: i?.toCSS("adaptive") ?? void 0,
2194
- color: a?.toCSS("adaptive") ?? void 0,
2194
+ color: s?.toCSS("adaptive") ?? void 0,
2195
2195
  outline: c ? `1px solid ${c.toCSS("adaptive")}` : void 0,
2196
2196
  outlineOffset: "-3px"
2197
2197
  },
@@ -2199,7 +2199,7 @@ var hi = new be("transparent"), gi = {
2199
2199
  }, t);
2200
2200
  })
2201
2201
  }), (0, Z.jsx)(qt, {
2202
- title: o("conditionalFormat.clearStyle"),
2202
+ title: a("conditionalFormat.clearStyle"),
2203
2203
  disabled: r || !t,
2204
2204
  onClick: () => n(null),
2205
2205
  sx: {
@@ -2211,7 +2211,7 @@ var hi = new be("transparent"), gi = {
2211
2211
  size: 16
2212
2212
  })
2213
2213
  })]
2214
- }), (0, Z.jsxs)(F, {
2214
+ }), (0, Z.jsxs)(I, {
2215
2215
  sx: {
2216
2216
  display: "flex",
2217
2217
  alignItems: "center",
@@ -2233,7 +2233,7 @@ var hi = new be("transparent"), gi = {
2233
2233
  sx: S,
2234
2234
  selected: h,
2235
2235
  disabled: r,
2236
- onChange: () => v({ style: h ? void 0 : ve.Style.Italic }),
2236
+ onChange: () => v({ style: h ? void 0 : ge.Style.Italic }),
2237
2237
  children: (0, Z.jsx)(m, { iconKey: "TextItalic" })
2238
2238
  }),
2239
2239
  (0, Z.jsx)(Dr, {
@@ -2242,7 +2242,7 @@ var hi = new be("transparent"), gi = {
2242
2242
  sx: S,
2243
2243
  selected: g,
2244
2244
  disabled: r,
2245
- onChange: () => v({ underline: g ? void 0 : ve.UnderlineStyle.Single }),
2245
+ onChange: () => v({ underline: g ? void 0 : ge.UnderlineStyle.Single }),
2246
2246
  children: (0, Z.jsx)(m, { iconKey: "TextUnderline" })
2247
2247
  }),
2248
2248
  (0, Z.jsx)(Dr, {
@@ -2254,13 +2254,13 @@ var hi = new be("transparent"), gi = {
2254
2254
  onChange: () => v({ strike: !_ || void 0 }),
2255
2255
  children: (0, Z.jsx)(m, { iconKey: "TextStrike" })
2256
2256
  }),
2257
- s && (0, Z.jsx)(rn, {
2258
- tooltip: o("conditionalFormat.border"),
2257
+ o && (0, Z.jsx)(rn, {
2258
+ tooltip: a("conditionalFormat.border"),
2259
2259
  selectedBorder: t?.borders,
2260
- createBorder: (e) => s.getStyles().getNormal().createStyle({ borders: e }).getBorders(),
2261
- schemeLookup: c,
2260
+ createBorder: (e) => o.getStyles().getNormal().createStyle({ borders: e }).getBorders(),
2261
+ schemeLookup: s,
2262
2262
  autoColor: y,
2263
- darkMode: u,
2263
+ darkMode: l,
2264
2264
  disabled: r,
2265
2265
  onSelectBorder: (e) => ((e) => {
2266
2266
  let r = { ...t };
@@ -2269,7 +2269,7 @@ var hi = new be("transparent"), gi = {
2269
2269
  }),
2270
2270
  (0, Z.jsx)(Jt, {
2271
2271
  icon: "fill.colored",
2272
- tooltip: o("conditionalFormat.fillColor"),
2272
+ tooltip: a("conditionalFormat.fillColor"),
2273
2273
  selectedColor: x,
2274
2274
  disabled: r,
2275
2275
  onSelectColor: (e) => ((e) => {
@@ -2279,26 +2279,26 @@ var hi = new be("transparent"), gi = {
2279
2279
  color: e.toString()
2280
2280
  } : delete r.fill, n(Object.keys(r).length === 0 ? null : r);
2281
2281
  })(e),
2282
- darkMode: u,
2282
+ darkMode: l,
2283
2283
  propsPanel: {
2284
2284
  disableAlpha: !0,
2285
2285
  autoColor: hi,
2286
- autoColorLabelKey: i("color.noFill"),
2286
+ autoColorLabelKey: f("color.noFill"),
2287
2287
  autoColorPosition: Gt.End,
2288
- ...d
2288
+ ...u
2289
2289
  }
2290
2290
  }),
2291
2291
  (0, Z.jsx)(Jt, {
2292
2292
  icon: "text.colored",
2293
- tooltip: o("conditionalFormat.fontColor"),
2293
+ tooltip: a("conditionalFormat.fontColor"),
2294
2294
  selectedColor: b,
2295
2295
  disabled: r,
2296
2296
  onSelectColor: (e) => v({ color: e ? e.toString() : void 0 }),
2297
- darkMode: u,
2297
+ darkMode: l,
2298
2298
  propsPanel: {
2299
2299
  disableAlpha: !0,
2300
2300
  autoColor: y,
2301
- ...d
2301
+ ...u
2302
2302
  }
2303
2303
  })
2304
2304
  ]
@@ -2307,22 +2307,22 @@ var hi = new be("transparent"), gi = {
2307
2307
  });
2308
2308
  yi.displayName = "ConditionalFormatStylePicker";
2309
2309
  var bi = {
2310
- [z.ColorStopType.AutoMin]: i("conditionalFormat.stopType.autoMin"),
2311
- [z.ColorStopType.AutoMax]: i("conditionalFormat.stopType.autoMax"),
2312
- [z.ColorStopType.Min]: i("conditionalFormat.stopType.min"),
2313
- [z.ColorStopType.Max]: i("conditionalFormat.stopType.max"),
2314
- [z.ColorStopType.Num]: i("conditionalFormat.stopType.num"),
2315
- [z.ColorStopType.Percent]: i("conditionalFormat.stopType.percent"),
2316
- [z.ColorStopType.Percentile]: i("conditionalFormat.stopType.percentile"),
2317
- [z.ColorStopType.Formula]: i("conditionalFormat.stopType.formula")
2310
+ [B.ColorStopType.AutoMin]: f("conditionalFormat.stopType.autoMin"),
2311
+ [B.ColorStopType.AutoMax]: f("conditionalFormat.stopType.autoMax"),
2312
+ [B.ColorStopType.Min]: f("conditionalFormat.stopType.min"),
2313
+ [B.ColorStopType.Max]: f("conditionalFormat.stopType.max"),
2314
+ [B.ColorStopType.Num]: f("conditionalFormat.stopType.num"),
2315
+ [B.ColorStopType.Percent]: f("conditionalFormat.stopType.percent"),
2316
+ [B.ColorStopType.Percentile]: f("conditionalFormat.stopType.percentile"),
2317
+ [B.ColorStopType.Formula]: f("conditionalFormat.stopType.formula")
2318
2318
  }, xi = /* @__PURE__ */ new Set([
2319
- z.ColorStopType.AutoMin,
2320
- z.ColorStopType.AutoMax,
2321
- z.ColorStopType.Min,
2322
- z.ColorStopType.Max
2319
+ B.ColorStopType.AutoMin,
2320
+ B.ColorStopType.AutoMax,
2321
+ B.ColorStopType.Min,
2322
+ B.ColorStopType.Max
2323
2323
  ]), Si = (0, X.memo)((e) => {
2324
- let { label: t, stop: n, onStopChange: r, allowedTypes: i, showColor: a = !1, leading: o, showExclusive: s = !1, readOnly: c, ...l } = e, u = M(), { darkMode: d, toColor: f, propsColorPanel: p } = Kt(), m = Lr(), h = n.type ?? z.ColorStopType.Num, g = !xi.has(h), _ = c || !g, v = h === z.ColorStopType.Formula, y = n.value?.isIFormula ? n.value : null, b = n.color, x = a ? f(b) : null;
2325
- return (0, Z.jsxs)(F, {
2324
+ let { label: t, stop: n, onStopChange: r, allowedTypes: i, showColor: a = !1, leading: o, showExclusive: s = !1, readOnly: c, ...l } = e, u = C(), { darkMode: d, toColor: f, propsColorPanel: p } = Kt(), m = Lr(), h = n.type ?? B.ColorStopType.Num, g = !xi.has(h), _ = c || !g, v = h === B.ColorStopType.Formula, y = n.value?.isIFormula ? n.value : null, b = n.color, x = a ? f(b) : null;
2325
+ return (0, Z.jsxs)(I, {
2326
2326
  sx: {
2327
2327
  display: "flex",
2328
2328
  alignItems: "center",
@@ -2388,8 +2388,8 @@ var bi = {
2388
2388
  type: e
2389
2389
  };
2390
2390
  if (xi.has(e)) delete t.value;
2391
- else if (t.value === void 0) t.value = e === z.ColorStopType.Formula ? "" : 0;
2392
- else if (e !== z.ColorStopType.Formula && typeof t.value != "number") {
2391
+ else if (t.value === void 0) t.value = e === B.ColorStopType.Formula ? "" : 0;
2392
+ else if (e !== B.ColorStopType.Formula && typeof t.value != "number") {
2393
2393
  let e = typeof t.value == "string" ? Number(t.value) : NaN;
2394
2394
  t.value = Number.isFinite(e) ? e : 0;
2395
2395
  }
@@ -2455,32 +2455,32 @@ var bi = {
2455
2455
  });
2456
2456
  Si.displayName = "ScaleStopRow";
2457
2457
  var Ci = [
2458
- z.ColorStopType.Min,
2459
- z.ColorStopType.Max,
2460
- z.ColorStopType.Num,
2461
- z.ColorStopType.Percent,
2462
- z.ColorStopType.Percentile,
2463
- z.ColorStopType.Formula
2458
+ B.ColorStopType.Min,
2459
+ B.ColorStopType.Max,
2460
+ B.ColorStopType.Num,
2461
+ B.ColorStopType.Percent,
2462
+ B.ColorStopType.Percentile,
2463
+ B.ColorStopType.Formula
2464
2464
  ], wi = (0, X.memo)((e) => {
2465
- let { scale: t, onScaleChange: n, readOnly: r, ...a } = e, o = M(), { workbook: s, toColor: c } = Kt(), l = t.stops ?? [], u = l.length === 2 ? [i("conditionalFormat.stop.minimum"), i("conditionalFormat.stop.maximum")] : [
2466
- i("conditionalFormat.stop.minimum"),
2467
- i("conditionalFormat.stop.midpoint"),
2468
- i("conditionalFormat.stop.maximum")
2465
+ let { scale: t, onScaleChange: n, readOnly: r, ...i } = e, a = C(), { workbook: o, toColor: s } = Kt(), c = t.stops ?? [], l = c.length === 2 ? [f("conditionalFormat.stop.minimum"), f("conditionalFormat.stop.maximum")] : [
2466
+ f("conditionalFormat.stop.minimum"),
2467
+ f("conditionalFormat.stop.midpoint"),
2468
+ f("conditionalFormat.stop.maximum")
2469
2469
  ];
2470
- return (0, Z.jsxs)(F, {
2470
+ return (0, Z.jsxs)(I, {
2471
2471
  sx: {
2472
2472
  display: "flex",
2473
2473
  flexDirection: "column",
2474
2474
  gap: 1
2475
2475
  },
2476
- ...a,
2477
- children: [(0, Z.jsx)(mi, { children: (0, Z.jsxs)(F, {
2476
+ ...i,
2477
+ children: [(0, Z.jsx)(mi, { children: (0, Z.jsxs)(I, {
2478
2478
  sx: {
2479
2479
  display: "flex",
2480
2480
  alignItems: "flex-start",
2481
2481
  gap: 1
2482
2482
  },
2483
- children: [(0, Z.jsx)(F, {
2483
+ children: [(0, Z.jsx)(I, {
2484
2484
  sx: {
2485
2485
  flex: "1 1 auto",
2486
2486
  minWidth: 0,
@@ -2488,29 +2488,29 @@ var Ci = [
2488
2488
  gap: .5,
2489
2489
  flexWrap: "wrap"
2490
2490
  },
2491
- children: Ce.filter((e) => e.stops.length === (l.length === 2 ? 2 : 3)).map((e, t) => (0, Z.jsx)(qt, {
2491
+ children: Se.filter((e) => e.stops.length === (c.length === 2 ? 2 : 3)).map((e, t) => (0, Z.jsx)(qt, {
2492
2492
  sheet: !0,
2493
2493
  disabled: r,
2494
2494
  onClick: () => n(structuredClone(e)),
2495
- children: (0, Z.jsx)(Ht, { rows: $t(e.stops ?? [], Dt, s) })
2495
+ children: (0, Z.jsx)(Ht, { rows: $t(e.stops ?? [], Dt, o) })
2496
2496
  }, t))
2497
2497
  }), (0, Z.jsxs)(Ar, {
2498
2498
  exclusive: !0,
2499
2499
  size: "small",
2500
- value: l.length === 2 ? 2 : 3,
2500
+ value: c.length === 2 ? 2 : 3,
2501
2501
  disabled: r,
2502
2502
  onChange: (e, r) => {
2503
2503
  r && ((e) => {
2504
- if (e === l.length || e !== 2 && e !== 3) return;
2505
- let r = l.slice();
2504
+ if (e === c.length || e !== 2 && e !== 3) return;
2505
+ let r = c.slice();
2506
2506
  if (e === 3) {
2507
- let e = "#FFEB84", t = c(l[0]?.color ?? e)?.toRGBA(), n = c(l[l.length - 1]?.color ?? e)?.toRGBA();
2507
+ let e = "#FFEB84", t = s(c[0]?.color ?? e)?.toRGBA(), n = s(c[c.length - 1]?.color ?? e)?.toRGBA();
2508
2508
  if (t && n) {
2509
2509
  let r = (e) => Math.round(e).toString(16).padStart(2, "0").toUpperCase();
2510
2510
  e = `#${r((t.red + n.red) / 2)}${r((t.green + n.green) / 2)}${r((t.blue + n.blue) / 2)}`;
2511
2511
  }
2512
2512
  r.splice(1, 0, {
2513
- type: z.ColorStopType.Percentile,
2513
+ type: B.ColorStopType.Percentile,
2514
2514
  value: 50,
2515
2515
  color: e
2516
2516
  });
@@ -2529,7 +2529,7 @@ var Ci = [
2529
2529
  pt: .25,
2530
2530
  pb: .25
2531
2531
  },
2532
- children: o("conditionalFormat.twoColor")
2532
+ children: a("conditionalFormat.twoColor")
2533
2533
  }), (0, Z.jsx)(Dr, {
2534
2534
  value: 3,
2535
2535
  sx: {
@@ -2537,19 +2537,19 @@ var Ci = [
2537
2537
  pt: .25,
2538
2538
  pb: .25
2539
2539
  },
2540
- children: o("conditionalFormat.threeColor")
2540
+ children: a("conditionalFormat.threeColor")
2541
2541
  })]
2542
2542
  })]
2543
2543
  }) }), (0, Z.jsx)(mi, {
2544
2544
  variant: "config",
2545
- children: l.map((e, i) => (0, Z.jsx)(Si, {
2546
- label: o(u[Math.min(i, u.length - 1)]),
2545
+ children: c.map((e, i) => (0, Z.jsx)(Si, {
2546
+ label: a(l[Math.min(i, l.length - 1)]),
2547
2547
  stop: e,
2548
2548
  allowedTypes: Ci,
2549
2549
  showColor: !0,
2550
2550
  readOnly: r,
2551
2551
  onStopChange: (e) => {
2552
- let r = l.slice();
2552
+ let r = c.slice();
2553
2553
  r[i] = e, n({
2554
2554
  ...t,
2555
2555
  stops: r
@@ -2561,26 +2561,26 @@ var Ci = [
2561
2561
  });
2562
2562
  wi.displayName = "ColorScaleRulePanel";
2563
2563
  var Ti = [
2564
- z.ColorStopType.AutoMin,
2565
- z.ColorStopType.Min,
2566
- z.ColorStopType.Num,
2567
- z.ColorStopType.Percent,
2568
- z.ColorStopType.Percentile,
2569
- z.ColorStopType.Formula
2564
+ B.ColorStopType.AutoMin,
2565
+ B.ColorStopType.Min,
2566
+ B.ColorStopType.Num,
2567
+ B.ColorStopType.Percent,
2568
+ B.ColorStopType.Percentile,
2569
+ B.ColorStopType.Formula
2570
2570
  ], Ei = [
2571
- z.ColorStopType.AutoMax,
2572
- z.ColorStopType.Max,
2573
- z.ColorStopType.Num,
2574
- z.ColorStopType.Percent,
2575
- z.ColorStopType.Percentile,
2576
- z.ColorStopType.Formula
2571
+ B.ColorStopType.AutoMax,
2572
+ B.ColorStopType.Max,
2573
+ B.ColorStopType.Num,
2574
+ B.ColorStopType.Percent,
2575
+ B.ColorStopType.Percentile,
2576
+ B.ColorStopType.Formula
2577
2577
  ], Di = "__auto__", Oi = (0, X.memo)((e) => {
2578
- let { scale: t, onScaleChange: n, readOnly: r, ...i } = e, a = M(), { darkMode: o, toColor: s, propsColorPanel: c } = Kt(), l = t.stops ?? [], u = s(t.color), d = s(t.negativeFillColor), f = s(t.borderColor), p = s(t.negativeBorderColor), h = t.gradient ?? !1, g = (e) => {
2578
+ let { scale: t, onScaleChange: n, readOnly: r, ...i } = e, a = C(), { darkMode: o, toColor: s, propsColorPanel: c } = Kt(), l = t.stops ?? [], u = s(t.color), d = s(t.negativeFillColor), f = s(t.borderColor), p = s(t.negativeBorderColor), h = t.gradient ?? !1, g = (e) => {
2579
2579
  let r = { ...t };
2580
2580
  for (let [t, n] of Object.entries(e)) n === void 0 ? delete r[t] : r[t] = n;
2581
2581
  n(r);
2582
2582
  }, _ = { backgroundColor: "background.paper" };
2583
- return (0, Z.jsxs)(F, {
2583
+ return (0, Z.jsxs)(I, {
2584
2584
  sx: {
2585
2585
  display: "flex",
2586
2586
  flexDirection: "column",
@@ -2588,13 +2588,13 @@ var Ti = [
2588
2588
  },
2589
2589
  ...i,
2590
2590
  children: [(0, Z.jsxs)(mi, { children: [
2591
- (0, Z.jsxs)(F, {
2591
+ (0, Z.jsxs)(I, {
2592
2592
  sx: {
2593
2593
  display: "flex",
2594
2594
  alignItems: "flex-start",
2595
2595
  gap: 1
2596
2596
  },
2597
- children: [(0, Z.jsx)(F, {
2597
+ children: [(0, Z.jsx)(I, {
2598
2598
  sx: {
2599
2599
  flex: "1 1 auto",
2600
2600
  minWidth: 0,
@@ -2602,7 +2602,7 @@ var Ti = [
2602
2602
  gap: .5,
2603
2603
  flexWrap: "wrap"
2604
2604
  },
2605
- children: Le.filter((e) => (e.gradient ?? !1) === h).map((e, t) => (0, Z.jsx)(qt, {
2605
+ children: Ie.filter((e) => (e.gradient ?? !1) === h).map((e, t) => (0, Z.jsx)(qt, {
2606
2606
  sheet: !0,
2607
2607
  disabled: r,
2608
2608
  onClick: () => g({
@@ -2652,7 +2652,7 @@ var Ti = [
2652
2652
  children: a("conditionalFormat.showBarsOnly")
2653
2653
  })
2654
2654
  }),
2655
- (0, Z.jsxs)(F, {
2655
+ (0, Z.jsxs)(I, {
2656
2656
  sx: {
2657
2657
  display: "flex",
2658
2658
  alignItems: "center",
@@ -2693,7 +2693,7 @@ var Ti = [
2693
2693
  })
2694
2694
  ]
2695
2695
  }),
2696
- (0, Z.jsxs)(F, {
2696
+ (0, Z.jsxs)(I, {
2697
2697
  sx: {
2698
2698
  display: "flex",
2699
2699
  alignItems: "center",
@@ -2750,7 +2750,7 @@ var Ti = [
2750
2750
  })
2751
2751
  ]
2752
2752
  }),
2753
- (0, Z.jsxs)(F, {
2753
+ (0, Z.jsxs)(I, {
2754
2754
  sx: {
2755
2755
  display: "flex",
2756
2756
  gap: 1,
@@ -2822,7 +2822,7 @@ var Ti = [
2822
2822
  variant: "config",
2823
2823
  children: [(0, Z.jsx)(Si, {
2824
2824
  label: a("conditionalFormat.stop.minimum"),
2825
- stop: l[0] ?? { type: z.ColorStopType.AutoMin },
2825
+ stop: l[0] ?? { type: B.ColorStopType.AutoMin },
2826
2826
  allowedTypes: Ti,
2827
2827
  readOnly: r,
2828
2828
  onStopChange: (e) => {
@@ -2831,12 +2831,12 @@ var Ti = [
2831
2831
  }
2832
2832
  }), (0, Z.jsx)(Si, {
2833
2833
  label: a("conditionalFormat.stop.maximum"),
2834
- stop: l[1] ?? { type: z.ColorStopType.AutoMax },
2834
+ stop: l[1] ?? { type: B.ColorStopType.AutoMax },
2835
2835
  allowedTypes: Ei,
2836
2836
  readOnly: r,
2837
2837
  onStopChange: (e) => {
2838
2838
  let t = l.slice();
2839
- for (; t.length < 2;) t.push({ type: z.ColorStopType.AutoMax });
2839
+ for (; t.length < 2;) t.push({ type: B.ColorStopType.AutoMax });
2840
2840
  t[1] = e, g({ stops: t });
2841
2841
  }
2842
2842
  })]
@@ -2844,15 +2844,15 @@ var Ti = [
2844
2844
  });
2845
2845
  });
2846
2846
  Oi.displayName = "DataBarRulePanel";
2847
- var ki = i("conditionalFormat.noCellIcon"), Ai = i("conditionalFormat.cellIcon"), ji = {
2847
+ var ki = f("conditionalFormat.noCellIcon"), Ai = f("conditionalFormat.cellIcon"), ji = {
2848
2848
  borderColor: "primary.main",
2849
2849
  boxShadow: (e) => `inset 0 0 0 1px ${e.palette.primary.main}`
2850
2850
  }, Mi = {
2851
2851
  width: "28px",
2852
2852
  height: "26px"
2853
2853
  }, Ni = (0, X.memo)((e) => {
2854
- let { icon: t, onPick: n } = e, r = M();
2855
- return (0, Z.jsxs)(F, {
2854
+ let { icon: t, onPick: n } = e, r = C();
2855
+ return (0, Z.jsxs)(I, {
2856
2856
  sx: {
2857
2857
  display: "flex",
2858
2858
  flexDirection: "column",
@@ -2868,20 +2868,20 @@ var ki = i("conditionalFormat.noCellIcon"), Ai = i("conditionalFormat.cellIcon")
2868
2868
  ...t === null ? ji : null
2869
2869
  },
2870
2870
  onClick: () => {
2871
- n({ ...He });
2871
+ n({ ...Ve });
2872
2872
  },
2873
- children: (0, Z.jsx)(H, {
2873
+ children: (0, Z.jsx)(U, {
2874
2874
  icons: [null],
2875
2875
  size: 16
2876
2876
  })
2877
- }), (0, Z.jsx)(F, {
2877
+ }), (0, Z.jsx)(I, {
2878
2878
  sx: {
2879
2879
  display: "grid",
2880
2880
  gridTemplateColumns: "repeat(8, auto)",
2881
2881
  justifyContent: "start",
2882
2882
  gap: "3px"
2883
2883
  },
2884
- children: Pe.map((e) => {
2884
+ children: Ne.map((e) => {
2885
2885
  let i = ((e, t) => !!e && e.iconKey === t.iconKey && e.color === t.color)(t, e.spec);
2886
2886
  return (0, Z.jsx)(qt, {
2887
2887
  sheet: !0,
@@ -2897,7 +2897,7 @@ var ki = i("conditionalFormat.noCellIcon"), Ai = i("conditionalFormat.cellIcon")
2897
2897
  id: e.id
2898
2898
  });
2899
2899
  },
2900
- children: (0, Z.jsx)(H, {
2900
+ children: (0, Z.jsx)(U, {
2901
2901
  icons: [e.spec],
2902
2902
  size: 16
2903
2903
  })
@@ -2908,7 +2908,7 @@ var ki = i("conditionalFormat.noCellIcon"), Ai = i("conditionalFormat.cellIcon")
2908
2908
  });
2909
2909
  Ni.displayName = "IconCatalogPanel";
2910
2910
  var Pi = (0, X.memo)((0, X.forwardRef)((e, t) => {
2911
- let { icon: n, onPick: r, tooltip: i, ...a } = e, o = M();
2911
+ let { icon: n, onPick: r, tooltip: i, ...a } = e, o = C();
2912
2912
  return (0, Z.jsx)(Cn, {
2913
2913
  ref: t,
2914
2914
  createPopupPanel: (0, X.useCallback)((e) => {
@@ -2924,7 +2924,7 @@ var Pi = (0, X.memo)((0, X.forwardRef)((e, t) => {
2924
2924
  });
2925
2925
  }, [n, r]),
2926
2926
  tooltip: i ?? o(Ai),
2927
- icon: (0, Z.jsx)(H, {
2927
+ icon: (0, Z.jsx)(U, {
2928
2928
  icons: [n],
2929
2929
  size: 16
2930
2930
  }),
@@ -2934,12 +2934,12 @@ var Pi = (0, X.memo)((0, X.forwardRef)((e, t) => {
2934
2934
  }));
2935
2935
  Pi.displayName = "IconPickerPopupButton";
2936
2936
  var Fi = [
2937
- z.ColorStopType.Percent,
2938
- z.ColorStopType.Num,
2939
- z.ColorStopType.Percentile,
2940
- z.ColorStopType.Formula
2937
+ B.ColorStopType.Percent,
2938
+ B.ColorStopType.Num,
2939
+ B.ColorStopType.Percentile,
2940
+ B.ColorStopType.Formula
2941
2941
  ], Ii = (0, X.memo)((e) => {
2942
- let { scale: t, onScaleChange: n, readOnly: r, ...i } = e, a = M(), o = t.iconSet ?? xe.IconSet.TrafficLights3, c = Oe(o).length === 0, l = t.stops ?? [], u = l.length, d = U(t), f = (e) => {
2942
+ let { scale: t, onScaleChange: n, readOnly: r, ...i } = e, a = C(), s = t.iconSet ?? ve.IconSet.TrafficLights3, c = De(s).length === 0, l = t.stops ?? [], u = l.length, d = W(t), f = (e) => {
2943
2943
  let r = { ...t };
2944
2944
  for (let [t, n] of Object.entries(e)) n === void 0 ? delete r[t] : r[t] = n;
2945
2945
  n(r);
@@ -2948,10 +2948,10 @@ var Fi = [
2948
2948
  groups: Lt,
2949
2949
  disabled: r,
2950
2950
  onPick: (e) => {
2951
- t?.(), e.type === z.ScaleType.IconSet && e.iconSet && ((e) => {
2952
- if (e === o) return;
2953
- let t = We(e), n = l;
2954
- t !== l.length && (n = ze(t)), f({
2951
+ t?.(), e.type === B.ScaleType.IconSet && e.iconSet && ((e) => {
2952
+ if (e === s) return;
2953
+ let t = Ue(e), n = l;
2954
+ t !== l.length && (n = Re(t)), f({
2955
2955
  iconSet: e,
2956
2956
  stops: n,
2957
2957
  icon: void 0
@@ -2963,8 +2963,8 @@ var Fi = [
2963
2963
  ...e,
2964
2964
  children: n
2965
2965
  });
2966
- }, [r, t]), m = s.camelToPrettyCase(o);
2967
- return (0, Z.jsxs)(F, {
2966
+ }, [r, t]), m = o.camelToPrettyCase(s);
2967
+ return (0, Z.jsxs)(I, {
2968
2968
  sx: {
2969
2969
  display: "flex",
2970
2970
  flexDirection: "column",
@@ -2972,7 +2972,7 @@ var Fi = [
2972
2972
  },
2973
2973
  ...i,
2974
2974
  children: [(0, Z.jsxs)(mi, { children: [
2975
- (0, Z.jsx)(F, {
2975
+ (0, Z.jsx)(I, {
2976
2976
  sx: {
2977
2977
  display: "flex",
2978
2978
  alignItems: "center",
@@ -2983,7 +2983,7 @@ var Fi = [
2983
2983
  disabled: r,
2984
2984
  label: m,
2985
2985
  tooltip: m,
2986
- icon: (0, Z.jsx)(F, {
2986
+ icon: (0, Z.jsx)(I, {
2987
2987
  sx: {
2988
2988
  width: "82px",
2989
2989
  display: "flex",
@@ -2993,8 +2993,8 @@ var Fi = [
2993
2993
  variant: "caption",
2994
2994
  noWrap: !0,
2995
2995
  children: m
2996
- }) : (0, Z.jsx)(H, {
2997
- icons: Oe(o),
2996
+ }) : (0, Z.jsx)(U, {
2997
+ icons: De(s),
2998
2998
  order: "descending",
2999
2999
  size: 14,
3000
3000
  gap: 3
@@ -3008,7 +3008,7 @@ var Fi = [
3008
3008
  sx: { color: "text.secondary" },
3009
3009
  children: a("conditionalFormat.adoptedIconSet")
3010
3010
  }),
3011
- (0, Z.jsxs)(F, {
3011
+ (0, Z.jsxs)(I, {
3012
3012
  sx: {
3013
3013
  display: "flex",
3014
3014
  gap: 1
@@ -3049,7 +3049,7 @@ var Fi = [
3049
3049
  leading: (0, Z.jsx)(Pi, {
3050
3050
  icon: d[i] ?? null,
3051
3051
  disabled: r || c,
3052
- onPick: (e) => n(De(t, a, e))
3052
+ onPick: (e) => n(Ee(t, a, e))
3053
3053
  }),
3054
3054
  onStopChange: (e) => {
3055
3055
  let t = l.slice();
@@ -3069,7 +3069,7 @@ var Li = (e, t, n) => Mt(e, t)?.toCSS("adaptive") ?? n, Ri = (e, t, n) => {
3069
3069
  return Li(i.foreground ?? r.color ?? i.background, t, n);
3070
3070
  }, zi = (0, X.memo)((e) => {
3071
3071
  let { conditionalFormat: t, size: n = 28, ...r } = e, { workbook: i, themeKey: a } = Kt();
3072
- Ge(t, "onAnyChange");
3072
+ We(t, "onAnyChange");
3073
3073
  let o = t.getScale(), s = t.getStyle(), c = (0, X.useMemo)(() => {
3074
3074
  try {
3075
3075
  return i?.getStyles().getNormal().getFont().toCSS("adaptive") ?? {};
@@ -3077,9 +3077,9 @@ var Li = (e, t, n) => Mt(e, t)?.toCSS("adaptive") ?? n, Ri = (e, t, n) => {
3077
3077
  return {};
3078
3078
  }
3079
3079
  }, [i, a]), l = (0, X.useMemo)(() => {
3080
- if (o?.type === z.ScaleType.ColorScale) return (0, Z.jsx)(Ht, { rows: $t(o.stops ?? [], Dt, i) });
3081
- if (o?.type === z.ScaleType.DataBar) return (0, Z.jsx)(Ht, { rows: Ut(o, Li(o.color, i, dn), o.borderColor ? Li(o.borderColor, i, dn) : void 0) });
3082
- if (o?.type === z.ScaleType.IconSet) return (0, Z.jsx)(F, {
3080
+ if (o?.type === B.ScaleType.ColorScale) return (0, Z.jsx)(Ht, { rows: $t(o.stops ?? [], Dt, i) });
3081
+ if (o?.type === B.ScaleType.DataBar) return (0, Z.jsx)(Ht, { rows: Ut(o, Li(o.color, i, dn), o.borderColor ? Li(o.borderColor, i, dn) : void 0) });
3082
+ if (o?.type === B.ScaleType.IconSet) return (0, Z.jsx)(I, {
3083
3083
  sx: {
3084
3084
  display: "flex",
3085
3085
  alignItems: "center",
@@ -3088,15 +3088,15 @@ var Li = (e, t, n) => Mt(e, t)?.toCSS("adaptive") ?? n, Ri = (e, t, n) => {
3088
3088
  height: "100%",
3089
3089
  px: .5
3090
3090
  },
3091
- children: (0, Z.jsx)(H, {
3092
- icons: U(o),
3091
+ children: (0, Z.jsx)(U, {
3092
+ icons: W(o),
3093
3093
  order: "descending",
3094
3094
  size: 14,
3095
3095
  gap: 3
3096
3096
  })
3097
3097
  });
3098
- let e = s?.font, t = e?.underline && e.underline !== ve.UnderlineStyle.None;
3099
- return (0, Z.jsx)(F, {
3098
+ let e = s?.font, t = e?.underline && e.underline !== ge.UnderlineStyle.None;
3099
+ return (0, Z.jsx)(I, {
3100
3100
  sx: {
3101
3101
  width: "100%",
3102
3102
  height: "100%",
@@ -3141,15 +3141,15 @@ var Bi = (e, t) => {
3141
3141
  let n = e.getCondition()?.toString();
3142
3142
  if (n) return n;
3143
3143
  let r = e.getScale();
3144
- return r ? s.camelToPrettyCase(r.type) : t("conditionalFormat.noCondition");
3144
+ return r ? o.camelToPrettyCase(r.type) : t("conditionalFormat.noCondition");
3145
3145
  }, Vi = {
3146
- classic: i("conditionalFormat.tab.classic"),
3147
- [z.ScaleType.ColorScale]: i("conditionalFormat.tab.colorScale"),
3148
- [z.ScaleType.DataBar]: i("conditionalFormat.tab.dataBars"),
3149
- [z.ScaleType.IconSet]: i("conditionalFormat.tab.iconSets")
3146
+ classic: f("conditionalFormat.tab.classic"),
3147
+ [B.ScaleType.ColorScale]: f("conditionalFormat.tab.colorScale"),
3148
+ [B.ScaleType.DataBar]: f("conditionalFormat.tab.dataBars"),
3149
+ [B.ScaleType.IconSet]: f("conditionalFormat.tab.iconSets")
3150
3150
  }, Hi = (0, X.memo)((e) => {
3151
- let { conditionalFormat: t } = e, n = M();
3152
- Ge(t, "onAnyChange");
3151
+ let { conditionalFormat: t } = e, n = C();
3152
+ We(t, "onAnyChange");
3153
3153
  let r = t.getScale(), i = t.getCondition(), a = t.getStyle(), o = t.isProtected(), s = r?.type ?? "classic", c = (0, X.useRef)({ scales: {} }), l = (e) => {
3154
3154
  t.update({ scale: e });
3155
3155
  }, u = (0, Z.jsxs)(st, {
@@ -3166,7 +3166,7 @@ var Bi = (e, t) => {
3166
3166
  overflow: "auto"
3167
3167
  },
3168
3168
  children: [
3169
- (0, Z.jsxs)(F, {
3169
+ (0, Z.jsxs)(I, {
3170
3170
  sx: {
3171
3171
  display: "flex",
3172
3172
  flexDirection: "column",
@@ -3174,7 +3174,7 @@ var Bi = (e, t) => {
3174
3174
  margin: (e) => e.spacing(1.25),
3175
3175
  marginBottom: 0
3176
3176
  },
3177
- children: [(0, Z.jsxs)(F, {
3177
+ children: [(0, Z.jsxs)(I, {
3178
3178
  sx: {
3179
3179
  display: "flex",
3180
3180
  alignItems: "center",
@@ -3202,14 +3202,14 @@ var Bi = (e, t) => {
3202
3202
  o || ((e) => {
3203
3203
  if (e !== s) if (s === "classic" ? (c.current.condition = i?.toJSON() ?? null, c.current.style = a) : r && (c.current.scales[r.type] = r), e === "classic") t.update({
3204
3204
  condition: c.current.condition ?? {
3205
- operator: B.BuiltInOperatorNames.Between,
3205
+ operator: V.BuiltInOperatorNames.Between,
3206
3206
  param: null
3207
3207
  },
3208
3208
  style: c.current.style ?? null,
3209
3209
  scale: null
3210
3210
  });
3211
3211
  else {
3212
- let n = c.current.scales[e] ?? (e === z.ScaleType.ColorScale ? $e() : e === z.ScaleType.DataBar ? Me() : we());
3212
+ let n = c.current.scales[e] ?? (e === B.ScaleType.ColorScale ? Qe() : e === B.ScaleType.DataBar ? je() : Ce());
3213
3213
  t.update({
3214
3214
  scale: n,
3215
3215
  condition: null,
@@ -3248,22 +3248,22 @@ var Bi = (e, t) => {
3248
3248
  readOnly: o,
3249
3249
  onConditionChange: (e) => t.setCondition(e)
3250
3250
  })] }),
3251
- r?.type === z.ScaleType.ColorScale && (0, Z.jsx)(wi, {
3251
+ r?.type === B.ScaleType.ColorScale && (0, Z.jsx)(wi, {
3252
3252
  scale: r,
3253
3253
  onScaleChange: l,
3254
3254
  readOnly: o
3255
3255
  }),
3256
- r?.type === z.ScaleType.DataBar && (0, Z.jsx)(Oi, {
3256
+ r?.type === B.ScaleType.DataBar && (0, Z.jsx)(Oi, {
3257
3257
  scale: r,
3258
3258
  onScaleChange: l,
3259
3259
  readOnly: o
3260
3260
  }),
3261
- r?.type === z.ScaleType.IconSet && (0, Z.jsx)(Ii, {
3261
+ r?.type === B.ScaleType.IconSet && (0, Z.jsx)(Ii, {
3262
3262
  scale: r,
3263
3263
  onScaleChange: l,
3264
3264
  readOnly: o
3265
3265
  }),
3266
- s === "classic" && (0, Z.jsx)(F, {
3266
+ s === "classic" && (0, Z.jsx)(I, {
3267
3267
  sx: {
3268
3268
  pl: 2,
3269
3269
  pr: 2,
@@ -3289,8 +3289,8 @@ var Bi = (e, t) => {
3289
3289
  });
3290
3290
  Hi.displayName = "ConditionalFormatEditorPanel";
3291
3291
  var Ui = (0, X.memo)(({ item: e }) => {
3292
- let t = M();
3293
- return Ge(e, "onAnyChange"), !e.isStopIfTrue() || e.getScale() ? null : (0, Z.jsx)(F, {
3292
+ let t = C();
3293
+ return We(e, "onAnyChange"), !e.isStopIfTrue() || e.getScale() ? null : (0, Z.jsx)(I, {
3294
3294
  sx: {
3295
3295
  display: "inline-flex",
3296
3296
  alignItems: "center",
@@ -3311,25 +3311,25 @@ var Ui = (0, X.memo)(({ item: e }) => {
3311
3311
  Ui.displayName = "StopIfTrueBadge";
3312
3312
  var Wi = (0, X.memo)(({ item: e }) => (0, Z.jsx)(It, {
3313
3313
  item: e,
3314
- label: M()("conditionalFormat.applyTo"),
3314
+ label: C()("conditionalFormat.applyTo"),
3315
3315
  helperText: null
3316
3316
  }));
3317
3317
  Wi.displayName = "ConditionalFormatCardRanges";
3318
3318
  var Gi = {
3319
3319
  key: "conditional-format",
3320
3320
  messageKeys: {
3321
- none: i("conditionalFormat.none"),
3322
- addPrompt: i("conditionalFormat.addPrompt"),
3323
- heading: i("conditionalFormat.heading"),
3324
- insert: i("conditionalFormat.insert"),
3325
- new: i("conditionalFormat.new"),
3326
- moveUp: i("conditionalFormat.moveUp"),
3327
- moveDown: i("conditionalFormat.moveDown"),
3328
- edit: i("conditionalFormat.edit"),
3329
- duplicate: i("conditionalFormat.duplicate"),
3330
- delete: i("conditionalFormat.delete"),
3331
- cancel: i("conditionalFormat.cancel"),
3332
- save: i("conditionalFormat.save")
3321
+ none: f("conditionalFormat.none"),
3322
+ addPrompt: f("conditionalFormat.addPrompt"),
3323
+ heading: f("conditionalFormat.heading"),
3324
+ insert: f("conditionalFormat.insert"),
3325
+ new: f("conditionalFormat.new"),
3326
+ moveUp: f("conditionalFormat.moveUp"),
3327
+ moveDown: f("conditionalFormat.moveDown"),
3328
+ edit: f("conditionalFormat.edit"),
3329
+ duplicate: f("conditionalFormat.duplicate"),
3330
+ delete: f("conditionalFormat.delete"),
3331
+ cancel: f("conditionalFormat.cancel"),
3332
+ save: f("conditionalFormat.save")
3333
3333
  },
3334
3334
  getCollection: (e) => e.getConditionalFormats(),
3335
3335
  changeEvents: ["onConditionalFormatsChange"],
@@ -4247,14 +4247,14 @@ var ro = (0, X.memo)(no), io = Na({ wrappedRoot: {
4247
4247
  checkIcon: "_checkIcon_h0jnt_42",
4248
4248
  button: "_button_h0jnt_47"
4249
4249
  }, _o = (0, X.memo)((0, X.forwardRef)((e, t) => {
4250
- let { id: n, message: r, iconVariant: i, error: a, hideIconVariant: o, ...s } = e, c = M(), { closeSnackbar: l } = ho(), [u, f] = (0, X.useState)(!1), h = a ? d.collectErrorChain(a, !0)?.[0]?.error : void 0, g = h && !(h instanceof p), _ = (0, X.useCallback)(() => {
4251
- f((e) => !e);
4250
+ let { id: n, message: r, iconVariant: i, error: a, hideIconVariant: o, ...c } = e, u = C(), { closeSnackbar: d } = ho(), [f, p] = (0, X.useState)(!1), h = a ? s.collectErrorChain(a, !0)?.[0]?.error : void 0, g = h && !(h instanceof l), _ = (0, X.useCallback)(() => {
4251
+ p((e) => !e);
4252
4252
  }, []), v = (0, X.useCallback)(() => {
4253
- l(n);
4254
- }, [n, l]), y = h?.message;
4253
+ d(n);
4254
+ }, [n, d]), y = h?.message;
4255
4255
  return !y && (0, X.isValidElement)(r) && (y = r), y || typeof r != "string" || (y = r), y ||= `Unknown Error: ${r}`, (0, Z.jsx)(Ja, {
4256
4256
  ref: t,
4257
- className: L(go.root, "error-snackbar"),
4257
+ className: R(go.root, "error-snackbar"),
4258
4258
  children: (0, Z.jsxs)(fr, {
4259
4259
  className: go.card,
4260
4260
  style: {
@@ -4275,13 +4275,13 @@ var ro = (0, X.memo)(no), io = Na({ wrappedRoot: {
4275
4275
  (0, Z.jsx)("div", { style: { flex: "1 1 auto" } }),
4276
4276
  (0, Z.jsxs)("div", {
4277
4277
  className: go.icons,
4278
- children: [g ? (0, Z.jsx)(rt, {
4279
- "aria-label": c("toast.showMore"),
4278
+ children: [g ? (0, Z.jsx)(nt, {
4279
+ "aria-label": u("toast.showMore"),
4280
4280
  size: "small",
4281
- className: L(go.expand, { [go.expandOpen]: u }),
4281
+ className: R(go.expand, { [go.expandOpen]: f }),
4282
4282
  onClick: _,
4283
4283
  children: (0, Z.jsx)(m, { iconKey: "ExpandMore" })
4284
- }) : null, (0, Z.jsx)(rt, {
4284
+ }) : null, (0, Z.jsx)(nt, {
4285
4285
  size: "small",
4286
4286
  className: go.expand,
4287
4287
  onClick: v,
@@ -4292,8 +4292,8 @@ var ro = (0, X.memo)(no), io = Na({ wrappedRoot: {
4292
4292
  })]
4293
4293
  })
4294
4294
  ]
4295
- }), g ? (0, Z.jsx)(pe, {
4296
- in: u,
4295
+ }), g ? (0, Z.jsx)(fe, {
4296
+ in: f,
4297
4297
  timeout: "auto",
4298
4298
  children: (0, Z.jsx)("div", {
4299
4299
  className: go.stackTraceContainer,
@@ -4313,8 +4313,8 @@ var ro = (0, X.memo)(no), io = Na({ wrappedRoot: {
4313
4313
  _o.displayName = "ToastError";
4314
4314
  var vo = (0, Z.jsx)(() => (0, Z.jsx)(pt, {
4315
4315
  label: "SheetXL",
4316
- description: M()("logo.description"),
4317
- children: (0, Z.jsx)(F, {
4316
+ description: C()("logo.description"),
4317
+ children: (0, Z.jsx)(I, {
4318
4318
  component: "a",
4319
4319
  href: "https://www.sheetxl.com",
4320
4320
  target: "_blank",
@@ -4327,14 +4327,14 @@ var vo = (0, Z.jsx)(() => (0, Z.jsx)(pt, {
4327
4327
  marginLeft: "6px",
4328
4328
  cursor: "pointer"
4329
4329
  },
4330
- children: (0, Z.jsx)(Qe, { style: {
4330
+ children: (0, Z.jsx)(Ze, { style: {
4331
4331
  width: "24px",
4332
4332
  height: "24px"
4333
4333
  } })
4334
4334
  })
4335
4335
  }), {}), yo = (0, X.memo)((0, X.forwardRef)((e, t) => {
4336
- let { workbook: n, className: r, logo: i = vo, mainElement: a, startElement: o, endElement: s, ...c } = e, [l, { width: u }] = fe(), d = u < 530, f = (0, X.useRef)(null);
4337
- return (0, Z.jsx)(F, {
4336
+ let { workbook: n, className: r, logo: i = vo, mainElement: a, startElement: o, endElement: s, ...c } = e, [l, { width: u }] = de(), d = u < 530, f = (0, X.useRef)(null);
4337
+ return (0, Z.jsx)(I, {
4338
4338
  ...c,
4339
4339
  ref: Wt([
4340
4340
  f,
@@ -4344,7 +4344,7 @@ var vo = (0, Z.jsx)(() => (0, Z.jsx)(pt, {
4344
4344
  className: r,
4345
4345
  children: en({
4346
4346
  isCompact: d,
4347
- wrapperSelect: (e) => (0, Z.jsxs)(F, {
4347
+ wrapperSelect: (e) => (0, Z.jsxs)(I, {
4348
4348
  sx: {
4349
4349
  display: "grid",
4350
4350
  gridTemplateColumns: "1fr auto 1fr",
@@ -4355,7 +4355,7 @@ var vo = (0, Z.jsx)(() => (0, Z.jsx)(pt, {
4355
4355
  paddingRight: (e) => e.spacing(1)
4356
4356
  },
4357
4357
  children: [
4358
- (0, Z.jsxs)(F, {
4358
+ (0, Z.jsxs)(I, {
4359
4359
  sx: {
4360
4360
  display: "flex",
4361
4361
  flexDirection: "row",
@@ -4363,7 +4363,7 @@ var vo = (0, Z.jsx)(() => (0, Z.jsx)(pt, {
4363
4363
  justifyContent: "start",
4364
4364
  gap: (e) => e.spacing(.5)
4365
4365
  },
4366
- children: [i, (0, Z.jsxs)(F, {
4366
+ children: [i, (0, Z.jsxs)(I, {
4367
4367
  sx: {
4368
4368
  display: "flex",
4369
4369
  flexDirection: "row",
@@ -4373,7 +4373,7 @@ var vo = (0, Z.jsx)(() => (0, Z.jsx)(pt, {
4373
4373
  children: [o, e]
4374
4374
  })]
4375
4375
  }),
4376
- (0, Z.jsx)(F, {
4376
+ (0, Z.jsx)(I, {
4377
4377
  sx: {
4378
4378
  display: "flex",
4379
4379
  flexDirection: "row",
@@ -4384,7 +4384,7 @@ var vo = (0, Z.jsx)(() => (0, Z.jsx)(pt, {
4384
4384
  },
4385
4385
  children: a
4386
4386
  }),
4387
- (0, Z.jsx)(F, {
4387
+ (0, Z.jsx)(I, {
4388
4388
  sx: {
4389
4389
  display: "flex",
4390
4390
  alignItems: "center",
@@ -4400,8 +4400,8 @@ var vo = (0, Z.jsx)(() => (0, Z.jsx)(pt, {
4400
4400
  yo.displayName = "StudioToolbar";
4401
4401
  var bo = (e, t) => {
4402
4402
  let n = new URL(window.location.pathname, window.location.origin);
4403
- e && n.searchParams.set("source", e), e && t && n.searchParams.set("title", t), window.open(n.toString(), "sheetxl-" + s.uuidV4(), "popup=true");
4404
- }, xo = Nn(f("studio:shortcutKeysDialog", () => import("./bvuPDJZmI2O5oihy2.mjs")).load);
4403
+ e && n.searchParams.set("source", e), e && t && n.searchParams.set("title", t), window.open(n.toString(), "sheetxl-" + o.uuidV4(), "popup=true");
4404
+ }, xo = Nn(d("studio:shortcutKeysDialog", () => import("./B1uljoK1sRsKmI6N2.mjs")).load);
4405
4405
  At(), Ot();
4406
4406
  var So = /* @__PURE__ */ new Set(["ui"]), Co = (e) => {
4407
4407
  let t = (e) => {
@@ -4413,7 +4413,7 @@ var So = /* @__PURE__ */ new Set(["ui"]), Co = (e) => {
4413
4413
  }
4414
4414
  }, n = (e, n) => {
4415
4415
  let r = t(e);
4416
- return typeof r == "string" ? c(r, n, o.getActive()) : void 0;
4416
+ return typeof r == "string" ? a(r, n, i.getActive()) : void 0;
4417
4417
  }, r = [];
4418
4418
  for (let i of e.names()) if (!So.has(i)) for (let a of e.keys(i)) {
4419
4419
  let o = e.resolveDefinition(i, a);
@@ -4425,29 +4425,29 @@ var So = /* @__PURE__ */ new Set(["ui"]), Co = (e) => {
4425
4425
  getDescription: () => n(o?.description, o?.params) ?? "",
4426
4426
  getShortcut: () => t(o?.shortcut) ?? null,
4427
4427
  getScope: () => i,
4428
- getScopeLabel: () => ee.DefaultCommandCatalogService.getScopeLabel(i)
4428
+ getScopeLabel: () => S.DefaultCommandCatalogService.getScopeLabel(i)
4429
4429
  }
4430
4430
  });
4431
4431
  }
4432
4432
  return { getAllCommands: () => r };
4433
4433
  }, wo = (e) => {
4434
- let { children: t, workbook: n, setWorkbook: r, workbookTitle: s, isDirty: c, refSave: l } = e, d = ee.useCommandScope(), f = te(), { showModal: p } = Sn(), m = M(), h = (0, X.useRef)(c);
4435
- h.current = c;
4436
- let g = A(() => {
4437
- let e = d?.getRoot().getRegistry();
4434
+ let { children: t, workbook: n, setWorkbook: r, workbookTitle: a, isDirty: o, refSave: s } = e, l = S.useCommandScope(), u = ae(), { showModal: d } = Sn(), m = C(), h = (0, X.useRef)(o);
4435
+ h.current = o;
4436
+ let _ = D(() => {
4437
+ let e = l?.getRoot().getRegistry();
4438
4438
  if (!e) return;
4439
- let t = p(xo, {
4439
+ let t = d(xo, {
4440
4440
  title: m("dialog.shortcutKeys.title"),
4441
4441
  commands: Co(e),
4442
4442
  onDone: () => t.hide(),
4443
4443
  onLoadError: (e) => {
4444
- t.destroy(), f.showError(e);
4444
+ t.destroy(), u.showError(e);
4445
4445
  }
4446
4446
  });
4447
- }, [d, p]);
4447
+ }, [l, d]);
4448
4448
  (0, X.useEffect)(() => {
4449
- if (!d) return;
4450
- let e = d.getRoot().contribution();
4449
+ if (!l) return;
4450
+ let e = l.getRoot().contribution();
4451
4451
  return function(e, t) {
4452
4452
  let n = () => t.showShortcuts();
4453
4453
  e.updateCommand("showKeyboardShortcuts", { callback: n }), e.updateCommand("help", { callback: n });
@@ -4459,12 +4459,12 @@ var So = /* @__PURE__ */ new Set(["ui"]), Co = (e) => {
4459
4459
  })) e.updateCommand(t, { callback: () => {
4460
4460
  window?.open(n);
4461
4461
  } });
4462
- }(e, { showShortcuts: g }), () => e.remove();
4463
- }, [d, g]);
4464
- let v = kt("(prefers-color-scheme: dark)"), { themeMode: y } = _(), [b, x] = ie(Fe.Mode, null), [S, C] = ie(Fe.DarkGrid, !1), [T, E] = ie(Fe.DarkImages, !1);
4462
+ }(e, { showShortcuts: _ }), () => e.remove();
4463
+ }, [l, _]);
4464
+ let v = kt("(prefers-color-scheme: dark)"), { themeMode: b } = T(), [x, w] = y(Pe.Mode, null), [E, O] = y(Pe.DarkGrid, !1), [ee, te] = y(Pe.DarkImages, !1);
4465
4465
  (0, X.useEffect)(() => {
4466
- if (!d) return;
4467
- let e = d.getRoot().contribution();
4466
+ if (!l) return;
4467
+ let e = l.getRoot().contribution();
4468
4468
  return function(e, t) {
4469
4469
  e.updateCommand("themeMode", {
4470
4470
  state: t.mode ?? null,
@@ -4483,32 +4483,32 @@ var So = /* @__PURE__ */ new Set(["ui"]), Co = (e) => {
4483
4483
  callback: () => t.setEnableDarkImages((e) => !e)
4484
4484
  });
4485
4485
  }(e, {
4486
- mode: b,
4487
- setMode: x,
4488
- isDark: b === "dark" || !b && y === "dark",
4486
+ mode: x,
4487
+ setMode: w,
4488
+ isDark: x === "dark" || !x && b === "dark",
4489
4489
  systemDefaultDark: v,
4490
- enableDarkGrid: S,
4491
- setEnableDarkGrid: C,
4492
- enableDarkImages: T,
4493
- setEnableDarkImages: E
4490
+ enableDarkGrid: E,
4491
+ setEnableDarkGrid: O,
4492
+ enableDarkImages: ee,
4493
+ setEnableDarkImages: te
4494
4494
  }), () => e.remove();
4495
4495
  }, [
4496
- d,
4496
+ l,
4497
+ x,
4497
4498
  b,
4498
- y,
4499
4499
  v,
4500
- S,
4501
- T,
4502
- x,
4503
- C,
4504
- E
4500
+ E,
4501
+ ee,
4502
+ w,
4503
+ O,
4504
+ te
4505
4505
  ]);
4506
- let [O, k] = ie(w.Active, null), [j, N] = (0, X.useState)(() => o.getActive());
4507
- (0, X.useEffect)(() => o.addChangeListener(N), []), (0, X.useEffect)(() => {
4508
- O && O !== o.getActive() && o.setActive(O);
4509
- }, [O]), (0, X.useEffect)(() => {
4510
- if (!d) return;
4511
- let e = d.getRoot().contribution();
4506
+ let [k, A] = y(g.Active, null), [j, ne] = (0, X.useState)(() => i.getActive());
4507
+ (0, X.useEffect)(() => i.addChangeListener(ne), []), (0, X.useEffect)(() => {
4508
+ k && k !== i.getActive() && i.setActive(k);
4509
+ }, [k]), (0, X.useEffect)(() => {
4510
+ if (!l) return;
4511
+ let e = l.getRoot().contribution();
4512
4512
  return function(e, t) {
4513
4513
  e.updateCommand("language", {
4514
4514
  state: t.active,
@@ -4519,22 +4519,22 @@ var So = /* @__PURE__ */ new Set(["ui"]), Co = (e) => {
4519
4519
  }(e, {
4520
4520
  active: j,
4521
4521
  setActive: (e) => {
4522
- k(e);
4522
+ A(e);
4523
4523
  }
4524
4524
  }), () => e.remove();
4525
4525
  }, [
4526
- d,
4526
+ l,
4527
4527
  j,
4528
- k
4528
+ A
4529
4529
  ]);
4530
- let { isFullscreenAvailable: re, isFullscreenEnabled: ae, toggleFullscreen: P } = ne();
4530
+ let { isFullscreenAvailable: re, isFullscreenEnabled: M, toggleFullscreen: N } = ie();
4531
4531
  (0, X.useEffect)(() => {
4532
- if (!d) return;
4533
- let e = d.getRoot().contribution();
4532
+ if (!l) return;
4533
+ let e = l.getRoot().contribution();
4534
4534
  return function(e, t) {
4535
4535
  e.updateCommand("fullScreenToggle", {
4536
4536
  state: t.isFullscreenEnabled,
4537
- disabledReasons: t.isFullscreenAvailable ? [] : [i("reason.fullscreenUnavailable")],
4537
+ disabledReasons: t.isFullscreenAvailable ? [] : [f("reason.fullscreenUnavailable")],
4538
4538
  icon: t.isFullscreenEnabled ? "FullScreenOff" : "FullScreen",
4539
4539
  callback: () => {
4540
4540
  t.toggleFullscreen();
@@ -4542,52 +4542,52 @@ var So = /* @__PURE__ */ new Set(["ui"]), Co = (e) => {
4542
4542
  });
4543
4543
  }(e, {
4544
4544
  isFullscreenAvailable: re,
4545
- isFullscreenEnabled: ae,
4546
- toggleFullscreen: P
4545
+ isFullscreenEnabled: M,
4546
+ toggleFullscreen: N
4547
4547
  }), () => e.remove();
4548
4548
  }, [
4549
- d,
4549
+ l,
4550
4550
  re,
4551
- ae,
4552
- P
4551
+ M,
4552
+ N
4553
4553
  ]);
4554
- let oe = Xe(!0);
4554
+ let P = Ye(!0);
4555
4555
  return (0, X.useEffect)(() => {
4556
- if (!d) return;
4557
- let e = d.getRoot().contribution();
4556
+ if (!l) return;
4557
+ let e = l.getRoot().contribution();
4558
4558
  return function(e) {
4559
4559
  e.updateCommand("protectWorkbook", {
4560
4560
  tags: ["noTransaction", "noRepeat"],
4561
4561
  callback: () => {
4562
4562
  ((e, t) => {
4563
- oe.activate(e, t);
4563
+ P.activate(e, t);
4564
4564
  })("manageProtection", { args: { tab: "workbook" } });
4565
4565
  }
4566
4566
  });
4567
4567
  }(e), () => e.remove();
4568
- }, [d, oe]), (0, X.useEffect)(() => {
4569
- if (!d || !n) return;
4570
- let e = d.getRoot().contribution(), t = function(e, t) {
4571
- let { workbook: n, setWorkbook: r, workbookTitle: o = "export", isDirty: s, notifier: c, refSave: l } = t, d = !1, f = async (e = null, t = null, n = null) => {
4572
- let r, i = [], o = {
4568
+ }, [l, P]), (0, X.useEffect)(() => {
4569
+ if (!l || !n) return;
4570
+ let e = l.getRoot().contribution(), t = function(e, t) {
4571
+ let { workbook: n, setWorkbook: r, workbookTitle: i = "export", isDirty: a, notifier: o, refSave: s } = t, l = !1, u = async (e = null, t = null, n = null) => {
4572
+ let r, i = [], a = {
4573
4573
  source: e && typeof e != "string" ? e : null,
4574
4574
  typedCreateWorkbookOptions: t ?? void 0,
4575
4575
  onPassword: async ({ origin: e, validate: t }) => {
4576
- let n = await c.showInput({
4577
- title: a("dialog.password.title"),
4578
- description: a("dialog.password.open.description", { name: e.getName() ?? "" }),
4576
+ let n = await o.showInput({
4577
+ title: p("dialog.password.title"),
4578
+ description: p("dialog.password.open.description", { name: e.getName() ?? "" }),
4579
4579
  inputType: "password",
4580
4580
  options: [{
4581
4581
  id: "Open",
4582
- label: () => a("dialog.open")
4582
+ label: () => p("dialog.open")
4583
4583
  }, "Cancel"],
4584
4584
  defaultOption: "Open",
4585
4585
  onValidateInput: async (e, n) => n === void 0 ? { valid: !0 } : e ? await t(e) ? { valid: !0 } : {
4586
4586
  valid: !1,
4587
- message: a("dialog.password.open.retry")
4587
+ message: p("dialog.password.open.retry")
4588
4588
  } : {
4589
4589
  valid: !1,
4590
- message: a("dialog.password.open.required")
4590
+ message: p("dialog.password.open.required")
4591
4591
  }
4592
4592
  });
4593
4593
  return n?.option === "Open" ? n.input ?? null : null;
@@ -4596,13 +4596,13 @@ var So = /* @__PURE__ */ new Set(["ui"]), Co = (e) => {
4596
4596
  i.push(e);
4597
4597
  } }
4598
4598
  };
4599
- n && (o.progress.onStart = n);
4599
+ n && (a.progress.onStart = n);
4600
4600
  let s = -5;
4601
- return V.read({
4602
- ...o,
4601
+ return H.read({
4602
+ ...a,
4603
4603
  progress: {
4604
4604
  async onStart(e, t) {
4605
- await o?.progress?.onStart?.(e, t), r = await c?.showBusy?.(a("workbook.opening", { name: e?.getName() ?? "" })), t && r?.setProgress?.(0, t);
4605
+ await a?.progress?.onStart?.(e, t), r = await o?.showBusy?.(p("workbook.opening", { name: e?.getName() ?? "" })), t && r?.setProgress?.(0, t);
4606
4606
  },
4607
4607
  onProgress(e, t) {
4608
4608
  if (!t) return;
@@ -4615,93 +4615,93 @@ var So = /* @__PURE__ */ new Set(["ui"]), Co = (e) => {
4615
4615
  n - s < 5 || (s = n, r?.setProgress?.(e, t));
4616
4616
  },
4617
4617
  onComplete() {
4618
- r?.(), i.length > 0 && (c.showMessage(a("workbook.importWarnings")), console.warn("Import warnings:\n" + i.join("\n")));
4618
+ r?.(), i.length > 0 && (o.showMessage(p("workbook.importWarnings")), console.warn("Import warnings:\n" + i.join("\n")));
4619
4619
  },
4620
4620
  onWarning(e, t) {
4621
- o?.progress?.onWarning?.(e, t);
4621
+ a?.progress?.onWarning?.(e, t);
4622
4622
  }
4623
4623
  }
4624
4624
  });
4625
- }, p = async (e, t, n = !1, r) => {
4626
- let i, s, l = {
4625
+ }, d = async (e, t, n = !1, r) => {
4626
+ let a, s, c = {
4627
4627
  format: t?.key,
4628
4628
  progress: {
4629
4629
  async onStart(e) {
4630
- i = await c?.showBusy?.(a("workbook.saving", { name: e?.getName() ?? "" }));
4630
+ a = await o?.showBusy?.(p("workbook.saving", { name: e?.getName() ?? "" }));
4631
4631
  },
4632
4632
  onComplete() {
4633
- i?.();
4633
+ a?.();
4634
4634
  }
4635
4635
  },
4636
4636
  onWarnings: r ?? (async ({ warnings: e, origin: t, canCancel: n }) => {
4637
- i?.(), console.warn(`Not written to '${t.getName()}':\n${e.map((e) => ` ${e.message}`).join("\n")}`);
4638
- let r = a("dialog.writeWarnings.title"), o = t.getFormat(), s = (o ? (await V.getWriteFormats({ search: o }))[0] : void 0)?.description ?? o ?? "", l = a("dialog.writeWarnings.keep");
4639
- return n ? await c.showOptions({
4637
+ a?.(), console.warn(`Not written to '${t.getName()}':\n${e.map((e) => ` ${e.message}`).join("\n")}`);
4638
+ let r = p("dialog.writeWarnings.title"), i = t.getFormat(), s = (i ? (await H.getWriteFormats({ search: i }))[0] : void 0)?.description ?? i ?? "", c = p("dialog.writeWarnings.keep");
4639
+ return n ? await o.showOptions({
4640
4640
  title: r,
4641
- type: D.Warning,
4642
- description: `${a("dialog.writeWarnings.confirm", { format: s })}\n\n${l}`,
4641
+ type: oe.Warning,
4642
+ description: `${p("dialog.writeWarnings.confirm", { format: s })}\n\n${c}`,
4643
4643
  options: [{
4644
4644
  id: "Save",
4645
- label: () => a("dialog.save")
4645
+ label: () => p("dialog.save")
4646
4646
  }, "Cancel"],
4647
4647
  defaultOption: "Cancel"
4648
- }) === "Save" && (i = await c?.showBusy?.(a("workbook.saving", { name: t?.getName() ?? "" })), !0) : (c.showOptions({
4648
+ }) === "Save" && (a = await o?.showBusy?.(p("workbook.saving", { name: t?.getName() ?? "" })), !0) : (o.showOptions({
4649
4649
  title: r,
4650
- type: D.Warning,
4651
- description: `${a("dialog.writeWarnings.saved", { format: s })}\n\n${l}`,
4650
+ type: oe.Warning,
4651
+ description: `${p("dialog.writeWarnings.saved", { format: s })}\n\n${c}`,
4652
4652
  options: ["Ok"]
4653
4653
  }), !0);
4654
4654
  })
4655
4655
  };
4656
4656
  if (n) {
4657
- let n = e.getOrigin(), r = t?.exts?.[0] ?? (n.getExtension() || "sxl"), i = `${o || n.getName() || a("workbook.defaultName")}.${r}`;
4658
- s = await V.writeAs(e, i, {
4659
- ...l,
4657
+ let n = e.getOrigin(), r = t?.exts?.[0] ?? (n.getExtension() || "sxl"), a = `${i || n.getName() || p("workbook.defaultName")}.${r}`;
4658
+ s = await H.writeAs(e, a, {
4659
+ ...c,
4660
4660
  prompt: !0
4661
4661
  });
4662
- } else s = await V.write(e, void 0, l);
4662
+ } else s = await H.write(e, void 0, c);
4663
4663
  return s;
4664
4664
  }, m = null;
4665
4665
  return e.updateCommand("newWorkbook", { callback: async (e) => {
4666
- let t = V.canRead() && !s();
4666
+ let t = H.canRead() && !a();
4667
4667
  e?.source ? t && m ? await m({
4668
4668
  url: e.source,
4669
4669
  title: e.title
4670
4670
  }) : bo(e.source, e.title) : t ? r({}) : bo();
4671
4671
  } }), e.updateCommand("closeWorkbook", { callback: async () => {
4672
- s() && await c.showOptions({
4673
- title: a("dialog.confirm.title"),
4674
- description: a("dialog.unsavedChanges"),
4672
+ a() && await o.showOptions({
4673
+ title: p("dialog.confirm.title"),
4674
+ description: p("dialog.unsavedChanges"),
4675
4675
  options: [{
4676
4676
  id: "Close",
4677
- label: () => a("dialog.close")
4677
+ label: () => p("dialog.close")
4678
4678
  }, "Cancel"],
4679
4679
  defaultOption: "Cancel"
4680
4680
  }) !== "Close" || window.close();
4681
4681
  } }), (async () => {
4682
- let t = await V.getWriteFormats();
4683
- if (d) return;
4684
- let o = V.canWrite(), h = V.canRead();
4685
- if (o) {
4682
+ let t = await H.getWriteFormats();
4683
+ if (l) return;
4684
+ let i = H.canWrite(), h = H.canRead();
4685
+ if (i) {
4686
4686
  let r = (e) => {
4687
4687
  let r = e ? t.find((t) => t.key === e) : void 0;
4688
- p(n, r, !0).catch((e) => c.showError(e));
4688
+ d(n, r, !0).catch((e) => o.showError(e));
4689
4689
  };
4690
4690
  e.updateCommand("saveWorkbook", { callback: () => {
4691
- p(n, void 0, !1).catch((e) => c.showError(e));
4692
- } }), l && (l.current = (e) => p(n, void 0, !1, e?.onWarnings)), e.updateCommand("saveWorkbookAs", { callback: (e) => {
4691
+ d(n, void 0, !1).catch((e) => o.showError(e));
4692
+ } }), s && (s.current = (e) => d(n, void 0, !1, e?.onWarnings)), e.updateCommand("saveWorkbookAs", { callback: (e) => {
4693
4693
  r(e);
4694
4694
  } });
4695
4695
  for (let n of t) {
4696
4696
  let t = n.key;
4697
4697
  e.updateCommand(`saveWorkbookAs${t}`, {
4698
- label: () => a("command.saveAsFormat.label", { format: n.description }),
4698
+ label: () => p("command.saveAsFormat.label", { format: n.description }),
4699
4699
  groupLabels: {
4700
- workbook: () => a("command.saveAsFormat.workbook", { format: n.description }),
4701
- saveWorkbookOptions: () => a("command.saveAsFormat.compact", { format: n.description })
4700
+ workbook: () => p("command.saveAsFormat.workbook", { format: n.description }),
4701
+ saveWorkbookOptions: () => p("command.saveAsFormat.compact", { format: n.description })
4702
4702
  },
4703
4703
  tags: n.tags,
4704
- description: () => a("command.saveAsFormat", { format: n.description }),
4704
+ description: () => p("command.saveAsFormat", { format: n.description }),
4705
4705
  icon: t === "CSV" ? "FileDownloadAsCSV" : t === "Excel" ? "FileDownloadAsExcel" : "FileDownloadAsSheet",
4706
4706
  callback: () => {
4707
4707
  r(t);
@@ -4715,46 +4715,46 @@ var So = /* @__PURE__ */ new Set(["ui"]), Co = (e) => {
4715
4715
  ...n.options
4716
4716
  } };
4717
4717
  try {
4718
- let r = "", a = await f(e, t, async (e) => {
4718
+ let r = "", i = await u(e, t, async (e) => {
4719
4719
  r = e?.getName() ?? "";
4720
4720
  });
4721
- if (!a) return;
4722
- let o = a.getSheets().getItems();
4721
+ if (!i) return;
4722
+ let a = i.getSheets().getItems();
4723
4723
  await n.doBatch(async () => {
4724
- for (let e = 0; e < o.length; e++) {
4725
- let t = o[e], i = o.length === 1 ? r : t.getName(), a = n.findValidSheetName(i);
4724
+ for (let e = 0; e < a.length; e++) {
4725
+ let t = a[e], i = a.length === 1 ? r : t.getName(), o = n.findValidSheetName(i);
4726
4726
  await n.getSheets().add({
4727
- name: a,
4728
- autoSelect: e === o.length - 1
4727
+ name: o,
4728
+ autoSelect: e === a.length - 1
4729
4729
  }).getEntireRange().copyFrom(t.getEntireRange());
4730
4730
  }
4731
- }, i("op.importData")), a.close();
4731
+ }, f("op.importData")), i.close();
4732
4732
  } catch (e) {
4733
- c.showError(e);
4733
+ o.showError(e);
4734
4734
  }
4735
4735
  };
4736
4736
  if (e.updateCommand("insertDataFromFile", {
4737
4737
  tags: ["noTransaction", "noRepeat"],
4738
4738
  callback: async (e = null) => {
4739
4739
  let t = e;
4740
- if (t || V.canRead() || (t = await (async () => {
4741
- let e = await V.getReadFormats(), t = [...new Set(e.flatMap((e) => e.exts))].map((e) => `.${e}`);
4742
- return u.openFileDialog(t.length ? t.join(",") : "*.*");
4740
+ if (t || H.canRead() || (t = await (async () => {
4741
+ let e = await H.getReadFormats(), t = [...new Set(e.flatMap((e) => e.exts))].map((e) => `.${e}`);
4742
+ return c.openFileDialog(t.length ? t.join(",") : "*.*");
4743
4743
  })(), t)) return g(t);
4744
4744
  }
4745
4745
  }), e.updateCommand("insertDataFromURL", {
4746
4746
  tags: ["noTransaction", "noRepeat"],
4747
4747
  callback: async (e) => {
4748
4748
  if (!e) {
4749
- let t = await c.showInput({
4750
- title: a("dialog.importFromWeb.title"),
4751
- description: a("dialog.importFromWeb.description"),
4752
- inputLabel: a("dialog.webAddress.inputLabel"),
4749
+ let t = await o.showInput({
4750
+ title: p("dialog.importFromWeb.title"),
4751
+ description: p("dialog.importFromWeb.description"),
4752
+ inputLabel: p("dialog.webAddress.inputLabel"),
4753
4753
  initialValue: "https://www.sheetxl.com/docs/examples/financial-calculators.xlsx",
4754
4754
  propsInput: { style: { minWidth: "440px" } },
4755
4755
  options: [{
4756
4756
  id: "Import",
4757
- label: () => a("dialog.import")
4757
+ label: () => p("dialog.import")
4758
4758
  }]
4759
4759
  });
4760
4760
  if (t.option !== "Import") return;
@@ -4766,16 +4766,16 @@ var So = /* @__PURE__ */ new Set(["ui"]), Co = (e) => {
4766
4766
  let n = await t.blob(), r = decodeURIComponent(e.split("/").pop()?.split("?")[0] || "") || "import.xlsx";
4767
4767
  await g(new File([n], r, { type: n.type }));
4768
4768
  } catch (e) {
4769
- c.showError(e);
4769
+ o.showError(e);
4770
4770
  }
4771
4771
  }
4772
4772
  }), h) {
4773
- let t = async () => !s() || await c.showOptions({
4774
- title: a("dialog.confirm.title"),
4775
- description: a("dialog.unsavedChanges"),
4773
+ let t = async () => !a() || await o.showOptions({
4774
+ title: p("dialog.confirm.title"),
4775
+ description: p("dialog.unsavedChanges"),
4776
4776
  options: [{
4777
4777
  id: "Open",
4778
- label: () => a("dialog.open")
4778
+ label: () => p("dialog.open")
4779
4779
  }, "Cancel"],
4780
4780
  defaultOption: "Cancel"
4781
4781
  }) === "Open", i = async (e = null) => {
@@ -4784,11 +4784,11 @@ var So = /* @__PURE__ */ new Set(["ui"]), Co = (e) => {
4784
4784
  ...n.options
4785
4785
  } };
4786
4786
  try {
4787
- let n = await f(e, t);
4787
+ let n = await u(e, t);
4788
4788
  if (!n) return;
4789
4789
  r(n);
4790
4790
  } catch (e) {
4791
- c.showError(e);
4791
+ o.showError(e);
4792
4792
  }
4793
4793
  };
4794
4794
  e.updateCommand("openWorkbook", { callback: async (e = null) => {
@@ -4796,15 +4796,15 @@ var So = /* @__PURE__ */ new Set(["ui"]), Co = (e) => {
4796
4796
  } }), m = async (e) => {
4797
4797
  let n = typeof e == "string" ? e : e?.url, r = typeof e == "string" ? void 0 : e?.title;
4798
4798
  if (!n) {
4799
- let e = await c.showInput({
4800
- title: a("dialog.openFromWeb.title"),
4801
- description: a("dialog.openFromWeb.description"),
4802
- inputLabel: a("dialog.webAddress.inputLabel"),
4799
+ let e = await o.showInput({
4800
+ title: p("dialog.openFromWeb.title"),
4801
+ description: p("dialog.openFromWeb.description"),
4802
+ inputLabel: p("dialog.webAddress.inputLabel"),
4803
4803
  initialValue: "https://www.sheetxl.com/docs/examples/financial-calculators.xlsx",
4804
4804
  propsInput: { style: { minWidth: "440px" } },
4805
4805
  options: [{
4806
4806
  id: "Open",
4807
- label: () => a("dialog.open")
4807
+ label: () => p("dialog.open")
4808
4808
  }]
4809
4809
  });
4810
4810
  if (e.option !== "Open") return;
@@ -4816,36 +4816,36 @@ var So = /* @__PURE__ */ new Set(["ui"]), Co = (e) => {
4816
4816
  let t = await e.blob(), a = decodeURIComponent(n.split("/").pop()?.split("?")[0] || "") || "workbook.xlsx", o = a.match(/\.[^/.]+$/)?.[0] ?? "", s = r ? `${r}${o}` : a;
4817
4817
  await i(new File([t], s, { type: t.type }));
4818
4818
  } catch (e) {
4819
- c.showError(e);
4819
+ o.showError(e);
4820
4820
  }
4821
4821
  }, e.updateCommand("openWorkbookFromUrl", { callback: m });
4822
4822
  }
4823
4823
  })(), () => {
4824
- d = !0, l && (l.current = null);
4824
+ l = !0, s && (s.current = null);
4825
4825
  };
4826
4826
  }(e, {
4827
4827
  workbook: n,
4828
4828
  setWorkbook: r,
4829
- workbookTitle: s ?? void 0,
4829
+ workbookTitle: a ?? void 0,
4830
4830
  isDirty: () => h.current?.() ?? !1,
4831
- notifier: f,
4832
- refSave: l
4831
+ notifier: u,
4832
+ refSave: s
4833
4833
  });
4834
4834
  return () => {
4835
4835
  t(), e.remove();
4836
4836
  };
4837
4837
  }, [
4838
- d,
4838
+ l,
4839
4839
  n,
4840
4840
  r,
4841
- s,
4842
- f,
4843
- l
4841
+ a,
4842
+ u,
4843
+ s
4844
4844
  ]), t;
4845
4845
  };
4846
4846
  wo.displayName = "StudioCommandProvider";
4847
4847
  var To = ({ renderWorkbook: e }) => {
4848
- let t = ee.useCommandResolver(), n = (0, X.useRef)(null), r = M(), [i, a] = (0, X.useState)(null), o = (0, X.useCallback)((e) => {
4848
+ let t = S.useCommandResolver(), n = (0, X.useRef)(null), r = C(), [i, a] = (0, X.useState)(null), o = (0, X.useCallback)((e) => {
4849
4849
  let n = e.dataTransfer;
4850
4850
  if (t && n) {
4851
4851
  if (e.type === "dragenter" || e.type === "dragover") {
@@ -4861,7 +4861,7 @@ var To = ({ renderWorkbook: e }) => {
4861
4861
  }
4862
4862
  e.preventDefault();
4863
4863
  }
4864
- }, [t]), s = A((e) => {
4864
+ }, [t]), s = D((e) => {
4865
4865
  e.preventDefault();
4866
4866
  let r = i;
4867
4867
  if (a(null), r && t && (e.stopPropagation(), e.dataTransfer.files && e.dataTransfer.files.length > 0)) {
@@ -4886,7 +4886,7 @@ var To = ({ renderWorkbook: e }) => {
4886
4886
  } }
4887
4887
  });
4888
4888
  } else {
4889
- if (!V.canRead()) return;
4889
+ if (!H.canRead()) return;
4890
4890
  let n = e.dataTransfer.items?.[0], i = typeof window < "u" && window.isSecureContext ? n?.getAsFileSystemHandle?.() : void 0;
4891
4891
  i ? i.then((e) => t.execute("openWorkbook", e?.kind === "file" ? e : r)).catch(() => t.execute("openWorkbook", r)) : t.execute("openWorkbook", r);
4892
4892
  }
@@ -4894,7 +4894,7 @@ var To = ({ renderWorkbook: e }) => {
4894
4894
  }, [t, i]), c = (0, X.useMemo)(() => {
4895
4895
  if (!i) return null;
4896
4896
  let e = i === "insertImage";
4897
- return (0, Z.jsx)(F, {
4897
+ return (0, Z.jsx)(I, {
4898
4898
  className: "drop-overlay",
4899
4899
  sx: {
4900
4900
  position: "absolute",
@@ -4905,7 +4905,7 @@ var To = ({ renderWorkbook: e }) => {
4905
4905
  display: "flex",
4906
4906
  justifyContent: "center",
4907
4907
  alignItems: "center",
4908
- backgroundColor: (e) => j(e.palette.primary.main, .46),
4908
+ backgroundColor: (e) => k(e.palette.primary.main, .46),
4909
4909
  outline: (e) => `2px dashed ${e.palette.primary.main}`,
4910
4910
  outlineOffset: "-6px",
4911
4911
  borderRadius: 2
@@ -4949,7 +4949,7 @@ var To = ({ renderWorkbook: e }) => {
4949
4949
  }), c] });
4950
4950
  }, Eo = (0, X.memo)((e) => {
4951
4951
  let { workbook: t, setWorkbook: n, refDocumentTitle: r, titleWorkbook: i, setWorkbookTitle: a, isDirty: o, initialCommandAnchor: s, renderWorkbook: c, refSave: l } = e;
4952
- return (0, Z.jsx)(Ve, {
4952
+ return (0, Z.jsx)(Be, {
4953
4953
  initialAnchor: s,
4954
4954
  children: (0, Z.jsx)(wo, {
4955
4955
  workbook: t,
@@ -4963,22 +4963,22 @@ var To = ({ renderWorkbook: e }) => {
4963
4963
  });
4964
4964
  Eo.displayName = "CommandsWrapper";
4965
4965
  var Do = {
4966
- sort: f("studio:sortDialog", () => import("./R2c8rUTz1GjCQEp-2.mjs"), { tier: "common" }).load,
4967
- hyperlink: f("studio:hyperlinkDialog", () => import("./BA6JMESdvw_1-mFg2.mjs"), { tier: "common" }).load,
4968
- comments: f("studio:commentsDialog", () => import("./DHzdEqMCGL_JPh9w2.mjs"), { tier: "common" }).load,
4969
- find: f("studio:findReplaceWindow", () => import("./BuSBBEiK_3KnBr632.mjs"), { tier: "common" }).load,
4970
- tableNew: f("studio:tableNewDialog", () => import("./iYNN3Px9AekrMEfu2.mjs"), { tier: "common" }).load,
4971
- namedDetails: f("studio:namedReferenceDialog", () => import("./BnFriW2cIcOJkXU42.mjs")).load,
4972
- insertFunction: f("studio:insertFunctionDialog", () => import("./gAriGKwELet15RCY2.mjs"), { tier: "common" }).load,
4973
- resizeHeader: f("studio:resizeHeaderDialog", () => import("./CA4eJpge9meoO0rj2.mjs")).load,
4974
- fillSeries: f("studio:fillSeriesDialog", () => import("./C3qSUuVA-FII3rMU2.mjs")).load,
4975
- workbookStatistics: f("studio:workbookStatisticsDialog", () => import("./BPt7dDNLBsKrZgzO2.mjs")).load,
4976
- password: f("studio:passwordDialog", () => import("./Be7--zCnU6JvLkK1.mjs").then((e) => e.t).then((e) => e.t)).load
4966
+ sort: d("studio:sortDialog", () => import("./BEsIwguAjJa2eS4g2.mjs"), { tier: "common" }).load,
4967
+ hyperlink: d("studio:hyperlinkDialog", () => import("./q4b66GxkR8TkSiGY2.mjs"), { tier: "common" }).load,
4968
+ comments: d("studio:commentsDialog", () => import("./CXT9wGUombXj7n-s2.mjs"), { tier: "common" }).load,
4969
+ find: d("studio:findReplaceWindow", () => import("./BZiMIYsX6zktg4iD2.mjs"), { tier: "common" }).load,
4970
+ tableNew: d("studio:tableNewDialog", () => import("./CMIHnlRJ6ctaJThm2.mjs"), { tier: "common" }).load,
4971
+ namedDetails: d("studio:namedReferenceDialog", () => import("./Dz6F8pPCO-Rr6Cab2.mjs")).load,
4972
+ insertFunction: d("studio:insertFunctionDialog", () => import("./CZrkJteg0C4_fGBy2.mjs"), { tier: "common" }).load,
4973
+ resizeHeader: d("studio:resizeHeaderDialog", () => import("./DmBNtqAUPAi3RnfW2.mjs")).load,
4974
+ fillSeries: d("studio:fillSeriesDialog", () => import("./BCmGrMte2QyvzkAM2.mjs")).load,
4975
+ workbookStatistics: d("studio:workbookStatisticsDialog", () => import("./BCYJaBOW6d6KNCuQ2.mjs")).load,
4976
+ password: d("studio:passwordDialog", () => import("./B6wW3holuLEkDOgD.mjs").then((e) => e.t).then((e) => e.t)).load
4977
4977
  }, Oo = ["find"], ko = (0, X.memo)((e) => {
4978
- let { children: t } = e, n = ho(), r = n ? n.enqueueSnackbar : () => {}, i = n ? n.closeSnackbar : () => {}, a = (0, X.useRef)(/* @__PURE__ */ new Set()), o = (0, X.useRef)(null), c = (0, X.useRef)(null), [u, d] = (0, X.useState)({
4978
+ let { children: t } = e, n = ho(), r = n ? n.enqueueSnackbar : () => {}, i = n ? n.closeSnackbar : () => {}, a = (0, X.useRef)(/* @__PURE__ */ new Set()), s = (0, X.useRef)(null), c = (0, X.useRef)(null), [l, d] = (0, X.useState)({
4979
4979
  label: null,
4980
4980
  progress: null
4981
- }), f = M(), p = s.EmptyObject, h = jn(p), g = Dn(p), _ = An(p), y = (0, X.useRef)(!1);
4981
+ }), f = C(), p = o.EmptyObject, h = jn(p), g = Dn(p), v = An(p), y = (0, X.useRef)(!1);
4982
4982
  (0, X.useEffect)(() => {
4983
4983
  if (y.current) return;
4984
4984
  y.current = !0;
@@ -4988,7 +4988,7 @@ var Do = {
4988
4988
  return () => n(r);
4989
4989
  }, []);
4990
4990
  let b = (0, X.useRef)(/* @__PURE__ */ new Set());
4991
- return (0, Z.jsxs)(E, {
4991
+ return (0, Z.jsxs)(le, {
4992
4992
  notifier: (0, X.useMemo)(() => {
4993
4993
  let e = (e, t) => {
4994
4994
  if (t?.onceKey) {
@@ -4997,14 +4997,14 @@ var Do = {
4997
4997
  e.add(t.onceKey), b.current = e;
4998
4998
  }
4999
4999
  let n = {
5000
- variant: t?.type ?? D.Info,
5000
+ variant: t?.type ?? oe.Info,
5001
5001
  anchorOrigin: {
5002
5002
  vertical: "top",
5003
5003
  horizontal: "center"
5004
5004
  },
5005
5005
  preventDuplicate: t?.preventDuplicate,
5006
- persist: t?.persist ?? t?.type === D.Error,
5007
- action: (e) => (0, Z.jsx)(rt, {
5006
+ persist: t?.persist ?? t?.type === oe.Error,
5007
+ action: (e) => (0, Z.jsx)(nt, {
5008
5008
  onClick: () => i(e),
5009
5009
  children: (0, Z.jsx)(m, { iconKey: "Cancel" })
5010
5010
  })
@@ -5018,8 +5018,8 @@ var Do = {
5018
5018
  ...t,
5019
5019
  label: e
5020
5020
  });
5021
- let r = T(() => {
5022
- a.current.delete(n) && (a.current.size > 0 || (On(o.current), c.current = null, d((e) => e.label === null && e.progress === null ? e : {
5021
+ let r = _(() => {
5022
+ a.current.delete(n) && (a.current.size > 0 || (On(s.current), c.current = null, d((e) => e.label === null && e.progress === null ? e : {
5023
5023
  label: null,
5024
5024
  progress: null
5025
5025
  })));
@@ -5030,11 +5030,11 @@ var Do = {
5030
5030
  progress: n
5031
5031
  });
5032
5032
  }, (e) => {
5033
- c.current = e, typeof e == "string" ? kn(o.current, e) : d((t) => ({
5033
+ c.current = e, typeof e == "string" ? kn(s.current, e) : d((t) => ({
5034
5034
  ...t,
5035
5035
  label: e
5036
5036
  }));
5037
- }), i = kn(o.current, typeof e == "string" ? e : void 0);
5037
+ }), i = kn(s.current, typeof e == "string" ? e : void 0);
5038
5038
  return i ? i.then(() => r) : r;
5039
5039
  },
5040
5040
  showWindow: (e, t) => {
@@ -5047,27 +5047,27 @@ var Do = {
5047
5047
  }, h(e, Do[e], t);
5048
5048
  },
5049
5049
  showOptions: g,
5050
- showInput: _,
5050
+ showInput: v,
5051
5051
  showError: (t) => {
5052
- let n, r = D.Error, i = f("error.unknown");
5053
- typeof t == "string" ? i = t : t instanceof Error && (n = t, t.message && (i = f(t.message))), t instanceof l && (r = D.Info), e(i, {
5052
+ let n, r = oe.Error, i = f("error.unknown");
5053
+ typeof t == "string" ? i = t : t instanceof Error && (n = t, t.message && (i = f(t.message))), t instanceof u && (r = oe.Info), e(i, {
5054
5054
  type: r,
5055
5055
  enqueueProps: { error: n }
5056
5056
  });
5057
5057
  }
5058
- }, n = new v();
5058
+ }, n = new ue();
5059
5059
  return n.setOverrides(t), n;
5060
5060
  }, [f]),
5061
5061
  children: [(0, X.useMemo)(() => (0, Z.jsx)(Mn, {
5062
- ref: o,
5062
+ ref: s,
5063
5063
  autoStart: !1,
5064
5064
  icon: (0, Z.jsx)(En, { sx: {
5065
5065
  transform: "scale(0.7)",
5066
5066
  marginLeft: "-6px"
5067
5067
  } }),
5068
5068
  panel: !0,
5069
- label: u.label ?? (typeof c.current == "string" ? c.current : void 0),
5070
- progress: u.progress,
5069
+ label: l.label ?? (typeof c.current == "string" ? c.current : void 0),
5070
+ progress: l.progress,
5071
5071
  sx: {
5072
5072
  position: "absolute",
5073
5073
  left: "0",
@@ -5077,17 +5077,17 @@ var Do = {
5077
5077
  zIndex: "9999",
5078
5078
  pointerEvents: "none"
5079
5079
  }
5080
- }), [u.label, u.progress]), t]
5080
+ }), [l.label, l.progress]), t]
5081
5081
  });
5082
5082
  });
5083
5083
  ko.displayName = "StudioNotifierProvider";
5084
5084
  var Ao = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255, 255, 255, 0.2)))", jo = (0, X.memo)((0, X.forwardRef)((e, t) => {
5085
- let { children: n, title: r, taskPanes: i, onSelect: a, selected: o, registry: s = et, style: c, iconsOnly: l, side: u = "right", className: d, ...f } = e, p = u !== "right", h = (0, X.useMemo)(() => i.map((t) => {
5085
+ let { children: n, title: r, taskPanes: i, onSelect: a, selected: o, registry: s = $e, style: c, iconsOnly: l, side: u = "right", className: d, ...f } = e, p = u !== "right", h = (0, X.useMemo)(() => i.map((t) => {
5086
5086
  let n = s.getRegisteredTaskPane(t);
5087
5087
  if (!n) return null;
5088
5088
  let r = n.getIcon?.();
5089
5089
  typeof r == "string" && (r = (0, Z.jsx)(m, { iconKey: r }));
5090
- let i = t === o, a = r ? (0, Z.jsx)(F, {
5090
+ let i = t === o, a = r ? (0, Z.jsx)(I, {
5091
5091
  sx: {
5092
5092
  display: "inline-block",
5093
5093
  transform: p ? "rotate(-90deg)" : "rotate(90deg)",
@@ -5095,14 +5095,14 @@ var Ao = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5095
5095
  color: (e) => e.palette.text.secondary
5096
5096
  },
5097
5097
  children: r
5098
- }) : null, c = !r || !l && i, u = (0, Z.jsx)(F, {
5098
+ }) : null, c = !r || !l && i, u = (0, Z.jsx)(I, {
5099
5099
  sx: {
5100
5100
  display: "grid",
5101
5101
  gridTemplateColumns: c ? "1fr" : "0fr",
5102
5102
  opacity: +!!c,
5103
5103
  transition: (e) => e.transitions.create(["grid-template-columns", "opacity"], { duration: e.transitions.duration.short })
5104
5104
  },
5105
- children: (0, Z.jsx)(F, {
5105
+ children: (0, Z.jsx)(I, {
5106
5106
  sx: {
5107
5107
  overflow: "hidden",
5108
5108
  minWidth: 0,
@@ -5127,7 +5127,7 @@ var Ao = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5127
5127
  disableInteractive: !0,
5128
5128
  title: n.getTitle() ?? "",
5129
5129
  placement: "left-start",
5130
- children: (0, Z.jsxs)(F, {
5130
+ children: (0, Z.jsxs)(I, {
5131
5131
  sx: {
5132
5132
  padding: "0px 0px",
5133
5133
  writingMode: p ? "vertical-lr" : "vertical-rl",
@@ -5147,7 +5147,7 @@ var Ao = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5147
5147
  minHeight: "0px",
5148
5148
  borderRadius: "4px"
5149
5149
  },
5150
- className: L("taskpane-strip-item", { "Mui-selected": i }),
5150
+ className: R("taskpane-strip-item", { "Mui-selected": i }),
5151
5151
  onClick: () => e.onSelect(t)
5152
5152
  }, t);
5153
5153
  }), [
@@ -5157,11 +5157,11 @@ var Ao = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5157
5157
  s,
5158
5158
  p,
5159
5159
  l,
5160
- C()
5160
+ F()
5161
5161
  ]);
5162
- return (0, Z.jsx)(F, {
5163
- ref: I(t, () => ({ isTaskPaneStrip: () => !0 }), []),
5164
- className: (0, X.useMemo)(() => L("taskpane-strip", d), [d]),
5162
+ return (0, Z.jsx)(I, {
5163
+ ref: ce(t, () => ({ isTaskPaneStrip: () => !0 }), []),
5164
+ className: (0, X.useMemo)(() => R("taskpane-strip", d), [d]),
5165
5165
  sx: {
5166
5166
  paddingLeft: p ? void 0 : "2px",
5167
5167
  paddingRight: p ? "2px" : void 0,
@@ -5188,9 +5188,9 @@ var Ao = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5188
5188
  })
5189
5189
  });
5190
5190
  })), Mo = (e) => {
5191
- let { title: t, icon: n, onClose: r, readOnly: i, focused: a, ...o } = e, s = (0, X.useRef)(null), c = M();
5191
+ let { title: t, icon: n, onClose: r, readOnly: i, focused: a, ...o } = e, s = (0, X.useRef)(null), c = C();
5192
5192
  return (0, Z.jsx)(at, {
5193
- className: L({ "Mui-selected": a }),
5193
+ className: R({ "Mui-selected": a }),
5194
5194
  sx: {
5195
5195
  display: "flex",
5196
5196
  flex: "1 1 %0",
@@ -5204,11 +5204,11 @@ var Ao = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5204
5204
  opacity: 1,
5205
5205
  transitionDuration: (e) => e.transitions.duration.shortest / 2 + "ms"
5206
5206
  },
5207
- backgroundColor: (e) => j(e.palette.action.hover, .03),
5207
+ backgroundColor: (e) => k(e.palette.action.hover, .03),
5208
5208
  borderBottom: `solid ${Ao} 1px`
5209
5209
  },
5210
5210
  ...o,
5211
- children: (0, Z.jsxs)(F, {
5211
+ children: (0, Z.jsxs)(I, {
5212
5212
  sx: {
5213
5213
  display: "flex",
5214
5214
  flex: "1 1 10%",
@@ -5219,7 +5219,7 @@ var Ao = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5219
5219
  marginLeft: (e) => e.spacing(1),
5220
5220
  marginRight: (e) => e.spacing(1)
5221
5221
  },
5222
- children: [(0, Z.jsx)(F, {
5222
+ children: [(0, Z.jsx)(I, {
5223
5223
  sx: {
5224
5224
  flex: "1 1 100%",
5225
5225
  paddingLeft: (e) => e.spacing(1)
@@ -5227,7 +5227,7 @@ var Ao = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5227
5227
  children: t
5228
5228
  }), (0, Z.jsx)(pt, {
5229
5229
  label: c("taskPane.close"),
5230
- children: (0, Z.jsx)(rt, {
5230
+ children: (0, Z.jsx)(nt, {
5231
5231
  "aria-label": "close",
5232
5232
  sx: { color: (e) => e.palette.text.icon ?? e.palette.action.active },
5233
5233
  touchRippleRef: s,
@@ -5243,8 +5243,8 @@ var Ao = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5243
5243
  })
5244
5244
  });
5245
5245
  }, No = (0, X.forwardRef)((e, t) => {
5246
- let { model: n, side: r, ...i } = e, a = oe();
5247
- return (0, Z.jsx)(W, {
5246
+ let { model: n, side: r, ...i } = e, a = N();
5247
+ return (0, Z.jsx)(G, {
5248
5248
  model: n,
5249
5249
  ref: t,
5250
5250
  propsFrame: { style: {
@@ -5270,24 +5270,24 @@ var Ao = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5270
5270
  display: "flex",
5271
5271
  boxSizing: "border-box"
5272
5272
  }, Io = (0, X.memo)((0, X.forwardRef)((e, t) => {
5273
- let n, r, { mainElement: i, sidebarElement: a, position: o, persistKey: s, onPositionChange: c, className: l, style: u, taskSide: d = "right", ...f } = e, [p, m] = ie(s ?? null, Po), h = oe(), [g, { width: _ }] = fe(), v = _ > 530 || _ === 0, y = (0, X.useRef)(null), b = null, S = 4, C = 13;
5274
- v ? b = "m 3.6261898,11.36243 c 0,0.88365 -0.71627,1.59991 -1.59991,1.59991 -0.8836498,0 -1.60004965,-0.71626 -1.60004965,-1.59991 0,-0.88365 0.71639985,-1.6000508 1.60004965,-1.6000508 0.88364,0 1.59991,0.7164008 1.59991,1.6000508 m 0,-4.881294 c 0,0.88364 -0.71627,1.60004 -1.59991,1.60004 -0.8836498,0 -1.60004965,-0.7164 -1.60004965,-1.60004 0,-0.88365 0.71639985,-1.60005 1.60004965,-1.60005 0.88364,0 1.59991,0.7164 1.59991,1.60005 m 0,-4.881226 c 0,0.88365 -0.71627,1.60005 -1.59991,1.60005 C 1.14263,3.19996 0.42623015,2.48356 0.42623015,1.59991 0.42623015,0.71626 1.14263,0 2.0262798,0 c 0.88364,0 1.59991,0.71626 1.59991,1.59991" : (b = "M 1.59991,3.62619 C 0.71626,3.62619 0,2.90992 0,2.02628 0,1.1426301 0.71626,0.42623015 1.59991,0.42623015 c 0.88365,0 1.6000508,0.71639995 1.6000508,1.60004985 0,0.88364 -0.7164008,1.59991 -1.6000508,1.59991 m 4.881294,0 c -0.88364,0 -1.60004,-0.71627 -1.60004,-1.59991 0,-0.8836499 0.7164,-1.60004985 1.60004,-1.60004985 0.88365,0 1.60005,0.71639995 1.60005,1.60004985 0,0.88364 -0.7164,1.59991 -1.60005,1.59991 m 4.881226,0 c -0.88365,0 -1.60005,-0.71627 -1.60005,-1.59991 0,-0.8836499 0.7164,-1.60004985 1.60005,-1.60004985 0.88365,0 1.59991,0.71639995 1.59991,1.60004985 0,0.88364 -0.71626,1.59991 -1.59991,1.59991", S = 13, C = 4);
5275
- let w, T = i, E = a, D = d !== "right", O = v ? "row" : "column", ee = D && E ? "before" : "after", k = `${O}:${ee}`, A = s ? p[k] : void 0, j = A == null ? ((e, t) => {
5273
+ let n, r, { mainElement: i, sidebarElement: a, position: o, persistKey: s, onPositionChange: c, className: l, style: u, taskSide: d = "right", ...f } = e, [p, m] = y(s ?? null, Po), h = N(), [g, { width: _ }] = de(), v = _ > 530 || _ === 0, b = (0, X.useRef)(null), x = null, S = 4, C = 13;
5274
+ v ? x = "m 3.6261898,11.36243 c 0,0.88365 -0.71627,1.59991 -1.59991,1.59991 -0.8836498,0 -1.60004965,-0.71626 -1.60004965,-1.59991 0,-0.88365 0.71639985,-1.6000508 1.60004965,-1.6000508 0.88364,0 1.59991,0.7164008 1.59991,1.6000508 m 0,-4.881294 c 0,0.88364 -0.71627,1.60004 -1.59991,1.60004 -0.8836498,0 -1.60004965,-0.7164 -1.60004965,-1.60004 0,-0.88365 0.71639985,-1.60005 1.60004965,-1.60005 0.88364,0 1.59991,0.7164 1.59991,1.60005 m 0,-4.881226 c 0,0.88365 -0.71627,1.60005 -1.59991,1.60005 C 1.14263,3.19996 0.42623015,2.48356 0.42623015,1.59991 0.42623015,0.71626 1.14263,0 2.0262798,0 c 0.88364,0 1.59991,0.71626 1.59991,1.59991" : (x = "M 1.59991,3.62619 C 0.71626,3.62619 0,2.90992 0,2.02628 0,1.1426301 0.71626,0.42623015 1.59991,0.42623015 c 0.88365,0 1.6000508,0.71639995 1.6000508,1.60004985 0,0.88364 -0.7164008,1.59991 -1.6000508,1.59991 m 4.881294,0 c -0.88364,0 -1.60004,-0.71627 -1.60004,-1.59991 0,-0.8836499 0.7164,-1.60004985 1.60004,-1.60004985 0.88365,0 1.60005,0.71639995 1.60005,1.60004985 0,0.88364 -0.7164,1.59991 -1.60005,1.59991 m 4.881226,0 c -0.88365,0 -1.60005,-0.71627 -1.60005,-1.59991 0,-0.8836499 0.7164,-1.60004985 1.60005,-1.60004985 0.88365,0 1.59991,0.71639995 1.59991,1.60004985 0,0.88364 -0.71626,1.59991 -1.59991,1.59991", S = 13, C = 4);
5275
+ let w, T = i, D = a, O = d !== "right", ee = v ? "row" : "column", te = O && D ? "before" : "after", k = `${ee}:${te}`, A = s ? p[k] : void 0, j = A == null ? ((e, t) => {
5276
5276
  if (e == null) return "40%";
5277
5277
  if (typeof e == "number" || typeof e == "string") return e;
5278
5278
  let n = e[t];
5279
5279
  return n == null ? "40%" : `${n}%`;
5280
- })(o, k) : `${A}%`, M = s || c ? (e) => {
5280
+ })(o, k) : `${A}%`, ne = s || c ? (e) => {
5281
5281
  s && m((t) => ({
5282
5282
  ...t,
5283
5283
  [k]: e.percent
5284
5284
  })), c?.(e, {
5285
- orientation: O,
5286
- side: ee,
5285
+ orientation: ee,
5286
+ side: te,
5287
5287
  key: k
5288
5288
  });
5289
5289
  } : void 0;
5290
- return D && E ? (T = a, E = i, r = { style: {
5290
+ return O && D ? (T = a, D = i, r = { style: {
5291
5291
  flexDirection: "column",
5292
5292
  boxSizing: "border-box",
5293
5293
  paddingRight: "2px"
@@ -5307,9 +5307,9 @@ var Ao = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5307
5307
  position: j,
5308
5308
  minAfter: v ? "280px" : "120px",
5309
5309
  splitDirection: v ? "row" : "column"
5310
- }), (0, Z.jsx)(x, {
5310
+ }), (0, Z.jsx)(E, {
5311
5311
  ref: Wt([
5312
- y,
5312
+ b,
5313
5313
  g,
5314
5314
  t
5315
5315
  ]),
@@ -5320,25 +5320,25 @@ var Ao = "var(--sxl-color-input-border, light-dark(rgba(0, 0, 0, 0.2), rgba(255,
5320
5320
  } : Fo,
5321
5321
  ...f,
5322
5322
  ...w,
5323
- onPositionChange: M,
5323
+ onPositionChange: ne,
5324
5324
  propsResizer: {
5325
- className: L("styled-resizer", "_styled-resizer_fdl5y_3"),
5325
+ className: R("styled-resizer", "_styled-resizer_fdl5y_3"),
5326
5326
  style: {
5327
5327
  minWidth: v ? "7px" : void 0,
5328
5328
  minHeight: v ? void 0 : "6px",
5329
- maskImage: `url("data:image/svg+xml,%3Csvg width='${S}' height='${C}' viewBox='0 0 ${S} ${C}' version='1.1' fill='${h.palette.text.icon ?? h.palette.action.active}' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cpath d='${b}' /%3E%3C/svg%3E%0A")`,
5329
+ maskImage: `url("data:image/svg+xml,%3Csvg width='${S}' height='${C}' viewBox='0 0 ${S} ${C}' version='1.1' fill='${h.palette.text.icon ?? h.palette.action.active}' xmlns='http://www.w3.org/2000/svg' xmlns:svg='http://www.w3.org/2000/svg'%3E%3Cpath d='${x}' /%3E%3C/svg%3E%0A")`,
5330
5330
  maskRepeat: "no-repeat",
5331
- maskPosition: D ? v ? "center center" : "bottom center" : v ? "left center" : "top center"
5331
+ maskPosition: O ? v ? "center center" : "bottom center" : v ? "left center" : "top center"
5332
5332
  }
5333
5333
  },
5334
5334
  elementBefore: T,
5335
5335
  propsPaneBefore: n,
5336
- elementAfter: E,
5336
+ elementAfter: D,
5337
5337
  propsPaneAfter: r
5338
5338
  });
5339
5339
  }));
5340
5340
  Io.displayName = "StudioSplitPane";
5341
- var Lo = B.BuiltInSelectorNames, Ro = {
5341
+ var Lo = V.BuiltInSelectorNames, Ro = {
5342
5342
  [Lo.Whole]: "FormulaMathTrig",
5343
5343
  [Lo.Number]: "IncreaseDecimal",
5344
5344
  [Lo.List]: "Menu",
@@ -5350,8 +5350,8 @@ var Lo = B.BuiltInSelectorNames, Ro = {
5350
5350
  let t = e.getCondition();
5351
5351
  if (!t) return "DataValidation";
5352
5352
  let n = t.toJSON();
5353
- return n.operator === B.BuiltInOperatorNames.Expression ? "FormulaCustom" : typeof n.selector == "string" && Ro[n.selector] || "DataValidation";
5354
- }, Bo = (0, X.memo)(({ dataValidation: e, size: t = 28 }) => (Ge(e, "onAnyChange"), (0, Z.jsx)(qt, {
5353
+ return n.operator === V.BuiltInOperatorNames.Expression ? "FormulaCustom" : typeof n.selector == "string" && Ro[n.selector] || "DataValidation";
5354
+ }, Bo = (0, X.memo)(({ dataValidation: e, size: t = 28 }) => (We(e, "onAnyChange"), (0, Z.jsx)(qt, {
5355
5355
  className: "sxl-dv-icon",
5356
5356
  sx: {
5357
5357
  width: "auto",
@@ -5369,8 +5369,8 @@ var Vo = (e, t) => {
5369
5369
  let n = e.getCondition();
5370
5370
  if (!n) return t("dataValidation.anyValue");
5371
5371
  let r = n.toJSON();
5372
- if (r.operator === B.BuiltInOperatorNames.Expression && typeof r.param == "string") return t("dataValidation.titleCustom", { formula: r.param });
5373
- if (r.selector === B.BuiltInSelectorNames.List && r.operator === B.BuiltInOperatorNames.InSet) {
5372
+ if (r.operator === V.BuiltInOperatorNames.Expression && typeof r.param == "string") return t("dataValidation.titleCustom", { formula: r.param });
5373
+ if (r.selector === V.BuiltInSelectorNames.List && r.operator === V.BuiltInOperatorNames.InSet) {
5374
5374
  let e = r.param?.items, n = Array.isArray(e) ? e.map((e) => String(e ?? "")) : typeof e == "string" ? ((e) => e.length < 2 || !e.startsWith("\"") || !e.endsWith("\"") ? null : e.slice(1, -1).replace(/""/g, "\"").split(",").map((e) => e.trimStart()))(e) : null;
5375
5375
  if (n) return t("dataValidation.titleList", {
5376
5376
  items: n.slice(0, 3).join(", "),
@@ -5380,13 +5380,13 @@ var Vo = (e, t) => {
5380
5380
  }
5381
5381
  return n.toString();
5382
5382
  }, Ho = {
5383
- [ge.AlertStyle.Stop]: "ValidationStop",
5384
- [ge.AlertStyle.Warning]: "ValidationWarning",
5385
- [ge.AlertStyle.Information]: "ValidationInformation"
5383
+ [_e.AlertStyle.Stop]: "ValidationStop",
5384
+ [_e.AlertStyle.Warning]: "ValidationWarning",
5385
+ [_e.AlertStyle.Information]: "ValidationInformation"
5386
5386
  }, Uo = {
5387
- [ge.AlertStyle.Stop]: i("dataValidation.alertStop"),
5388
- [ge.AlertStyle.Warning]: i("dataValidation.alertWarning"),
5389
- [ge.AlertStyle.Information]: i("dataValidation.alertInformation")
5387
+ [_e.AlertStyle.Stop]: f("dataValidation.alertStop"),
5388
+ [_e.AlertStyle.Warning]: f("dataValidation.alertWarning"),
5389
+ [_e.AlertStyle.Information]: f("dataValidation.alertInformation")
5390
5390
  }, Wo = ({ checked: e, onCheckedChange: t, label: n, readOnly: r, children: i }) => (0, Z.jsxs)(Et, {
5391
5391
  expanded: e,
5392
5392
  onChange: (e, n) => {
@@ -5438,8 +5438,8 @@ var Vo = (e, t) => {
5438
5438
  children: i
5439
5439
  })]
5440
5440
  }), Go = (0, X.memo)((e) => {
5441
- let { dataValidation: t } = e, n = M();
5442
- Ge(t, "onAnyChange");
5441
+ let { dataValidation: t } = e, n = C();
5442
+ We(t, "onAnyChange");
5443
5443
  let r = t.isProtected(), i = t.getRenderHints().includes("list"), a = (0, Z.jsxs)(st, {
5444
5444
  tabIndex: 0,
5445
5445
  className: Qt["editor-panel"],
@@ -5454,7 +5454,7 @@ var Vo = (e, t) => {
5454
5454
  overflow: "auto"
5455
5455
  },
5456
5456
  children: [
5457
- (0, Z.jsxs)(F, {
5457
+ (0, Z.jsxs)(I, {
5458
5458
  sx: {
5459
5459
  display: "flex",
5460
5460
  flexDirection: "column",
@@ -5462,7 +5462,7 @@ var Vo = (e, t) => {
5462
5462
  margin: (e) => e.spacing(1.25),
5463
5463
  marginBottom: 0
5464
5464
  },
5465
- children: [(0, Z.jsxs)(F, {
5465
+ children: [(0, Z.jsxs)(I, {
5466
5466
  sx: {
5467
5467
  display: "flex",
5468
5468
  alignItems: "center",
@@ -5498,7 +5498,7 @@ var Vo = (e, t) => {
5498
5498
  t.setCondition(n);
5499
5499
  }
5500
5500
  }),
5501
- i && (0, Z.jsx)(F, {
5501
+ i && (0, Z.jsx)(I, {
5502
5502
  sx: {
5503
5503
  pl: 2,
5504
5504
  pr: 2,
@@ -5557,7 +5557,7 @@ var Vo = (e, t) => {
5557
5557
  value: t.getAlertStyle(),
5558
5558
  label: n("dataValidation.alertStyle"),
5559
5559
  onChange: (e) => t.setAlertStyle(e.target.value),
5560
- renderValue: (e) => (0, Z.jsxs)(F, {
5560
+ renderValue: (e) => (0, Z.jsxs)(I, {
5561
5561
  sx: {
5562
5562
  display: "flex",
5563
5563
  alignItems: "center",
@@ -5612,7 +5612,7 @@ var Vo = (e, t) => {
5612
5612
  });
5613
5613
  });
5614
5614
  Go.displayName = "DataValidationEditorPanel";
5615
- var Ko = ({ children: e }) => (0, Z.jsx)(F, {
5615
+ var Ko = ({ children: e }) => (0, Z.jsx)(I, {
5616
5616
  sx: {
5617
5617
  display: "inline-flex",
5618
5618
  alignItems: "center",
@@ -5628,10 +5628,10 @@ var Ko = ({ children: e }) => (0, Z.jsx)(F, {
5628
5628
  children: e
5629
5629
  })
5630
5630
  }), qo = (0, X.memo)(({ item: e }) => {
5631
- let t = M();
5632
- Ge(e, "onAnyChange");
5631
+ let t = C();
5632
+ We(e, "onAnyChange");
5633
5633
  let n = [];
5634
- return e.isShowPromptMessage() && e.getPromptTitle() && n.push(t("dataValidation.promptPrefix", { title: e.getPromptTitle() })), e.getCondition() && (e.isShowAlertMessage() ? e.getAlertStyle() === ge.AlertStyle.Warning ? n.push(t("dataValidation.alertWarning")) : e.getAlertStyle() === ge.AlertStyle.Information && n.push(t("dataValidation.alertInformation")) : n.push(t("dataValidation.badgeNoAlert"))), e.isHideDropdown() && e.getRenderHints().includes("list") && n.push(t("dataValidation.badgeDropdownHidden")), n.length === 0 ? null : (0, Z.jsx)(F, {
5634
+ return e.isShowPromptMessage() && e.getPromptTitle() && n.push(t("dataValidation.promptPrefix", { title: e.getPromptTitle() })), e.getCondition() && (e.isShowAlertMessage() ? e.getAlertStyle() === _e.AlertStyle.Warning ? n.push(t("dataValidation.alertWarning")) : e.getAlertStyle() === _e.AlertStyle.Information && n.push(t("dataValidation.alertInformation")) : n.push(t("dataValidation.badgeNoAlert"))), e.isHideDropdown() && e.getRenderHints().includes("list") && n.push(t("dataValidation.badgeDropdownHidden")), n.length === 0 ? null : (0, Z.jsx)(I, {
5635
5635
  sx: {
5636
5636
  display: "flex",
5637
5637
  flexWrap: "wrap",
@@ -5643,25 +5643,25 @@ var Ko = ({ children: e }) => (0, Z.jsx)(F, {
5643
5643
  qo.displayName = "DataValidationCardBody";
5644
5644
  var Jo = (0, X.memo)(({ item: e }) => (0, Z.jsx)(It, {
5645
5645
  item: e,
5646
- label: M()("dataValidation.applyTo"),
5646
+ label: C()("dataValidation.applyTo"),
5647
5647
  helperText: null
5648
5648
  }));
5649
5649
  Jo.displayName = "DataValidationCardRanges";
5650
5650
  var Yo = {
5651
5651
  key: "data-validation",
5652
5652
  messageKeys: {
5653
- none: i("dataValidation.none"),
5654
- addPrompt: i("dataValidation.addPrompt"),
5655
- heading: i("dataValidation.heading"),
5656
- insert: i("dataValidation.insert"),
5657
- new: i("dataValidation.new"),
5658
- moveUp: i("dataValidation.moveUp"),
5659
- moveDown: i("dataValidation.moveDown"),
5660
- edit: i("dataValidation.edit"),
5661
- duplicate: i("dataValidation.duplicate"),
5662
- delete: i("dataValidation.delete"),
5663
- cancel: i("dataValidation.cancel"),
5664
- save: i("dataValidation.save")
5653
+ none: f("dataValidation.none"),
5654
+ addPrompt: f("dataValidation.addPrompt"),
5655
+ heading: f("dataValidation.heading"),
5656
+ insert: f("dataValidation.insert"),
5657
+ new: f("dataValidation.new"),
5658
+ moveUp: f("dataValidation.moveUp"),
5659
+ moveDown: f("dataValidation.moveDown"),
5660
+ edit: f("dataValidation.edit"),
5661
+ duplicate: f("dataValidation.duplicate"),
5662
+ delete: f("dataValidation.delete"),
5663
+ cancel: f("dataValidation.cancel"),
5664
+ save: f("dataValidation.save")
5665
5665
  },
5666
5666
  getCollection: (e) => e.getDataValidations(),
5667
5667
  changeEvents: ["onDataValidationsChange"],
@@ -5671,7 +5671,7 @@ var Yo = {
5671
5671
  },
5672
5672
  applyNewDefaults: (e) => {
5673
5673
  e.update({
5674
- alertStyle: ge.AlertStyle.Stop,
5674
+ alertStyle: _e.AlertStyle.Stop,
5675
5675
  showAlertMessage: !0
5676
5676
  });
5677
5677
  },
@@ -5697,7 +5697,7 @@ var Yo = {
5697
5697
  ...i
5698
5698
  });
5699
5699
  }));
5700
- Xo.displayName = "DataValidationDetailsPanel", cn(), h.register("plugin-table", { icons: {} }), et.registerTaskPane({
5700
+ Xo.displayName = "DataValidationDetailsPanel", cn(), h.register("plugin-table", { icons: {} }), $e.registerTaskPane({
5701
5701
  key: "dataValidationDetails",
5702
5702
  getTitle: () => "Data Validation",
5703
5703
  getIcon: () => "DataValidation",
@@ -5710,7 +5710,7 @@ Xo.displayName = "DataValidationDetailsPanel", cn(), h.register("plugin-table",
5710
5710
  ...o
5711
5711
  });
5712
5712
  }
5713
- }, !0), et.registerTaskPane({
5713
+ }, !0), $e.registerTaskPane({
5714
5714
  key: "conditionalFormatDetails",
5715
5715
  getTitle: () => "Conditional Formatting",
5716
5716
  getIcon: () => "FormatPaint",
@@ -5741,96 +5741,96 @@ var Zo = () => {
5741
5741
  }, Qo = (e, t) => {
5742
5742
  if (!e) return {};
5743
5743
  let { colorSchemes: n, ...r } = e, i = n?.[t ? "dark" : "light"];
5744
- return i && typeof i == "object" ? s.deepMerge(r, i) : r;
5744
+ return i && typeof i == "object" ? o.deepMerge(r, i) : r;
5745
5745
  }, $o = (0, X.memo)((0, X.forwardRef)((e, t) => {
5746
- let { host: n, scopeClass: r, square: i, elevation: a, variant: c, onWorkbookLoad: l, onDocumentError: u, renderDocumentError: d = nn, propsDocumentError: f, propsTaskPaneArea: p, renderTaskPaneArea: v = es, taskPaneSide: y = "right", onKeyDown: b, workbook: x, onWorkbookChange: S, logo: C, topLeft: T, topRight: E, muiTheme: D, tokens: O, cssBaseline: k, autoFocus: j = !1, title: M, onDirtyChange: te, propsDocumentTitle: ne, renderDocumentLoading: N = fn, propsDocumentLoading: re, propsWorkbook: ae, showFormulaBar: P, propsFormulaBar: oe, renderFormulaBar: se, editable: ue, showStatusBar: de, propsStatusBar: L, renderStatusBar: fe, propsToolbar: pe, renderToolbar: me } = e, R = (0, X.useRef)(null), he = (0, X.useRef)(null), z = (0, X.useRef)(null), ge = A(() => {
5747
- z.current?.getNamedCollectionEditorElement?.()?.focus?.();
5748
- }, []), _e = A(u ?? (() => {}), [u]), ve = A(te ?? (() => {}), [te]), ye = ne?.placeHolder, [B] = ie(Fe.Mode, void 0), { themeMode: be } = _({ mode: B ?? void 0 }), [xe] = ie(w.Active, null), Se = (0, X.useRef)(xe);
5749
- Se.current = xe;
5750
- let Ce = g(), we = (0, X.useMemo)(() => ({
5751
- light: ht(!1, s.deepMerge(Qo(D, !1), Nt(Ce?.light))),
5752
- dark: ht(!0, s.deepMerge(Qo(D, !0), Nt(Ce?.dark)))
5746
+ let { host: n, scopeClass: r, square: a, elevation: s, variant: c, onWorkbookLoad: l, onDocumentError: u, renderDocumentError: d = nn, propsDocumentError: f, propsTaskPaneArea: p, renderTaskPaneArea: _ = es, taskPaneSide: v = "right", onKeyDown: x, workbook: C, onWorkbookChange: w, logo: E, topLeft: ee, topRight: te, muiTheme: k, tokens: j, cssBaseline: ne, autoFocus: re = !1, title: M, onDirtyChange: ie, propsDocumentTitle: N, renderDocumentLoading: ae = fn, propsDocumentLoading: P, propsWorkbook: F, showFormulaBar: oe, propsFormulaBar: se, renderFormulaBar: le, editable: L, showStatusBar: ue, propsStatusBar: R, renderStatusBar: de, propsToolbar: fe, renderToolbar: pe } = e, z = (0, X.useRef)(null), me = (0, X.useRef)(null), he = (0, X.useRef)(null), B = D(() => {
5747
+ he.current?.getNamedCollectionEditorElement?.()?.focus?.();
5748
+ }, []), ge = D(u ?? (() => {}), [u]), V = D(ie ?? (() => {}), [ie]), _e = N?.placeHolder, [ve] = y(Pe.Mode, void 0), { themeMode: ye } = T({ mode: ve ?? void 0 }), [be] = y(g.Active, null), xe = (0, X.useRef)(be);
5749
+ xe.current = be;
5750
+ let Se = b(), Ce = (0, X.useMemo)(() => ({
5751
+ light: ht(!1, o.deepMerge(Qo(k, !1), Nt(Se?.light))),
5752
+ dark: ht(!0, o.deepMerge(Qo(k, !0), Nt(Se?.dark)))
5753
5753
  }), [
5754
- D,
5755
- Ce?.light,
5756
- Ce?.dark
5757
- ]), De = be === "dark", Oe = (0, X.useMemo)(() => mn(we.light, we.dark, `.${r}`, O), [
5758
- we,
5754
+ k,
5755
+ Se?.light,
5756
+ Se?.dark
5757
+ ]), Ee = ye === "dark", De = (0, X.useMemo)(() => mn(Ce.light, Ce.dark, `.${r}`, j), [
5758
+ Ce,
5759
5759
  r,
5760
- O
5761
- ]), Me = (0, X.useMemo)(() => ke("sxl-defaults", `.${r}`), [r]), Pe = Be(), [Ie, Le] = (0, X.useState)(() => x ?? null);
5760
+ j
5761
+ ]), je = (0, X.useMemo)(() => Oe("sxl-defaults", `.${r}`), [r]), Ne = ze(), [Fe, Ie] = (0, X.useState)(() => C ?? null);
5762
5762
  (0, X.useEffect)(() => {
5763
- Le(x ?? null);
5764
- }, [x]);
5765
- let [ze, Ve] = (0, X.useState)(0), He = (0, X.useRef)(null);
5766
- He.current ||= Zo();
5767
- let H = Ne(Ie, {
5768
- io: V,
5769
- defaultTheme: Pe.getDefaultTheme(),
5770
- reloadKey: ze
5771
- }), We = H.status === "loaded" ? H.workbook : null, U = (0, X.useMemo)(() => H.status === "error" ? {
5763
+ Ie(C ?? null);
5764
+ }, [C]);
5765
+ let [Re, Be] = (0, X.useState)(0), Ve = (0, X.useRef)(null);
5766
+ Ve.current ||= Zo();
5767
+ let U = Me(Fe, {
5768
+ io: H,
5769
+ defaultTheme: Ne.getDefaultTheme(),
5770
+ reloadKey: Re
5771
+ }), Ue = U.status === "loaded" ? U.workbook : null, W = (0, X.useMemo)(() => U.status === "error" ? {
5772
5772
  status: "error",
5773
- error: H.error
5774
- } : H.status === "loaded" ? {
5773
+ error: U.error
5774
+ } : U.status === "loaded" ? {
5775
5775
  status: "loaded",
5776
- workbook: H.workbook
5777
- } : { status: "loading" }, [H]);
5776
+ workbook: U.workbook
5777
+ } : { status: "loading" }, [U]);
5778
5778
  (0, X.useEffect)(() => {
5779
- He.current.settled && (He.current = Zo());
5780
- }, [Ie, ze]), (0, X.useEffect)(() => {
5781
- U.status === "loaded" ? He.current.resolve(U.workbook) : U.status === "error" && (_e?.(U.error), He.current.reject(U.error));
5782
- }, [U]);
5783
- let [W, Ke] = (0, X.useState)(null);
5784
- We && !W && Ke(We);
5785
- let qe = We && W && We !== W ? We : null, Je = (0, X.useRef)(qe);
5786
- Je.current = qe;
5787
- let Xe = (0, X.useRef)(W);
5788
- Xe.current = W;
5789
- let Qe = (0, X.useRef)([]), $e = (0, X.useCallback)((e) => {
5790
- let t = Xe.current;
5791
- t && Qe.current.push(t), Le(e);
5779
+ Ve.current.settled && (Ve.current = Zo());
5780
+ }, [Fe, Re]), (0, X.useEffect)(() => {
5781
+ W.status === "loaded" ? Ve.current.resolve(W.workbook) : W.status === "error" && (ge?.(W.error), Ve.current.reject(W.error));
5782
+ }, [W]);
5783
+ let [G, Ge] = (0, X.useState)(null);
5784
+ Ue && !G && Ge(Ue);
5785
+ let Ke = Ue && G && Ue !== G ? Ue : null, qe = (0, X.useRef)(Ke);
5786
+ qe.current = Ke;
5787
+ let Ye = (0, X.useRef)(G);
5788
+ Ye.current = G;
5789
+ let Ze = (0, X.useRef)([]), Qe = (0, X.useCallback)((e) => {
5790
+ let t = Ye.current;
5791
+ t && Ze.current.push(t), Ie(e);
5792
5792
  }, []);
5793
5793
  (0, X.useEffect)(() => {
5794
- let e = Qe.current;
5794
+ let e = Ze.current;
5795
5795
  if (e.length !== 0) {
5796
- Qe.current = e.filter((e) => e === W);
5796
+ Ze.current = e.filter((e) => e === G);
5797
5797
  for (let t = 0; t < e.length; t++) {
5798
5798
  let n = e[t];
5799
- if (n !== W) try {
5799
+ if (n !== G) try {
5800
5800
  n.close();
5801
5801
  } catch (e) {
5802
5802
  console.warn("Unable to close the replaced workbook", e);
5803
5803
  }
5804
5804
  }
5805
5805
  }
5806
- }, [W]);
5807
- let et = ue ? null : W, nt = Ue(), rt = (0, X.useMemo)(() => et ? je(et.getSelectedSheet(), { referenceMode: nt }) : null, [et, nt]), G = ue ?? rt, it = (0, X.useRef)(G);
5808
- it.current = G, (0, X.useEffect)(() => {
5809
- if (!G) return;
5810
- let e = G.getSession();
5811
- return G.subscribe(() => {
5806
+ }, [G]);
5807
+ let $e = L ? null : G, tt = He(), nt = (0, X.useMemo)(() => $e ? Ae($e.getSelectedSheet(), { referenceMode: tt }) : null, [$e, tt]), rt = L ?? nt, it = (0, X.useRef)(rt);
5808
+ it.current = rt, (0, X.useEffect)(() => {
5809
+ if (!rt) return;
5810
+ let e = rt.getSession();
5811
+ return rt.subscribe(() => {
5812
5812
  let t = e;
5813
- e = G.getSession(), t && !e && t.getActiveEditorId() === "formula-bar" && z.current?.contains?.(document.activeElement) && R.current?.focus();
5813
+ e = rt.getSession(), t && !e && t.getActiveEditorId() === "formula-bar" && he.current?.contains?.(document.activeElement) && z.current?.focus();
5814
5814
  });
5815
- }, [G]);
5816
- let K = Ze(W), { isDirty: at, saveState: ot } = Te(W, V), ct = Ye(W), lt = (0, X.useRef)(ot), ut = (0, X.useRef)(null);
5815
+ }, [rt]);
5816
+ let K = Xe(G), { isDirty: at, saveState: ot } = we(G, H), ct = Je(G), lt = (0, X.useRef)(ot), ut = (0, X.useRef)(null);
5817
5817
  lt.current = ot;
5818
- let dt = (0, X.useCallback)(() => lt.current?.isDirty() ?? !1, []), ft = (0, X.useRef)(U);
5819
- ft.current = U;
5820
- let [pt, mt] = (0, X.useState)(null), gt = M ?? ne?.title, [_t, vt] = (0, X.useState)(null);
5818
+ let dt = (0, X.useCallback)(() => lt.current?.isDirty() ?? !1, []), ft = (0, X.useRef)(W);
5819
+ ft.current = W;
5820
+ let [pt, mt] = (0, X.useState)(null), gt = M ?? N?.title, [_t, vt] = (0, X.useState)(null);
5821
5821
  (0, X.useEffect)(() => {
5822
5822
  vt(null);
5823
- }, [W]);
5823
+ }, [G]);
5824
5824
  let yt = gt ?? _t ?? K ?? "";
5825
5825
  (0, X.useEffect)(() => {
5826
- ve?.(at);
5826
+ V?.(at);
5827
5827
  }, [at]);
5828
- let bt = A(S ?? (() => {}), [S]);
5828
+ let bt = D(w ?? (() => {}), [w]);
5829
5829
  (0, X.useEffect)(() => {
5830
- bt?.(We);
5831
- }, [We]);
5832
- let xt = (0, X.useRef)(We);
5833
- xt.current = We, Ge(W, "onViewChange");
5830
+ bt?.(Ue);
5831
+ }, [Ue]);
5832
+ let xt = (0, X.useRef)(Ue);
5833
+ xt.current = Ue, We(G, "onViewChange");
5834
5834
  let q = (0, X.useMemo)(() => (0, Z.jsx)(bn, {
5835
5835
  groupKey: "helpOptions",
5836
5836
  disableHover: !0,
@@ -5846,47 +5846,47 @@ var Zo = () => {
5846
5846
  }, []);
5847
5847
  let Tt = (0, X.useRef)(null);
5848
5848
  Tt.current ||= Zo();
5849
- let J = (0, X.useRef)(null), Et = (0, X.useCallback)(() => J.current?.getSheetElement()?.getGridSurface()?.getPane()?.getElement() ?? Tt.current.promise, []), Dt = A(async (e) => {
5850
- let t = Se.current;
5851
- t && t !== o.getActive() && await o.setActive(t), await ee.DefaultCommandCatalogService.prefetch(t ?? void 0), mt(e), J.current = e.source, Tt.current.settled || Tt.current.resolve(e.source.getSheetElement()?.getGridSurface()?.getPane()?.getElement() ?? null), l?.(e);
5849
+ let J = (0, X.useRef)(null), Et = (0, X.useCallback)(() => J.current?.getSheetElement()?.getGridSurface()?.getPane()?.getElement() ?? Tt.current.promise, []), Dt = D(async (e) => {
5850
+ let t = xe.current;
5851
+ t && t !== i.getActive() && await i.setActive(t), await S.DefaultCommandCatalogService.prefetch(t ?? void 0), mt(e), J.current = e.source, Tt.current.settled || Tt.current.resolve(e.source.getSheetElement()?.getGridSurface()?.getPane()?.getElement() ?? null), l?.(e);
5852
5852
  }, []), Ot = (0, X.useRef)(null), kt = (0, X.useCallback)((e) => {
5853
5853
  let t = null, n = {
5854
5854
  readOnly: !0,
5855
- ...ne
5855
+ ...N
5856
5856
  };
5857
- return ne?.hidden || (t = (0, Z.jsx)(ln, {
5857
+ return N?.hidden || (t = (0, Z.jsx)(ln, {
5858
5858
  ...n,
5859
5859
  style: {
5860
5860
  maxWidth: "100%",
5861
- ...ne?.style
5861
+ ...N?.style
5862
5862
  },
5863
- workbook: e.workbook ?? R.current,
5863
+ workbook: e.workbook ?? z.current,
5864
5864
  ref: Ot,
5865
5865
  title: yt,
5866
5866
  modified: at,
5867
5867
  encrypted: ct,
5868
- placeHolder: ye,
5868
+ placeHolder: _e,
5869
5869
  onTitleChange: (e) => {
5870
- vt(e), ne?.onTitleChange?.(e);
5870
+ vt(e), N?.onTitleChange?.(e);
5871
5871
  }
5872
5872
  })), (0, Z.jsx)(yo, {
5873
5873
  ...e,
5874
- logo: C,
5874
+ logo: E,
5875
5875
  mainElement: t,
5876
- startElement: T,
5877
- endElement: E
5876
+ startElement: ee,
5877
+ endElement: te
5878
5878
  });
5879
5879
  }, [
5880
- C,
5880
+ E,
5881
5881
  yt,
5882
5882
  at,
5883
5883
  ct,
5884
- ne,
5885
- T,
5886
- E
5884
+ N,
5885
+ ee,
5886
+ te
5887
5887
  ]);
5888
5888
  (0, X.useEffect)(() => {
5889
- let e = R.current;
5889
+ let e = z.current;
5890
5890
  if (!e) return;
5891
5891
  let t = (e) => e.preventDefault();
5892
5892
  return e.addEventListener("wheel", t, { passive: !1 }), () => {
@@ -5910,55 +5910,55 @@ var Zo = () => {
5910
5910
  whiteSpace: "pre-wrap"
5911
5911
  },
5912
5912
  "*": { userSelect: "none" }
5913
- }), []), [Pt, Ft] = (0, X.useState)(null), [, It] = ie(null, !1);
5913
+ }), []), [Pt, Ft] = (0, X.useState)(null), [, It] = y(null, !1);
5914
5914
  (0, X.useEffect)(() => {
5915
5915
  It(Pt != null);
5916
5916
  }, [Pt, It]);
5917
- let Lt = (0, X.useCallback)((e) => v({
5918
- model: W,
5919
- side: y,
5917
+ let Lt = (0, X.useCallback)((e) => _({
5918
+ model: G,
5919
+ side: v,
5920
5920
  ...e,
5921
5921
  ...p
5922
5922
  }), [
5923
- W,
5924
- y,
5923
+ G,
5924
+ v,
5925
5925
  p
5926
5926
  ]), Rt = (0, X.useRef)(n);
5927
- Rt.current = n, I(t, () => ({
5927
+ Rt.current = n, ce(t, () => ({
5928
5928
  isStudioElement: () => !0,
5929
5929
  save: (e) => {
5930
5930
  let t = ut.current;
5931
5931
  return t ? t(e) : Promise.reject(Error("The studio cannot save: no workbook, or the backing store cannot write."));
5932
5932
  },
5933
- getWorkbookElement: () => R.current,
5933
+ getWorkbookElement: () => z.current,
5934
5934
  getWorkbook: () => xt.current ?? null,
5935
5935
  isDirty: () => lt.current?.isDirty() ?? !1,
5936
5936
  getEditable: () => it.current,
5937
- getFormulaBarElement: () => z.current ?? null,
5938
- focus: () => R.current?.focus(),
5939
- whenReady: () => (He.current ||= Zo(), He.current.promise),
5937
+ getFormulaBarElement: () => he.current ?? null,
5938
+ focus: () => z.current?.focus(),
5939
+ whenReady: () => (Ve.current ||= Zo(), Ve.current.promise),
5940
5940
  getWorkbookState: () => ft.current,
5941
- retry: () => Ve((e) => e + 1)
5941
+ retry: () => Be((e) => e + 1)
5942
5942
  }), [], n);
5943
- let zt = (0, X.useRef)(!1), Bt = A((e, t) => {
5944
- t === Je.current && requestAnimationFrame(() => requestAnimationFrame(() => {
5945
- t === Je.current && (zt.current = Rt.current?.contains(document.activeElement) ?? !0, Ke(t), Dt(e));
5943
+ let zt = (0, X.useRef)(!1), Bt = D((e, t) => {
5944
+ t === qe.current && requestAnimationFrame(() => requestAnimationFrame(() => {
5945
+ t === qe.current && (zt.current = Rt.current?.contains(document.activeElement) ?? !0, Ge(t), Dt(e));
5946
5946
  }));
5947
5947
  }, []);
5948
5948
  (0, X.useEffect)(() => {
5949
- zt.current && (zt.current = !1, R.current?.focus());
5950
- }, [W]);
5949
+ zt.current && (zt.current = !1, z.current?.focus());
5950
+ }, [G]);
5951
5951
  let Vt = (0, X.useCallback)(() => (0, Z.jsx)(Z.Fragment, {}), []), Ht = (0, X.useCallback)((e) => {
5952
- let { ref: t, ...n } = e, r = De ? we.dark : we.light, o = U.status === "error" ? d({
5952
+ let { ref: t, ...n } = e, r = Ee ? Ce.dark : Ce.light, i = W.status === "error" ? d({
5953
5953
  ...f,
5954
5954
  style: {
5955
5955
  width: "100%",
5956
5956
  height: "100%",
5957
5957
  ...f?.style
5958
5958
  },
5959
- error: U.error
5959
+ error: W.error
5960
5960
  }) : null;
5961
- if (o && !W) return (0, Z.jsx)(st, {
5961
+ if (i && !G) return (0, Z.jsx)(st, {
5962
5962
  style: {
5963
5963
  width: "100%",
5964
5964
  height: "100%",
@@ -5967,15 +5967,15 @@ var Zo = () => {
5967
5967
  alignItems: "stretch",
5968
5968
  justifyContent: "stretch"
5969
5969
  },
5970
- children: o
5970
+ children: i
5971
5971
  });
5972
- let s = null;
5973
- if (W) {
5974
- let e = W, i = e.getView(), a = P ?? i?.isShowFormulaBar(), o = de ?? i?.isShowStatusBar(), c = pt?.source ?? R.current, l = (me ?? kt)({
5972
+ let o = null;
5973
+ if (G) {
5974
+ let e = G, i = e.getView(), a = oe ?? i?.isShowFormulaBar(), s = ue ?? i?.isShowStatusBar(), c = pt?.source ?? z.current, l = (pe ?? kt)({
5975
5975
  workbook: c,
5976
- ...pe
5977
- }), u = a ? (se ?? Xt)({
5978
- ref: z,
5976
+ ...fe
5977
+ }), u = a ? (le ?? Xt)({
5978
+ ref: he,
5979
5979
  style: {
5980
5980
  marginTop: r.spacing(.25),
5981
5981
  marginLeft: r.spacing(1),
@@ -5983,50 +5983,50 @@ var Zo = () => {
5983
5983
  marginBottom: r.spacing(.75)
5984
5984
  },
5985
5985
  workbook: e,
5986
- editable: G ?? void 0,
5987
- ...oe,
5986
+ editable: rt ?? void 0,
5987
+ ...se,
5988
5988
  propsNamedCollectionEditor: {
5989
5989
  restoreFocus: (e) => c?.focus(e),
5990
- ...oe?.propsNamedCollectionEditor
5990
+ ...se?.propsNamedCollectionEditor
5991
5991
  }
5992
- }) : null, d = o ? (fe ?? Yt)({
5992
+ }) : null, d = s ? (de ?? Yt)({
5993
5993
  childrenEnd: q,
5994
- ...L
5994
+ ...R
5995
5995
  }) : null, f = (e, r) => (0, Z.jsx)(sn, {
5996
- ...ae,
5996
+ ...F,
5997
5997
  tabIndex: 0,
5998
- autoFocus: !r && j,
5998
+ autoFocus: !r && re,
5999
5999
  workbook: e,
6000
- editable: r ? void 0 : G ?? void 0,
6001
- focusNameBox: r ? void 0 : ge,
6002
- ref: r ? he : Wt([t, R]),
6000
+ editable: r ? void 0 : rt ?? void 0,
6001
+ focusNameBox: r ? void 0 : B,
6002
+ ref: r ? me : Wt([t, z]),
6003
6003
  onWorkbookLoad: r ? (t) => Bt(t, e) : Dt,
6004
6004
  onKeyDown: (e) => {
6005
- b?.(e);
6005
+ x?.(e);
6006
6006
  },
6007
- propsWorkbookLoading: re,
6007
+ propsWorkbookLoading: P,
6008
6008
  renderWorkbookLoading: Vt,
6009
6009
  style: r ? {
6010
- ...ae?.style,
6010
+ ...F?.style,
6011
6011
  position: "absolute",
6012
6012
  inset: 0,
6013
6013
  visibility: "hidden"
6014
6014
  } : {
6015
6015
  flex: "1 1 100%",
6016
6016
  minHeight: 0,
6017
- ...ae?.style
6017
+ ...F?.style
6018
6018
  },
6019
6019
  onContextMenu: (e) => e.preventDefault(),
6020
6020
  ...r ? null : n
6021
6021
  }, e.getId());
6022
- s = (0, Z.jsxs)("div", {
6022
+ o = (0, Z.jsxs)("div", {
6023
6023
  style: {
6024
6024
  display: "flex",
6025
6025
  flexDirection: "column",
6026
6026
  flex: "1 1 100%",
6027
6027
  minWidth: 0,
6028
6028
  minHeight: 0,
6029
- ...Ee({
6029
+ ...Te({
6030
6030
  window: r.palette.background.default,
6031
6031
  windowText: r.palette.text.primary
6032
6032
  })
@@ -6035,9 +6035,9 @@ var Zo = () => {
6035
6035
  l,
6036
6036
  u,
6037
6037
  (0, Z.jsx)(Io, {
6038
- taskSide: y,
6038
+ taskSide: v,
6039
6039
  persistKey: "taskPanePosition",
6040
- sidebarElement: Pt ? (0, Z.jsx)(ee.CommandScopeProvider, {
6040
+ sidebarElement: Pt ? (0, Z.jsx)(S.CommandScopeProvider, {
6041
6041
  scope: At,
6042
6042
  children: Pt
6043
6043
  }) : void 0,
@@ -6050,7 +6050,7 @@ var Zo = () => {
6050
6050
  minWidth: 0,
6051
6051
  minHeight: 0
6052
6052
  },
6053
- children: [[f(W, !1), qe ? f(qe, !0) : null], (0, Z.jsx)(F, {
6053
+ children: [[f(G, !1), Ke ? f(Ke, !0) : null], (0, Z.jsx)(I, {
6054
6054
  ref: wt,
6055
6055
  sx: {
6056
6056
  position: "absolute",
@@ -6068,7 +6068,7 @@ var Zo = () => {
6068
6068
  ]
6069
6069
  });
6070
6070
  }
6071
- let l = pt ? null : N({ ...re });
6071
+ let l = pt ? null : ae({ ...P });
6072
6072
  return (0, Z.jsxs)(st, {
6073
6073
  sx: Mt,
6074
6074
  style: {
@@ -6081,12 +6081,12 @@ var Zo = () => {
6081
6081
  backgroundColor: "var(--sxl-color-base-200)"
6082
6082
  },
6083
6083
  className: "eager-studio",
6084
- square: i,
6085
- elevation: a,
6084
+ square: a,
6085
+ elevation: s,
6086
6086
  variant: c,
6087
6087
  children: [
6088
- s,
6089
- o ? (0, Z.jsx)(st, {
6088
+ o,
6089
+ i ? (0, Z.jsx)(st, {
6090
6090
  style: {
6091
6091
  position: "absolute",
6092
6092
  inset: 0,
@@ -6094,7 +6094,7 @@ var Zo = () => {
6094
6094
  alignItems: "stretch",
6095
6095
  justifyContent: "stretch"
6096
6096
  },
6097
- children: o
6097
+ children: i
6098
6098
  }) : null,
6099
6099
  l ? (0, Z.jsx)("div", {
6100
6100
  style: {
@@ -6103,24 +6103,24 @@ var Zo = () => {
6103
6103
  display: "flex",
6104
6104
  alignItems: "center",
6105
6105
  justifyContent: "center",
6106
- background: `var(--sxl-color-base-100, ${De ? "#121212" : "#fff"})`
6106
+ background: `var(--sxl-color-base-100, ${Ee ? "#121212" : "#fff"})`
6107
6107
  },
6108
6108
  children: l
6109
6109
  }) : null
6110
6110
  ]
6111
6111
  });
6112
6112
  }, [
6113
- U,
6114
6113
  W,
6115
- qe,
6114
+ G,
6115
+ Ke,
6116
6116
  pt,
6117
6117
  yt,
6118
- N,
6119
- re,
6120
- Vt,
6121
6118
  ae,
6122
- i,
6119
+ P,
6120
+ Vt,
6121
+ F,
6123
6122
  a,
6123
+ s,
6124
6124
  c,
6125
6125
  q,
6126
6126
  d,
@@ -6128,19 +6128,19 @@ var Zo = () => {
6128
6128
  kt,
6129
6129
  Mt,
6130
6130
  Pt,
6131
- y,
6131
+ v,
6132
6132
  At,
6133
- P,
6134
6133
  oe,
6135
6134
  se,
6136
- G,
6135
+ le,
6136
+ rt,
6137
+ ue,
6138
+ R,
6137
6139
  de,
6138
- L,
6139
6140
  fe,
6140
6141
  pe,
6141
- me,
6142
- we,
6143
- De
6142
+ Ce,
6143
+ Ee
6144
6144
  ]), Ut = (0, Z.jsx)(mo, {
6145
6145
  maxSnack: 3,
6146
6146
  domRoot: St ?? void 0,
@@ -6150,11 +6150,11 @@ var Zo = () => {
6150
6150
  },
6151
6151
  autoHideDuration: 3500,
6152
6152
  onClose: (e, t, n) => {
6153
- R.current?.focus();
6153
+ z.current?.focus();
6154
6154
  },
6155
6155
  Components: { error: _o },
6156
6156
  iconVariant: {
6157
- success: (0, Z.jsx)(tt, {
6157
+ success: (0, Z.jsx)(et, {
6158
6158
  style: { marginRight: "8px" },
6159
6159
  children: (0, Z.jsx)("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" })
6160
6160
  }),
@@ -6163,18 +6163,18 @@ var Zo = () => {
6163
6163
  style: { marginRight: "8px" }
6164
6164
  })
6165
6165
  },
6166
- children: (0, Z.jsx)(Re, {
6167
- workbook: W,
6168
- children: (0, Z.jsx)(Ae, {
6166
+ children: (0, Z.jsx)(Le, {
6167
+ workbook: G,
6168
+ children: (0, Z.jsx)(ke, {
6169
6169
  renderArea: Lt,
6170
6170
  onUpdateArea: (e) => {
6171
6171
  Ft(e);
6172
6172
  },
6173
- children: (0, Z.jsx)(Fn, { children: (0, Z.jsx)(ko, { children: (0, Z.jsx)(ce, { children: (0, Z.jsx)(le, { children: (0, Z.jsx)(Eo, {
6174
- workbook: W,
6173
+ children: (0, Z.jsx)(Fn, { children: (0, Z.jsx)(ko, { children: (0, Z.jsx)(A, { children: (0, Z.jsx)(O, { children: (0, Z.jsx)(Eo, {
6174
+ workbook: G,
6175
6175
  initialCommandAnchor: Et,
6176
6176
  renderWorkbook: Ht,
6177
- setWorkbook: $e,
6177
+ setWorkbook: Qe,
6178
6178
  titleWorkbook: yt,
6179
6179
  setWorkbookTitle: vt,
6180
6180
  refDocumentTitle: Ot,
@@ -6185,15 +6185,15 @@ var Zo = () => {
6185
6185
  })
6186
6186
  });
6187
6187
  return Ut = (0, Z.jsxs)(or, {
6188
- theme: De ? we.dark : we.light,
6188
+ theme: Ee ? Ce.dark : Ce.light,
6189
6189
  children: [
6190
- k ? (0, Z.jsx)(Sr, {}) : null,
6191
- (0, Z.jsx)("style", { children: Oe }),
6192
- (0, Z.jsx)("style", { children: Me }),
6190
+ ne ? (0, Z.jsx)(Sr, {}) : null,
6191
+ (0, Z.jsx)("style", { children: De }),
6192
+ (0, Z.jsx)("style", { children: je }),
6193
6193
  (0, Z.jsx)(xn, {
6194
6194
  themeScopeClass: r,
6195
6195
  themeSurface: "app",
6196
- themeMode: be,
6196
+ themeMode: ye,
6197
6197
  children: Ut
6198
6198
  })
6199
6199
  ]