@sheetxl/studio-vanilla 0.8.0-beta.7 → 0.8.0-beta.9

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 (369) hide show
  1. package/browser/cjs/71t68tthCqAyqS9Y2.cjs +1 -0
  2. package/browser/cjs/9zyLp_qEwt9GphA82.cjs +1 -0
  3. package/browser/cjs/B0bpKoi26UcJy-yx2.cjs +1 -0
  4. package/browser/cjs/B7gx_G60ELU_MwHQ.cjs +3 -0
  5. package/browser/cjs/{BCm6d5TSyOWIner52.cjs → B8k2Nobs3xsYk1La2.cjs} +1 -1
  6. package/browser/cjs/{B6T_y0ce8SbjxV-I.cjs → BBev0dLbf1fU-lfA.cjs} +1 -1
  7. package/browser/cjs/{ahQaPMczi7feo-ae2.cjs → BLm90Fq3PHyJcuuD2.cjs} +1 -1
  8. package/browser/cjs/BMUUPjFWJpJ0LI3i.cjs +6 -0
  9. package/browser/cjs/{namqZsBygpcj2yf42.cjs → BOEw2nlucWPfxCYp2.cjs} +1 -1
  10. package/browser/cjs/BOVrNOPvNrCm6yRB.cjs +44 -0
  11. package/browser/cjs/{D9hGhZ8wId9qKZlT.cjs → BRRCf1dPEVEMuZg_.cjs} +1 -1
  12. package/browser/cjs/{B4VCKO11wngJjEO92.cjs → BWMBI4f0SjoI_Oin2.cjs} +1 -1
  13. package/browser/cjs/BaC5cgF10fBwJBaK.cjs +3 -0
  14. package/browser/cjs/{B0gP-9ZXQb_QZ8Jm.cjs → BfSQzdZII1qouGSA.cjs} +1 -1
  15. package/browser/cjs/Bks6NqUor4BlAszo2.cjs +1 -0
  16. package/browser/cjs/BlqNnPvPXlfr1uiQ.cjs +1 -0
  17. package/browser/cjs/Brhq9xC0-0nktknO2.cjs +1 -0
  18. package/browser/cjs/BzZ4-FYClxQ8ujtx.cjs +1 -0
  19. package/browser/cjs/C5ysAU-f5AXrrCUy2.cjs +1 -0
  20. package/browser/cjs/C60FQCTpuPODGMns2.cjs +1 -0
  21. package/browser/cjs/{Bzd1x5C01LQtiSb0.cjs → CAlhyBtLwTQbCNjD.cjs} +1 -1
  22. package/browser/cjs/{eCs1q0PICk1snU-12.cjs → CMr_-nDgsJMujQie2.cjs} +1 -1
  23. package/browser/cjs/COX7Y3Wht4v_4upT2.cjs +1 -0
  24. package/browser/cjs/{B1yQqy3iSI5uZPt3.cjs → CW6uYgYnFALF8Wep.cjs} +1 -1
  25. package/browser/cjs/Cs08_432tXlhmIvU.cjs +90 -0
  26. package/browser/cjs/{DFfYZJqlytuKuwBJ.cjs → D0OGlOZBsNUXBigZ.cjs} +1 -1
  27. package/browser/cjs/{C5RvrnAGhfLzpBNO.cjs → D1q4dPaaoZjeLyfe.cjs} +1 -1
  28. package/browser/cjs/D7mCXmc268F393wh2.cjs +8 -0
  29. package/browser/cjs/{O6F5xVsoF2hTiprv2.cjs → DCOqoH-T4Ux_1dQj2.cjs} +1 -1
  30. package/browser/cjs/{CEEuvrhhkW5TgJnc.cjs → DDPnnW8pKC_2zw9B.cjs} +3 -3
  31. package/browser/cjs/DEeKo15ZqUcmFDOr2.cjs +1 -0
  32. package/browser/cjs/DHkk0JkwMtD44kS3.cjs +1 -0
  33. package/browser/cjs/{BUm56uGV9gjkjukY.cjs → DHqatAcjRnNrazeD.cjs} +1 -1
  34. package/browser/cjs/{-fvFQTbevbuRecGW.cjs → DKZA4pMye4Pmg1RA.cjs} +1 -1
  35. package/browser/cjs/DLAAtKRVBbSpGhxl.cjs +1 -0
  36. package/browser/cjs/{DB7uY0V24myTsCAO2.cjs → DToMNH3wGi3n2uzu2.cjs} +1 -1
  37. package/browser/cjs/DZjJnyrLugwcGEp_.cjs +1 -0
  38. package/browser/cjs/DfEVusmtxqWAEEiY.cjs +1 -0
  39. package/browser/cjs/DfFRdD4_C7I-6yMX.cjs +30 -0
  40. package/browser/cjs/Dki3Dmf6EPdM8LlM.cjs +6 -0
  41. package/browser/cjs/DkmumL9n_dH_hGQM.cjs +15 -0
  42. package/browser/cjs/Dl78hBFh7yqtDkqK.cjs +1 -0
  43. package/browser/cjs/{BbXbe-bwCJLD279F.cjs → DmLfFV_n8G4X8mrz.cjs} +1 -1
  44. package/browser/cjs/{DnMx7IQDtha_NuLB2.cjs → DqPfiDmZbBXEaCP_2.cjs} +1 -1
  45. package/browser/cjs/DsXQ2l8FnovrZHUY.cjs +1 -0
  46. package/browser/cjs/{D3gV1sduXTeibviI.cjs → Dw0B6dMDxbb1xfgd.cjs} +1 -1
  47. package/browser/cjs/{BnXCqfKX491kQrtl.cjs → Dyh_1aZCy-1UzCsZ.cjs} +1 -1
  48. package/browser/cjs/GYpazpfoUjLOoCiK.cjs +1 -0
  49. package/browser/cjs/{BmdFT-Ie0SY8YqFf.cjs → On1UFwmi1jBdIPHA.cjs} +2 -2
  50. package/browser/cjs/{B6k5f9VFbYVTvfVE2.cjs → VzSM9peK6m7Un51q2.cjs} +1 -1
  51. package/browser/cjs/YXZX8u8UAJjC65if2.cjs +1 -0
  52. package/browser/cjs/index.cjs +1 -1
  53. package/browser/cjs/ukoyeeBQoyNfdkag.cjs +32 -0
  54. package/browser/cjs/xuAfpHmA2W4MFa_0.cjs +1 -0
  55. package/browser/cjs/yWKtR8OoFhtOqU0C.cjs +2 -0
  56. package/{cdn/assets/D6o4brLafnJRIFnU.js → browser/esm/0aKGd26gK-kyYQpJ.mjs} +2 -2
  57. package/browser/esm/{Bt3ndQy-OnI4OHTz.mjs → 1YNqnAQLBD6Rbh-J2.mjs} +1 -1
  58. package/browser/esm/{B1ZEbc_b-Hug9WON.mjs → 2F7YZkGv5ARgpyZp.mjs} +1 -1
  59. package/browser/esm/{DsGyEBTgXCOEpB4D.mjs → 2wA_KrUFQ1jrFBd9.mjs} +69 -68
  60. package/browser/esm/{BkU3OKqpa0ddsfDs.mjs → 33yirHl3UNk6hI0k.mjs} +2 -2
  61. package/{cdn/assets/D5nFDHDC5F0D8PyZ.js → browser/esm/33yirHl3UNk6hI0k2.mjs} +2 -2
  62. package/{cdn/assets/DyQEm0-NZ41L--1K.js → browser/esm/4Ah98p4lGiqrlbx6.mjs} +1 -1
  63. package/browser/esm/{Cl_mxlCr73V-Yg6k.mjs → B6hXpbUeJ5Oyyttd.mjs} +8015 -7564
  64. package/browser/esm/{COqCbm81u1WaCS7k.mjs → BCGMvpUPFTYcKGbk.mjs} +1 -1
  65. package/browser/esm/{KH2MZAMxGzfVMoKB2.mjs → BFrhIhjN1UwpjBcV2.mjs} +9 -9
  66. package/{cdn/assets/CCIybQZ3Tgu4CxnN2.js → browser/esm/BFv3n-8UY0C32OsF2.mjs} +1 -1
  67. package/browser/esm/{cBQ4eqpoDrXn7JHn.mjs → BGgqNYvM_RAz4jrA.mjs} +3 -3
  68. package/browser/esm/{C6eVL3m02S-Qj2uy2.mjs → BSyEOmiRvJDj0_4_2.mjs} +1 -1
  69. package/browser/esm/{C7Em8LjBH1VJoyfm.mjs → BT_Wxatn8mtmQ5qD.mjs} +1 -1
  70. package/browser/esm/{BefWPzywuI_Ptwju.mjs → BU7mp3uhAKScJeIR.mjs} +13 -13
  71. package/browser/esm/{q3Mf-6we7Zn-SXlN2.mjs → BV4Vqj3NFgB6gT0a2.mjs} +62 -62
  72. package/browser/esm/{DCOuB4SkbT3JU9bd2.mjs → BVJrNnBCgG9jP7JN2.mjs} +7 -7
  73. package/browser/esm/{C-X2_FUeulh-Fay1.mjs → BWpXJ2OCAVkNOxJs.mjs} +5 -5
  74. package/browser/esm/{CJfK3Zm2ZKVEv5Mv.mjs → BXBYzUCo-8Y2kvih.mjs} +1 -1
  75. package/browser/esm/{C82u-7ClfP9SoGOY2.mjs → BZ860rgIJYeM_mZk2.mjs} +7 -7
  76. package/browser/esm/{B-svf5wq7V5QDtO4.mjs → BZKWCpLfrzdLKWH3.mjs} +12 -12
  77. package/{cdn/assets/DLxFo71kHJsGXBZ32.js → browser/esm/Ba8XCzy9ufDNa_mw.mjs} +1 -1
  78. package/browser/esm/{CtIl_LU__yf7i0CI2.mjs → BcaaTjcuVt3Oji-Y2.mjs} +15 -15
  79. package/browser/esm/{DdWhgxkT5YtvYarN.mjs → Beb-71pldLN9-lkZ2.mjs} +1 -1
  80. package/browser/esm/{BmHI7i54YtVAcFrP.mjs → Bh63JoX4eBlOHfnf.mjs} +5 -5
  81. package/browser/esm/{BzY-TCedGBSg3UzZ2.mjs → Biy4xNo0ds01Jy6T2.mjs} +7 -7
  82. package/browser/esm/{DgmukBO5L3U9_0t42.mjs → BjcfDORFDLJVCh9M2.mjs} +1 -1
  83. package/browser/esm/{DIxQ75X7k8keCEPD.mjs → BnzryntYV2vpXfKO.mjs} +3 -3
  84. package/browser/esm/{DaSrO6iF4NOXLpMI2.mjs → BoWxoDcx70L4pgIG2.mjs} +1 -1
  85. package/browser/esm/{pkHBfquSDF6569Gk2.mjs → BouasW9i4KF5ayiD2.mjs} +2 -2
  86. package/{cdn/assets/BT8V24glIXLW0J7i2.js → browser/esm/BpSYpeutbljnZDCG.mjs} +1 -1
  87. package/browser/esm/{CD-JsN04jY0VyY1v.mjs → Bsfmz9sSNYL1bur2.mjs} +1 -1
  88. package/browser/esm/{BQkwe2PCHBQEw--9.mjs → BuZnLC96IH7EKmDo.mjs} +2 -2
  89. package/{cdn/assets/DJfrSiVd9Hm9g2d2.js → browser/esm/BwpeFsNLJ6sOyg-V.mjs} +1 -1
  90. package/browser/esm/{CBv1rU3xPDQ-215V2.mjs → ByGJD0lWglnYtMOB2.mjs} +7 -7
  91. package/{cdn/assets/uVz7RxSLXYsjkdHy.js → browser/esm/Byeb25yVhxGAjZjs.mjs} +2 -2
  92. package/{cdn/assets/COJLKiCysD7hs2jG2.js → browser/esm/Bzbxw_NHYqY5MOhk2.mjs} +1 -1
  93. package/browser/esm/{GZBYOLZMS5CK612Z.mjs → C-5IXNwUVn75K6U_.mjs} +8 -8
  94. package/{cdn/assets/KRAw_H4pyLSGG7VM.js → browser/esm/C-_7D2KLIoDlB5ZW2.mjs} +1 -1
  95. package/browser/esm/{DhZ8HFnFgb6ij3dI.mjs → C1qj_93tElwUAeIR.mjs} +13 -13
  96. package/browser/esm/{vFkFpwfIwu3oIJ542.mjs → C6kRIEgNpvwokXS62.mjs} +1 -1
  97. package/browser/esm/{Bb-mZ1cMsciuz4ww.mjs → C8_izylh6h0mCmn0.mjs} +158 -158
  98. package/browser/esm/{1Xvtgcae3VR_6R8I.mjs → C8rk3b1et4kn4nmh.mjs} +6 -6
  99. package/browser/esm/{CFnqyLJDpOXdxb3c2.mjs → CBC4DPaH9zC8bgtR2.mjs} +5 -5
  100. package/browser/esm/{DxLzXk_tSrLv1u632.mjs → CBHMqMbfHpto8A1O2.mjs} +1 -1
  101. package/browser/esm/{ByGJZ2rruqWUbaGY.mjs → CFw_lEfCjWsjFmod.mjs} +8 -8
  102. package/browser/esm/{BZvD2AxAqbnxspY6.mjs → CI2gMVZhmhMTMxzw.mjs} +7066 -5159
  103. package/browser/esm/{RP044HPTvZ7fRPp62.mjs → CK37hazurRQUhGh82.mjs} +11 -11
  104. package/browser/esm/{BPnA1nEVe1clG1IF.mjs → CL6HRP8ocSnYryNh.mjs} +4 -4
  105. package/browser/esm/{Br0flZ59oGm_KTug2.mjs → CNanescYL9L5uras2.mjs} +2 -2
  106. package/browser/esm/{DFHP3kC1VW25l54r2.mjs → CQBwlTSXDAUWu4W9.mjs} +1 -1
  107. package/browser/esm/{BrUW8pfVTjf65sDi2.mjs → CQWSMhxAOeTXp9Kx2.mjs} +2 -2
  108. package/browser/esm/{C55NEfrA6s_yuajX2.mjs → CQyt-UVizZgazLy5.mjs} +1 -1
  109. package/browser/esm/{ZMzJhKJMzHflPVYY.mjs → CRFwpUUcSI_tqcjz.mjs} +2 -2
  110. package/{cdn/assets/CaHBZElxMjo_v4LY.js → browser/esm/CXgg3tQvJDJO6SSm2.mjs} +1 -1
  111. package/browser/esm/{ooQCodfB4ck6IWqw.mjs → C_0vyfGPMnLDdlSb.mjs} +1 -1
  112. package/{cdn/assets/Bp36kaEEsGhP709t.js → browser/esm/Cag5TarcS7KgHsRo2.mjs} +1 -1
  113. package/browser/esm/{CWJBcuvUa2RVQMju.mjs → CfdMPj-NygDGMh04.mjs} +3 -3
  114. package/{cdn/assets/BfqHVT9RAMHzPrq2.js → browser/esm/CgddS2k-SBQbGu-q.mjs} +1 -1
  115. package/{cdn/assets/Bi82rHDsiL2lqeRo2.js → browser/esm/ChMJWEuVIDRtM4F-2.mjs} +1 -1
  116. package/{cdn/assets/DxkY3Q5VwWkfqW7t2.js → browser/esm/CiwAp4s68xfZm7za2.mjs} +1 -1
  117. package/browser/esm/ClKovUJdtYnSDXcU.mjs +2298 -0
  118. package/{cdn/assets/BBmgXo0P8kU87RB4.js → browser/esm/CmbsN81GDpmY3RPO.mjs} +1 -1
  119. package/{cdn/assets/D5MFyg_gQzrtkU5q.js → browser/esm/Cn4jB4Paw7SdIEXJ.mjs} +1 -1
  120. package/browser/esm/{BxetdicosmSVg2vW.mjs → CnGCJJ5xiRobAWcX.mjs} +12 -11
  121. package/{cdn/assets/BS7DCPO7VdYxiXF8.js → browser/esm/CoVIoxu1xnlKd2HA2.mjs} +1 -1
  122. package/{cdn/assets/De94qdhWNQbkhAKb.js → browser/esm/Cp2HULnAKhE-UPLK.mjs} +829 -809
  123. package/browser/esm/{DcZJy7SSyaWDcelM.mjs → CpHxcPS-3EVZkuEF.mjs} +2 -2
  124. package/browser/esm/{mGzBkmSW0FIS3l47.mjs → CpWlrwsyFr5LDXzk.mjs} +1 -1
  125. package/browser/esm/{BD1aTBqOuoKSzGSD.mjs → CshbEuB1T3tTBKsg.mjs} +41 -51
  126. package/browser/esm/{fY2YKQMUdsYu7XiI.mjs → CvzmHqRHrWQRXCU4.mjs} +1 -1
  127. package/browser/esm/{BtPBnZB0UiICvNBH.mjs → CwRejmwDTGehmz3r.mjs} +3 -3
  128. package/browser/esm/{DmxxEaNdjPB6nBgy.mjs → CzCX-Wad3yMcEHob.mjs} +1 -1
  129. package/browser/esm/{rFUbFjv5JlDQ1yJw2.mjs → D1Jl06sXpn8zZgdb2.mjs} +11 -11
  130. package/browser/esm/{BxhPqvaARsOu1pOy2.mjs → D1jTquzDJ_dOLWn32.mjs} +531 -530
  131. package/browser/esm/{BRSPE-Kbm0TK7bm4.mjs → D1rCmgzPQzy6VXMS.mjs} +1 -1
  132. package/browser/esm/{C7926vmEK1-oM95A2.mjs → D2Fopvel0AE5OMJ82.mjs} +14 -14
  133. package/{cdn/assets/De8YQFKHRYztHtNy.js → browser/esm/D70qxLxD0ZWgLmBs2.mjs} +1 -1
  134. package/browser/esm/{y7OPrnmnmsKf_AFC.mjs → DBYgTlTpZKZGoP3J.mjs} +1 -1
  135. package/{cdn/assets/rTH3jO4xeLwX22po2.js → browser/esm/DFQANFiqOXXHBhY6.mjs} +1 -1
  136. package/browser/esm/{CHCc5YuSbtNgC6qQ.mjs → DGb0H5-84FuMTt7D.mjs} +1 -1
  137. package/browser/esm/{C__NPFffG8xrVl4W.mjs → DIqQkABlFa6ThxBq.mjs} +12 -12
  138. package/browser/esm/{DFfqXOHApBHKjPmq.mjs → DOrZ1rQOO7y7wy_m2.mjs} +1 -1
  139. package/browser/esm/{DFgibCVRkv7ROc5v2.mjs → DR-J6OnvqplpkxjY2.mjs} +1 -1
  140. package/browser/esm/{B4OkD-x-7fL0aUxy.mjs → DW3HvTGIMKSU5-rE.mjs} +5 -5
  141. package/{cdn/assets/S2-ef6zfqD83qohl.js → browser/esm/D_wBIcd-JG6pjL6X.mjs} +675 -726
  142. package/{cdn/assets/Bdf9NRBqMDRFuqxL2.js → browser/esm/Db0wkQr-gcaXZ-xF2.mjs} +1 -1
  143. package/browser/esm/{BuBAtTrlYVvU86de.mjs → Dc-ACeeHSIUlPwwK.mjs} +9 -7
  144. package/browser/esm/{DZUjFTXDHp2HSvYN.mjs → DhElOu55OpNI63fY.mjs} +13 -13
  145. package/browser/esm/{DcKd5bjp1ZnTq_-x.mjs → DiC8s-5zqDT2bSX_.mjs} +1 -1
  146. package/browser/esm/{DNwEAT1MO-6FRFlC.mjs → Dj99WdDE0W4pbL9Z.mjs} +5 -5
  147. package/browser/esm/{BcO0tjxUkaw8VKEE2.mjs → DkzeehP-6WrvoENP2.mjs} +8 -8
  148. package/{cdn/assets/B3xtxS53C7jgKwfe2.js → browser/esm/Dmnc6PGw0oZha0MF.mjs} +2612 -1415
  149. package/{cdn/assets/9cn1ewqq1BWmzgIL.js → browser/esm/DnIM43F01HIS9vrs2.mjs} +1 -1
  150. package/browser/esm/{BDFm0nphkYgT4nS22.mjs → Do9KFjmpgHDzEREb2.mjs} +9 -9
  151. package/browser/esm/{CoqDXeaMS0XICCe2.mjs → DonKewYwnXajr7vb.mjs} +1 -1
  152. package/browser/esm/{C8jJJ5X2nIRCaMcu2.mjs → DqrAn9WP17T4sX4k.mjs} +1 -1
  153. package/browser/esm/{C2DL_mDwKLFZBqvN2.mjs → DtgxDfYXDdgRF8CP2.mjs} +1 -1
  154. package/{cdn/assets/D4cHE39d638a1U-y.js → browser/esm/DwcvG_p7iZ2TOYkO2.mjs} +1 -1
  155. package/browser/esm/{q9O6l04D06PeFt9r.mjs → Dx_rx7X79sTRpl4o.mjs} +5 -5
  156. package/browser/esm/{DfDgl_4vSuF3nubw2.mjs → Dy92PkC2HNPr3NUS2.mjs} +13 -13
  157. package/browser/esm/F2DxvTu1OtKx4KOu.mjs +62 -0
  158. package/browser/esm/{B4g2Yf4whV01sYya2.mjs → FzT0Kg_BbOdmREpX2.mjs} +1 -1
  159. package/browser/esm/{BSlFBKA1YartFibf.mjs → I660lM4WXwKByUBN.mjs} +618 -293
  160. package/{cdn/assets/4YGRiYPupFKq8BfP.js → browser/esm/LcWP7jwFTbFV8PXB.mjs} +1 -1
  161. package/browser/esm/NICR6e-cHnVuaN672.mjs +68 -0
  162. package/browser/esm/{DU8ox87tBW2BnWct.mjs → Oi3vEmqVfUYeowoU.mjs} +16 -16
  163. package/{cdn/assets/DIARlYhdv_2V83X8.js → browser/esm/XVb52lYk0hnvaibx2.mjs} +2 -2
  164. package/browser/esm/{B3PPwwyNEblsUOL8.mjs → _umvY0i6yb5YBaQW2.mjs} +1 -1
  165. package/browser/esm/{iHpxHAsf4TbCq-TE.mjs → eCn_J58pIBQwzSFQ.mjs} +1 -1
  166. package/browser/esm/{Dy_DuOQMMsoys5uG.mjs → eb55UkMxnvKhZf7Y.mjs} +43 -43
  167. package/{cdn/assets/BdTAWhP-loxlROWg.js → browser/esm/enNXuXOMFvwqMrMF2.mjs} +1 -1
  168. package/browser/esm/{BrDePmlBu6Hb4zjJ.mjs → f4dduywnnZ6uE-MZ.mjs} +1 -1
  169. package/browser/esm/{C18TArpE7wOvMYXB2.mjs → i81eZYR434OTxzFp2.mjs} +12 -12
  170. package/browser/esm/{D-oV3YlvN_279OAe.mjs → ilaSvZy5MHqAeVhr.mjs} +8 -8
  171. package/browser/esm/index.mjs +4 -4
  172. package/browser/esm/{BASSDm-JY_bgolFA2.mjs → jBZULYj6alt6xc0v2.mjs} +1 -1
  173. package/browser/esm/{B4jNGg7_t9JeroNp2.mjs → jt7Pndny1ddX66eh2.mjs} +37 -7
  174. package/browser/esm/{BA63EN1awAh-Inzl.mjs → ms6uwR8n8YkKj8qd.mjs} +1419 -1022
  175. package/browser/esm/{D_Iw8uMiIvx2jhcv2.mjs → n6xdiChPzW0alL9f2.mjs} +1 -1
  176. package/browser/esm/{BJXpsm4jy1MQEydA.mjs → naRjzZqPt0JSdeaD.mjs} +2141 -1911
  177. package/browser/esm/{Dc5MbVn_75FtzgPY2.mjs → qG3Ardi8Sem7RxlS2.mjs} +1 -1
  178. package/browser/esm/{Bjpm9ZVaFQRdne7s.mjs → rkgkqx2vOlkYHUxK2.mjs} +1 -1
  179. package/browser/esm/{DL_mqnTNaFcgm_nY.mjs → ro6GeRkPlX0NJeiX.mjs} +2 -2
  180. package/browser/esm/sq1ZQBDrjmOCMkE8.mjs +2624 -0
  181. package/{cdn/assets/5DCw2IuKPn_ERodw.js → browser/esm/wcldfedI_9KDEtaN.mjs} +1 -1
  182. package/browser/esm/{DgCRnAf5wqM0QG4X2.mjs → xmD5IJJziRqUIbkU.mjs} +1 -1
  183. package/cdn/assets/{ml6iN9Or0sV9rNHQ2.js → -0ZWO-sILmjXhdUn2.js} +10 -10
  184. package/cdn/assets/{CEP2pbRcOThbPSHu2.js → 0ytlp68IedQ03SxN2.js} +8 -8
  185. package/cdn/assets/{Bt3ndQy-OnI4OHTz.js → 1YNqnAQLBD6Rbh-J.js} +1 -1
  186. package/cdn/assets/{B1ZEbc_b-Hug9WON2.js → 2F7YZkGv5ARgpyZp2.js} +1 -1
  187. package/{browser/esm/DyQEm0-NZ41L--1K.mjs → cdn/assets/4Ah98p4lGiqrlbx6.js} +1 -1
  188. package/{browser/esm/CY8tngENYkEZn2SB.mjs → cdn/assets/5fk4i8-157Ur23Jd.js} +676 -725
  189. package/cdn/assets/{CR_q2LxqSxi13Hij2.js → B3g1fc-3zQH4IhzA2.js} +19439 -18988
  190. package/cdn/assets/{COqCbm81u1WaCS7k2.js → BCGMvpUPFTYcKGbk2.js} +1 -1
  191. package/cdn/assets/{D_qtb6BEhWE61Z7C.js → BCunHjPgizrAsDXf.js} +17 -17
  192. package/cdn/assets/{C3wPGkvUzepIQRVC2.js → BE8QpwvUMA9nmViB2.js} +62 -62
  193. package/{browser/esm/CCIybQZ3Tgu4CxnN.mjs → cdn/assets/BFv3n-8UY0C32OsF.js} +1 -1
  194. package/cdn/assets/BJNI25e2dCdq29AM.js +62 -0
  195. package/cdn/assets/{Csgvd2uwdSVvtxd0.js → BLSwh5Hqlo-b8LTp.js} +3 -3
  196. package/cdn/assets/{C1Fgr1CHaaJCZwDE2.js → BOVd36GaYwk1m1gs2.js} +22 -22
  197. package/cdn/assets/{DA1nRTNBW1PtpWgT.js → BPdZCt3a5bggHnmC.js} +2 -2
  198. package/cdn/assets/{C6eVL3m02S-Qj2uy.js → BSyEOmiRvJDj0_4_.js} +1 -1
  199. package/cdn/assets/{C7fY4QaenhDjniAr.js → BWv9YMAIb4d7yeRr.js} +70 -69
  200. package/cdn/assets/{CJfK3Zm2ZKVEv5Mv2.js → BXBYzUCo-8Y2kvih2.js} +1 -1
  201. package/cdn/assets/{B5IRoZY13t_fHSz42.js → BXCPrm92ipaRS1ge2.js} +17 -17
  202. package/cdn/assets/{3fQDDuvcrnAkT5qe.js → BY3exqKgwDNCbdrG.js} +85 -85
  203. package/{browser/esm/DLxFo71kHJsGXBZ3.mjs → cdn/assets/Ba8XCzy9ufDNa_mw2.js} +1 -1
  204. package/cdn/assets/BbQdrdBSar3saQX32.js +149 -0
  205. package/cdn/assets/{DdWhgxkT5YtvYarN2.js → Beb-71pldLN9-lkZ.js} +1 -1
  206. package/cdn/assets/{DgmukBO5L3U9_0t4.js → BjcfDORFDLJVCh9M.js} +1 -1
  207. package/cdn/assets/{DaSrO6iF4NOXLpMI.js → BoWxoDcx70L4pgIG.js} +1 -1
  208. package/cdn/assets/{pkHBfquSDF6569Gk.js → BouasW9i4KF5ayiD.js} +2 -2
  209. package/{browser/esm/BT8V24glIXLW0J7i.mjs → cdn/assets/BpSYpeutbljnZDCG2.js} +1 -1
  210. package/cdn/assets/{ZDs8hbqQmtSIaDZm.js → Br5sDsj8RypYlTfI.js} +3641 -3411
  211. package/cdn/assets/{aIjKRE7sQ1uohehj.js → BrY06ew6SWC_tvAK.js} +12 -12
  212. package/cdn/assets/{CD-JsN04jY0VyY1v2.js → Bsfmz9sSNYL1bur2.js} +1 -1
  213. package/cdn/assets/{CxR_QBoT5nmLyrpM2.js → Bu2WNghK3j0fB5oh2.js} +10 -10
  214. package/{browser/esm/DJfrSiVd9Hm9g2d2.mjs → cdn/assets/BwpeFsNLJ6sOyg-V2.js} +1 -1
  215. package/{browser/esm/dRE1rh6cW8nKpTsz2.mjs → cdn/assets/BxwJ2xXpa1-_Ji8R.js} +2 -2
  216. package/cdn/assets/{C0VNHurPIrPcmiu02.js → BzWz5q7aXaBHYtCY2.js} +2 -2
  217. package/{browser/esm/COJLKiCysD7hs2jG.mjs → cdn/assets/Bzbxw_NHYqY5MOhk.js} +1 -1
  218. package/{browser/esm/KRAw_H4pyLSGG7VM2.mjs → cdn/assets/C-_7D2KLIoDlB5ZW.js} +1 -1
  219. package/cdn/assets/{BvuxB7CzGAv0w7by.js → C3FTMx72bE115RW8.js} +8 -8
  220. package/cdn/assets/{DFAAoXpOwrC4RlJR2.js → C4CBg5NXA83M7-rF2.js} +8 -8
  221. package/cdn/assets/{vFkFpwfIwu3oIJ54.js → C6kRIEgNpvwokXS6.js} +1 -1
  222. package/cdn/assets/{2rpiEjMFb7cTkJWu.js → CAz1eWlfMv2L6OpC.js} +2 -2
  223. package/cdn/assets/{DxLzXk_tSrLv1u63.js → CBHMqMbfHpto8A1O.js} +1 -1
  224. package/cdn/assets/{BVM91MmuaEyh3X9n.js → CDCQpPgRQ4H7KmfY.js} +2 -2
  225. package/cdn/assets/{Dkba6grmCB6y_Yvs2.js → CJD_9GC-kZb-DHuw2.js} +12 -12
  226. package/cdn/assets/{BwMxbQa51h7P3IFw.js → CJSzKVgSGEQCyJfx.js} +3 -3
  227. package/{browser/esm/BZwg6XaGq6GshkAo.mjs → cdn/assets/CKKWAZkEaZ4JpBOq.js} +726 -706
  228. package/cdn/assets/{ZFmNH36WAkLLbTKE2.js → CMV31zC7ULkWMF6V2.js} +8 -8
  229. package/cdn/assets/{oclc-Ixh46_UsUpL.js → CNTCzYCjbg0XYQ9w.js} +2 -2
  230. package/cdn/assets/{6NAkWncviZTFXMsY2.js → COMdPpJxQ9_y8qIb2.js} +9 -9
  231. package/cdn/assets/{DFHP3kC1VW25l54r.js → CQBwlTSXDAUWu4W9.js} +1 -1
  232. package/cdn/assets/{C55NEfrA6s_yuajX.js → CQyt-UVizZgazLy5.js} +1 -1
  233. package/cdn/assets/{Ck6OFgakjG9KRLkz2.js → CXdK3ceNb39xu59l2.js} +44 -44
  234. package/{browser/esm/CaHBZElxMjo_v4LY2.mjs → cdn/assets/CXgg3tQvJDJO6SSm.js} +1 -1
  235. package/cdn/assets/CXtZMG9g-9oTtiqL.js +2298 -0
  236. package/cdn/assets/{ooQCodfB4ck6IWqw.js → C_0vyfGPMnLDdlSb2.js} +1 -1
  237. package/cdn/assets/{Dt52g2i0t1p8L5mE2.js → C_OzUxYG2SGBaAUf2.js} +25 -25
  238. package/{browser/esm/Bp36kaEEsGhP709t2.mjs → cdn/assets/Cag5TarcS7KgHsRo.js} +1 -1
  239. package/cdn/assets/{C566hKAp9g__r7-72.js → CdCDTqyTm5N2EY4W2.js} +89 -89
  240. package/{browser/esm/BfqHVT9RAMHzPrq22.mjs → cdn/assets/CgddS2k-SBQbGu-q2.js} +1 -1
  241. package/{browser/esm/Bi82rHDsiL2lqeRo2.mjs → cdn/assets/ChMJWEuVIDRtM4F-2.js} +1 -1
  242. package/{browser/esm/DxkY3Q5VwWkfqW7t.mjs → cdn/assets/CiwAp4s68xfZm7za.js} +1 -1
  243. package/{browser/esm/BkU3OKqpa0ddsfDs2.mjs → cdn/assets/Cl-N5g_1yS1UniCt.js} +2 -2
  244. package/{browser/esm/BBmgXo0P8kU87RB42.mjs → cdn/assets/CmbsN81GDpmY3RPO2.js} +1 -1
  245. package/{browser/esm/D5MFyg_gQzrtkU5q2.mjs → cdn/assets/Cn4jB4Paw7SdIEXJ.js} +1 -1
  246. package/cdn/assets/{BfmYSaC7YF8lHawu.js → CnUBHUIkRZCIWgUa.js} +8 -8
  247. package/{browser/esm/BS7DCPO7VdYxiXF82.mjs → cdn/assets/CoVIoxu1xnlKd2HA.js} +1 -1
  248. package/cdn/assets/{mGzBkmSW0FIS3l472.js → CpWlrwsyFr5LDXzk2.js} +1 -1
  249. package/cdn/assets/{C_zj-VriJ00f1MCn.js → CtugyaJ11FwQN-WY.js} +5 -5
  250. package/cdn/assets/{T7quzcPIEGcVdh0D2.js → CuV6xULcGiHONmem2.js} +6 -6
  251. package/cdn/assets/{DLY3Gp_G16n4d85q.js → CvEz12Ffb2RavW2v.js} +6 -6
  252. package/cdn/assets/{DVFxFNggaQDjhPuL2.js → CvjnhhM1I_Frxrat2.js} +51 -51
  253. package/cdn/assets/{fY2YKQMUdsYu7XiI.js → CvzmHqRHrWQRXCU4.js} +1 -1
  254. package/cdn/assets/{VLBw3i20lk_Yly9G.js → CyC5uu-ajw6189Hf.js} +7963 -6056
  255. package/cdn/assets/{DmxxEaNdjPB6nBgy2.js → CzCX-Wad3yMcEHob2.js} +1 -1
  256. package/cdn/assets/{P-5R1AyiA1bO8kls2.js → CzPNVSaAd-17U2N-.js} +7 -7
  257. package/{browser/esm/BdZUKtFZuJHAUStY.mjs → cdn/assets/D0-ySZmNB4p2PDsi2.js} +2612 -1415
  258. package/cdn/assets/{D8Ln6s5Q7xc7NoKg2.js → D03MDxsDGQS9hgbm2.js} +13 -13
  259. package/cdn/assets/{BRSPE-Kbm0TK7bm42.js → D1rCmgzPQzy6VXMS2.js} +1 -1
  260. package/cdn/assets/{BNBvUyjF30xlfOmr.js → D5RE0juCP5H8JlAH.js} +8 -8
  261. package/cdn/assets/{w8ORLCpD4v-F7nl22.js → D69bFt0qiJ0Banpu2.js} +9 -9
  262. package/{browser/esm/De8YQFKHRYztHtNy2.mjs → cdn/assets/D70qxLxD0ZWgLmBs.js} +1 -1
  263. package/cdn/assets/{DefFGyX5E__KiHEC.js → D8K4Srn2tnQLWkPz.js} +1583 -1186
  264. package/cdn/assets/{y7OPrnmnmsKf_AFC.js → DBYgTlTpZKZGoP3J2.js} +1 -1
  265. package/{browser/esm/rTH3jO4xeLwX22po.mjs → cdn/assets/DFQANFiqOXXHBhY62.js} +1 -1
  266. package/cdn/assets/{DFnfLBAD7P-akaff.js → DFTnRj9--tQc-vef.js} +2 -2
  267. package/{browser/esm/D9h6T10d18-OYsnY.mjs → cdn/assets/DGb0H5-84FuMTt7D.js} +1 -1
  268. package/cdn/assets/{C7Em8LjBH1VJoyfm.js → DGb0H5-84FuMTt7D2.js} +1 -1
  269. package/cdn/assets/{DFfqXOHApBHKjPmq.js → DOrZ1rQOO7y7wy_m.js} +1 -1
  270. package/cdn/assets/{N2PDFuHeMIcJXi-I2.js → DQSmYw6FezlICa7N2.js} +949 -624
  271. package/cdn/assets/{CKFb0F8a8b7Bp8XG2.js → DQ_DJLXBiyohjB3S2.js} +12 -12
  272. package/cdn/assets/{DFgibCVRkv7ROc5v.js → DR-J6OnvqplpkxjY.js} +1 -1
  273. package/cdn/assets/{CajvXeO8GjmlYo1w.js → DXJtK3wLsbICIvRL.js} +3 -3
  274. package/cdn/assets/{C0Nxz1Q33eJ2mdFL2.js → DaKYN7vgEkjwgprw.js} +14 -14
  275. package/{browser/esm/Bdf9NRBqMDRFuqxL.mjs → cdn/assets/Db0wkQr-gcaXZ-xF.js} +1 -1
  276. package/cdn/assets/{Dt3O9kdjcB6vva5A.js → DdmPDp4-0_yTeGr_.js} +231 -231
  277. package/cdn/assets/{rynh3babuCEq2zBn2.js → Der1-GUNSJF4NUBK2.js} +7 -7
  278. package/cdn/assets/{DcKd5bjp1ZnTq_-x2.js → DiC8s-5zqDT2bSX_2.js} +1 -1
  279. package/cdn/assets/{CA00G9Yi4uXcS5l5.js → DiVecFg4Jh_suq0_.js} +6 -6
  280. package/cdn/assets/{BX7-HB3e-_oTITi_.js → DiygIQUaTrLizj_A.js} +3 -3
  281. package/cdn/assets/{q7pkii0gu8s26iBw.js → Dn2VJNfytUlF_IF_.js} +2 -2
  282. package/{browser/esm/9cn1ewqq1BWmzgIL2.mjs → cdn/assets/DnIM43F01HIS9vrs.js} +1 -1
  283. package/cdn/assets/{CoqDXeaMS0XICCe2.js → DonKewYwnXajr7vb.js} +1 -1
  284. package/cdn/assets/{ByU4uQWIIAoe9hoQ2.js → DpIsyNPsRdTDh1cq.js} +13 -12
  285. package/cdn/assets/{OaIdw_jfk8n1tSOG.js → Dq8SI2oQstCKO-GY.js} +2 -2
  286. package/cdn/assets/{C8jJJ5X2nIRCaMcu.js → DqrAn9WP17T4sX4k.js} +1 -1
  287. package/cdn/assets/{C8HjRahIuD14iG_b.js → Drh6Y-moeT0GOGRL.js} +4 -4
  288. package/cdn/assets/{CaW2AIr71l8EwY4q.js → Ds-D_rdIJs76l1CW2.js} +5 -5
  289. package/cdn/assets/{RRJyZ2WtMoVN8bzW2.js → DtHIi5l5w6HWQF2d2.js} +14 -14
  290. package/cdn/assets/{C2DL_mDwKLFZBqvN.js → DtgxDfYXDdgRF8CP.js} +1 -1
  291. package/{browser/esm/D4cHE39d638a1U-y2.mjs → cdn/assets/DwcvG_p7iZ2TOYkO.js} +1 -1
  292. package/cdn/assets/{SY3JTpsm5Bpu0tXj.js → DweB8FS7VFYAmdcv.js} +11 -9
  293. package/cdn/assets/{B4g2Yf4whV01sYya.js → FzT0Kg_BbOdmREpX.js} +1 -1
  294. package/cdn/assets/IC-gXSmNOKyQGB9f2.js +69 -0
  295. package/{browser/esm/4YGRiYPupFKq8BfP2.mjs → cdn/assets/LcWP7jwFTbFV8PXB2.js} +1 -1
  296. package/cdn/assets/{C13AOL3lFAH4T6nv2.js → Qd6QBUsP7YTAXYvh2.js} +21 -21
  297. package/{browser/esm/D3aXs7hDPXNqjUte.mjs → cdn/assets/TuDsLDkXtOjxtleY2.js} +2 -2
  298. package/{browser/esm/Bu8wK5Vy7X9Vp_2S.mjs → cdn/assets/YDdOHwur-KHnZcch2.js} +2 -2
  299. package/cdn/assets/{DavJsn-94WtXCnyy2.js → _BhaDNMLX3Da5J122.js} +838 -837
  300. package/cdn/assets/{B3PPwwyNEblsUOL82.js → _umvY0i6yb5YBaQW.js} +1 -1
  301. package/cdn/assets/{Dlk7gS21CL59t8cD.js → b-G7BadS13tqu4Pu.js} +7 -7
  302. package/cdn/assets/{iHpxHAsf4TbCq-TE2.js → eCn_J58pIBQwzSFQ2.js} +1 -1
  303. package/{browser/esm/BdTAWhP-loxlROWg2.mjs → cdn/assets/enNXuXOMFvwqMrMF.js} +1 -1
  304. package/cdn/assets/{BrDePmlBu6Hb4zjJ.js → f4dduywnnZ6uE-MZ.js} +1 -1
  305. package/cdn/assets/{BASSDm-JY_bgolFA.js → jBZULYj6alt6xc0v.js} +1 -1
  306. package/cdn/assets/{D_Iw8uMiIvx2jhcv.js → n6xdiChPzW0alL9f.js} +1 -1
  307. package/cdn/assets/{Dc5MbVn_75FtzgPY.js → qG3Ardi8Sem7RxlS.js} +1 -1
  308. package/cdn/assets/{Bjpm9ZVaFQRdne7s.js → rkgkqx2vOlkYHUxK.js} +1 -1
  309. package/cdn/assets/sq1ZQBDrjmOCMkE8.js +2624 -0
  310. package/{browser/esm/5DCw2IuKPn_ERodw2.mjs → cdn/assets/wcldfedI_9KDEtaN2.js} +1 -1
  311. package/cdn/assets/{DgCRnAf5wqM0QG4X.js → xmD5IJJziRqUIbkU2.js} +1 -1
  312. package/cdn/assets/{BrYD9S8O_9gXuYHf.js → yHDAaNbolW5pTQRd.js} +36 -6
  313. package/cdn/index.js +2 -2
  314. package/package.json +3 -3
  315. package/browser/cjs/5drI55_IEkX8nx_B2.cjs +0 -8
  316. package/browser/cjs/BCaRwsX64XTvboxS.cjs +0 -93
  317. package/browser/cjs/BDnKbuPYvsWYP-3w.cjs +0 -14
  318. package/browser/cjs/BInT189S2DdzvIhp.cjs +0 -1
  319. package/browser/cjs/BPjFqEo3wA9GJNPE.cjs +0 -1
  320. package/browser/cjs/BTr4bJxe0-3IBHPb.cjs +0 -2
  321. package/browser/cjs/B_WV3e3yexp3dKaz.cjs +0 -9
  322. package/browser/cjs/BbMNM5e-lfDFkOvn2.cjs +0 -1
  323. package/browser/cjs/BjQ-fIDc7Z3qMcPY.cjs +0 -1
  324. package/browser/cjs/C03SW3gXtIOgEr3A.cjs +0 -43
  325. package/browser/cjs/C2THZMKIDIU8VSFH2.cjs +0 -1
  326. package/browser/cjs/C9RqCKNI0CK1VHnE2.cjs +0 -1
  327. package/browser/cjs/CA37AwwfHsjvbZT62.cjs +0 -1
  328. package/browser/cjs/CHMgm0vAbEBS1mVW.cjs +0 -1
  329. package/browser/cjs/CLEx2DRw3kmsrkt82.cjs +0 -1
  330. package/browser/cjs/CgfPOPhwYwiOfpBy.cjs +0 -1
  331. package/browser/cjs/CkIFp77GQAFoyjtq.cjs +0 -1
  332. package/browser/cjs/CsGKVtbBtGlgkYJw2.cjs +0 -1
  333. package/browser/cjs/Ct45LEBcOGxMU-VE2.cjs +0 -1
  334. package/browser/cjs/DKdgEj89ChMWaDQz.cjs +0 -3
  335. package/browser/cjs/DLYEQZzAGuSAmJsp.cjs +0 -6
  336. package/browser/cjs/DRgeBTxGZFx-ukKA.cjs +0 -1
  337. package/browser/cjs/DXGjBmROptbxP3On.cjs +0 -24
  338. package/browser/cjs/DXJEany3J8zAcDA5.cjs +0 -32
  339. package/browser/cjs/Dgxx0CvoFxJobjxY.cjs +0 -1
  340. package/browser/cjs/GN7MZBww4pHIrihk.cjs +0 -5
  341. package/browser/cjs/HR_JYXh2W9xtKFL2.cjs +0 -1
  342. package/browser/cjs/ImnRKBYtNpv7bEa7.cjs +0 -3
  343. package/browser/cjs/YGQWfCXmA-65lrhA2.cjs +0 -1
  344. package/browser/cjs/voiGKFLz_nq_RGBY2.cjs +0 -1
  345. package/browser/esm/OF1t5e-IpoCN4nMo.mjs +0 -2402
  346. package/browser/esm/r5p8Wcz2C4nKJXvc.mjs +0 -6104
  347. package/cdn/assets/BDYtqqyKrm2S3aWJ2.js +0 -159
  348. package/cdn/assets/BbjFUZr9zWRsnpUT2.js +0 -2402
  349. package/cdn/assets/C7Em8LjBH1VJoyfm2.js +0 -24
  350. package/cdn/assets/D9h6T10d18-OYsnY2.js +0 -24
  351. package/cdn/assets/HhQT-w3KhQYyLF3E.js +0 -6104
  352. /package/browser/cjs/{4nReftSsKWmnRdtf2.cjs → 4nReftSsKWmnRdtf.cjs} +0 -0
  353. /package/browser/cjs/{B6IXpae7f0J8Ocq62.cjs → B6IXpae7f0J8Ocq6.cjs} +0 -0
  354. /package/browser/cjs/{B6vy56yEA1I3B74O.cjs → B6vy56yEA1I3B74O2.cjs} +0 -0
  355. /package/browser/cjs/{C9q3zr8iCIoYDrdA.cjs → C9q3zr8iCIoYDrdA2.cjs} +0 -0
  356. /package/browser/cjs/{CFxueP0tbpmvY1Ip.cjs → CFxueP0tbpmvY1Ip2.cjs} +0 -0
  357. /package/browser/cjs/{CV4KQsHluMqo1I2Q2.cjs → CV4KQsHluMqo1I2Q.cjs} +0 -0
  358. /package/browser/cjs/{CXlzsh_WHCOsErJ1.cjs → CXlzsh_WHCOsErJ12.cjs} +0 -0
  359. /package/browser/cjs/{CaJGoNwTL6pAJ6a4.cjs → CaJGoNwTL6pAJ6a42.cjs} +0 -0
  360. /package/browser/cjs/{CrZlUtdX1h2RUnCP2.cjs → CrZlUtdX1h2RUnCP.cjs} +0 -0
  361. /package/browser/cjs/{D8-KovdJ0LjxqCe2.cjs → D8-KovdJ0LjxqCe22.cjs} +0 -0
  362. /package/browser/cjs/{DF4l8xrxkcLkgExp2.cjs → DF4l8xrxkcLkgExp.cjs} +0 -0
  363. /package/browser/cjs/{DM7-R_ltoLbA9jde.cjs → DM7-R_ltoLbA9jde2.cjs} +0 -0
  364. /package/browser/cjs/{DNKyaSruDogoBd2H.cjs → DNKyaSruDogoBd2H2.cjs} +0 -0
  365. /package/browser/cjs/{DRmo6uoGoqtiVff82.cjs → DRmo6uoGoqtiVff8.cjs} +0 -0
  366. /package/browser/cjs/{DpFg69dDCPoOK2BY.cjs → DpFg69dDCPoOK2BY2.cjs} +0 -0
  367. /package/browser/cjs/{Dtxj9JR14A-uliu52.cjs → Dtxj9JR14A-uliu5.cjs} +0 -0
  368. /package/browser/cjs/{Dx7GQ4ALtNG3kshu2.cjs → Dx7GQ4ALtNG3kshu.cjs} +0 -0
  369. /package/browser/cjs/{aONv0Ys3C8xmnaR82.cjs → aONv0Ys3C8xmnaR8.cjs} +0 -0
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.7
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.8.0-beta.9
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 { D as e, I as t, J as n, K as r, b as i, c as a, d as o, g as s, h as c, j as l, n as u, q as d, r as f, s as p, x as m, z as h } from "./DmxxEaNdjPB6nBgy.mjs";
8
- import { r as g } from "./C7Em8LjBH1VJoyfm.mjs";
9
- import { i as _, t as v } from "./B1ZEbc_b-Hug9WON.mjs";
10
- import { $t as y, A as b, At as x, Bt as S, D as C, Dt as w, E as ee, Et as T, F as te, Ft as ne, G as re, Gt as ie, H as ae, Ht as E, I as oe, Jt as se, K as ce, L as D, Lt as O, Mt as k, N as le, O as ue, Ot as de, Pt as fe, Q as pe, R as me, S as he, T as ge, Tt as A, U as j, Ut as _e, V as ve, Wt as M, X as ye, Xt as be, Yt as xe, Zt as Se, _ as Ce, an as we, b as Te, bt as Ee, c as De, cn as Oe, ct as N, dn as ke, dt as Ae, et as je, ft as P, g as Me, gt as Ne, h as Pe, ht as Fe, it as Ie, j as Le, k as Re, l as ze, ln as Be, lt as Ve, mt as He, o as Ue, ot as We, p as F, pt as Ge, r as Ke, s as qe, st as Je, tn as Ye, un as I, wt as Xe, xt as Ze, y as L, yt as Qe, zt as $e } from "./Cl_mxlCr73V-Yg6k.mjs";
7
+ import { D as e, I as t, J as n, K as r, b as i, c as a, d as o, g as s, h as c, j as l, n as u, q as d, r as f, s as p, x as m, z as h } from "./CzCX-Wad3yMcEHob.mjs";
8
+ import { r as g } from "./DGb0H5-84FuMTt7D.mjs";
9
+ import { i as _, t as v } from "./2F7YZkGv5ARgpyZp.mjs";
10
+ import { $t as y, A as b, At as x, B as S, C, Ct as ee, Dt as w, Et as te, Ft as ne, G as T, Gt as re, Ht as ie, I as ae, Kt as oe, Lt as se, M as ce, Mt as le, Nt as E, O as D, Ot as O, P as ue, Pt as de, Qt as fe, R as k, S as pe, St as me, T as he, Tt as ge, U as _e, Vt as ve, Wt as A, X as ye, Yt as be, Z as xe, Zt as Se, _ as j, _t as M, a as Ce, an as we, at as Te, b as Ee, c as De, cn as Oe, ct as ke, d as Ae, dt as je, et as Me, g as Ne, gt as N, i as Pe, in as Fe, it as Ie, j as P, ln as Le, lt as Re, m as F, mt as ze, n as Be, nn as Ve, o as He, on as Ue, p as We, pt as Ge, sn as Ke, st as I, tt as qe, un as Je, vt as Ye, x as Xe, xt as Ze, yt as Qe, z as L, zt as $e } from "./B6hXpbUeJ5Oyyttd.mjs";
11
11
  var et, tt = class extends l {
12
12
  constructor(e, t = 50) {
13
13
  super(t), this._transactions = e, this._floorId = e ? e.getCurrentCommit(!1).getId() : null, this._removeListener = e?.addListener({ onCommitChange: () => this._notifyOnStackChange() });
@@ -103,7 +103,7 @@ var et, tt = class extends l {
103
103
  }
104
104
  }, nt = class {
105
105
  constructor(e, t) {
106
- this._dirty = !1, this._store = e, this._savedCommitId = e.getCurrentCommit()?.getId() ?? null, this._emitter = new D(this);
106
+ this._dirty = !1, this._store = e, this._savedCommitId = e.getCurrentCommit()?.getId() ?? null, this._emitter = new k(this);
107
107
  let n = this;
108
108
  this._removeStoreListener = e.addListener({
109
109
  onCommitEnd() {
@@ -142,7 +142,7 @@ var et, tt = class extends l {
142
142
  et ||= {};
143
143
  var R = class e {
144
144
  constructor(t, n = {}) {
145
- this._password = null, this._emitter = new D(this), this._path = t ?? null, this._name = n.name ?? null, this._format = n.format ?? null, this._size = n.size ?? null, this._lastModified = n.lastModified ?? null, this._canWrite = n.canWrite ?? e._defaultCanWrite(this._path), this._encryption = n.encryption ?? null;
145
+ this._password = null, this._emitter = new k(this), this._path = t ?? null, this._name = n.name ?? null, this._format = n.format ?? null, this._size = n.size ?? null, this._lastModified = n.lastModified ?? null, this._canWrite = n.canWrite ?? e._defaultCanWrite(this._path), this._encryption = n.encryption ?? null;
146
146
  }
147
147
  static _defaultCanWrite(e) {
148
148
  return !!e && !/^(https?:|data:|blob:)/i.test(e);
@@ -153,7 +153,7 @@ var R = class e {
153
153
  getName() {
154
154
  if (this._name !== null && this._name !== void 0) return this._name;
155
155
  let e = this._cleanPath();
156
- return e && k(e) || null;
156
+ return e && E(e) || null;
157
157
  }
158
158
  getPath() {
159
159
  return this._path;
@@ -164,7 +164,7 @@ var R = class e {
164
164
  getExtension() {
165
165
  let e = this._cleanPath();
166
166
  if (!e) return null;
167
- let t = C(e);
167
+ let t = P(e);
168
168
  return t ? t.toLowerCase() : null;
169
169
  }
170
170
  getEncryption() {
@@ -216,7 +216,7 @@ var R = class e {
216
216
  }
217
217
  }, z = /* @__PURE__ */ new WeakMap(), B = /* @__PURE__ */ new Set(), rt = (e) => z.get(e) ?? null, it = () => Array.from(B, (e) => e.getOrigin()), at = class e {
218
218
  constructor(t) {
219
- this._released = !1, e._assertFree(t), this._emitter = new D(this), this._origin = t, z.set(t, this), B.add(this);
219
+ this._released = !1, e._assertFree(t), this._emitter = new k(this), this._origin = t, z.set(t, this), B.add(this);
220
220
  }
221
221
  getOrigin() {
222
222
  return this._origin;
@@ -251,10 +251,10 @@ var R = class e {
251
251
  }
252
252
  switch (o) {
253
253
  case "file": {
254
- let e = n, r = e?.name, o = r ? `${k(r)}` : "";
254
+ let e = n, r = e?.name, o = r ? `${E(r)}` : "";
255
255
  s = await e.arrayBuffer(), c = {
256
256
  format: a,
257
- ext: C(r),
257
+ ext: P(r),
258
258
  name: o,
259
259
  absolutePath: r,
260
260
  size: e.size,
@@ -294,7 +294,7 @@ var R = class e {
294
294
  e = i.input, t = i.init, r = i.timeout;
295
295
  }
296
296
  }
297
- let i = r || 3e4, o = new AbortController(), l = setTimeout(() => o.abort(), i), u = typeof e == "string" ? e : e.toString(), d = C(u);
297
+ let i = r || 3e4, o = new AbortController(), l = setTimeout(() => o.abort(), i), u = typeof e == "string" ? e : e.toString(), d = P(u);
298
298
  try {
299
299
  let n = await fetch(e, {
300
300
  ...t,
@@ -306,7 +306,7 @@ var R = class e {
306
306
  s = r, c = {
307
307
  format: a,
308
308
  ext: d,
309
- name: k(u, !0),
309
+ name: E(u, !0),
310
310
  absolutePath: u
311
311
  };
312
312
  } catch (e) {
@@ -626,7 +626,18 @@ function Ct(e, n = !0, r = St) {
626
626
  FillColor: "fillColor",
627
627
  FontColor: "fontColor",
628
628
  Icon: "icon"
629
- }, (G = vt ||= {}).Compound = {
629
+ }, (G = vt ||= {}).LineEndType = {
630
+ None: "none",
631
+ Triangle: "triangle",
632
+ Stealth: "stealth",
633
+ Diamond: "diamond",
634
+ Oval: "oval",
635
+ Arrow: "arrow"
636
+ }, G.LineEndSize = {
637
+ Small: "sm",
638
+ Medium: "med",
639
+ Large: "lg"
640
+ }, G.Compound = {
630
641
  Single: "sng",
631
642
  Double: "dbl",
632
643
  ThickThin: "thickThin",
@@ -644,11 +655,6 @@ function Ct(e, n = !0, r = St) {
644
655
  Bevel: "bevel",
645
656
  Miter: "miter",
646
657
  Round: "round"
647
- }, G.PresetMarkerShape = {
648
- Single: "none",
649
- Double: "double",
650
- ThickThin: "thickThin",
651
- ThinThick: "thinThick"
652
658
  }, G.StrokeStyle = {
653
659
  None: "none",
654
660
  Dashed: "dashed",
@@ -669,7 +675,7 @@ function Ct(e, n = !0, r = St) {
669
675
  SoftEdge: "softEdge",
670
676
  Reflection: "reflection"
671
677
  };
672
- var wt, Tt, Et, Dt, q = ye.BuiltInName, Ot = {
678
+ var wt, Tt, Et, Dt, q = xe.BuiltInName, Ot = {
673
679
  [q.Normal]: d("style.builtin.normal"),
674
680
  [q.Comma]: d("style.builtin.comma"),
675
681
  [q.Currency]: d("style.builtin.currency"),
@@ -710,12 +716,12 @@ function Ft(e) {
710
716
  }
711
717
  } : null));
712
718
  }
713
- var It = (e, t, n, r, i) => {
719
+ var J, It, Y, Lt = (e, t, n, r, i) => {
714
720
  let a = JSON.parse(JSON.stringify(e.definition));
715
721
  a.adjs ||= [];
716
722
  let o = "", s = 0, c = 0;
717
- t > 0 ? (c = t, s = 100 - t, o = f("op.lighterPercent", { percent: t })) : t < 0 && (s = 100 + t, o = f("op.darkerPercent", { percent: -t })), s && a.adjs.push({ [ie.AdjustmentType.LumMod]: s }), c && a.adjs.push({ [ie.AdjustmentType.LumOff]: c });
718
- let l = new b({
723
+ t > 0 ? (c = t, s = 100 - t, o = f("op.lighterPercent", { percent: t })) : t < 0 && (s = 100 + t, o = f("op.darkerPercent", { percent: -t })), s && a.adjs.push({ [oe.AdjustmentType.LumMod]: s }), c && a.adjs.push({ [oe.AdjustmentType.LumOff]: c });
724
+ let l = new Ce({
719
725
  val: a.val,
720
726
  adjs: a.adjs
721
727
  }, n), u = l.toString();
@@ -726,11 +732,11 @@ var It = (e, t, n, r, i) => {
726
732
  definition: a
727
733
  };
728
734
  };
729
- function Lt(e) {
735
+ function Rt(e) {
730
736
  let t, n = e.trim();
731
737
  if (!n) return;
732
738
  try {
733
- let e = he.shared().tokenize(n, !1);
739
+ let e = Ae.shared().tokenize(n, !1);
734
740
  if (e.errors.length > 0) return;
735
741
  t = e.tokens;
736
742
  } catch {
@@ -748,40 +754,27 @@ function Lt(e) {
748
754
  case "NumberToken":
749
755
  case "ScientificDigit":
750
756
  case "DigitToken": {
751
- let e = Ae(o).value;
757
+ let e = de(o).value;
752
758
  return r === 0 ? e : r * e;
753
759
  }
754
- case "StringToken": return r === 0 ? He(o).value : void 0;
755
- case "BooleanToken": return r === 0 ? ne(o).value : void 0;
760
+ case "StringToken": return r === 0 ? Ve(o).value : void 0;
761
+ case "BooleanToken": return r === 0 ? Qe(o).value : void 0;
756
762
  case "LiteralError":
757
- case "RefError": return r === 0 ? Ze(o).value : void 0;
763
+ case "RefError": return r === 0 ? ie(o).value : void 0;
758
764
  default: return;
759
765
  }
760
766
  } catch {
761
767
  return;
762
768
  }
763
769
  }
764
- function Rt(e, t) {
765
- let n = zt(e), r = zt(t);
766
- return n === r ? e === t ? 0 : typeof e == "number" && typeof t == "number" ? e < t ? -1 : 1 : typeof e == "string" && typeof t == "string" ? e < t ? -1 : +(e > t) : typeof e == "boolean" ? e ? 1 : -1 : _.isError(e) && _.isError(t) ? e.getCode() - t.getCode() : 0 : n - r;
767
- }
768
- function zt(e) {
769
- if (e === null) return 0;
770
- switch (typeof e) {
771
- case "number": return 1;
772
- case "string": return 2;
773
- case "boolean": return 3;
774
- default: return _.isError(e) ? 4 : 5;
775
- }
776
- }
777
770
  (wt ||= {}).buildPalette = function(e, t, n, r) {
778
771
  let i = [];
779
772
  for (let a = 0; a < e.length; a++) {
780
773
  let o = [];
781
774
  i.push(o);
782
775
  let s = (i) => {
783
- for (let s = 0; s < i.length; s++) o.push(It(e[a], i[s], t, n, r));
784
- }, c = new b({
776
+ for (let s = 0; s < i.length; s++) o.push(Lt(e[a], i[s], t, n, r));
777
+ }, c = new Ce({
785
778
  val: e[a].definition.val,
786
779
  adjs: e[a].definition.adjs
787
780
  }, t).toHSLA().lum;
@@ -818,8 +811,346 @@ function zt(e) {
818
811
  ]);
819
812
  }
820
813
  return i;
821
- }, Tt ||= {}, Et ||= {}, Dt ||= {};
822
- var Bt = class {
814
+ }, Tt ||= {}, Et ||= {}, Dt ||= {}, (J ||= {}).Type = {
815
+ Shape: "shape",
816
+ Connector: "connector",
817
+ Group: "group",
818
+ Picture: "picture"
819
+ };
820
+ var zt = Object.freeze({
821
+ AccentBorderCallout1: "accentBorderCallout1",
822
+ AccentBorderCallout2: "accentBorderCallout2",
823
+ AccentBorderCallout3: "accentBorderCallout3",
824
+ AccentCallout1: "accentCallout1",
825
+ AccentCallout2: "accentCallout2",
826
+ AccentCallout3: "accentCallout3",
827
+ ActionButtonBackPrevious: "actionButtonBackPrevious",
828
+ ActionButtonBeginning: "actionButtonBeginning",
829
+ ActionButtonBlank: "actionButtonBlank",
830
+ ActionButtonDocument: "actionButtonDocument",
831
+ ActionButtonEnd: "actionButtonEnd",
832
+ ActionButtonForwardNext: "actionButtonForwardNext",
833
+ ActionButtonHelp: "actionButtonHelp",
834
+ ActionButtonHome: "actionButtonHome",
835
+ ActionButtonInformation: "actionButtonInformation",
836
+ ActionButtonMovie: "actionButtonMovie",
837
+ ActionButtonReturn: "actionButtonReturn",
838
+ ActionButtonSound: "actionButtonSound",
839
+ Arc: "arc",
840
+ BentArrow: "bentArrow",
841
+ BentConnector2: "bentConnector2",
842
+ BentConnector3: "bentConnector3",
843
+ BentConnector4: "bentConnector4",
844
+ BentConnector5: "bentConnector5",
845
+ BentUpArrow: "bentUpArrow",
846
+ Bevel: "bevel",
847
+ BlockArc: "blockArc",
848
+ BorderCallout1: "borderCallout1",
849
+ BorderCallout2: "borderCallout2",
850
+ BorderCallout3: "borderCallout3",
851
+ BracePair: "bracePair",
852
+ BracketPair: "bracketPair",
853
+ Callout1: "callout1",
854
+ Callout2: "callout2",
855
+ Callout3: "callout3",
856
+ Can: "can",
857
+ ChartPlus: "chartPlus",
858
+ ChartStar: "chartStar",
859
+ ChartX: "chartX",
860
+ Chevron: "chevron",
861
+ Chord: "chord",
862
+ CircularArrow: "circularArrow",
863
+ Cloud: "cloud",
864
+ CloudCallout: "cloudCallout",
865
+ Corner: "corner",
866
+ CornerTabs: "cornerTabs",
867
+ Cube: "cube",
868
+ CurvedConnector2: "curvedConnector2",
869
+ CurvedConnector3: "curvedConnector3",
870
+ CurvedConnector4: "curvedConnector4",
871
+ CurvedConnector5: "curvedConnector5",
872
+ CurvedDownArrow: "curvedDownArrow",
873
+ CurvedLeftArrow: "curvedLeftArrow",
874
+ CurvedRightArrow: "curvedRightArrow",
875
+ CurvedUpArrow: "curvedUpArrow",
876
+ Decagon: "decagon",
877
+ DiagStripe: "diagStripe",
878
+ Diamond: "diamond",
879
+ Dodecagon: "dodecagon",
880
+ Donut: "donut",
881
+ DoubleWave: "doubleWave",
882
+ DownArrow: "downArrow",
883
+ DownArrowCallout: "downArrowCallout",
884
+ Ellipse: "ellipse",
885
+ EllipseRibbon: "ellipseRibbon",
886
+ EllipseRibbon2: "ellipseRibbon2",
887
+ FlowChartAlternateProcess: "flowChartAlternateProcess",
888
+ FlowChartCollate: "flowChartCollate",
889
+ FlowChartConnector: "flowChartConnector",
890
+ FlowChartDecision: "flowChartDecision",
891
+ FlowChartDelay: "flowChartDelay",
892
+ FlowChartDisplay: "flowChartDisplay",
893
+ FlowChartDocument: "flowChartDocument",
894
+ FlowChartExtract: "flowChartExtract",
895
+ FlowChartInputOutput: "flowChartInputOutput",
896
+ FlowChartInternalStorage: "flowChartInternalStorage",
897
+ FlowChartMagneticDisk: "flowChartMagneticDisk",
898
+ FlowChartMagneticDrum: "flowChartMagneticDrum",
899
+ FlowChartMagneticTape: "flowChartMagneticTape",
900
+ FlowChartManualInput: "flowChartManualInput",
901
+ FlowChartManualOperation: "flowChartManualOperation",
902
+ FlowChartMerge: "flowChartMerge",
903
+ FlowChartMultidocument: "flowChartMultidocument",
904
+ FlowChartOfflineStorage: "flowChartOfflineStorage",
905
+ FlowChartOffpageConnector: "flowChartOffpageConnector",
906
+ FlowChartOnlineStorage: "flowChartOnlineStorage",
907
+ FlowChartOr: "flowChartOr",
908
+ FlowChartPredefinedProcess: "flowChartPredefinedProcess",
909
+ FlowChartPreparation: "flowChartPreparation",
910
+ FlowChartProcess: "flowChartProcess",
911
+ FlowChartPunchedCard: "flowChartPunchedCard",
912
+ FlowChartPunchedTape: "flowChartPunchedTape",
913
+ FlowChartSort: "flowChartSort",
914
+ FlowChartSummingJunction: "flowChartSummingJunction",
915
+ FlowChartTerminator: "flowChartTerminator",
916
+ FoldedCorner: "foldedCorner",
917
+ Frame: "frame",
918
+ Funnel: "funnel",
919
+ Gear6: "gear6",
920
+ Gear9: "gear9",
921
+ HalfFrame: "halfFrame",
922
+ Heart: "heart",
923
+ Heptagon: "heptagon",
924
+ Hexagon: "hexagon",
925
+ HomePlate: "homePlate",
926
+ HorizontalScroll: "horizontalScroll",
927
+ IrregularSeal1: "irregularSeal1",
928
+ IrregularSeal2: "irregularSeal2",
929
+ LeftArrow: "leftArrow",
930
+ LeftArrowCallout: "leftArrowCallout",
931
+ LeftBrace: "leftBrace",
932
+ LeftBracket: "leftBracket",
933
+ LeftCircularArrow: "leftCircularArrow",
934
+ LeftRightArrow: "leftRightArrow",
935
+ LeftRightArrowCallout: "leftRightArrowCallout",
936
+ LeftRightCircularArrow: "leftRightCircularArrow",
937
+ LeftRightRibbon: "leftRightRibbon",
938
+ LeftRightUpArrow: "leftRightUpArrow",
939
+ LeftUpArrow: "leftUpArrow",
940
+ LightningBolt: "lightningBolt",
941
+ Line: "line",
942
+ LineInv: "lineInv",
943
+ MathDivide: "mathDivide",
944
+ MathEqual: "mathEqual",
945
+ MathMinus: "mathMinus",
946
+ MathMultiply: "mathMultiply",
947
+ MathNotEqual: "mathNotEqual",
948
+ MathPlus: "mathPlus",
949
+ Moon: "moon",
950
+ NoSmoking: "noSmoking",
951
+ NonIsoscelesTrapezoid: "nonIsoscelesTrapezoid",
952
+ NotchedRightArrow: "notchedRightArrow",
953
+ Octagon: "octagon",
954
+ Parallelogram: "parallelogram",
955
+ Pentagon: "pentagon",
956
+ Pie: "pie",
957
+ PieWedge: "pieWedge",
958
+ Plaque: "plaque",
959
+ PlaqueTabs: "plaqueTabs",
960
+ Plus: "plus",
961
+ QuadArrow: "quadArrow",
962
+ QuadArrowCallout: "quadArrowCallout",
963
+ Rect: "rect",
964
+ Ribbon: "ribbon",
965
+ Ribbon2: "ribbon2",
966
+ RightArrow: "rightArrow",
967
+ RightArrowCallout: "rightArrowCallout",
968
+ RightBrace: "rightBrace",
969
+ RightBracket: "rightBracket",
970
+ Round1Rect: "round1Rect",
971
+ Round2DiagRect: "round2DiagRect",
972
+ Round2SameRect: "round2SameRect",
973
+ RoundRect: "roundRect",
974
+ RtTriangle: "rtTriangle",
975
+ SmileyFace: "smileyFace",
976
+ Snip1Rect: "snip1Rect",
977
+ Snip2DiagRect: "snip2DiagRect",
978
+ Snip2SameRect: "snip2SameRect",
979
+ SnipRoundRect: "snipRoundRect",
980
+ SquareTabs: "squareTabs",
981
+ Star10: "star10",
982
+ Star12: "star12",
983
+ Star16: "star16",
984
+ Star24: "star24",
985
+ Star32: "star32",
986
+ Star4: "star4",
987
+ Star5: "star5",
988
+ Star6: "star6",
989
+ Star7: "star7",
990
+ Star8: "star8",
991
+ StraightConnector1: "straightConnector1",
992
+ StripedRightArrow: "stripedRightArrow",
993
+ Sun: "sun",
994
+ SwooshArrow: "swooshArrow",
995
+ Teardrop: "teardrop",
996
+ Trapezoid: "trapezoid",
997
+ Triangle: "triangle",
998
+ UpArrow: "upArrow",
999
+ UpArrowCallout: "upArrowCallout",
1000
+ UpDownArrow: "upDownArrow",
1001
+ UpDownArrowCallout: "upDownArrowCallout",
1002
+ UturnArrow: "uturnArrow",
1003
+ VerticalScroll: "verticalScroll",
1004
+ Wave: "wave",
1005
+ WedgeEllipseCallout: "wedgeEllipseCallout",
1006
+ WedgeRectCallout: "wedgeRectCallout",
1007
+ WedgeRoundRectCallout: "wedgeRoundRectCallout"
1008
+ });
1009
+ (Y = It ||= {}).Preset = zt, Y.PathLayer = {
1010
+ Fill: "fill",
1011
+ Stroke: "stroke",
1012
+ Marker: "marker"
1013
+ }, Y.FillTransfer = Object.freeze({
1014
+ norm: [1, 0],
1015
+ darken: [.6, 0],
1016
+ darkenLess: [.8, 0],
1017
+ lighten: [.6, .4],
1018
+ lightenLess: [.8, .2]
1019
+ }), Y.HandleType = {
1020
+ XY: "xy",
1021
+ Polar: "polar"
1022
+ };
1023
+ var Bt = g({
1024
+ TEXT_DEFAULTS: () => Jt,
1025
+ defaultStyleRefs: () => Z,
1026
+ inheritedTextSize: () => Yt,
1027
+ resolve: () => $t,
1028
+ withoutDefaultStyleRefs: () => qt
1029
+ }), Vt = .75, X = {
1030
+ type: j.Type.Solid,
1031
+ color: "phClr"
1032
+ }, Ht = [
1033
+ X,
1034
+ X,
1035
+ X
1036
+ ], Ut = [
1037
+ .5,
1038
+ 1,
1039
+ 1.5
1040
+ ].map((e) => ({
1041
+ width: e,
1042
+ fill: X
1043
+ })), Wt = Object.freeze({
1044
+ fill: {
1045
+ index: 1,
1046
+ color: "accent1"
1047
+ },
1048
+ stroke: {
1049
+ index: 2,
1050
+ color: "accent1 shade 15"
1051
+ },
1052
+ effect: {
1053
+ index: 0,
1054
+ color: "accent1"
1055
+ },
1056
+ font: {
1057
+ index: F.Scheme.Minor,
1058
+ color: "lt1"
1059
+ }
1060
+ }), Gt = Object.freeze({
1061
+ fill: {
1062
+ index: 0,
1063
+ color: "accent1"
1064
+ },
1065
+ stroke: {
1066
+ index: 1,
1067
+ color: "accent1"
1068
+ },
1069
+ effect: {
1070
+ index: 0,
1071
+ color: "accent1"
1072
+ },
1073
+ font: {
1074
+ index: F.Scheme.Minor,
1075
+ color: "tx1"
1076
+ }
1077
+ }), Kt = Object.freeze({});
1078
+ function Z(e) {
1079
+ return e?.type === J.Type.Connector ? Gt : e?.type === J.Type.Picture ? Kt : Wt;
1080
+ }
1081
+ function qt(e) {
1082
+ let t = e.style;
1083
+ if (!t) return t;
1084
+ let n = Z(e), r = {};
1085
+ for (let e of [
1086
+ "fill",
1087
+ "stroke",
1088
+ "effect",
1089
+ "font"
1090
+ ]) {
1091
+ let i = t[e], a = n[e];
1092
+ !i || a && i.index === a.index && i.color === a.color || (r[e] = i);
1093
+ }
1094
+ return Object.keys(r).length > 0 ? r : void 0;
1095
+ }
1096
+ var Jt = Object.freeze({
1097
+ verticalOverflow: T.Overflow.Clip,
1098
+ horizontalOverflow: T.Overflow.Clip,
1099
+ size: 11
1100
+ });
1101
+ function Yt(e, t) {
1102
+ let n = e.listStyle;
1103
+ return t.defaultRun?.size ?? n?.levels?.[t.level ?? 0]?.defaultRun?.size ?? n?.default?.defaultRun?.size;
1104
+ }
1105
+ var Q = (e, t) => typeof e == "string" && e.startsWith("phClr") ? (t ?? "tx1") + e.slice(5) : e, Xt = (e, t) => {
1106
+ let n = { ...e };
1107
+ return "color" in n && (n.color = Q(n.color, t)), "foreground" in n && (n.foreground = Q(n.foreground, t)), "background" in n && (n.background = Q(n.background, t)), Array.isArray(n.stops) && (n.stops = n.stops.map((e) => typeof e == "string" ? Q(e, t) : {
1108
+ ...e,
1109
+ color: Q(e.color, t)
1110
+ })), n;
1111
+ }, Zt = (e, t) => {
1112
+ if (!e) return;
1113
+ if (e.index <= 0) return { type: j.Type.None };
1114
+ let n = t?.fillStyleLst?.length ? t.fillStyleLst : Ht, r = n[Math.min(e.index, n.length) - 1];
1115
+ return r ? Xt(r, e.color) : void 0;
1116
+ }, Qt = (e, t) => {
1117
+ if (!e) return;
1118
+ if (e.index <= 0) return { fill: { type: j.Type.None } };
1119
+ let n = t?.lnStyleLst?.length ? t.lnStyleLst : Ut, r = n[Math.min(e.index, n.length) - 1];
1120
+ if (!r) return;
1121
+ let i = { ...r };
1122
+ return i.fill &&= Xt(i.fill, e.color), i;
1123
+ };
1124
+ function $t(e, t) {
1125
+ let n = e?.style === null ? {} : {
1126
+ ...Z(e),
1127
+ ...e?.style
1128
+ }, r = e?.fill ?? Zt(n.fill, t), i = Qt(n.stroke, t), a = e?.stroke, o = a || i ? {
1129
+ ...i,
1130
+ ...a,
1131
+ fill: a?.fill ?? i?.fill
1132
+ } : void 0;
1133
+ return {
1134
+ fill: r,
1135
+ stroke: o,
1136
+ strokeWidth: typeof o?.width == "number" ? o.width : Vt,
1137
+ fontColor: n.font?.color ?? (r && r.type !== j.Type.None ? "lt1" : "tx1")
1138
+ };
1139
+ }
1140
+ function en(e, t) {
1141
+ let n = tn(e), r = tn(t);
1142
+ return n === r ? e === t ? 0 : typeof e == "number" && typeof t == "number" ? e < t ? -1 : 1 : typeof e == "string" && typeof t == "string" ? e < t ? -1 : +(e > t) : typeof e == "boolean" ? e ? 1 : -1 : _.isError(e) && _.isError(t) ? e.getCode() - t.getCode() : 0 : n - r;
1143
+ }
1144
+ function tn(e) {
1145
+ if (e === null) return 0;
1146
+ switch (typeof e) {
1147
+ case "number": return 1;
1148
+ case "string": return 2;
1149
+ case "boolean": return 3;
1150
+ default: return _.isError(e) ? 4 : 5;
1151
+ }
1152
+ }
1153
+ var nn = class {
823
1154
  constructor(e) {
824
1155
  this._children = e;
825
1156
  }
@@ -864,19 +1195,19 @@ var Bt = class {
864
1195
  let n = t[e].getSortedNumbers().getValues();
865
1196
  n.length > 0 && r.push(n);
866
1197
  }
867
- e = new re(function(e) {
1198
+ e = new De(function(e) {
868
1199
  let t = e.length;
869
- if (t === 0) return Vt;
1200
+ if (t === 0) return rn;
870
1201
  if (t === 1) return e[0];
871
1202
  let n = e[0];
872
- for (let r = 1; r < t; r++) n = Ht(n, e[r]);
1203
+ for (let r = 1; r < t; r++) n = an(n, e[r]);
873
1204
  return Object.freeze(n);
874
1205
  }(r)), this._sortedNumbers = e;
875
1206
  }
876
1207
  return e;
877
1208
  }
878
1209
  getRanked(e) {
879
- return oe(this._children, e, Rt)[Symbol.iterator]();
1210
+ return Ke(this._children, e, en)[Symbol.iterator]();
880
1211
  }
881
1212
  getFrequencies(e) {
882
1213
  if (e) return this._mergeFrequencies(e);
@@ -884,7 +1215,7 @@ var Bt = class {
884
1215
  return t || (t = this._mergeFrequencies(), this._frequencies = t), t;
885
1216
  }
886
1217
  _mergeFrequencies(e) {
887
- let t = e?.keyFn ?? w, n = e?.limit, r = /* @__PURE__ */ new Map(), i = this._children, a = i.length, o = 0, s = 0, c = !1;
1218
+ let t = e?.keyFn ?? re, n = e?.limit, r = /* @__PURE__ */ new Map(), i = this._children, a = i.length, o = 0, s = 0, c = !1;
888
1219
  for (let l = 0; l < a; l++) {
889
1220
  let a = i[l].getFrequencies(e);
890
1221
  o += a.getVisitedCount(), s += a.getTotalCount(), c ||= a.isTruncated();
@@ -897,7 +1228,7 @@ var Bt = class {
897
1228
  }) : c = !0, d = u.next();
898
1229
  }
899
1230
  }
900
- return $e.fromGroups(r, t, e, Rt, o, s, c);
1231
+ return ee.fromGroups(r, t, e, en, o, s, c);
901
1232
  }
902
1233
  getTypedCounts(e) {
903
1234
  let t = this._typedCounts;
@@ -947,17 +1278,17 @@ var Bt = class {
947
1278
  let a = n.numericalCount;
948
1279
  a <= 0 || (r.numericalCount += a, r.sum += n.sum, r.sumSq += n.varP * a + n.sum * n.sum / a, (r.min === void 0 || n.min < r.min) && (r.min = n.min), (r.max === void 0 || n.max > r.max) && (r.max = n.max));
949
1280
  }
950
- return Xe(r);
1281
+ return fe(r);
951
1282
  }
952
- }, Vt = Object.freeze([]);
953
- function Ht(e, t) {
1283
+ }, rn = Object.freeze([]);
1284
+ function an(e, t) {
954
1285
  let n = e.length, r = t.length, i = Array(n + r), a = 0, o = 0, s = 0;
955
1286
  for (; a < n && o < r;) i[s++] = e[a] <= t[o] ? e[a++] : t[o++];
956
1287
  for (; a < n;) i[s++] = e[a++];
957
1288
  for (; o < r;) i[s++] = t[o++];
958
1289
  return i;
959
1290
  }
960
- var Ut = class {
1291
+ var on = class {
961
1292
  constructor(e, t) {
962
1293
  this._deleted = !1, this._json = { ...e }, this._deleteFromCollection = t ?? null;
963
1294
  }
@@ -991,7 +1322,7 @@ var Ut = class {
991
1322
  get isIPerson() {
992
1323
  return !0;
993
1324
  }
994
- }, Wt = class extends qe {
1325
+ }, sn = class extends He {
995
1326
  constructor(e) {
996
1327
  super(), this._byId = /* @__PURE__ */ new Map(), this._byDisplayName = /* @__PURE__ */ new Map(), this._items = null, this._current = null, e && this.fromJSON(e);
997
1328
  }
@@ -1012,7 +1343,7 @@ var Ut = class {
1012
1343
  let e = this._byDisplayName.get(i);
1013
1344
  if (e) return e;
1014
1345
  }
1015
- let a = new Ut({
1346
+ let a = new on({
1016
1347
  ...n,
1017
1348
  displayName: i,
1018
1349
  id: r ?? t.uuidV4().toUpperCase()
@@ -1055,9 +1386,9 @@ var Ut = class {
1055
1386
  get isIPersonCollection() {
1056
1387
  return !0;
1057
1388
  }
1058
- }, Gt = class {
1389
+ }, cn = class {
1059
1390
  constructor(e) {
1060
- this._options = e, this._emitter = new D(this), this._initState();
1391
+ this._options = e, this._emitter = new k(this), this._initState();
1061
1392
  }
1062
1393
  _initState() {}
1063
1394
  getModules() {
@@ -1075,18 +1406,18 @@ var Ut = class {
1075
1406
  }
1076
1407
  }
1077
1408
  async createModule(e) {
1078
- let t = await (await import("./GZBYOLZMS5CK612Z.mjs").then((e) => e.n)).ScriptCompiler.compile({
1409
+ let t = await (await import("./C-5IXNwUVn75K6U_.mjs").then((e) => e.n)).ScriptCompiler.compile({
1079
1410
  builtInNames: this._builtInNames(),
1080
1411
  minify: !0,
1081
1412
  ...e
1082
1413
  });
1083
- return t.module ? await S(Ue.DEFAULT_MODULE, t.module, e?.declarationsOnly ?? !1, t.diagnostics) : null;
1414
+ return t.module ? await O(Ne.DEFAULT_MODULE, t.module, e?.declarationsOnly ?? !1, t.diagnostics) : null;
1084
1415
  }
1085
1416
  addModule(e, t, n) {
1086
1417
  this._modules.add(e, t, n);
1087
1418
  }
1088
1419
  async addModuleFromJSON(e, t, n) {
1089
- let r = await S(e, t);
1420
+ let r = await O(e, t);
1090
1421
  return this.addModule(e, r, n), r;
1091
1422
  }
1092
1423
  executeMacro(e, t, n) {
@@ -1102,7 +1433,7 @@ var Ut = class {
1102
1433
  }
1103
1434
  async run(e, t) {
1104
1435
  try {
1105
- let n = typeof e == "string" ? await this.createModule({ source: e }) : await S(Ue.DEFAULT_MODULE, e), r = typeof e == "string" ? e : e?.source ?? "";
1436
+ let n = typeof e == "string" ? await this.createModule({ source: e }) : await O(Ne.DEFAULT_MODULE, e), r = typeof e == "string" ? e : e?.source ?? "";
1106
1437
  return await this._runModule(n, r, t);
1107
1438
  } catch (e) {
1108
1439
  return {
@@ -1184,7 +1515,7 @@ var Ut = class {
1184
1515
  }
1185
1516
  if (!r || r.length === 0) return t.EmptyArray;
1186
1517
  let s = e?.text ? e.text.trim().toUpperCase() : null;
1187
- return s && n.length > 1 && xe(r, s), i !== void 0 && r.length > i ? r.slice(0, i) : r;
1518
+ return s && n.length > 1 && qe(r, s), i !== void 0 && r.length > i ? r.slice(0, i) : r;
1188
1519
  }
1189
1520
  async getFunctionCategories(e) {
1190
1521
  await this._emitter.notify("onBeforeSearch", { async: !0 });
@@ -1227,13 +1558,13 @@ var Ut = class {
1227
1558
  for (let a = 0; a < t.length; a++) {
1228
1559
  let o = t[a], s = r[o];
1229
1560
  try {
1230
- i[o] = await S(o, s, !1, [], s?.scope === "workbook" ? e : null);
1561
+ i[o] = await O(o, s, !1, [], s?.scope === "workbook" ? e : null);
1231
1562
  } catch (e) {
1232
1563
  n.error(`Could not load script '${o}'; it will be unavailable.`, e);
1233
1564
  }
1234
1565
  }
1235
1566
  }
1236
- let a = this, o = new ee({
1567
+ let a = this, o = new ue({
1237
1568
  transactions: this._options?.transactions,
1238
1569
  initial: i,
1239
1570
  isReadOnly: () => a.isReadOnly(),
@@ -1273,9 +1604,9 @@ var Ut = class {
1273
1604
  get isIScript() {
1274
1605
  return !0;
1275
1606
  }
1276
- }, Kt = class {
1607
+ }, ln = class {
1277
1608
  constructor(e, t, n, r) {
1278
- this._mergedReading = [], this._colsReading = [], this._rowsReading = [], this._styles = n, this._topLeft = t ?? o.EmptyCell, this._sheet = new L({
1609
+ this._mergedReading = [], this._colsReading = [], this._rowsReading = [], this._styles = n, this._topLeft = t ?? o.EmptyCell, this._sheet = new D({
1279
1610
  runtime: e,
1280
1611
  styles: this._styles,
1281
1612
  calcOnLoad: "none",
@@ -1298,20 +1629,20 @@ var Ut = class {
1298
1629
  }
1299
1630
  let a = Je(i.fontFamily);
1300
1631
  r.font = {}, a && (r.font.family = a.family, r.font.fallbacks = a.fallbacks, r.font.size = a.size), r.font.size = i.fontSize, r.font.weight = i.fontWeight, r.font.style = i.fontStyle, r.font.color = i.color;
1301
- let o = me(i.textDecoration);
1302
- r.font.underline = o.underline, r.font.strike = o.strike, i.textUnderlineStyle && (r.font.underline = De(i.textUnderlineStyle)), r.alignment = {}, i?.textAlign && (r.alignment.horizontal = se(i.textAlign)), i?.textAlign && !r.alignment.horizontal && i?.textAlign !== "general" && (i.textAlign === "center-across" ? r.alignment.horizontal = j.HorizontalAlignment.CenterContinuous : i.textAlign === "fill" ? r.alignment.horizontal = j.HorizontalAlignment.Fill : i.textAlign === "121" || i.textAlign === "010" ? (r.alignment.horizontal = j.HorizontalAlignment.Distributed, r.alignment.justifyLastLine = i.textAlign === "121") : console.warn("unknown text-align", i.textAlign)), i.verticalAlign && (i.verticalAlign.toLowerCase() === "super" ? r.font.verticalAlign = F.VerticalAlignment.Super : i.verticalAlign.toLowerCase() === "sup" ? r.font.verticalAlign = F.VerticalAlignment.Sub : r.alignment.vertical = je(i.verticalAlign), r.alignment.vertical || (i.verticalAlign === "121" ? r.alignment.vertical = j.VerticalAlignment.Distributed : console.warn("unknown vertical-align", i.verticalAlign))), i.msoCharIndentCount && (r.alignment.indent = i.msoCharIndentCount), i.whiteSpace && (r.alignment.overflow = i.whiteSpace === "no-wrap" || i.whiteSpace === "nowrap" ? j.Overflow.Visible : j.Overflow.Wrap), i.msoTextControl === "shrinktofit" && (r.alignment.overflow = j.Overflow.Shrink);
1632
+ let o = Oe(i.textDecoration);
1633
+ r.font.underline = o.underline, r.font.strike = o.strike, i.textUnderlineStyle && (r.font.underline = S(i.textUnderlineStyle)), r.alignment = {}, i?.textAlign && (r.alignment.horizontal = Me(i.textAlign)), i?.textAlign && !r.alignment.horizontal && i?.textAlign !== "general" && (i.textAlign === "center-across" ? r.alignment.horizontal = T.HorizontalAlignment.CenterContinuous : i.textAlign === "fill" ? r.alignment.horizontal = T.HorizontalAlignment.Fill : i.textAlign === "121" || i.textAlign === "010" ? (r.alignment.horizontal = T.HorizontalAlignment.Distributed, r.alignment.justifyLastLine = i.textAlign === "121") : console.warn("unknown text-align", i.textAlign)), i.verticalAlign && (i.verticalAlign.toLowerCase() === "super" ? r.font.verticalAlign = F.VerticalAlignment.Super : i.verticalAlign.toLowerCase() === "sup" ? r.font.verticalAlign = F.VerticalAlignment.Sub : r.alignment.vertical = Te(i.verticalAlign), r.alignment.vertical || (i.verticalAlign === "121" ? r.alignment.vertical = T.VerticalAlignment.Distributed : console.warn("unknown vertical-align", i.verticalAlign))), i.msoCharIndentCount && (r.alignment.indent = i.msoCharIndentCount), i.whiteSpace && (r.alignment.overflow = i.whiteSpace === "no-wrap" || i.whiteSpace === "nowrap" ? T.Overflow.Visible : T.Overflow.Wrap), i.msoTextControl === "shrinktofit" && (r.alignment.overflow = T.Overflow.Shrink);
1303
1634
  let s = null;
1304
1635
  if (i.background ? s = i.background : i.backgroundColor && (s = i.backgroundColor), s && (r.fill = { color: s }), i.msoPattern) {
1305
- let e = Qe(i.msoPattern);
1306
- e && (e.patternType === Pe.BuiltInSheetPattern.Solid ? r.fill = { color: e.foreground } : e.patternType !== Pe.BuiltInSheetPattern.None && (s && (e.background = s), r.fill = e));
1636
+ let e = Fe(i.msoPattern);
1637
+ e && (e.patternType === j.BuiltInSheetPattern.Solid ? r.fill = { color: e.foreground } : e.patternType !== j.BuiltInSheetPattern.None && (s && (e.background = s), r.fill = e));
1307
1638
  }
1308
- i.layoutFlow === "vertical" || i.layoutFlow === "vertical-ideographic" ? r.alignment.stacked = !0 : i.msoRotate !== void 0 && (r.alignment.rotation = Ee(i.msoRotate));
1639
+ i.layoutFlow === "vertical" || i.layoutFlow === "vertical-ideographic" ? r.alignment.stacked = !0 : i.msoRotate !== void 0 && (r.alignment.rotation = we(i.msoRotate));
1309
1640
  let c = (e, t) => {
1310
1641
  e && (r.borders ||= {}, r.borders[e] = t);
1311
1642
  };
1312
1643
  i.border && i.border !== "none" && (c("top", i.border), c("left", i.border), c("right", i.border), c("bottom", i.border)), i.borderTop && c("top", i.borderTop), i.borderLeft && c("left", i.borderLeft), i.borderRight && c("right", i.borderRight), i.borderBottom && c("bottom", i.borderBottom), i.msoDiagonalUp && c("diagonalUp", i.msoDiagonalUp), i.msoDiagonalDown && c("diagonalDown", i.msoDiagonalDown);
1313
1644
  let l = r.numberFormat;
1314
- i.msoNumberFormat && (l = ue(i.msoNumberFormat), l.includes("\\") ? l = null : l === "Fixed" ? l = M.Styles.lookupStyle(r.numberFormat).formatType === M.Type.Number ? null : M.Type.Number : l === "Percent" && (l = M.Styles.lookupStyle(r.numberFormat).formatType === M.Type.Percentage ? null : M.Type.Percentage)), l && (r.numberFormat = l), e.style = this._styles.normalize(r), n && Object.keys(e.style).length === 0 && delete e.style;
1645
+ i.msoNumberFormat && (l = Pe(i.msoNumberFormat), l.includes("\\") ? l = null : l === "Fixed" ? l = w.Styles.lookupStyle(r.numberFormat).formatType === w.Type.Number ? null : w.Type.Number : l === "Percent" && (l = w.Styles.lookupStyle(r.numberFormat).formatType === w.Type.Percentage ? null : w.Type.Percentage)), l && (r.numberFormat = l), e.style = this._styles.normalize(r), n && Object.keys(e.style).length === 0 && delete e.style;
1315
1646
  }
1316
1647
  onCell(e, t, n, r, i) {
1317
1648
  let a = r(i), s = { value: t === void 0 ? n ?? "" : t };
@@ -1364,8 +1695,8 @@ var Ut = class {
1364
1695
  let i = n(r);
1365
1696
  if (i.msoHeightSource !== "userset" || !r) return;
1366
1697
  let a = r.getAttribute("height") ?? i.height, o = null;
1367
- if (a && (o = P(a, this._styles.getNormal().getFont().getSize(), "px")), o === null) for (let e = 0; e < r.cells.length; e++) {
1368
- let t = r.cells[e], i = P(t.getAttribute("height") ?? n(t).height, this._styles.getNormal().getFont().getSize(), "px");
1698
+ if (a && (o = A(a, this._styles.getNormal().getFont().getSize(), "px")), o === null) for (let e = 0; e < r.cells.length; e++) {
1699
+ let t = r.cells[e], i = A(t.getAttribute("height") ?? n(t).height, this._styles.getNormal().getFont().getSize(), "px");
1369
1700
  i !== null && (o = Math.max(i, o ?? 0));
1370
1701
  }
1371
1702
  o !== null && this._rowsReading.push({
@@ -1380,7 +1711,7 @@ var Ut = class {
1380
1711
  let i = n(r);
1381
1712
  if (i.msoWidthSource !== "userset" || !r) return;
1382
1713
  let a = r.getAttribute("width") ?? i.width, o = null;
1383
- a && (o = P(a, this._styles.getNormal().getFont().getSize(), "px")), o !== null && this._colsReading.push({
1714
+ a && (o = A(a, this._styles.getNormal().getFont().getSize(), "px")), o !== null && this._colsReading.push({
1384
1715
  address: {
1385
1716
  min: this._topLeft.colIndex + e,
1386
1717
  max: this._topLeft.colIndex + e + t - 1
@@ -1396,7 +1727,7 @@ var Ut = class {
1396
1727
  sheet() {
1397
1728
  return this._sheet;
1398
1729
  }
1399
- }, qt = class {
1730
+ }, un = class {
1400
1731
  constructor(e) {
1401
1732
  if (!e) throw new s("snapshot is required.");
1402
1733
  this._snapshot = e;
@@ -1428,7 +1759,7 @@ var Ut = class {
1428
1759
  get isClipboardItem() {
1429
1760
  return !0;
1430
1761
  }
1431
- }, Jt = class {
1762
+ }, dn = class {
1432
1763
  constructor(e, t, n, r, i) {
1433
1764
  if (this._parsed = void 0, this._runtime = e, !t) throw new s("nativeItems are required.");
1434
1765
  this._topLeft = n ?? o.EmptyCell, this._native = t, this._markOptions = Object.freeze(r ?? {}), this._styles = i;
@@ -1479,8 +1810,8 @@ var Ut = class {
1479
1810
  console.warn("Discovered text as html table but could could not parse.");
1480
1811
  }
1481
1812
  try {
1482
- let r, i = new Kt(this._runtime, this._topLeft, this._styles, n ? "HTML" : "Text"), a = await Promise.resolve(t ? Ye(t) : [[]]);
1483
- if (de(n, a, i) ? (e = i.sheet(), r = e.getUsedRange()) : n = null, r) return this._parsed = {
1813
+ let r, i = new ln(this._runtime, this._topLeft, this._styles, n ? "HTML" : "Text"), a = await Promise.resolve(t ? b(t) : [[]]);
1814
+ if (x(n, a, i) ? (e = i.sheet(), r = e.getUsedRange()) : n = null, r) return this._parsed = {
1484
1815
  copyTo: async (e, t) => (await e.copyFrom(r, t))?.getCoords() ?? null,
1485
1816
  getCoords: () => r.getCoords(),
1486
1817
  getSource: () => e,
@@ -1507,7 +1838,7 @@ var Ut = class {
1507
1838
  get isClipboardItem() {
1508
1839
  return !0;
1509
1840
  }
1510
- }, J = {
1841
+ }, $ = {
1511
1842
  showFormulaBar: !0,
1512
1843
  showTabs: !0,
1513
1844
  tabRatio: 600,
@@ -1515,9 +1846,9 @@ var Ut = class {
1515
1846
  showVerticalScrollbar: !0,
1516
1847
  showStatusBar: !0,
1517
1848
  activeSheetId: 0
1518
- }, Yt = class {
1849
+ }, fn = class {
1519
1850
  constructor(e) {
1520
- this._id = t.uuidV4(), this._emitter = new D(this), this._state = { ...J }, e?.json && this._fromJSON(e?.json);
1851
+ this._id = t.uuidV4(), this._emitter = new k(this), this._state = { ...$ }, e?.json && this._fromJSON(e?.json);
1521
1852
  }
1522
1853
  getId() {
1523
1854
  return this._id;
@@ -1572,7 +1903,7 @@ var Ut = class {
1572
1903
  let e = {}, t = Object.keys(this._state), n = t.length;
1573
1904
  for (let r = 0; r < n; r++) {
1574
1905
  let n = t[r], i = this._state[n];
1575
- i != null && i !== J[n] && (e[n] = i);
1906
+ i != null && i !== $[n] && (e[n] = i);
1576
1907
  }
1577
1908
  return Object.keys(e).length === 0 && (e = null), e;
1578
1909
  }
@@ -1582,7 +1913,7 @@ var Ut = class {
1582
1913
  }
1583
1914
  update(e, t = !0) {
1584
1915
  this._state = {
1585
- ...J,
1916
+ ...$,
1586
1917
  ...this._state,
1587
1918
  ...e
1588
1919
  }, t && this._emitter.notify("onViewChange");
@@ -1597,13 +1928,13 @@ var Ut = class {
1597
1928
  get isIWorkbookView() {
1598
1929
  return !0;
1599
1930
  }
1600
- }, Xt = Object.freeze({
1931
+ }, pn = Object.freeze({
1601
1932
  structure: !1,
1602
1933
  windows: !1,
1603
1934
  revision: !1,
1604
1935
  password: null,
1605
1936
  revisionsPassword: null
1606
- }), Y = class extends Te {
1937
+ }), mn = class extends Ee {
1607
1938
  isWindowsAllowed() {
1608
1939
  return this._isPropertyAllowed("windows");
1609
1940
  }
@@ -1625,7 +1956,7 @@ var Ut = class {
1625
1956
  let n = Object.keys(t), r = n.length;
1626
1957
  for (let i = 0; i < r; i++) {
1627
1958
  let r = n[i], a = t[r];
1628
- a != null && a !== Xt[r] && (e[r] = a);
1959
+ a != null && a !== pn[r] && (e[r] = a);
1629
1960
  }
1630
1961
  }
1631
1962
  return super._toJSON(e);
@@ -1637,10 +1968,10 @@ var Ut = class {
1637
1968
  return !0;
1638
1969
  }
1639
1970
  };
1640
- function X(e) {
1971
+ function hn(e) {
1641
1972
  return f("error.workbook.invalidSheetKey", { key: e });
1642
1973
  }
1643
- var Zt, Qt, $t, en, tn = class extends qe {
1974
+ var gn, _n, vn = class extends He {
1644
1975
  constructor(e, t, n) {
1645
1976
  super(), this._add = e, this._get = t, this._addListeners = n;
1646
1977
  }
@@ -1659,25 +1990,25 @@ var Zt, Qt, $t, en, tn = class extends qe {
1659
1990
  get isISheetCollection() {
1660
1991
  return !0;
1661
1992
  }
1662
- }, Z = /* @__PURE__ */ new RegExp(/[\\/\\*?:[\]]+/), nn = /* @__PURE__ */ new RegExp(/\(((\d+)(?!.*\d))\)$/, "g");
1663
- function rn(e) {
1993
+ }, yn = /* @__PURE__ */ new RegExp(/[\\/\\*?:[\]]+/), bn = /* @__PURE__ */ new RegExp(/\(((\d+)(?!.*\d))\)$/, "g");
1994
+ function xn(e) {
1664
1995
  let t = f(d("workbook.defaultSheetName"), { n: e + 1 });
1665
1996
  return t === "workbook.defaultSheetName" ? `Sheet${e + 1}` : t;
1666
1997
  }
1667
- function an(e, t) {
1998
+ function Sn(e, t) {
1668
1999
  return {
1669
- ...Le,
2000
+ ...Ge,
1670
2001
  getSheet: () => null,
1671
- toString: () => E(e, t)
2002
+ toString: () => N(e, t)
1672
2003
  };
1673
2004
  }
1674
- function on(e, t = !1) {
2005
+ function Cn(e, t = !1) {
1675
2006
  if (!e) throw Error(f("error.workbook.sheetNameBlank"));
1676
- if (Z.test(e)) {
2007
+ if (yn.test(e)) {
1677
2008
  if (!t) throw Error(function(e) {
1678
2009
  return e ? f("error.workbook.sheetNameInvalidCharsNamed", { sheetName: e }) : f("error.workbook.sheetNameInvalidChars");
1679
2010
  }(e));
1680
- e = e.replace(Z, "");
2011
+ e = e.replace(yn, "");
1681
2012
  }
1682
2013
  if (e.length === 0) throw Error(f("error.workbook.sheetNameBlank"));
1683
2014
  let n = e.length;
@@ -1691,7 +2022,7 @@ function on(e, t = !1) {
1691
2022
  }
1692
2023
  return e;
1693
2024
  }
1694
- var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
2025
+ var wn, Tn, En, Dn = "workbook.activeSheet", On = class e extends je {
1695
2026
  constructor(e, t, n, r) {
1696
2027
  super(e, t, r), this._workbook = n;
1697
2028
  }
@@ -1702,23 +2033,23 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
1702
2033
  let r = this._options;
1703
2034
  return n && (r = {
1704
2035
  ...this._options,
1705
- getOptions: O(this._options?.getOptions, n)
2036
+ getOptions: M(this._options?.getOptions, n)
1706
2037
  }), new e(t, this._internal, this._workbook, r);
1707
2038
  }
1708
2039
  _createRange(e, t) {
1709
- let n = e ? { ...e } : null, r = n ? this._workbook._getSheetRef(n.scope, A.Visibility.VeryHidden) : null;
2040
+ let n = e ? { ...e } : null, r = n ? this._workbook._getSheetRef(n.scope, I.Visibility.VeryHidden) : null;
1710
2041
  if (!r) {
1711
2042
  let e = this._workbook.getSelectedSheet();
1712
- return delete n?.scope, an(n, n ? {
1713
- scope: ce,
2043
+ return delete n?.scope, Sn(n, n ? {
2044
+ scope: _e,
1714
2045
  ...e.getEntireRange().getCoords()
1715
2046
  } : null);
1716
2047
  }
1717
2048
  let i = this._options;
1718
2049
  return t && (i = {
1719
2050
  ...this._options,
1720
- getOptions: O(this._options.getOptions, t)
1721
- }), new ln(e, I(r.sheet), this._workbook, i);
2051
+ getOptions: M(this._options.getOptions, t)
2052
+ }), new kn(e, L(r.sheet), this._workbook, i);
1722
2053
  }
1723
2054
  async select(e) {
1724
2055
  let t = [], n = null, r = this.getCoords();
@@ -1742,15 +2073,15 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
1742
2073
  }
1743
2074
  getAddress(e) {
1744
2075
  let t = this._internal.getSheet(), n = t.getEntireRange().getCoords();
1745
- return Fe(this.getCoords(), {
2076
+ return se(this.getCoords(), {
1746
2077
  ...n,
1747
2078
  scope: t.getName()
1748
- }, E, te, e);
2079
+ }, N, Ye, e);
1749
2080
  }
1750
2081
  toString() {
1751
2082
  return this.getAddress();
1752
2083
  }
1753
- }, ln = class e extends ke {
2084
+ }, kn = class e extends Ze {
1754
2085
  constructor(e, t, n, r) {
1755
2086
  super(e, t, r), this._workbook = n;
1756
2087
  }
@@ -1758,17 +2089,17 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
1758
2089
  let n = this._options;
1759
2090
  return t && (n = {
1760
2091
  ...this._options,
1761
- getOptions: O(this._options?.getOptions, t)
1762
- }), new Q(e, this._internal, this._workbook, n);
2092
+ getOptions: M(this._options?.getOptions, t)
2093
+ }), new On(e, this._internal, this._workbook, n);
1763
2094
  }
1764
2095
  _createRange(t, n) {
1765
2096
  let r = this._internal;
1766
- if (!t) return ve(r.getSheet(), r.getSheet().getEntireCoords());
1767
- if (r.validateCoords(t), r.getSheet().isClosed()) return ve(null, r.getSheet().getEntireCoords(), t);
2097
+ if (!t) return le(r.getSheet(), r.getSheet().getEntireCoords());
2098
+ if (r.validateCoords(t), r.getSheet().isClosed()) return le(null, r.getSheet().getEntireCoords(), t);
1768
2099
  let i = this._options;
1769
2100
  return n && (i = {
1770
2101
  ...this._options,
1771
- getOptions: O(this._options?.getOptions, n)
2102
+ getOptions: M(this._options?.getOptions, n)
1772
2103
  }), new e(t, this._internal, this._workbook, i);
1773
2104
  }
1774
2105
  addListener(e, t) {
@@ -1781,7 +2112,7 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
1781
2112
  }
1782
2113
  getAddress(e) {
1783
2114
  let t = this._internal.getSheet(), n = t?.getEntireRange().getCoords() ?? null;
1784
- return E(this.getCoords(), {
2115
+ return N(this.getCoords(), {
1785
2116
  ...n,
1786
2117
  scope: t.getName()
1787
2118
  });
@@ -1789,13 +2120,13 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
1789
2120
  toString() {
1790
2121
  return this.getAddress();
1791
2122
  }
1792
- }, un = (e) => !!e && typeof e == "object" && typeof e.getOrigin == "function", dn = class {
2123
+ }, An = (e) => !!e && typeof e == "object" && typeof e.getOrigin == "function", jn = class {
1793
2124
  constructor(n) {
1794
- this._isLoadingSheets = !1, this._lastTransactionUUID = null, this._starting = null, this._closed = !1, this._listenerOriginProvider = null, this._listenerOrigin = null, this._lastOriginName = null, this._initializing = !0, this._pivotCaches = [], this._pivotTableCollection = new Ve(() => {
2125
+ this._isLoadingSheets = !1, this._lastTransactionUUID = null, this._starting = null, this._closed = !1, this._listenerOriginProvider = null, this._listenerOrigin = null, this._lastOriginName = null, this._initializing = !0, this._pivotCaches = [], this._pivotTableCollection = new C(() => {
1795
2126
  let e = [];
1796
2127
  for (let t of this.getSheets()) e.push(...t.getPivotTables());
1797
2128
  return e;
1798
- }), this._people = new Wt(), this._commentCollection = new Be(null, (e, t, n) => {
2129
+ }), this._people = new sn(), this._commentCollection = new Xe(null, (e, t, n) => {
1799
2130
  let r = [];
1800
2131
  for (let i of this.getSheets()) r.push(...i.getComments().getItems(e ? {
1801
2132
  address: e,
@@ -1808,24 +2139,24 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
1808
2139
  return r;
1809
2140
  }, (e, t) => this.addListeners({ onSheetsChange: e.onCollectionChange ? () => {
1810
2141
  e.onCollectionChange(this._commentCollection);
1811
- } : void 0 }, t)), this._restoringSheets = !1, this._isDate1904 = !1, this._codeName = null, this._updateLinks = null, this._locale = null, this._localeOverrides = null;
2142
+ } : void 0 }, t)), this._isDate1904 = !1, this._codeName = null, this._updateLinks = null, this._locale = null, this._localeOverrides = null;
1812
2143
  let r = typeof n == "string" ? { origin: n } : { ...n }, i = r.origin;
1813
- this._ownOriginProvider = !un(i), this._originProvider = un(i) ? i : new at(typeof i == "string" ? new R(null, { name: i }) : i ?? new R(null)), delete r.origin, this._bindOrigin(this._originProvider.getOrigin()), this._listenerOriginProvider = this._originProvider.addListeners({ onOriginChange: () => this._onOriginChange() });
2144
+ this._ownOriginProvider = !An(i), this._originProvider = An(i) ? i : new at(typeof i == "string" ? new R(null, { name: i }) : i ?? new R(null)), delete r.origin, this._bindOrigin(this._originProvider.getOrigin()), this._listenerOriginProvider = this._originProvider.addListeners({ onOriginChange: () => this._onOriginChange() });
1814
2145
  let a = r.json;
1815
- delete r.json, this._transactions = r.transactions ?? new We(), this._id = this._transactions.create(), this._ownTransactions = !r.transactions, this._emitter = new D(this, this._transactions), this._runtime = r.runtime ?? new y("Workbook Runtime", {
2146
+ delete r.json, this._transactions = r.transactions ?? new ke(), this._id = this._transactions.create(), this._ownTransactions = !r.transactions, this._emitter = new k(this, this._transactions), this._runtime = r.runtime ?? new Se("Workbook Runtime", {
1816
2147
  isDate1904: () => this._isDate1904,
1817
2148
  getNow: () => this._transactions.getCurrentCommit().getTimestamp(),
1818
- getLocale: () => this._locale ?? _e() ?? Se(),
2149
+ getLocale: () => this._locale ?? ve() ?? be(),
1819
2150
  getLocaleOverrides: () => this._localeOverrides
1820
2151
  }), this._listenerLanguage = e.addChangeListener(() => {
1821
2152
  this._closed || this._notifyAllChange();
1822
2153
  });
1823
2154
  let o = this, s = this._beginCommit({ description: d(a ? "op.openWorkbook" : "op.newWorkbook") });
1824
2155
  try {
1825
- this._strings = r.strings ?? new Ce(), this._ownStrings = !r.strings, this._resources = r.resources ?? new be(), this._ownResources = !r.resources, this._createSheetName = r.createSheetNameCallback ?? rn;
2156
+ this._strings = r.strings ?? new pe(), this._ownStrings = !r.strings, this._resources = r.resources ?? new We(), this._ownResources = !r.resources, this._createSheetName = r.createSheetNameCallback ?? xn;
1826
2157
  let e = r.createSheetCallback;
1827
- e ||= (e) => new L(e), this._sheetOnNameChange = /* @__PURE__ */ new Map(), this._sheetOnVisibilityChange = /* @__PURE__ */ new Map(), this._sheetOnIndexChange = /* @__PURE__ */ new Map(), this._createSheet = (t, n, r, i, a, s) => {
1828
- let c = null, l = {
2158
+ e ||= (e) => new D(e), this._sheetOnNameChange = /* @__PURE__ */ new Map(), this._sheetOnVisibilityChange = /* @__PURE__ */ new Map(), this._sheetOnIndexChange = /* @__PURE__ */ new Map(), this._createSheet = (t, n, r, i, a, s, c) => {
2159
+ let l = null, u = {
1829
2160
  runtime: o._runtime,
1830
2161
  readonly: o._options.readonly ?? !1,
1831
2162
  disableLoadAutoFit: o._options.disableLoadAutoFit ?? !1,
@@ -1840,64 +2171,64 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
1840
2171
  resolveRange: (e) => o._options.resolveRange?.(e) ?? o.getRange(e),
1841
2172
  container: {
1842
2173
  beforeFromJSON: (e) => {
1843
- c = e, o._addSheetRef({
2174
+ l = e, o._addSheetRef({
1844
2175
  name: n,
1845
2176
  id: t,
1846
- visibility: r ?? A.Visibility.Visible,
2177
+ visibility: r ?? I.Visibility.Visible,
1847
2178
  sheetId: a,
1848
2179
  sheet: e
1849
2180
  }, i);
1850
2181
  },
1851
2182
  getName: () => {
1852
- let e = o._getSheetRef(c);
2183
+ let e = o._getSheetRef(l);
1853
2184
  return e ? e.name : n;
1854
2185
  },
1855
2186
  setName: (e, t) => {
1856
- o._getSheetRef(c) && o._setSheetName(c, e, t);
2187
+ o._getSheetRef(l) && o._setSheetName(l, e, t);
1857
2188
  },
1858
2189
  setNameChangeCallback: (e) => {
1859
2190
  o._sheetOnNameChange.set(t, e);
1860
2191
  },
1861
2192
  getVisibility: () => {
1862
- let e = o._getSheetRef(c);
1863
- return e ? e.visibility : A.Visibility.Visible;
2193
+ let e = o._getSheetRef(l);
2194
+ return e ? e.visibility : I.Visibility.Visible;
1864
2195
  },
1865
2196
  setVisibility: (e, t) => {
1866
- o._setSheetVisibility(c, e, t);
2197
+ o._setSheetVisibility(l, e, t);
1867
2198
  },
1868
2199
  setVisibilityCallback: (e) => {
1869
2200
  o._sheetOnVisibilityChange.set(t, e);
1870
2201
  },
1871
- duplicate: () => o._duplicateSheet(c),
2202
+ duplicate: () => o._duplicateSheet(l),
1872
2203
  getIndex: () => {
1873
- let e = o._getSheetRef(c);
1874
- return e ? o._getOffsetForId(e.id, o._getSheetRefs(A.Visibility.VeryHidden)) : i;
2204
+ let e = o._getSheetRef(l);
2205
+ return e ? o._getOffsetForId(e.id, o._getSheetRefs(I.Visibility.VeryHidden)) : i;
1875
2206
  },
1876
2207
  setIndex: (e, t) => {
1877
- let n = o._getSheetRef(c, A.Visibility.VeryHidden);
2208
+ let n = o._getSheetRef(l, I.Visibility.VeryHidden);
1878
2209
  return !!n && (o._moveSheet(n, e, t), !0);
1879
2210
  },
1880
2211
  setIndexCallback: (e) => {
1881
2212
  o._sheetOnIndexChange.set(t, e);
1882
2213
  },
1883
- requestSelect: async () => (o._setSelectedSheet(c), await this._emitter.notify("onRequestSelect", {
2214
+ requestSelect: async () => (o._setSelectedSheet(l), await this._emitter.notify("onRequestSelect", {
1884
2215
  source: o,
1885
- params: c,
2216
+ params: l,
1886
2217
  async: !0
1887
- }), o.getSelectedSheet() === c)
2218
+ }), o.getSelectedSheet() === l)
1888
2219
  }
1889
2220
  };
1890
- return s && (l.json = s), c = e(l, n, i, r), c;
1891
- }, this._namedTableSource = new Ge({
2221
+ return s && (u.json = s), c !== void 0 && (u.uid = () => c), l = e(u, n, i, r), l;
2222
+ }, this._namedTableSource = new ne({
1892
2223
  getSheets: () => o._sheets ? o.getSheets().getItems() : t.EmptyArray,
1893
2224
  addSheetsListener: (e, t) => o.addListeners({ onSheetsChange: e }, t)
1894
- }), this._names = r.names ?? new fe({
2225
+ }), this._names = r.names ?? new Ue({
1895
2226
  addressToRanges: (e) => o.getRanges(e),
1896
2227
  getCurrentScope: () => o.getSelectedSheet().getName(),
1897
2228
  isReadOnly: () => (o._options.readonly ?? !1) || o._isStructureProtected(),
1898
2229
  transactions: o._transactions,
1899
2230
  getSources: () => o._calculation ? [o._calculation.getNamedFormulas(), o._namedTableSource] : t.EmptyArray
1900
- }), this._ownNames = !r.names, this._calculation = r.calculation ?? new x({
2231
+ }), this._ownNames = !r.names, this._calculation = r.calculation ?? new te({
1901
2232
  runtime: o._runtime,
1902
2233
  functions: r.functions,
1903
2234
  json: a?.calc,
@@ -1916,19 +2247,19 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
1916
2247
  getSheetIndex: (e) => {
1917
2248
  if (e === void 0) {
1918
2249
  let e = o.getSelectedSheet();
1919
- return e ? this._getSheetRefs(A.Visibility.VeryHidden).findIndex((t) => t.sheet === e) : -1;
2250
+ return e ? this._getSheetRefs(I.Visibility.VeryHidden).findIndex((t) => t.sheet === e) : -1;
1920
2251
  }
1921
- let t = this._getSheetRefs(A.Visibility.VeryHidden);
2252
+ let t = this._getSheetRefs(I.Visibility.VeryHidden);
1922
2253
  e = e.toLowerCase();
1923
2254
  let n = t.length;
1924
2255
  for (let r = 0; r < n; r++) if (t[r].name.toLowerCase() === e) return r;
1925
2256
  try {
1926
- fn.address = e;
1927
- let t = this._names.getItems(fn);
2257
+ Mn.address = e;
2258
+ let t = this._names.getItems(Mn);
1928
2259
  if (!t || t.length === 0) return -1;
1929
2260
  let n = t[0].getRanges?.()?.getCoords()?.[0]?.scope;
1930
2261
  if (!n) return -1;
1931
- let r = this._getSheetRefs(A.Visibility.VeryHidden);
2262
+ let r = this._getSheetRefs(I.Visibility.VeryHidden);
1932
2263
  n = n.toLowerCase();
1933
2264
  let i = r.length;
1934
2265
  for (let e = 0; e < i; e++) if (r[e].name.toLowerCase() === n) return e;
@@ -1937,16 +2268,7 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
1937
2268
  }
1938
2269
  return -1;
1939
2270
  },
1940
- getSheetCount: () => o.getSheets().getItems({ visibility: A.Visibility.VeryHidden }).length,
1941
- getSheetIds: () => o._sheets?.getItems({ visibility: A.Visibility.VeryHidden }).map((e) => e.getId()) ?? [],
1942
- addSheetsListener: (e, t) => o.addListeners({ onSheetsChange: () => {
1943
- o._restoringSheets || e();
1944
- } }, t),
1945
- getSheetById: (e) => {
1946
- let t = o.getSheets().getItems({ visibility: A.Visibility.VeryHidden }), n = t.length;
1947
- for (let r = 0; r < n; r++) if (t[r].getId() === e) return t[r];
1948
- return null;
1949
- },
2271
+ getSheetCount: () => o.getSheets().getItems({ visibility: I.Visibility.VeryHidden }).length,
1950
2272
  externalBooks: a?.externalBooks,
1951
2273
  externalBookResolver: r.externalBookResolver,
1952
2274
  namedCollection: o._names,
@@ -1954,15 +2276,17 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
1954
2276
  transactions: o._transactions,
1955
2277
  names: a?.names
1956
2278
  }), this._ownCalculation = !r.calculation, this._scripts = this._createScripts(a?.modules), this._ownNames = !r.names, this._options = Object.freeze({ ...r });
1957
- let n = r.calcOnLoad ?? "auto", i = !1, c = (async () => {
2279
+ let n = a?.sheets?.length ? a.sheets.map((e) => e.name) : [this._createSheetName(0)], i = n.map((e) => e + "-" + t.uuidV4());
2280
+ this._calculation._setSheets(n.map((e, t) => [i[t], e]));
2281
+ let c = r.calcOnLoad ?? "auto", l = !1, u = (async () => {
1958
2282
  try {
1959
- if (this._ownCalculation && n !== "none" && (n === "full" || n === "auto" && !0 === a?.calc?.fullCalcOnLoad ? await this._calculation.calculate({ full: !0 }) : await this._calculation.start(), this._closed)) return;
2283
+ if (this._ownCalculation && c !== "none" && (c === "full" || c === "auto" && !0 === a?.calc?.fullCalcOnLoad ? await this._calculation.calculate({ full: !0 }) : await this._calculation.start(), this._closed)) return;
1960
2284
  await this._scripts.start();
1961
2285
  } finally {
1962
- i = !0, this._starting = null;
2286
+ l = !0, this._starting = null;
1963
2287
  }
1964
2288
  })();
1965
- i || (this._starting = c), this._starting?.catch(() => {}), a ? this._fromJSON(a) : (this._initState(), this._addSheet(!1)), this._sheets = new tn((e) => o._addSheetOptions(e), (e, n) => {
2289
+ l || (this._starting = u), this._starting?.catch(() => {}), a ? this._fromJSON(a, i) : (this._initState(), this._addSheet(!1, n[0], null, i[0])), this._sheets = new vn((e) => o._addSheetOptions(e), (e, n) => {
1966
2290
  if (e) {
1967
2291
  let r = this._getSheetRef(e, n);
1968
2292
  return r ? [r.sheet] : t.EmptyArray;
@@ -1988,22 +2312,14 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
1988
2312
  let e = this._getSheetRefs();
1989
2313
  for (let t = (e ? e.length : 0) - 1; t >= 0; t--);
1990
2314
  let t = this._options;
1991
- this._isDate1904 = t.runtime?.isDate1904() ?? !1, this._locale = null, this._localeOverrides = null, this._theme = t.theme ?? new Ke().getDefaultTheme(), this._styles = t?.styles ?? new Me(this._theme), this._ownStyles = !t.styles, this._styles.getTheme() || this._styles.setTheme(this.getTheme()), this._activeSheetOffset = 0, this.setView(new Yt()), this._listenerProtection?.(), this._protection = new Y(void 0, this._options.readonly ?? !1), this._listenerProtection = this._protection.addListeners({ onChange: (e) => {
2315
+ this._isDate1904 = t.runtime?.isDate1904() ?? !1, this._locale = null, this._localeOverrides = null, this._theme = t.theme ?? new y().getDefaultTheme(), this._styles = t?.styles ?? new ye(this._theme), this._ownStyles = !t.styles, this._styles.getTheme() || this._styles.setTheme(this.getTheme()), this._activeSheetOffset = 0, this.setView(new fn()), this._listenerProtection?.(), this._protection = new mn(void 0, this._options.readonly ?? !1), this._listenerProtection = this._protection.addListeners({ onChange: (e) => {
1992
2316
  n._emitter.notify("onProtectionChange");
1993
2317
  } });
1994
2318
  let n = this;
1995
2319
  this._transactionsRemoveListener = this._transactions.addStateListener(this._id, {
1996
2320
  async onAfterStateChange(e, t, r, i, a) {
1997
- let o = n._view, s = a?.[cn], c = r ? s?.before : s?.after, l = s?.viewId === o.getId() && c != null, u = l ? c : o.getActiveSheetId(), d = l && t.getId() === n._lastTransactionUUID ? n._getSheetRef({ id: u }) : null;
1998
- if (d ? await d.sheet.select() : n._resyncActiveSheet(u, e), n._lastTransactionUUID = t.getId(), r || i) {
1999
- n._restoringSheets = !0;
2000
- try {
2001
- n._emitter.notify("onSheetsChange");
2002
- } finally {
2003
- n._restoringSheets = !1;
2004
- }
2005
- }
2006
- n._emitter.notify("onSelectedSheetChange"), n._emitter.notify("onViewChange");
2321
+ let o = n._view, s = a?.[Dn], c = r ? s?.before : s?.after, l = s?.viewId === o.getId() && c != null, u = l ? c : o.getActiveSheetId(), d = l && t.getId() === n._lastTransactionUUID ? n._getSheetRef({ id: u }) : null;
2322
+ d ? await d.sheet.select() : n._resyncActiveSheet(u, e), n._lastTransactionUUID = t.getId(), (r || i) && n._emitter.notify("onSheetsChange"), n._emitter.notify("onSelectedSheetChange"), n._emitter.notify("onViewChange");
2007
2323
  },
2008
2324
  onRestoreOrRevert() {
2009
2325
  n._ownCalculation, n._emitter.notify("onInvalidated");
@@ -2143,14 +2459,14 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
2143
2459
  let e = this._getSheetRef(this.getSelectedSheetIndex());
2144
2460
  return e ? e?.sheet : null;
2145
2461
  }
2146
- getSheet(e, t = A.Visibility.Visible) {
2462
+ getSheet(e, t = I.Visibility.Visible) {
2147
2463
  if (e === void 0) return this.getSelectedSheet();
2148
2464
  if (!e) throw Error(f("error.workbook.sheetNameNotProvided"));
2149
2465
  let n = this._getSheetRef(e, t);
2150
2466
  if (!n) throw new r(f("error.workbook.sheetNameNotFound", { sheetName: e }));
2151
2467
  return n.sheet;
2152
2468
  }
2153
- getSheetAt(e, t = A.Visibility.Visible) {
2469
+ getSheetAt(e, t = I.Visibility.Visible) {
2154
2470
  let n = this._getSheetRef(e, t);
2155
2471
  if (!n) throw new r(function(e) {
2156
2472
  return f("error.workbook.sheetIndexNotFound", { index: e });
@@ -2163,32 +2479,32 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
2163
2479
  addSheet(e) {
2164
2480
  return this.getSheets().add(e);
2165
2481
  }
2166
- _getSheets(e = A.Visibility.Visible) {
2482
+ _getSheets(e = I.Visibility.Visible) {
2167
2483
  let t = this._getSheetRefs(e), n = [], r = t.length;
2168
2484
  for (let e = 0; e < r; e++) n.push(t[e].sheet);
2169
2485
  return n;
2170
2486
  }
2171
- _getSheetRefs(e = A.Visibility.Visible) {
2487
+ _getSheetRefs(e = I.Visibility.Visible) {
2172
2488
  let n = this._getState();
2173
- return n ? e === A.Visibility.Visible ? n.sheetRefsVisible : e === A.Visibility.Hidden ? n.sheetRefsVisibleAndHidden : e === A.Visibility.VeryHidden ? n.sheetRefsAll : t.EmptyArray : [];
2489
+ return n ? e === I.Visibility.Visible ? n.sheetRefsVisible : e === I.Visibility.Hidden ? n.sheetRefsVisibleAndHidden : e === I.Visibility.VeryHidden ? n.sheetRefsAll : t.EmptyArray : [];
2174
2490
  }
2175
- _getSheetRef(e, t = A.Visibility.Visible) {
2491
+ _getSheetRef(e, t = I.Visibility.Visible) {
2176
2492
  let n = null;
2177
- return typeof e == "number" ? this._getSheetRefs(t)[e] : (typeof e == "string" ? n = this._getState().refsByLowerCaseName.get(e.toLowerCase()) : e instanceof L ? n = this._getState().refsByInstance.get(e) : e?.id !== void 0 && (n = this._getState().refsById.get(e.id)), n);
2493
+ return typeof e == "number" ? this._getSheetRefs(t)[e] : (typeof e == "string" ? n = this._getState().refsByLowerCaseName.get(e.toLowerCase()) : e instanceof D ? n = this._getState().refsByInstance.get(e) : e?.id !== void 0 && (n = this._getState().refsById.get(e.id)), n);
2178
2494
  }
2179
2495
  _validateNewSheetName(e, t = !0) {
2180
2496
  if (e == null) return e;
2181
- if (on(e), t && this._getState().sheetsByLowerCaseName.has(e.toLowerCase())) throw new a(f("error.workbook.nameTaken"));
2497
+ if (Cn(e), t && this._getState().sheetsByLowerCaseName.has(e.toLowerCase())) throw new a(f("error.workbook.nameTaken"));
2182
2498
  return e.substring(0, 31);
2183
2499
  }
2184
2500
  findValidSheetName(e) {
2185
- e &&= on(e, !0);
2501
+ e &&= Cn(e, !0);
2186
2502
  try {
2187
2503
  return function(e, t) {
2188
2504
  try {
2189
2505
  if (t(e)) return e;
2190
2506
  } catch {}
2191
- let n, r, i = nn.exec(e);
2507
+ let n, r, i = bn.exec(e);
2192
2508
  for (i === null ? (n = e + " ", r = 1) : (n = e.substring(0, i.index), r = parseFloat(i[1])); r < 256;) {
2193
2509
  r++;
2194
2510
  let e = "(" + r + ")", i = n.substring(0, 31 - e.length) + e;
@@ -2203,7 +2519,7 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
2203
2519
  }
2204
2520
  }
2205
2521
  isValidSheetNameCharacter(e) {
2206
- return !Z.test(e);
2522
+ return !yn.test(e);
2207
2523
  }
2208
2524
  _isStructureProtected() {
2209
2525
  return !this._initializing && !this.getProtection().isStructureAllowed();
@@ -2243,23 +2559,28 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
2243
2559
  }
2244
2560
  return this._updateState({ lastId: i }), e;
2245
2561
  }
2246
- _addSheet(e, t = null, n = null) {
2562
+ _addSheet(e, t = null, n = null, r) {
2247
2563
  t = this._nextSheetName(t);
2248
- let r = this._getState(), i = this._createSheet(r.lastId, t, A.Visibility.Visible, n, void 0, null);
2249
- if (!i) throw new a(f("error.workbook.sheetNameBlank"));
2250
- return e && this._emitter.notify("onSheetsChange"), i;
2564
+ let i = this._getState(), o = this._createSheet(i.lastId, t, I.Visibility.Visible, n, void 0, null, r);
2565
+ if (!o) throw new a(f("error.workbook.sheetNameBlank"));
2566
+ return e && (this._tellSheets(), this._emitter.notify("onSheetsChange")), o;
2251
2567
  }
2252
2568
  _updateSheetRefStates(e) {
2253
2569
  if (this._closed) throw Error(f("error.workbook.modelClosed"));
2254
2570
  if (!this._initializing && !this.getProtection().isStructureAllowed()) throw new u(f("error.workbook.protection"));
2255
2571
  let t = e, n = [], r = [], i = t.length;
2256
- for (let e = 0; e < i; e++) t[e].visibility === A.Visibility.Visible ? (n.push(t[e]), r.push(t[e])) : t[e].visibility === A.Visibility.Hidden && r.push(t[e]);
2572
+ for (let e = 0; e < i; e++) t[e].visibility === I.Visibility.Visible ? (n.push(t[e]), r.push(t[e])) : t[e].visibility === I.Visibility.Hidden && r.push(t[e]);
2257
2573
  this._updateState({
2258
2574
  sheetRefsAll: t,
2259
2575
  sheetRefsVisible: n,
2260
2576
  sheetRefsVisibleAndHidden: r
2261
2577
  });
2262
2578
  }
2579
+ _tellSheets() {
2580
+ if (this._isLoadingSheets) return;
2581
+ let e = this._getState().sheetRefsAll;
2582
+ this._calculation._setSheets(e.map((e) => [e.sheet.getId(), e.name]));
2583
+ }
2263
2584
  _addSheetRef(e, t = null) {
2264
2585
  let n = this._getState(), r = n.sheetRefsAll, i = Math.max(0, Math.min(r.length, t ?? r.length)), a = [
2265
2586
  ...r.slice(0, i),
@@ -2284,7 +2605,7 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
2284
2605
  m._validateDeleteSheet(e);
2285
2606
  },
2286
2607
  onDelete(e) {
2287
- let t = m._getSheetRef(e, A.Visibility.VeryHidden);
2608
+ let t = m._getSheetRef(e, I.Visibility.VeryHidden);
2288
2609
  if (!t) return;
2289
2610
  let n = m._beginCommit({ description: f("op.deleteSheet", { name: t.name }) });
2290
2611
  try {
@@ -2301,7 +2622,7 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
2301
2622
  let p = new Map(r.refsByInstance);
2302
2623
  p.delete(e), r.listenersSheets.get(t.id)();
2303
2624
  let h = new Map(r.listenersSheets);
2304
- h.delete(t.id), m._adjustRemoveSelectionIfRequired(a, t.id), m._adjustSheetNamesIfRequired(), m._sheetOnNameChange.delete(t.id), m._sheetOnVisibilityChange.delete(t.id), m._sheetOnIndexChange.delete(t.id), m._emitter.notify("onSheetsChange");
2625
+ h.delete(t.id), m._adjustRemoveSelectionIfRequired(a, t.id), m._adjustSheetNamesIfRequired(), m._sheetOnNameChange.delete(t.id), m._sheetOnVisibilityChange.delete(t.id), m._sheetOnIndexChange.delete(t.id), m._tellSheets(), m._emitter.notify("onSheetsChange");
2305
2626
  let g = new Set(r.sheetsCreated);
2306
2627
  g.has(o) && g.delete(o), m._updateState({
2307
2628
  refsById: c,
@@ -2336,11 +2657,11 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
2336
2657
  listenersSheets: h
2337
2658
  }), this._adjustSheetNamesIfRequired();
2338
2659
  let _ = new Set(this._getState().sheetsCreated);
2339
- return _.add(e.sheet), this._updateState({ sheetsCreated: _ }), e;
2660
+ return _.add(e.sheet), this._updateState({ sheetsCreated: _ }), this._tellSheets(), e;
2340
2661
  }
2341
2662
  _recordActiveSheet(e, t, n) {
2342
2663
  let r = this.getView().getId();
2343
- e.setIntent(cn, (e) => ({
2664
+ e.setIntent(Dn, (e) => ({
2344
2665
  viewId: r,
2345
2666
  before: e?.before ?? t,
2346
2667
  after: n
@@ -2370,7 +2691,7 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
2370
2691
  let n = this._view.getActiveSheetId();
2371
2692
  n ??= (this._view.setActiveSheetId(t), t);
2372
2693
  let r = e.refsById.get(n);
2373
- r || (this._view.setActiveSheetId(t), r = e.refsById.get(t), n = t), r.visibility === A.Visibility.Visible && (this._activeSheetOffset = this._getOffsetForId(n, e.sheetRefsVisible));
2694
+ r || (this._view.setActiveSheetId(t), r = e.refsById.get(t), n = t), r.visibility === I.Visibility.Visible && (this._activeSheetOffset = this._getOffsetForId(n, e.sheetRefsVisible));
2374
2695
  }
2375
2696
  _validateDeleteSheet(e) {
2376
2697
  if (this._closed) throw Error(f("error.workbook.modelClosed"));
@@ -2415,7 +2736,7 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
2415
2736
  }
2416
2737
  if (!p && c && a === i && (d.done || !l || !d.done && m(d.value.getCoords(), l) >= 0) && (p = !0), p) {
2417
2738
  let e = d;
2418
- return d = Re, e;
2739
+ return d = ce, e;
2419
2740
  }
2420
2741
  let o = d;
2421
2742
  return d = u.next(), o;
@@ -2427,7 +2748,7 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
2427
2748
  } };
2428
2749
  }
2429
2750
  replace(e, t, n) {
2430
- let r = 0, i = null, a = typeof t == "function", o = n?.maxCount ?? 2 ** 53 - 1, s = !n?.maxCount, c = "", l = typeof t == "string" ? ge(t) : null, u = n?.description ?? d("op.replace"), p = this._transactions.beginCommit({ description: u });
2751
+ let r = 0, i = null, a = typeof t == "function", o = n?.maxCount ?? 2 ** 53 - 1, s = !n?.maxCount, c = "", l = typeof t == "string" ? he(t) : null, u = n?.description ?? d("op.replace"), p = this._transactions.beginCommit({ description: u });
2431
2752
  try {
2432
2753
  let u = null, m = null, h = e.next();
2433
2754
  for (; !h.done && r < o;) {
@@ -2474,13 +2795,13 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
2474
2795
  if (!this.getProtection().isStructureAllowed()) throw new u(f("error.workbook.protection"));
2475
2796
  let t = this._getSheetRefs(), n = this.getSelectedSheetIndex(), r = null;
2476
2797
  if (e) {
2477
- if (r = this._getSheetRef(e), !r) throw new a(X(r));
2798
+ if (r = this._getSheetRef(e), !r) throw new a(hn(r));
2478
2799
  } else r = t[n];
2479
2800
  if (!r) return null;
2480
2801
  let i = r.sheet, o = this._strings.beginPersist(), s = this.getResources().beginPersist(), c = this.getStyles().beginPersist(), l = null, d = this.beginCommit(f("op.duplicateNamed", { name: i.getName() }));
2481
2802
  try {
2482
2803
  let e = this._getState().refsByInstance.get(i), r = await i.toJSON(), a = t.length + 1, o = this.findValidSheetName(e.name), s = this._createSheet(a, o, e.visibility, n, void 0, r);
2483
- this._emitter.notify("onSheetsChange"), l = s, d.commit();
2804
+ this._tellSheets(), this._emitter.notify("onSheetsChange"), l = s, d.commit();
2484
2805
  } catch (e) {
2485
2806
  throw d.rollback(), e;
2486
2807
  } finally {
@@ -2489,20 +2810,20 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
2489
2810
  return l;
2490
2811
  }
2491
2812
  _createRange(e, t) {
2492
- let n = e ? { ...e } : null, r = n ? this._getSheetRef(n.scope, A.Visibility.VeryHidden) : null;
2813
+ let n = e ? { ...e } : null, r = n ? this._getSheetRef(n.scope, I.Visibility.VeryHidden) : null;
2493
2814
  if (!r) {
2494
2815
  let e = this.getSelectedSheet();
2495
- return e ? (delete n?.scope, an(n, n ? {
2496
- scope: ce,
2816
+ return e ? (delete n?.scope, Sn(n, n ? {
2817
+ scope: _e,
2497
2818
  ...e.getEntireRange().getCoords()
2498
2819
  } : null)) : void console.warn(f("error.workbook.noVisibleRefs"));
2499
2820
  }
2500
2821
  let i = r.sheet, a = null;
2501
- return t && (a = { getOptions: t }), new ln(e, I(i), this, a);
2822
+ return t && (a = { getOptions: t }), new kn(e, L(i), this, a);
2502
2823
  }
2503
2824
  _createRanges(e, t) {
2504
2825
  let n = this.getSelectedSheet(), r = null;
2505
- return t && (r = { getOptions: t }), new Q(e, I(n), this, r);
2826
+ return t && (r = { getOptions: t }), new On(e, L(n), this, r);
2506
2827
  }
2507
2828
  getRange(e, t) {
2508
2829
  if (e === void 0) return this.getSelectedRange(t);
@@ -2511,7 +2832,7 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
2511
2832
  if (n.length !== 1) throw new a(f("error.address.singleRangeOnlyAlt"));
2512
2833
  return this._createRange(n[0], t);
2513
2834
  } catch (t) {
2514
- throw t instanceof r ? new r(t.message) : new a(t.message ?? pe(e));
2835
+ throw t instanceof r ? new r(t.message) : new a(t.message ?? Ie(e));
2515
2836
  }
2516
2837
  }
2517
2838
  getCell(e) {
@@ -2522,25 +2843,25 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
2522
2843
  }
2523
2844
  getRanges(e, t) {
2524
2845
  let n = this._rangesAddressToCoords(e);
2525
- if (n.length === 0) throw new a(pe(e));
2846
+ if (n.length === 0) throw new a(Ie(e));
2526
2847
  return this._createRanges(n, t);
2527
2848
  }
2528
2849
  _createGraphRanges(e, t) {
2529
2850
  let n = [], r = this.getCalculation()?.getNamedFormulas() ?? null;
2530
2851
  for (let e = 0; e < t.length; e++) {
2531
- let i = t[e], a = (i.sheetName ? this._getSheetRef(i.sheetName, A.Visibility.VeryHidden) : null)?.sheet ?? this.getSelectedSheet();
2532
- a && n.push(new ae(i, r, I(a), null));
2852
+ let i = t[e], a = (i.sheetName ? this._getSheetRef(i.sheetName, I.Visibility.VeryHidden) : null)?.sheet ?? this.getSelectedSheet();
2853
+ a && n.push(new ge(i, r, L(a), null));
2533
2854
  }
2534
2855
  for (let t = 0; t < e.length; t++) n.push(e[t]);
2535
- return n.length === 0 ? null : new Q(n, I(this.getSelectedSheet()), this, null);
2856
+ return n.length === 0 ? null : new On(n, L(this.getSelectedSheet()), this, null);
2536
2857
  }
2537
2858
  getStats(e) {
2538
2859
  if (this._closed) throw Error(f("error.workbook.modelClosed"));
2539
- let t = this._getSheets(A.Visibility.VeryHidden), n = t.length;
2860
+ let t = this._getSheets(I.Visibility.VeryHidden), n = t.length;
2540
2861
  if (n === 1) return t[0].getStats(e);
2541
2862
  let r = Array(n);
2542
2863
  for (let i = 0; i < n; i++) r[i] = t[i].getStats(e);
2543
- return new Bt(r);
2864
+ return new nn(r);
2544
2865
  }
2545
2866
  _activeRangeCoords() {
2546
2867
  let e = this.getSelectedSheet(), t = e.getSelection().getRanges().getCoords(), n = e.getName(), r = t.length, i = Array(r);
@@ -2565,7 +2886,7 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
2565
2886
  getSelectedCell() {
2566
2887
  return this.getSelectedSheet().getSelectedCell();
2567
2888
  }
2568
- _rangesAddressToCoords(e, t = !0, n = A.Visibility.Hidden) {
2889
+ _rangesAddressToCoords(e, t = !0, n = I.Visibility.Hidden) {
2569
2890
  if (!e) throw new a(f("error.address.noAddress"));
2570
2891
  let r = this.getSelectedSheet(), i = { ...r?.getEntireRange().getCoords() }, o = r?.getName();
2571
2892
  if (o && (i.scope = o), typeof e == "string") {
@@ -2575,7 +2896,7 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
2575
2896
  t === "r" ? r.rowStart = r.rowEnd = n.rowIndex : r.colStart = r.colEnd = n.colIndex, e = r;
2576
2897
  }
2577
2898
  }
2578
- let s = this, c = T(e, i, we, (e) => {
2899
+ let s = this, c = Re(e, i, me, (e) => {
2579
2900
  if (!t) return null;
2580
2901
  if (typeof e == "string") {
2581
2902
  let t = s.getNames().getByName(e)?.getRanges?.();
@@ -2586,7 +2907,7 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
2586
2907
  for (let e = 0; e < l; e++) this._validateCoords(c[e], n);
2587
2908
  return c;
2588
2909
  }
2589
- _validateCoords(e, t = A.Visibility.Visible, n = f("error.sheet.oobRange")) {
2910
+ _validateCoords(e, t = I.Visibility.Visible, n = f("error.sheet.oobRange")) {
2590
2911
  if (e === null) return;
2591
2912
  let i = this.getSheet(e.scope, t).getEntireRange().getCoords();
2592
2913
  if (!o.isRangeWithinRange(e, i)) throw new r(n);
@@ -2607,13 +2928,13 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
2607
2928
  refsByLowerCaseName: s,
2608
2929
  sheetsByLowerCaseName: c,
2609
2930
  refsByInstance: u
2610
- }), t;
2931
+ }), this._tellSheets(), t;
2611
2932
  }
2612
2933
  _setSheetName(e, t, n) {
2613
2934
  if (this._closed) throw Error(f("error.workbook.modelClosed"));
2614
2935
  if (!this.getProtection().isStructureAllowed()) throw new u(f("error.workbook.protection"));
2615
2936
  let r = this._getSheetRef(e);
2616
- if (!r) throw new a(X(e));
2937
+ if (!r) throw new a(hn(e));
2617
2938
  if (t === r.name) return r.sheet;
2618
2939
  if ((t = this._validateNewSheetName(t)) == null) throw new a(f("error.workbook.sheetNameNotProvided"));
2619
2940
  let i = Object.freeze({
@@ -2630,23 +2951,23 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
2630
2951
  }
2631
2952
  return o;
2632
2953
  }
2633
- _setSheetVisibility(e, t = A.Visibility.Visible, n) {
2954
+ _setSheetVisibility(e, t = I.Visibility.Visible, n) {
2634
2955
  if (this._closed) throw Error(f("error.workbook.modelClosed"));
2635
2956
  if (!this.getProtection().isStructureAllowed()) throw new u(f("error.workbook.protection"));
2636
- let r = this._getSheetRef(e, A.Visibility.VeryHidden);
2957
+ let r = this._getSheetRef(e, I.Visibility.VeryHidden);
2637
2958
  if (!r) return null;
2638
2959
  if (t === r.visibility) return;
2639
2960
  let i = null, o = "";
2640
- t === A.Visibility.Visible ? o = d("op.unhideSheet") : t === A.Visibility.Hidden ? o = d("op.hideSheet") : t === A.Visibility.VeryHidden && (o = d("op.veryHideSheet"));
2961
+ t === I.Visibility.Visible ? o = d("op.unhideSheet") : t === I.Visibility.Hidden ? o = d("op.hideSheet") : t === I.Visibility.VeryHidden && (o = d("op.veryHideSheet"));
2641
2962
  let s = this.beginCommit(o);
2642
2963
  try {
2643
2964
  let e = this._getState().sheetRefsVisible;
2644
- if (t !== A.Visibility.Visible && e.length === 1 && e[0].id === r.id) throw new a(f("error.workbook.sheetOne"));
2965
+ if (t !== I.Visibility.Visible && e.length === 1 && e[0].id === r.id) throw new a(f("error.workbook.sheetOne"));
2645
2966
  let o = {
2646
2967
  ...r,
2647
2968
  visibility: t
2648
2969
  }, c = -1;
2649
- t !== A.Visibility.Visible && (c = this._getOffsetForId(r.id, e)), i = this._updateSheetRef(r, o).sheet, t !== A.Visibility.Visible && this._adjustRemoveSelectionIfRequired(c, r.id), this._adjustSheetNamesIfRequired(), s.commit(n);
2970
+ t !== I.Visibility.Visible && (c = this._getOffsetForId(r.id, e)), i = this._updateSheetRef(r, o).sheet, t !== I.Visibility.Visible && this._adjustRemoveSelectionIfRequired(c, r.id), this._adjustSheetNamesIfRequired(), s.commit(n);
2650
2971
  } catch (e) {
2651
2972
  throw s.rollback(), e;
2652
2973
  }
@@ -2666,7 +2987,7 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
2666
2987
  let f = l[u], p = [...l];
2667
2988
  p.splice(u, 1), p.splice(d, 0, f), this._updateSheetRefStates(p), this._calculation._replaceSheetSpans?.(l.map((e) => e.sheet.getId()), p.map((e) => e.sheet.getId()), f.sheet.getId()), this._adjustSheetNamesIfRequired(), this._sheetOnIndexChange.forEach((e, t) => {
2668
2989
  t >= u && t <= d && e();
2669
- }), this._emitter.notify("onSheetsChange"), r = f.sheet, this._recordActiveSheet(i, c, this.getView().getActiveSheetId()), i.commit(n);
2990
+ }), this._tellSheets(), this._emitter.notify("onSheetsChange"), r = f.sheet, this._recordActiveSheet(i, c, this.getView().getActiveSheetId()), i.commit(n);
2670
2991
  } catch (e) {
2671
2992
  throw i.rollback(), e;
2672
2993
  }
@@ -2675,9 +2996,9 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
2675
2996
  _setSelectedSheet(e) {
2676
2997
  if (this._closed) throw Error(f("error.workbook.modelClosed"));
2677
2998
  let t = this._getSheetRef(e);
2678
- if (!t) throw new a(X(e));
2999
+ if (!t) throw new a(hn(e));
2679
3000
  let n = null;
2680
- return t.visibility !== A.Visibility.Visible && this._setSheetVisibility(t, A.Visibility.Visible), this._view.setActiveSheetId(t.id), n = t.sheet, n;
3001
+ return t.visibility !== I.Visibility.Visible && this._setSheetVisibility(t, I.Visibility.Visible), this._view.setActiveSheetId(t.id), n = t.sheet, n;
2681
3002
  }
2682
3003
  getProtection() {
2683
3004
  return this._protection;
@@ -2751,56 +3072,56 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
2751
3072
  });
2752
3073
  };
2753
3074
  }
2754
- _fromJSON(e) {
3075
+ _fromJSON(e, t) {
2755
3076
  if (this._emitter.notify("onBeforeLoad", { params: e }), this._initState(), !e.sheets || e.sheets.length === 0) throw new a(f("error.workbook.sheetOne"));
2756
- e.theme && (this._theme = new Ie(e.theme), this._styles.setTheme(this._theme));
2757
- let t = this._strings.beginPersist(), n = this._resources.beginPersist(), r = this._styles.beginPersist();
3077
+ e.theme && (this._theme = new Be(e.theme), this._styles.setTheme(this._theme));
3078
+ let n = this._strings.beginPersist(), r = this._resources.beginPersist(), i = this._styles.beginPersist();
2758
3079
  try {
2759
- t.fromJSON(e.strings), n.fromJSON(e.resources), r.fromJSON(e.styles), e.date1904 && (this._isDate1904 = !0), this._codeName = e.codeName ?? null, this._updateLinks = e.updateLinks ?? null, e.locale && (this._locale = e.locale), e.localeOverrides && (this._localeOverrides = e.localeOverrides), e.view ||= {};
2760
- let i = [], a = e.pivotCaches;
2761
- if (a) {
2762
- let e = n.fromResourceId.bind(n);
2763
- for (let t = 0; t < a.length; t++) {
2764
- let n = a[t];
2765
- n && typeof n.cacheId == "number" && i.push({
3080
+ n.fromJSON(e.strings), r.fromJSON(e.resources), i.fromJSON(e.styles), e.date1904 && (this._isDate1904 = !0), this._codeName = e.codeName ?? null, this._updateLinks = e.updateLinks ?? null, e.locale && (this._locale = e.locale), e.localeOverrides && (this._localeOverrides = e.localeOverrides), e.view ||= {};
3081
+ let a = [], o = e.pivotCaches;
3082
+ if (o) {
3083
+ let e = r.fromResourceId.bind(r);
3084
+ for (let t = 0; t < o.length; t++) {
3085
+ let n = o[t];
3086
+ n && typeof n.cacheId == "number" && a.push({
2766
3087
  cacheId: n.cacheId,
2767
- part: N.fromJSON(n.part, e)
3088
+ part: ze.fromJSON(n.part, e)
2768
3089
  });
2769
3090
  }
2770
3091
  }
2771
- this._pivotCaches = i, this._people.fromJSON(e.people);
2772
- let o = e.sheets, s = o.length, c = e.view.activeSheetId ?? null;
2773
- c !== null && (c = Math.min(Math.max(0, c), s - 1));
2774
- let l = null, u = null;
3092
+ this._pivotCaches = a, this._people.fromJSON(e.people);
3093
+ let s = e.sheets, c = s.length, l = e.view.activeSheetId ?? null;
3094
+ l !== null && (l = Math.min(Math.max(0, l), c - 1));
3095
+ let u = null, d = null;
2775
3096
  this._isLoadingSheets = !0;
2776
- for (let e = 0; e < s; e++) {
2777
- let t = o[e], n = t.visibility || A.Visibility.Visible, r = e;
2778
- u = r, n === A.Visibility.Visible ? l === null && (l = r) : c !== null && c === r && (c = null);
3097
+ for (let e = 0; e < c; e++) {
3098
+ let n = s[e], r = n.visibility || I.Visibility.Visible, i = e;
3099
+ d = i, r === I.Visibility.Visible ? u === null && (u = i) : l !== null && l === i && (l = null);
2779
3100
  try {
2780
- this._createSheet(r, t.name, n, e, t.sheetId, t.sheet);
3101
+ this._createSheet(i, n.name, r, e, n.sheetId, n.sheet, t?.[e]);
2781
3102
  } catch (e) {
2782
3103
  throw this._isLoadingSheets = !1, e;
2783
3104
  }
2784
3105
  }
2785
- this._isLoadingSheets = !1, this._updateState({ lastId: u }), e.view.activeSheetId = c ?? l, this.setView(new Yt({ json: e.view })), this._adjustSheetNamesIfRequired(), this._listenerProtection?.();
2786
- let d = this;
2787
- this._protection = new Y(e?.protection, this._options?.readonly), this._listenerProtection = this._protection.addListeners({ onChange: (e) => {
2788
- d._emitter.notify("onProtectionChange", { source: e });
3106
+ this._isLoadingSheets = !1, this._tellSheets(), this._updateState({ lastId: d }), e.view.activeSheetId = l ?? u, this.setView(new fn({ json: e.view })), this._adjustSheetNamesIfRequired(), this._listenerProtection?.();
3107
+ let f = this;
3108
+ this._protection = new mn(e?.protection, this._options?.readonly), this._listenerProtection = this._protection.addListeners({ onChange: (e) => {
3109
+ f._emitter.notify("onProtectionChange", { source: e });
2789
3110
  } }), this._emitter.notify("onLoad");
2790
3111
  } finally {
2791
- r.endPersist(), n.endPersist(), t.endPersist();
3112
+ i.endPersist(), r.endPersist(), n.endPersist();
2792
3113
  }
2793
3114
  }
2794
3115
  _createScripts(e) {
2795
3116
  let t = this;
2796
- return new Gt({
3117
+ return new cn({
2797
3118
  transactions: this._transactions,
2798
3119
  json: e,
2799
3120
  workbook: t,
2800
3121
  getBuiltInFunctions: () => t._calculation?.getFunctions(),
2801
3122
  onAdd: (e, r) => {
2802
3123
  let i = t._calculation;
2803
- i.getStatus() !== le.Status.Off && i.start().then(async () => {
3124
+ i.getStatus() !== ae.Status.Off && i.start().then(async () => {
2804
3125
  let e = r.getFunctions().getItems({ type: "formula" }), t = e.length;
2805
3126
  for (let r = 0; r < t; r++) {
2806
3127
  let t = e[r];
@@ -2819,7 +3140,7 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
2819
3140
  if (this._closed) throw Error(f("error.workbook.modelClosed"));
2820
3141
  await Promise.resolve(this._starting);
2821
3142
  let t = this.getCalculation();
2822
- t.getStatus() !== le.Status.Off && (await t.ready(), await t._whenRequestsSettled?.()), await this._emitter.notify("onBeforeSave", { async: !0 });
3143
+ t.getStatus() !== ae.Status.Off && (await t.ready(), await t._whenRequestsSettled?.()), await this._emitter.notify("onBeforeSave", { async: !0 });
2823
3144
  let n = { sheets: [] }, r = e?.ignoreStyles ?? !1;
2824
3145
  if (!r) {
2825
3146
  let e = this._theme.toJSON();
@@ -2838,7 +3159,7 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
2838
3159
  name: i.name,
2839
3160
  sheet: o
2840
3161
  };
2841
- i.sheetId !== void 0 && (s.sheetId = i.sheetId), i.visibility === A.Visibility.Visible ? u === null && (u = a) : s.visibility = i.visibility, i.id === t && (l = a), n.sheets.push(s);
3162
+ i.sheetId !== void 0 && (s.sheetId = i.sheetId), i.visibility === I.Visibility.Visible ? u === null && (u = a) : s.visibility = i.visibility, i.id === t && (l = a), n.sheets.push(s);
2842
3163
  }
2843
3164
  if (!r) {
2844
3165
  let e = c.toJSON();
@@ -2856,7 +3177,7 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
2856
3177
  if (y.length > 0) {
2857
3178
  let e = s ? s.toResourceId.bind(s) : () => null, t = [];
2858
3179
  for (let n = 0; n < y.length; n++) {
2859
- let r = { cacheId: y[n].cacheId }, i = N.toJSON(y[n].part, e);
3180
+ let r = { cacheId: y[n].cacheId }, i = ze.toJSON(y[n].part, e);
2860
3181
  i && (r.part = i), t.push(r);
2861
3182
  }
2862
3183
  t.length > 0 && (n.pivotCaches = t);
@@ -2936,7 +3257,7 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
2936
3257
  get isIWorkbook() {
2937
3258
  return !0;
2938
3259
  }
2939
- }, fn = { address: null }, pn = class {
3260
+ }, Mn = { address: null }, Nn = class {
2940
3261
  constructor() {
2941
3262
  this._readFormats = [], this._writeFormats = [], this._encryptions = [];
2942
3263
  }
@@ -3012,9 +3333,9 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
3012
3333
  return !0;
3013
3334
  });
3014
3335
  }
3015
- }, $ = /* @__PURE__ */ new WeakMap(), mn = (e) => !!e && typeof e == "object" && typeof e.getPath == "function" && typeof e.canWrite == "function", hn = new class {
3336
+ }, Pn = /* @__PURE__ */ new WeakMap(), Fn = (e) => !!e && typeof e == "object" && typeof e.getPath == "function" && typeof e.canWrite == "function", In = new class {
3016
3337
  constructor() {
3017
- this._setInstalled = /* @__PURE__ */ new WeakSet(), this._backingStore = null, this._emitter = new D(this), this._registry = new pn(), this._defaultStore = new st(() => this.getWriteFormats(), () => this.getReadFormats());
3338
+ this._setInstalled = /* @__PURE__ */ new WeakSet(), this._backingStore = null, this._emitter = new k(this), this._registry = new Nn(), this._defaultStore = new st(() => this.getWriteFormats(), () => this.getReadFormats());
3018
3339
  }
3019
3340
  getBackingStore() {
3020
3341
  return this._backingStore ?? this._defaultStore;
@@ -3054,7 +3375,7 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
3054
3375
  async read(e) {
3055
3376
  let t = null;
3056
3377
  if (typeof e == "string") e = { source: e };
3057
- else if (mn(e)) {
3378
+ else if (Fn(e)) {
3058
3379
  let n = e.getPath();
3059
3380
  if (!n) throw Error("Cannot read from an unbound origin (no path).");
3060
3381
  rt(e) ? e = {
@@ -3162,7 +3483,7 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
3162
3483
  return this._writeArrayBuffer(e, n, t);
3163
3484
  }
3164
3485
  async write(e, t, n) {
3165
- return typeof t == "string" || mn(t) ? this._write(e, t, !1, n) : this._write(e, e?.getOrigin?.(), !0, t ?? n);
3486
+ return typeof t == "string" || Fn(t) ? this._write(e, t, !1, n) : this._write(e, e?.getOrigin?.(), !0, t ?? n);
3166
3487
  }
3167
3488
  async writeAs(e, t, n) {
3168
3489
  if (!t) throw Error("A target must be provided for writeAs (use write(workbook) for a plain save).");
@@ -3186,7 +3507,7 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
3186
3507
  }
3187
3508
  if (typeof t == "string") {
3188
3509
  let e = o.getPath();
3189
- o = new R(C(e) ? e : `${e}.${i.exts[0]}`, { format: i.key });
3510
+ o = new R(P(e) ? e : `${e}.${i.exts[0]}`, { format: i.key });
3190
3511
  }
3191
3512
  let l = o.getEncryption(), u = e.getOrigin?.(), d = (o instanceof R ? o.getPassword() : null) ?? (u instanceof R ? u.getPassword() : null), p = o.isEncrypted() || (u?.isEncrypted() ?? !1), h = r?.password === void 0 ? d ?? (p ? void 0 : null) : r.password, g = null;
3192
3513
  if (h === void 0) {
@@ -3195,7 +3516,7 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
3195
3516
  throw new m(e ? f("error.io.passwordRequiredSave", { name: e }) : f("error.io.passwordRequiredSaveUnnamed"));
3196
3517
  }
3197
3518
  } else if (h !== null && (g = await this._registry.getEncryption(l), !g)) throw new a(f("error.io.encryptionUnavailable"));
3198
- let _ = `${o.getName() ?? f("workbook.defaultName")}.${i.exts[0]}`, v = r?.progress, y = !o.getPath() || !o.canWrite() || !!r?.prompt, b = !1, x = this, S = null, w = [], ee = {
3519
+ let _ = `${o.getName() ?? f("workbook.defaultName")}.${i.exts[0]}`, v = r?.progress, y = !o.getPath() || !o.canWrite() || !!r?.prompt, b = !1, x = this, S = null, C = [], ee = {
3199
3520
  workbook: e,
3200
3521
  format: i,
3201
3522
  origin: o,
@@ -3220,7 +3541,7 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
3220
3541
  }))(v, l), d = await x._writeArrayBuffer(e, c, {
3221
3542
  ...r,
3222
3543
  progress: u
3223
- }), f = $.get(s);
3544
+ }), f = Pn.get(s);
3224
3545
  if (l.some((e) => !f?.has(e.message)) && r?.onWarnings) {
3225
3546
  let t = await Promise.resolve(r.onWarnings({
3226
3547
  workbook: e,
@@ -3231,39 +3552,39 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
3231
3552
  }));
3232
3553
  if (!y && !1 === t) return null;
3233
3554
  }
3234
- return w = l, g ? g.encode(d, h) : d;
3555
+ return C = l, g ? g.encode(d, h) : d;
3235
3556
  }
3236
- }, T = null;
3557
+ }, w = null;
3237
3558
  try {
3238
3559
  let t = this.getBackingStore();
3239
3560
  if (!t.write) throw Error("The active backing store is read-only (no write implementation).");
3240
- if (T = await t.write(ee), T) {
3241
- if (h !== void 0 && T instanceof R && (T.setPassword(h), T.update({ encryption: g ? g.key : null })), w.length) {
3242
- let e = $.get(T) ?? /* @__PURE__ */ new Set();
3243
- for (let t of w) e.add(t.message);
3244
- $.set(T, e);
3561
+ if (w = await t.write(ee), w) {
3562
+ if (h !== void 0 && w instanceof R && (w.setPassword(h), w.update({ encryption: g ? g.key : null })), C.length) {
3563
+ let e = Pn.get(w) ?? /* @__PURE__ */ new Set();
3564
+ for (let t of C) e.add(t.message);
3565
+ Pn.set(w, e);
3245
3566
  }
3246
- n && T !== e.getOrigin() && rt(e.getOrigin())?.setOrigin(T);
3567
+ n && w !== e.getOrigin() && rt(e.getOrigin())?.setOrigin(w);
3247
3568
  let t = S ?? e.getTransactions?.()?.getCurrentCommit() ?? null;
3248
3569
  this._emitter.notify("onWrite", {
3249
3570
  params: {
3250
3571
  workbook: e,
3251
- origin: T,
3572
+ origin: w,
3252
3573
  commitId: t?.getId() ?? null,
3253
3574
  save: n
3254
3575
  },
3255
3576
  transactional: !1
3256
3577
  });
3257
3578
  }
3258
- v?.onComplete && await Promise.resolve(v.onComplete(T));
3579
+ v?.onComplete && await Promise.resolve(v.onComplete(w));
3259
3580
  } catch (e) {
3260
3581
  let t = e instanceof Error ? e : Error(String(e));
3261
3582
  throw v?.onError && await Promise.resolve(v.onError(t)), v?.onComplete && await Promise.resolve(v.onComplete(null)), t instanceof a ? t : Error(f("error.io.writeFailed", { reason: t.message }), { cause: e });
3262
3583
  }
3263
- return T;
3584
+ return w;
3264
3585
  }
3265
3586
  _stripExtension(e) {
3266
- let t = C(e);
3587
+ let t = P(e);
3267
3588
  return t ? e.slice(0, e.length - t.length - 1) : e;
3268
3589
  }
3269
3590
  _baseName(e) {
@@ -3283,7 +3604,7 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
3283
3604
  async _readArrayBuffer(e, t, n) {
3284
3605
  if (!e) throw Error("ArrayBuffer must be specified.");
3285
3606
  if (!t) throw Error("format must be specified.");
3286
- if (e.byteLength === 0) return new dn(n?.createWorkbookOptions);
3607
+ if (e.byteLength === 0) return new jn(n?.createWorkbookOptions);
3287
3608
  let r, i = t.handler;
3288
3609
  if (!i) throw Error(`Unable to resolve a read handler for '${t.key}'.`);
3289
3610
  try {
@@ -3309,21 +3630,25 @@ var sn, cn = "workbook.activeSheet", Q = class e extends Oe {
3309
3630
  ].map((e) => ({
3310
3631
  suffix: e,
3311
3632
  place: (e, t) => t ? `${t}/${e}` : e
3312
- })), Zt ||= {}, Qt ||= {}, (en = $t ||= {}).PathFill = {
3313
- Darken: "darken",
3314
- DarkenLess: "darkenLess",
3315
- Lighten: "lighten",
3316
- LightenLess: "lightenLess",
3317
- None: "none",
3318
- Normal: "normal"
3319
- }, en.PresetGeometry = {
3320
- Line: "line",
3321
- LineInv: "lineInv",
3322
- triangle: "triangle",
3323
- rtTriangle: "rtTriangle",
3324
- Rect: "rect"
3325
- }, sn ||= {};
3326
- var gn = class extends Ne {
3633
+ })), gn ||= {}, _n ||= {}, wn ||= {}, (Tn ||= {}).Type = {
3634
+ Button: "button",
3635
+ CheckBox: "checkBox",
3636
+ OptionButton: "optionButton",
3637
+ ListBox: "listBox",
3638
+ DropDown: "dropDown",
3639
+ ScrollBar: "scrollBar",
3640
+ Spinner: "spinner",
3641
+ GroupBox: "groupBox",
3642
+ Label: "label",
3643
+ EditBox: "editBox",
3644
+ Dialog: "dialog",
3645
+ Unknown: "formControl"
3646
+ }, (En ||= {}).DropStyle = {
3647
+ Combo: "combo",
3648
+ ComboEdit: "comboEdit",
3649
+ Simple: "simple"
3650
+ };
3651
+ var Ln = class extends $e {
3327
3652
  constructor(e) {
3328
3653
  super(e);
3329
3654
  }
@@ -3336,8 +3661,8 @@ var gn = class extends Ne {
3336
3661
  colEnd: (e?.size?.width ?? 5) - 1,
3337
3662
  rowEnd: (e?.size?.height ?? 5) - 1
3338
3663
  },
3339
- getRanges: (e) => new ze(null)
3664
+ getRanges: (e) => new Le(null)
3340
3665
  }, super._initializeOptions(e);
3341
3666
  }
3342
- }, _n = "0.8.0-beta.7";
3343
- export { dn as _, nt as a, _n as c, _t as d, hn as f, vt as g, ft as h, tt as i, R as l, yt as m, wt as n, Lt as o, xt as p, Jt as r, Ft as s, Wt as t, qt as u, gn as v };
3667
+ }, Rn = "0.8.0-beta.9";
3668
+ export { Ln as _, In as a, vt as b, nt as c, Ft as d, jn as f, un as g, dn as h, J as i, tt as l, sn as m, Bt as n, wt as o, ft as p, Rn as r, R as s, It as t, yt as u, _t as v, Rt as x, xt as y };