@sheetxl/studio-vanilla 0.7.28-beta.1 → 0.7.28-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (306) hide show
  1. package/browser/cjs/{Dbl2A7TmMPREP_KG.cjs → B2cX7nid45K1XRcB.cjs} +1 -1
  2. package/browser/cjs/{T7_onhE6Jrpob9tI2.cjs → BCax8eUosvZxqJum2.cjs} +1 -1
  3. package/browser/cjs/{CK2JeifKkJzOm0o92.cjs → BDSt3etlKFP344pX2.cjs} +1 -1
  4. package/browser/cjs/{DF0hku8nbQSV3M-j2.cjs → BHpypCDUD5cP3vR92.cjs} +1 -1
  5. package/browser/cjs/{D60W9LgbU6Bi_PzU.cjs → BIcGM64pW8jzwXoR.cjs} +1 -1
  6. package/browser/cjs/{DW8_bnb11oQKDj662.cjs → BQEk2bmRsrTs-zJu2.cjs} +3 -3
  7. package/browser/cjs/{Dmi2hSyQu_Js-GEu.cjs → BW4gFAFA5vc1x_8G.cjs} +1 -1
  8. package/browser/cjs/{DfgKbLE2Zvp8mcF7.cjs → BYp7-QW_AGEONvMr.cjs} +1 -1
  9. package/browser/cjs/{ByYBv7ERPfiCLOep.cjs → Bq7bgCz2WfVwfQSv.cjs} +2 -2
  10. package/browser/cjs/{CEKe4OJVmivE8S6J2.cjs → BzvKaJw-3G3FMhao2.cjs} +1 -1
  11. package/browser/cjs/C1tO7v57UD8xmj2X.cjs +86 -0
  12. package/browser/cjs/C9K6gYebhUCoGcyy.cjs +5 -0
  13. package/browser/cjs/{yy-Vk4KWt1Zu2vkd.cjs → CN8lXPB3rJ4Ux6jN.cjs} +1 -1
  14. package/browser/cjs/{9jOdey6595kpc4f_2.cjs → CObKFza7rEOQcteD2.cjs} +1 -1
  15. package/browser/cjs/CcBPECGj-X0W9a3_.cjs +3 -0
  16. package/browser/cjs/{BJcTL0FyQfZaEmdT2.cjs → ChMPHLE_jFKu0JmZ2.cjs} +1 -1
  17. package/browser/cjs/{DqDDTZZVqW3IbjXy.cjs → CtEazH3mA0Tj8qrG.cjs} +1 -1
  18. package/browser/cjs/{DzFomdBHjGaNmf9k.cjs → CxY5iqVeCdKKTzDq.cjs} +1 -1
  19. package/browser/cjs/{BmKOnx8nv-NTlFiI.cjs → D2KFRZ75pzopfyVC.cjs} +1 -1
  20. package/browser/cjs/{nE4y6hua6AwWSil72.cjs → D6cjnwWR_iUSe1f62.cjs} +1 -1
  21. package/browser/cjs/D9OGD2b5RCuNVkVt.cjs +1 -0
  22. package/browser/cjs/DDGqSmEUwpCyj2-T.cjs +12 -0
  23. package/browser/cjs/{CIPn136n4B06G4iH.cjs → DMJpPocVk36TEmfa.cjs} +1 -1
  24. package/browser/cjs/{DPhkr2uj1ztiCS7Y.cjs → DP0yIsjVWme5C-UE.cjs} +1 -1
  25. package/browser/cjs/Dmdcgm3pqGKmXPGb.cjs +33 -0
  26. package/browser/cjs/{DBIR20dXG4vtH3Kj.cjs → Ds8fgjqVz8xPRHog.cjs} +1 -1
  27. package/browser/cjs/{DUtS5ZvrQ_7EIazD2.cjs → DuLz-mXv6patMuVn2.cjs} +1 -1
  28. package/browser/cjs/{7qAC9w7dw4oS0-F3.cjs → Eja0Zsmdah-At3rJ.cjs} +1 -1
  29. package/browser/cjs/{CxWeFfNAUvhHe9F-.cjs → QH2fF4MqkcvdkNjz.cjs} +2 -2
  30. package/browser/cjs/{Bizh6EM71ecxo_oY.cjs → Y0B5_Kqc0UL2taRO.cjs} +2 -2
  31. package/browser/cjs/gOdLq87FmaB-hTTZ.cjs +1 -0
  32. package/browser/cjs/index.cjs +1 -1
  33. package/{cdn/assets/DhYuSZrGEgUmal-k2.js → browser/esm/2dJqxS99uENpvAC92.mjs} +1 -1
  34. package/browser/esm/{qatUNqy1unWjxJRn.mjs → 4-QoxOhoR614u5tO.mjs} +12 -12
  35. package/{cdn/assets/BgAJsJ2qMSFQT33B.js → browser/esm/53p_EWlOxGgrMq-q.mjs} +254 -254
  36. package/{cdn/assets/BGQ__v6SnaHlNG-Q2.js → browser/esm/5XtgjihhVCzNqyYJ2.mjs} +1 -1
  37. package/browser/esm/{oQtJFGKyYOTaSkZn.mjs → B1AbnDun66mq_S2f.mjs} +12 -12
  38. package/browser/esm/{aq4qmGuAhtzPqF-6.mjs → B3CqIagnCvfOrLBT.mjs} +7 -7
  39. package/browser/esm/{Cf3oUL1hNajeyVed2.mjs → B4094aQR3Q4KhALV2.mjs} +8 -8
  40. package/browser/esm/{DSV2cLpO0S6ZhgXx2.mjs → B7kOoeXeYeZqA_mU.mjs} +1 -1
  41. package/{cdn/assets/hBx61KP4CdznZp-N.js → browser/esm/BC9RLqAWMPRx_1rS.mjs} +1 -1
  42. package/browser/esm/{Db1UHrYoIsMVbE28.mjs → BDHrIbkTx7Ii0RYb.mjs} +5 -5
  43. package/browser/esm/{EmSNRoqlc2C8WKZI2.mjs → BEF8kcbXgMjyCP4C2.mjs} +1 -1
  44. package/browser/esm/{CueJgED9ejHaXzfs2.mjs → BEgQWG98wq54oeau2.mjs} +7 -7
  45. package/browser/esm/{-T6bQcEJ9HLY7UHV.mjs → BG-wTTfaCHaJMI5b2.mjs} +1 -1
  46. package/{cdn/assets/CqHkXhh2PbxRyYjJ.js → browser/esm/BG8zQEmkmTTw8LXE2.mjs} +1 -1
  47. package/browser/esm/{BH8YLTY6BUcMBwtX.mjs → BHmeRWtpqOMknkon.mjs} +1 -1
  48. package/browser/esm/{CfQJnZ2htSmYPsF3.mjs → BIboUJ6YhTe0O5Ep.mjs} +1 -1
  49. package/browser/esm/{BQTeVQNim2463X6I.mjs → BKX_mnqOl4t0M7Q-.mjs} +1 -1
  50. package/browser/esm/{DMcrCWg1n2i_h8d-.mjs → BLq8q4tpQq7lW0jg.mjs} +2 -2
  51. package/browser/esm/{BvJNXsx20jqbrG3K2.mjs → BM3Fxh1DBzKRDnJ-2.mjs} +1 -1
  52. package/browser/esm/{DgGD0naBo-36VC2J.mjs → BMlDCj6kw-JTuDJ92.mjs} +1 -1
  53. package/browser/esm/{_XwhJFKYQwxornq8.mjs → BT1lb0BHqaMUHJEH.mjs} +4 -4
  54. package/browser/esm/{BgK2h0kYTNVq8lHv.mjs → BTiq0pI-MmNI9sx6.mjs} +3 -3
  55. package/browser/esm/{BukYUcUVuCJLUCTU.mjs → BV1A7fanbtryQZdr.mjs} +52 -52
  56. package/{cdn/assets/BT809Dj7TlZHoSyZ.js → browser/esm/BXf0y-wp2FQ5btCG2.mjs} +1 -1
  57. package/browser/esm/{B181HHVOosiCdcW9.mjs → BamGz0uoayfOfFJD.mjs} +7 -7
  58. package/{cdn/assets/BFWULyy65RLrorZ7.js → browser/esm/BbRZ0cO4t2haGX-o.mjs} +1 -1
  59. package/browser/esm/{snzQyFpbHKBoouMl2.mjs → BbgnnZj965cf_RAV2.mjs} +9 -9
  60. package/{cdn/assets/CNUTA9WVNU3KeDzf2.js → browser/esm/Be2V19M8IxytN_Aa.mjs} +2 -2
  61. package/browser/esm/{C2HOJ1mltRzbTUl62.mjs → BibrryjUsSysyTSD2.mjs} +11 -11
  62. package/browser/esm/{DhXISrCGYlstWBHR2.mjs → Bk-F9XzxhuyAOQqK.mjs} +1 -1
  63. package/browser/esm/{whPiKYlX_LjBPzcR2.mjs → Bk13V_C0eSaqMClU.mjs} +1 -1
  64. package/browser/esm/{DpBY9n_Yx6svVSLX.mjs → BlC4_SZ2XYvtnkHw.mjs} +6 -6
  65. package/browser/esm/{C7esccqlKiSdYnvL2.mjs → BmZX5BqczMfR2VlT2.mjs} +1 -1
  66. package/browser/esm/{DDQ55nRejL3ziHCe2.mjs → Bpp8p7LJo9K-1Tm-.mjs} +1 -1
  67. package/browser/esm/{DIaucc8UrX6oVZGM.mjs → Bpypf56n7jOOW7Ys.mjs} +9 -9
  68. package/browser/esm/{lgDQkp3FOzQOe0LY.mjs → Bs6uuY3i689nSdNa.mjs} +3922 -3836
  69. package/browser/esm/{dzdZI0rQ6gtonL0G2.mjs → BwekjT1bXcBAV6hi2.mjs} +1 -1
  70. package/browser/esm/{CNqsb1dCdP38edL_.mjs → Bxt5fHMZXudQ1QHA.mjs} +6 -6
  71. package/browser/esm/{DOQiJP4o3Yv2roFN.mjs → Byl6FdOyv58rFwxZ.mjs} +5 -5
  72. package/{cdn/assets/BQMwLQz7v1tKKNjw.js → browser/esm/Bynpw8CnO-1JkFdZ2.mjs} +1 -1
  73. package/{cdn/assets/D2f2lwn364O9E4vh2.js → browser/esm/BzilGTs3oFGxJ5uB.mjs} +2 -2
  74. package/browser/esm/{CdS03qdFlfnGS4GS2.mjs → C39fSQO6blxFky052.mjs} +7 -7
  75. package/browser/esm/{Cvv50xExjeFnfiNy.mjs → CC52ynv81P-LwXRT.mjs} +6 -6
  76. package/browser/esm/{COYX5UfgqbqvXL532.mjs → CCvvNbrMzlFHlAbr2.mjs} +4 -4
  77. package/{cdn/assets/CkASBS4AqNOy0df52.js → browser/esm/CEWWFcwu4AyqL0cQ.mjs} +202 -197
  78. package/browser/esm/{CVuIEusZ_eVLJx48.mjs → CEgIZKMC4XoMmPp5.mjs} +3 -3
  79. package/{cdn/assets/CONqbv4wIi-kv-2L.js → browser/esm/CI8YyVegXUBlHR61.mjs} +1 -1
  80. package/browser/esm/{DehYydhsh3tj9AnM2.mjs → CI92jUOrJIKUlfGx2.mjs} +130 -130
  81. package/browser/esm/{CxM2lbNqq--4xN8h.mjs → CKc-IOHYDEuo2FhB.mjs} +5 -5
  82. package/browser/esm/{Yp8HnZ2LZWDER3Db.mjs → CNZeWICVX0x6E3-Z.mjs} +1 -1
  83. package/browser/esm/{CBNIXGGRiR3NBppk.mjs → CNgKTif3Jo9FLV7d.mjs} +2 -2
  84. package/browser/esm/{1KR1J6vxDpw_yLbU2.mjs → CSlBZF1ezptA1LSS2.mjs} +1 -1
  85. package/browser/esm/{D1a8t7B7xKy_wr9i2.mjs → CUj7kwIeQGAqyb6V.mjs} +1 -1
  86. package/browser/esm/{CVvr_1-LCX19jk4e.mjs → CVDNfe5yVj7xYGeO.mjs} +2 -2
  87. package/browser/esm/{CVoRtI07Syww8cUA.mjs → CWQXDC8Qk5PH757v.mjs} +13 -13
  88. package/browser/esm/{BJ6H2o3H404XGe252.mjs → CX0QhwSYuHoImWlY2.mjs} +1 -1
  89. package/browser/esm/{C6JzMmLaess-T_-r.mjs → CZy1bU6cVChuZKag.mjs} +89 -89
  90. package/{cdn/assets/BUqPCIYNlP_6pm4M.js → browser/esm/C_Kd0CPQvZsJLD6b2.mjs} +1 -1
  91. package/browser/esm/{BVHJ8ud9-agkHUcd2.mjs → CdV0VXnaW6UyTd8E.mjs} +1 -1
  92. package/browser/esm/{sckQOed44XHUgmEM.mjs → CecKVsBMvvKuk2Og.mjs} +2135 -2065
  93. package/browser/esm/{Ct164XKB4haoxV99.mjs → Ci7qcrvyeBaD36sR.mjs} +5 -5
  94. package/browser/esm/{FxykwtLK380Ynhjh.mjs → Cjq-G2Seyww6IMSH.mjs} +1 -1
  95. package/browser/esm/{DKI0PCE8wcuvwtKy2.mjs → Clu5SMZriAkKa_np2.mjs} +13 -13
  96. package/browser/esm/{BT5ZFPRdhl589SPM.mjs → CmcKdn-U2ywgYm_9.mjs} +2 -2
  97. package/browser/esm/{Chxj04DLMGbqyjr22.mjs → CqSxZiLos0nQa69t2.mjs} +5 -5
  98. package/browser/esm/{gByeADNOXJBuXzPx.mjs → CsK0x9jgM8z_DOl1.mjs} +37 -37
  99. package/browser/esm/{BhydwJ4RldNTRaas.mjs → CsqtbHllm56zw5xh2.mjs} +1 -1
  100. package/browser/esm/{k0J0jqbt6JQcSNRf.mjs → CtZ4wSjG6QUWs7Nn.mjs} +6 -6
  101. package/browser/esm/{BlABxqvzU3ccpiI22.mjs → CtaapT_7WuEvy48w2.mjs} +1 -1
  102. package/browser/esm/{Dd6FJoDWApFB2CCi2.mjs → CxJliRXAfjf-8FJL2.mjs} +1 -1
  103. package/browser/esm/{DYhc53MZjX6LHNsG.mjs → D5MuKMXqFbc9B8JP.mjs} +3 -3
  104. package/browser/esm/{3aV4jURdjixaD7Td.mjs → D7-Zv2k1IJkmQoxc.mjs} +1 -1
  105. package/browser/esm/{C6l5aRmgsP8d19lu.mjs → D99KkptfLQp60ECI.mjs} +2 -2
  106. package/{cdn/assets/BCNx4EnDw46A38bE.js → browser/esm/DA0VxVTFcWvrEQEv.mjs} +2 -2
  107. package/browser/esm/{CLFhHEElqfJHtm21.mjs → DD-_f0jEXDy0dn6z.mjs} +6 -6
  108. package/{cdn/assets/Sz8Cy_HaoUpTYt0h.js → browser/esm/DDg-fxiIqpuutuyu2.mjs} +1 -1
  109. package/{cdn/assets/Dy8wseROvsKI36oO.js → browser/esm/DJzMm5FQXuMWHNom2.mjs} +1 -1
  110. package/browser/esm/{Bk6d2dZzmAPEN5-k2.mjs → DKLwRgsx1WelayB6.mjs} +1 -1
  111. package/browser/esm/{DX4LgT_oDH8L8ynK.mjs → DNXCAcVGHeeoKPcx2.mjs} +1 -1
  112. package/browser/esm/{DonDOr6JcdNxotw-.mjs → DSY8maNeFb51KgKe2.mjs} +1 -1
  113. package/browser/esm/{CNqvhcQrG2-81fOD.mjs → DT8AGfoENVVMPsi3.mjs} +1 -1
  114. package/browser/esm/{eJXoOdaV3zHUV2do.mjs → DUpHK7eGlzF6E3h5.mjs} +5 -5
  115. package/browser/esm/{pRwq1uOrNbhmZ0mM2.mjs → DX0xvH5nQ8MjqsA02.mjs} +2 -2
  116. package/browser/esm/{6Q0Zeea07mEpzLeJ2.mjs → DYaHqG1Xx-r7mlLq.mjs} +1 -1
  117. package/browser/esm/{BrtMkOA8Tryg59WN.mjs → DZyZNxEMnIWr2n8S.mjs} +3 -3
  118. package/browser/esm/{BH4J1ujX7bAH0qMe.mjs → DbGc-QtQMWI-VyUe.mjs} +1 -1
  119. package/{cdn/assets/CDEkMCYntkMJxwBi2.js → browser/esm/DbfFQif7awKrcxxB.mjs} +3 -3
  120. package/browser/esm/{DFoGNYjZCQlfoclz.mjs → Dcbf_tge-hZbUfUD.mjs} +4 -4
  121. package/{cdn/assets/D1On-UnlXgc4TMJi2.js → browser/esm/De-RIk_tQ6xW8NH2.mjs} +1 -1
  122. package/browser/esm/{Cdgq7c9nPgcoTg8v.mjs → DgGF1ZaI3ti0c_Nz.mjs} +1 -1
  123. package/browser/esm/{CSfpN1f335foeZWr.mjs → DhnxpW56CJ43gVOI.mjs} +1 -1
  124. package/browser/esm/{B86Q74Vxyg1crDy4.mjs → DjwllBVpUWlaltMT.mjs} +6 -6
  125. package/browser/esm/{BEvXGI5EzVSXLxga.mjs → DqfIf41HljTIhC84.mjs} +5 -5
  126. package/browser/esm/{CHbhZ3r3ql2BYXDc2.mjs → Dt8IOrB4ifUVtTff2.mjs} +1 -1
  127. package/browser/esm/{COyyediFP8-Jte0d.mjs → DwEiTFl_RN5oQzfh.mjs} +7 -7
  128. package/browser/esm/{DkLusJh15CZ_-XSG2.mjs → HQv1oLV3ax-NKXZG.mjs} +1 -1
  129. package/browser/esm/{BYzW6nCCA9mf7lE02.mjs → IMAnmKax7yp8adEP2.mjs} +15 -15
  130. package/{cdn/assets/1Inmee-wv-0FPFfs2.js → browser/esm/Jw068AbKaxWlv8HJ2.mjs} +1 -1
  131. package/browser/esm/{CssrS9cKuhz46r6y.mjs → MJIl3u3WexRfuRxx.mjs} +4 -4
  132. package/browser/esm/{DKSKOqX0lMeM6AqD.mjs → MZKwwgG9APikaCAg.mjs} +246 -240
  133. package/browser/esm/{aMyBfKW2geFo8ZLl.mjs → Nj1DgowT0KN0un7b2.mjs} +1 -1
  134. package/{cdn/assets/CQ-1iT2BBp1-8btC.js → browser/esm/R3YBWWwMJAzbuwie2.mjs} +1 -1
  135. package/browser/esm/{C4LCzL4eMbnmxScR.mjs → RFuzM5jhOgjn2C_7.mjs} +2 -2
  136. package/{cdn/assets/KwAARJU7IGYWDuYf.js → browser/esm/SNsjWQUbxOQzdnCT.mjs} +1 -1
  137. package/browser/esm/{DjR_YrztipUHz-Pb.mjs → Sm94kpOe8UUYLpaZ.mjs} +3 -3
  138. package/browser/esm/{C5r3DKfkpQkm-_LU2.mjs → UOfj2s5X9yjL1iLF2.mjs} +8 -8
  139. package/browser/esm/{Co-Q8GHNdftJgZAY2.mjs → YGKMD1YfDLoo18Sy.mjs} +1 -1
  140. package/browser/esm/{DUqRWxlJFr43EfUh2.mjs → iKMg-svZQSvoVzqO2.mjs} +1 -1
  141. package/browser/esm/index.mjs +4 -4
  142. package/browser/esm/{V7W9wEgRnVm5FcO92.mjs → jvvKubD9MdvZCawH2.mjs} +11 -11
  143. package/browser/esm/{BhnhFOdBLUIQ-spn.mjs → l9SSIWXeR5tPN95-.mjs} +3 -3
  144. package/browser/esm/{Ba0-kvrjrj0hGe1K2.mjs → nBRFIzaPeMPPvIMQ2.mjs} +6 -6
  145. package/browser/esm/{A1VpPEggRj4IfGDD.mjs → rnntZ_PYlojxr5c4.mjs} +523 -524
  146. package/browser/esm/{7-3GSszGuM6fKYQX2.mjs → sIWoD1UYd1XgTrIs2.mjs} +1 -1
  147. package/browser/esm/{BPefT37WNgwR2ugY.mjs → swjGzqq7IK8YnHrV.mjs} +2 -2
  148. package/{cdn/assets/CvRpuDeuhP-pmiUv2.js → browser/esm/uk2_KQhVX77MWa7A2.mjs} +1 -1
  149. package/browser/esm/{KFUePxyJYgymI0S1.mjs → y07oKUx2vGjEEZ0w.mjs} +1 -1
  150. package/browser/esm/{ESGNq4ULp2pm2AAl2.mjs → yFD3mg0KbvkE3s1Y2.mjs} +7 -7
  151. package/browser/esm/{CBNL1frWoMOsUu_T2.mjs → yqwkS9EO5146-Xhf2.mjs} +9 -9
  152. package/cdn/assets/{BlZs6OBbHaWLHdyw2.js → -OScuzLTidF7HNaK2.js} +14 -14
  153. package/cdn/assets/{BqujNTf--SuDncdC.js → -wn5AXVsNdciGzNx.js} +1758 -1758
  154. package/{browser/esm/DhYuSZrGEgUmal-k.mjs → cdn/assets/2dJqxS99uENpvAC9.js} +1 -1
  155. package/cdn/assets/{Bh64Y2xehO25OC_t.js → 3QC61uhcIBmRDR9w.js} +2565 -2495
  156. package/cdn/assets/{o5R9zv1BlAEkrwCo2.js → 4Z5QgDDHi93cqy332.js} +28 -28
  157. package/{browser/esm/BGQ__v6SnaHlNG-Q.mjs → cdn/assets/5XtgjihhVCzNqyYJ.js} +1 -1
  158. package/cdn/assets/{DI64FmdWeq_LEKJc2.js → B1WYofA6cHbr8sxv2.js} +49 -49
  159. package/cdn/assets/{CvzRrID9YjfTwDuS2.js → B4aainAlYLn-Q5H62.js} +3 -3
  160. package/cdn/assets/{2EKKj_VAMBjNhQyV.js → B5G5aOCiy3kn0ADy.js} +2 -2
  161. package/cdn/assets/{DSV2cLpO0S6ZhgXx.js → B7kOoeXeYeZqA_mU2.js} +1 -1
  162. package/cdn/assets/{C_4w0ioMakQrO0i0.js → B8kiZt5i9HOHYeAo.js} +3 -3
  163. package/{browser/esm/hBx61KP4CdznZp-N2.mjs → cdn/assets/BC9RLqAWMPRx_1rS.js} +1 -1
  164. package/cdn/assets/{DM7EYwNo9Xadex4L.js → BDZq-VDymQAePI7X.js} +2 -2
  165. package/cdn/assets/{EmSNRoqlc2C8WKZI.js → BEF8kcbXgMjyCP4C.js} +1 -1
  166. package/cdn/assets/{-T6bQcEJ9HLY7UHV.js → BG-wTTfaCHaJMI5b.js} +1 -1
  167. package/{browser/esm/CqHkXhh2PbxRyYjJ2.mjs → cdn/assets/BG8zQEmkmTTw8LXE.js} +1 -1
  168. package/cdn/assets/{DvjL9HtpbeTQiPsP.js → BGlQEwuUWK6Oz7bC.js} +105 -105
  169. package/cdn/assets/{BH4J1ujX7bAH0qMe2.js → BHmeRWtpqOMknkon.js} +1 -1
  170. package/cdn/assets/BHmeRWtpqOMknkon2.js +24 -0
  171. package/cdn/assets/{0p987xGFUx0c99X0.js → BITxO-ILVNOqgbA7.js} +4 -4
  172. package/cdn/assets/{BQTeVQNim2463X6I2.js → BKX_mnqOl4t0M7Q-2.js} +1 -1
  173. package/cdn/assets/{BvJNXsx20jqbrG3K.js → BM3Fxh1DBzKRDnJ-.js} +1 -1
  174. package/cdn/assets/{DgGD0naBo-36VC2J2.js → BMlDCj6kw-JTuDJ9.js} +1 -1
  175. package/cdn/assets/{CKYDcG1HSXTvQl6K2.js → BNU2ZqxIegIJr-572.js} +7 -7
  176. package/cdn/assets/{CwfmCx2Ke4_FHoNA2.js → BSUsQ6-YD40bvOdG2.js} +7 -7
  177. package/cdn/assets/{CDZEsA19vbvMOvWY.js → BV3cgeOVx6QLl85F.js} +6 -6
  178. package/cdn/assets/{B0LfV8NixGPYcBo92.js → BWcc3hnnAhelxjOr2.js} +10 -10
  179. package/{browser/esm/BT809Dj7TlZHoSyZ2.mjs → cdn/assets/BXf0y-wp2FQ5btCG.js} +1 -1
  180. package/cdn/assets/{BrX2wKaY8H8My2Oe2.js → BZbIcyw3tiUx7ztK2.js} +754 -754
  181. package/{browser/esm/BFWULyy65RLrorZ7.mjs → cdn/assets/BbRZ0cO4t2haGX-o.js} +1 -1
  182. package/cdn/assets/{BiDbxIo_Dg-LwZSG.js → BdI4wcd4XWPgeQnl.js} +3 -3
  183. package/cdn/assets/{DydlbsZLg69j6R5g2.js → BhNQRWnlFUA4eX9Z2.js} +4 -4
  184. package/cdn/assets/{DhXISrCGYlstWBHR.js → Bk-F9XzxhuyAOQqK2.js} +1 -1
  185. package/cdn/assets/{whPiKYlX_LjBPzcR.js → Bk13V_C0eSaqMClU.js} +1 -1
  186. package/cdn/assets/{D_rEOwaZCyZlVVgW.js → Bk8tTxRXYv1v5QpX.js} +2 -2
  187. package/cdn/assets/{C7esccqlKiSdYnvL.js → BmZX5BqczMfR2VlT.js} +1 -1
  188. package/cdn/assets/{DDQ55nRejL3ziHCe.js → Bpp8p7LJo9K-1Tm-2.js} +1 -1
  189. package/{browser/esm/DAaOeIPOo0FIBMxD.mjs → cdn/assets/BqA9-X1PlqRSSWll.js} +2 -2
  190. package/cdn/assets/{n4um87qBckL9pgR9.js → Bt-Xdgz1GdP9i0KH.js} +5 -5
  191. package/cdn/assets/{BvkiXQcXBMKUOItw.js → Bv8Sjub_HtVCmnyZ.js} +6 -6
  192. package/cdn/assets/{dzdZI0rQ6gtonL0G.js → BwekjT1bXcBAV6hi.js} +1 -1
  193. package/{browser/esm/BQMwLQz7v1tKKNjw2.mjs → cdn/assets/Bynpw8CnO-1JkFdZ.js} +1 -1
  194. package/cdn/assets/{CbLEZjCqlIOy_N9_2.js → BzNZfg3RJdx9PRAg2.js} +9 -9
  195. package/cdn/assets/{BD5W4MjL2vYljVhR.js → C0ioCmY0K9GI3SiM.js} +7 -7
  196. package/cdn/assets/{Dz_GMq1kFESpvRRw2.js → C8lUc_Lc03y-Whne2.js} +12 -12
  197. package/cdn/assets/{BcE0tCVATqH2DBXy.js → CAgzNDmM7lJZAN5m.js} +2 -2
  198. package/{browser/esm/CONqbv4wIi-kv-2L.mjs → cdn/assets/CI8YyVegXUBlHR61.js} +1 -1
  199. package/cdn/assets/{68Hv9gRdAVje7VBa2.js → CJMMds78eEvd6ivG2.js} +3 -3
  200. package/cdn/assets/{CLNQrXyj4goOCX7I2.js → CK4ZQnpkZHN03RHP2.js} +9 -9
  201. package/cdn/assets/{Yp8HnZ2LZWDER3Db.js → CNZeWICVX0x6E3-Z.js} +1 -1
  202. package/cdn/assets/{BtlAVeuTyW0FoJO42.js → COaJqYKx8CJ595fz2.js} +4 -4
  203. package/cdn/assets/{1KR1J6vxDpw_yLbU.js → CSlBZF1ezptA1LSS.js} +1 -1
  204. package/cdn/assets/{D1a8t7B7xKy_wr9i.js → CUj7kwIeQGAqyb6V.js} +1 -1
  205. package/cdn/assets/{BJ6H2o3H404XGe25.js → CX0QhwSYuHoImWlY.js} +1 -1
  206. package/{browser/esm/BUqPCIYNlP_6pm4M.mjs → cdn/assets/C_Kd0CPQvZsJLD6b.js} +1 -1
  207. package/cdn/assets/{BWZ0ZtidQ4G3pcKO.js → CaLQ8stna0cEenbY.js} +8 -8
  208. package/cdn/assets/{BGYLyOTa6Y58vnCV.js → Cb1n0HtvwfvZOwZz.js} +8 -8
  209. package/cdn/assets/{D8NtGU-FHZgnbC0i.js → CcJHQ6UROltFQL2I.js} +2 -2
  210. package/cdn/assets/{BVHJ8ud9-agkHUcd.js → CdV0VXnaW6UyTd8E.js} +1 -1
  211. package/cdn/assets/{BdfjaNIltJNsXLvf2.js → CeD6pRhoV1LfiJjD.js} +12 -12
  212. package/cdn/assets/{BRus7kfM7SjEN70e2.js → ChBa56MbB_cDd9LM2.js} +8 -8
  213. package/cdn/assets/{DSwGGo-dqmuSJU4c2.js → CjO9u_nQjtCD7xTH2.js} +72 -72
  214. package/cdn/assets/{FxykwtLK380Ynhjh2.js → Cjq-G2Seyww6IMSH2.js} +1 -1
  215. package/cdn/assets/{MkMSXY8qQyay8SYA.js → ClHDdBXrC_nobC_N.js} +9 -9
  216. package/{browser/esm/DHfiSgLq1g6VAhWI.mjs → cdn/assets/ClWQjK8wtCNyfHiY.js} +2 -2
  217. package/cdn/assets/{BsxzxAPB4jEzEk-H2.js → ClkL86jz-4Gf_Uwg2.js} +10 -10
  218. package/cdn/assets/{FR8EiuZjHCo_J-S2.js → CsfLKTLGWgDLWY2z.js} +6 -6
  219. package/cdn/assets/{BhydwJ4RldNTRaas.js → CsqtbHllm56zw5xh.js} +1 -1
  220. package/cdn/assets/{BlABxqvzU3ccpiI22.js → CtaapT_7WuEvy48w2.js} +1 -1
  221. package/cdn/assets/{C8V4AJb4DdsmksEn2.js → Cwee8HXWwJj0ASk32.js} +3922 -3836
  222. package/cdn/assets/{Dd6FJoDWApFB2CCi.js → CxJliRXAfjf-8FJL.js} +1 -1
  223. package/cdn/assets/{DM43PoUsN4Z2MKGv.js → D-bML_q46je0p2os.js} +8 -8
  224. package/cdn/assets/{3aV4jURdjixaD7Td.js → D7-Zv2k1IJkmQoxc.js} +1 -1
  225. package/{browser/esm/LPgfxd0W2GLAgBzu.mjs → cdn/assets/DAN4gSLpoicGd0oX2.js} +3 -3
  226. package/cdn/assets/{By3qfCkjrY1zpWuS.js → DBDr4dkaPZ8Gd8CD.js} +246 -240
  227. package/{browser/esm/Sz8Cy_HaoUpTYt0h2.mjs → cdn/assets/DDg-fxiIqpuutuyu.js} +1 -1
  228. package/cdn/assets/{DMjYAxfgXGEkymiO.js → DHd5k_mCX2iTwwRi.js} +2 -2
  229. package/{browser/esm/Dy8wseROvsKI36oO2.mjs → cdn/assets/DJzMm5FQXuMWHNom2.js} +1 -1
  230. package/cdn/assets/{Bk6d2dZzmAPEN5-k.js → DKLwRgsx1WelayB62.js} +1 -1
  231. package/cdn/assets/{Bvm882bTb1-lNGnV.js → DL_Jd5k5JINA7woQ.js} +6 -6
  232. package/cdn/assets/{DX4LgT_oDH8L8ynK.js → DNXCAcVGHeeoKPcx.js} +1 -1
  233. package/cdn/assets/{D76lWYCrAdSMKvm_2.js → DQrSW7F6xwljb9vw2.js} +5 -5
  234. package/cdn/assets/{ChszL_ibfMtBV0z3.js → DR4uNNkaArYCuvNg.js} +2 -2
  235. package/cdn/assets/{DonDOr6JcdNxotw-2.js → DSY8maNeFb51KgKe.js} +1 -1
  236. package/cdn/assets/{CNqvhcQrG2-81fOD.js → DT8AGfoENVVMPsi3.js} +1 -1
  237. package/cdn/assets/{pRwq1uOrNbhmZ0mM.js → DX0xvH5nQ8MjqsA0.js} +2 -2
  238. package/cdn/assets/{6Q0Zeea07mEpzLeJ.js → DYaHqG1Xx-r7mlLq2.js} +1 -1
  239. package/cdn/assets/DbGc-QtQMWI-VyUe2.js +24 -0
  240. package/{browser/esm/D1On-UnlXgc4TMJi.mjs → cdn/assets/De-RIk_tQ6xW8NH22.js} +1 -1
  241. package/cdn/assets/{HdeBTuGyZOTOnlxd.js → DfMvz_tU8vJuV2Wl.js} +3 -3
  242. package/cdn/assets/{Cdgq7c9nPgcoTg8v.js → DgGF1ZaI3ti0c_Nz.js} +1 -1
  243. package/cdn/assets/{BJ95rY1UBb83xuD52.js → Dhmpgvzx9S-LYXr82.js} +9 -9
  244. package/cdn/assets/{CSfpN1f335foeZWr2.js → DhnxpW56CJ43gVOI2.js} +1 -1
  245. package/cdn/assets/{B_bAdpPn5j1VFdEp.js → Dm0riUQ_5Wg9oFgO.js} +7 -7
  246. package/{browser/esm/DXWY-hAdW5OyWrwd.mjs → cdn/assets/DmfSfK3IDzXPHkJL2.js} +202 -197
  247. package/cdn/assets/{CHbhZ3r3ql2BYXDc.js → Dt8IOrB4ifUVtTff.js} +1 -1
  248. package/cdn/assets/{B2bOeapx8xiCLxqL.js → DupOTk4J52hzKr6p.js} +7 -7
  249. package/cdn/assets/{B17NIGOPfL-7fbgM.js → DyPUmQ-x13kFTQyg.js} +3 -3
  250. package/{browser/esm/Bm8bttobs_RXO3av.mjs → cdn/assets/F-Y7Aw8fXxuX1LhE2.js} +254 -254
  251. package/cdn/assets/{DkLusJh15CZ_-XSG.js → HQv1oLV3ax-NKXZG2.js} +1 -1
  252. package/cdn/assets/{DixF46mCuD3POuzl2.js → HT9FFYzSOuRaDcHS2.js} +6 -6
  253. package/{browser/esm/1Inmee-wv-0FPFfs.mjs → cdn/assets/Jw068AbKaxWlv8HJ.js} +1 -1
  254. package/cdn/assets/{aMyBfKW2geFo8ZLl2.js → Nj1DgowT0KN0un7b.js} +1 -1
  255. package/{browser/esm/CQ-1iT2BBp1-8btC2.mjs → cdn/assets/R3YBWWwMJAzbuwie.js} +1 -1
  256. package/{browser/esm/KwAARJU7IGYWDuYf.mjs → cdn/assets/SNsjWQUbxOQzdnCT.js} +1 -1
  257. package/cdn/assets/{385X3fXUstHKtEEF2.js → TO6gumfUOp2BgIlL.js} +7 -7
  258. package/cdn/assets/{DFDuIPMXHvVuEUbr.js → UtYZqTCpvZMQKdR8.js} +2 -2
  259. package/cdn/assets/{Co-Q8GHNdftJgZAY.js → YGKMD1YfDLoo18Sy2.js} +1 -1
  260. package/cdn/assets/{Ay1mO-24lauwvlWS2.js → ZQsrI5kqNG_ZOdZD2.js} +38 -38
  261. package/cdn/assets/{Be9keF2r4uCzJZJx2.js → _5fYV4ZbX0S6MIpD2.js} +8 -8
  262. package/cdn/assets/{CW8lbman_jNmJl5d2.js → dywzP082Q24_9Q5U2.js} +8 -8
  263. package/cdn/assets/{DBYkGTlfV1b47Hy6.js → i6PnYkX2rfHQQEvF.js} +3 -3
  264. package/cdn/assets/{DUqRWxlJFr43EfUh.js → iKMg-svZQSvoVzqO.js} +1 -1
  265. package/cdn/assets/{Bh6yJtlVASN4H0732.js → rFTMJ-_CKVUSpQ9x2.js} +13 -13
  266. package/cdn/assets/{D1zjNJZna0d4gavs2.js → rT3DomLULA1xJhfY2.js} +16 -16
  267. package/cdn/assets/{Dd_TEe3cUSRc5o_s.js → s2fSOFCKUPsjfoxR.js} +7 -7
  268. package/cdn/assets/{7-3GSszGuM6fKYQX.js → sIWoD1UYd1XgTrIs.js} +1 -1
  269. package/{browser/esm/CvRpuDeuhP-pmiUv.mjs → cdn/assets/uk2_KQhVX77MWa7A.js} +1 -1
  270. package/{browser/esm/B3_8_CGA-MEUvzHP.mjs → cdn/assets/v2SkWlVj3d1y2tfT2.js} +2 -2
  271. package/cdn/assets/{DnPzMeDwU1jIwV-F2.js → wBchGa30DBwJnPZQ2.js} +3 -3
  272. package/cdn/assets/{KFUePxyJYgymI0S12.js → y07oKUx2vGjEEZ0w2.js} +1 -1
  273. package/cdn/assets/{BK7l8_lemkR1wuwy.js → ykS_w8WDHugwGY9S2.js} +8 -8
  274. package/cdn/index.js +2 -2
  275. package/package.json +3 -3
  276. package/browser/cjs/BSh3rXFX2OUJtD5l.cjs +0 -5
  277. package/browser/cjs/BW48QUIyFJAiIyBv.cjs +0 -1
  278. package/browser/cjs/Brqufbzvg4y0YTM0.cjs +0 -3
  279. package/browser/cjs/BvRcbY1-Wkb5Sx-4.cjs +0 -86
  280. package/browser/cjs/C6_0FaW_bjOw24La.cjs +0 -33
  281. package/browser/cjs/CraVh3dIK_NDeAvS.cjs +0 -12
  282. package/browser/cjs/DfkGb1hUnmE0XFjK.cjs +0 -1
  283. package/cdn/assets/BH8YLTY6BUcMBwtX.js +0 -24
  284. package/cdn/assets/BH8YLTY6BUcMBwtX2.js +0 -24
  285. /package/browser/cjs/{1XrWGMP3GmsQOMIX.cjs → 1XrWGMP3GmsQOMIX2.cjs} +0 -0
  286. /package/browser/cjs/{49_x589Na12sizKK2.cjs → 49_x589Na12sizKK.cjs} +0 -0
  287. /package/browser/cjs/{507hQYooKKjnRzsZ.cjs → 507hQYooKKjnRzsZ2.cjs} +0 -0
  288. /package/browser/cjs/{BK0SCfN_VZYqBxoQ.cjs → BK0SCfN_VZYqBxoQ2.cjs} +0 -0
  289. /package/browser/cjs/{Btc0Nzu40VYOpzLX2.cjs → Btc0Nzu40VYOpzLX.cjs} +0 -0
  290. /package/browser/cjs/{C2uDl8VIJqh58YF_2.cjs → C2uDl8VIJqh58YF_.cjs} +0 -0
  291. /package/browser/cjs/{C9C-pr-T_ThweQX92.cjs → C9C-pr-T_ThweQX9.cjs} +0 -0
  292. /package/browser/cjs/{CRx1WvmgBjT8WVyB2.cjs → CRx1WvmgBjT8WVyB.cjs} +0 -0
  293. /package/browser/cjs/{CW-b31_-r-_raT8Y2.cjs → CW-b31_-r-_raT8Y.cjs} +0 -0
  294. /package/browser/cjs/{CXlzsh_WHCOsErJ1.cjs → CXlzsh_WHCOsErJ12.cjs} +0 -0
  295. /package/browser/cjs/{CnZfa45XxA-9Jhmp.cjs → CnZfa45XxA-9Jhmp2.cjs} +0 -0
  296. /package/browser/cjs/{CpJJh4UnFl1_qFui.cjs → CpJJh4UnFl1_qFui2.cjs} +0 -0
  297. /package/browser/cjs/{CrZlUtdX1h2RUnCP.cjs → CrZlUtdX1h2RUnCP2.cjs} +0 -0
  298. /package/browser/cjs/{DCIlWcGDrp-5PDoA2.cjs → DCIlWcGDrp-5PDoA.cjs} +0 -0
  299. /package/browser/cjs/{DDnGLOLTqLFsdUDS2.cjs → DDnGLOLTqLFsdUDS.cjs} +0 -0
  300. /package/browser/cjs/{DG2kqsWRUtVugjay2.cjs → DG2kqsWRUtVugjay.cjs} +0 -0
  301. /package/browser/cjs/{DNKyaSruDogoBd2H.cjs → DNKyaSruDogoBd2H2.cjs} +0 -0
  302. /package/browser/cjs/{Du4jBiFxRIF1OjD42.cjs → Du4jBiFxRIF1OjD4.cjs} +0 -0
  303. /package/browser/cjs/{EeOVMRq7TuptFKTc.cjs → EeOVMRq7TuptFKTc2.cjs} +0 -0
  304. /package/browser/cjs/{bM25C5avKgBAJVfk.cjs → bM25C5avKgBAJVfk2.cjs} +0 -0
  305. /package/browser/cjs/{fqTQ_p3ehzUvc1tF.cjs → fqTQ_p3ehzUvc1tF2.cjs} +0 -0
  306. /package/browser/cjs/{h3dw1jAp2J5Pu4p32.cjs → h3dw1jAp2J5Pu4p3.cjs} +0 -0
@@ -1,14 +1,14 @@
1
1
  /**
2
- * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.28-beta.1
2
+ * @license @sheetxl/studio-vanilla - SheetXL Studio - Vanilla entry point for integrating SheetXL UI. - v0.7.28-beta.3
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 { A as e, C as t, F as n, O as r, P as i, T as a, V as o, _ as s, d as c, l, m as u, r as d, s as f, t as p, v as m } from "./FxykwtLK380Ynhjh2.js";
8
- import { r as h } from "./BH4J1ujX7bAH0qMe2.js";
9
- import { a as g, n as _ } from "./CSfpN1f335foeZWr2.js";
10
- import { $t as v, A as y, At as b, Bt as x, D as S, Dt as ee, E as te, F as ne, G as C, H as re, Ht as ie, J as ae, L as w, Lt as oe, N as se, Nt as T, O as ce, Ot as le, S as E, St as ue, Tt as de, U as fe, Ut as pe, V as D, W as me, Wt as O, Xt as he, Y as k, Z as ge, Zt as _e, _ as ve, _t as A, at as ye, b as j, c as be, cn as xe, ct as Se, et as Ce, f as we, fn as Te, g as M, ht as Ee, i as De, in as Oe, jt as ke, m as Ae, mt as je, o as Me, on as Ne, ot as N, p as P, pt as Pe, q as Fe, r as Ie, rn as Le, s as Re, sn as ze, st as Be, tt as Ve, u as He, un as F, v as I, wt as L, xt as R, z as Ue } from "./C8V4AJb4DdsmksEn2.js";
11
- import { r as We } from "./CvzRrID9YjfTwDuS2.js";
7
+ import { A as e, C as t, F as n, O as r, P as i, T as a, V as o, _ as s, d as c, l, m as u, r as d, s as f, t as p, v as m } from "./Cjq-G2Seyww6IMSH.mjs";
8
+ import { r as h } from "./BHmeRWtpqOMknkon.mjs";
9
+ import { a as g, n as _ } from "./DhnxpW56CJ43gVOI.mjs";
10
+ import { A as v, At as y, B as b, C as x, E as S, F as ee, Ft as C, H as te, Ht as ne, J as w, K as re, Kt as T, L as ie, Lt as ae, M as oe, Mt as E, Ot as D, P as O, Pt as se, Q as ce, Rt as le, T as ue, Tt as k, U as de, W as fe, X as pe, Yt as me, Z as he, _ as A, _t as ge, b as _e, cn as ve, dn as ye, dt as be, en as xe, et as Se, fn as Ce, g as we, gt as Te, h as Ee, ht as De, i as Oe, in as j, j as ke, jt as Ae, k as M, kt as je, l as Me, ln as Ne, m as Pe, nt as Fe, o as Ie, on as Le, ot as N, pn as P, r as Re, rt as ze, s as Be, u as Ve, un as F, ut as I, w as L, wt as R, x as He, yt as Ue } from "./Bs6uuY3i689nSdNa.mjs";
11
+ import { r as We } from "./Sm94kpOe8UUYLpaZ.mjs";
12
12
  var Ge;
13
13
  Ge ||= {};
14
14
  var Ke = class extends u {
@@ -106,7 +106,7 @@ var Ke = class extends u {
106
106
  }
107
107
  }, qe = class {
108
108
  constructor(e, t) {
109
- this._dirty = !1, this._store = e, this._savedCommitId = e.getCurrentCommit()?.getId() ?? null, this._emitter = new A(this);
109
+ this._dirty = !1, this._store = e, this._savedCommitId = e.getCurrentCommit()?.getId() ?? null, this._emitter = new k(this);
110
110
  let n = this;
111
111
  this._removeStoreListener = e.addListener({
112
112
  onCommitEnd() {
@@ -143,7 +143,7 @@ var Ke = class extends u {
143
143
  }
144
144
  }, z = class e {
145
145
  constructor(t, n = {}) {
146
- this._password = null, this._emitter = new A(this), this._path = t ?? null, this._name = n.name ?? null, this._format = n.format ?? null, this._size = n.size ?? null, this._canWrite = n.canWrite ?? e._defaultCanWrite(this._path), this._encryption = n.encryption ?? null;
146
+ 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._canWrite = n.canWrite ?? e._defaultCanWrite(this._path), this._encryption = n.encryption ?? null;
147
147
  }
148
148
  static _defaultCanWrite(e) {
149
149
  return !!e && !/^(https?:|data:|blob:)/i.test(e);
@@ -154,7 +154,7 @@ var Ke = class extends u {
154
154
  getName() {
155
155
  if (this._name !== null && this._name !== void 0) return this._name;
156
156
  let e = this._cleanPath();
157
- return e && R(e) || null;
157
+ return e && I(e) || null;
158
158
  }
159
159
  getPath() {
160
160
  return this._path;
@@ -165,7 +165,7 @@ var Ke = class extends u {
165
165
  getExtension() {
166
166
  let e = this._cleanPath();
167
167
  if (!e) return null;
168
- let t = L(e);
168
+ let t = D(e);
169
169
  return t ? t.toLowerCase() : null;
170
170
  }
171
171
  getEncryption() {
@@ -228,10 +228,10 @@ var Ke = class extends u {
228
228
  }
229
229
  switch (a) {
230
230
  case "file": {
231
- let e = r, t = e?.name, n = t ? `${R(t)}` : "";
231
+ let e = r, t = e?.name, n = t ? `${I(t)}` : "";
232
232
  o = await e.arrayBuffer(), s = {
233
233
  format: i,
234
- ext: L(t),
234
+ ext: D(t),
235
235
  name: n,
236
236
  absolutePath: t,
237
237
  size: e.size,
@@ -270,7 +270,7 @@ var Ke = class extends u {
270
270
  e = i.input, t = i.init, n = i.timeout;
271
271
  }
272
272
  }
273
- let a = n || 3e4, c = new AbortController(), l = setTimeout(() => c.abort(), a), u = typeof e == "string" ? e : e.toString(), d = L(u);
273
+ let a = n || 3e4, c = new AbortController(), l = setTimeout(() => c.abort(), a), u = typeof e == "string" ? e : e.toString(), d = D(u);
274
274
  try {
275
275
  let n = await fetch(e, {
276
276
  ...t,
@@ -282,7 +282,7 @@ var Ke = class extends u {
282
282
  o = r, s = {
283
283
  format: i,
284
284
  ext: d,
285
- name: R(u, !0),
285
+ name: I(u, !0),
286
286
  absolutePath: u
287
287
  };
288
288
  } catch (e) {
@@ -496,7 +496,7 @@ var $e = class {
496
496
  "Trebuchet MS",
497
497
  "Verdana"
498
498
  ], B = /* @__PURE__ */ new Map();
499
- B.set(k.GenericName.Serif, ["Tahoma"]), B.set(k.GenericName.SanSerif, ["Calibri"]), B.set(k.GenericName.MonoSpace, ["Courier New"]), B.set(k.GenericName.Cursive, ["Comic Sans MS"]), B.set(k.GenericName.Fantasy, ["Luminari"]), B.set(k.GenericName.UISystem, ["Arial"]), B.set(k.GenericName.UISerif, ["Tahoma"]), B.set(k.GenericName.UISanSerif, ["Arial"]), B.set(k.GenericName.UIMonoSpace, ["Courier New"]), B.set(k.GenericName.UIRounded, ["Arial"]), B.set(k.GenericName.Math, []), B.set(k.GenericName.Emoji, []), B.set(k.GenericName.Fangsong, []);
499
+ B.set(w.GenericName.Serif, ["Tahoma"]), B.set(w.GenericName.SanSerif, ["Calibri"]), B.set(w.GenericName.MonoSpace, ["Courier New"]), B.set(w.GenericName.Cursive, ["Comic Sans MS"]), B.set(w.GenericName.Fantasy, ["Luminari"]), B.set(w.GenericName.UISystem, ["Arial"]), B.set(w.GenericName.UISerif, ["Tahoma"]), B.set(w.GenericName.UISanSerif, ["Arial"]), B.set(w.GenericName.UIMonoSpace, ["Courier New"]), B.set(w.GenericName.UIRounded, ["Arial"]), B.set(w.GenericName.Math, []), B.set(w.GenericName.Emoji, []), B.set(w.GenericName.Fangsong, []);
500
500
  var V = /* @__PURE__ */ new Map(), H = [];
501
501
  U(tt);
502
502
  var nt = eval;
@@ -617,7 +617,7 @@ function st(t, n = !0, r = ot) {
617
617
  SoftEdge: "softEdge",
618
618
  Reflection: "reflection"
619
619
  };
620
- var ct, lt, ut, dt, Y = ge.BuiltInName, ft = {
620
+ var ct, lt, ut, dt, Y = Fe.BuiltInName, ft = {
621
621
  [Y.Normal]: m("style.builtin.normal"),
622
622
  [Y.Comma]: m("style.builtin.comma"),
623
623
  [Y.Currency]: m("style.builtin.currency"),
@@ -662,8 +662,8 @@ var bt = (e, t, n, r, i) => {
662
662
  let a = JSON.parse(JSON.stringify(e.definition));
663
663
  a.adjs ||= [];
664
664
  let o = "", c = 0, l = 0;
665
- t > 0 ? (l = t, c = 100 - t, o = s("op.lighterPercent", { percent: t })) : t < 0 && (c = 100 + t, o = s("op.darkerPercent", { percent: -t })), c && a.adjs.push({ [I.AdjustmentType.LumMod]: c }), l && a.adjs.push({ [I.AdjustmentType.LumOff]: l });
666
- let u = new j({
665
+ t > 0 ? (l = t, c = 100 - t, o = s("op.lighterPercent", { percent: t })) : t < 0 && (c = 100 + t, o = s("op.darkerPercent", { percent: -t })), c && a.adjs.push({ [L.AdjustmentType.LumMod]: c }), l && a.adjs.push({ [L.AdjustmentType.LumOff]: l });
666
+ let u = new ue({
667
667
  val: a.val,
668
668
  adjs: a.adjs
669
669
  }, n), d = u.toString();
@@ -696,13 +696,13 @@ function xt(e) {
696
696
  case "NumberToken":
697
697
  case "ScientificDigit":
698
698
  case "DigitToken": {
699
- let e = pe(o).value;
699
+ let e = Ae(o).value;
700
700
  return r === 0 ? e : r * e;
701
701
  }
702
- case "StringToken": return r === 0 ? oe(o).value : void 0;
703
- case "BooleanToken": return r === 0 ? Be(o).value : void 0;
702
+ case "StringToken": return r === 0 ? je(o).value : void 0;
703
+ case "BooleanToken": return r === 0 ? ye(o).value : void 0;
704
704
  case "LiteralError":
705
- case "RefError": return r === 0 ? Le(o).value : void 0;
705
+ case "RefError": return r === 0 ? Te(o).value : void 0;
706
706
  default: return;
707
707
  }
708
708
  } catch {
@@ -729,7 +729,7 @@ function Ct(e) {
729
729
  i.push(o);
730
730
  let s = (i) => {
731
731
  for (let s = 0; s < i.length; s++) o.push(bt(e[a], i[s], t, n, r));
732
- }, c = new j({
732
+ }, c = new ue({
733
733
  val: e[a].definition.val,
734
734
  adjs: e[a].definition.adjs
735
735
  }, t).toHSLA().lum;
@@ -799,7 +799,7 @@ var wt = class {
799
799
  let n = t[e].getSortedNumbers().getValues();
800
800
  n.length > 0 && r.push(n);
801
801
  }
802
- e = new xe(function(e) {
802
+ e = new de(function(e) {
803
803
  let t = e.length;
804
804
  if (t === 0) return Tt;
805
805
  if (t === 1) return e[0];
@@ -811,7 +811,7 @@ var wt = class {
811
811
  return e;
812
812
  }
813
813
  getRanked(e) {
814
- return ue(this._children, e, St)[Symbol.iterator]();
814
+ return Ne(this._children, e, St)[Symbol.iterator]();
815
815
  }
816
816
  getFrequencies(e) {
817
817
  if (e) return this._mergeFrequencies(e);
@@ -819,7 +819,7 @@ var wt = class {
819
819
  return t || (t = this._mergeFrequencies(), this._frequencies = t), t;
820
820
  }
821
821
  _mergeFrequencies(e) {
822
- let t = e?.keyFn ?? Oe, n = e?.limit, r = /* @__PURE__ */ new Map(), i = this._children, a = i.length, o = 0, s = 0, c = !1;
822
+ let t = e?.keyFn ?? Ve, n = e?.limit, r = /* @__PURE__ */ new Map(), i = this._children, a = i.length, o = 0, s = 0, c = !1;
823
823
  for (let l = 0; l < a; l++) {
824
824
  let a = i[l].getFrequencies(e);
825
825
  o += a.getVisitedCount(), s += a.getTotalCount(), c ||= a.isTruncated();
@@ -832,7 +832,7 @@ var wt = class {
832
832
  }) : c = !0, d = u.next();
833
833
  }
834
834
  }
835
- return He.fromGroups(r, t, e, St, o, s, c);
835
+ return re.fromGroups(r, t, e, St, o, s, c);
836
836
  }
837
837
  getTypedCounts(e) {
838
838
  let t = this._typedCounts;
@@ -882,7 +882,7 @@ var wt = class {
882
882
  let a = n.numericalCount;
883
883
  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));
884
884
  }
885
- return le(r);
885
+ return me(r);
886
886
  }
887
887
  }, Tt = Object.freeze([]);
888
888
  function Et(e, t) {
@@ -939,9 +939,9 @@ var Dt = class {
939
939
  constructor(e) {
940
940
  this._closed = !1, this._options = { ...e };
941
941
  let t = this;
942
- this._transactions = this._options.transactions ?? new he({ transient: !0 }), this._stateId = this._transactions.create(), this._transactionsRemoveListener = this._transactions.addStateListener(this._stateId, { onAfterStateChange(e, n, r) {
942
+ this._transactions = this._options.transactions ?? new ge({ transient: !0 }), this._stateId = this._transactions.create(), this._transactionsRemoveListener = this._transactions.addStateListener(this._stateId, { onAfterStateChange(e, n, r) {
943
943
  t._emitter.notify("onCollectionChange");
944
- } }), this._emitter = new A(this, this._transactions), this._initState(e?.initial);
944
+ } }), this._emitter = new k(this, this._transactions), this._initState(e?.initial);
945
945
  }
946
946
  add(e, t, n) {
947
947
  let r = this;
@@ -1046,7 +1046,7 @@ var Dt = class {
1046
1046
  }
1047
1047
  }, At = class {
1048
1048
  constructor(e) {
1049
- this._options = e, this._emitter = new A(this), this._initState();
1049
+ this._options = e, this._emitter = new k(this), this._initState();
1050
1050
  }
1051
1051
  _initState() {}
1052
1052
  getModules() {
@@ -1064,17 +1064,17 @@ var Dt = class {
1064
1064
  }
1065
1065
  }
1066
1066
  async createModule(e) {
1067
- let t = await (await import("./CwfmCx2Ke4_FHoNA2.js").then((e) => e.t)).ScriptCompiler.compile({
1067
+ let t = await (await import("./B3CqIagnCvfOrLBT.mjs").then((e) => e.t)).ScriptCompiler.compile({
1068
1068
  builtInNames: this._builtInNames(),
1069
1069
  ...e
1070
1070
  });
1071
- return t.module ? await P("scripts", t.module, e?.declarationsOnly ?? !1, t.diagnostics) : null;
1071
+ return t.module ? await M("scripts", t.module, e?.declarationsOnly ?? !1, t.diagnostics) : null;
1072
1072
  }
1073
1073
  addModule(e, t, n) {
1074
1074
  this._modules.add(e, t, n);
1075
1075
  }
1076
1076
  async addModuleFromJSON(e, t, n) {
1077
- let r = await P(e, t);
1077
+ let r = await M(e, t);
1078
1078
  return this.addModule(e, r, n), r;
1079
1079
  }
1080
1080
  executeMacro(e, t, n) {
@@ -1090,7 +1090,7 @@ var Dt = class {
1090
1090
  }
1091
1091
  async run(e, t) {
1092
1092
  try {
1093
- let n = typeof e == "string" ? await this.createModule({ source: e }) : await P("scripts", e), r = typeof e == "string" ? e : e?.source ?? "";
1093
+ let n = typeof e == "string" ? await this.createModule({ source: e }) : await M("scripts", e), r = typeof e == "string" ? e : e?.source ?? "";
1094
1094
  return await this._runModule(n, r, t);
1095
1095
  } catch (e) {
1096
1096
  return {
@@ -1172,7 +1172,7 @@ var Dt = class {
1172
1172
  }
1173
1173
  if (!r || r.length === 0) return e.EmptyArray;
1174
1174
  let s = t?.text ? t.text.trim().toUpperCase() : null;
1175
- return s && n.length > 1 && Ie(r, s), i !== void 0 && r.length > i ? r.slice(0, i) : r;
1175
+ return s && n.length > 1 && ke(r, s), i !== void 0 && r.length > i ? r.slice(0, i) : r;
1176
1176
  }
1177
1177
  async getFunctionCategories(t) {
1178
1178
  await this._emitter.notify("onBeforeSearch", { async: !0 });
@@ -1215,7 +1215,7 @@ var Dt = class {
1215
1215
  for (let t = 0; t < e.length; t++) {
1216
1216
  let i = e[t], a = n[i];
1217
1217
  try {
1218
- r[i] = await P(i, a);
1218
+ r[i] = await M(i, a);
1219
1219
  } catch (e) {
1220
1220
  o.error(`Could not load script '${i}'; it will be unavailable.`, e);
1221
1221
  }
@@ -1259,7 +1259,7 @@ var Dt = class {
1259
1259
  }
1260
1260
  }, jt = class {
1261
1261
  constructor(e, t, n, r) {
1262
- this._mergedReading = [], this._colsReading = [], this._rowsReading = [], this._styles = n, this._topLeft = t ?? l.EmptyCell, this._sheet = new v({
1262
+ this._mergedReading = [], this._colsReading = [], this._rowsReading = [], this._styles = n, this._topLeft = t ?? l.EmptyCell, this._sheet = new E({
1263
1263
  runtime: e,
1264
1264
  styles: this._styles,
1265
1265
  container: {
@@ -1279,28 +1279,28 @@ var Dt = class {
1279
1279
  e.includes(r) && delete i[r];
1280
1280
  }
1281
1281
  }
1282
- let a = ke(i.fontFamily);
1282
+ let a = se(i.fontFamily);
1283
1283
  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;
1284
- let o = y(i.textDecoration);
1285
- r.font.underline = o.underline, r.font.strike = o.strike, i.textUnderlineStyle && (r.font.underline = Ae(i.textUnderlineStyle)), r.alignment = {}, i?.textAlign && (r.alignment.horizontal = ee(i.textAlign)), i?.textAlign && !r.alignment.horizontal && i?.textAlign !== "general" && (i.textAlign === "center-across" ? r.alignment.horizontal = F.HorizontalAlignment.CenterContinuous : i.textAlign === "fill" ? r.alignment.horizontal = F.HorizontalAlignment.Fill : i.textAlign === "121" || i.textAlign === "010" ? (r.alignment.horizontal = F.HorizontalAlignment.Distributed, r.alignment.justifyLastLine = i.textAlign === "121") : console.warn("unknown text-align", i.textAlign)), i.verticalAlign && (i.verticalAlign.toLowerCase() === "super" ? r.font.verticalAlign = k.VerticalAlignment.Super : i.verticalAlign.toLowerCase() === "sup" ? r.font.verticalAlign = k.VerticalAlignment.Sub : r.alignment.vertical = x(i.verticalAlign), r.alignment.vertical || (i.verticalAlign === "121" ? r.alignment.vertical = F.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" ? F.Overflow.Visible : F.Overflow.Wrap), i.msoTextControl === "shrinktofit" && (r.alignment.overflow = F.Overflow.Shrink);
1284
+ let o = x(i.textDecoration);
1285
+ r.font.underline = o.underline, r.font.strike = o.strike, i.textUnderlineStyle && (r.font.underline = v(i.textUnderlineStyle)), r.alignment = {}, i?.textAlign && (r.alignment.horizontal = ne(i.textAlign)), i?.textAlign && !r.alignment.horizontal && i?.textAlign !== "general" && (i.textAlign === "center-across" ? r.alignment.horizontal = P.HorizontalAlignment.CenterContinuous : i.textAlign === "fill" ? r.alignment.horizontal = P.HorizontalAlignment.Fill : i.textAlign === "121" || i.textAlign === "010" ? (r.alignment.horizontal = P.HorizontalAlignment.Distributed, r.alignment.justifyLastLine = i.textAlign === "121") : console.warn("unknown text-align", i.textAlign)), i.verticalAlign && (i.verticalAlign.toLowerCase() === "super" ? r.font.verticalAlign = w.VerticalAlignment.Super : i.verticalAlign.toLowerCase() === "sup" ? r.font.verticalAlign = w.VerticalAlignment.Sub : r.alignment.vertical = Ue(i.verticalAlign), r.alignment.vertical || (i.verticalAlign === "121" ? r.alignment.vertical = P.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" ? P.Overflow.Visible : P.Overflow.Wrap), i.msoTextControl === "shrinktofit" && (r.alignment.overflow = P.Overflow.Shrink);
1286
1286
  let s = null;
1287
1287
  if (i.background ? s = i.background : i.backgroundColor && (s = i.backgroundColor), s && (r.fill = { color: s }), i.msoPattern) {
1288
- let e = we(i.msoPattern);
1289
- e && (e.patternType === Ce.BuiltInSheetPattern.Solid ? r.fill = { color: e.foreground } : e.patternType !== Ce.BuiltInSheetPattern.None && (s && (e.background = s), r.fill = e));
1288
+ let e = ae(i.msoPattern);
1289
+ e && (e.patternType === N.BuiltInSheetPattern.Solid ? r.fill = { color: e.foreground } : e.patternType !== N.BuiltInSheetPattern.None && (s && (e.background = s), r.fill = e));
1290
1290
  }
1291
- i.msoRotate !== void 0 && (r.alignment.rotation = S(i.msoRotate));
1291
+ i.msoRotate !== void 0 && (r.alignment.rotation = Oe(i.msoRotate));
1292
1292
  let c = (e, t) => {
1293
1293
  e && (r.border ||= {}, r.border[e] = t);
1294
1294
  };
1295
1295
  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);
1296
1296
  let l = r.numberFormat;
1297
- i.msoNumberFormat && (l = Re(i.msoNumberFormat), l.includes("\\") ? l = null : l === "Fixed" ? l = C.Styles.lookupStyle(r.numberFormat).formatType === C.Type.Number ? null : C.Type.Number : l === "Percent" && (l = C.Styles.lookupStyle(r.numberFormat).formatType === C.Type.Percentage ? null : C.Type.Percentage)), l && (r.numberFormat = l), e.style = this._styles.normalize(r), n && Object.keys(e.style).length === 0 && delete e.style;
1297
+ i.msoNumberFormat && (l = He(i.msoNumberFormat), l.includes("\\") ? l = null : l === "Fixed" ? l = A.Styles.lookupStyle(r.numberFormat).formatType === A.Type.Number ? null : A.Type.Number : l === "Percent" && (l = A.Styles.lookupStyle(r.numberFormat).formatType === A.Type.Percentage ? null : A.Type.Percentage)), l && (r.numberFormat = l), e.style = this._styles.normalize(r), n && Object.keys(e.style).length === 0 && delete e.style;
1298
1298
  }
1299
1299
  onCell(e, t, n, r, i) {
1300
1300
  let a = r(i), o = { value: t === void 0 ? n ?? "" : t };
1301
1301
  if (typeof o.value == "string" && o.value.length === 0 && (o.value = void 0), a && this.applyCSSStyle(o, a), i?.tagName.toUpperCase() === "TD") {
1302
1302
  let e = o.style, t = e?.font ?? {};
1303
- (i.querySelectorAll("s").length > 0 || i.querySelectorAll("strike").length > 0) && (t.strike = !0), i.querySelectorAll("sub").length > 0 && (t.verticalAlign = k.VerticalAlignment.Sub), i.querySelectorAll("sup").length > 0 && (t.verticalAlign = k.VerticalAlignment.Super), (i.querySelectorAll("b").length > 0 || i.querySelectorAll("strong").length > 0) && (t.weight = 700), i.querySelectorAll("i").length > 0 && (t.style = k.Style.Italic), i.querySelectorAll("u").length > 0 && (t.underline = k.UnderlineStyle.Single), Object.keys(t).length > 0 && (e || (e = {}, o.style = e), e.font ||= t);
1303
+ (i.querySelectorAll("s").length > 0 || i.querySelectorAll("strike").length > 0) && (t.strike = !0), i.querySelectorAll("sub").length > 0 && (t.verticalAlign = w.VerticalAlignment.Sub), i.querySelectorAll("sup").length > 0 && (t.verticalAlign = w.VerticalAlignment.Super), (i.querySelectorAll("b").length > 0 || i.querySelectorAll("strong").length > 0) && (t.weight = 700), i.querySelectorAll("i").length > 0 && (t.style = w.Style.Italic), i.querySelectorAll("u").length > 0 && (t.underline = w.UnderlineStyle.Single), Object.keys(t).length > 0 && (e || (e = {}, o.style = e), e.font ||= t);
1304
1304
  let n = i.querySelectorAll("a");
1305
1305
  if (n.length > 0) {
1306
1306
  let e = n[0].getAttribute("href");
@@ -1347,8 +1347,8 @@ var Dt = class {
1347
1347
  let i = n(r);
1348
1348
  if (i.msoHeightSource !== "userset" || !r) return;
1349
1349
  let a = r.getAttribute("height") ?? i.height, o = null;
1350
- if (a && (o = w(a, this._styles.getNormal().getFont().getSize(), "px")), o === null) for (let e = 0; e < r.cells.length; e++) {
1351
- let t = r.cells[e], i = w(t.getAttribute("height") ?? n(t).height, this._styles.getNormal().getFont().getSize(), "px");
1350
+ if (a && (o = j(a, this._styles.getNormal().getFont().getSize(), "px")), o === null) for (let e = 0; e < r.cells.length; e++) {
1351
+ let t = r.cells[e], i = j(t.getAttribute("height") ?? n(t).height, this._styles.getNormal().getFont().getSize(), "px");
1352
1352
  i !== null && (o = Math.max(i, o ?? 0));
1353
1353
  }
1354
1354
  o !== null && this._rowsReading.push({
@@ -1356,19 +1356,19 @@ var Dt = class {
1356
1356
  min: this._topLeft.rowIndex + e,
1357
1357
  max: this._topLeft.rowIndex + e + t - 1
1358
1358
  },
1359
- update: { size: o * k.getDeviceScale() }
1359
+ update: { size: o * w.getDeviceScale() }
1360
1360
  });
1361
1361
  }
1362
1362
  onColumn(e, t, n, r) {
1363
1363
  let i = n(r);
1364
1364
  if (i.msoWidthSource !== "userset" || !r) return;
1365
1365
  let a = r.getAttribute("width") ?? i.width, o = null;
1366
- a && (o = w(a, this._styles.getNormal().getFont().getSize(), "px")), o !== null && this._colsReading.push({
1366
+ a && (o = j(a, this._styles.getNormal().getFont().getSize(), "px")), o !== null && this._colsReading.push({
1367
1367
  address: {
1368
1368
  min: this._topLeft.colIndex + e,
1369
1369
  max: this._topLeft.colIndex + e + t - 1
1370
1370
  },
1371
- update: { size: o * k.getDeviceScale() }
1371
+ update: { size: o * w.getDeviceScale() }
1372
1372
  });
1373
1373
  }
1374
1374
  onDone() {
@@ -1464,8 +1464,8 @@ var Dt = class {
1464
1464
  try {
1465
1465
  let r = new jt(this._runtime, this._topLeft, this._styles, n ? "HTML" : "Text");
1466
1466
  await r.sheet().getCalculation().ready(), await r.sheet().getCalculation().stop();
1467
- let i, a = await Promise.resolve(t ? ce(t) : [[]]);
1468
- if (b(n, a, r) ? (e = r.sheet(), i = e.getUsedRange()) : n = null, i) return this._parsed = {
1467
+ let i, a = await Promise.resolve(t ? C(t) : [[]]);
1468
+ if (ee(n, a, r) ? (e = r.sheet(), i = e.getUsedRange()) : n = null, i) return this._parsed = {
1469
1469
  copyTo: async (e, t) => (await e.copyFrom(i, t))?.getCoords() ?? null,
1470
1470
  getCoords: () => i.getCoords(),
1471
1471
  getSource: () => e,
@@ -1502,7 +1502,7 @@ var Dt = class {
1502
1502
  activeSheetId: 0
1503
1503
  }, Pt = class {
1504
1504
  constructor(e) {
1505
- this._emitter = new A(this), this._state = { ...X }, e?.json && this._fromJSON(e?.json);
1505
+ this._emitter = new k(this), this._state = { ...X }, e?.json && this._fromJSON(e?.json);
1506
1506
  }
1507
1507
  isShowFormulaBar() {
1508
1508
  return this._state.showFormulaBar;
@@ -1582,7 +1582,7 @@ var Dt = class {
1582
1582
  revision: !1,
1583
1583
  password: null,
1584
1584
  revisionsPassword: null
1585
- }), It = class extends Me {
1585
+ }), It = class extends _e {
1586
1586
  isWindowsAllowed() {
1587
1587
  return this._isPropertyAllowed("windows");
1588
1588
  }
@@ -1643,9 +1643,9 @@ function Vt(e) {
1643
1643
  }
1644
1644
  function Ht(e, t) {
1645
1645
  return {
1646
- ...se,
1646
+ ...ce,
1647
1647
  getSheet: () => null,
1648
- toString: () => E(e, t)
1648
+ toString: () => O(e, t)
1649
1649
  };
1650
1650
  }
1651
1651
  function Ut(e, t = !1) {
@@ -1668,7 +1668,7 @@ function Ut(e, t = !1) {
1668
1668
  }
1669
1669
  return e;
1670
1670
  }
1671
- var Wt, $ = class e extends be {
1671
+ var Wt, $ = class e extends Me {
1672
1672
  constructor(e, t, n, r) {
1673
1673
  super(e, t, r), this._workbook = n;
1674
1674
  }
@@ -1679,23 +1679,23 @@ var Wt, $ = class e extends be {
1679
1679
  let r = this._options;
1680
1680
  return n && (r = {
1681
1681
  ...this._options,
1682
- getOptions: T(this._options?.getOptions, n)
1682
+ getOptions: R(this._options?.getOptions, n)
1683
1683
  }), new e(t, this._internal, this._workbook, r);
1684
1684
  }
1685
1685
  _createRange(e, t) {
1686
- let n = e ? { ...e } : null, r = n ? this._workbook._getSheetRef(n.scope, M.Visibility.VeryHidden) : null;
1686
+ let n = e ? { ...e } : null, r = n ? this._workbook._getSheetRef(n.scope, T.Visibility.VeryHidden) : null;
1687
1687
  if (!r) {
1688
1688
  let e = this._workbook.getSelectedSheet();
1689
1689
  return delete n?.scope, Ht(n, n ? {
1690
- scope: N,
1690
+ scope: F,
1691
1691
  ...e.getEntireRange().getCoords()
1692
1692
  } : null);
1693
1693
  }
1694
1694
  let i = this._options;
1695
1695
  return t && (i = {
1696
1696
  ...this._options,
1697
- getOptions: T(this._options.getOptions, t)
1698
- }), new Gt(e, D(r.sheet), this._workbook, i);
1697
+ getOptions: R(this._options.getOptions, t)
1698
+ }), new Gt(e, S(r.sheet), this._workbook, i);
1699
1699
  }
1700
1700
  async select(e) {
1701
1701
  let t = [], n = null, r = this.getCoords();
@@ -1719,15 +1719,15 @@ var Wt, $ = class e extends be {
1719
1719
  }
1720
1720
  getAddress(e) {
1721
1721
  let t = this._internal.getSheet(), n = t.getEntireRange().getCoords();
1722
- return ne(this.getCoords(), {
1722
+ return Ie(this.getCoords(), {
1723
1723
  ...n,
1724
1724
  scope: t.getName()
1725
- }, E, Ue, e);
1725
+ }, O, Be, e);
1726
1726
  }
1727
1727
  toString() {
1728
1728
  return this.getAddress();
1729
1729
  }
1730
- }, Gt = class e extends Te {
1730
+ }, Gt = class e extends Se {
1731
1731
  constructor(e, t, n, r) {
1732
1732
  super(e, t, r), this._workbook = n;
1733
1733
  }
@@ -1735,17 +1735,17 @@ var Wt, $ = class e extends be {
1735
1735
  let n = this._options;
1736
1736
  return t && (n = {
1737
1737
  ...this._options,
1738
- getOptions: T(this._options?.getOptions, t)
1738
+ getOptions: R(this._options?.getOptions, t)
1739
1739
  }), new $(e, this._internal, this._workbook, n);
1740
1740
  }
1741
1741
  _createRange(t, n) {
1742
1742
  let r = this._internal;
1743
- if (!t) return O(r.getSheet(), r.getSheet().getEntireCoords());
1744
- if (r.validateCoords(t), r.getSheet().isClosed()) return O(null, r.getSheet().getEntireCoords(), t);
1743
+ if (!t) return ze(r.getSheet(), r.getSheet().getEntireCoords());
1744
+ if (r.validateCoords(t), r.getSheet().isClosed()) return ze(null, r.getSheet().getEntireCoords(), t);
1745
1745
  let i = this._options;
1746
1746
  return n && (i = {
1747
1747
  ...this._options,
1748
- getOptions: T(this._options?.getOptions, n)
1748
+ getOptions: R(this._options?.getOptions, n)
1749
1749
  }), new e(t, this._internal, this._workbook, i);
1750
1750
  }
1751
1751
  addListener(e, t) {
@@ -1758,7 +1758,7 @@ var Wt, $ = class e extends be {
1758
1758
  }
1759
1759
  getAddress(e) {
1760
1760
  let t = this._internal.getSheet(), n = t?.getEntireRange().getCoords() ?? null;
1761
- return E(this.getCoords(), {
1761
+ return O(this.getCoords(), {
1762
1762
  ...n,
1763
1763
  scope: t.getName()
1764
1764
  });
@@ -1776,18 +1776,18 @@ var Wt, $ = class e extends be {
1776
1776
  e !== this._lastOriginName && (this._lastOriginName = e, this._emitter.notify("onNameChange"));
1777
1777
  } });
1778
1778
  let i = n.json;
1779
- delete n.json, this._transactions = n.transactions ?? new he(), this._id = this._transactions.create(), this._ownTransactions = !n.transactions, this._emitter = new A(this, this._transactions), this._runtime = n.runtime ?? new Pe("Workbook Runtime", {
1779
+ delete n.json, this._transactions = n.transactions ?? new ge(), this._id = this._transactions.create(), this._ownTransactions = !n.transactions, this._emitter = new k(this, this._transactions), this._runtime = n.runtime ?? new te("Workbook Runtime", {
1780
1780
  isDate1904: () => this._isDate1904,
1781
- getLocale: () => this._locale ?? ze() ?? ye(),
1781
+ getLocale: () => this._locale ?? Le() ?? ve(),
1782
1782
  getLocaleOverrides: () => this._localeOverrides
1783
1783
  }), this._listenerLanguage = c.addChangeListener(() => {
1784
1784
  this._locale !== null || this._closed || this._notifyAllChange();
1785
1785
  });
1786
1786
  let a = this, o = this._beginCommit({ description: m(i ? "op.openWorkbook" : "op.newWorkbook") });
1787
1787
  try {
1788
- this._strings = n.strings ?? new Ee(), this._ownStrings = !n.strings, this._externalBooks = new Ot({ json: i?.externalBooks }), this._resources = n.resources ?? new _e(), this._ownResources = !n.resources, this._createSheetName = n.createSheetNameCallback ?? Vt;
1788
+ this._strings = n.strings ?? new xe(), this._ownStrings = !n.strings, this._externalBooks = new Ot({ json: i?.externalBooks }), this._resources = n.resources ?? new le(), this._ownResources = !n.resources, this._createSheetName = n.createSheetNameCallback ?? Vt;
1789
1789
  let t = n.createSheetCallback;
1790
- t ||= (e) => new v(e), this._sheetOnNameChange = /* @__PURE__ */ new Map(), this._sheetOnVisibilityChange = /* @__PURE__ */ new Map(), this._sheetOnIndexChange = /* @__PURE__ */ new Map(), this._createSheet = (e, n, r, i, o) => {
1790
+ t ||= (e) => new E(e), this._sheetOnNameChange = /* @__PURE__ */ new Map(), this._sheetOnVisibilityChange = /* @__PURE__ */ new Map(), this._sheetOnIndexChange = /* @__PURE__ */ new Map(), this._createSheet = (e, n, r, i, o) => {
1791
1791
  let s = null, c = {
1792
1792
  runtime: a._runtime,
1793
1793
  readonly: a._options.readonly ?? !1,
@@ -1807,7 +1807,7 @@ var Wt, $ = class e extends be {
1807
1807
  s = t, a._addSheetRef({
1808
1808
  name: n,
1809
1809
  id: e,
1810
- visibility: r ?? M.Visibility.Visible,
1810
+ visibility: r ?? T.Visibility.Visible,
1811
1811
  sheet: t
1812
1812
  }, i);
1813
1813
  },
@@ -1823,7 +1823,7 @@ var Wt, $ = class e extends be {
1823
1823
  },
1824
1824
  getVisibility: () => {
1825
1825
  let e = a._getSheetRef(s);
1826
- return e ? e.visibility : M.Visibility.Visible;
1826
+ return e ? e.visibility : T.Visibility.Visible;
1827
1827
  },
1828
1828
  setVisibility: (e, t) => {
1829
1829
  a._setSheetVisibility(s, e, t);
@@ -1834,10 +1834,10 @@ var Wt, $ = class e extends be {
1834
1834
  duplicate: () => a._duplicateSheet(s),
1835
1835
  getIndex: () => {
1836
1836
  let e = a._getSheetRef(s);
1837
- return e ? a._getOffsetForId(e.id, a._getSheetRefs(M.Visibility.VeryHidden)) : i;
1837
+ return e ? a._getOffsetForId(e.id, a._getSheetRefs(T.Visibility.VeryHidden)) : i;
1838
1838
  },
1839
1839
  setIndex: (e, t) => {
1840
- let n = a._getSheetRef(s, M.Visibility.VeryHidden);
1840
+ let n = a._getSheetRef(s, T.Visibility.VeryHidden);
1841
1841
  return !!n && (a._moveSheet(n, e, t), !0);
1842
1842
  },
1843
1843
  setIndexCallback: (t) => {
@@ -1851,16 +1851,16 @@ var Wt, $ = class e extends be {
1851
1851
  }
1852
1852
  };
1853
1853
  return o && (c.json = o), s = t(c, n, i, r), s;
1854
- }, this._namedTableSource = new je({
1854
+ }, this._namedTableSource = new fe({
1855
1855
  getSheets: () => a._sheets ? a.getSheets().getItems() : e.EmptyArray,
1856
1856
  addSheetsListener: (e, t) => a.addListeners({ onSheetsChange: e }, t)
1857
- }), this._names = n.names ?? new De({
1857
+ }), this._names = n.names ?? new oe({
1858
1858
  addressToRanges: (e) => a.getRanges(e),
1859
1859
  getCurrentScope: () => a.getSelectedSheet().getName(),
1860
1860
  isReadOnly: () => a._options.readonly ?? !1,
1861
1861
  transactions: a._transactions,
1862
1862
  getSources: () => a._calculation ? [a._calculation.getNamedFormulas(), a._namedTableSource] : e.EmptyArray
1863
- }), this._ownNames = !n.names, this._calculation = n.calculation ?? new Ve({
1863
+ }), this._ownNames = !n.names, this._calculation = n.calculation ?? new ie({
1864
1864
  runtime: a._runtime,
1865
1865
  functions: n.functions,
1866
1866
  getActiveCell: () => {
@@ -1877,9 +1877,9 @@ var Wt, $ = class e extends be {
1877
1877
  getSheetIndex: (e) => {
1878
1878
  if (e === void 0) {
1879
1879
  let e = a.getSelectedSheet();
1880
- return e ? this._getSheetRefs(M.Visibility.VeryHidden).findIndex((t) => t.sheet === e) : -1;
1880
+ return e ? this._getSheetRefs(T.Visibility.VeryHidden).findIndex((t) => t.sheet === e) : -1;
1881
1881
  }
1882
- let t = this._getSheetRefs(M.Visibility.VeryHidden);
1882
+ let t = this._getSheetRefs(T.Visibility.VeryHidden);
1883
1883
  e = e.toLowerCase();
1884
1884
  let n = t.length;
1885
1885
  for (let r = 0; r < n; r++) if (t[r].name.toLowerCase() === e) return r;
@@ -1889,7 +1889,7 @@ var Wt, $ = class e extends be {
1889
1889
  if (!t || t.length === 0) return -1;
1890
1890
  let n = t[0].getRanges?.()?.getCoords()?.[0]?.scope;
1891
1891
  if (!n) return -1;
1892
- let r = this._getSheetRefs(M.Visibility.VeryHidden);
1892
+ let r = this._getSheetRefs(T.Visibility.VeryHidden);
1893
1893
  n = n.toLowerCase();
1894
1894
  let i = r.length;
1895
1895
  for (let e = 0; e < i; e++) if (r[e].name.toLowerCase() === n) return e;
@@ -1898,9 +1898,9 @@ var Wt, $ = class e extends be {
1898
1898
  }
1899
1899
  return -1;
1900
1900
  },
1901
- getSheetCount: () => a.getSheets().getItems({ visibility: M.Visibility.VeryHidden }).length,
1901
+ getSheetCount: () => a.getSheets().getItems({ visibility: T.Visibility.VeryHidden }).length,
1902
1902
  getSheetById: (e) => {
1903
- let t = a.getSheets().getItems({ visibility: M.Visibility.VeryHidden }), n = t.length;
1903
+ let t = a.getSheets().getItems({ visibility: T.Visibility.VeryHidden }), n = t.length;
1904
1904
  for (let r = 0; r < n; r++) if (t[r].getId() === e) return t[r];
1905
1905
  return null;
1906
1906
  },
@@ -1936,7 +1936,7 @@ var Wt, $ = class e extends be {
1936
1936
  let e = this._getSheetRefs();
1937
1937
  for (let t = (e ? e.length : 0) - 1; t >= 0; t--);
1938
1938
  let t = this._options;
1939
- this._isDate1904 = t.runtime?.isDate1904() ?? !1, this._locale = null, this._localeOverrides = null, this._theme = t.theme ?? new de().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 Pt()), this._listenerProtection?.(), this._protection = new It(void 0, this._options.readonly ?? !1), this._listenerProtection = this._protection.addListeners({ onChange: (e) => {
1939
+ this._isDate1904 = t.runtime?.isDate1904() ?? !1, this._locale = null, this._localeOverrides = null, this._theme = t.theme ?? new be().getDefaultTheme(), this._styles = t?.styles ?? new we(this._theme), this._ownStyles = !t.styles, this._styles.getTheme() || this._styles.setTheme(this.getTheme()), this._activeSheetOffset = 0, this.setView(new Pt()), this._listenerProtection?.(), this._protection = new It(void 0, this._options.readonly ?? !1), this._listenerProtection = this._protection.addListeners({ onChange: (e) => {
1940
1940
  n._emitter.notify("onProtectionChange");
1941
1941
  } });
1942
1942
  let n = this;
@@ -2060,14 +2060,14 @@ var Wt, $ = class e extends be {
2060
2060
  let e = this._getSheetRef(this.getSelectedSheetIndex());
2061
2061
  return e ? e?.sheet : null;
2062
2062
  }
2063
- getSheet(e, n = M.Visibility.Visible) {
2063
+ getSheet(e, n = T.Visibility.Visible) {
2064
2064
  if (e === void 0) return this.getSelectedSheet();
2065
2065
  if (!e) throw Error(s("error.workbook.sheetNameNotProvided"));
2066
2066
  let r = this._getSheetRef(e, n);
2067
2067
  if (!r) throw new t(s("error.workbook.sheetNameNotFound", { sheetName: e }));
2068
2068
  return r.sheet;
2069
2069
  }
2070
- getSheetAt(e, n = M.Visibility.Visible) {
2070
+ getSheetAt(e, n = T.Visibility.Visible) {
2071
2071
  let r = this._getSheetRef(e, n);
2072
2072
  if (!r) throw new t(function(e) {
2073
2073
  return s("error.workbook.sheetIndexNotFound", { index: e });
@@ -2080,18 +2080,18 @@ var Wt, $ = class e extends be {
2080
2080
  addSheet(e) {
2081
2081
  return this.getSheets().add(e);
2082
2082
  }
2083
- _getSheets(e = M.Visibility.Visible) {
2083
+ _getSheets(e = T.Visibility.Visible) {
2084
2084
  let t = this._getSheetRefs(e), n = [], r = t.length;
2085
2085
  for (let e = 0; e < r; e++) n.push(t[e].sheet);
2086
2086
  return n;
2087
2087
  }
2088
- _getSheetRefs(t = M.Visibility.Visible) {
2088
+ _getSheetRefs(t = T.Visibility.Visible) {
2089
2089
  let n = this._getState();
2090
- return n ? t === M.Visibility.Visible ? n.sheetRefsVisible : t === M.Visibility.Hidden ? n.sheetRefsVisibleAndHidden : t === M.Visibility.VeryHidden ? n.sheetRefsAll : e.EmptyArray : [];
2090
+ return n ? t === T.Visibility.Visible ? n.sheetRefsVisible : t === T.Visibility.Hidden ? n.sheetRefsVisibleAndHidden : t === T.Visibility.VeryHidden ? n.sheetRefsAll : e.EmptyArray : [];
2091
2091
  }
2092
- _getSheetRef(e, t = M.Visibility.Visible) {
2092
+ _getSheetRef(e, t = T.Visibility.Visible) {
2093
2093
  let n = null;
2094
- return typeof e == "number" ? this._getSheetRefs(t)[e] : (typeof e == "string" ? n = this._getState().refsByLowerCaseName.get(e.toLowerCase()) : e instanceof v ? n = this._getState().refsByInstance.get(e) : e?.id !== void 0 && (n = this._getState().refsById.get(e.id)), n);
2094
+ return typeof e == "number" ? this._getSheetRefs(t)[e] : (typeof e == "string" ? n = this._getState().refsByLowerCaseName.get(e.toLowerCase()) : e instanceof E ? n = this._getState().refsByInstance.get(e) : e?.id !== void 0 && (n = this._getState().refsById.get(e.id)), n);
2095
2095
  }
2096
2096
  _validateNewSheetName(e, t = !0) {
2097
2097
  if (e == null) return e;
@@ -2173,7 +2173,7 @@ var Wt, $ = class e extends be {
2173
2173
  }
2174
2174
  _addSheet(e, t = null, n = null) {
2175
2175
  t = this._nextSheetName(t);
2176
- let r = this._getState(), i = this._createSheet(r.lastId, t, M.Visibility.Visible, n, null);
2176
+ let r = this._getState(), i = this._createSheet(r.lastId, t, T.Visibility.Visible, n, null);
2177
2177
  if (!i) throw new f(s("error.workbook.sheetNameBlank"));
2178
2178
  return e && this._emitter.notify("onSheetsChange"), i;
2179
2179
  }
@@ -2181,7 +2181,7 @@ var Wt, $ = class e extends be {
2181
2181
  if (this._closed) throw Error(s("error.workbook.modelClosed"));
2182
2182
  if (!this._initializing && !this.getProtection().isStructureAllowed()) throw new f(s("error.workbook.protection"));
2183
2183
  let t = e, n = [], r = [], i = t.length;
2184
- for (let e = 0; e < i; e++) t[e].visibility === M.Visibility.Visible ? (n.push(t[e]), r.push(t[e])) : t[e].visibility === M.Visibility.Hidden && r.push(t[e]);
2184
+ for (let e = 0; e < i; e++) t[e].visibility === T.Visibility.Visible ? (n.push(t[e]), r.push(t[e])) : t[e].visibility === T.Visibility.Hidden && r.push(t[e]);
2185
2185
  this._updateState({
2186
2186
  sheetRefsAll: t,
2187
2187
  sheetRefsVisible: n,
@@ -2212,7 +2212,7 @@ var Wt, $ = class e extends be {
2212
2212
  m._validateDeleteSheet(e);
2213
2213
  },
2214
2214
  onDelete(e) {
2215
- let t = m._getSheetRef(e, M.Visibility.VeryHidden);
2215
+ let t = m._getSheetRef(e, T.Visibility.VeryHidden);
2216
2216
  if (!t) return;
2217
2217
  let n = m._beginCommit({ description: s("op.deleteSheet", { name: t.name }) });
2218
2218
  try {
@@ -2278,7 +2278,7 @@ var Wt, $ = class e extends be {
2278
2278
  let n = this._view.getActiveSheetId();
2279
2279
  n ??= (this._view.setActiveSheetId(t), t);
2280
2280
  let r = e.refsById.get(n);
2281
- r || (this._view.setActiveSheetId(t), r = e.refsById.get(t), n = t), r.visibility === M.Visibility.Visible && (this._activeSheetOffset = this._getOffsetForId(n, e.sheetRefsVisible));
2281
+ r || (this._view.setActiveSheetId(t), r = e.refsById.get(t), n = t), r.visibility === T.Visibility.Visible && (this._activeSheetOffset = this._getOffsetForId(n, e.sheetRefsVisible));
2282
2282
  }
2283
2283
  _validateDeleteSheet(e) {
2284
2284
  if (this._closed) throw Error(s("error.workbook.modelClosed"));
@@ -2323,7 +2323,7 @@ var Wt, $ = class e extends be {
2323
2323
  }
2324
2324
  if (!p && c && a === i && (f.done || !u || !f.done && m(f.value.getCoords(), u) >= 0) && (p = !0), p) {
2325
2325
  let e = f;
2326
- return f = Fe, e;
2326
+ return f = pe, e;
2327
2327
  }
2328
2328
  let s = f;
2329
2329
  return f = d.next(), s;
@@ -2335,7 +2335,7 @@ var Wt, $ = class e extends be {
2335
2335
  } };
2336
2336
  }
2337
2337
  replace(e, t, n) {
2338
- let r = 0, i = null, a = typeof t == "function", o = n?.maxCount ?? 2 ** 53 - 1, c = !n?.maxCount, l = "", u = typeof t == "string" ? Ne(t) : null, d = n?.description ?? m("op.replace"), f = this._transactions.beginCommit({ description: d });
2338
+ let r = 0, i = null, a = typeof t == "function", o = n?.maxCount ?? 2 ** 53 - 1, c = !n?.maxCount, l = "", u = typeof t == "string" ? De(t) : null, d = n?.description ?? m("op.replace"), f = this._transactions.beginCommit({ description: d });
2339
2339
  try {
2340
2340
  let d = null, p = null, h = e.next();
2341
2341
  for (; !h.done && r < o;) {
@@ -2400,20 +2400,20 @@ var Wt, $ = class e extends be {
2400
2400
  return l;
2401
2401
  }
2402
2402
  _createRange(e, t) {
2403
- let n = e ? { ...e } : null, r = n ? this._getSheetRef(n.scope, M.Visibility.VeryHidden) : null;
2403
+ let n = e ? { ...e } : null, r = n ? this._getSheetRef(n.scope, T.Visibility.VeryHidden) : null;
2404
2404
  if (!r) {
2405
2405
  let e = this.getSelectedSheet();
2406
2406
  return e ? (delete n?.scope, Ht(n, n ? {
2407
- scope: N,
2407
+ scope: F,
2408
2408
  ...e.getEntireRange().getCoords()
2409
2409
  } : null)) : void console.warn(s("error.workbook.noVisibleRefs"));
2410
2410
  }
2411
2411
  let i = r.sheet, a = null;
2412
- return t && (a = { getOptions: t }), new Gt(e, D(i), this, a);
2412
+ return t && (a = { getOptions: t }), new Gt(e, S(i), this, a);
2413
2413
  }
2414
2414
  _createRanges(e, t) {
2415
2415
  let n = this.getSelectedSheet(), r = null;
2416
- return t && (r = { getOptions: t }), new $(e, D(n), this, r);
2416
+ return t && (r = { getOptions: t }), new $(e, S(n), this, r);
2417
2417
  }
2418
2418
  getRange(e, n) {
2419
2419
  if (e === void 0) return this.getSelectedRange(n);
@@ -2422,7 +2422,7 @@ var Wt, $ = class e extends be {
2422
2422
  if (t.length !== 1) throw new f(s("error.address.singleRangeOnlyAlt"));
2423
2423
  return this._createRange(t[0], n);
2424
2424
  } catch (n) {
2425
- throw n instanceof t ? new t(n.message) : new f(n.message ?? re(e));
2425
+ throw n instanceof t ? new t(n.message) : new f(n.message ?? Pe(e));
2426
2426
  }
2427
2427
  }
2428
2428
  getCell(e) {
@@ -2433,21 +2433,21 @@ var Wt, $ = class e extends be {
2433
2433
  }
2434
2434
  getRanges(e, t) {
2435
2435
  let n = this._rangesAddressToCoords(e);
2436
- if (n.length === 0) throw new f(re(e));
2436
+ if (n.length === 0) throw new f(Pe(e));
2437
2437
  return this._createRanges(n, t);
2438
2438
  }
2439
2439
  _createGraphRanges(e, t) {
2440
2440
  let n = [];
2441
2441
  for (let e = 0; e < t.length; e++) {
2442
- let r = t[e], i = (r.sheetName ? this._getSheetRef(r.sheetName, M.Visibility.VeryHidden) : null)?.sheet ?? this.getSelectedSheet();
2443
- i && n.push(new fe(r, D(i), null));
2442
+ let r = t[e], i = (r.sheetName ? this._getSheetRef(r.sheetName, T.Visibility.VeryHidden) : null)?.sheet ?? this.getSelectedSheet();
2443
+ i && n.push(new Ee(r, S(i), null));
2444
2444
  }
2445
2445
  for (let t = 0; t < e.length; t++) n.push(e[t]);
2446
- return n.length === 0 ? null : new $(n, D(this.getSelectedSheet()), this, null);
2446
+ return n.length === 0 ? null : new $(n, S(this.getSelectedSheet()), this, null);
2447
2447
  }
2448
2448
  getStats(e) {
2449
2449
  if (this._closed) throw Error(s("error.workbook.modelClosed"));
2450
- let t = this._getSheets(M.Visibility.VeryHidden), n = t.length;
2450
+ let t = this._getSheets(T.Visibility.VeryHidden), n = t.length;
2451
2451
  if (n === 1) return t[0].getStats(e);
2452
2452
  let r = Array(n);
2453
2453
  for (let i = 0; i < n; i++) r[i] = t[i].getStats(e);
@@ -2476,7 +2476,7 @@ var Wt, $ = class e extends be {
2476
2476
  getSelectedCell() {
2477
2477
  return this.getSelectedSheet().getSelectedCell();
2478
2478
  }
2479
- _rangesAddressToCoords(e, t = !0, n = M.Visibility.Hidden) {
2479
+ _rangesAddressToCoords(e, t = !0, n = T.Visibility.Hidden) {
2480
2480
  if (!e) throw new f(s("error.address.noAddress"));
2481
2481
  let r = this.getSelectedSheet(), i = { ...r?.getEntireRange().getCoords() }, a = r?.getName();
2482
2482
  if (a && (i.scope = a), typeof e == "string") {
@@ -2486,7 +2486,7 @@ var Wt, $ = class e extends be {
2486
2486
  t === "r" ? r.rowStart = r.rowEnd = n.rowIndex : r.colStart = r.colEnd = n.colIndex, e = r;
2487
2487
  }
2488
2488
  }
2489
- let o = this, c = ae(e, i, ve, (e) => {
2489
+ let o = this, c = he(e, i, b, (e) => {
2490
2490
  if (!t) return null;
2491
2491
  if (typeof e == "string") {
2492
2492
  let t = o.getNames().getByName(e)?.getRanges?.();
@@ -2497,7 +2497,7 @@ var Wt, $ = class e extends be {
2497
2497
  for (let e = 0; e < l; e++) this._validateCoords(c[e], n);
2498
2498
  return c;
2499
2499
  }
2500
- _validateCoords(e, n = M.Visibility.Visible, r = s("error.sheet.oobRange")) {
2500
+ _validateCoords(e, n = T.Visibility.Visible, r = s("error.sheet.oobRange")) {
2501
2501
  if (e === null) return;
2502
2502
  let i = this.getSheet(e.scope, n).getEntireRange().getCoords();
2503
2503
  if (!l.isRangeWithinRange(e, i)) throw new t(r);
@@ -2541,23 +2541,23 @@ var Wt, $ = class e extends be {
2541
2541
  }
2542
2542
  return a;
2543
2543
  }
2544
- _setSheetVisibility(e, t = M.Visibility.Visible, n) {
2544
+ _setSheetVisibility(e, t = T.Visibility.Visible, n) {
2545
2545
  if (this._closed) throw Error(s("error.workbook.modelClosed"));
2546
2546
  if (!this.getProtection().isStructureAllowed()) throw new f(s("error.workbook.protection"));
2547
- let r = this._getSheetRef(e, M.Visibility.VeryHidden);
2547
+ let r = this._getSheetRef(e, T.Visibility.VeryHidden);
2548
2548
  if (!r) return null;
2549
2549
  if (t === r.visibility) return;
2550
2550
  let i = null, a = "";
2551
- t === M.Visibility.Visible ? a = m("op.unhideSheet") : t === M.Visibility.Hidden ? a = m("op.hideSheet") : t === M.Visibility.VeryHidden && (a = m("op.veryHideSheet"));
2551
+ t === T.Visibility.Visible ? a = m("op.unhideSheet") : t === T.Visibility.Hidden ? a = m("op.hideSheet") : t === T.Visibility.VeryHidden && (a = m("op.veryHideSheet"));
2552
2552
  let o = this.beginCommit(a);
2553
2553
  try {
2554
2554
  let e = this._getState().sheetRefsVisible;
2555
- if (t !== M.Visibility.Visible && e.length === 1 && e[0].id === r.id) throw new f(s("error.workbook.sheetOne"));
2555
+ if (t !== T.Visibility.Visible && e.length === 1 && e[0].id === r.id) throw new f(s("error.workbook.sheetOne"));
2556
2556
  let a = {
2557
2557
  ...r,
2558
2558
  visibility: t
2559
2559
  }, c = -1;
2560
- t !== M.Visibility.Visible && (c = this._getOffsetForId(r.id, e)), i = this._updateSheetRef(r, a).sheet, t !== M.Visibility.Visible && this._adjustRemoveSelectionIfRequired(c, r.id), this._adjustSheetNamesIfRequired(), o.commit(n);
2560
+ t !== T.Visibility.Visible && (c = this._getOffsetForId(r.id, e)), i = this._updateSheetRef(r, a).sheet, t !== T.Visibility.Visible && this._adjustRemoveSelectionIfRequired(c, r.id), this._adjustSheetNamesIfRequired(), o.commit(n);
2561
2561
  } catch (e) {
2562
2562
  throw o.rollback(), e;
2563
2563
  }
@@ -2598,7 +2598,7 @@ var Wt, $ = class e extends be {
2598
2598
  let t = this._getSheetRef(e);
2599
2599
  if (!t) throw new f(Z(e));
2600
2600
  let n = null;
2601
- return t.visibility !== M.Visibility.Visible && this._setSheetVisibility(t, M.Visibility.Visible), this._view.setActiveSheetId(t.id), n = t.sheet, n;
2601
+ return t.visibility !== T.Visibility.Visible && this._setSheetVisibility(t, T.Visibility.Visible), this._view.setActiveSheetId(t.id), n = t.sheet, n;
2602
2602
  }
2603
2603
  getProtection() {
2604
2604
  return this._protection;
@@ -2666,7 +2666,7 @@ var Wt, $ = class e extends be {
2666
2666
  }
2667
2667
  _fromJSON(e) {
2668
2668
  if (this._emitter.notify("onBeforeLoad", { params: e }), this._initState(), !e.sheets || e.sheets.length === 0) throw new f(s("error.workbook.sheetOne"));
2669
- e.theme && (this._theme = new ie(e.theme), this._styles.setTheme(this._theme));
2669
+ e.theme && (this._theme = new y(e.theme), this._styles.setTheme(this._theme));
2670
2670
  let t = this._strings.beginPersist(), n = this._resources.beginPersist(), r = this._styles.beginPersist();
2671
2671
  try {
2672
2672
  t.fromJSON(e.strings), n.fromJSON(e.resources), r.fromJSON(e.styles), e.date1904 && (this._isDate1904 = !0), e.locale && (this._locale = e.locale), e.localeOverrides && (this._localeOverrides = e.localeOverrides), e.view ||= {};
@@ -2674,8 +2674,8 @@ var Wt, $ = class e extends be {
2674
2674
  o !== null && (o = Math.min(Math.max(0, o), a - 1));
2675
2675
  let s = null, c = null, l = -1;
2676
2676
  for (let e = 0; e < a; e++) {
2677
- let t = i[e], n = t.visibility || M.Visibility.Visible, r = e;
2678
- c = r, n === M.Visibility.Visible ? (l++, s === null && (s = r)) : o !== null && o === r && (o = null), this._createSheet(r, t.name, n, l, t.sheet);
2677
+ let t = i[e], n = t.visibility || T.Visibility.Visible, r = e;
2678
+ c = r, n === T.Visibility.Visible ? (l++, s === null && (s = r)) : o !== null && o === r && (o = null), this._createSheet(r, t.name, n, l, t.sheet);
2679
2679
  }
2680
2680
  this._updateState({ lastId: c }), e.view.activeSheetId = o ?? s, this.setView(new Pt({ json: e.view })), this._adjustSheetNamesIfRequired(), this._listenerProtection?.();
2681
2681
  let u = this;
@@ -2695,7 +2695,7 @@ var Wt, $ = class e extends be {
2695
2695
  getBuiltInFunctions: () => t._calculation?.getFunctions(),
2696
2696
  onAdd: (e, n) => {
2697
2697
  let r = t._calculation;
2698
- r.getStatus() !== te.Status.Off && r.start().then(async () => {
2698
+ r.getStatus() !== Re.Status.Off && r.start().then(async () => {
2699
2699
  let e = n.getFunctions().getItems({ type: "formula" }), t = e.length;
2700
2700
  for (let n = 0; n < t; n++) {
2701
2701
  let t = e[n];
@@ -2731,7 +2731,7 @@ var Wt, $ = class e extends be {
2731
2731
  name: r.name,
2732
2732
  sheet: a
2733
2733
  };
2734
- r.visibility === M.Visibility.Visible ? l === null && (l = i) : o.visibility = r.visibility, r.id === s && (c = i), t.sheets.push(o);
2734
+ r.visibility === T.Visibility.Visible ? l === null && (l = i) : o.visibility = r.visibility, r.id === s && (c = i), t.sheets.push(o);
2735
2735
  }
2736
2736
  if (!n) {
2737
2737
  let e = o.toJSON();
@@ -2894,7 +2894,7 @@ var Wt, $ = class e extends be {
2894
2894
  }
2895
2895
  }, Yt = (e) => !!e && typeof e == "object" && typeof e.getPath == "function" && typeof e.canWrite == "function", Xt = new class {
2896
2896
  constructor() {
2897
- this._setInstalled = /* @__PURE__ */ new WeakSet(), this._backingStore = null, this._emitter = new A(this), this._registry = new Jt(), this._defaultStore = new Ye(() => this.getWriteFormats(), () => this.getReadFormats());
2897
+ this._setInstalled = /* @__PURE__ */ new WeakSet(), this._backingStore = null, this._emitter = new k(this), this._registry = new Jt(), this._defaultStore = new Ye(() => this.getWriteFormats(), () => this.getReadFormats());
2898
2898
  }
2899
2899
  getBackingStore() {
2900
2900
  return this._backingStore ?? this._defaultStore;
@@ -2953,13 +2953,13 @@ var Wt, $ = class e extends be {
2953
2953
  search: i,
2954
2954
  ext: a
2955
2955
  }))[0];
2956
- if (!o) throw Error(`No read format available for '${i ?? a}' input.`);
2957
- let s = n?.typedCreateWorkbookOptions, c = s ? Object.keys(s).find((e) => e.toLowerCase() === o.key.toLowerCase()) : void 0, l = {
2956
+ if (!o) throw new f(s("error.io.readFormatUnavailable", { format: i ?? a }));
2957
+ let c = n?.typedCreateWorkbookOptions, l = c ? Object.keys(c).find((e) => e.toLowerCase() === o.key.toLowerCase()) : void 0, u = {
2958
2958
  ...n,
2959
- ...c === void 0 ? void 0 : s[c]
2959
+ ...l === void 0 ? void 0 : c[l]
2960
2960
  };
2961
- delete l.typedCreateWorkbookOptions, delete l.source;
2962
- let u = r ?? new z(t.absolutePath ?? null, {
2961
+ delete u.typedCreateWorkbookOptions, delete u.source;
2962
+ let d = r ?? new z(t.absolutePath ?? null, {
2963
2963
  name: t.name ?? null,
2964
2964
  format: o.key,
2965
2965
  size: t.size ?? null,
@@ -2968,32 +2968,32 @@ var Wt, $ = class e extends be {
2968
2968
  r instanceof z && r.update({
2969
2969
  format: o.key,
2970
2970
  size: t.size ?? null
2971
- }), l.createWorkbookOptions = {
2972
- ...l.createWorkbookOptions || {},
2973
- origin: u
2974
- }, l.readonly !== void 0 && (l.createWorkbookOptions = {
2975
- readonly: l.readonly,
2976
- ...l.createWorkbookOptions
2977
- }, delete l.readonly), l.calcOnly && (l.createWorkbookOptions = {
2971
+ }), u.createWorkbookOptions = {
2972
+ ...u.createWorkbookOptions || {},
2973
+ origin: d
2974
+ }, u.readonly !== void 0 && (u.createWorkbookOptions = {
2975
+ readonly: u.readonly,
2976
+ ...u.createWorkbookOptions
2977
+ }, delete u.readonly), u.calcOnly && (u.createWorkbookOptions = {
2978
2978
  disableLoadAutoFit: !0,
2979
- ...l.createWorkbookOptions
2979
+ ...u.createWorkbookOptions
2980
2980
  });
2981
- let d = await this._decrypt(e, u, l);
2982
- if (d === null) return null;
2983
- e = d.bytes;
2984
- let f = l?.progress?.onStart?.bind(l.progress);
2985
- f && await Promise.resolve(f(u, t.size));
2981
+ let p = await this._decrypt(e, d, u);
2982
+ if (p === null) return null;
2983
+ e = p.bytes;
2984
+ let m = u?.progress?.onStart?.bind(u.progress);
2985
+ m && await Promise.resolve(m(d, t.size));
2986
2986
  try {
2987
- let t = await this._readArrayBuffer(e, o, l);
2988
- return d.password !== null && u.setPassword(d.password), l?.progress?.onComplete?.(u), this._emitter.notify("onRead", {
2987
+ let t = await this._readArrayBuffer(e, o, u);
2988
+ return p.password !== null && d.setPassword(p.password), u?.progress?.onComplete?.(d), this._emitter.notify("onRead", {
2989
2989
  params: {
2990
2990
  workbook: t,
2991
- origin: u
2991
+ origin: d
2992
2992
  },
2993
2993
  transactional: !1
2994
2994
  }), t;
2995
2995
  } catch (e) {
2996
- throw l?.progress?.onError?.(e), l?.progress?.onComplete?.(null), e;
2996
+ throw u?.progress?.onError?.(e), u?.progress?.onComplete?.(null), e;
2997
2997
  }
2998
2998
  }
2999
2999
  async _decrypt(e, t, n) {
@@ -3002,7 +3002,7 @@ var Wt, $ = class e extends be {
3002
3002
  bytes: e,
3003
3003
  password: null
3004
3004
  };
3005
- let o = null, s = async (t) => {
3005
+ let o = null, c = async (t) => {
3006
3006
  try {
3007
3007
  return o = await r.decode(e, t), !0;
3008
3008
  } catch (e) {
@@ -3010,27 +3010,30 @@ var Wt, $ = class e extends be {
3010
3010
  return !1;
3011
3011
  }
3012
3012
  };
3013
- if (n?.password && await s(n.password)) return {
3013
+ if (n?.password && await c(n.password)) return {
3014
3014
  bytes: o,
3015
3015
  password: n.password
3016
3016
  };
3017
- if (!n?.onPassword) throw new a(`'${t.getName() ?? "This file"}' is encrypted. Supply options.password or options.onPassword to open it.`);
3018
- let c = await Promise.resolve(n.onPassword({
3017
+ if (!n?.onPassword) {
3018
+ let e = t.getName();
3019
+ throw new a(e ? s("error.io.passwordRequired", { name: e }) : s("error.io.passwordRequiredUnnamed"));
3020
+ }
3021
+ let l = await Promise.resolve(n.onPassword({
3019
3022
  origin: t,
3020
3023
  encryption: r.key,
3021
- validate: s
3024
+ validate: c
3022
3025
  }));
3023
- if (c == null) return null;
3024
- if (o !== null || await s(c)) return {
3026
+ if (l == null) return null;
3027
+ if (o !== null || await c(l)) return {
3025
3028
  bytes: o,
3026
- password: c
3029
+ password: l
3027
3030
  };
3028
- throw new i();
3031
+ throw new i(s("error.io.passwordIncorrect"));
3029
3032
  }
3030
3033
  async writeArrayBuffer(e, t) {
3031
3034
  if (!t?.format) throw Error("A format must be specified to write to an ArrayBuffer (e.g. { format: 'xlsx' }).");
3032
3035
  let n = (await this._registry.getWriteFormats({ search: t.format }))[0];
3033
- if (!n) throw Error(`No write format available for '${t.format}'.`);
3036
+ if (!n) throw new f(s("error.io.writeFormatUnavailable", { format: t.format }));
3034
3037
  return this._writeArrayBuffer(e, n, t);
3035
3038
  }
3036
3039
  async write(e, t, n) {
@@ -3038,58 +3041,61 @@ var Wt, $ = class e extends be {
3038
3041
  if (!e.isIWorkbook) throw Error("Invalid workbook model provided. Must be an instance of IWorkbook.");
3039
3042
  let r = n, i = null;
3040
3043
  typeof t == "string" ? i = this.getOrigin(t) : Yt(t) ? i = t : t && (r = t);
3041
- let o, s = !i, c = i ?? e.getOrigin(), l = c.getFormat();
3042
- if ((r?.format || l) && (o = (await this._registry.getWriteFormats({ search: r?.format ?? l ?? void 0 }))[0]), o || c.getPath() && c.canWrite() && c.getExtension() || (o = (await this._registry.getWriteFormats({ ext: "sxl" }))[0] ?? (await this._registry.getWriteFormats())[0]), !o) throw Error("Unable to determine a write format. Specify options.format, or a destination with a known extension.");
3044
+ let o, c = !i, l = i ?? e.getOrigin(), u = l.getFormat();
3045
+ if ((r?.format || u) && (o = (await this._registry.getWriteFormats({ search: r?.format ?? u ?? void 0 }))[0]), o || l.getPath() && l.canWrite() && l.getExtension() || (o = (await this._registry.getWriteFormats({ ext: "sxl" }))[0] ?? (await this._registry.getWriteFormats())[0]), !o) throw new f(s("error.io.writeFormatUnresolved"));
3043
3046
  if (i && typeof t == "string") {
3044
3047
  let e = i.getPath();
3045
- e && !L(e) && i.update?.({ path: `${e}.${o.exts[0]}` });
3048
+ e && !D(e) && i.update?.({ path: `${e}.${o.exts[0]}` });
3046
3049
  }
3047
- let u = c.getEncryption(), d = e.getOrigin?.(), f = (c instanceof z ? c.getPassword() : null) ?? (d instanceof z ? d.getPassword() : null), p = c.isEncrypted() || (d?.isEncrypted() ?? !1), m = r?.password === void 0 ? f ?? (p ? void 0 : null) : r.password, h = null;
3048
- if (m === void 0) {
3049
- if (p) throw new a(`'${c.getName() ?? "This file"}' is encrypted. Supply options.password to re-encrypt it, or options.password = null to write it without a password.`);
3050
- } else if (m !== null && (h = await this._registry.getEncryption(u), !h)) throw Error("No encryption support is installed, so this workbook cannot be password protected.");
3051
- let g = `${c.getName() ?? "workbook"}.${o.exts[0]}`, _ = r?.progress, v = !1, y = this, b = null, x = {
3050
+ let d = l.getEncryption(), p = e.getOrigin?.(), m = (l instanceof z ? l.getPassword() : null) ?? (p instanceof z ? p.getPassword() : null), h = l.isEncrypted() || (p?.isEncrypted() ?? !1), g = r?.password === void 0 ? m ?? (h ? void 0 : null) : r.password, _ = null;
3051
+ if (g === void 0) {
3052
+ if (h) {
3053
+ let e = l.getName();
3054
+ throw new a(e ? s("error.io.passwordRequiredSave", { name: e }) : s("error.io.passwordRequiredSaveUnnamed"));
3055
+ }
3056
+ } else if (g !== null && (_ = await this._registry.getEncryption(d), !_)) throw new f(s("error.io.encryptionUnavailable"));
3057
+ let v = `${l.getName() ?? s("workbook.defaultName")}.${o.exts[0]}`, y = r?.progress, b = !1, x = this, S = null, ee = {
3052
3058
  workbook: e,
3053
3059
  format: o,
3054
- origin: c,
3055
- suggestedName: g,
3060
+ origin: l,
3061
+ suggestedName: v,
3056
3062
  prompt: r?.prompt,
3057
3063
  async encode(t) {
3058
3064
  await (async () => {
3059
- v || (v = !0, _?.onStart && await Promise.resolve(_.onStart(c)));
3060
- })(), b = e.getTransactions?.()?.getCurrentCommit() ?? b;
3061
- let n = t ? (await y._registry.getWriteFormats({ search: t }))[0] ?? o : o, i = await y._writeArrayBuffer(e, n, r);
3062
- return h ? h.encode(i, m) : i;
3065
+ b || (b = !0, y?.onStart && await Promise.resolve(y.onStart(l)));
3066
+ })(), S = e.getTransactions?.()?.getCurrentCommit() ?? S;
3067
+ let n = t ? (await x._registry.getWriteFormats({ search: t }))[0] ?? o : o, i = await x._writeArrayBuffer(e, n, r);
3068
+ return _ ? _.encode(i, g) : i;
3063
3069
  }
3064
- }, S = null;
3070
+ }, C = null;
3065
3071
  try {
3066
3072
  let t = this.getBackingStore();
3067
3073
  if (!t.write) throw Error("The active backing store is read-only (no write implementation).");
3068
- if (S = await t.write(x), S) {
3069
- m !== void 0 && S instanceof z && (S.setPassword(m), S.update({ encryption: h ? h.key : null }));
3070
- let t = b ?? e.getTransactions?.()?.getCurrentCommit() ?? null;
3074
+ if (C = await t.write(ee), C) {
3075
+ g !== void 0 && C instanceof z && (C.setPassword(g), C.update({ encryption: _ ? _.key : null }));
3076
+ let t = S ?? e.getTransactions?.()?.getCurrentCommit() ?? null;
3071
3077
  this._emitter.notify("onWrite", {
3072
3078
  params: {
3073
3079
  workbook: e,
3074
- origin: S,
3080
+ origin: C,
3075
3081
  commitId: t?.getId() ?? null,
3076
- save: s
3082
+ save: c
3077
3083
  },
3078
3084
  transactional: !1
3079
3085
  });
3080
3086
  }
3081
- _?.onComplete && await Promise.resolve(_.onComplete(S));
3087
+ y?.onComplete && await Promise.resolve(y.onComplete(C));
3082
3088
  } catch (e) {
3083
3089
  let t = e instanceof Error ? e : Error(String(e));
3084
- throw _?.onError && await Promise.resolve(_.onError(t)), _?.onComplete && await Promise.resolve(_.onComplete(null)), Error("Unable to write workbook.", { cause: e });
3090
+ throw y?.onError && await Promise.resolve(y.onError(t)), y?.onComplete && await Promise.resolve(y.onComplete(null)), t instanceof f ? t : Error(s("error.io.writeFailed", { reason: t.message }), { cause: e });
3085
3091
  }
3086
- return S;
3092
+ return C;
3087
3093
  }
3088
3094
  async writeAs(e, t, n) {
3089
3095
  if (!t) throw Error("A target must be provided for writeAs (use write(workbook) for a plain save).");
3090
3096
  let r = e?.getOrigin?.();
3091
3097
  if (!(r instanceof z)) return this.write(e, t, n);
3092
- let i = typeof t == "string" ? t : t.getPath(), a = i && L(i)?.toLowerCase() || null, o = a ? (await this._registry.getWriteFormats({ search: a }))[0]?.key ?? a : null, s = {
3098
+ let i = typeof t == "string" ? t : t.getPath(), a = i && D(i)?.toLowerCase() || null, o = a ? (await this._registry.getWriteFormats({ search: a }))[0]?.key ?? a : null, s = {
3093
3099
  path: r.getPath(),
3094
3100
  name: r.getName(),
3095
3101
  format: r.getFormat(),
@@ -3110,7 +3116,7 @@ var Wt, $ = class e extends be {
3110
3116
  return c;
3111
3117
  }
3112
3118
  _stripExtension(e) {
3113
- let t = L(e);
3119
+ let t = D(e);
3114
3120
  return t ? e.slice(0, e.length - t.length - 1) : e;
3115
3121
  }
3116
3122
  _baseName(e) {
@@ -3119,28 +3125,27 @@ var Wt, $ = class e extends be {
3119
3125
  return this._stripExtension(n) || null;
3120
3126
  }
3121
3127
  async _writeArrayBuffer(e, t, n) {
3122
- if (!t) throw Error(`Invalid write type for '${t}'.`);
3123
- try {
3124
- let r = t.handler;
3125
- if (!r) throw Error(`Unable to resolve handler for type: ${t.description ?? t}.`);
3126
- return r(e, {
3127
- ...n,
3128
- format: t.key
3129
- });
3130
- } catch (e) {
3131
- throw Error(`Unable to load handler for '${t}.'`, { cause: e });
3132
- }
3128
+ if (!t) throw Error("A write format must be provided.");
3129
+ let r = t.handler;
3130
+ if (!r) throw Error(`Unable to resolve a write handler for '${t.key}'.`);
3131
+ return r(e, {
3132
+ ...n,
3133
+ format: t.key
3134
+ });
3133
3135
  }
3134
3136
  async _readArrayBuffer(e, t, n) {
3135
3137
  if (!e) throw Error("ArrayBuffer must be specified.");
3136
3138
  if (!t) throw Error("format must be specified.");
3137
3139
  if (e.byteLength === 0) return new Kt(n?.createWorkbookOptions);
3138
3140
  let r, i = t.handler;
3139
- if (!i) throw Error(`Unable to resolve handler for format type: ${t?.description ?? t}.`);
3141
+ if (!i) throw Error(`Unable to resolve a read handler for '${t.key}'.`);
3140
3142
  try {
3141
3143
  r = await i(e, n);
3142
3144
  } catch (e) {
3143
- throw Error(`Unable to read ${t.description ?? t.key} — ${e?.message ?? String(e)}`, { cause: e });
3145
+ throw e instanceof f ? e : new f(s("error.io.readFailed", {
3146
+ format: t.description ?? t.key,
3147
+ reason: e?.message ?? String(e)
3148
+ }), { cause: e });
3144
3149
  }
3145
3150
  return r;
3146
3151
  }
@@ -3160,7 +3165,7 @@ function Qt(e = 6e4) {
3160
3165
  return new Date(Math.floor(Date.now() / e) * e);
3161
3166
  }
3162
3167
  Wt ||= {};
3163
- var $t = class extends Se {
3168
+ var $t = class extends Ce {
3164
3169
  constructor(e) {
3165
3170
  super(e);
3166
3171
  }