@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,17 +1,16 @@
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 { I as e, K as t, c as n, d as r, z as i } from "./DmxxEaNdjPB6nBgy.mjs";
8
- import { i as a, l as o } from "./B1ZEbc_b-Hug9WON.mjs";
9
- import { Rt as s, Xt as c, it as l, rt as u, sn as d, tt as f } from "./Cl_mxlCr73V-Yg6k.mjs";
10
- import { _ as p, t as m } from "./BSlFBKA1YartFibf.mjs";
11
- import { t as h } from "./CHCc5YuSbtNgC6qQ.mjs";
12
- import { $ as g, A as _, B as v, C as y, D as b, E as x, F as ee, I as te, J as ne, L as re, M as ie, N as ae, P as oe, Q as se, U as ce, V as le, W as ue, X as S, _ as C, a as w, at as T, b as de, et as fe, h as E, j as D, l as O, m as k, nt as A, q as pe, rt as me, t as j, u as M, y as he, z as ge } from "./BdZUKtFZuJHAUStY.mjs";
13
- import { a as N, c as _e, d as P, h as ve, i as ye, l as be, n as xe, p as Se, s as Ce, t as we, u as Te } from "./BD1aTBqOuoKSzGSD.mjs";
14
- var Ee = /* @__PURE__ */ new Uint8Array(), F = class e {
7
+ import { I as e, K as t, c as n, d as r, z as i } from "./CzCX-Wad3yMcEHob2.js";
8
+ import { i as a, l as o } from "./2F7YZkGv5ARgpyZp2.js";
9
+ import { K as s, n as c, nt as l, ot as u, p as d, v as f } from "./B3g1fc-3zQH4IhzA2.js";
10
+ import { f as p, m } from "./DQSmYw6FezlICa7N2.js";
11
+ import { $ as h, C as g, Ct as _, F as v, Ht as y, It as b, K as ee, M as te, O as ne, St as x, Tt as re, Vt as ie, W as S, X as ae, Y as oe, _ as se, _t as ce, b as le, c as C, ct as w, d as T, f as E, ht as D, i as ue, it as de, j as fe, kt as O, l as k, lt as pe, m as me, mt as A, nt as j, o as M, q as N, r as P, tt as he, ut as ge, wt as _e, y as ve, yt as ye, z as be, zt as xe } from "./D0-ySZmNB4p2PDsi2.js";
12
+ import { a as Se, c as Ce, i as F, l as we, n as Te, o as I, r as L, s as Ee, t as De } from "./BbQdrdBSar3saQX32.js";
13
+ var Oe = /* @__PURE__ */ new Uint8Array(), R = class e {
15
14
  constructor(e, t, n) {
16
15
  this.buffers = /* @__PURE__ */ new Map(), this.zip = e, this.entries = t, this.rawBuffer = n;
17
16
  }
@@ -19,7 +18,7 @@ var Ee = /* @__PURE__ */ new Uint8Array(), F = class e {
19
18
  return e.startsWith("/") ? e.slice(1) : e;
20
19
  }
21
20
  static async create(t) {
22
- let n = t instanceof Blob ? Ee : t instanceof Uint8Array ? t : new Uint8Array(t), r = new O(t instanceof Blob ? new S(t) : new g(n)), i = /* @__PURE__ */ new Map();
21
+ let n = t instanceof Blob ? Oe : t instanceof Uint8Array ? t : new Uint8Array(t), r = new D(t instanceof Blob ? new T(t) : new M(n)), i = /* @__PURE__ */ new Map();
23
22
  for (let e of await r.getEntries()) e.directory || i.set(e.filename, e);
24
23
  return new e(r, i, n);
25
24
  }
@@ -85,18 +84,18 @@ var Ee = /* @__PURE__ */ new Uint8Array(), F = class e {
85
84
  async close() {
86
85
  await this.zip.close();
87
86
  }
88
- }, I = class {
87
+ }, ke = class {
89
88
  constructor(e) {
90
- this._sink = e, this._samples = [], this._t0 = L(), this._tPrev = this._t0, this._heapPrev = De();
89
+ this._sink = e, this._samples = [], this._t0 = z(), this._tPrev = this._t0, this._heapPrev = Ae();
91
90
  }
92
91
  mark(e) {
93
- let t = L(), n = De(), r = {
92
+ let t = z(), n = Ae(), r = {
94
93
  label: e,
95
94
  tMs: t - this._t0,
96
95
  dtMs: t - this._tPrev,
97
96
  heapBytes: n,
98
97
  dHeapBytes: n !== void 0 && this._heapPrev !== void 0 ? n - this._heapPrev : void 0,
99
- rssBytes: Oe()
98
+ rssBytes: je()
100
99
  };
101
100
  this._tPrev = t, this._heapPrev = n, this._samples.push(r), this._sink?.(r);
102
101
  }
@@ -108,91 +107,91 @@ var Ee = /* @__PURE__ */ new Uint8Array(), F = class e {
108
107
  phase: e.label,
109
108
  tMs: Math.round(e.tMs),
110
109
  dtMs: Math.round(e.dtMs),
111
- heapMB: e.heapBytes === void 0 ? "—" : R(e.heapBytes / 1048576),
112
- dHeapMB: e.dHeapBytes === void 0 ? "—" : R(e.dHeapBytes / 1048576),
113
- rssMB: e.rssBytes === void 0 ? "—" : R(e.rssBytes / 1048576)
110
+ heapMB: e.heapBytes === void 0 ? "—" : B(e.heapBytes / 1048576),
111
+ dHeapMB: e.dHeapBytes === void 0 ? "—" : B(e.dHeapBytes / 1048576),
112
+ rssMB: e.rssBytes === void 0 ? "—" : B(e.rssBytes / 1048576)
114
113
  }));
115
114
  }
116
- }, L = typeof performance == "object" && typeof performance.now == "function" ? () => performance.now() : () => Date.now();
117
- function De() {
115
+ }, z = typeof performance == "object" && typeof performance.now == "function" ? () => performance.now() : () => Date.now();
116
+ function Ae() {
118
117
  let e = typeof performance == "object" ? performance.memory : void 0;
119
118
  if (e && typeof e.usedJSHeapSize == "number") return e.usedJSHeapSize;
120
119
  let t = globalThis.process;
121
120
  return typeof t == "object" && typeof t.memoryUsage == "function" ? t.memoryUsage().heapUsed : void 0;
122
121
  }
123
- function Oe() {
122
+ function je() {
124
123
  let e = globalThis.process;
125
124
  if (typeof e == "object" && typeof e.memoryUsage == "function") return e.memoryUsage().rss;
126
125
  }
127
- function R(e) {
126
+ function B(e) {
128
127
  return Math.round(10 * e) / 10;
129
128
  }
130
- var ke = ":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿", z = `-${ke}.0-9·̀-ͯ‿-⁀`, Ae = (RegExp(`^[${ke}]$`, "u"), RegExp(`^[${z}]$`, "u"), RegExp(`^[${ke}][${z}]*$`, "u")), B = (RegExp(`^[${z}]+$`, "u"), [
129
+ var V = ":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿", H = `-${V}.0-9·̀-ͯ‿-⁀`, U = (RegExp(`^[${V}]$`, "u"), RegExp(`^[${H}]$`, "u"), RegExp(`^[${V}][${H}]*$`, "u")), Me = (RegExp(`^[${H}]+$`, "u"), [
131
130
  32,
132
131
  10,
133
132
  13,
134
133
  9
135
134
  ]);
136
- function V(e) {
135
+ function Ne(e) {
137
136
  return e >= 65 && e <= 90 || e >= 97 && e <= 122 || e === 58 || e === 95 || e === 8204 || e === 8205 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 767 || e >= 880 && e <= 893 || e >= 895 && e <= 8191 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
138
137
  }
139
- var je = ":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿", Me = `-${je}.0-9·̀-ͯ‿-⁀`;
140
- RegExp(`^[${je}]$`, "u"), RegExp(`^[${Me}]$`, "u"), RegExp(`^[${je}][${Me}]*$`, "u"), RegExp(`^[${Me}]+$`, "u");
141
- var H = "A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿", Ne = `-${H}.0-9·̀-ͯ‿-⁀`, Pe = (RegExp(`^[${H}]$`, "u"), RegExp(`^[${Ne}]$`, "u"), RegExp(`^[${H}][${Ne}]*$`, "u"));
142
- function Fe(e) {
138
+ var Pe = ":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿", Fe = `-${Pe}.0-9·̀-ͯ‿-⁀`;
139
+ RegExp(`^[${Pe}]$`, "u"), RegExp(`^[${Fe}]$`, "u"), RegExp(`^[${Pe}][${Fe}]*$`, "u"), RegExp(`^[${Fe}]+$`, "u");
140
+ var Ie = "A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿", Le = `-${Ie}.0-9·̀-ͯ‿-⁀`, Re = (RegExp(`^[${Ie}]$`, "u"), RegExp(`^[${Le}]$`, "u"), RegExp(`^[${Ie}][${Le}]*$`, "u"));
141
+ function ze(e) {
143
142
  return e >= 65 && e <= 90 || e === 95 || e >= 97 && e <= 122 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 767 || e >= 880 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
144
143
  }
145
- var U, W = function(e) {
144
+ var Be, W = function(e) {
146
145
  return e === 32 || e === 10 || e === 13 || e === 9;
147
- }, Ie = function(e) {
146
+ }, Ve = function(e) {
148
147
  return e >= 32 && e <= 55295 || e === 10 || e === 13 || e === 9 || e >= 57344 && e <= 65533 || e >= 65536 && e <= 1114111;
149
- }, Le = V, Re = function(e) {
150
- return V(e) || e >= 48 && e <= 57 || e === 45 || e === 46 || e === 183 || e >= 768 && e <= 879 || e >= 8255 && e <= 8256;
151
- }, ze = B, Be = Ae, Ve = function(e) {
148
+ }, He = Ne, Ue = function(e) {
149
+ return Ne(e) || e >= 48 && e <= 57 || e === 45 || e === 46 || e === 183 || e >= 768 && e <= 879 || e >= 8255 && e <= 8256;
150
+ }, We = Me, Ge = U, Ke = function(e) {
152
151
  return e >= 1 && e <= 55295 || e >= 57344 && e <= 65533 || e >= 65536 && e <= 1114111;
153
- }, He = Fe, Ue = function(e) {
154
- return Fe(e) || e === 45 || e === 46 || e >= 48 && e <= 57 || e === 183 || e >= 768 && e <= 879 || e >= 8255 && e <= 8256;
155
- }, We = Pe, Ge = "http://www.w3.org/XML/1998/namespace", Ke = "http://www.w3.org/2000/xmlns/", qe = {
152
+ }, qe = ze, Je = function(e) {
153
+ return ze(e) || e === 45 || e === 46 || e >= 48 && e <= 57 || e === 183 || e >= 768 && e <= 879 || e >= 8255 && e <= 8256;
154
+ }, Ye = Re, Xe = "http://www.w3.org/XML/1998/namespace", Ze = "http://www.w3.org/2000/xmlns/", G = {
156
155
  __proto__: null,
157
- xml: Ge,
158
- xmlns: Ke
159
- }, Je = {
156
+ xml: Xe,
157
+ xmlns: Ze
158
+ }, Qe = {
160
159
  __proto__: null,
161
160
  amp: "&",
162
161
  gt: ">",
163
162
  lt: "<",
164
163
  quot: "\"",
165
164
  apos: "'"
166
- }, G = -1, K = -2, q = 13, Ye = 33, Xe = 10, Ze = 60, Qe = 61, J = 62, Y = 63, $e = 93, et = (e) => e === 34 || e === 39, tt = [34, 39], nt = [
167
- ...tt,
165
+ }, K = -1, $e = -2, q = 13, et = 33, tt = 10, nt = 60, rt = 61, J = 62, Y = 63, it = 93, at = (e) => e === 34 || e === 39, ot = [34, 39], st = [
166
+ ...ot,
168
167
  91,
169
168
  J
170
- ], rt = [
171
- ...tt,
172
- Ze,
173
- $e
174
- ], it = [
175
- Qe,
169
+ ], ct = [
170
+ ...ot,
171
+ nt,
172
+ it
173
+ ], lt = [
174
+ rt,
176
175
  Y,
177
- ...ze
178
- ], at = [
179
- ...ze,
176
+ ...We
177
+ ], ut = [
178
+ ...We,
180
179
  J,
181
180
  38,
182
- Ze
181
+ nt
183
182
  ];
184
- function ot(e, t, n) {
183
+ function dt(e, t, n) {
185
184
  switch (t) {
186
185
  case "xml":
187
- n !== Ge && e.fail(`xml prefix must be bound to ${Ge}.`);
186
+ n !== Xe && e.fail(`xml prefix must be bound to ${Xe}.`);
188
187
  break;
189
- case "xmlns": n !== Ke && e.fail(`xmlns prefix must be bound to ${Ke}.`);
188
+ case "xmlns": n !== Ze && e.fail(`xmlns prefix must be bound to ${Ze}.`);
190
189
  }
191
190
  switch (n) {
192
- case Ke:
193
- e.fail(t === "" ? `the default namespace may not be set to ${n}.` : `may not assign a prefix (even "xmlns") to the URI ${Ke}.`);
191
+ case Ze:
192
+ e.fail(t === "" ? `the default namespace may not be set to ${n}.` : `may not assign a prefix (even "xmlns") to the URI ${Ze}.`);
194
193
  break;
195
- case Ge: switch (t) {
194
+ case Xe: switch (t) {
196
195
  case "xml": break;
197
196
  case "":
198
197
  e.fail(`the default namespace may not be set to ${n}.`);
@@ -201,7 +200,7 @@ function ot(e, t, n) {
201
200
  }
202
201
  }
203
202
  }
204
- var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
203
+ var ft, pt = (e) => Ye.test(e), mt = (e) => Ge.test(e), ht = {
205
204
  xmldecl: "xmlDeclHandler",
206
205
  text: "textHandler",
207
206
  processinginstruction: "piHandler",
@@ -215,7 +214,7 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
215
214
  error: "errorHandler",
216
215
  end: "endHandler",
217
216
  ready: "readyHandler"
218
- }, dt = class {
217
+ }, gt = class {
219
218
  get closed() {
220
219
  return this._closed;
221
220
  }
@@ -223,15 +222,15 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
223
222
  this.i = 0, this.prevI = 0, this.opt = e ?? {}, this.fragmentOpt = !!this.opt.fragment;
224
223
  let t = this.xmlnsOpt = !!this.opt.xmlns;
225
224
  if (this.trackPosition = !1 !== this.opt.position, this.fileName = this.opt.fileName, t) {
226
- this.nameStartCheck = He, this.nameCheck = Ue, this.isName = ct, this.processAttribs = this.processAttribsNS, this.pushAttrib = this.pushAttribNS, this.ns = {
225
+ this.nameStartCheck = qe, this.nameCheck = Je, this.isName = pt, this.processAttribs = this.processAttribsNS, this.pushAttrib = this.pushAttribNS, this.ns = {
227
226
  __proto__: null,
228
- ...qe
227
+ ...G
229
228
  };
230
229
  let e = this.opt.additionalNamespaces;
231
230
  e != null && (function(e, t) {
232
- for (let n of Object.keys(t)) ot(e, n, t[n]);
231
+ for (let n of Object.keys(t)) dt(e, n, t[n]);
233
232
  }(this, e), Object.assign(this.ns, e));
234
- } else this.nameStartCheck = Le, this.nameCheck = Re, this.isName = lt, this.processAttribs = this.processAttribsPlain, this.pushAttrib = this.pushAttribPlain;
233
+ } else this.nameStartCheck = He, this.nameCheck = Ue, this.isName = mt, this.processAttribs = this.processAttribsPlain, this.pushAttrib = this.pushAttribPlain;
235
234
  this.stateTable = [
236
235
  this.sBegin,
237
236
  this.sBeginWhitespace,
@@ -293,7 +292,7 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
293
292
  version: void 0,
294
293
  encoding: void 0,
295
294
  standalone: void 0
296
- }, this.line = 1, this.column = 0, this.ENTITIES = Object.create(Je), this.readyHandler?.();
295
+ }, this.line = 1, this.column = 0, this.ENTITIES = Object.create(Qe), this.readyHandler?.();
297
296
  }
298
297
  get position() {
299
298
  return this.chunkPosition + this.i;
@@ -302,10 +301,10 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
302
301
  return this.position - this.positionAtNewLine;
303
302
  }
304
303
  on(e, t) {
305
- this[ut[e]] = t;
304
+ this[ht[e]] = t;
306
305
  }
307
306
  off(e) {
308
- this[ut[e]] = void 0;
307
+ this[ht[e]] = void 0;
309
308
  }
310
309
  makeError(e) {
311
310
  let t = this.fileName ?? "";
@@ -331,13 +330,13 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
331
330
  }
332
331
  getCode10() {
333
332
  let e = this.chunk, t = this.i;
334
- if (this.prevI = t, this.i++, t >= e.length) return G;
333
+ if (this.prevI = t, this.i++, t >= e.length) return K;
335
334
  let n = e.charCodeAt(t);
336
335
  if (this.column++, n < 55296) {
337
336
  if (n >= 32 || n === 9) return n;
338
337
  switch (n) {
339
- case Xe: return this.line++, this.column = 0, this.positionAtNewLine = this.position, Xe;
340
- case 13: return e.charCodeAt(t + 1) === Xe && (this.i = t + 2), this.line++, this.column = 0, this.positionAtNewLine = this.position, K;
338
+ case tt: return this.line++, this.column = 0, this.positionAtNewLine = this.position, tt;
339
+ case 13: return e.charCodeAt(t + 1) === tt && (this.i = t + 2), this.line++, this.column = 0, this.positionAtNewLine = this.position, $e;
341
340
  default: return this.fail("disallowed character."), n;
342
341
  }
343
342
  }
@@ -347,18 +346,18 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
347
346
  }
348
347
  getCode11() {
349
348
  let { chunk: e, i: t } = this;
350
- if (this.prevI = t, this.i = t + 1, t >= e.length) return G;
349
+ if (this.prevI = t, this.i = t + 1, t >= e.length) return K;
351
350
  let n = e.charCodeAt(t);
352
351
  if (this.column++, n < 55296) {
353
352
  if (n > 31 && n < 127 || n > 159 && n !== 8232 || n === 9) return n;
354
353
  switch (n) {
355
- case Xe: return this.line++, this.column = 0, this.positionAtNewLine = this.position, Xe;
354
+ case tt: return this.line++, this.column = 0, this.positionAtNewLine = this.position, tt;
356
355
  case 13: {
357
356
  let n = e.charCodeAt(t + 1);
358
- n !== Xe && n !== 133 || (this.i = t + 2);
357
+ n !== tt && n !== 133 || (this.i = t + 2);
359
358
  }
360
359
  case 133:
361
- case 8232: return this.line++, this.column = 0, this.positionAtNewLine = this.position, K;
360
+ case 8232: return this.line++, this.column = 0, this.positionAtNewLine = this.position, $e;
362
361
  default: return this.fail("disallowed character."), n;
363
362
  }
364
363
  }
@@ -368,7 +367,7 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
368
367
  }
369
368
  getCodeNorm() {
370
369
  let e = this.getCode();
371
- return e === K ? Xe : e;
370
+ return e === $e ? tt : e;
372
371
  }
373
372
  unGet() {
374
373
  this.i = this.prevI, this.column--;
@@ -376,8 +375,8 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
376
375
  captureTo(e) {
377
376
  let { i: t } = this, { chunk: n } = this;
378
377
  for (;;) {
379
- let r = this.getCode(), i = r === K, a = i ? Xe : r;
380
- if (a === G || e.includes(a)) return this.text += n.slice(t, this.prevI), a;
378
+ let r = this.getCode(), i = r === $e, a = i ? tt : r;
379
+ if (a === K || e.includes(a)) return this.text += n.slice(t, this.prevI), a;
381
380
  i && (this.text += `${n.slice(t, this.prevI)}\n`, t = this.i);
382
381
  }
383
382
  }
@@ -386,10 +385,10 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
386
385
  for (;;) {
387
386
  let r = this.getCode();
388
387
  switch (r) {
389
- case K:
390
- this.text += `${n.slice(t, this.prevI)}\n`, t = this.i, r = Xe;
388
+ case $e:
389
+ this.text += `${n.slice(t, this.prevI)}\n`, t = this.i, r = tt;
391
390
  break;
392
- case G: return this.text += n.slice(t), !1;
391
+ case K: return this.text += n.slice(t), !1;
393
392
  }
394
393
  if (r === e) return this.text += n.slice(t, this.prevI), !0;
395
394
  }
@@ -398,18 +397,18 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
398
397
  let { chunk: e, i: t } = this;
399
398
  for (;;) {
400
399
  let n = this.getCode();
401
- if (n === G) return this.name += e.slice(t), G;
402
- if (!Re(n)) return this.name += e.slice(t, this.prevI), n === K ? Xe : n;
400
+ if (n === K) return this.name += e.slice(t), K;
401
+ if (!Ue(n)) return this.name += e.slice(t, this.prevI), n === $e ? tt : n;
403
402
  }
404
403
  }
405
404
  skipSpaces() {
406
405
  for (;;) {
407
406
  let e = this.getCodeNorm();
408
- if (e === G || !W(e)) return e;
407
+ if (e === K || !W(e)) return e;
409
408
  }
410
409
  }
411
410
  setXMLVersion(e) {
412
- this.currentXMLVersion = e, e === "1.0" ? (this.isChar = Ie, this.getCode = this.getCode10) : (this.isChar = Ve, this.getCode = this.getCode11);
411
+ this.currentXMLVersion = e, e === "1.0" ? (this.isChar = Ve, this.getCode = this.getCode10) : (this.isChar = Ke, this.getCode = this.getCode11);
413
412
  }
414
413
  sBegin() {
415
414
  this.chunk.charCodeAt(0) === 65279 && (this.i++, this.column++), this.state = 1;
@@ -417,21 +416,21 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
417
416
  sBeginWhitespace() {
418
417
  let e = this.i, t = this.skipSpaces();
419
418
  switch (this.prevI !== e && (this.xmlDeclPossible = !1), t) {
420
- case Ze:
419
+ case nt:
421
420
  if (this.state = 15, this.text.length !== 0) throw Error("no-empty text at start");
422
421
  break;
423
- case G: break;
422
+ case K: break;
424
423
  default: this.unGet(), this.state = q, this.xmlDeclPossible = !1;
425
424
  }
426
425
  }
427
426
  sDoctype() {
428
- let e = this.captureTo(nt);
427
+ let e = this.captureTo(st);
429
428
  switch (e) {
430
429
  case J:
431
430
  this.doctypeHandler?.(this.text), this.text = "", this.state = q, this.doctype = !0;
432
431
  break;
433
- case G: break;
434
- default: this.text += String.fromCodePoint(e), e === 91 ? this.state = 4 : et(e) && (this.state = 3, this.q = e);
432
+ case K: break;
433
+ default: this.text += String.fromCodePoint(e), e === 91 ? this.state = 4 : at(e) && (this.state = 3, this.q = e);
435
434
  }
436
435
  }
437
436
  sDoctypeQuote() {
@@ -439,8 +438,8 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
439
438
  this.captureToChar(e) && (this.text += String.fromCodePoint(e), this.q = null, this.state = 2);
440
439
  }
441
440
  sDTD() {
442
- let e = this.captureTo(rt);
443
- e !== G && (this.text += String.fromCodePoint(e), e === $e ? this.state = 2 : e === Ze ? this.state = 6 : et(e) && (this.state = 5, this.q = e));
441
+ let e = this.captureTo(ct);
442
+ e !== K && (this.text += String.fromCodePoint(e), e === it ? this.state = 2 : e === nt ? this.state = 6 : at(e) && (this.state = 5, this.q = e));
444
443
  }
445
444
  sDTDQuoted() {
446
445
  let e = this.q;
@@ -486,7 +485,7 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
486
485
  sEntity() {
487
486
  let { i: e } = this, { chunk: t } = this;
488
487
  t: for (;;) switch (this.getCode()) {
489
- case K:
488
+ case $e:
490
489
  this.entity += `${t.slice(e, this.prevI)}\n`, e = this.i;
491
490
  break;
492
491
  case 59: {
@@ -494,14 +493,14 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
494
493
  this.state = r, i === "" ? (this.fail("empty entity name."), n = "&;") : (n = this.parseEntity(i), this.entity = ""), r === q && this.textHandler === void 0 || (this.text += n);
495
494
  break t;
496
495
  }
497
- case G:
496
+ case K:
498
497
  this.entity += t.slice(e);
499
498
  break t;
500
499
  }
501
500
  }
502
501
  sOpenWaka() {
503
502
  let e = this.getCode();
504
- if (Le(e)) this.state = 34, this.unGet(), this.xmlDeclPossible = !1;
503
+ if (He(e)) this.state = 34, this.unGet(), this.xmlDeclPossible = !1;
505
504
  else switch (e) {
506
505
  case 47:
507
506
  this.state = 43, this.xmlDeclPossible = !1;
@@ -541,11 +540,11 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
541
540
  e === J ? this.state = q : (this.fail("malformed comment."), this.text += `--${String.fromCodePoint(e)}`, this.state = 17);
542
541
  }
543
542
  sCData() {
544
- this.captureToChar($e) && (this.state = 21);
543
+ this.captureToChar(it) && (this.state = 21);
545
544
  }
546
545
  sCDataEnding() {
547
546
  let e = this.getCodeNorm();
548
- e === $e ? this.state = 22 : (this.text += `]${String.fromCodePoint(e)}`, this.state = 20);
547
+ e === it ? this.state = 22 : (this.text += `]${String.fromCodePoint(e)}`, this.state = 20);
549
548
  }
550
549
  sCDataEnding2() {
551
550
  let e = this.getCodeNorm();
@@ -553,7 +552,7 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
553
552
  case J:
554
553
  this.cdataHandler?.(this.text), this.text = "", this.state = q;
555
554
  break;
556
- case $e:
555
+ case it:
557
556
  this.text += "]";
558
557
  break;
559
558
  default: this.text += `]]${String.fromCodePoint(e)}`, this.state = 20;
@@ -567,11 +566,11 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
567
566
  let { chunk: e, i: t } = this;
568
567
  for (;;) {
569
568
  let n = this.getCodeNorm();
570
- if (n === G) return void (this.piTarget += e.slice(t));
569
+ if (n === K) return void (this.piTarget += e.slice(t));
571
570
  if (!this.nameCheck(n)) {
572
571
  this.piTarget += e.slice(t, this.prevI);
573
572
  let r = n === Y;
574
- r || W(n) ? this.piTarget === "xml" ? (this.xmlDeclPossible || this.fail("an XML declaration must be at the start of the document."), this.state = r ? Ye : 27) : this.state = r ? 26 : 25 : (this.fail("disallowed character in processing instruction name."), this.piTarget += String.fromCodePoint(n));
573
+ r || W(n) ? this.piTarget === "xml" ? (this.xmlDeclPossible || this.fail("an XML declaration must be at the start of the document."), this.state = r ? et : 27) : this.state = r ? 26 : 25 : (this.fail("disallowed character in processing instruction name."), this.piTarget += String.fromCodePoint(n));
575
574
  break;
576
575
  }
577
576
  }
@@ -595,12 +594,12 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
595
594
  }
596
595
  sXMLDeclNameStart() {
597
596
  let e = this.skipSpaces();
598
- e === Y ? this.state = Ye : e !== G && (this.state = 28, this.name = String.fromCodePoint(e));
597
+ e === Y ? this.state = et : e !== K && (this.state = 28, this.name = String.fromCodePoint(e));
599
598
  }
600
599
  sXMLDeclName() {
601
- let e = this.captureTo(it);
602
- if (e === Y) return this.state = Ye, this.name += this.text, this.text = "", void this.fail("XML declaration is incomplete.");
603
- if (W(e) || e === Qe) {
600
+ let e = this.captureTo(lt);
601
+ if (e === Y) return this.state = et, this.name += this.text, this.text = "", void this.fail("XML declaration is incomplete.");
602
+ if (W(e) || e === rt) {
604
603
  if (this.name += this.text, this.text = "", !this.xmlDeclExpects.includes(this.name)) switch (this.name.length) {
605
604
  case 0:
606
605
  this.fail("did not expect any more name/value pairs.");
@@ -610,23 +609,23 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
610
609
  break;
611
610
  default: this.fail(`expected one of ${this.xmlDeclExpects.join(", ")}`);
612
611
  }
613
- this.state = e === Qe ? 30 : 29;
612
+ this.state = e === rt ? 30 : 29;
614
613
  }
615
614
  }
616
615
  sXMLDeclEq() {
617
616
  let e = this.getCodeNorm();
618
- if (e === Y) return this.state = Ye, void this.fail("XML declaration is incomplete.");
619
- W(e) || (e !== Qe && this.fail("value required."), this.state = 30);
617
+ if (e === Y) return this.state = et, void this.fail("XML declaration is incomplete.");
618
+ W(e) || (e !== rt && this.fail("value required."), this.state = 30);
620
619
  }
621
620
  sXMLDeclValueStart() {
622
621
  let e = this.getCodeNorm();
623
- if (e === Y) return this.state = Ye, void this.fail("XML declaration is incomplete.");
624
- W(e) || (et(e) ? this.q = e : (this.fail("value must be quoted."), this.q = 32), this.state = 31);
622
+ if (e === Y) return this.state = et, void this.fail("XML declaration is incomplete.");
623
+ W(e) || (at(e) ? this.q = e : (this.fail("value must be quoted."), this.q = 32), this.state = 31);
625
624
  }
626
625
  sXMLDeclValue() {
627
626
  let e = this.captureTo([this.q, Y]);
628
- if (e === Y) return this.state = Ye, this.text = "", void this.fail("XML declaration is incomplete.");
629
- if (e === G) return;
627
+ if (e === Y) return this.state = et, this.text = "", void this.fail("XML declaration is incomplete.");
628
+ if (e === K) return;
630
629
  let t = this.text;
631
630
  switch (this.text = "", this.name) {
632
631
  case "version": {
@@ -644,14 +643,14 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
644
643
  }
645
644
  sXMLDeclSeparator() {
646
645
  let e = this.getCodeNorm();
647
- e === Y ? this.state = Ye : (W(e) || (this.fail("whitespace required."), this.unGet()), this.state = 27);
646
+ e === Y ? this.state = et : (W(e) || (this.fail("whitespace required."), this.unGet()), this.state = 27);
648
647
  }
649
648
  sXMLDeclEnding() {
650
649
  this.getCodeNorm() === J ? (this.piTarget === "xml" ? this.name !== "version" && this.xmlDeclExpects.includes("version") && this.fail("XML declaration must contain a version.") : this.fail("processing instructions are not allowed before root."), this.xmlDeclHandler?.(this.xmlDecl), this.name = "", this.piTarget = this.text = "", this.state = q) : this.fail("The character ? is disallowed anywhere in XML declarations."), this.xmlDeclPossible = !1;
651
650
  }
652
651
  sOpenTag() {
653
652
  let e = this.captureNameChars();
654
- if (e === G) return;
653
+ if (e === K) return;
655
654
  let t = this.tag = {
656
655
  name: this.name,
657
656
  attributes: Object.create(null)
@@ -671,25 +670,25 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
671
670
  }
672
671
  sAttrib() {
673
672
  let e = this.skipSpaces();
674
- e !== G && (Le(e) ? (this.unGet(), this.state = 37) : e === J ? this.openTag() : e === 47 ? this.state = 35 : this.fail("disallowed character in attribute name."));
673
+ e !== K && (He(e) ? (this.unGet(), this.state = 37) : e === J ? this.openTag() : e === 47 ? this.state = 35 : this.fail("disallowed character in attribute name."));
675
674
  }
676
675
  sAttribName() {
677
676
  let e = this.captureNameChars();
678
- e === Qe ? this.state = 39 : W(e) ? this.state = 38 : e === J ? (this.fail("attribute without value."), this.pushAttrib(this.name, this.name), this.name = this.text = "", this.openTag()) : e !== G && this.fail("disallowed character in attribute name.");
677
+ e === rt ? this.state = 39 : W(e) ? this.state = 38 : e === J ? (this.fail("attribute without value."), this.pushAttrib(this.name, this.name), this.name = this.text = "", this.openTag()) : e !== K && this.fail("disallowed character in attribute name.");
679
678
  }
680
679
  sAttribNameSawWhite() {
681
680
  let e = this.skipSpaces();
682
681
  switch (e) {
683
- case G: return;
684
- case Qe:
682
+ case K: return;
683
+ case rt:
685
684
  this.state = 39;
686
685
  break;
687
- default: this.fail("attribute without value."), this.text = "", this.name = "", e === J ? this.openTag() : Le(e) ? (this.unGet(), this.state = 37) : (this.fail("disallowed character in attribute name."), this.state = 36);
686
+ default: this.fail("attribute without value."), this.text = "", this.name = "", e === J ? this.openTag() : He(e) ? (this.unGet(), this.state = 37) : (this.fail("disallowed character in attribute name."), this.state = 36);
688
687
  }
689
688
  }
690
689
  sAttribValue() {
691
690
  let e = this.getCodeNorm();
692
- et(e) ? (this.q = e, this.state = 40) : W(e) || (this.fail("unquoted attribute value."), this.state = 42, this.unGet());
691
+ at(e) ? (this.q = e, this.state = 40) : W(e) || (this.fail("unquoted attribute value."), this.state = 42, this.unGet());
693
692
  }
694
693
  sAttribValueQuoted() {
695
694
  let { q: e, chunk: t } = this, { i: n } = this;
@@ -700,53 +699,53 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
700
699
  case 38:
701
700
  this.text += t.slice(n, this.prevI), this.state = 14, this.entityReturnState = 40;
702
701
  return;
703
- case Xe:
704
- case K:
702
+ case tt:
703
+ case $e:
705
704
  case 9:
706
705
  this.text += `${t.slice(n, this.prevI)} `, n = this.i;
707
706
  break;
708
- case Ze:
707
+ case nt:
709
708
  this.text += t.slice(n, this.prevI), this.fail("disallowed character.");
710
709
  return;
711
- case G:
710
+ case K:
712
711
  this.text += t.slice(n);
713
712
  return;
714
713
  }
715
714
  }
716
715
  sAttribValueClosed() {
717
716
  let e = this.getCodeNorm();
718
- W(e) ? this.state = 36 : e === J ? this.openTag() : e === 47 ? this.state = 35 : Le(e) ? (this.fail("no whitespace between attributes."), this.unGet(), this.state = 37) : this.fail("disallowed character in attribute name.");
717
+ W(e) ? this.state = 36 : e === J ? this.openTag() : e === 47 ? this.state = 35 : He(e) ? (this.fail("no whitespace between attributes."), this.unGet(), this.state = 37) : this.fail("disallowed character in attribute name.");
719
718
  }
720
719
  sAttribValueUnquoted() {
721
- let e = this.captureTo(at);
720
+ let e = this.captureTo(ut);
722
721
  switch (e) {
723
722
  case 38:
724
723
  this.state = 14, this.entityReturnState = 42;
725
724
  break;
726
- case Ze:
725
+ case nt:
727
726
  this.fail("disallowed character.");
728
727
  break;
729
- case G: break;
728
+ case K: break;
730
729
  default: this.text.includes("]]>") && this.fail("the string \"]]>\" is disallowed in char data."), this.pushAttrib(this.name, this.text), this.name = this.text = "", e === J ? this.openTag() : this.state = 36;
731
730
  }
732
731
  }
733
732
  sCloseTag() {
734
733
  let e = this.captureNameChars();
735
- e === J ? this.closeTag() : W(e) ? this.state = 44 : e !== G && this.fail("disallowed character in closing tag.");
734
+ e === J ? this.closeTag() : W(e) ? this.state = 44 : e !== K && this.fail("disallowed character in closing tag.");
736
735
  }
737
736
  sCloseTagSawWhite() {
738
737
  switch (this.skipSpaces()) {
739
738
  case J:
740
739
  this.closeTag();
741
740
  break;
742
- case G: break;
741
+ case K: break;
743
742
  default: this.fail("disallowed character in closing tag.");
744
743
  }
745
744
  }
746
745
  handleTextInRoot() {
747
746
  let { i: e, forbiddenState: t } = this, { chunk: n, textHandler: r } = this;
748
747
  t: for (;;) switch (this.getCode()) {
749
- case Ze:
748
+ case nt:
750
749
  if (this.state = 15, r !== void 0) {
751
750
  let { text: t } = this, i = n.slice(e, this.prevI);
752
751
  t.length === 0 ? i.length !== 0 && r(i) : (r(t + i), this.text = "");
@@ -756,7 +755,7 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
756
755
  case 38:
757
756
  this.state = 14, this.entityReturnState = q, r !== void 0 && (this.text += n.slice(e, this.prevI)), t = 0;
758
757
  break t;
759
- case $e:
758
+ case it:
760
759
  switch (t) {
761
760
  case 0:
762
761
  t = 1;
@@ -771,10 +770,10 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
771
770
  case J:
772
771
  t === 2 && this.fail("the string \"]]>\" is disallowed in char data."), t = 0;
773
772
  break;
774
- case K:
773
+ case $e:
775
774
  r !== void 0 && (this.text += `${n.slice(e, this.prevI)}\n`), e = this.i, t = 0;
776
775
  break;
777
- case G:
776
+ case K:
778
777
  r !== void 0 && (this.text += n.slice(e));
779
778
  break t;
780
779
  default: t = 0;
@@ -786,7 +785,7 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
786
785
  t: for (;;) {
787
786
  let i = this.getCode();
788
787
  switch (i) {
789
- case Ze:
788
+ case nt:
790
789
  if (this.state = 15, n !== void 0) {
791
790
  let { text: r } = this, i = t.slice(e, this.prevI);
792
791
  r.length === 0 ? i.length !== 0 && n(i) : (n(r + i), this.text = "");
@@ -795,10 +794,10 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
795
794
  case 38:
796
795
  this.state = 14, this.entityReturnState = q, n !== void 0 && (this.text += t.slice(e, this.prevI)), r = !0;
797
796
  break t;
798
- case K:
797
+ case $e:
799
798
  n !== void 0 && (this.text += `${t.slice(e, this.prevI)}\n`), e = this.i;
800
799
  break;
801
- case G:
800
+ case K:
802
801
  n !== void 0 && (this.text += t.slice(e));
803
802
  break t;
804
803
  default: W(i) || (r = !0);
@@ -815,10 +814,10 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
815
814
  };
816
815
  if (this.attribList.push(i), this.attributeHandler?.(i), n === "xmlns") {
817
816
  let e = t.trim();
818
- this.currentXMLVersion === "1.0" && e === "" && this.fail("invalid attempt to undefine prefix in XML 1.0"), this.topNS[r] = e, ot(this, r, e);
817
+ this.currentXMLVersion === "1.0" && e === "" && this.fail("invalid attempt to undefine prefix in XML 1.0"), this.topNS[r] = e, dt(this, r, e);
819
818
  } else if (e === "xmlns") {
820
819
  let e = t.trim();
821
- this.topNS[""] = e, ot(this, "", e);
820
+ this.topNS[""] = e, dt(this, "", e);
822
821
  }
823
822
  }
824
823
  pushAttribPlain(e, t) {
@@ -870,7 +869,7 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
870
869
  let { attributes: n } = t, r = /* @__PURE__ */ new Set();
871
870
  for (let t of e) {
872
871
  let e, i, { name: a, prefix: o, local: s } = t;
873
- o === "" ? (e = a === "xmlns" ? Ke : "", i = a) : (e = this.resolve(o), e === void 0 && (this.fail(`unbound namespace prefix: ${JSON.stringify(o)}.`), e = o), i = `{${e}}${s}`), r.has(i) && this.fail(`duplicate attribute: ${i}.`), r.add(i), t.uri = e, n[a] = t;
872
+ o === "" ? (e = a === "xmlns" ? Ze : "", i = a) : (e = this.resolve(o), e === void 0 && (this.fail(`unbound namespace prefix: ${JSON.stringify(o)}.`), e = o), i = `{${e}}${s}`), r.has(i) && this.fail(`duplicate attribute: ${i}.`), r.add(i), t.uri = e, n[a] = t;
874
873
  }
875
874
  this.attribList = [];
876
875
  }
@@ -908,21 +907,21 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
908
907
  let t = NaN;
909
908
  return e[1] === "x" && /^#x[0-9a-f]+$/i.test(e) ? t = parseInt(e.slice(2), 16) : /^#[0-9]+$/.test(e) && (t = parseInt(e.slice(1), 10)), this.isChar(t) ? String.fromCodePoint(t) : (this.fail("malformed character entity."), `&${e};`);
910
909
  }
911
- }, ft = /&(#x[0-9a-fA-F]+|#[0-9]+|amp|lt|gt|quot|apos);/g, pt = {
910
+ }, _t = /&(#x[0-9a-fA-F]+|#[0-9]+|amp|lt|gt|quot|apos);/g, vt = {
912
911
  amp: "&",
913
912
  lt: "<",
914
913
  gt: ">",
915
914
  quot: "\"",
916
915
  apos: "'"
917
- }, mt = (e, t) => {
918
- let n = pt[t];
916
+ }, yt = (e, t) => {
917
+ let n = vt[t];
919
918
  if (n !== void 0) return n;
920
919
  let r = t.charCodeAt(1) === 120 ? parseInt(t.slice(2), 16) : parseInt(t.slice(1), 10);
921
920
  return r > 0 && r <= 1114111 ? String.fromCodePoint(r) : e;
922
- }, ht = (e) => {
921
+ }, bt = (e) => {
923
922
  let t = e;
924
- return t.indexOf("\r") !== -1 && (t = t.replace(/\r\n?/g, "\n")), t.indexOf("&") !== -1 && (t = t.replace(ft, mt)), t;
925
- }, gt = (e) => {
923
+ return t.indexOf("\r") !== -1 && (t = t.replace(/\r\n?/g, "\n")), t.indexOf("&") !== -1 && (t = t.replace(_t, yt)), t;
924
+ }, xt = (e) => {
926
925
  let t = e, n = t.length;
927
926
  for (let e = 0; e < n; e++) {
928
927
  let n = t.charCodeAt(e);
@@ -931,8 +930,8 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
931
930
  break;
932
931
  }
933
932
  }
934
- return t.indexOf("&") !== -1 && (t = t.replace(ft, mt)), t;
935
- }, _t = (e) => e === 32 || e === 9 || e === 10 || e === 13, vt = class e {
933
+ return t.indexOf("&") !== -1 && (t = t.replace(_t, yt)), t;
934
+ }, St = (e) => e === 32 || e === 9 || e === 10 || e === 13, Ct = class e {
936
935
  constructor() {
937
936
  this._openTagHandler = void 0, this._closeTagHandler = void 0, this._textHandler = void 0, this._cdataHandler = void 0, this._errorHandler = void 0, this._endHandler = void 0, this._scanners = null, this._carry = "", this._text = "", this._tags = [], this._sawRoot = !1, this._closed = !1;
938
937
  }
@@ -943,7 +942,7 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
943
942
  this.NOT_HANDLED = -2;
944
943
  }
945
944
  static decodeText(e) {
946
- return ht(e);
945
+ return bt(e);
947
946
  }
948
947
  on(e, t) {
949
948
  switch (e) {
@@ -1009,7 +1008,7 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
1009
1008
  if (e.length === 0) return;
1010
1009
  this._text = "";
1011
1010
  let t = this._textHandler;
1012
- t !== void 0 && this._tags.length !== 0 && t(ht(e));
1011
+ t !== void 0 && this._tags.length !== 0 && t(bt(e));
1013
1012
  }
1014
1013
  _markup(t, n, r) {
1015
1014
  if (n + 1 >= r) return -1;
@@ -1048,7 +1047,7 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
1048
1047
  let i = n + 1 + o.name.length;
1049
1048
  if (i >= r) return -1;
1050
1049
  let a = t.charCodeAt(i);
1051
- if (a === 62 || a === 47 || _t(a)) {
1050
+ if (a === 62 || a === 47 || St(a)) {
1052
1051
  this._flushText();
1053
1052
  let i = o.scan(t, n, r);
1054
1053
  if (i !== e.NOT_HANDLED) {
@@ -1066,11 +1065,11 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
1066
1065
  }
1067
1066
  _openTag(e, t, n) {
1068
1067
  let r = t + 1, i = 0;
1069
- for (; r < n && (i = e.charCodeAt(r), i !== 62 && i !== 47 && !_t(i));) r++;
1068
+ for (; r < n && (i = e.charCodeAt(r), i !== 62 && i !== 47 && !St(i));) r++;
1070
1069
  if (r >= n) return -1;
1071
1070
  let a = e.slice(t + 1, r), o = {}, s = !1;
1072
1071
  for (;;) {
1073
- for (; r < n && _t(i = e.charCodeAt(r));) r++;
1072
+ for (; r < n && St(i = e.charCodeAt(r));) r++;
1074
1073
  if (r >= n) return -1;
1075
1074
  if (i === 62) {
1076
1075
  r++;
@@ -1086,16 +1085,16 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
1086
1085
  break;
1087
1086
  }
1088
1087
  let t = r;
1089
- for (; r < n && (i = e.charCodeAt(r), i !== 61 && i !== 62 && i !== 47 && !_t(i));) r++;
1088
+ for (; r < n && (i = e.charCodeAt(r), i !== 61 && i !== 62 && i !== 47 && !St(i));) r++;
1090
1089
  if (r >= n) return -1;
1091
1090
  let a = e.slice(t, r);
1092
- for (; r < n && _t(i = e.charCodeAt(r));) r++;
1091
+ for (; r < n && St(i = e.charCodeAt(r));) r++;
1093
1092
  if (r >= n) return -1;
1094
1093
  if (i !== 61) {
1095
1094
  this.fail("attribute without value.");
1096
1095
  continue;
1097
1096
  }
1098
- for (r++; r < n && _t(i = e.charCodeAt(r));) r++;
1097
+ for (r++; r < n && St(i = e.charCodeAt(r));) r++;
1099
1098
  if (r >= n) return -1;
1100
1099
  if (i !== 34 && i !== 39) {
1101
1100
  this.fail("unquoted attribute value.");
@@ -1103,7 +1102,7 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
1103
1102
  }
1104
1103
  let c = e.indexOf(i === 34 ? "\"" : "'", r + 1);
1105
1104
  if (c === -1) return -1;
1106
- a !== "__proto__" && (o[a] = gt(e.slice(r + 1, c))), r = c + 1;
1105
+ a !== "__proto__" && (o[a] = xt(e.slice(r + 1, c))), r = c + 1;
1107
1106
  }
1108
1107
  this._flushText(), this._sawRoot = !0;
1109
1108
  let c = {
@@ -1124,7 +1123,7 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
1124
1123
  this.fail(`unmatched closing tag: ${e}.`);
1125
1124
  }
1126
1125
  };
1127
- (st = U ||= {}).Events = {
1126
+ (ft = Be ||= {}).Events = {
1128
1127
  XmlDecl: "xmldecl",
1129
1128
  Text: "text",
1130
1129
  ProcessingInstruction: "processinginstruction",
@@ -1138,9 +1137,9 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
1138
1137
  Error: "error",
1139
1138
  End: "end",
1140
1139
  Ready: "ready"
1141
- }, st.parseStream = async (e, t, n) => {
1140
+ }, ft.parseStream = async (e, t, n) => {
1142
1141
  if (n?.lean) return (async (e, t) => {
1143
- let n, r = new vt();
1142
+ let n, r = new Ct();
1144
1143
  t.elementScanners && r.setElementScanners(t.elementScanners), t.onOpenTag && r.on("opentag", t.onOpenTag), t.onCloseTag && r.on("closetag", t.onCloseTag), t.onText && r.on("text", t.onText), t.onError && r.on("error", t.onError);
1145
1144
  let i = t.onEnd;
1146
1145
  for (i && r.on("end", () => {
@@ -1152,13 +1151,13 @@ var st, ct = (e) => We.test(e), lt = (e) => Be.test(e), ut = {
1152
1151
  }
1153
1152
  return r.close(), n;
1154
1153
  })(e, t);
1155
- let r, i = new dt({
1154
+ let r, i = new gt({
1156
1155
  position: !1,
1157
1156
  ...n
1158
1157
  });
1159
- t.onOpenTagStart && i.on(U.Events.OpenTagStart, t.onOpenTagStart), t.onOpenTag && i.on(U.Events.OpenTag, t.onOpenTag), t.onCloseTag && i.on(U.Events.CloseTag, t.onCloseTag), t.onAttribute && i.on(U.Events.Attribute, t.onAttribute), t.onText && i.on(U.Events.Text, t.onText), t.onError && i.on(U.Events.Error, t.onError);
1158
+ t.onOpenTagStart && i.on(Be.Events.OpenTagStart, t.onOpenTagStart), t.onOpenTag && i.on(Be.Events.OpenTag, t.onOpenTag), t.onCloseTag && i.on(Be.Events.CloseTag, t.onCloseTag), t.onAttribute && i.on(Be.Events.Attribute, t.onAttribute), t.onText && i.on(Be.Events.Text, t.onText), t.onError && i.on(Be.Events.Error, t.onError);
1160
1159
  let a = t.onEnd;
1161
- for (a && i.on(U.Events.End, () => {
1160
+ for (a && i.on(Be.Events.End, () => {
1162
1161
  r = a();
1163
1162
  });;) {
1164
1163
  let { value: t, done: n } = await e.read();
@@ -1173,7 +1172,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1173
1172
  }, Q = (e) => {
1174
1173
  let t = parseFloat(e);
1175
1174
  return isNaN(t) ? null : t;
1176
- }, $ = null, yt = (e) => e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), bt = (e) => yt(e).replace(/"/g, "&quot;"), xt = class {
1175
+ }, $ = null, wt = (e) => e.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;"), Tt = (e) => wt(e).replace(/"/g, "&quot;"), Et = class {
1177
1176
  constructor() {
1178
1177
  this._registeredVisitors = /* @__PURE__ */ new Map();
1179
1178
  }
@@ -1235,7 +1234,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1235
1234
  let t = e.attributes ?? {}, n = `<${e.name}`;
1236
1235
  for (let e in t) {
1237
1236
  let r = t[e];
1238
- n += ` ${e}="${bt(typeof r == "string" ? r : r?.value ?? "")}"`;
1237
+ n += ` ${e}="${Tt(typeof r == "string" ? r : r?.value ?? "")}"`;
1239
1238
  }
1240
1239
  return n + ">";
1241
1240
  })(e)), o = {
@@ -1284,12 +1283,12 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1284
1283
  s = o?.local ?? null, c = o?.tag ?? null, l = o?.visitor ?? null, p = !o?.destination;
1285
1284
  },
1286
1285
  onText: (e) => {
1287
- m ? m.push(yt(e)) : l?.text?.(e, v);
1286
+ m ? m.push(wt(e)) : l?.text?.(e, v);
1288
1287
  },
1289
1288
  onEnd: t
1290
1289
  };
1291
1290
  }
1292
- }, St = `IFERROR(${E}(`, Ct = St.toUpperCase(), wt = A.toUpperCase(), Tt = { kind: "none" }, Et = { kind: "spilled" }, Dt = (e, t) => {
1291
+ }, Dt = `IFERROR(${le}(`, Ot = Dt.toUpperCase(), kt = ne.toUpperCase(), At = { kind: "none" }, jt = { kind: "spilled" }, Mt = (e, t) => {
1293
1292
  if (e.charCodeAt(t) !== 34) return null;
1294
1293
  let n = "", r = t + 1;
1295
1294
  for (; r < e.length;) if (e.charCodeAt(r) === 34) {
@@ -1300,12 +1299,12 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1300
1299
  n += "\"", r += 2;
1301
1300
  } else n += e[r], r++;
1302
1301
  return null;
1303
- }, Ot = (e) => {
1302
+ }, Nt = (e) => {
1304
1303
  let t = [], n = 0;
1305
1304
  for (; n < e.length;) {
1306
1305
  let r = e.charCodeAt(n);
1307
1306
  if (r === 34) {
1308
- let t = Dt(e, n);
1307
+ let t = Mt(e, n);
1309
1308
  if (t === null) break;
1310
1309
  n = t.end;
1311
1310
  continue;
@@ -1323,7 +1322,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1323
1322
  e.charCodeAt(i) === 40 && t.push(e.slice(n, i).toUpperCase().replace(/^_XLFN\./, "").replace(/^_XLWS\./, "")), n = i;
1324
1323
  }
1325
1324
  return t;
1326
- }, kt = (e) => {
1325
+ }, Pt = (e) => {
1327
1326
  let t = (t) => {
1328
1327
  if (e) return RegExp(`<(?:[\\w.-]+:)?${t}\\b[^>]*>([^<]*)<`).exec(e)?.[1];
1329
1328
  }, n = (e) => {
@@ -1333,12 +1332,12 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1333
1332
  return {
1334
1333
  c: n(t("col")),
1335
1334
  r: n(t("row")),
1336
- x: ve(t("colOff") ?? "0") ?? 0,
1337
- y: ve(t("rowOff") ?? "0") ?? 0
1335
+ x: de(t("colOff") ?? "0") ?? 0,
1336
+ y: de(t("rowOff") ?? "0") ?? 0
1338
1337
  };
1339
- }, At = "formulaDialect", jt = (e, t, n, r, i, a, o, c) => {
1340
- let l = new xt(), p = c?.get("parseInlineDxf"), m = c?.get(At), h = (e) => m && e ? m.readDetached(e) : e, g = new u.TransposedBuilder(), x = null;
1341
- l.registerVisitor({
1338
+ }, Ft = "formulaDialect", It = (e, t, n, r, i, a, o, c) => {
1339
+ let d = new Et(), p = c?.get("parseInlineDxf"), m = c?.get(Ft), h = (e) => m && e ? m.readDetached(e) : e, g = new u.TransposedBuilder(), _ = null;
1340
+ d.registerVisitor({
1342
1341
  from: "autoFilter",
1343
1342
  to: "autoTable",
1344
1343
  openTag: (e) => {
@@ -1352,7 +1351,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1352
1351
  e === 0 ? n.hiddenButtons = !1 : e === a && (n.hiddenButtons = !0);
1353
1352
  }
1354
1353
  }
1355
- }), l.registerVisitor({
1354
+ }), d.registerVisitor({
1356
1355
  from: "conditionalFormatting",
1357
1356
  to: {},
1358
1357
  openTag: (e) => {
@@ -1366,7 +1365,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1366
1365
  }, i = e.getAttribute("pivot", X);
1367
1366
  i !== null && (r.pivot = i), e.setSource(r);
1368
1367
  }
1369
- }), l.registerVisitor({
1368
+ }), d.registerVisitor({
1370
1369
  from: "cfRule",
1371
1370
  to: {},
1372
1371
  openTag: (e) => {
@@ -1390,11 +1389,11 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1390
1389
  if (!t?.r) return;
1391
1390
  let n = t.conditionals[t.conditionals.length - 1], r = n?.rule;
1392
1391
  if (!r) return;
1393
- let i = {}, o = ce(r, a);
1392
+ let i = {}, o = S(r, a);
1394
1393
  o && (i.condition = o), r.style && (i.style = r.style), r.scale && (i.scale = r.scale), r.stopIfTrue && (i.stopIfTrue = !0), r.pivot && (i.pivot = !0), n.v = i, n.priority = r.priority, r.x14Id && (n.x14Id = r.x14Id), delete n.rule;
1395
1394
  }
1396
1395
  });
1397
- let ne = (e) => {
1396
+ let v = (e) => {
1398
1397
  let t = e.conditions ?? [], n = [];
1399
1398
  for (let e = 0; e < t.length; e++) {
1400
1399
  let r = t[e], i = {};
@@ -1402,19 +1401,19 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1402
1401
  }
1403
1402
  return n;
1404
1403
  };
1405
- l.registerVisitor({
1404
+ d.registerVisitor({
1406
1405
  from: "colorScale",
1407
1406
  to: {},
1408
1407
  openTag: (e) => {},
1409
1408
  closeTag: (e) => {
1410
- let t = e.getSource(), n = t.colors ?? [], r = ne(t);
1409
+ let t = e.getSource(), n = t.colors ?? [], r = v(t);
1411
1410
  for (let e = 0; e < r.length; e++) r[e].color = n[e];
1412
1411
  e.getParent().scale = {
1413
- type: d.ScaleType.ColorScale,
1412
+ type: f.ScaleType.ColorScale,
1414
1413
  stops: r
1415
1414
  };
1416
1415
  }
1417
- }), l.registerVisitor({
1416
+ }), d.registerVisitor({
1418
1417
  from: "dataBar",
1419
1418
  to: {},
1420
1419
  openTag: (e) => {
@@ -1422,12 +1421,12 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1422
1421
  },
1423
1422
  closeTag: (e) => {
1424
1423
  let t = e.getSource(), n = {
1425
- type: d.ScaleType.DataBar,
1426
- stops: ne(t)
1424
+ type: f.ScaleType.DataBar,
1425
+ stops: v(t)
1427
1426
  }, r = t.colors?.[0];
1428
1427
  r && (n.color = r), t.minLength !== void 0 && (n.minLength = t.minLength), t.maxLength !== void 0 && (n.maxLength = t.maxLength), t.showValue !== void 0 && (n.showValue = t.showValue), e.getParent().scale = n;
1429
1428
  }
1430
- }), l.registerVisitor({
1429
+ }), d.registerVisitor({
1431
1430
  from: "iconSet",
1432
1431
  to: {},
1433
1432
  openTag: (e) => {
@@ -1435,41 +1434,41 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1435
1434
  },
1436
1435
  closeTag: (e) => {
1437
1436
  let t = e.getSource(), n = {
1438
- type: d.ScaleType.IconSet,
1439
- stops: ne(t)
1437
+ type: f.ScaleType.IconSet,
1438
+ stops: v(t)
1440
1439
  };
1441
1440
  t.iconSet !== void 0 && (n.iconSet = t.iconSet), t.reverse !== void 0 && (n.reverse = t.reverse), t.showValue !== void 0 && (n.showValue = t.showValue), e.getParent().scale = n;
1442
1441
  }
1443
- }), l.registerVisitor({
1442
+ }), d.registerVisitor({
1444
1443
  from: "formula",
1445
1444
  to: {},
1446
1445
  text: (e, t) => {
1447
1446
  let n = t.getParent(), r = n.formulas;
1448
1447
  r || (r = [], n.formulas = r), r.push(h(e));
1449
1448
  }
1450
- }), l.registerVisitor({
1449
+ }), d.registerVisitor({
1451
1450
  from: "cfvo",
1452
1451
  to: {},
1453
1452
  openTag: (e) => {
1454
1453
  let t = e.getParent();
1455
1454
  t.conditions ||= [];
1456
1455
  let n = e.getSource();
1457
- if (t.conditions.push(n), e.copyTo("type", $), n.type === d.ColorStopType.Formula) {
1456
+ if (t.conditions.push(n), e.copyTo("type", $), n.type === f.ColorStopType.Formula) {
1458
1457
  let t = e.getAttribute("val");
1459
1458
  t != null && (n.value = h(String(t)));
1460
1459
  } else e.copyTo("value", Q, "val");
1461
1460
  !1 === e.getAttribute("gte", X) && (n.exclusive = !0);
1462
1461
  }
1463
- }), l.registerVisitor({
1462
+ }), d.registerVisitor({
1464
1463
  from: "color",
1465
1464
  to: {},
1466
1465
  openTag: (e) => {
1467
1466
  let t = e.getParent();
1468
1467
  t.colors ||= [];
1469
- let n = be((t) => e.getAttribute(t));
1468
+ let n = Te((t) => e.getAttribute(t));
1470
1469
  t.colors.push(n);
1471
1470
  }
1472
- }), l.registerVisitor({
1471
+ }), d.registerVisitor({
1473
1472
  from: "filterColumn",
1474
1473
  to: {},
1475
1474
  openTag: (e) => {
@@ -1488,83 +1487,92 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1488
1487
  }
1489
1488
  return r;
1490
1489
  }
1491
- }), l.registerVisitor({
1490
+ }), d.registerVisitor({
1492
1491
  from: "colorFilter",
1493
1492
  openTag: (e) => {
1494
1493
  let t = e.getParent(), n = {};
1495
- t.operator = f.BuiltInOperatorNames.Color, t.param = n, e.copyToObject(n, "cellColor"), e.copyToObject(n, "styleId", Z, "dxfId");
1494
+ t.operator = l.BuiltInOperatorNames.Color, t.param = n, e.copyToObject(n, "cellColor", X), e.copyToObject(n, "styleId", Z, "dxfId");
1496
1495
  }
1497
- }), l.registerVisitor({
1496
+ }), d.registerVisitor({
1498
1497
  from: "iconFilter",
1499
1498
  openTag: (e) => {
1500
1499
  let t = e.getParent(), n = {};
1501
- t.operator = f.BuiltInOperatorNames.Icon, t.param = n, e.copyToObject(n, "iconId", Z), e.copyToObject(n, "iconSet", $);
1500
+ t.operator = l.BuiltInOperatorNames.Icon, t.param = n, e.copyToObject(n, "iconId", Z), e.copyToObject(n, "iconSet", $);
1502
1501
  }
1503
- }), l.registerVisitor({
1502
+ }), d.registerVisitor({
1504
1503
  from: "top10",
1505
1504
  openTag: (e) => {
1506
1505
  let t = e.getParent(), n = {};
1507
- t.operator = f.BuiltInOperatorNames.TopN, t.param = n, e.copyToObject(n, "filterVal", Q), e.copyToObject(n, "percent", X), e.copyToObject(n, "top", X), e.copyToObject(n, "limit", Q, "val");
1506
+ t.operator = l.BuiltInOperatorNames.TopN, t.param = n, e.copyToObject(n, "filterVal", Q), e.copyToObject(n, "percent", X), e.copyToObject(n, "top", X), e.copyToObject(n, "limit", Q, "val");
1508
1507
  }
1509
- }), l.registerVisitor({
1508
+ }), d.registerVisitor({
1510
1509
  from: "dynamicFilter",
1511
1510
  openTag: (e) => {
1512
- let t = e.getParent(), n = {};
1513
- t.operator = f.BuiltInOperatorNames.TimePeriod, t.param = n;
1514
- let r = e.getAttribute("type");
1515
- Object.values(f.AverageType).includes(r) ? (t.operator = f.BuiltInOperatorNames.Average, e.copyToObject(n, "stdDevs", Z, "val")) : e.copyToObject(n, "anchorDate", Z, "val"), e.copyToObject(n, "operator", $, "type"), e.copyToObject(n, "maxVal", Q, "maxVal");
1511
+ let t = e.getParent(), n = fe(e.getAttribute("type"));
1512
+ t.operator = n.operator, t.param = n.param;
1516
1513
  }
1517
- }), l.registerVisitor({
1514
+ });
1515
+ let y = {
1518
1516
  from: "filters",
1519
1517
  to: {},
1520
1518
  openTag: (e) => {
1521
- let t = e.getParent(), n = {};
1522
- return t.operator = f.BuiltInOperatorNames.InSet, t.param = n, e.copyToObject(n, "blank", X), e.copyToObject(n, "calendarType", $), n;
1519
+ let t = e.getParent(), n = { byDisplay: !0 };
1520
+ return t.operator = l.BuiltInOperatorNames.InSet, t.param = n, e.copyToObject(n, "blank", X), n.blank && (t.includeBlanks = !0), e.copyToObject(n, "calendarType", $), n;
1523
1521
  }
1524
- }), l.registerVisitor({
1522
+ };
1523
+ d.registerVisitor(y);
1524
+ let ne = {
1525
1525
  from: "filter",
1526
1526
  openTag: (e) => {
1527
1527
  let t = e.getParent(), n = t.items;
1528
1528
  n || (n = [], t.items = n), n.push(e.getAttribute("val", $));
1529
1529
  }
1530
- }), l.registerVisitor({
1530
+ };
1531
+ d.registerVisitor(ne);
1532
+ let x = {
1531
1533
  from: "dateGroupItem",
1532
1534
  to: {},
1533
1535
  openTag: (e) => {
1534
1536
  let t = e.getParent(), n = t.dateGroups;
1535
1537
  n || (n = [], t.dateGroups = n), n.push(e.getSource()), e.copyTo("group", $, "dateTimeGrouping"), e.copyTo("day", Z), e.copyTo("hour", Z), e.copyTo("minute", Z), e.copyTo("month", Z), e.copyTo("second", Z), e.copyTo("year", Z);
1536
1538
  }
1537
- }), l.registerVisitor({
1539
+ };
1540
+ d.registerVisitor(x);
1541
+ let re = /* @__PURE__ */ new Map();
1542
+ re.set("filterColumn", {
1543
+ from: "filterColumn",
1544
+ transparent: !0
1545
+ }), re.set("filters", y), re.set("filter", ne), re.set("dateGroupItem", x), d.registerVisitor({
1538
1546
  from: "customFilters",
1539
1547
  openTag: (e) => {
1540
1548
  let t = e.getParent(), n = e.getAttribute("and"), r = n === "and" || n === "1", i = [];
1541
- return t.operator = r ? f.BuiltInOperatorNames.And : f.BuiltInOperatorNames.Or, t.param = i, e.setSource(t), i;
1549
+ return t.operator = r ? l.BuiltInOperatorNames.And : l.BuiltInOperatorNames.Or, t.param = i, e.setSource(t), i;
1542
1550
  },
1543
1551
  closeTag: (e) => {
1544
1552
  let t = e.getSource(), n = t?.param;
1545
- if (n?.length !== 1) return;
1546
- let r = n[0];
1547
- t.operator = r.operator, t.param = r.param;
1553
+ if (!t || !n) return;
1554
+ let r = n.length === 1 ? n[0] : P(t);
1555
+ r !== t && (t.operator = r.operator, t.param = r.param, r.includeBlanks && (t.includeBlanks = !0));
1548
1556
  }
1549
- }), l.registerVisitor({
1557
+ }), d.registerVisitor({
1550
1558
  from: "customFilter",
1551
1559
  openTag: (e) => {
1552
1560
  let t, n = e.getParent();
1553
1561
  Array.isArray(n) ? (t = {}, n.push(t)) : t = n;
1554
- let r = T({
1562
+ let r = N({
1555
1563
  operator: e.getAttribute("operator"),
1556
1564
  val: e.getAttribute("val")
1557
- });
1558
- r && (t.operator = r.operator, t.param = r.param);
1565
+ }, (t) => e.warn(t));
1566
+ r && (t.operator = r.operator, t.param = r.param, r.includeBlanks && (t.includeBlanks = !0));
1559
1567
  }
1560
- }), l.registerVisitor({
1568
+ }), d.registerVisitor({
1561
1569
  from: "sortState",
1562
1570
  to: {},
1563
1571
  openTag: (e) => {
1564
1572
  let t = e.getParent(), n = t.v;
1565
1573
  n && (n.sort = {}, e.setSource(t));
1566
1574
  }
1567
- }), l.registerVisitor({
1575
+ }), d.registerVisitor({
1568
1576
  from: "sortCondition",
1569
1577
  to: {},
1570
1578
  openTag: (e) => {
@@ -1576,7 +1584,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1576
1584
  i || (i = [], r.sorts = i);
1577
1585
  let a = e.getAttribute("ref"), o = 0;
1578
1586
  if (a) {
1579
- let e = s.fastStringToRange(a, Pt).colStart, n = t.r, r = n.colStart;
1587
+ let e = s.fastStringToRange(a, zt).colStart, n = t.r, r = n.colStart;
1580
1588
  o = n ? e - r : e;
1581
1589
  }
1582
1590
  let c = {};
@@ -1588,52 +1596,52 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1588
1596
  i.push(l);
1589
1597
  }
1590
1598
  });
1591
- let re = (e) => {
1592
- x = e.getSource(), e.copyTo("topLeft", $, "topLeftCell");
1593
- let t = we(e.getAttribute("defaultGridColor")), n = e.getAttribute("colorId");
1594
- n === null || t || (e.getSource().gridLineColor = "index" + parseFloat(n)), e.copyTo("showZeros", X), e.copyTo("showFormulas", X), e.copyTo("zoomScale", Z), e.copyTo("showRowHeaders", X, "showRowColHeaders"), e.copyTo("showColumnHeaders", X, "showRowColHeaders"), e.copyTo("showRowGridlines", X, "showGridLines"), e.copyTo("showColumnGridlines", X, "showGridLines"), e.copyTo("rightToLeft", X);
1599
+ let ie = (e) => {
1600
+ _ = e.getSource(), e.copyTo("topLeft", $, "topLeftCell");
1601
+ let t = he(e.getAttribute("defaultGridColor")), n = e.getAttribute("colorId");
1602
+ n === null || t || (e.getSource().gridLineColor = "index" + parseFloat(n)), e.copyTo("showZeros", X), e.copyTo("showFormulas", X), e.copyTo("zoomScale", Z), e.copyTo("showRowHeaders", X, "showRowColHeaders"), e.copyTo("showColumnHeaders", X, "showRowColHeaders"), e.copyTo("showRowGridlines", X, "showGridLines"), e.copyTo("showColumnGridlines", X, "showGridLines"), e.copyTo("rightToLeft", X), e.copyTo("showOutlineSymbols", X);
1595
1603
  };
1596
- l.registerVisitor({
1604
+ d.registerVisitor({
1597
1605
  from: "sheetView",
1598
1606
  to: "view",
1599
1607
  openTag: (e) => {
1600
- re(e);
1608
+ ie(e);
1601
1609
  },
1602
1610
  closeTag: () => {
1603
- x = null;
1611
+ _ = null;
1604
1612
  }
1605
- }), l.registerVisitor({
1613
+ }), d.registerVisitor({
1606
1614
  from: "customSheetViews",
1607
1615
  to: "customSheetViews",
1608
1616
  openTag: (e) => {
1609
1617
  e.setSource([]);
1610
1618
  }
1611
- }), l.registerVisitor({
1619
+ }), d.registerVisitor({
1612
1620
  from: "customSheetView",
1613
1621
  to: [],
1614
1622
  openTag: (e) => {
1615
- re(e);
1623
+ ie(e);
1616
1624
  },
1617
1625
  closeTag: () => {
1618
- x = null;
1626
+ _ = null;
1619
1627
  }
1620
- }), l.registerVisitor({
1628
+ }), d.registerVisitor({
1621
1629
  from: "selection",
1622
1630
  to: "selection",
1623
1631
  openTag: (e) => {
1624
- if (!x) return;
1632
+ if (!_) return;
1625
1633
  e.copyTo("cell", $, "activeCell"), e.copyTo("rangeIndex", Z, "activeCellId");
1626
1634
  let t = e.getAttribute("activeCell"), n = e.getAttribute("sqref");
1627
1635
  n && n !== t && (e.getSource().ranges = n.trim().split(/\s+/));
1628
1636
  }
1629
- }), l.registerVisitor({
1637
+ }), d.registerVisitor({
1630
1638
  from: "pane",
1631
1639
  to: null,
1632
1640
  openTag: (e) => {
1633
- if (x && e.getAttribute("state") === "frozen") {
1641
+ if (_ && e.getAttribute("state") === "frozen") {
1634
1642
  let t = {};
1635
- x.freezePanes = t, e.copyToObject(t, "topLeft", $, "topLeftCell");
1636
- let n = (x.topLeft ? s.fastStringToCell(x.topLeft) : void 0) ?? {
1643
+ _.freezePanes = t, e.copyToObject(t, "topLeft", $, "topLeftCell");
1644
+ let n = (_.topLeft ? s.fastStringToCell(_.topLeft) : void 0) ?? {
1637
1645
  colIndex: 0,
1638
1646
  rowIndex: 0
1639
1647
  }, r = {
@@ -1648,67 +1656,73 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1648
1656
  t.coords = s.cellToString(i);
1649
1657
  }
1650
1658
  }
1651
- }), l.registerVisitor({
1659
+ }), d.registerVisitor({
1652
1660
  from: "sheetPr",
1653
1661
  transparent: !0,
1654
1662
  openTag: (t) => {
1655
1663
  let n = t.getAttribute("codeName");
1656
1664
  n && (e.codeName = n), !1 === t.getAttribute("enableFormatConditionsCalculation", X) && (e.conditionalFormatCalculation = !1);
1657
1665
  }
1658
- }), l.registerVisitor({
1666
+ }), d.registerVisitor({
1659
1667
  from: "tabColor",
1660
1668
  to: null,
1661
1669
  openTag: (t) => {
1662
- let n = be((e) => t.getAttribute(e));
1670
+ let n = Te((e) => t.getAttribute(e));
1663
1671
  n && (e.tabColor = n);
1664
1672
  }
1665
- }), l.registerVisitor({
1673
+ }), d.registerVisitor({
1666
1674
  from: "pageSetUpPr",
1667
1675
  to: "pageSetUpPr",
1668
1676
  openTag: (e) => {}
1669
- }), l.registerVisitor({
1677
+ }), d.registerVisitor({
1670
1678
  from: "outlinePr",
1671
1679
  to: null,
1672
1680
  openTag: (t) => {
1673
- let n = {};
1674
- t.copyToObject(n, "summaryBelow", X), t.copyToObject(n, "summaryRight", X), t.copyToObject(n, "showOutlineSymbols", X), t.copyToObject(n, "applyStyles", X), Object.keys(n).length > 0 && (e.outline = n);
1675
- }
1676
- }), l.registerVisitor({
1681
+ let n = (e) => {
1682
+ let n = t.getAttribute(e);
1683
+ return n === "0" || n === "false";
1684
+ }, r = {};
1685
+ n("summaryBelow") && (r.summaryRow = "up"), n("summaryRight") && (r.summaryColumn = "left"), (() => {
1686
+ let e = t.getAttribute("applyStyles");
1687
+ return e === "1" || e === "true";
1688
+ })() && (r.automaticStyles = !0), Object.keys(r).length > 0 && (e.outline = r);
1689
+ }
1690
+ }), d.registerVisitor({
1677
1691
  from: "pageMargins",
1678
1692
  to: "pageMargins",
1679
1693
  openTag: (e) => {
1680
1694
  e.copyTo("bottom", Q), e.copyTo("footer", Q), e.copyTo("header", Q), e.copyTo("left", Q), e.copyTo("right", Q), e.copyTo("top", Q), e.copyTo("bottom", Q);
1681
1695
  }
1682
- }), l.registerVisitor({
1696
+ }), d.registerVisitor({
1683
1697
  from: "pageSetup",
1684
1698
  to: "pageSetup",
1685
1699
  openTag: (e) => {
1686
1700
  e.copyTo("blackAndWhite", X), e.copyTo("cellComments"), e.copyTo("copies", Z), e.copyTo("draft", X), e.copyTo("errors"), e.copyTo("firstPageNumber", Z), e.copyTo("fitToHeight", Z), e.copyTo("fitToWidth", Z), e.copyTo("horizontalDpi", Z), e.copyTo("orientation"), e.copyTo("pageOrder"), e.copyTo("paperSize", Z), e.copyTo("scale", Z), e.copyTo("useFirstPageNumber", X), e.copyTo("usePrinterDefaults", X), e.copyTo("verticalDpi", Z);
1687
1701
  }
1688
- }), l.registerVisitor({
1702
+ }), d.registerVisitor({
1689
1703
  from: "printOptions",
1690
1704
  to: "printOptions",
1691
1705
  openTag: (e) => {
1692
1706
  e.copyTo("gridLines", X), e.copyTo("gridLinesSet", X), e.copyTo("headings", X), e.copyTo("horizontalCentered", X), e.copyTo("verticalCentered", X);
1693
1707
  }
1694
- }), l.registerVisitor({
1708
+ }), d.registerVisitor({
1695
1709
  from: "headerFoot",
1696
1710
  to: "headerFoot",
1697
1711
  openTag: (e) => {}
1698
- }), l.registerVisitor({
1712
+ }), d.registerVisitor({
1699
1713
  from: "mergeCells",
1700
1714
  to: "merges",
1701
1715
  openTag: (e) => {
1702
1716
  e.setSource([]);
1703
1717
  }
1704
- }), l.registerVisitor({
1718
+ }), d.registerVisitor({
1705
1719
  from: "dataValidations",
1706
1720
  to: "validations",
1707
1721
  openTag: (e) => {
1708
1722
  e.setSource([]);
1709
1723
  }
1710
1724
  });
1711
- let ie = {
1725
+ let ae = {
1712
1726
  from: "dataValidation",
1713
1727
  to: [],
1714
1728
  openTag: (e) => {
@@ -1727,25 +1741,25 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1727
1741
  closeTag: (e) => {
1728
1742
  let t = e.getSource();
1729
1743
  if (!t?.rule) return;
1730
- let n = M(t.rule, a);
1744
+ let n = ge(t.rule, a);
1731
1745
  n && (e.getAttribute("allowBlank", X) && (n.includeBlanks = !0), t.v.condition = n), delete t.rule;
1732
1746
  }
1733
1747
  };
1734
- l.registerVisitor(ie), l.registerVisitor({
1748
+ d.registerVisitor(ae), d.registerVisitor({
1735
1749
  from: "formula1",
1736
1750
  to: {},
1737
1751
  text: (e, t) => {
1738
1752
  let n = t.getParent().rule;
1739
1753
  n?.type && (n.formula1 = w(h(e), n.type));
1740
1754
  }
1741
- }), l.registerVisitor({
1755
+ }), d.registerVisitor({
1742
1756
  from: "formula2",
1743
1757
  to: {},
1744
1758
  text: (e, t) => {
1745
1759
  let n = t.getParent().rule;
1746
1760
  n?.type && (n.formula2 = w(h(e), n.type));
1747
1761
  }
1748
- }), l.registerVisitor({
1762
+ }), d.registerVisitor({
1749
1763
  from: "picture",
1750
1764
  to: "picture",
1751
1765
  openTag: (e) => {
@@ -1755,7 +1769,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1755
1769
  e.getSource().resId = r;
1756
1770
  }
1757
1771
  });
1758
- let ae = {
1772
+ let oe = {
1759
1773
  from: "slicer",
1760
1774
  to: {},
1761
1775
  openTag: (e) => {
@@ -1767,8 +1781,8 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1767
1781
  for (let e of a) i.slicers[e] = r[e];
1768
1782
  }
1769
1783
  };
1770
- l.registerVisitor(ae);
1771
- let le = (e, t) => ({
1784
+ d.registerVisitor(oe);
1785
+ let se = (e, t) => ({
1772
1786
  from: e,
1773
1787
  to: {},
1774
1788
  openTag: (e) => {
@@ -1780,8 +1794,8 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1780
1794
  closeTag: (e) => {
1781
1795
  t(String(e.getSource() ?? ""), e);
1782
1796
  }
1783
- }), S = /* @__PURE__ */ new Map();
1784
- S.set("dataValidations", {
1797
+ }), ce = /* @__PURE__ */ new Map();
1798
+ ce.set("dataValidations", {
1785
1799
  from: "dataValidations",
1786
1800
  to: "validations",
1787
1801
  openTag: (e) => {
@@ -1791,15 +1805,15 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1791
1805
  closeTag: (e) => {
1792
1806
  (e.getSource()?.length ?? 0) === 0 && e.setSource(void 0);
1793
1807
  }
1794
- }), S.set("dataValidation", {
1795
- ...ie,
1808
+ }), ce.set("dataValidation", {
1809
+ ...ae,
1796
1810
  closeTag: (e) => {
1797
- ie.closeTag(e);
1811
+ ae.closeTag(e);
1798
1812
  let t = e.getSource();
1799
1813
  t && !t.r && (e.warn("x14 dataValidation with no xm:sqref was dropped."), e.setSource(void 0));
1800
1814
  }
1801
1815
  });
1802
- let C = (e) => ({
1816
+ let le = (e) => ({
1803
1817
  from: e,
1804
1818
  to: {},
1805
1819
  openTag: (t) => {
@@ -1809,18 +1823,18 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1809
1823
  });
1810
1824
  }
1811
1825
  });
1812
- S.set("formula1", C("formula1")), S.set("formula2", C("formula2")), S.set("f", le("f", (e, t) => {
1826
+ ce.set("formula1", le("formula1")), ce.set("formula2", le("formula2")), ce.set("f", se("f", (e, t) => {
1813
1827
  let n = t.getParent(), r = n?.rule;
1814
1828
  r && (r[n.key] = w(h(e), r.type));
1815
- })), S.set("sqref", le("sqref", (e, t) => {
1829
+ })), ce.set("sqref", se("sqref", (e, t) => {
1816
1830
  let n = t.getParent(), r = e.trim();
1817
1831
  n && r && (n.r = r.split(/\s+/).join(","));
1818
1832
  }));
1819
- let de = /* @__PURE__ */ new Map(), fe = [], E = /* @__PURE__ */ new Map();
1820
- E.set("conditionalFormattings", {
1833
+ let C = /* @__PURE__ */ new Map(), T = [], D = /* @__PURE__ */ new Map();
1834
+ D.set("conditionalFormattings", {
1821
1835
  from: "conditionalFormattings",
1822
1836
  transparent: !0
1823
- }), E.set("conditionalFormatting", {
1837
+ }), D.set("conditionalFormatting", {
1824
1838
  from: "conditionalFormatting",
1825
1839
  to: {},
1826
1840
  openTag: (e) => {
@@ -1830,10 +1844,10 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1830
1844
  let t = e.getSource(), n = t?.rules ?? [];
1831
1845
  for (let e = 0; e < n.length; e++) {
1832
1846
  let r = n[e];
1833
- r.sqref = t.sqref, r.id ? de.set(r.id, r) : fe.push(r);
1847
+ r.sqref = t.sqref, r.id ? C.set(r.id, r) : T.push(r);
1834
1848
  }
1835
1849
  }
1836
- }), E.set("cfRule", {
1850
+ }), D.set("cfRule", {
1837
1851
  from: "cfRule",
1838
1852
  to: {},
1839
1853
  openTag: (e) => {
@@ -1843,10 +1857,10 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1843
1857
  let t = e.getSource();
1844
1858
  t && e.getParent()?.rules?.push(t);
1845
1859
  }
1846
- }), E.set("sqref", le("sqref", (e, t) => {
1860
+ }), D.set("sqref", se("sqref", (e, t) => {
1847
1861
  let n = t.getParent(), r = e.trim();
1848
1862
  n && r && (n.sqref = r);
1849
- })), E.set("dataBar", {
1863
+ })), D.set("dataBar", {
1850
1864
  from: "dataBar",
1851
1865
  to: {},
1852
1866
  openTag: (e) => {
@@ -1855,7 +1869,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1855
1869
  closeTag: (e) => {
1856
1870
  e.getParent().dataBar = e.getSource();
1857
1871
  }
1858
- }), E.set("iconSet", {
1872
+ }), D.set("iconSet", {
1859
1873
  from: "iconSet",
1860
1874
  to: {},
1861
1875
  openTag: (e) => {
@@ -1865,26 +1879,26 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1865
1879
  e.getParent().iconSet = e.getSource();
1866
1880
  }
1867
1881
  });
1868
- let O = /* @__PURE__ */ new Map();
1869
- O.set("f", le("f", (e, t) => {
1882
+ let de = /* @__PURE__ */ new Map();
1883
+ de.set("f", se("f", (e, t) => {
1870
1884
  let n = t.getParent();
1871
1885
  if (!n) return;
1872
1886
  let r = e.trim(), i = Number(r);
1873
1887
  n.value = r.length > 0 && Number.isFinite(i) ? i : h(e);
1874
- })), E.set("cfvo", {
1888
+ })), D.set("cfvo", {
1875
1889
  from: "cfvo",
1876
1890
  to: {},
1877
- scope: () => O,
1891
+ scope: () => de,
1878
1892
  openTag: (e) => {
1879
1893
  let t = e.getParent();
1880
1894
  t.conditions ||= [];
1881
1895
  let n = e.getSource();
1882
1896
  t.conditions.push(n), e.copyTo("type", $), !1 === e.getAttribute("gte", X) && (n.exclusive = !0);
1883
1897
  }
1884
- }), E.set("f", le("f", (e, t) => {
1898
+ }), D.set("f", se("f", (e, t) => {
1885
1899
  let n = t.getParent();
1886
1900
  n && (n.formulas ??= []).push(h(e));
1887
- })), E.set("dxf", {
1901
+ })), D.set("dxf", {
1888
1902
  from: "dxf",
1889
1903
  to: {},
1890
1904
  raw: !0,
@@ -1896,15 +1910,15 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1896
1910
  n && (t.style = n);
1897
1911
  }
1898
1912
  });
1899
- let A = (e) => ({
1913
+ let me = (e) => ({
1900
1914
  from: e,
1901
1915
  to: {},
1902
1916
  openTag: (t) => {
1903
- let n = be((e) => t.getAttribute(e));
1917
+ let n = Te((e) => t.getAttribute(e));
1904
1918
  n && (t.getParent()[e] = n);
1905
1919
  }
1906
1920
  });
1907
- E.set("borderColor", A("borderColor")), E.set("negativeFillColor", A("negativeFillColor")), E.set("negativeBorderColor", A("negativeBorderColor")), E.set("axisColor", A("axisColor")), E.set("cfIcon", {
1921
+ D.set("borderColor", me("borderColor")), D.set("negativeFillColor", me("negativeFillColor")), D.set("negativeBorderColor", me("negativeBorderColor")), D.set("axisColor", me("axisColor")), D.set("cfIcon", {
1908
1922
  from: "cfIcon",
1909
1923
  to: {},
1910
1924
  openTag: (e) => {
@@ -1917,54 +1931,55 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1917
1931
  });
1918
1932
  }
1919
1933
  });
1920
- let pe = /* @__PURE__ */ new Map();
1921
- pe.set("id", le("id", (e, t) => {
1934
+ let M = /* @__PURE__ */ new Map();
1935
+ M.set("id", se("id", (e, t) => {
1922
1936
  let n = t.getParent(), r = e.trim();
1923
1937
  n && r && (n.x14Id = r);
1924
1938
  }));
1925
- let j = /* @__PURE__ */ new Map();
1926
- j.set("slicerList", {
1939
+ let ve = /* @__PURE__ */ new Map();
1940
+ ve.set("slicerList", {
1927
1941
  from: "slicerList",
1928
1942
  transparent: !0
1929
- }), j.set("slicer", ae);
1930
- let he = /* @__PURE__ */ new Map([
1931
- [k(te), S],
1932
- [k(se), E],
1933
- [k(y), E],
1934
- [k(b), pe],
1935
- [k(ue), j],
1936
- [k(v), j]
1937
- ]), ge = /* @__PURE__ */ new Set();
1938
- l.registerVisitor({
1943
+ }), ve.set("slicer", oe);
1944
+ let Se = /* @__PURE__ */ new Map([
1945
+ [O(E), ce],
1946
+ [O(k), D],
1947
+ [O(be), D],
1948
+ [O(_e), M],
1949
+ [O(A), ve],
1950
+ [O(ue), ve],
1951
+ [O(ye), re]
1952
+ ]), Ce = /* @__PURE__ */ new Set();
1953
+ d.registerVisitor({
1939
1954
  from: "extLst",
1940
1955
  transparent: !0
1941
- }), l.registerVisitor({
1956
+ }), d.registerVisitor({
1942
1957
  from: "ext",
1943
1958
  transparent: !0,
1944
1959
  scope: (e) => {
1945
- let t = e.getAttribute("uri"), n = k(t), r = he.get(n);
1960
+ let t = e.getAttribute("uri"), n = O(t), r = Se.get(n);
1946
1961
  if (r) return r;
1947
- if (!_.has(n) && !ge.has(n)) {
1948
- ge.add(n);
1949
- let r = D[n];
1962
+ if (!xe.has(n) && !Ce.has(n)) {
1963
+ Ce.add(n);
1964
+ let r = te[n];
1950
1965
  e.warn(r ? `Extension content '${r}' (${t}) is not read; it will be lost on resave.` : `Unknown extension content (uri ${t}) is not read; it will be lost on resave.`);
1951
1966
  }
1952
1967
  return null;
1953
1968
  }
1954
- }), l.registerVisitor({
1969
+ }), d.registerVisitor({
1955
1970
  from: "mergeCell",
1956
1971
  to: [],
1957
1972
  openTag: (e) => {
1958
1973
  let t = e.getAttribute("ref");
1959
1974
  e.setSource(t);
1960
1975
  }
1961
- }), l.registerVisitor({
1976
+ }), d.registerVisitor({
1962
1977
  from: "hyperlinks",
1963
1978
  to: "hyperlinks",
1964
1979
  openTag: (e) => {
1965
1980
  e.setSource([]);
1966
1981
  }
1967
- }), l.registerVisitor({
1982
+ }), d.registerVisitor({
1968
1983
  from: "hyperlink",
1969
1984
  to: [],
1970
1985
  openTag: (e) => {
@@ -1985,7 +2000,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1985
2000
  v: o
1986
2001
  });
1987
2002
  }
1988
- }), l.registerVisitor({
2003
+ }), d.registerVisitor({
1989
2004
  from: "drawing",
1990
2005
  to: "movables",
1991
2006
  openTag: (e) => {
@@ -1994,35 +2009,35 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
1994
2009
  let r = t(n);
1995
2010
  r ? e.setSource(r.movables) : e.warn("A drawing part is missing; its shapes were not imported.", { onceKey: "xlsx.sheet.drawing.missing" });
1996
2011
  }
1997
- }), l.registerVisitor({
2012
+ }), d.registerVisitor({
1998
2013
  from: "legacyDrawing",
1999
2014
  to: "legacyDrawing",
2000
2015
  openTag: (e) => {
2001
2016
  e.setSource(t(e.getAttribute("r:id"), "legacyDrawing") ?? void 0);
2002
2017
  }
2003
- }), l.registerVisitor({
2018
+ }), d.registerVisitor({
2004
2019
  from: "legacyDrawingHF",
2005
2020
  to: "legacyDrawingHF",
2006
2021
  openTag: (e) => {
2007
2022
  e.setSource(t(e.getAttribute("r:id"), "legacyDrawing") ?? void 0);
2008
2023
  }
2009
2024
  });
2010
- let N = null, _e = !1, P = /* @__PURE__ */ new Map(), ve = {
2025
+ let F = null, we = !1, I = /* @__PURE__ */ new Map(), L = {
2011
2026
  from: "Fallback",
2012
2027
  to: null
2013
- }, ye = {
2028
+ }, Ee = {
2014
2029
  from: "Choice",
2015
2030
  transparent: !0
2016
2031
  };
2017
- P.set("Fallback", ve), P.set("Choice", ye), P.set("control", {
2032
+ I.set("Fallback", L), I.set("Choice", Ee), I.set("control", {
2018
2033
  from: "control",
2019
2034
  transparent: !0,
2020
2035
  openTag: (e) => {
2021
- let n = {}, r = parseInt(e.getAttribute("shapeId") ?? "", 10);
2022
- isNaN(r) || (n.shapeId = r);
2023
- let i = e.getAttribute("r:id"), a = i ? t(i, "part") : null;
2024
- a && (n.part = a);
2025
- let o = e.getAttribute("name"), s = {
2036
+ let n = e.getAttribute("name"), r = e.getAttribute("r:id"), i = r ? t(r, "formControl") : null;
2037
+ if (!i) return e.warn(`The form control '${n ?? ""}' has no properties and was not read.`, { onceKey: "xlsx.sheet.control.noProperties" }), void (F = null);
2038
+ let a = i.json, o = parseInt(e.getAttribute("shapeId") ?? "", 10);
2039
+ isNaN(o) || (a.shapeId = o);
2040
+ let s = {
2026
2041
  anchor: {
2027
2042
  tl: {
2028
2043
  c: 0,
@@ -2038,71 +2053,71 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2038
2053
  }
2039
2054
  },
2040
2055
  content: {
2041
- type: "control",
2042
- json: n
2056
+ type: i.type,
2057
+ json: a
2043
2058
  }
2044
2059
  };
2045
- o && (s.content.name = o), N = {
2060
+ n && (s.content.name = n), F = {
2046
2061
  movable: s,
2047
- control: n
2062
+ control: a
2048
2063
  };
2049
2064
  },
2050
2065
  closeTag: () => {
2051
- N &&= (e.movables ||= [], e.movables.push(N.movable), null);
2066
+ F &&= (e.movables ||= [], e.movables.push(F.movable), null);
2052
2067
  }
2053
- }), P.set("controlPr", {
2068
+ }), I.set("controlPr", {
2054
2069
  from: "controlPr",
2055
2070
  transparent: !0,
2056
2071
  raw: !0,
2057
2072
  openTag: (e) => {
2058
- if (!N) return;
2073
+ if (!F) return;
2059
2074
  let t = e.getFrom().attributes ?? {}, n = {};
2060
2075
  for (let e in t) {
2061
2076
  let r = t[e];
2062
2077
  n[e] = typeof r == "string" ? r : r?.value ?? "";
2063
2078
  }
2064
- Object.keys(n).length > 0 && (N.control.props = n);
2079
+ j(n, F.control);
2065
2080
  },
2066
2081
  closeTag: (e) => {
2067
- if (!N) return;
2082
+ if (!F) return;
2068
2083
  let t = ((e) => {
2069
2084
  let t = /<(?:[\w.-]+:)?anchor\b([^>]*)>([\s\S]*?)<\/(?:[\w.-]+:)?anchor>/.exec(e);
2070
2085
  if (!t) return null;
2071
2086
  let n = t[2], r = (e) => RegExp(`<(?:[\\w.-]+:)?${e}\\b[^>]*>([\\s\\S]*?)<\\/(?:[\\w.-]+:)?${e}>`).exec(n)?.[1], i = t[1], a = /\bmoveWithCells="(?:1|true)"/.test(i), o = /\bsizeWithCells="(?:1|true)"/.test(i);
2072
2087
  return {
2073
2088
  anchor: {
2074
- tl: kt(r("from")),
2075
- br: kt(r("to"))
2089
+ tl: Pt(r("from")),
2090
+ br: Pt(r("to"))
2076
2091
  },
2077
2092
  anchorType: a ? o ? "twoCell" : "oneCell" : "absolute",
2078
2093
  rest: (e.slice(0, t.index) + e.slice(t.index + t[0].length)).trim()
2079
2094
  };
2080
2095
  })(e.getRawXml() ?? "");
2081
- t ? (N.movable.anchor = t.anchor, t.anchorType !== "twoCell" && (N.movable.anchorType = t.anchorType), t.rest && (N.control.xml = t.rest)) : _e || (_e = !0, e.warn("A form control has no anchor; it is placed at the top left of the sheet."));
2096
+ t ? (F.movable.anchor = t.anchor, t.anchorType !== "twoCell" && (F.movable.anchorType = t.anchorType), t.rest && (F.control.xml = t.rest)) : we || (we = !0, e.warn("A form control has no anchor; it is placed at the top left of the sheet."));
2082
2097
  }
2083
2098
  });
2084
- let xe = {
2099
+ let De = {
2085
2100
  from: "controls",
2086
2101
  transparent: !0,
2087
- scope: () => P
2102
+ scope: () => I
2088
2103
  };
2089
- l.registerVisitor(xe);
2090
- let Se = /* @__PURE__ */ new Map([
2091
- ["Choice", ye],
2092
- ["Fallback", ve],
2093
- ["controls", xe]
2104
+ d.registerVisitor(De);
2105
+ let Oe = /* @__PURE__ */ new Map([
2106
+ ["Choice", Ee],
2107
+ ["Fallback", L],
2108
+ ["controls", De]
2094
2109
  ]);
2095
- l.registerVisitor({
2110
+ d.registerVisitor({
2096
2111
  from: "AlternateContent",
2097
2112
  transparent: !0,
2098
- scope: () => Se
2099
- }), l.registerVisitor({
2113
+ scope: () => Oe
2114
+ }), d.registerVisitor({
2100
2115
  from: "tableParts",
2101
2116
  to: "tables",
2102
2117
  openTag: (e) => {
2103
2118
  e.setSource([]);
2104
2119
  }
2105
- }), l.registerVisitor({
2120
+ }), d.registerVisitor({
2106
2121
  from: "tablePart",
2107
2122
  to: [],
2108
2123
  openTag: (e) => {
@@ -2112,26 +2127,26 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2112
2127
  r ? e.setSource(r) : e.warn("A table part is missing; the table was not imported.", { onceKey: "xlsx.sheet.table.missing" });
2113
2128
  }
2114
2129
  });
2115
- let Ce = (e, t) => {
2116
- t.conditions?.length && (e.stops = ne(t)), t.minLength !== void 0 && (e.minLength = t.minLength), t.maxLength !== void 0 && (e.maxLength = t.maxLength), (t.gradient ?? 1) && (e.gradient = !0), t.border && t.borderColor && (e.borderColor = t.borderColor), !t.negativeBarColorSameAsPositive && t.negativeFillColor && (e.negativeFillColor = t.negativeFillColor), !(t.negativeBarBorderColorSameAsPositive ?? 1) && t.negativeBorderColor && (e.negativeBorderColor = t.negativeBorderColor), t.axisColor && (e.axisColor = t.axisColor), t.axisPosition !== "middle" && t.axisPosition !== "none" || (e.axisPosition = t.axisPosition), t.direction !== "leftToRight" && t.direction !== "rightToLeft" || (e.direction = t.direction);
2117
- }, Te = (e, t) => {
2118
- t.conditions?.length && (e.stops = ne(t)), t.iconSet && t.iconSet !== e.iconSet && (e.iconSet = t.iconSet), t.icons?.length && (e.icon = t.icons), t.reverse !== void 0 && (e.reverse = t.reverse), t.showValue !== void 0 && (e.showValue = t.showValue);
2119
- }, Ee = (e) => {
2130
+ let R = (e, t) => {
2131
+ t.conditions?.length && (e.stops = v(t)), t.minLength !== void 0 && (e.minLength = t.minLength), t.maxLength !== void 0 && (e.maxLength = t.maxLength), (t.gradient ?? 1) && (e.gradient = !0), t.border && t.borderColor && (e.borderColor = t.borderColor), !t.negativeBarColorSameAsPositive && t.negativeFillColor && (e.negativeFillColor = t.negativeFillColor), !(t.negativeBarBorderColorSameAsPositive ?? 1) && t.negativeBorderColor && (e.negativeBorderColor = t.negativeBorderColor), t.axisColor && (e.axisColor = t.axisColor), t.axisPosition !== "middle" && t.axisPosition !== "none" || (e.axisPosition = t.axisPosition), t.direction !== "leftToRight" && t.direction !== "rightToLeft" || (e.direction = t.direction);
2132
+ }, ke = (e, t) => {
2133
+ t.conditions?.length && (e.stops = v(t)), t.iconSet && t.iconSet !== e.iconSet && (e.iconSet = t.iconSet), t.icons?.length && (e.icon = t.icons), t.reverse !== void 0 && (e.reverse = t.reverse), t.showValue !== void 0 && (e.showValue = t.showValue);
2134
+ }, z = (e) => {
2120
2135
  if (!e.sqref) return null;
2121
2136
  let t = e.sqref.split(/\s+/).join(",");
2122
2137
  if (e.type === "iconSet") {
2123
2138
  if (!e.iconSet) return null;
2124
2139
  let n = {
2125
- type: d.ScaleType.IconSet,
2140
+ type: f.ScaleType.IconSet,
2126
2141
  stops: []
2127
2142
  };
2128
- return Te(n, e.iconSet), {
2143
+ return ke(n, e.iconSet), {
2129
2144
  r: t,
2130
2145
  v: { scale: n },
2131
2146
  priority: e.priority
2132
2147
  };
2133
2148
  }
2134
- let n = ce(e, a);
2149
+ let n = S(e, a);
2135
2150
  if (!n) return null;
2136
2151
  let r = { condition: n };
2137
2152
  return e.style && (r.style = e.style), e.stopIfTrue && (r.stopIfTrue = !0), {
@@ -2140,7 +2155,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2140
2155
  priority: e.priority
2141
2156
  };
2142
2157
  };
2143
- l.registerVisitor({
2158
+ d.registerVisitor({
2144
2159
  from: "worksheet",
2145
2160
  to: {},
2146
2161
  openTag: (e) => {},
@@ -2150,15 +2165,15 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2150
2165
  let t = n[e], r = t.x14Id;
2151
2166
  if (!r) continue;
2152
2167
  delete t.x14Id;
2153
- let i = de.get(r);
2168
+ let i = C.get(r);
2154
2169
  if (!i) continue;
2155
- de.delete(r);
2170
+ C.delete(r);
2156
2171
  let a = t.v?.scale;
2157
- i.dataBar && a?.type === d.ScaleType.DataBar ? Ce(a, i.dataBar) : i.iconSet && a?.type === d.ScaleType.IconSet && Te(a, i.iconSet);
2172
+ i.dataBar && a?.type === f.ScaleType.DataBar ? R(a, i.dataBar) : i.iconSet && a?.type === f.ScaleType.IconSet && ke(a, i.iconSet);
2158
2173
  }
2159
- let r = [...de.values(), ...fe], i = /* @__PURE__ */ new Set(), o = 0;
2174
+ let r = [...C.values(), ...T], i = /* @__PURE__ */ new Set(), o = 0;
2160
2175
  for (let e = 0; e < r.length; e++) {
2161
- let a = Ee(r[e]);
2176
+ let a = z(r[e]);
2162
2177
  a ? (n || (n = [], t.conditionals = n), n.push(a)) : (i.add(r[e].type ?? "unknown"), o++);
2163
2178
  }
2164
2179
  if (o > 0) {
@@ -2170,7 +2185,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2170
2185
  for (let e = 0; e < n.length; e++) delete n[e].priority;
2171
2186
  }
2172
2187
  }
2173
- }), l.registerVisitor({
2188
+ }), d.registerVisitor({
2174
2189
  from: "customProperties",
2175
2190
  to: "customProperties",
2176
2191
  openTag: (e) => {
@@ -2180,7 +2195,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2180
2195
  let t = e.getSource();
2181
2196
  t.length > 0 && (e.getParent().customProperties = t);
2182
2197
  }
2183
- }), l.registerVisitor({
2198
+ }), d.registerVisitor({
2184
2199
  from: "customPr",
2185
2200
  to: {},
2186
2201
  openTag: (e) => {
@@ -2191,26 +2206,26 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2191
2206
  let i = t(r, "resource"), a = e.getSource();
2192
2207
  a.resId = i, n.push(a);
2193
2208
  }
2194
- }), l.registerVisitor({
2209
+ }), d.registerVisitor({
2195
2210
  from: "sheetProtection",
2196
2211
  to: "protection",
2197
2212
  openTag: (e) => {
2198
2213
  let t = e.getSource();
2199
- for (let n of ee) {
2214
+ for (let n of b) {
2200
2215
  let r = e.hasAttribute(n.attribute) ? e.getAttribute(n.attribute) : null;
2201
- t[n.key] = oe(n, r);
2216
+ t[n.key] = pe(n, r);
2202
2217
  }
2203
2218
  if (t.sheet) return;
2204
2219
  let n = {};
2205
2220
  e.copyToObject(n, "hash", $, "hashValue"), e.copyToObject(n, "algorithm", $, "algorithmName"), e.copyToObject(n, "salt", $, "saltValue"), e.copyToObject(n, "spinCount", Z), Object.keys(n).length > 0 && (e.getSource().password = n);
2206
2221
  }
2207
- }), l.registerVisitor({
2222
+ }), d.registerVisitor({
2208
2223
  from: "protectedRanges",
2209
2224
  to: "protectedRanges",
2210
2225
  openTag: (e) => {
2211
2226
  e.setSource([]);
2212
2227
  }
2213
- }), l.registerVisitor({
2228
+ }), d.registerVisitor({
2214
2229
  from: "protectedRange",
2215
2230
  to: [],
2216
2231
  openTag: (e) => {
@@ -2228,61 +2243,61 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2228
2243
  let t = e.getSource();
2229
2244
  t?.r && t.v.name || e.setSource(void 0);
2230
2245
  }
2231
- }), l.registerVisitor({
2246
+ }), d.registerVisitor({
2232
2247
  from: "sheetFormatPr",
2233
2248
  to: "sheetFormatPr",
2234
2249
  openTag: (t) => {
2235
- t.copyToObject(e, "defaultColSize", Q, "defaultColWidth"), t.copyToObject(e, "outlineLevelCol", Z, "outlineLevelCol");
2250
+ t.copyToObject(e, "defaultColSize", Q, "defaultColWidth");
2236
2251
  let n = t.getAttribute("customHeight");
2237
- n !== "1" && n !== "true" || t.copyToObject(e, "defaultRowSize", Q, "defaultRowHeight"), t.copyToObject(e, "outlineLevelRow", Z, "outlineLevelRow");
2252
+ n !== "1" && n !== "true" || t.copyToObject(e, "defaultRowSize", Q, "defaultRowHeight");
2238
2253
  }
2239
- }), l.registerVisitor({
2254
+ }), d.registerVisitor({
2240
2255
  from: "cols",
2241
2256
  to: "cols",
2242
2257
  openTag: (e) => {
2243
2258
  e.setSource([]);
2244
2259
  }
2245
- }), l.registerVisitor({
2260
+ }), d.registerVisitor({
2246
2261
  from: "col",
2247
2262
  to: [],
2248
2263
  openTag: (e) => {
2249
2264
  let t = e.getSource(), n = e.getAttribute("min"), r = e.getAttribute("max"), i = n === void 0 ? 0 : parseInt(n) - 1, a = r === void 0 ? i : parseInt(r) - 1;
2250
2265
  t.r = s.runToString(i, a, !0);
2251
2266
  let o = {};
2252
- t.v = o, e.copyToObject(o, "sz", Q, "width"), e.copyToObject(o, "csz", X, "customWidth"), e.copyToObject(o, "h", X, "hidden"), e.copyToObject(o, "l", Z, "outlineLevel"), e.copyToObject(o, "s", Z, "style");
2267
+ t.v = o, e.copyToObject(o, "sz", Q, "width"), e.copyToObject(o, "csz", X, "customWidth"), e.copyToObject(o, "h", X, "hidden"), e.copyToObject(o, "l", Z, "outlineLevel"), e.copyToObject(o, "cl", X, "collapsed"), e.copyToObject(o, "s", Z, "style");
2253
2268
  }
2254
- }), l.registerVisitor({
2269
+ }), d.registerVisitor({
2255
2270
  from: "oleObjects",
2256
2271
  to: null,
2257
2272
  openTag: (e) => {
2258
2273
  e.warn("'OLE Objects' are not supported.");
2259
2274
  }
2260
2275
  });
2261
- let F = !1, I = !1, L = 0, De = "", Oe = (e) => {
2276
+ let Ae = !1, je = !1, B = 0, V = "", H = (e) => {
2262
2277
  let t = e.indexOf(":");
2263
2278
  return t === -1 ? e : e.slice(t + 1);
2264
2279
  };
2265
- return Ft(g, e, l.createEventHandler(e, i, a), a, o, {
2280
+ return Bt(g, e, d.createEventHandler(e, i, a), a, o, {
2266
2281
  onOpenTag: (e) => {
2267
- F = !0;
2268
- let t = Oe(e.name);
2269
- t === "t" || t === "v" ? L === 0 && (I = !0) : t !== "rPh" && t !== "phoneticPr" || L++;
2282
+ Ae = !0;
2283
+ let t = H(e.name);
2284
+ t === "t" || t === "v" ? B === 0 && (je = !0) : t !== "rPh" && t !== "phoneticPr" || B++;
2270
2285
  },
2271
2286
  onText: (e) => {
2272
- I && (De += e);
2287
+ je && (V += e);
2273
2288
  },
2274
2289
  onCloseTag: (e) => {
2275
- let t = Oe(e.name);
2276
- t === "t" || t === "v" ? I = !1 : t !== "rPh" && t !== "phoneticPr" || L > 0 && L--;
2290
+ let t = H(e.name);
2291
+ t === "t" || t === "v" ? je = !1 : t !== "rPh" && t !== "phoneticPr" || B > 0 && B--;
2277
2292
  },
2278
2293
  onEnd: () => {
2279
- if (!F) return;
2280
- let e = n(me(De));
2281
- return F = !1, I = !1, L = 0, De = "", e;
2294
+ if (!Ae) return;
2295
+ let e = n(ee(V));
2296
+ return Ae = !1, je = !1, B = 0, V = "", e;
2282
2297
  },
2283
2298
  onError: (e) => {}
2284
2299
  }, c);
2285
- }, Mt = class {
2300
+ }, Lt = class {
2286
2301
  static {
2287
2302
  this.Collapsed = 1;
2288
2303
  }
@@ -2319,17 +2334,17 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2319
2334
  static {
2320
2335
  this.ThickTop = 2048;
2321
2336
  }
2322
- }, Nt = (e, t, n) => {
2337
+ }, Rt = (e, t, n) => {
2323
2338
  if (e[0].value[0] === e[1].value[0]) return t;
2324
- }, Pt = {
2339
+ }, zt = {
2325
2340
  colStart: 0,
2326
2341
  colEnd: 0,
2327
2342
  rowStart: 0,
2328
2343
  rowEnd: 0
2329
- }, Ft = (t, n, i, c, l, u, d) => {
2330
- let f = !1, p = !1, m = [], h = !1, g = null, _ = null, v = null, y = null, b = null, x = null, ee = d?.get("richData") ?? e.EmptyArray, te = d?.get("dummyWrapped") ?? null, ne = s.normalizeA1ToR1C1, re = r.createConflatingRanges(), ie = /* @__PURE__ */ new Map(), ae = [], oe = !1, se = !1, ce = null, le = !1, ue = r.createConflatingRanges(), S = !1, C = -1, w = -1, T = null, de = null, fe = null, E = [], D = null, O = -2, k = 0, A = "", pe = "", me = "", j = "", M = "", he = "", ge = "", N = "", _e = "", P = "", ve = "", ye = "", be = "", xe = "", Se = !0, Ce = null, we = !1, Te = !1, Ee = !1, F = null, I = 0, L = (e) => {
2344
+ }, Bt = (t, n, i, c, l, u, d) => {
2345
+ let f = !1, p = !1, m = [], h = !1, g = null, _ = null, v = null, y = null, b = null, ee = null, te = d?.get("richData") ?? e.EmptyArray, ne = d?.get("dummyWrapped") ?? null, x = s.normalizeA1ToR1C1, re = r.createConflatingRanges(), ie = /* @__PURE__ */ new Map(), S = [], ae = !1, oe = !1, se = null, ce = !1, le = r.createConflatingRanges(), C = !1, w = -1, T = -1, E = null, D = null, ue = null, de = [], fe = null, O = -2, k = 0, pe = "", me = "", A = "", j = "", M = "", N = "", P = "", he = "", ge = "", _e = "", ve = "", ye = "", be = "", xe = "", Se = !0, Ce = null, F = !1, we = !1, Te = !1, I = null, L = 0, Ee = (e) => {
2331
2346
  let t = e.name, r = t.indexOf(":");
2332
- if (r !== -1 && (t = t.slice(r + 1)), I++, I % 196608 == 0 && l?.(I), de) {
2347
+ if (r !== -1 && (t = t.slice(r + 1)), L++, L % 196608 == 0 && l?.(L), D) {
2333
2348
  let n = e.attributes;
2334
2349
  switch (t) {
2335
2350
  case "v":
@@ -2344,37 +2359,37 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2344
2359
  _ = n.ref, g = e;
2345
2360
  break;
2346
2361
  case "array":
2347
- _ = n.ref, ce = _;
2362
+ _ = n.ref, se = _;
2348
2363
  break;
2349
2364
  case "datatable": _ = n.ref, h = !0;
2350
2365
  }
2351
2366
  let e = n.ca;
2352
- e !== void 0 && (le = e === "1");
2367
+ e !== void 0 && (ce = e === "1");
2353
2368
  break;
2354
2369
  case "is":
2355
- S = !0;
2370
+ C = !0;
2356
2371
  return;
2357
2372
  }
2358
- S && !h && u?.onOpenTag?.(e);
2373
+ C && !h && u?.onOpenTag?.(e);
2359
2374
  return;
2360
2375
  }
2361
2376
  if (f) {
2362
2377
  if (t === "c") {
2363
- de = e;
2378
+ D = e;
2364
2379
  let t = e.attributes, n = t.r;
2365
- w = s.fastStringToCol(n);
2380
+ T = s.fastStringToCol(n);
2366
2381
  let r = t.t;
2367
- r === void 0 ? fe = null : (fe = r, fe === "str" && (S = !0));
2382
+ r === void 0 ? ue = null : (ue = r, ue === "str" && (C = !0));
2368
2383
  let i = t.s;
2369
- i === void 0 && (F !== null || Ee) && (i = "0"), i !== void 0 && (i = parseInt(i), Ce && Ce.value === i && Ce.colEnd + 1 === w ? Ce.colEnd = w : (Ce = {
2370
- colStart: w,
2371
- rowStart: C,
2372
- colEnd: w,
2373
- rowEnd: C,
2384
+ i === void 0 && (I !== null || Te) && (i = "0"), i !== void 0 && (i = parseInt(i), Ce && Ce.value === i && Ce.colEnd + 1 === T ? Ce.colEnd = T : (Ce = {
2385
+ colStart: T,
2386
+ rowStart: w,
2387
+ colEnd: T,
2388
+ rowEnd: w,
2374
2389
  value: i
2375
- }, m.push(Ce))), ce = null, se = !1;
2390
+ }, m.push(Ce))), se = null, oe = !1;
2376
2391
  let o = t.cm;
2377
- oe = o !== void 0 && ((e) => {
2392
+ ae = o !== void 0 && ((e) => {
2378
2393
  let t = d?.get("metadata")?.cells;
2379
2394
  if (!t) return !1;
2380
2395
  let n = parseInt(e, 10);
@@ -2382,54 +2397,54 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2382
2397
  })(o);
2383
2398
  let c = t.vm;
2384
2399
  if (c !== void 0) {
2385
- let e = ee[parseInt(c) - 1];
2400
+ let e = te[parseInt(c) - 1];
2386
2401
  if (a.isError(e)) {
2387
2402
  let t = e.getCode();
2388
- T = {
2403
+ E = {
2389
2404
  t: "e",
2390
2405
  v: t
2391
- }, oe && t === a.Code.Spill && (se = !0);
2406
+ }, ae && t === a.Code.Spill && (oe = !0);
2392
2407
  }
2393
2408
  }
2394
2409
  }
2395
2410
  } else {
2396
- if (Te && t === "row") {
2411
+ if (we && t === "row") {
2397
2412
  f = !0;
2398
2413
  let t = e.attributes.r;
2399
- if (C = parseInt(t) - 1, k = 0, pe = e.attributes.customHeight, pe !== void 0 && (k |= Mt.CustomHeight), pe !== _e && (Se = !0, _e = pe), A = e.attributes.ht, A !== void 0 && (k |= Mt.Ht), A !== N && (Se = !0, N = A), me = e.attributes.hidden, me !== void 0 && (k |= Mt.Hidden), me !== P && (Se = !0, P = me), M = e.attributes.s, M !== void 0 && (k |= Mt.S), M !== ye && (Se = !0, ye = M), j = e.attributes.customFormat, j !== void 0 && (k |= Mt.CustomFormat), j !== ve && (Se = !0, ve = j), he = e.attributes.outlineLevel, he !== void 0 && (k |= Mt.OutlineLevel), he !== be && (Se = !0, be = he), ge = e.attributes.collapsed, ge !== void 0 && (k |= Mt.Collapsed), ge !== xe && (Se = !0, xe = ge), k !== 0) if (O + 1 !== C || Se) {
2400
- let e = pe !== void 0 && (pe === "1" || pe === "true"), t = j !== void 0 && (j === "1" || j === "true");
2401
- F = t && M !== void 0 ? M : null, t && F === null && (F = "0"), D = {
2402
- min: C,
2403
- max: C,
2414
+ if (w = parseInt(t) - 1, k = 0, me = e.attributes.customHeight, me !== void 0 && (k |= Lt.CustomHeight), me !== ge && (Se = !0, ge = me), pe = e.attributes.ht, pe !== void 0 && (k |= Lt.Ht), pe !== he && (Se = !0, he = pe), A = e.attributes.hidden, A !== void 0 && (k |= Lt.Hidden), A !== _e && (Se = !0, _e = A), M = e.attributes.s, M !== void 0 && (k |= Lt.S), M !== ye && (Se = !0, ye = M), j = e.attributes.customFormat, j !== void 0 && (k |= Lt.CustomFormat), j !== ve && (Se = !0, ve = j), N = e.attributes.outlineLevel, N !== void 0 && (k |= Lt.OutlineLevel), N !== be && (Se = !0, be = N), P = e.attributes.collapsed, P !== void 0 && (k |= Lt.Collapsed), P !== xe && (Se = !0, xe = P), k !== 0) if (O + 1 !== w || Se) {
2415
+ let e = me !== void 0 && (me === "1" || me === "true"), t = j !== void 0 && (j === "1" || j === "true");
2416
+ I = t && M !== void 0 ? M : null, t && I === null && (I = "0"), fe = {
2417
+ min: w,
2418
+ max: w,
2404
2419
  value: {
2405
- sz: A === void 0 ? -1 : parseFloat(A),
2420
+ sz: pe === void 0 ? -1 : parseFloat(pe),
2406
2421
  csz: e,
2407
- h: me !== void 0 && (me === "1" || me === "true"),
2408
- s: F === null ? void 0 : F === "0" ? 0 : parseInt(F),
2409
- l: he === void 0 || he === "0" ? 0 : parseInt(he),
2410
- cl: ge !== void 0 && (ge === "1" || ge === "true")
2422
+ h: A !== void 0 && (A === "1" || A === "true"),
2423
+ s: I === null ? void 0 : I === "0" ? 0 : parseInt(I),
2424
+ l: N === void 0 || N === "0" ? 0 : parseInt(N),
2425
+ cl: P !== void 0 && (P === "1" || P === "true")
2411
2426
  }
2412
- }, E.push(D);
2413
- } else D.max = C;
2414
- O = C, Se = !1;
2427
+ }, de.push(fe);
2428
+ } else fe.max = w;
2429
+ O = w, Se = !1;
2415
2430
  return;
2416
2431
  }
2417
- if (t === "sheetData" && (Te = !0), !we && t === "sheetData") {
2418
- we = !0;
2432
+ if (t === "sheetData" && (we = !0), !F && t === "sheetData") {
2433
+ F = !0;
2419
2434
  let e = n.cols, t = e ? e.length : 0;
2420
- for (let n = 0; !Ee && n < t; n++) e[n].v.s && (Ee = !0);
2435
+ for (let n = 0; !Te && n < t; n++) e[n].v.s && (Te = !0);
2421
2436
  }
2422
2437
  i?.onOpenTag?.(e);
2423
2438
  }
2424
2439
  }, De = (e) => {
2425
2440
  let n = e.name;
2426
- if (n === "sheetData" && (Te = !1), !h || n !== "c" && n !== "f" || (g && (y = ie.get(g) ?? null), y && (re.append(C, w, y), le && ue.append(C, w)), ce !== null && ae.push([ce, oe ? se ? "error" : "dynamic" : "fixed"]), h = !1, y = null, g = null, _ = null, p = !1, le = !1, ce = null, oe = !1, se = !1), de) {
2441
+ if (n === "sheetData" && (we = !1), !h || n !== "c" && n !== "f" || (g && (y = ie.get(g) ?? null), y && (re.append(w, T, y), ce && le.append(w, T)), se !== null && S.push([se, ae ? oe ? "error" : "dynamic" : "fixed"]), h = !1, y = null, g = null, _ = null, p = !1, ce = !1, se = null, ae = !1, oe = !1), D) {
2427
2442
  let r = n.indexOf(":");
2428
- if (r !== -1 && (n = n.slice(r + 1)), S) if (n === "is" || n === "v") {
2443
+ if (r !== -1 && (n = n.slice(r + 1)), C) if (n === "is" || n === "v") {
2429
2444
  let e = u?.onEnd?.();
2430
- e != null && t.pushAt(C, w, "" + e);
2445
+ e != null && t.pushAt(w, T, "" + e);
2431
2446
  } else n !== "f" && u?.onCloseTag?.(e);
2432
- p &&= !1, n === "c" && (de = null, S = !1);
2447
+ p &&= !1, n === "c" && (D = null, C = !1);
2433
2448
  return;
2434
2449
  }
2435
2450
  if (f) return f = !1, void (Ce = null);
@@ -2437,24 +2452,24 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2437
2452
  }, Oe = (e) => {
2438
2453
  let r = e.trim();
2439
2454
  if (p) {
2440
- switch (T = null, fe) {
2455
+ switch (E = null, ue) {
2441
2456
  case null:
2442
2457
  case "n":
2443
- T = parseFloat(r);
2458
+ E = parseFloat(r);
2444
2459
  break;
2445
2460
  case "b":
2446
- T = r === "1" || r === "true";
2461
+ E = r === "1" || r === "true";
2447
2462
  break;
2448
2463
  case "s":
2449
- T = r;
2464
+ E = r;
2450
2465
  break;
2451
2466
  case "e":
2452
2467
  if (r === "#VALUE!") {
2453
- let e = de.attributes.vm;
2468
+ let e = D.attributes.vm;
2454
2469
  if (e !== void 0) {
2455
- let t = ee[parseInt(e) - 1];
2470
+ let t = te[parseInt(e) - 1];
2456
2471
  if (a.isError(t)) {
2457
- T = {
2472
+ E = {
2458
2473
  t: "e",
2459
2474
  v: t.getCode()
2460
2475
  };
@@ -2463,61 +2478,61 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2463
2478
  }
2464
2479
  }
2465
2480
  let e = a.getBuiltInByLabel(r);
2466
- e ? T = {
2481
+ e ? E = {
2467
2482
  t: "e",
2468
2483
  v: e.getCode()
2469
- } : (T = r, c?.(`Unknown formula error '${r}' in cell ${s.cellToString({
2470
- colIndex: w,
2471
- rowIndex: C
2484
+ } : (E = r, c?.(`Unknown formula error '${r}' in cell ${s.cellToString({
2485
+ colIndex: T,
2486
+ rowIndex: w
2472
2487
  })}`));
2473
2488
  break;
2474
2489
  case "str":
2475
- case "inlineStr": S = !0;
2490
+ case "inlineStr": C = !0;
2476
2491
  }
2477
- T !== null && t.pushAt(C, w, T);
2492
+ E !== null && t.pushAt(w, T, E);
2478
2493
  }
2479
2494
  if (g) {
2480
- if (b === g) y = x;
2495
+ if (b === g) y = ee;
2481
2496
  else {
2482
2497
  if (y = ie.get(g) ?? null, !y) {
2483
2498
  let e = [];
2484
- v = ne(r, C, w, e), y = [
2499
+ v = x(r, w, T, e), y = [
2485
2500
  v,
2486
2501
  e,
2487
2502
  r
2488
2503
  ], ie.set(g, y);
2489
2504
  }
2490
- b = g, x = y;
2505
+ b = g, ee = y;
2491
2506
  }
2492
2507
  g = null;
2493
2508
  }
2494
2509
  if (h) {
2495
- if (te !== null) {
2510
+ if (ne !== null) {
2496
2511
  let e = ((e) => {
2497
- if (e.length < St.length || e.slice(0, St.length).toUpperCase() !== Ct) return Tt;
2498
- let t = Dt(e, St.length);
2499
- if (t === null || e.charCodeAt(t.end) !== 41 || e.charCodeAt(t.end + 1) !== 44 || e.charCodeAt(e.length - 1) !== 41) return Tt;
2512
+ if (e.length < Dt.length || e.slice(0, Dt.length).toUpperCase() !== Ot) return At;
2513
+ let t = Mt(e, Dt.length);
2514
+ if (t === null || e.charCodeAt(t.end) !== 41 || e.charCodeAt(t.end + 1) !== 44 || e.charCodeAt(e.length - 1) !== 41) return At;
2500
2515
  let n = t.value;
2501
- return n.toUpperCase() === wt ? Et : n.length === 0 ? Tt : {
2516
+ return n.toUpperCase() === kt ? jt : n.length === 0 ? At : {
2502
2517
  kind: "formula",
2503
2518
  formula: n
2504
2519
  };
2505
2520
  })(r);
2506
- e.kind !== "none" && te.push({
2521
+ e.kind !== "none" && ne.push({
2507
2522
  sheet: n,
2508
- rowIndex: C,
2509
- colIndex: w,
2523
+ rowIndex: w,
2524
+ colIndex: T,
2510
2525
  formula: e.kind === "formula" ? e.formula : null
2511
2526
  });
2512
2527
  }
2513
2528
  let e = [];
2514
- v = ne(r, C, w, e), y = [
2529
+ v = x(r, w, T, e), y = [
2515
2530
  v,
2516
2531
  e,
2517
2532
  r
2518
2533
  ];
2519
2534
  }
2520
- S ? u?.onText?.(e) : f || i?.onText?.(r);
2535
+ C ? u?.onText?.(e) : f || i?.onText?.(r);
2521
2536
  }, R = {
2522
2537
  r: void 0,
2523
2538
  t: void 0,
@@ -2537,11 +2552,11 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2537
2552
  name: "f",
2538
2553
  attributes: z,
2539
2554
  isSelfClosing: !1
2540
- }, B = {
2555
+ }, je = {
2541
2556
  name: "v",
2542
2557
  attributes: {},
2543
2558
  isSelfClosing: !1
2544
- }, V = {
2559
+ }, B = {
2545
2560
  r: void 0,
2546
2561
  s: void 0,
2547
2562
  ht: void 0,
@@ -2550,47 +2565,47 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2550
2565
  customHeight: void 0,
2551
2566
  customFormat: void 0,
2552
2567
  outlineLevel: void 0
2553
- }, je = {
2568
+ }, V = {
2554
2569
  name: "row",
2555
- attributes: V,
2570
+ attributes: B,
2556
2571
  isSelfClosing: !1
2557
- }, Me = vt.NEED_MORE, H = vt.NOT_HANDLED, Ne = vt.decodeText, Pe = !1, Fe = (e, t, n, r) => {
2572
+ }, H = Ct.NEED_MORE, U = Ct.NOT_HANDLED, Me = Ct.decodeText, Ne = !1, Pe = (e, t, n, r) => {
2558
2573
  for (;;) {
2559
2574
  let i = 0;
2560
2575
  for (; t < n && ((i = e.charCodeAt(t)) === 32 || i === 9 || i === 10 || i === 13);) t++;
2561
- if (t >= n) return Me;
2562
- if (i === 62) return Pe = !1, t + 1;
2563
- if (i === 47) return t + 1 >= n ? Me : e.charCodeAt(t + 1) === 62 ? (Pe = !0, t + 2) : H;
2576
+ if (t >= n) return H;
2577
+ if (i === 62) return Ne = !1, t + 1;
2578
+ if (i === 47) return t + 1 >= n ? H : e.charCodeAt(t + 1) === 62 ? (Ne = !0, t + 2) : U;
2564
2579
  let a = t;
2565
2580
  for (; t < n && (i = e.charCodeAt(t)) !== 61;) {
2566
- if (i === 62 || i === 47 || i === 32 || i === 9 || i === 10 || i === 13) return H;
2581
+ if (i === 62 || i === 47 || i === 32 || i === 9 || i === 10 || i === 13) return U;
2567
2582
  t++;
2568
2583
  }
2569
- if (t + 1 >= n) return Me;
2584
+ if (t + 1 >= n) return H;
2570
2585
  let o = t - a, s = e.charCodeAt(t + 1);
2571
- if (s !== 34 && s !== 39) return H;
2586
+ if (s !== 34 && s !== 39) return U;
2572
2587
  let c = t + 2, l = c;
2573
2588
  for (; l < n && (i = e.charCodeAt(l)) !== s;) {
2574
- if (i === 38 || i < 32) return H;
2589
+ if (i === 38 || i < 32) return U;
2575
2590
  l++;
2576
2591
  }
2577
- if (l >= n) return Me;
2592
+ if (l >= n) return H;
2578
2593
  t = l + 1;
2579
2594
  let u = e.charCodeAt(a);
2580
2595
  if (r === 2) switch (o) {
2581
2596
  case 1:
2582
- u === 114 ? V.r = e.slice(c, l) : u === 115 && (V.s = e.slice(c, l));
2597
+ u === 114 ? B.r = e.slice(c, l) : u === 115 && (B.s = e.slice(c, l));
2583
2598
  break;
2584
2599
  case 2:
2585
- e.startsWith("ht", a) && (V.ht = e.slice(c, l));
2600
+ e.startsWith("ht", a) && (B.ht = e.slice(c, l));
2586
2601
  break;
2587
2602
  case 6:
2588
- e.startsWith("hidden", a) && (V.hidden = e.slice(c, l));
2603
+ e.startsWith("hidden", a) && (B.hidden = e.slice(c, l));
2589
2604
  break;
2590
2605
  case 9:
2591
- e.startsWith("collapsed", a) && (V.collapsed = e.slice(c, l));
2606
+ e.startsWith("collapsed", a) && (B.collapsed = e.slice(c, l));
2592
2607
  break;
2593
- case 12: e.startsWith("customHeight", a) ? V.customHeight = e.slice(c, l) : e.startsWith("customFormat", a) ? V.customFormat = e.slice(c, l) : e.startsWith("outlineLevel", a) && (V.outlineLevel = e.slice(c, l));
2608
+ case 12: e.startsWith("customHeight", a) ? B.customHeight = e.slice(c, l) : e.startsWith("customFormat", a) ? B.customFormat = e.slice(c, l) : e.startsWith("outlineLevel", a) && (B.outlineLevel = e.slice(c, l));
2594
2609
  }
2595
2610
  else if (r === 0) o === 1 ? u === 114 ? R.r = e.slice(c, l) : u === 116 ? R.t = e.slice(c, l) : u === 115 && (R.s = e.slice(c, l)) : o === 2 && e.charCodeAt(a + 1) === 109 && (u === 99 ? R.cm = e.slice(c, l) : u === 118 && (R.vm = e.slice(c, l)));
2596
2611
  else if (o === 1) u === 116 && (z.t = e.slice(c, l));
@@ -2599,12 +2614,12 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2599
2614
  u === 115 && t === 105 ? z.si = e.slice(c, l) : u === 99 && t === 97 && (z.ca = e.slice(c, l));
2600
2615
  } else o === 3 && e.startsWith("ref", a) && (z.ref = e.slice(c, l));
2601
2616
  }
2602
- }, U = (e, t, n) => e.charCodeAt(t + 1) === 47 && e.charCodeAt(t + 2) === n && e.charCodeAt(t + 3) === 62;
2617
+ }, Fe = (e, t, n) => e.charCodeAt(t + 1) === 47 && e.charCodeAt(t + 2) === n && e.charCodeAt(t + 3) === 62;
2603
2618
  return {
2604
2619
  ...i,
2605
2620
  onEnd: () => {
2606
- E.length > 0 && (n.rows = s.runsToRefs(E, !1));
2607
- let e = re.done(Nt), a = e.length;
2621
+ de.length > 0 && (n.rows = s.runsToRefs(de, !1));
2622
+ let e = re.done(Rt), a = e.length;
2608
2623
  if (a > 0) {
2609
2624
  let t = Array(a);
2610
2625
  for (let n = 0; n < a; n++) {
@@ -2613,7 +2628,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2613
2628
  }
2614
2629
  n.formulas = t;
2615
2630
  }
2616
- let c = ue.done(!0), l = c.length;
2631
+ let c = le.done(!0), l = c.length;
2617
2632
  if (l > 0) {
2618
2633
  let e = Array(l);
2619
2634
  for (let t = 0; t < l; t++) {
@@ -2622,7 +2637,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2622
2637
  }
2623
2638
  n.volatile = e;
2624
2639
  }
2625
- ae.length > 0 && (n.formulaArray = [...ae]);
2640
+ S.length > 0 && (n.formulaArray = [...S]);
2626
2641
  let u = m.length;
2627
2642
  if (u > 0) {
2628
2643
  m.sort(r.createRangeComparator(o.Axis.Column));
@@ -2640,67 +2655,67 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2640
2655
  let d = t.build();
2641
2656
  d && (n.data = d.tuples), i?.onEnd?.();
2642
2657
  },
2643
- onOpenTag: L,
2658
+ onOpenTag: Ee,
2644
2659
  onCloseTag: De,
2645
2660
  onText: Oe,
2646
2661
  elementScanners: [{
2647
2662
  name: "c",
2648
2663
  scan: (e, t, n) => {
2649
- if (!f || de !== null) return H;
2664
+ if (!f || D !== null) return U;
2650
2665
  R.r = R.t = R.s = R.cm = R.vm = void 0;
2651
- let r = Fe(e, t + 2, n, 0);
2666
+ let r = Pe(e, t + 2, n, 0);
2652
2667
  if (r < 0) return r;
2653
2668
  let i = R.t;
2654
- if (R.r === void 0 || i === "str" || i === "inlineStr") return H;
2669
+ if (R.r === void 0 || i === "str" || i === "inlineStr") return U;
2655
2670
  let a = !1, o = -1, s = -1, c = -1, l = -1, u = r;
2656
- if (!Pe) for (z.t = z.si = z.ref = z.ca = void 0;;) {
2671
+ if (!Ne) for (z.t = z.si = z.ref = z.ca = void 0;;) {
2657
2672
  let t = e.indexOf("<", r);
2658
- if (t === -1 || t + 3 >= n) return Me;
2673
+ if (t === -1 || t + 3 >= n) return H;
2659
2674
  for (let n = r; n < t; n++) {
2660
2675
  let t = e.charCodeAt(n);
2661
- if (t !== 32 && t !== 9 && t !== 10 && t !== 13) return H;
2676
+ if (t !== 32 && t !== 9 && t !== 10 && t !== 13) return U;
2662
2677
  }
2663
2678
  let i = e.charCodeAt(t + 1), d = e.charCodeAt(t + 2);
2664
2679
  if (i === 47) {
2665
- if (!U(e, t, 99)) return H;
2680
+ if (!Fe(e, t, 99)) return U;
2666
2681
  u = t + 4;
2667
2682
  break;
2668
2683
  }
2669
2684
  if (i === 102 && !a && c === -1 && (d === 32 || d === 62 || d === 47)) {
2670
- if (a = !0, r = Fe(e, t + 2, n, 1), r < 0) return r;
2671
- if (Pe) continue;
2685
+ if (a = !0, r = Pe(e, t + 2, n, 1), r < 0) return r;
2686
+ if (Ne) continue;
2672
2687
  let i = e.indexOf("<", r);
2673
- if (i === -1 || i + 3 >= n) return Me;
2674
- if (!U(e, i, 102)) return H;
2688
+ if (i === -1 || i + 3 >= n) return H;
2689
+ if (!Fe(e, i, 102)) return U;
2675
2690
  o = r, s = i, r = i + 4;
2676
2691
  continue;
2677
2692
  }
2678
2693
  if (i === 118 && d === 62 && c === -1) {
2679
2694
  let i = e.indexOf("<", t + 3);
2680
- if (i === -1 || i + 3 >= n) return Me;
2681
- if (!U(e, i, 118)) return H;
2695
+ if (i === -1 || i + 3 >= n) return H;
2696
+ if (!Fe(e, i, 118)) return U;
2682
2697
  c = t + 3, l = i, r = i + 4;
2683
2698
  continue;
2684
2699
  }
2685
- return H;
2700
+ return U;
2686
2701
  }
2687
- return L(ke), a && (L(Ae), s > o && Oe(Ne(e.slice(o, s))), De(Ae)), c !== -1 && (L(B), l > c && Oe(Ne(e.slice(c, l))), De(B)), De(ke), u;
2702
+ return Ee(ke), a && (Ee(Ae), s > o && Oe(Me(e.slice(o, s))), De(Ae)), c !== -1 && (Ee(je), l > c && Oe(Me(e.slice(c, l))), De(je)), De(ke), u;
2688
2703
  }
2689
2704
  }, {
2690
2705
  name: "row",
2691
- openTag: je,
2706
+ openTag: V,
2692
2707
  scan: (e, t, n) => {
2693
- if (!Te || f || de !== null) return H;
2694
- V.r = V.s = V.ht = V.hidden = V.collapsed = V.customHeight = V.customFormat = V.outlineLevel = void 0;
2695
- let r = Fe(e, t + 4, n, 2);
2696
- return r < 0 ? r : Pe || V.r === void 0 ? H : (L(je), r);
2708
+ if (!we || f || D !== null) return U;
2709
+ B.r = B.s = B.ht = B.hidden = B.collapsed = B.customHeight = B.customFormat = B.outlineLevel = void 0;
2710
+ let r = Pe(e, t + 4, n, 2);
2711
+ return r < 0 ? r : Ne || B.r === void 0 ? U : (Ee(V), r);
2697
2712
  }
2698
2713
  }]
2699
2714
  };
2700
- }, It = (e) => {
2715
+ }, Vt = (e) => {
2701
2716
  let t = e.indexOf(":");
2702
2717
  return t === -1 ? e : e.slice(t + 1);
2703
- }, Lt = {
2718
+ }, Ht = {
2704
2719
  "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml": "workbooks",
2705
2720
  "application/vnd.ms-excel.sheet.macroEnabled.main+xml": "workbooks",
2706
2721
  "application/vnd.ms-excel.sheet.binary.macroEnabled.main": "workbooks",
@@ -2730,45 +2745,45 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2730
2745
  "application/vnd.ms-excel.externalLink": "links",
2731
2746
  "application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml": "links",
2732
2747
  "application/vnd.openxmlformats-officedocument.theme+xml": "themes"
2733
- }, Rt = (e) => e.startsWith("/") ? e.slice(1) : e, zt = /^xl\/(worksheets|chartsheets)\/[^/]+\.xml$/i, Bt = (e) => typeof e == "string" ? e : (e?.runs ?? []).map((e) => e.text ?? "").join(""), Vt = async (r, a) => {
2734
- let { password: o, onVBA: u, profile: d, calcOnLoad: f = "auto", createWorkbookOptions: g = {}, ..._ } = a ?? {}, v = !!g.origin && typeof g.origin != "string", y = d ? new I(typeof d == "function" ? d : void 0) : null, b = [], x = (e, t, n) => {
2735
- b.push([
2748
+ }, Ut = (e) => e.startsWith("/") ? e.slice(1) : e, Wt = /^xl\/(worksheets|chartsheets)\/[^/]+\.xml$/i, Gt = (e) => typeof e == "string" ? e : (e?.runs ?? []).map((e) => e.text ?? "").join(""), Kt = async (r, a) => {
2749
+ let { password: o, onVBA: l, profile: u, calcOnLoad: f = "auto", createWorkbookOptions: b = {}, ...te } = a ?? {}, ne = !!b.origin && typeof b.origin != "string", x = u ? new ke(typeof u == "function" ? u : void 0) : null, S = [], le = (e, t, n) => {
2750
+ S.push([
2736
2751
  e,
2737
2752
  t ?? "",
2738
2753
  n
2739
2754
  ]);
2740
- }, ee = { onWarning: x }, te = a?.progress, oe = te?.onProgress ? te.onProgress.bind(te) : void 0, se = r.byteLength, ce = 0, ue = 0, S = oe ? (e) => {
2741
- if (ce <= 0) return;
2742
- ue += e;
2743
- let t = Math.min(se, Math.round(ue / ce * se));
2744
- oe(t, se);
2745
- } : void 0, w = import("./OF1t5e-IpoCN4nMo.mjs"), T = null;
2755
+ }, w = { onWarning: le }, T = a?.progress, E = T?.onProgress ? T.onProgress.bind(T) : void 0, D = r.byteLength, ue = 0, de = 0, fe = E ? (e) => {
2756
+ if (ue <= 0) return;
2757
+ de += e;
2758
+ let t = Math.min(D, Math.round(de / ue * D));
2759
+ E(t, D);
2760
+ } : void 0, O = import("./CXtZMG9g-9oTtiqL.js"), k = null;
2746
2761
  try {
2747
- T = new DOMParser();
2762
+ k = new DOMParser();
2748
2763
  } catch {}
2749
- let E = null;
2764
+ let pe = null;
2750
2765
  try {
2751
- E = new XMLSerializer();
2766
+ pe = new XMLSerializer();
2752
2767
  } catch {}
2753
- let D, O, k, A = null;
2754
- T || (A = import("./D3aXs7hDPXNqjUte.mjs").then((e) => h(e.default, 1)));
2768
+ let A, j, M, N = null;
2769
+ k || (N = import("./TuDsLDkXtOjxtleY2.js").then((e) => C(e.default, 1)));
2755
2770
  try {
2756
- let [e, t] = await Promise.all([A, w]);
2757
- D = new t.DOMTransformer(), O = T ?? new e.DOMParser(), k = E ?? new e.XMLSerializer();
2771
+ let [e, t] = await Promise.all([N, O]);
2772
+ A = new t.DOMTransformer(), j = k ?? new e.DOMParser(), M = pe ?? new e.XMLSerializer();
2758
2773
  } catch (e) {
2759
2774
  throw Error("Unable to load XLSX parser.", { cause: e });
2760
2775
  }
2761
- let M, ve = (e) => k.serializeToString(e);
2776
+ let P, he = (e) => M.serializeToString(e);
2762
2777
  try {
2763
- M = await F.create(r);
2778
+ P = await R.create(r);
2764
2779
  } catch (e) {
2765
2780
  throw new n("Unable to parse as an Excel document. Try to save as '.xlsx' and try again.", { cause: e });
2766
2781
  }
2767
- y?.mark("zip-open");
2782
+ x?.mark("zip-open");
2768
2783
  try {
2769
- if (!M.has("[Content_Types].xml")) throw new n("Unable to parse as an Excel document. Try to save as '.xlsx' and try again.");
2784
+ if (!P.has("[Content_Types].xml")) throw new n("Unable to parse as an Excel document. Try to save as '.xlsx' and try again.");
2770
2785
  let t = (e) => {
2771
- let t = M.getEntry(e);
2786
+ let t = P.getEntry(e);
2772
2787
  return t ? { content: t } : void 0;
2773
2788
  }, r = {
2774
2789
  workbooks: [],
@@ -2803,7 +2818,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2803
2818
  let t = r.ContentType, n = r.PartName;
2804
2819
  if (!t || !n) return;
2805
2820
  e.overrides[n.startsWith("/") ? n.slice(1) : n] = t;
2806
- let i = Lt[t], a = i ? e[i] : void 0;
2821
+ let i = Ht[t], a = i ? e[i] : void 0;
2807
2822
  Array.isArray(a) && a.push(n);
2808
2823
  } else if (n === "Default") {
2809
2824
  let t = r.Extension, n = r.ContentType;
@@ -2815,25 +2830,25 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2815
2830
  },
2816
2831
  onError: (e) => {
2817
2832
  ((e) => {
2818
- b.push([e, "[Content_Types].xml"]);
2833
+ S.push([e, "[Content_Types].xml"]);
2819
2834
  })(`Error parsing content types: ${e?.message ?? e}`);
2820
2835
  }
2821
- }))(r), t = await M.getTextStream("[Content_Types].xml");
2836
+ }))(r), t = await P.getTextStream("[Content_Types].xml");
2822
2837
  if (!t) throw Error("Error parsing content types: '[Content_Types].xml'");
2823
2838
  try {
2824
- await U.parseStream(t, e, { xmlns: !1 });
2839
+ await Be.parseStream(t, e, { xmlns: !1 });
2825
2840
  } catch (e) {
2826
2841
  throw Error("Error parsing content types: '[Content_Types].xml'", { cause: e });
2827
2842
  }
2828
- v && await M.getBuffer("[Content_Types].xml");
2843
+ ne && await P.getBuffer("[Content_Types].xml");
2829
2844
  }
2830
- y?.mark("content-types");
2845
+ x?.mark("content-types");
2831
2846
  let a = r.sst, o = /* @__PURE__ */ new Set();
2832
- for (let e of r.sheets) o.add(Rt(e));
2833
- a && o.add(Rt(a));
2834
- for (let e of o) ce += M.uncompressedSize(e);
2835
- if (await M.prefetch((e) => !o.has(e) && !zt.test(e)), y?.mark("prefetch-side-parts"), r.workbooks.length === 0) {
2836
- let e = Ce("_rels/.rels", t, O, D, ee);
2847
+ for (let e of r.sheets) o.add(Ut(e));
2848
+ a && o.add(Ut(a));
2849
+ for (let e of o) ue += P.uncompressedSize(e);
2850
+ if (await P.prefetch((e) => !o.has(e) && !Wt.test(e)), x?.mark("prefetch-side-parts"), r.workbooks.length === 0) {
2851
+ let e = De("_rels/.rels", t, j, A, w);
2837
2852
  if (e) {
2838
2853
  for (let t of e.values()) if (t.type === "http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" && t.target) {
2839
2854
  r.workbooks.push(t.target);
@@ -2843,61 +2858,61 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2843
2858
  }
2844
2859
  if (r.workbooks.length === 0) throw new n("Unable to parse as an Excel document. Try to save as '.xlsx' and try again.");
2845
2860
  r.richstructure = ["/xl/richData/rdrichvaluestructure.xml"], r.richdata = ["/xl/richData/rdrichvalue.xml"];
2846
- let h = g?.resources ?? new c(), _ = h.beginPersist(), ue = {}, w = /* @__PURE__ */ new Set(), T = /* @__PURE__ */ new Map();
2847
- T.set("richTypes", []), T.set("parseInlineDxf", (e) => {
2861
+ let te = b?.resources ?? new d(), C = te.beginPersist(), de = {}, O = /* @__PURE__ */ new Set(), k = /* @__PURE__ */ new Map();
2862
+ k.set("richTypes", []), k.set("parseInlineDxf", (e) => {
2848
2863
  if (!e) return;
2849
- let t = O.parseFromString(`<dxf xmlns:x14="${ne}" xmlns:xm="${he}">${e}</dxf>`, "text/xml")?.documentElement;
2864
+ let t = j.parseFromString(`<dxf xmlns:x14="${y}" xmlns:xm="${ae}">${e}</dxf>`, "text/xml")?.documentElement;
2850
2865
  if (!t) return;
2851
- let n = D.parseDxf(t, "", ee);
2866
+ let n = A.parseDxf(t, "", w);
2852
2867
  return Object.keys(n).length > 0 ? n : void 0;
2853
2868
  });
2854
- let E = [];
2855
- T.set("dummyWrapped", E);
2856
- let k = P("metadata", r, t, O, D, ee).entries().next()?.value?.[1]?.metadata;
2857
- k && T.set("metadata", k), T.set(At, pe());
2858
- let A = /* @__PURE__ */ new Map(), be = [], we = /* @__PURE__ */ new Set(), Ee = (e) => {
2859
- we.add(Rt(e));
2860
- }, F = (e, n = A) => {
2869
+ let pe = [];
2870
+ k.set("dummyWrapped", pe);
2871
+ let M = L("metadata", r, t, j, A, w).entries().next()?.value?.[1]?.metadata;
2872
+ M && k.set("metadata", M), k.set(Ft, h());
2873
+ let N = /* @__PURE__ */ new Map(), ge = [], _e = /* @__PURE__ */ new Set(), ye = (e) => {
2874
+ _e.add(Ut(e));
2875
+ }, be = (e, n = N) => {
2861
2876
  let r = e.lastIndexOf("/"), i = e.substring(0, r + 1) + "_rels/" + e.substring(r + 1, e.length) + ".rels", a = n.get(i);
2862
- return a || (a = Ce(i, t, O, D, B), n.set(i, a)), a;
2863
- }, I = (e, n, r, i = A) => {
2864
- let a = F(n, i).get(e), o = a?.target;
2877
+ return a || (a = De(i, t, j, A, V), n.set(i, a)), a;
2878
+ }, xe = (e, n, r, i = N) => {
2879
+ let a = be(n, i).get(e), o = a?.target;
2865
2880
  if (!o) return null;
2866
2881
  if (a.targetMode === "External") {
2867
2882
  if (!r) return a.target;
2868
- let e = h.add({ source: { external: a.target } });
2869
- return e.addReference(ue), w.add(e), _.toResourceId(e);
2883
+ let e = te.add({ source: { external: a.target } });
2884
+ return e.addReference(de), O.add(e), C.toResourceId(e);
2870
2885
  }
2871
2886
  let s = n.lastIndexOf("/"), c = n.substring(0, s + 1);
2872
- o.startsWith("/") || (o = c + o), o = N(o);
2873
- let l = D?.getVisitorParamsState().get("dxfs"), u = i.get(o);
2887
+ o.startsWith("/") || (o = c + o), o = Ce(o);
2888
+ let l = A?.getVisitorParamsState().get("dxfs"), u = i.get(o);
2874
2889
  if (!u) if (a.type === "http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet") {
2875
2890
  let e = {};
2876
- u = e, be.push((async () => {
2877
- let t = jt(e, (e, t) => t === "legacyDrawing" ? Oe(e, o) : t === "part" ? R(e, o) : I(e, o, t === "resource") ?? null, Ne, l, () => {}, (e, t, n) => {
2878
- x(e, t ? `${t} (${o})` : o, n);
2879
- }, void 0, T), n = await M.getTextStream(o, S);
2891
+ u = e, ge.push((async () => {
2892
+ let t = It(e, (e, t) => t === "legacyDrawing" ? R(e, o) : t === "formControl" ? ke(e, o) : t === "part" ? z(e, o) : xe(e, o, t === "resource") ?? null, Pe, l, () => {}, (e, t, n) => {
2893
+ le(e, t ? `${t} (${o})` : o, n);
2894
+ }, void 0, k), n = await P.getTextStream(o, fe);
2880
2895
  if (n) try {
2881
- await U.parseStream(n, t, {
2896
+ await Be.parseStream(n, t, {
2882
2897
  xmlns: !1,
2883
2898
  lean: !0
2884
2899
  });
2885
2900
  } catch (e) {
2886
2901
  throw Error(`Error parsing sheet: '${o}'`, { cause: e });
2887
2902
  }
2888
- let r = F(o, i);
2903
+ let r = be(o, i);
2889
2904
  if (r) {
2890
- De(e, o, r, i);
2905
+ Oe(e, o, r, i), ve(e);
2891
2906
  let t = [];
2892
2907
  r.forEach((e, n) => {
2893
2908
  if (e.type !== "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotTable") return;
2894
- let r = R(n, o, e.type, (e) => e !== "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheDefinition");
2909
+ let r = z(n, o, e.type, (e) => e !== "http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotCacheDefinition");
2895
2910
  if (!r?.xml) return;
2896
2911
  let i = /<pivotTableDefinition\b[^>]*>/.exec(r.xml)?.[0] ?? "", a = parseInt(/\scacheId="(\d+)"/.exec(i)?.[1] ?? "", 10);
2897
- if (isNaN(a)) return void b.push([`Pivot table '${r.name}' names no cache and was dropped.`, o]);
2912
+ if (isNaN(a)) return void S.push([`Pivot table '${r.name}' names no cache and was dropped.`, o]);
2898
2913
  let s = /\sname="([^"]*)"/.exec(i)?.[1];
2899
2914
  t.push({
2900
- ...s ? { name: de(s) } : {},
2915
+ ...s ? { name: re(s) } : {},
2901
2916
  cacheId: a,
2902
2917
  part: r
2903
2918
  });
@@ -2905,12 +2920,12 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2905
2920
  }
2906
2921
  })());
2907
2922
  } else if (a.type === "http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink") {
2908
- let e = ye(o, t, O, D, B);
2923
+ let e = Ee(o, t, j, A, V);
2909
2924
  if (e && Object.keys(e).length !== 0) {
2910
2925
  let t = e, n = t.__bookRelId, r = t.__absoluteUrlRelId;
2911
2926
  delete t.__bookRelId, delete t.__absoluteUrlRelId;
2912
2927
  let a = [];
2913
- F(o, i)?.forEach((e, t) => {
2928
+ be(o, i)?.forEach((e, t) => {
2914
2929
  if (e.targetMode === "External" && e.type && e.target) {
2915
2930
  let i = {
2916
2931
  type: e.type,
@@ -2918,31 +2933,31 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2918
2933
  };
2919
2934
  t === n ? i.role = "book" : t === r && (i.role = "absoluteUrl"), a.push(i);
2920
2935
  }
2921
- }), a.sort((e, t) => (e.role === "book" ? 0 : 1) - (t.role === "book" ? 0 : 1)), t.sources = a, Ee(o), u = t;
2936
+ }), a.sort((e, t) => (e.role === "book" ? 0 : 1) - (t.role === "book" ? 0 : 1)), t.sources = a, ye(o), u = t;
2922
2937
  } else u = null;
2923
- } else u = r ? Te(o, t, (e, t) => {
2924
- let n = h.add({ source: { buffer: e } });
2925
- return n.addReference(ue), w.add(n), _.toResourceId(n);
2926
- }, B) : ye(o, t, O, D, B);
2938
+ } else u = r ? Se(o, t, (e, t) => {
2939
+ let n = te.add({ source: { buffer: e } });
2940
+ return n.addReference(de), O.add(n), C.toResourceId(n);
2941
+ }, V) : Ee(o, t, j, A, V);
2927
2942
  return u;
2928
- }, L = (e, t) => {
2943
+ }, Te = (e, t) => {
2929
2944
  if (!e) return null;
2930
- let n = F(t, A)?.get(e);
2945
+ let n = be(t, N)?.get(e);
2931
2946
  if (!n?.target || n.targetMode === "External") return null;
2932
2947
  let r = n.target;
2933
- return r.startsWith("/") || (r = t.substring(0, t.lastIndexOf("/") + 1) + r), N(r);
2934
- }, De = (t, n, r, i) => {
2948
+ return r.startsWith("/") || (r = t.substring(0, t.lastIndexOf("/") + 1) + r), Ce(r);
2949
+ }, Oe = (t, n, r, i) => {
2935
2950
  let a = [], o = /* @__PURE__ */ new Map(), c = [];
2936
2951
  r.forEach((e, t) => {
2937
2952
  if (e.type !== "http://schemas.microsoft.com/office/2017/10/relationships/threadedComment") return;
2938
- let r = I(t, n, !1, i)?.comments;
2953
+ let r = xe(t, n, !1, i)?.comments;
2939
2954
  if (!r) return;
2940
2955
  for (let e = 0; e < r.length; e++) {
2941
2956
  let t = r[e];
2942
2957
  if (!t?.v?.id) continue;
2943
2958
  let { parentId: n, done: i, content: s, ...l } = t.v, u = {
2944
2959
  ...l,
2945
- content: Bt(s)
2960
+ content: Gt(s)
2946
2961
  };
2947
2962
  n ? c.push({
2948
2963
  parentId: n,
@@ -2952,8 +2967,8 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2952
2967
  v: u
2953
2968
  }));
2954
2969
  }
2955
- let s = L(t, n);
2956
- s && Ee(s);
2970
+ let s = Te(t, n);
2971
+ s && ye(s);
2957
2972
  });
2958
2973
  for (let e = 0; e < c.length; e++) {
2959
2974
  let { parentId: t, json: n } = c[e], r = o.get(t);
@@ -2962,7 +2977,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2962
2977
  let l = [];
2963
2978
  if (r.forEach((t, r) => {
2964
2979
  if (t.type !== "http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments") return;
2965
- let a = I(r, n, !1, i), s = a?.comments;
2980
+ let a = xe(r, n, !1, i), s = a?.comments;
2966
2981
  if (!s) return;
2967
2982
  let c = a?.authors;
2968
2983
  for (let t = 0; t < s.length; t++) {
@@ -2970,25 +2985,25 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
2970
2985
  if (!n?.r) continue;
2971
2986
  let r = c && n.v.authorId !== void 0 ? c[n.v.authorId] : void 0;
2972
2987
  if (r && r.startsWith("tc=")) {
2973
- if (o.has(_e(r.substring(3)))) continue;
2988
+ if (o.has(I(r.substring(3)))) continue;
2974
2989
  r = void 0;
2975
2990
  }
2976
2991
  let i = {
2977
2992
  id: e.uuidV4().toUpperCase(),
2978
2993
  asNote: !0,
2979
2994
  content: n.v.content ?? ""
2980
- }, a = r ? Ae({ displayName: r }) : void 0;
2995
+ }, a = r ? B({ displayName: r }) : void 0;
2981
2996
  a && (i.personId = a.id), l.push({
2982
2997
  r: n.r,
2983
2998
  v: i
2984
2999
  });
2985
3000
  }
2986
- let u = L(r, n);
2987
- u && Ee(u);
3001
+ let u = Te(r, n);
3002
+ u && ye(u);
2988
3003
  }), a.length === 0 && l.length === 0) return;
2989
3004
  let u = [...a, ...l], d = t.legacyDrawing;
2990
3005
  if (d?.xml) {
2991
- let { rest: e, notes: n } = j(d.xml);
3006
+ let { rest: e, notes: n } = ce(d.xml);
2992
3007
  if (n.length > 0) {
2993
3008
  let r = /* @__PURE__ */ new Map();
2994
3009
  for (let e = 0; e < n.length; e++) {
@@ -3001,7 +3016,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
3001
3016
  for (let e = 0; e < u.length; e++) {
3002
3017
  let t = u[e], n = r.get(String(t.r).toUpperCase());
3003
3018
  if (!n || (r.delete(String(t.r).toUpperCase()), !t.v.asNote)) continue;
3004
- let i = C(n.xml), a = {};
3019
+ let i = ie(n.xml), a = {};
3005
3020
  if (i.anchor) {
3006
3021
  let [e, t, r, o, s, c, l, u] = i.anchor;
3007
3022
  a.anchor = {
@@ -3025,49 +3040,54 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
3025
3040
  r.forEach((e) => {
3026
3041
  i.push(e.xml);
3027
3042
  });
3028
- let a = re(e, i);
3043
+ let a = oe(e, i);
3029
3044
  a ? d.xml = a : delete t.legacyDrawing;
3030
3045
  }
3031
3046
  }
3032
3047
  t.comments = u;
3033
- }, Oe = (e, n) => {
3034
- let r = L(e, n);
3048
+ }, R = (e, n) => {
3049
+ let r = Te(e, n);
3035
3050
  if (!r) return null;
3036
- let i = t(Rt(r));
3051
+ let i = t(Ut(r));
3037
3052
  if (!i) return null;
3038
3053
  let a = { xml: new TextDecoder("utf-8").decode(i.content) }, o = [];
3039
- return F(r, A)?.forEach((e, t) => {
3054
+ return be(r, N)?.forEach((e, t) => {
3040
3055
  if (e.type !== "http://schemas.openxmlformats.org/officeDocument/2006/relationships/image") return;
3041
- let n = I(t, r, !0);
3056
+ let n = xe(t, r, !0);
3042
3057
  typeof n == "number" && o.push({
3043
3058
  id: t,
3044
3059
  resId: n
3045
3060
  });
3046
- }), o.length > 0 && (a.images = o), Ee(r), a;
3047
- }, R = (e, n, i, a, o = /* @__PURE__ */ new Set()) => {
3048
- let s = L(e, n);
3061
+ }), o.length > 0 && (a.images = o), ye(r), a;
3062
+ }, ke = (e, n) => {
3063
+ let r = Te(e, n);
3064
+ if (!r) return null;
3065
+ let i = Ee(r, t, j, A, V)?.formControl ?? null;
3066
+ return i && ye(r), i;
3067
+ }, z = (e, n, i, a, o = /* @__PURE__ */ new Set()) => {
3068
+ let s = Te(e, n);
3049
3069
  if (!s || o.has(s)) return null;
3050
- let c = i ?? F(n, A)?.get(e)?.type;
3070
+ let c = i ?? be(n, N)?.get(e)?.type;
3051
3071
  if (!c) return null;
3052
- let l = t(Rt(s));
3072
+ let l = t(Ut(s));
3053
3073
  if (!l) return null;
3054
3074
  o.add(s);
3055
- let u = s.substring(s.lastIndexOf("/") + 1), d = r.overrides[Rt(s)] ?? r.defaults[u.substring(u.lastIndexOf(".") + 1).toLowerCase()], f = {
3075
+ let u = s.substring(s.lastIndexOf("/") + 1), d = r.overrides[Ut(s)] ?? r.defaults[u.substring(u.lastIndexOf(".") + 1).toLowerCase()], f = {
3056
3076
  id: e,
3057
3077
  type: c,
3058
3078
  name: u
3059
3079
  };
3060
3080
  if (d && (f.contentType = d), ((e, t) => e ? e.endsWith("+xml") || e === "application/xml" : /\.(xml|rels|vml)$/i.test(t))(d, u)) f.xml = new TextDecoder("utf-8").decode(l.content);
3061
3081
  else {
3062
- let t = I(e, n, !0);
3082
+ let t = xe(e, n, !0);
3063
3083
  if (typeof t != "number") return null;
3064
3084
  f.resId = t;
3065
3085
  }
3066
3086
  let p = [];
3067
- return F(s, A)?.forEach((e, t) => {
3087
+ return be(s, N)?.forEach((e, t) => {
3068
3088
  if (!e?.type || a && !a(e.type)) return;
3069
3089
  if (e.targetMode === "External") {
3070
- let n = I(t, s, !0);
3090
+ let n = xe(t, s, !0);
3071
3091
  typeof n == "number" && p.push({
3072
3092
  id: t,
3073
3093
  type: e.type,
@@ -3075,93 +3095,93 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
3075
3095
  });
3076
3096
  return;
3077
3097
  }
3078
- let n = R(t, s, e.type, a, o);
3098
+ let n = z(t, s, e.type, a, o);
3079
3099
  n && p.push(n);
3080
- }), p.length > 0 && (f.parts = p), Ee(s), f;
3100
+ }), p.length > 0 && (f.parts = p), ye(s), f;
3081
3101
  };
3082
- P("coreprops", r, t, O, D, ee), P("extprops", r, t, O, D, ee);
3083
- let ke = new m(), z = P("people", r, t, O, D, ee);
3084
- if (z.size > 0) {
3085
- let [e, t] = z.entries().next().value;
3086
- ke.fromJSON(t?.persons), Ee(e);
3087
- }
3088
- let Ae = (e) => {
3089
- if (e) return ke.add(e).toJSON();
3090
- }, B = {
3091
- paramMap: T,
3092
- getRefs: F,
3093
- getRef: I,
3094
- parsedRefs: A,
3095
- readEmbeddedPart: (e, t) => R(e, t),
3096
- addPerson: Ae,
3097
- serializeElement: ve,
3098
- onWarning: x
3099
- }, V = [];
3102
+ L("coreprops", r, t, j, A, w), L("extprops", r, t, j, A, w);
3103
+ let Ae = new m(), je = L("people", r, t, j, A, w);
3104
+ if (je.size > 0) {
3105
+ let [e, t] = je.entries().next().value;
3106
+ Ae.fromJSON(t?.persons), ye(e);
3107
+ }
3108
+ let B = (e) => {
3109
+ if (e) return Ae.add(e).toJSON();
3110
+ }, V = {
3111
+ paramMap: k,
3112
+ getRefs: be,
3113
+ getRef: xe,
3114
+ parsedRefs: N,
3115
+ readEmbeddedPart: (e, t) => z(e, t),
3116
+ addPerson: B,
3117
+ serializeElement: he,
3118
+ onWarning: le
3119
+ }, H = [];
3100
3120
  if (a) {
3101
- let e = await M.getTextStream(a, S);
3121
+ let e = await P.getTextStream(a, fe);
3102
3122
  if (e) {
3103
- let t = ((e, t) => {
3104
- let n = !1, r = !1, i = 0, a = "";
3123
+ let t = (() => {
3124
+ let e = !1, t = !1, n = 0, r = "";
3105
3125
  return {
3106
- onOpenTag: (e) => {
3107
- let t = It(e.name);
3108
- t === "t" ? n && i === 0 && (r = !0) : t === "si" ? (n = !0, a = "", i = 0) : t !== "rPh" && t !== "phoneticPr" || i++;
3126
+ onOpenTag: (i) => {
3127
+ let a = Vt(i.name);
3128
+ a === "t" ? e && n === 0 && (t = !0) : a === "si" ? (e = !0, r = "", n = 0) : a !== "rPh" && a !== "phoneticPr" || n++;
3109
3129
  },
3110
3130
  onText: (e) => {
3111
- r && (a += e);
3131
+ t && (r += e);
3112
3132
  },
3113
- onCloseTag: (e) => {
3114
- let t = It(e.name);
3115
- t === "t" ? r = !1 : t === "si" ? (((e) => {
3116
- V.push(e);
3117
- })(me(a)), n = !1, a = "") : t !== "rPh" && t !== "phoneticPr" || i > 0 && i--;
3133
+ onCloseTag: (i) => {
3134
+ let a = Vt(i.name);
3135
+ a === "t" ? t = !1 : a === "si" ? (((e) => {
3136
+ H.push(e);
3137
+ })(ee(r)), e = !1, r = "") : a !== "rPh" && a !== "phoneticPr" || n > 0 && n--;
3118
3138
  },
3119
3139
  onError: (e) => {
3120
- t?.(`Error parsing shared strings: ${e?.message ?? e}`);
3140
+ ((e) => {
3141
+ le(e, a);
3142
+ })(`Error parsing shared strings: ${e?.message ?? e}`);
3121
3143
  }
3122
3144
  };
3123
- })(0, (e) => {
3124
- x(e, a);
3125
- });
3145
+ })();
3126
3146
  try {
3127
- await U.parseStream(e, t, { xmlns: !1 });
3147
+ await Be.parseStream(e, t, { xmlns: !1 });
3128
3148
  } catch (e) {
3129
3149
  throw Error(`Error parsing shared strings: '${a}'`, { cause: e });
3130
3150
  }
3131
3151
  }
3132
3152
  }
3133
- y?.mark("shared-strings");
3134
- let je = V.length, Me = /* @__PURE__ */ new Map(), H = je, Ne = (e) => {
3153
+ x?.mark("shared-strings");
3154
+ let U = H.length, Me = /* @__PURE__ */ new Map(), Ne = U, Pe = (e) => {
3135
3155
  let t = Me.get(e);
3136
3156
  if (t !== void 0) return t;
3137
- let n = H;
3138
- return Me.set(e, H++), V.push(e), n;
3139
- }, Pe = [];
3140
- r.slicersCache = Pe;
3141
- let Fe = M.getNames(), W = Fe.length;
3142
- for (let e = 0; e < W; e++) {
3143
- let t = Fe[e];
3144
- t && t.startsWith("xl/slicerCache") && Pe.push(`/${t}`);
3145
- }
3146
- let Ie = P("slicersCache", r, t, O, D, B), Le = /* @__PURE__ */ new Map();
3147
- Ie.forEach((e) => {
3157
+ let n = Ne;
3158
+ return Me.set(e, Ne++), H.push(e), n;
3159
+ }, Fe = [];
3160
+ r.slicersCache = Fe;
3161
+ let Ie = P.getNames(), Le = Ie.length;
3162
+ for (let e = 0; e < Le; e++) {
3163
+ let t = Ie[e];
3164
+ t && t.startsWith("xl/slicerCache") && Fe.push(`/${t}`);
3165
+ }
3166
+ let Re = L("slicersCache", r, t, j, A, V), ze = /* @__PURE__ */ new Map();
3167
+ Re.forEach((e) => {
3148
3168
  let t = e.name;
3149
- delete e.name, Le.set(t, e);
3150
- }), T.set("slicerCaches", Le), P("richstructure", r, t, O, D, B), P("richdata", r, t, O, D, B);
3151
- let Re = P("themes", r, t, O, D, B), ze = null;
3152
- if (Re && Re.entries) {
3153
- let e = Re.entries().next();
3154
- e?.value?.[1] && (ze = e.value[1]);
3155
- }
3156
- let Be = new l(ze), Ve = P("styles", r, t, O, D, B).entries().next()?.value?.[1];
3157
- Ve &&= JSON.parse(i.JSONStableStringify(Ve));
3158
- let He = P("workbooks", r, t, O, D, B);
3159
- y?.mark("side-parts-json"), await Promise.all(be);
3169
+ delete e.name, ze.set(t, e);
3170
+ }), k.set("slicerCaches", ze), L("richstructure", r, t, j, A, V), L("richdata", r, t, j, A, V);
3171
+ let W = L("themes", r, t, j, A, V), Ve = null;
3172
+ if (W && W.entries) {
3173
+ let e = W.entries().next();
3174
+ e?.value?.[1] && (Ve = e.value[1]);
3175
+ }
3176
+ let He = new c(Ve), Ue = L("styles", r, t, j, A, V).entries().next()?.value?.[1];
3177
+ Ue &&= JSON.parse(i.JSONStableStringify(Ue));
3178
+ let We = L("workbooks", r, t, j, A, V);
3179
+ x?.mark("side-parts-json"), await Promise.all(ge);
3160
3180
  {
3161
- let e = He.entries().next().value?.[1], t = pe(e?.names), n = e?.sheets ?? [];
3181
+ let e = We.entries().next().value?.[1], t = h(e?.names), n = e?.sheets ?? [];
3162
3182
  for (let e = 0; e < n.length; e++) {
3163
3183
  let r = n[e]?.sheet;
3164
- r && ae(r, t);
3184
+ r && me(r, t);
3165
3185
  }
3166
3186
  let r = e?.names;
3167
3187
  if (r) for (let e = 0; e < r.length; e++) {
@@ -3169,24 +3189,24 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
3169
3189
  typeof n == "string" && (r[e].ref = t.readDetached(n));
3170
3190
  }
3171
3191
  }
3172
- oe && ce > 0 && (oe(se, se), await new Promise((e) => setTimeout(e, 0))), y?.mark("sheets");
3173
- let Ue = {
3174
- ...He.entries().next().value?.[1],
3175
- styles: Ve,
3176
- theme: Be.toJSON()
3192
+ E && ue > 0 && (E(D, D), await new Promise((e) => setTimeout(e, 0))), x?.mark("sheets");
3193
+ let Ge = {
3194
+ ...We.entries().next().value?.[1],
3195
+ styles: Ue,
3196
+ theme: He.toJSON()
3177
3197
  };
3178
- xe(Ue, T.get(Se)), Ue.calc = {
3179
- ...Ue.calc ?? {},
3198
+ we(Ge, k.get(F)), Ge.calc = {
3199
+ ...Ge.calc ?? {},
3180
3200
  legacyIntersect: !0
3181
- }, V.length > 0 && (Ue.strings = V);
3182
- let We = ke.toJSON();
3183
- We && We.length > 0 && (Ue.people = We);
3184
- let Ge = M.getEntry("xl/vbaProject.bin");
3185
- if (Ge) try {
3186
- let { VBAProject: e } = await import("./Bu8wK5Vy7X9Vp_2S.mjs"), t = e.extract(Ge);
3201
+ }, H.length > 0 && (Ge.strings = H);
3202
+ let Ke = Ae.toJSON();
3203
+ Ke && Ke.length > 0 && (Ge.people = Ke);
3204
+ let qe = P.getEntry("xl/vbaProject.bin");
3205
+ if (qe) try {
3206
+ let { VBAProject: e } = await import("./YDdOHwur-KHnZcch2.js"), t = e.extract(qe);
3187
3207
  if (t) {
3188
3208
  let n = /* @__PURE__ */ new Map();
3189
- for (let e of Ue.sheets ?? []) {
3209
+ for (let e of Ge.sheets ?? []) {
3190
3210
  let t = e?.sheet?.codeName;
3191
3211
  t && n.set(t, e.sheet);
3192
3212
  }
@@ -3195,25 +3215,25 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
3195
3215
  a && (t.source = a), i && (t.sourceHeader = i);
3196
3216
  let o = r.type === "document" ? n.get(r.name) : void 0;
3197
3217
  o || r.type !== "document" || (t.scope = "workbook");
3198
- let s = o ? o.modules ??= {} : Ue.modules ??= {};
3218
+ let s = o ? o.modules ??= {} : Ge.modules ??= {};
3199
3219
  s[r.name] || (s[r.name] = t);
3200
3220
  }
3201
- u?.(t);
3202
- } else b.push(["Unable to parse VBA project.", "xl/vbaProject.bin"]);
3221
+ l?.(t);
3222
+ } else S.push(["Unable to parse VBA project.", "xl/vbaProject.bin"]);
3203
3223
  } catch (e) {
3204
- b.push([`Error extracting VBA: ${e?.message ?? e}`, "xl/vbaProject.bin"]);
3224
+ S.push([`Error extracting VBA: ${e?.message ?? e}`, "xl/vbaProject.bin"]);
3205
3225
  }
3206
- let Ke = T.get("calcId"), qe = Ke === void 0 || !(Number(Ke) >= 191029), Je = g.calcOnLoad ?? (f === "auto" && qe ? "full" : f), G = {
3207
- ...g,
3208
- calcOnLoad: Je,
3209
- resources: h,
3210
- json: Ue
3226
+ let Je = k.get("calcId"), Ye = Je === void 0 || !(Number(Je) >= 191029), Xe = b.calcOnLoad ?? (f === "auto" && Ye ? "full" : f), Ze = {
3227
+ ...b,
3228
+ calcOnLoad: Xe,
3229
+ resources: te,
3230
+ json: Ge
3211
3231
  };
3212
- G.disableLoadAutoFit === void 0 && (G.disableLoadAutoFit = !1), y?.mark("json-assembled");
3213
- let K = new p(G);
3214
- if (y?.mark("workbook-constructed"), E.length > 0 && Je !== "none") {
3215
- await K.whenCalculationReady();
3216
- let e = /* @__PURE__ */ new Map(), t = Ue.sheets ?? [], n = K.getSheets().getItems();
3232
+ Ze.disableLoadAutoFit === void 0 && (Ze.disableLoadAutoFit = !1), x?.mark("json-assembled");
3233
+ let G = new p(Ze);
3234
+ if (x?.mark("workbook-constructed"), pe.length > 0 && Xe !== "none") {
3235
+ await G.whenCalculationReady();
3236
+ let e = /* @__PURE__ */ new Map(), t = Ge.sheets ?? [], n = G.getSheets().getItems();
3217
3237
  for (let r = 0; r < t.length; r++) {
3218
3238
  let i = t[r]?.sheet, a = n[r];
3219
3239
  i && a && e.set(i, a);
@@ -3235,7 +3255,7 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
3235
3255
  for (let e of t) e.formula === null && o.add(i(e.rowIndex, e.colIndex));
3236
3256
  for (let e of t) {
3237
3257
  if (e.formula === null) continue;
3238
- let t = Ot(e.formula), n = !0;
3258
+ let t = Nt(e.formula), n = !0;
3239
3259
  for (let e of t) if (!a(e)) {
3240
3260
  n = !1;
3241
3261
  break;
@@ -3268,19 +3288,19 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
3268
3288
  }).setValue("=" + e.formula);
3269
3289
  }
3270
3290
  }
3271
- })(K, E, e);
3291
+ })(G, pe, e);
3272
3292
  }
3273
- if (w.forEach((e) => {
3274
- e.deleteReference(ue);
3275
- }), _.endPersist(), v) {
3276
- ie(K);
3293
+ if (O.forEach((e) => {
3294
+ e.deleteReference(de);
3295
+ }), C.endPersist(), ne) {
3296
+ g(G);
3277
3297
  let e = /* @__PURE__ */ new Map(), t = 0;
3278
- for (let n of M.getNames()) {
3279
- let r = M.getEntry(n);
3298
+ for (let n of P.getNames()) {
3299
+ let r = P.getEntry(n);
3280
3300
  if (!r) continue;
3281
- let i = M.getRawEntry(n), a = i ? {
3301
+ let i = P.getRawEntry(n), a = i ? {
3282
3302
  data: r,
3283
- uncompressedSize: M.uncompressedSize(n),
3303
+ uncompressedSize: P.uncompressedSize(n),
3284
3304
  raw: {
3285
3305
  compressedData: i.data,
3286
3306
  compressionMethod: i.compressionMethod,
@@ -3288,39 +3308,39 @@ var X = (e) => !0 === e || e === "1" || e === "on" || e === "true" || !1 !== e &
3288
3308
  }
3289
3309
  } : {
3290
3310
  data: r,
3291
- uncompressedSize: M.uncompressedSize(n)
3311
+ uncompressedSize: P.uncompressedSize(n)
3292
3312
  };
3293
3313
  e.set(n, a), t += r.byteLength;
3294
3314
  }
3295
- if (t > 67108864) b.push([`Source package too large to retain (${t} bytes, limit ${ge}); unmodeled parts will be dropped on save.`, "SourcePackage"]);
3315
+ if (t > 67108864) S.push([`Source package too large to retain (${t} bytes, limit ${_}); unmodeled parts will be dropped on save.`, "SourcePackage"]);
3296
3316
  else if (e.size > 0) {
3297
- let t = new fe(e, we);
3298
- le(K, t);
3299
- let n = K.getSheets().getItems(), r = K.getTransactions().addListener({ onCommitEnd: (e) => {
3317
+ let t = new v(e, _e);
3318
+ se(G, t);
3319
+ let n = G.getSheets().getItems(), r = G.getTransactions().addListener({ onCommitEnd: (e) => {
3300
3320
  let n = e.getOperation()?.name;
3301
3321
  n !== "insertCells" && n !== "deleteCells" || t.markStructuralChange();
3302
- } }), i = K.addListeners({ onSheetsChange: () => {
3303
- let e = K.getSheets().getItems();
3322
+ } }), i = G.addListeners({ onSheetsChange: () => {
3323
+ let e = G.getSheets().getItems();
3304
3324
  (e.length !== n.length || e.some((e, t) => e !== n[t])) && t.markStructuralChange(), n = e;
3305
3325
  } });
3306
- K.addListeners({ onClose: () => {
3307
- r(), i(), ie(K);
3326
+ G.addListeners({ onClose: () => {
3327
+ r(), i(), g(G);
3308
3328
  } });
3309
3329
  }
3310
3330
  }
3311
- if (b.length && te?.onWarning) {
3331
+ if (S.length && T?.onWarning) {
3312
3332
  let e = /* @__PURE__ */ new Set();
3313
- for (let t of b) {
3333
+ for (let t of S) {
3314
3334
  let [n, r, i] = t, a = i ?? n;
3315
- e.has(a) || (e.add(a), te.onWarning(n, r));
3335
+ e.has(a) || (e.add(a), T.onWarning(n, r));
3316
3336
  }
3317
3337
  }
3318
- return y && !0 === d && console.table(y.toTable()), K;
3338
+ return x && !0 === u && console.table(x.toTable()), G;
3319
3339
  } catch (e) {
3320
3340
  let n = "Unable to parse XLSX.";
3321
3341
  throw e instanceof t && (n = "Unable to open XLSX. There are too many rows or columns."), Error(n, { cause: e });
3322
3342
  } finally {
3323
- await M.close().catch(() => {});
3343
+ await P.close().catch(() => {});
3324
3344
  }
3325
3345
  };
3326
- export { Vt as readXLSX };
3346
+ export { Kt as readXLSX };